Commit 47eacf83 authored by 郭铭瑶's avatar 郭铭瑶 🤘

更新

parent eda77640
......@@ -16,5 +16,6 @@
<!-- built files will be auto injected -->
</body>
<script src="./static/SMap.min.js"></script>
<!-- <script src="./static/esm/SMap.min.js"></script> -->
<script src="./static/Plugins.min.js"></script>
</html>
......@@ -3,7 +3,7 @@
<p v-if="title" class="title">{{title}}</p>
<Row class="row" v-for="(row, rowIndex) in layout" :key="rowIndex">
<i-col class="col" v-for="(col, key) in row" :key="key" :span="col.width" :offset="col.offset || 0">
<div :style="`text-align: ${col.align || 'left'}; width:${labelWidth}rem;`">{{col.label}}</div>
<div :style="`text-align: ${col.align || 'right'}; width:${labelWidth}rem;`">{{col.label}}</div>
<img v-if="col.type == 'img'" @click="handleView(model[key])" :src="require(`@/assets/images/${model[key]}`)"/>
<div v-else class="content">{{model[key]}}</div>
</i-col>
......@@ -67,7 +67,7 @@ export default {
margin-bottom .1rem
border-bottom 0.01rem solid rgba(51,145,255,.2)
.row
line-height .24rem
line-height .3rem
&:nth-child(2n+1)
background-color rgba(51,145,255,.2)
.col
......
<template>
<m-animate :enter="enter" :leave="leave">
<div v-if="value" class="monitor-modal">
<div :style="`width:${width};marginLeft:${offset}`">
<div :style="`min-width:${width};marginLeft:${offset}`">
<div class="title">
<p>
{{title}}
......@@ -34,7 +34,7 @@ export default {
},
width: {
type: String,
default: '40%',
default: '30%',
},
offset: {
type: String,
......@@ -77,6 +77,7 @@ export default {
>div
background transparent
color #ccc
max-width 50vh
.title
height .4rem
position relative
......
export default {
initData({dispatch}) {
dispatch('getLandPopulationInfo')
dispatch('getGreenInfo')
},
getLandPopulationInfo({commit}) {
setTimeout(() => {
const result = [
{
label: '2018年末',
data: [
{value: 8.69, unit: 'k㎡', dec: 2},
{value: 29182, unit: '人'},
{value: 3358, unit: 'k㎡'},
{value: 1.08, unit: '%', dec: 2},
],
},
{
label: '2019年末',
data: [
{value: 8.69, unit: 'k㎡', dec: 2},
{value: 31676, unit: '人', up: true},
{value: 3645, unit: 'k㎡', up: true},
{value: 1.18, unit: '%', dec: 2, up: true},
],
},
]
commit('SET_LAND_POPULATION_INFO', result)
}, 1000)
},
getGreenInfo({commit}) {
setTimeout(() => {
const result = [
{name: '环卫公厕', value: 9},
{name: '生活垃圾收集', value: 98},
{name: '小型压缩站', value: 34},
]
commit('SET_GREEN_INFO', result)
}, 1000)
},
}
......@@ -5,4 +5,13 @@ export default {
SET_CURDATE(state, date) {
state.curDate = date
},
SET_COMMAND_MODAL(state, val) {
state.showCommandModal = val
},
SET_LAND_POPULATION_INFO(state, data) {
state.landPopulationInfo = data
},
SET_GREEN_INFO(state, data) {
state.greenInfo = data
},
}
This diff is collapsed.
......@@ -7,7 +7,7 @@
<p>{{item.name}}</p>
</div>
</div>
<img class="img" src="@/assets/images/command3.png" />
<img @click="$store.commit('SET_COMMAND_MODAL', true)" class="img" src="@/assets/images/command3.png" />
</div>
</template>
......@@ -19,13 +19,13 @@ export default {
list: [
{
img: 'command1.png',
label: '值班长',
name: '倪萍',
label: '指挥长',
name: '卞洪斌',
},
{
img: 'command2.png',
label: '值班长',
name: '李铭',
label: '值班长',
name: '丁建新',
},
]
}
......@@ -64,5 +64,9 @@ export default {
color $fontColor
&:last-child
font-size .11rem
>img
cursor pointer
transition transform .3s ease-in-out
&:hover
transform rotate(180deg)
</style>
......@@ -26,13 +26,13 @@ export default {
{name: '小型压缩站', type: 'donut'},
],
},
data: [
{name: '环卫公厕', value: 9},
{name: '生活垃圾收集', value: 98},
{name: '小型压缩站', value: 34},
],
}
},
computed: {
data() {
return this.$store.state.greenInfo
}
}
}
</script>
......
......@@ -22,28 +22,13 @@ export default {
data() {
return {
labels: ['土地面积', '总户籍人口', '人口密度', '户籍同比'],
list: [
{
label: '2018年末',
data: [
{value: 8.69, unit: 'k㎡', dec: 2},
{value: 29182, unit: '人'},
{value: 3358, unit: 'k㎡'},
{value: 1.08, unit: '%', dec: 2},
],
},
{
label: '2019年末',
data: [
{value: 8.69, unit: 'k㎡', dec: 2},
{value: 31676, unit: '人', up: true},
{value: 3645, unit: 'k㎡', up: true},
{value: 1.18, unit: '%', dec: 2, up: true},
],
},
]
}
},
computed: {
list() {
return this.$store.state.landPopulationInfo
},
}
}
</script>
......@@ -54,7 +39,7 @@ export default {
.labels
color $fontColor
background $cardBg
padding .05rem
padding .03rem
border .01rem dotted $fontColor
margin-top 0.22rem
display flex
......
......@@ -80,7 +80,6 @@ export default {
font-size .13rem
.detail
flex 1
overflow-y auto
.info
position relative
border-left .02rem solid $edgeColor
......
<template>
<div class="work-tips">
<m-scroll :length="list.length" :limit="5">
<div class="info" v-for="(item, i) in list" :key="i">
<p>{{item.name}}</p>
<p>{{item.tips}}</p>
<div class="sum">
<div v-for="item in sum" :key="item.name">
<img :src="require(`@/assets/images/${item.img}`)"/>
<div>
<p>{{item.name}}</p>
<p><m-count class="count" :style="`color:${item.color}`" :value="item.value" :decimal="0" /> <span></span></p>
</div>
</div>
</m-scroll>
</div>
<div class="wrapper">
<m-scroll :length="list.length" :limit="5">
<div class="info" v-for="(item, i) in list" :key="i">
<p>{{item.name}}</p>
<p>{{item.tips}}</p>
</div>
</m-scroll>
</div>
</div>
</template>
......@@ -14,6 +25,11 @@ export default {
name: 'WorkTips',
data() {
return {
sum: [
{name: '网格数', value: 46, img: 'tips1.png', color: '#fece34'},
{name: '网格报警数', value: 28, img: 'tips2.png', color: '#ff1e1e'},
{name: '110非警情数', value: 2, img: 'tips3.png', color: '#ff1e1e'},
],
list: [
{name: '新江湾尚景园', tips: '车辆停发管理'},
{name: '新江湾城首府', tips: '占用公共部位'},
......@@ -29,10 +45,33 @@ export default {
<style lang="stylus" scoped>
.work-tips
.info
display flex
flex-direction column
.sum
display flex
justify-content space-between
padding .03rem .1rem
&:nth-child(2n)
background rgba(10,47,89, .6)
margin-bottom .05rem
>div
display flex
align-items center
padding-left .05rem
img
width .25rem
height @width
margin-right .05rem
p
color $fontColor
span
font-size .08rem
color #aaa
.count
font-size .13rem
.wrapper
flex 1
.info
display flex
justify-content space-between
padding .03rem .1rem
&:nth-child(2n)
background rgba(10,47,89, .6)
</style>
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
export default class Bounds {
northeast: number[];
southwest: number[];
xmin: number;
ymin: number;
zmin?: number;
xmax: number;
ymax: number;
zmax?: number;
constructor(southwest: number[], northeast: number[]);
}
var Bounds = /** @class */ (function () {
function Bounds(southwest, northeast) {
this.northeast = northeast;
this.southwest = southwest;
this.xmin = southwest[0];
this.ymin = southwest[1];
this.zmin = southwest[2] !== undefined ? southwest[2] : undefined;
this.xmax = northeast[0];
this.ymax = northeast[1];
this.zmax = northeast[2] !== undefined ? northeast[2] : undefined;
}
return Bounds;
}());
export default Bounds;
import Bounds from './Bounds';
import IBounds from './interface/IBounds';
import IMapOptions from './interface/IMapOptions';
import IOverlayers from './interface/IOverlayers';
import MapControlBase from './interface/MapControlBase';
import EventEmitter from './mod';
import Overlayerbase from './Overlays/Overlayerbase';
import OverlayGroup from './Overlays/OverlayGroup';
export default class Map extends EventEmitter implements IOverlayers {
private viewMode;
private zooms;
private showBuildingBlock;
private map;
private mapControl;
private mapoverlayers;
private mapoverlayersflayer;
constructor(container: string, options?: IMapOptions);
getZoom(): number;
setZoom(zoomlevel: number): void;
panTo(targetpoint: number[]): void;
panBy(offsetx: number, offsety: number): void;
getBounds(): IBounds;
setBounds(bds: Bounds): void;
setCenter(centerx: number, centery: number, centerz?: number): Promise<void>;
setZoomAndCenter(zoomlevel: number, center: number[]): Promise<void>;
getCenter(): number[];
getScale(): number;
setRotation(rotation: number): void;
setPitch(pitch: number): void;
getPitch(): number;
zoomIn(): void;
zoomOut(): void;
setMapStyle(style: string): void;
getMapStyle(): string;
addControl(control: MapControlBase): void;
removeControl(control: MapControlBase): void;
enableThroughGround(isunderground: boolean): void;
add(overlayers: Overlayerbase | Overlayerbase[] | OverlayGroup): void;
remove(overlayers: Overlayerbase | Overlayerbase[] | OverlayGroup): void;
update(overlayers: Overlayerbase | Overlayerbase[] | OverlayGroup): void;
addfeature(overlayers: Overlayerbase | Overlayerbase[] | OverlayGroup): void;
updatefeature(overlayers: Overlayerbase | Overlayerbase[] | OverlayGroup): void;
removefeature(overlayers: Overlayerbase | Overlayerbase[] | OverlayGroup): void;
clearMap(): void;
showXQ_Poly(): void;
hideXQ_Poly(): void;
showXQ_Point(): void;
hideXQ_Point(): void;
showMPZ(): void;
hideMPZ(): void;
setAPPKey(appkey: string): void;
setDistrict(districts: string[]): void;
setFilter(layerName: string, filter: string): void;
private init;
private _init;
}
This diff is collapsed.
import IFeatureReductionOption from '../interface/IFeatureReductionOption';
export default class FeatureReduction {
type: string;
clusterRadius: number;
constructor(froption: IFeatureReductionOption);
}
var FeatureReduction = /** @class */ (function () {
function FeatureReduction(froption) {
this.type = 'text';
this.type = froption.type === undefined ? 'cluster' : froption.type;
this.clusterRadius = froption.clusterRadius === undefined ? 100 : froption.clusterRadius;
}
return FeatureReduction;
}());
export default FeatureReduction;
import IConOption from '../interface/IConOption';
import Size from '../Overlays/Size';
export default class Icon {
size: Size;
image: string;
constructor(iconOption: IConOption);
}
var Icon = /** @class */ (function () {
function Icon(iconOption) {
this.size = iconOption.size;
this.image = iconOption.image;
}
return Icon;
}());
export default Icon;
import ILabelOption from '../interface/ILabelOption';
export default class Label {
type: string;
text: string;
color: string;
visible: boolean;
size: number;
weight: string;
angle: number;
backgroundColor: string;
borderLineColor: string;
borderLineSize: number;
haloColor: string;
haloSize: number;
horizontalAlignment: string;
verticalAlignment: string;
kerning: boolean;
lineHeight: number;
lineWidth: number;
rotated: boolean;
xoffset: number;
yoffset: number;
zoffset: number;
placement: string;
maxScale: number;
minScale: number;
constructor(labeloption: ILabelOption);
}
var Label = /** @class */ (function () {
function Label(labeloption) {
this.type = 'text';
this.color = 'white';
this.visible = true;
this.size = 12;
this.weight = 'normal';
this.angle = 0;
this.backgroundColor = 'red';
this.borderLineColor = 'blue';
this.borderLineSize = 200;
this.haloColor = 'yellow';
this.haloSize = 20;
this.horizontalAlignment = 'right';
this.verticalAlignment = 'top';
this.kerning = true;
this.lineHeight = 25;
this.lineWidth = 200;
this.rotated = false;
this.xoffset = 0;
this.yoffset = 0;
this.zoffset = 0;
this.placement = "above-right";
this.maxScale = 0;
this.minScale = 0;
this.text = labeloption.text === undefined ? '标注' : labeloption.text;
this.color = labeloption.color === undefined ? 'white' : labeloption.color;
this.visible = labeloption.visible === undefined ? true : labeloption.visible;
this.size = labeloption.size === undefined ? 12 : labeloption.size;
this.weight = labeloption.weight === undefined ? 'normal' : labeloption.weight;
this.angle = labeloption.angle === undefined ? 0 : labeloption.angle;
this.backgroundColor = labeloption.backgroundColor === undefined ? 'red' : labeloption.backgroundColor;
this.borderLineColor = labeloption.borderLineColor === undefined ? 'blue' : labeloption.borderLineColor;
this.borderLineSize = labeloption.borderLineSize === undefined ? 200 : labeloption.borderLineSize;
this.haloColor = labeloption.haloColor === undefined ? 'yellow' : labeloption.haloColor;
this.haloSize = labeloption.haloSize === undefined ? 0 : labeloption.haloSize;
this.horizontalAlignment = labeloption.horizontalAlignment === undefined ? 'right' :
labeloption.horizontalAlignment;
this.verticalAlignment = labeloption.verticalAlignment === undefined ? 'top' :
labeloption.verticalAlignment;
this.kerning = labeloption.kerning === undefined ? true : labeloption.kerning;
this.lineHeight = labeloption.lineHeight === undefined ? 25 : labeloption.lineHeight;
this.lineWidth = labeloption.lineWidth === undefined ? 200 : labeloption.lineWidth;
this.rotated = labeloption.rotated === undefined ? false : labeloption.rotated;
this.xoffset = labeloption.xoffset === undefined ? 0 : labeloption.xoffset;
this.yoffset = labeloption.yoffset === undefined ? 0 : labeloption.yoffset;
this.zoffset = labeloption.zoffset === undefined ? 0 : labeloption.zoffset;
this.placement = labeloption.placement === undefined ? "center-right" : labeloption.placement;
this.maxScale = labeloption.maxScale === undefined ? 0 : labeloption.maxScale;
this.minScale = labeloption.minScale === undefined ? 0 : labeloption.minScale;
}
return Label;
}());
export default Label;
import IMarkOptions from '../interface/IMarkOptions';
import Icon from '../Overlays/Icon';
import Overlayerbase from './Overlayerbase';
export default class Marker extends Overlayerbase {
icon: Icon;
position: [number, number, number?];
constructor(markeroption: IMarkOptions);
}
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import Overlayerbase from './Overlayerbase';
var Marker = /** @class */ (function (_super) {
__extends(Marker, _super);
function Marker(markeroption) {
var _this = _super.call(this, markeroption) || this;
_this.overlaytype = 'Marker';
_this.icon = markeroption.icon;
_this.position = markeroption.position;
return _this;
}
return Marker;
}(Overlayerbase));
export default Marker;
import IOverLayerGroupOption from '../interface/IOverLayerGroupOption';
import Label from '../Overlays/Label';
import FeatureReduction from './FeatureReduction';
import Overlayerbase from './Overlayerbase';
export default class OverlayGroup {
uuid: string;
type: any;
overlayers: Overlayerbase[];
overlaytype: string;
datafiled: any;
style: any;
label: Label;
frreduction: FeatureReduction;
constructor(olayers: Overlayerbase[], overLayerGroupOption: IOverLayerGroupOption);
}
import Guid from '../utils/Guid';
var OverlayGroup = /** @class */ (function () {
function OverlayGroup(olayers, overLayerGroupOption) {
this.uuid = new Guid().uuid;
this.overlayers = olayers;
this.type = "group";
this.overlaytype = overLayerGroupOption.overlaytype === undefined ? 'marker' : overLayerGroupOption.overlaytype;
this.datafiled = overLayerGroupOption.datafiled === undefined ? [] : overLayerGroupOption.datafiled;
this.style = overLayerGroupOption.style === undefined ? [] : overLayerGroupOption.style;
this.label = overLayerGroupOption.label === undefined ? null : overLayerGroupOption.label;
this.frreduction = overLayerGroupOption.frreduction === undefined ? null : overLayerGroupOption.frreduction;
}
return OverlayGroup;
}());
export default OverlayGroup;
import IOverlayerOptions from '../interface/IOverlayerOptions';
import Label from '../Overlays/Label';
export default class Overlayerbase {
overlaytype: string;
uuid: string;
type: any;
label: Label;
attributes: any;
constructor(overlayeroption: IOverlayerOptions);
}
import Guid from '../utils/Guid';
var Overlayerbase = /** @class */ (function () {
function Overlayerbase(overlayeroption) {
this.uuid = new Guid().uuid;
this.label = overlayeroption.label;
this.attributes = overlayeroption.attributes === undefined ? {} : overlayeroption.attributes;
this.type = "element";
}
return Overlayerbase;
}());
export default Overlayerbase;
import LngLat from '../common/LngLat';
import IPolygonOption from '../interface/IPolygonOption';
import Overlayerbase from './Overlayerbase';
export default class Polygon extends Overlayerbase {
paths: LngLat[];
symboltype: string;
fillColor: string;
strokeColor: string;
style: string;
strokeWeight: number;
url: string;
picwidth: number;
picheight: number;
strokestyle: string;
constructor(ploption: IPolygonOption);
}
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import Overlayerbase from './Overlayerbase';
var Polygon = /** @class */ (function (_super) {
__extends(Polygon, _super);
function Polygon(ploption) {
var _this = _super.call(this, ploption) || this;
_this.overlaytype = 'polygon';
_this.paths = ploption.paths;
_this.symboltype = ploption.symboltype === undefined ? 'simple' : ploption.symboltype;
_this.fillColor = ploption.fillColor === undefined ? 'white' : ploption.fillColor;
_this.style = ploption.style === undefined ? 'solid' : ploption.style;
_this.strokeColor = ploption.strokeColor === undefined ? 'red' : ploption.strokeColor;
_this.strokestyle = ploption.strokestyle === undefined ? 'solid' : ploption.strokestyle;
_this.strokeWeight = ploption.strokeWeight === undefined ? 2 : ploption.strokeWeight;
_this.url = ploption.url === undefined ? '' : ploption.url;
_this.picwidth = ploption.picwidth === undefined ? 20 : ploption.picwidth;
_this.picheight = ploption.picheight === undefined ? 20 : ploption.picheight;
return _this;
}
return Polygon;
}(Overlayerbase));
export default Polygon;
import LngLat from '../common/LngLat';
import IPolylineOption from '../interface/IPolylineOption';
import Overlayerbase from './Overlayerbase';
export default class Polyline extends Overlayerbase {
path: LngLat[];
cap: string;
strokeColor: string;
style: string;
lineJoin: string;
width: number;
constructor(ploption: IPolylineOption);
}
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import Overlayerbase from './Overlayerbase';
var Polyline = /** @class */ (function (_super) {
__extends(Polyline, _super);
function Polyline(ploption) {
var _this = _super.call(this, ploption) || this;
_this.overlaytype = 'Polyline';
_this.path = ploption.path;
_this.cap = ploption.cap === undefined ? 'square' : ploption.cap;
_this.strokeColor = ploption.strokeColor === undefined ? 'red' : ploption.strokeColor;
_this.style = ploption.style === undefined ? 'solid' : ploption.style;
_this.lineJoin = ploption.lineJoin === undefined ? 'round' : ploption.lineJoin;
_this.width = ploption.width === undefined ? 5 : ploption.width;
return _this;
}
return Polyline;
}(Overlayerbase));
export default Polyline;
export default class Size {
width: number;
height: number;
constructor(wth: any, ht: any);
}
var Size = /** @class */ (function () {
function Size(wth, ht) {
this.width = wth;
this.height = ht;
}
return Size;
}());
export default Size;
This diff is collapsed.
import Bounds from './Bounds';
import LngLat from './common/LngLat';
import BasemapToggle from './control/BasemapToggle';
import BMapGallery from './control/BMapGallery';
import Compass from './control/Compass';
import Fullscreen from './control/Fullscreen';
import Home from './control/Home';
import LayerListControl from './control/LayerListControl';
import MeasureArea from './control/MeasureArea';
import MeasureLine from './control/MeasureLine';
import UndergroundSwitch from './control/UndergroundSwitch';
import Zoom from './control/Zoom';
import Map from './Map';
import FeatureReduction from './Overlays/FeatureReduction';
import Icon from './Overlays/Icon';
import Label from './Overlays/Label';
import Marker from './Overlays/Marker';
import OverlayGroup from './Overlays/OverlayGroup';
import Polygon from './Overlays/Polygon';
import Polyline from './Overlays/Polyline';
import Size from './Overlays/Size';
import MapEvent from './utils/MapEvent';
declare const _default: {
Bounds: typeof Bounds;
LayerListControl: typeof LayerListControl;
Zoom: typeof Zoom;
Home: typeof Home;
Compass: typeof Compass;
Fullscreen: typeof Fullscreen;
MeasureArea: typeof MeasureArea;
MeasureLine: typeof MeasureLine;
BasemapToggle: typeof BasemapToggle;
BMapGallery: typeof BMapGallery;
UndergroundSwitch: typeof UndergroundSwitch;
Marker: typeof Marker;
Icon: typeof Icon;
Size: typeof Size;
Label: typeof Label;
FeatureReduction: typeof FeatureReduction;
OverlayGroup: typeof OverlayGroup;
LngLat: typeof LngLat;
Polyline: typeof Polyline;
Polygon: typeof Polygon;
MapEvent: typeof MapEvent;
Map: typeof Map;
};
export default _default;
import Bounds from './Bounds';
import LngLat from './common/LngLat';
import BasemapToggle from './control/BasemapToggle';
import BMapGallery from './control/BMapGallery';
import Compass from './control/Compass';
import Fullscreen from './control/Fullscreen';
import Home from './control/Home';
import LayerListControl from './control/LayerListControl';
import MeasureArea from './control/MeasureArea';
import MeasureLine from './control/MeasureLine';
import UndergroundSwitch from './control/UndergroundSwitch';
import Zoom from './control/Zoom';
import Map from './Map';
import FeatureReduction from './Overlays/FeatureReduction';
import Icon from './Overlays/Icon';
import Label from './Overlays/Label';
import Marker from './Overlays/Marker';
import OverlayGroup from './Overlays/OverlayGroup';
import Polygon from './Overlays/Polygon';
import Polyline from './Overlays/Polyline';
import Size from './Overlays/Size';
// import {
// load
// } from './modules';
import MapEvent from './utils/MapEvent';
export default {
// load,
Bounds: Bounds,
LayerListControl: LayerListControl,
Zoom: Zoom,
Home: Home,
Compass: Compass,
Fullscreen: Fullscreen,
MeasureArea: MeasureArea,
MeasureLine: MeasureLine,
BasemapToggle: BasemapToggle,
BMapGallery: BMapGallery,
UndergroundSwitch: UndergroundSwitch,
Marker: Marker,
Icon: Icon,
Size: Size,
Label: Label,
FeatureReduction: FeatureReduction,
OverlayGroup: OverlayGroup,
LngLat: LngLat,
Polyline: Polyline,
Polygon: Polygon,
MapEvent: MapEvent,
Map: Map
};
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
export default class LngLat {
X: number;
Y: number;
Z: number;
constructor(x: number, y: number, z?: number);
}
var LngLat = /** @class */ (function () {
function LngLat(x, y, z) {
this.X = x;
this.Y = y;
this.Z = z === undefined ? 0 : z;
}
return LngLat;
}());
export default LngLat;
export default class Mapcofig {
static jsapi: string;
static jsapiversion4X: string;
static tokenserver: {
tokenType: string;
token_front: {
url: string;
user: string;
password: string;
};
token_black: {
url: string;
};
};
static proxyURL: string;
static proxyConifg: {
useProxy: boolean;
url: string;
httpsDomains: {
proxyUrl: string;
domainName: string;
}[];
};
static fonts: {
url: string;
};
static gisService: {
serverurl: string;
baseMapServices: {
isToken: boolean;
layers: {
url: string;
layerEName: string;
isToken: boolean;
visible: boolean;
opacity: number;
mapType: string;
tag: string;
layerCName: string;
type: string;
}[];
};
buildingsLayers: {
id: string;
title: string;
tag: string;
listMode: string;
visible: boolean;
layerGroups: any[];
layers: any[];
};
smapbussinessLayers: {
serverurl: string;
istoken: boolean;
tokenType: string;
layerGroups: {
id: string;
title: string;
grouptype: string;
tag: string;
visible: boolean;
listMode: string;
layerGroups: any[];
layers: ({
url: string;
id: string;
isToken: boolean;
visible: boolean;
opacity: number;
maptype: string;
tag: string;
title: string;
type: string;
listMode: string;
sublayers: {
id: number;
definitionExpression: string;
}[];
istoken?: undefined;
} | {
url: string;
id: string;
isToken: boolean;
visible: boolean;
opacity: number;
maptype: string;
tag: string;
title: string;
type: string;
listMode: string;
sublayers: {
id: number;
sublayers: {
id: number;
definitionExpression: string;
}[];
}[];
istoken?: undefined;
} | {
id: string;
istoken: boolean;
visible: boolean;
opacity: number;
maptype: string;
tag: string;
title: string;
type: string;
listMode: string;
url?: undefined;
isToken?: undefined;
sublayers?: undefined;
})[];
}[];
};
};
constructor();
}
var Mapcofig = /** @class */ (function () {
// tslint:disable-next-line:no-empty
function Mapcofig() {
}
Mapcofig.jsapi = 'http://10.121.20.129/hmfmstest/gisshare/A/repairemonitor/arcgis_js';
Mapcofig.jsapiversion4X = '4.16';
Mapcofig.tokenserver = {
tokenType: 'userdef',
token_front: {
url: 'http://10.108.3.52:8080/onemap/tokens/generateToken',
user: 'none',
password: 'none'
},
token_black: {
url: 'http://10.108.3.16:8401/mapconfig/maptoken'
}
};
Mapcofig.proxyURL = "http://www.962121.net/propertybusinessmanage/proxy.jsp";
Mapcofig.proxyConifg = {
useProxy: false,
url: Mapcofig.proxyURL + '?',
httpsDomains: [{
proxyUrl: Mapcofig.proxyURL,
domainName: '168.168.112.84:6080'
}, {
proxyUrl: Mapcofig.proxyURL,
domainName: '168.168.112.76:6080'
}, {
proxyUrl: Mapcofig.proxyURL,
domainName: '168.168.112.74:6080'
}]
};
Mapcofig.fonts = {
url: 'http://10.121.20.129/hmfmstest/gisshare/A/repairemonitor/arcgis_js/4.15/fonts'
};
Mapcofig.gisService = {
serverurl: 'http://10.121.20.129/hmfmstest/gisshare/B/rest/services',
baseMapServices: {
isToken: true,
// tokenType: 'OneMap',
layers: [{
url: 'http://10.121.20.129/hmfmstest/gisshare/B/rest/services/Image2019/MapServer',
layerEName: 'basemap_air',
isToken: false,
visible: false,
opacity: 1.0,
mapType: 'SHCTiledMapServiceLayer',
tag: '影像底图',
layerCName: '影像底图',
type: 'basemap_air'
}, {
url: 'http://10.121.20.129/hmfmstest/gisshare/B/rest/services/shmap_as3/MapServer',
layerEName: 'basemap_as',
isToken: false,
visible: true,
opacity: 1.0,
mapType: 'SHCTiledMapServiceLayer',
tag: '暗色底图',
layerCName: '暗色底图',
type: 'basemap_as'
}, {
url: 'http://10.121.20.129/hmfmstest/gisshare/B/rest/services/Basemap19/MapServer',
layerEName: 'basemap_zw',
isToken: false,
visible: false,
opacity: 1.0,
mapType: 'SHCTiledMapServiceLayer',
tag: '政务底图',
layerCName: '政务底图',
type: 'basemap_zw'
}]
},
buildingsLayers: {
id: "buildings_3d_layers",
title: "空间基础",
tag: "buildings_3d_layers",
listMode: 'show',
visible: true,
layerGroups: [],
layers: []
},
smapbussinessLayers: {
serverurl: "http://10.121.20.129/hmfmstest/gisshare/C/rest/services",
istoken: true,
tokenType: "OneMap",
layerGroups: [{
id: "smap_3D_layers",
title: "三维业务组",
grouptype: '3D',
tag: "smap_3D_layers",
visible: true,
listMode: 'show',
layerGroups: [],
layers: []
}, {
id: "smap_2D_layers",
title: "二维业务组",
grouptype: '2D',
tag: "smap_2D_layers",
visible: true,
listMode: 'show',
layerGroups: [],
layers: [{
url: 'http://10.121.20.129/hmfmstest/gisshare/C/rest/services/WG_GIS_XQ_POLY/MapServer',
id: 'wg_gis_xq_poly',
isToken: true,
visible: true,
opacity: 1.0,
maptype: 'MapImageLayer',
tag: '小区面',
title: '小区面',
type: 'wg_gis_xq_poly',
listMode: 'show',
sublayers: [{
id: 0,
definitionExpression: "1 = 1"
}]
}, {
url: 'http://10.121.20.129/hmfmstest/gisshare/C/rest/services/WG_GIS_XQ_POINT/MapServer',
id: 'wg_gis_xq_point',
isToken: true,
visible: true,
opacity: 1.0,
maptype: 'MapImageLayer',
tag: '小区点',
title: '小区点',
type: 'wg_gis_xq_point',
listMode: 'show',
sublayers: [{
id: 0,
sublayers: [{
id: 5,
definitionExpression: "1 = 1"
}, {
id: 4,
definitionExpression: "1 = 1"
}, {
id: 3,
definitionExpression: "1 = 1"
}, {
id: 2,
definitionExpression: "1 = 1"
}, {
id: 1,
definitionExpression: "1 = 1"
}]
}]
}, {
url: 'http://10.121.20.129/hmfmstest/gisshare/C/rest/services/WG_GIS_MPZ/MapServer',
id: 'wg_gis_mpz',
isToken: true,
visible: true,
opacity: 1.0,
maptype: 'MapImageLayer',
tag: '门牌幢',
title: '门牌幢',
type: 'wg_gis_mpz',
listMode: 'show',
sublayers: [{
id: 5,
sublayers: [{
id: 8,
definitionExpression: "1 = 1"
}, {
id: 7,
definitionExpression: "1 = 1"
}, {
id: 6,
definitionExpression: "1 = 1"
}]
}, {
id: 0,
sublayers: [{
id: 4,
definitionExpression: "1 = 1"
}, {
id: 3,
definitionExpression: "1 = 1"
}, {
id: 2,
definitionExpression: "1 = 1"
}, {
id: 1,
definitionExpression: "1 = 1"
}]
}]
}, {
id: "location_Hightlight",
istoken: false,
visible: true,
opacity: 1.0,
maptype: "GraphicsLayer",
tag: "地名地址高亮",
title: "地名地址高亮",
type: "image",
listMode: 'hide'
}]
}]
}
};
return Mapcofig;
}());
export default Mapcofig;
import IMapControlOptions from '../interface/IMapControlOptions';
import MapControlBase from '../interface/MapControlBase';
export default class BMapGallery extends MapControlBase {
constructor(mapoptons: IMapControlOptions);
}
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import MapControlBase from '../interface/MapControlBase';
var BMapGallery = /** @class */ (function (_super) {
__extends(BMapGallery, _super);
// tslint:disable-next-line:no-empty
function BMapGallery(mapoptons) {
var _this = _super.call(this, mapoptons) || this;
_this.controlName = 'basemapgallery';
return _this;
}
return BMapGallery;
}(MapControlBase));
export default BMapGallery;
import IMapControlOptions from '../interface/IMapControlOptions';
import MapControlBase from '../interface/MapControlBase';
export default class BasemapToggle extends MapControlBase {
constructor(mapoptons: IMapControlOptions);
}
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import MapControlBase from '../interface/MapControlBase';
var BasemapToggle = /** @class */ (function (_super) {
__extends(BasemapToggle, _super);
// tslint:disable-next-line:no-empty
function BasemapToggle(mapoptons) {
var _this = _super.call(this, mapoptons) || this;
_this.controlName = 'basemaptoggle';
return _this;
}
return BasemapToggle;
}(MapControlBase));
export default BasemapToggle;
import IMapControlOptions from '../interface/IMapControlOptions';
import MapControlBase from '../interface/MapControlBase';
export default class Compass extends MapControlBase {
constructor(mapoptons: IMapControlOptions);
}
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import MapControlBase from '../interface/MapControlBase';
var Compass = /** @class */ (function (_super) {
__extends(Compass, _super);
// tslint:disable-next-line:no-empty
function Compass(mapoptons) {
var _this = _super.call(this, mapoptons) || this;
_this.controlName = 'compass';
return _this;
}
return Compass;
}(MapControlBase));
export default Compass;
import IMapControlOptions from '../interface/IMapControlOptions';
import MapControlBase from '../interface/MapControlBase';
export default class Fullscreen extends MapControlBase {
constructor(mapoptons: IMapControlOptions);
}
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import MapControlBase from '../interface/MapControlBase';
var Fullscreen = /** @class */ (function (_super) {
__extends(Fullscreen, _super);
// tslint:disable-next-line:no-empty
function Fullscreen(mapoptons) {
var _this = _super.call(this, mapoptons) || this;
_this.controlName = 'fullscreen';
return _this;
}
return Fullscreen;
}(MapControlBase));
export default Fullscreen;
import IMapControlOptions from '../interface/IMapControlOptions';
import MapControlBase from '../interface/MapControlBase';
export default class Home extends MapControlBase {
constructor(mapoptons: IMapControlOptions);
}
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import MapControlBase from '../interface/MapControlBase';
var Home = /** @class */ (function (_super) {
__extends(Home, _super);
// tslint:disable-next-line:no-empty
function Home(mapoptons) {
var _this = _super.call(this, mapoptons) || this;
_this.controlName = 'home';
return _this;
}
return Home;
}(MapControlBase));
export default Home;
import IMapControlOptions from '../interface/IMapControlOptions';
import MapControlBase from '../interface/MapControlBase';
export default class LayerListControl extends MapControlBase {
constructor(mapoptons: IMapControlOptions);
}
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import MapControlBase from '../interface/MapControlBase';
var LayerListControl = /** @class */ (function (_super) {
__extends(LayerListControl, _super);
// tslint:disable-next-line:no-empty
function LayerListControl(mapoptons) {
var _this = _super.call(this, mapoptons) || this;
_this.controlName = 'toc';
return _this;
}
return LayerListControl;
}(MapControlBase));
export default LayerListControl;
import IMapControlOptions from '../interface/IMapControlOptions';
import MapControlBase from '../interface/MapControlBase';
export default class MeasureArea extends MapControlBase {
constructor(mapoptons: IMapControlOptions);
}
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import MapControlBase from '../interface/MapControlBase';
var MeasureArea = /** @class */ (function (_super) {
__extends(MeasureArea, _super);
// tslint:disable-next-line:no-empty
function MeasureArea(mapoptons) {
var _this = _super.call(this, mapoptons) || this;
_this.controlName = 'measurearea';
return _this;
}
return MeasureArea;
}(MapControlBase));
export default MeasureArea;
import IMapControlOptions from '../interface/IMapControlOptions';
import MapControlBase from '../interface/MapControlBase';
export default class MeasureLine extends MapControlBase {
constructor(mapoptons: IMapControlOptions);
}
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import MapControlBase from '../interface/MapControlBase';
var MeasureLine = /** @class */ (function (_super) {
__extends(MeasureLine, _super);
// tslint:disable-next-line:no-empty
function MeasureLine(mapoptons) {
var _this = _super.call(this, mapoptons) || this;
_this.controlName = 'measureline';
return _this;
}
return MeasureLine;
}(MapControlBase));
export default MeasureLine;
import IMapControlOptions from '../interface/IMapControlOptions';
import MapControlBase from '../interface/MapControlBase';
export default class UndergroundSwitch extends MapControlBase {
constructor(mapoptons: IMapControlOptions);
}
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import MapControlBase from '../interface/MapControlBase';
var UndergroundSwitch = /** @class */ (function (_super) {
__extends(UndergroundSwitch, _super);
// tslint:disable-next-line:no-empty
function UndergroundSwitch(mapoptons) {
var _this = _super.call(this, mapoptons) || this;
_this.controlName = 'undergroundswitch';
return _this;
}
return UndergroundSwitch;
}(MapControlBase));
export default UndergroundSwitch;
import IMapControlOptions from '../interface/IMapControlOptions';
import MapControlBase from '../interface/MapControlBase';
export default class Zoom extends MapControlBase {
constructor(mapoptons: IMapControlOptions);
}
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
import MapControlBase from '../interface/MapControlBase';
var Zoom = /** @class */ (function (_super) {
__extends(Zoom, _super);
// tslint:disable-next-line:no-empty
function Zoom(mapoptons) {
var _this = _super.call(this, mapoptons) || this;
_this.controlName = 'zoom';
return _this;
}
return Zoom;
}(MapControlBase));
export default Zoom;
import IMapOptions from './interface/IMapOptions';
export declare function init3Dmap(containerv: string, gisService: any, proxyConifg: any, maptoken: string, mapoptions: IMapOptions): Promise<{
sceneView: any;
mapv: any;
}>;
export declare function init2Dmap(containerv: string, gisService: any, proxyConifg: any, maptoken: string, mapoptions: IMapOptions): Promise<{
mapView: any;
mapv: any;
}>;
This diff is collapsed.
export default interface IBounds {
northeast?: number[];
southwest?: number[];
}
import Size from '../Overlays/Size';
export default interface IConOption {
size: Size;
image: string;
}
export default interface IFeatureReductionOption {
type?: string;
clusterRadius?: number;
}
export default interface ILabelOption {
type?: string;
visible?: boolean;
text: string;
size?: number;
weight?: string;
color?: string;
angle?: number;
backgroundColor?: string;
borderLineColor?: string;
borderLineSize?: number;
haloColor?: string;
haloSize?: number;
horizontalAlignment?: string;
kerning?: boolean;
lineHeight?: number;
lineWidth?: number;
rotated?: boolean;
verticalAlignment?: string;
xoffset?: number;
yoffset?: number;
zoffset?: number;
placement?: string;
maxScale?: number;
minScale?: number;
}
export default interface IMapControlOptions {
visible: boolean;
position: string;
collapse: boolean;
}
export default interface IMapOptions {
userName?: string;
menuName?: string;
viewMode?: string;
zoom?: number;
zooms?: [number, number];
center?: number[];
pitch?: number;
rotateEnable?: boolean;
mapStyle?: string;
showBuildingBlock?: boolean;
appKey?: string;
}
import Icon from '../Overlays/Icon';
import IOverlayerOptions from './IOverlayerOptions';
export default interface IMarkOptions extends IOverlayerOptions {
position: [number, number, number?];
icon: Icon;
}
import FeatureReduction from '../Overlays/FeatureReduction';
import Label from '../Overlays/Label';
export default interface IOverLayerGroupOption {
overlaytype?: string;
datafiled?: any;
style: any;
label: Label;
frreduction?: FeatureReduction;
}
import Label from '../Overlays/Label';
export default interface IOverlayerOptions {
label: Label;
attributes: any;
}
import Overlayerbase from '../Overlays/Overlayerbase';
import OverlayGroup from '../Overlays/OverlayGroup';
export default interface IOverlayers {
add(overlayers: Overlayerbase | Overlayerbase[] | OverlayGroup): void;
remove(overlayers: Overlayerbase | Overlayerbase[] | OverlayGroup): void;
update(overlayers: Overlayerbase | Overlayerbase[] | OverlayGroup): void;
addfeature(overlayers: Overlayerbase | Overlayerbase[] | OverlayGroup): void;
updatefeature(overlayers: Overlayerbase | Overlayerbase[] | OverlayGroup): void;
removefeature(overlayers: Overlayerbase | Overlayerbase[] | OverlayGroup): void;
}
import LngLat from '../common/LngLat';
import IOverlayerOptions from './IOverlayerOptions';
export default interface IPolygonOption extends IOverlayerOptions {
paths: LngLat[];
symboltype: string;
fillColor: string;
strokeColor: string;
style: string;
strokeWeight: number;
url: string;
picwidth: number;
picheight: number;
strokestyle: string;
}
import LngLat from '../common/LngLat';
import IOverlayerOptions from './IOverlayerOptions';
export default interface IPolylineOption extends IOverlayerOptions {
path: LngLat[];
cap: string;
strokeColor: string;
style: string;
lineJoin: string;
width: number;
}
import IMapControlOptions from './IMapControlOptions';
export default class MapControlBase {
controlName: string;
visible: boolean;
position: string;
collapse: boolean;
constructor(mapoptons: IMapControlOptions);
}
var MapControlBase = /** @class */ (function () {
// tslint:disable-next-line:no-empty
function MapControlBase(mapoptons) {
this.visible = mapoptons.visible === undefined || mapoptons.visible ? true : false;
this.position = mapoptons.position === undefined || mapoptons.position === 'top-right' ?
'top-right' : mapoptons.position;
this.collapse = mapoptons.collapse === true ? true : false;
}
return MapControlBase;
}());
export default MapControlBase;
declare class EventEmitter {
static defaultMaxListeners: number;
private maxListeners;
private events;
constructor();
private _addListener;
addListener(eventName: string | symbol, listener: Function): this;
emit(eventName: string | symbol, ...args: any[]): boolean;
eventNames(): [string | symbol];
getMaxListeners(): number;
listenerCount(eventName: string | symbol): number;
private _listeners;
private unwrapListeners;
listeners(eventName: string | symbol): Function[];
rawListeners(eventName: string | symbol): Function[];
off(eventName: string | symbol, listener: Function): this;
on(eventName: string | symbol, listener: Function): this;
once(eventName: string | symbol, listener: Function): this;
private onceWrap;
prependListener(eventName: string | symbol, listener: Function): this;
prependOnceListener(eventName: string | symbol, listener: Function): this;
removeAllListeners(eventName?: string | symbol): this;
removeListener(eventName: string | symbol, listener: Function): this;
setMaxListeners(n: number): this;
}
export default EventEmitter;
This diff is collapsed.
import Default from "./lib/mod";
export default Default;
export * from "./lib/mod";
import "./lib/mod";
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment