@anov/gis 1.2.8-beta.1 → 1.2.9-beta.1
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/dist/Documentation/AmapImageryProvider.html +198 -0
- package/dist/Documentation/BaiduImageryProvider.html +353 -0
- package/dist/Documentation/Billboard.html +1477 -0
- package/dist/Documentation/CesiumHeatMap.html +559 -0
- package/dist/Documentation/CesiumMeasureUtil.html +1907 -0
- package/dist/Documentation/CesiumView.html +808 -0
- package/dist/Documentation/DomUtil.html +2513 -0
- package/dist/Documentation/DrawBase.html +1250 -0
- package/dist/Documentation/DrawCircle.html +852 -0
- package/dist/Documentation/DrawPoint.html +720 -0
- package/dist/Documentation/DrawPolyLine.html +963 -0
- package/dist/Documentation/DrawPolygon.html +852 -0
- package/dist/Documentation/DrawRectangle.html +720 -0
- package/dist/Documentation/FeatureInfoUtil.html +324 -0
- package/dist/Documentation/GeoJsonLayer.html +640 -0
- package/dist/Documentation/GoogleImageryProvider.html +198 -0
- package/dist/Documentation/Graphic.html +1761 -0
- package/dist/Documentation/ImageryLayerFactory.html +2431 -0
- package/dist/Documentation/Label.html +1458 -0
- package/dist/Documentation/LayerControlUitl.html +364 -0
- package/dist/Documentation/LocateUtil.html +1303 -0
- package/dist/Documentation/MapInfo.html +237 -0
- package/dist/Documentation/MouseEvent.html +187 -0
- package/dist/Documentation/PlotUtil.html +3627 -0
- package/dist/Documentation/PoiSearch.html +260 -0
- package/dist/Documentation/Point.html +2304 -0
- package/dist/Documentation/Polyline.html +1743 -0
- package/dist/Documentation/Position.html +1676 -0
- package/dist/Documentation/PrimitiveLayer.html +277 -0
- package/dist/Documentation/SplitImageLayer.html +552 -0
- package/dist/Documentation/TdtImageryProvider.html +198 -0
- package/dist/Documentation/TencentImageryProvider.html +198 -0
- package/dist/Documentation/ThreeCoordTransform.html +1327 -0
- package/dist/Documentation/TilesetLayer.html +277 -0
- package/dist/Documentation/Transform.html +1831 -0
- package/dist/Documentation/TranslateLocal.html +434 -0
- package/dist/Documentation/Util.html +1653 -0
- package/dist/Documentation/VectorLayer.html +2214 -0
- package/dist/Documentation/Viewer.html +5537 -0
- package/dist/Documentation/WktUtil.html +693 -0
- package/dist/Documentation/fonts/SourceSansPro.woff +0 -0
- package/dist/Documentation/global.html +1586 -0
- package/dist/Documentation/global.html#FlyEventType +154 -0
- package/dist/Documentation/global.html#GraphicEventType +154 -0
- package/dist/Documentation/global.html#ImageryType +1476 -0
- package/dist/Documentation/global.html#LayerEventType +154 -0
- package/dist/Documentation/global.html#SceneEventType +154 -0
- package/dist/Documentation/global.html#WidgetEventType +154 -0
- package/dist/Documentation/global.html#getCurveByTwoPoints +154 -0
- package/dist/Documentation/global.html#noAuto +154 -0
- package/dist/Documentation/global.html#pause +154 -0
- package/dist/Documentation/global.html#resetParas +154 -0
- package/dist/Documentation/global.html#start +154 -0
- package/dist/Documentation/global.html#stop +154 -0
- package/dist/Documentation/icons/home.png +0 -0
- package/dist/Documentation/icons/link.png +0 -0
- package/dist/Documentation/icons/popout.png +0 -0
- package/dist/Documentation/images/CesiumLogo.png +0 -0
- package/dist/Documentation/images/bingAerial.png +0 -0
- package/dist/Documentation/images/bingAerialLabels.png +0 -0
- package/dist/Documentation/images/bingRoads.png +0 -0
- package/dist/Documentation/images/blueblack.png +0 -0
- package/dist/Documentation/images/circle_blue.png +0 -0
- package/dist/Documentation/images/circle_red.png +0 -0
- package/dist/Documentation/images/circle_yellow.png +0 -0
- package/dist/Documentation/images/cloud.jpg +0 -0
- package/dist/Documentation/images/esriWorldImagery.png +0 -0
- package/dist/Documentation/images/fence.png +0 -0
- package/dist/Documentation/images/gaode_img.png +0 -0
- package/dist/Documentation/images/gnjg.png +0 -0
- package/dist/Documentation/images/google_vec.png +0 -0
- package/dist/Documentation/images/lighting.png +0 -0
- package/dist/Documentation/images/linegradient.png +0 -0
- package/dist/Documentation/images/space_line.png +0 -0
- package/dist/Documentation/images/tdt_ter.png +0 -0
- package/dist/Documentation/images/tdt_vec.png +0 -0
- package/dist/Documentation/images/wallflow.png +0 -0
- package/dist/Documentation/images/wallgradient.png +0 -0
- package/dist/Documentation/images/water/waterNormals.jpg +0 -0
- package/dist/Documentation/images/water/waterNormalsSmall.jpg +0 -0
- package/dist/Documentation/index.html +73 -0
- package/dist/Documentation/javascript/cesiumDoc.js +64 -0
- package/dist/Documentation/javascript/html5.js +115 -0
- package/dist/Documentation/javascript/prism.js +325 -0
- package/dist/Documentation/styles/jsdoc-default.css +670 -0
- package/dist/Documentation/styles/prism.css +128 -0
- package/dist/Documentation/types.txt +1 -0
- package/dist/index.css +2699 -4
- package/dist/index.js +730 -58
- package/dist/resources/static/images/water/waterNormals.jpg +0 -0
- package/dist/resources/static/images/water/waterNormalsSmall.jpg +0 -0
- package/package.json +1 -1
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
+
<title>stop - Cesium Documentation</title>
|
|
8
|
+
|
|
9
|
+
<!--[if lt IE 9]>
|
|
10
|
+
<script src="javascript/html5.js"></script>
|
|
11
|
+
<![endif]-->
|
|
12
|
+
<link href="styles/jsdoc-default.css" rel="stylesheet">
|
|
13
|
+
<link href="styles/prism.css" rel="stylesheet">
|
|
14
|
+
</head>
|
|
15
|
+
<body>
|
|
16
|
+
|
|
17
|
+
<div id="main">
|
|
18
|
+
|
|
19
|
+
<h1 class="page-title">
|
|
20
|
+
|
|
21
|
+
stop
|
|
22
|
+
<div class="titleCenterer"></div>
|
|
23
|
+
</h1>
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
<section>
|
|
31
|
+
|
|
32
|
+
<header>
|
|
33
|
+
|
|
34
|
+
</header>
|
|
35
|
+
|
|
36
|
+
<article>
|
|
37
|
+
<div class="container-overview">
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
<div class="source-link rightLinks" style="display:none">
|
|
44
|
+
<a href="https://github.com/CesiumGS/cesium/blob/undefined/Source/analysis/waterAnalysis/CesiumWaterAnalysis.js#L106">analysis/waterAnalysis/CesiumWaterAnalysis.js 106</a>
|
|
45
|
+
</div>
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
<div class="description">结束分析</div>
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
<dl class="details">
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
</dl>
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
</article>
|
|
107
|
+
|
|
108
|
+
</section>
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
<div class="help">
|
|
115
|
+
需要帮助 ? 最快获取答案的途径是百度 <a href="https://www.baidu.com/">测试</a>.
|
|
116
|
+
</div>
|
|
117
|
+
|
|
118
|
+
<footer>
|
|
119
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a>
|
|
120
|
+
</footer>
|
|
121
|
+
</div>
|
|
122
|
+
|
|
123
|
+
<div class="nav">
|
|
124
|
+
<div class="menu">
|
|
125
|
+
<input type="text" class="classFilter" id="ClassFilter" placeholder="Search">
|
|
126
|
+
<ul id="ClassList"><li data-name="AmapImageryProvider"><a href="AmapImageryProvider.html">AmapImageryProvider</a></li><li data-name="BaiduImageryProvider"><a href="BaiduImageryProvider.html">BaiduImageryProvider</a></li><li data-name="Billboard"><a href="Billboard.html">Billboard</a></li><li data-name="CesiumHeatMap"><a href="CesiumHeatMap.html">CesiumHeatMap</a></li><li data-name="CesiumMeasureUtil"><a href="CesiumMeasureUtil.html">CesiumMeasureUtil</a></li><li data-name="CesiumView"><a href="CesiumView.html">CesiumView</a></li><li data-name="DomUtil"><a href="DomUtil.html">DomUtil</a></li><li data-name="DrawBase"><a href="DrawBase.html">DrawBase</a></li><li data-name="DrawCircle"><a href="DrawCircle.html">DrawCircle</a></li><li data-name="DrawPoint"><a href="DrawPoint.html">DrawPoint</a></li><li data-name="DrawPolygon"><a href="DrawPolygon.html">DrawPolygon</a></li><li data-name="DrawPolyLine"><a href="DrawPolyLine.html">DrawPolyLine</a></li><li data-name="DrawRectangle"><a href="DrawRectangle.html">DrawRectangle</a></li><li data-name="FeatureInfoUtil"><a href="FeatureInfoUtil.html">FeatureInfoUtil</a></li><li data-name="FlyEventType"><a href="global.html#FlyEventType">FlyEventType</a></li><li data-name="GeoJsonLayer"><a href="GeoJsonLayer.html">GeoJsonLayer</a></li><li data-name="getCurveByTwoPoints"><a href="global.html#getCurveByTwoPoints">getCurveByTwoPoints</a></li><li data-name="GoogleImageryProvider"><a href="GoogleImageryProvider.html">GoogleImageryProvider</a></li><li data-name="Graphic"><a href="Graphic.html">Graphic</a></li><li data-name="GraphicEventType"><a href="global.html#GraphicEventType">GraphicEventType</a></li><li data-name="ImageryLayerFactory"><a href="ImageryLayerFactory.html">ImageryLayerFactory</a></li><li data-name="ImageryType"><a href="global.html#ImageryType">ImageryType</a></li><li data-name="Label"><a href="Label.html">Label</a></li><li data-name="LayerControlUitl"><a href="LayerControlUitl.html">LayerControlUitl</a></li><li data-name="LayerEventType"><a href="global.html#LayerEventType">LayerEventType</a></li><li data-name="LocateUtil"><a href="LocateUtil.html">LocateUtil</a></li><li data-name="MapInfo"><a href="MapInfo.html">MapInfo</a></li><li data-name="MouseEvent"><a href="MouseEvent.html">MouseEvent</a></li><li data-name="noAuto"><a href="global.html#noAuto">noAuto</a></li><li data-name="pause"><a href="global.html#pause">pause</a></li><li data-name="PlotUtil"><a href="PlotUtil.html">PlotUtil</a></li><li data-name="Point"><a href="Point.html">Point</a></li><li data-name="PoiSearch"><a href="PoiSearch.html">PoiSearch</a></li><li data-name="Polyline"><a href="Polyline.html">Polyline</a></li><li data-name="Position"><a href="Position.html">Position</a></li><li data-name="PrimitiveLayer"><a href="PrimitiveLayer.html">PrimitiveLayer</a></li><li data-name="resetParas"><a href="global.html#resetParas">resetParas</a></li><li data-name="SceneEventType"><a href="global.html#SceneEventType">SceneEventType</a></li><li data-name="SplitImageLayer"><a href="SplitImageLayer.html">SplitImageLayer</a></li><li data-name="start"><a href="global.html#start">start</a></li><li data-name="stop"><a href="global.html#stop">stop</a></li><li data-name="TdtImageryProvider"><a href="TdtImageryProvider.html">TdtImageryProvider</a></li><li data-name="TencentImageryProvider"><a href="TencentImageryProvider.html">TencentImageryProvider</a></li><li data-name="ThreeCoordTransform"><a href="ThreeCoordTransform.html">ThreeCoordTransform</a></li><li data-name="TilesetLayer"><a href="TilesetLayer.html">TilesetLayer</a></li><li data-name="Transform"><a href="Transform.html">Transform</a></li><li data-name="TranslateLocal"><a href="TranslateLocal.html">TranslateLocal</a></li><li data-name="Util"><a href="Util.html">Util</a></li><li data-name="VectorLayer"><a href="VectorLayer.html">VectorLayer</a></li><li data-name="Viewer"><a href="Viewer.html">Viewer</a></li><li data-name="WidgetEventType"><a href="global.html#WidgetEventType">WidgetEventType</a></li><li data-name="WktUtil"><a href="WktUtil.html">WktUtil</a></li></ul>
|
|
127
|
+
</div>
|
|
128
|
+
</div>
|
|
129
|
+
|
|
130
|
+
<script>
|
|
131
|
+
if (window.frameElement) {
|
|
132
|
+
document.body.className = 'embedded';
|
|
133
|
+
|
|
134
|
+
var ele = document.createElement('a');
|
|
135
|
+
ele.className = 'popout';
|
|
136
|
+
ele.target = '_blank';
|
|
137
|
+
ele.href = window.location.href;
|
|
138
|
+
ele.title = 'Pop out';
|
|
139
|
+
document.getElementById('main').appendChild(ele);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
// Set targets on external links. Sandcastle and GitHub shouldn't be embedded in any iframe.
|
|
143
|
+
Array.prototype.forEach.call(document.getElementsByTagName('a'), function(a) {
|
|
144
|
+
if (/^https?:/i.test(a.getAttribute('href'))) {
|
|
145
|
+
a.target='_blank';
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
</script>
|
|
149
|
+
|
|
150
|
+
<script src="javascript/prism.js"></script>
|
|
151
|
+
<script src="javascript/cesiumDoc.js"></script>
|
|
152
|
+
|
|
153
|
+
</body>
|
|
154
|
+
</html>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
+
<title>Index - Cesium Documentation</title>
|
|
8
|
+
|
|
9
|
+
<!--[if lt IE 9]>
|
|
10
|
+
<script src="javascript/html5.js"></script>
|
|
11
|
+
<![endif]-->
|
|
12
|
+
<link href="styles/jsdoc-default.css" rel="stylesheet">
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
|
|
16
|
+
<div id="mainIndex">
|
|
17
|
+
|
|
18
|
+
<div class="nav">
|
|
19
|
+
<div class="menu">
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
<input type="text" class="classFilter" id="ClassFilter" placeholder="Search">
|
|
23
|
+
|
|
24
|
+
<ul id="ClassList"><li data-name="AmapImageryProvider"><a href="AmapImageryProvider.html">AmapImageryProvider</a></li><li data-name="BaiduImageryProvider"><a href="BaiduImageryProvider.html">BaiduImageryProvider</a></li><li data-name="Billboard"><a href="Billboard.html">Billboard</a></li><li data-name="CesiumHeatMap"><a href="CesiumHeatMap.html">CesiumHeatMap</a></li><li data-name="CesiumMeasureUtil"><a href="CesiumMeasureUtil.html">CesiumMeasureUtil</a></li><li data-name="CesiumView"><a href="CesiumView.html">CesiumView</a></li><li data-name="DomUtil"><a href="DomUtil.html">DomUtil</a></li><li data-name="DrawBase"><a href="DrawBase.html">DrawBase</a></li><li data-name="DrawCircle"><a href="DrawCircle.html">DrawCircle</a></li><li data-name="DrawPoint"><a href="DrawPoint.html">DrawPoint</a></li><li data-name="DrawPolygon"><a href="DrawPolygon.html">DrawPolygon</a></li><li data-name="DrawPolyLine"><a href="DrawPolyLine.html">DrawPolyLine</a></li><li data-name="DrawRectangle"><a href="DrawRectangle.html">DrawRectangle</a></li><li data-name="FeatureInfoUtil"><a href="FeatureInfoUtil.html">FeatureInfoUtil</a></li><li data-name="FlyEventType"><a href="global.html#FlyEventType">FlyEventType</a></li><li data-name="GeoJsonLayer"><a href="GeoJsonLayer.html">GeoJsonLayer</a></li><li data-name="getCurveByTwoPoints"><a href="global.html#getCurveByTwoPoints">getCurveByTwoPoints</a></li><li data-name="GoogleImageryProvider"><a href="GoogleImageryProvider.html">GoogleImageryProvider</a></li><li data-name="Graphic"><a href="Graphic.html">Graphic</a></li><li data-name="GraphicEventType"><a href="global.html#GraphicEventType">GraphicEventType</a></li><li data-name="ImageryLayerFactory"><a href="ImageryLayerFactory.html">ImageryLayerFactory</a></li><li data-name="ImageryType"><a href="global.html#ImageryType">ImageryType</a></li><li data-name="Label"><a href="Label.html">Label</a></li><li data-name="LayerControlUitl"><a href="LayerControlUitl.html">LayerControlUitl</a></li><li data-name="LayerEventType"><a href="global.html#LayerEventType">LayerEventType</a></li><li data-name="LocateUtil"><a href="LocateUtil.html">LocateUtil</a></li><li data-name="MapInfo"><a href="MapInfo.html">MapInfo</a></li><li data-name="MouseEvent"><a href="MouseEvent.html">MouseEvent</a></li><li data-name="noAuto"><a href="global.html#noAuto">noAuto</a></li><li data-name="pause"><a href="global.html#pause">pause</a></li><li data-name="PlotUtil"><a href="PlotUtil.html">PlotUtil</a></li><li data-name="Point"><a href="Point.html">Point</a></li><li data-name="PoiSearch"><a href="PoiSearch.html">PoiSearch</a></li><li data-name="Polyline"><a href="Polyline.html">Polyline</a></li><li data-name="Position"><a href="Position.html">Position</a></li><li data-name="PrimitiveLayer"><a href="PrimitiveLayer.html">PrimitiveLayer</a></li><li data-name="resetParas"><a href="global.html#resetParas">resetParas</a></li><li data-name="SceneEventType"><a href="global.html#SceneEventType">SceneEventType</a></li><li data-name="SplitImageLayer"><a href="SplitImageLayer.html">SplitImageLayer</a></li><li data-name="start"><a href="global.html#start">start</a></li><li data-name="stop"><a href="global.html#stop">stop</a></li><li data-name="TdtImageryProvider"><a href="TdtImageryProvider.html">TdtImageryProvider</a></li><li data-name="TencentImageryProvider"><a href="TencentImageryProvider.html">TencentImageryProvider</a></li><li data-name="ThreeCoordTransform"><a href="ThreeCoordTransform.html">ThreeCoordTransform</a></li><li data-name="TilesetLayer"><a href="TilesetLayer.html">TilesetLayer</a></li><li data-name="Transform"><a href="Transform.html">Transform</a></li><li data-name="TranslateLocal"><a href="TranslateLocal.html">TranslateLocal</a></li><li data-name="Util"><a href="Util.html">Util</a></li><li data-name="VectorLayer"><a href="VectorLayer.html">VectorLayer</a></li><li data-name="Viewer"><a href="Viewer.html">Viewer</a></li><li data-name="WidgetEventType"><a href="global.html#WidgetEventType">WidgetEventType</a></li><li data-name="WktUtil"><a href="WktUtil.html">WktUtil</a></li></ul>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
<h3> </h3>
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
<div class="help">
|
|
58
|
+
需要帮助 ? 最快获取答案的途径是百度 <a href="https://www.baidu.com/">测试</a>.
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
<footer>
|
|
62
|
+
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a>
|
|
63
|
+
</footer>
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
<script>
|
|
67
|
+
document.getElementById('ClassFilter').focus();
|
|
68
|
+
</script>
|
|
69
|
+
|
|
70
|
+
<script src="javascript/cesiumDoc.js"></script>
|
|
71
|
+
|
|
72
|
+
</body>
|
|
73
|
+
</html>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
(function () {
|
|
2
|
+
var filterType = document.getElementById("filterType");
|
|
3
|
+
var classFilter = document.getElementById("ClassFilter");
|
|
4
|
+
var classList = document.getElementById("ClassList");
|
|
5
|
+
|
|
6
|
+
function filter() {
|
|
7
|
+
var value = classFilter.value.toLowerCase();
|
|
8
|
+
|
|
9
|
+
var items = classList.getElementsByTagName("li");
|
|
10
|
+
for (var i = 0; i < items.length; i++) {
|
|
11
|
+
var item = items[i];
|
|
12
|
+
var itemName = item.getAttribute("data-name") || "";
|
|
13
|
+
itemName = itemName.toLowerCase().replace(/\s/g, "");
|
|
14
|
+
if (itemName.indexOf(value) >= 0) {
|
|
15
|
+
item.style.display = "";
|
|
16
|
+
} else {
|
|
17
|
+
item.style.display = "none";
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
classFilter.onkeyup = filter;
|
|
22
|
+
|
|
23
|
+
function getQueryParameter(name) {
|
|
24
|
+
var match = new RegExp("[?&]" + name + "=([^&]*)").exec(
|
|
25
|
+
window.location.search
|
|
26
|
+
);
|
|
27
|
+
return match && decodeURIComponent(match[1].replace(/\+/g, " "));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
var show = getQueryParameter("show");
|
|
31
|
+
if (show) {
|
|
32
|
+
document.getElementById("filterType").value = show;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
var searchTerm = getQueryParameter("classFilter") || "";
|
|
36
|
+
classFilter.value = searchTerm;
|
|
37
|
+
filter();
|
|
38
|
+
|
|
39
|
+
function resetFilter() {
|
|
40
|
+
classFilter.value = "";
|
|
41
|
+
filter();
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function updateMenuLinks() {
|
|
45
|
+
var links = classList.getElementsByTagName("a");
|
|
46
|
+
var searchTerm = classFilter.value;
|
|
47
|
+
for (var i = 0; i < links.length; i++) {
|
|
48
|
+
var link = links[i];
|
|
49
|
+
var prefix = link.href.split("?")[0];
|
|
50
|
+
var parts = prefix.split("#");
|
|
51
|
+
link.href =
|
|
52
|
+
parts[0] +
|
|
53
|
+
(searchTerm === "" ? "" : "?classFilter=" + searchTerm) +
|
|
54
|
+
(parts[1] ? "#" + parts[1] : "");
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
var menuLinks = classList.getElementsByTagName("a");
|
|
59
|
+
for (var i = 0; i < menuLinks.length; i++) {
|
|
60
|
+
menuLinks[i].onclick = function () {
|
|
61
|
+
updateMenuLinks();
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
})();
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
/*
|
|
2
|
+
HTML5 Shiv v3.7.0 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
|
|
3
|
+
*/
|
|
4
|
+
(function (l, f) {
|
|
5
|
+
function m() {
|
|
6
|
+
var a = e.elements;
|
|
7
|
+
return "string" == typeof a ? a.split(" ") : a;
|
|
8
|
+
}
|
|
9
|
+
function i(a) {
|
|
10
|
+
var b = n[a[o]];
|
|
11
|
+
b || ((b = {}), h++, (a[o] = h), (n[h] = b));
|
|
12
|
+
return b;
|
|
13
|
+
}
|
|
14
|
+
function p(a, b, c) {
|
|
15
|
+
b || (b = f);
|
|
16
|
+
if (g) return b.createElement(a);
|
|
17
|
+
c || (c = i(b));
|
|
18
|
+
b = c.cache[a]
|
|
19
|
+
? c.cache[a].cloneNode()
|
|
20
|
+
: r.test(a)
|
|
21
|
+
? (c.cache[a] = c.createElem(a)).cloneNode()
|
|
22
|
+
: c.createElem(a);
|
|
23
|
+
return b.canHaveChildren && !s.test(a) ? c.frag.appendChild(b) : b;
|
|
24
|
+
}
|
|
25
|
+
function t(a, b) {
|
|
26
|
+
if (!b.cache)
|
|
27
|
+
(b.cache = {}),
|
|
28
|
+
(b.createElem = a.createElement),
|
|
29
|
+
(b.createFrag = a.createDocumentFragment),
|
|
30
|
+
(b.frag = b.createFrag());
|
|
31
|
+
a.createElement = function (c) {
|
|
32
|
+
return !e.shivMethods ? b.createElem(c) : p(c, a, b);
|
|
33
|
+
};
|
|
34
|
+
a.createDocumentFragment = Function(
|
|
35
|
+
"h,f",
|
|
36
|
+
"return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&(" +
|
|
37
|
+
m()
|
|
38
|
+
.join()
|
|
39
|
+
.replace(/[\w\-]+/g, function (a) {
|
|
40
|
+
b.createElem(a);
|
|
41
|
+
b.frag.createElement(a);
|
|
42
|
+
return 'c("' + a + '")';
|
|
43
|
+
}) +
|
|
44
|
+
");return n}"
|
|
45
|
+
)(e, b.frag);
|
|
46
|
+
}
|
|
47
|
+
function q(a) {
|
|
48
|
+
a || (a = f);
|
|
49
|
+
var b = i(a);
|
|
50
|
+
if (e.shivCSS && !j && !b.hasCSS) {
|
|
51
|
+
var c,
|
|
52
|
+
d = a;
|
|
53
|
+
c = d.createElement("p");
|
|
54
|
+
d = d.getElementsByTagName("head")[0] || d.documentElement;
|
|
55
|
+
c.innerHTML =
|
|
56
|
+
"x<style>article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}</style>";
|
|
57
|
+
c = d.insertBefore(c.lastChild, d.firstChild);
|
|
58
|
+
b.hasCSS = !!c;
|
|
59
|
+
}
|
|
60
|
+
g || t(a, b);
|
|
61
|
+
return a;
|
|
62
|
+
}
|
|
63
|
+
var k = l.html5 || {},
|
|
64
|
+
s = /^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,
|
|
65
|
+
r = /^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,
|
|
66
|
+
j,
|
|
67
|
+
o = "_html5shiv",
|
|
68
|
+
h = 0,
|
|
69
|
+
n = {},
|
|
70
|
+
g;
|
|
71
|
+
(function () {
|
|
72
|
+
try {
|
|
73
|
+
var a = f.createElement("a");
|
|
74
|
+
a.innerHTML = "<xyz></xyz>";
|
|
75
|
+
j = "hidden" in a;
|
|
76
|
+
var b;
|
|
77
|
+
if (!(b = 1 == a.childNodes.length)) {
|
|
78
|
+
f.createElement("a");
|
|
79
|
+
var c = f.createDocumentFragment();
|
|
80
|
+
b =
|
|
81
|
+
"undefined" == typeof c.cloneNode ||
|
|
82
|
+
"undefined" == typeof c.createDocumentFragment ||
|
|
83
|
+
"undefined" == typeof c.createElement;
|
|
84
|
+
}
|
|
85
|
+
g = b;
|
|
86
|
+
} catch (d) {
|
|
87
|
+
g = j = !0;
|
|
88
|
+
}
|
|
89
|
+
})();
|
|
90
|
+
var e = {
|
|
91
|
+
elements:
|
|
92
|
+
k.elements ||
|
|
93
|
+
"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",
|
|
94
|
+
version: "3.7.0",
|
|
95
|
+
shivCSS: !1 !== k.shivCSS,
|
|
96
|
+
supportsUnknownElements: g,
|
|
97
|
+
shivMethods: !1 !== k.shivMethods,
|
|
98
|
+
type: "default",
|
|
99
|
+
shivDocument: q,
|
|
100
|
+
createElement: p,
|
|
101
|
+
createDocumentFragment: function (a, b) {
|
|
102
|
+
a || (a = f);
|
|
103
|
+
if (g) return a.createDocumentFragment();
|
|
104
|
+
for (
|
|
105
|
+
var b = b || i(a), c = b.frag.cloneNode(), d = 0, e = m(), h = e.length;
|
|
106
|
+
d < h;
|
|
107
|
+
d++
|
|
108
|
+
)
|
|
109
|
+
c.createElement(e[d]);
|
|
110
|
+
return c;
|
|
111
|
+
},
|
|
112
|
+
};
|
|
113
|
+
l.html5 = e;
|
|
114
|
+
q(f);
|
|
115
|
+
})(this, document);
|