w-geo 1.2.6 → 1.2.7

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.
@@ -62,7 +62,7 @@
62
62
  <br class="clear">
63
63
 
64
64
  <footer>
65
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
65
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
66
66
  </footer>
67
67
 
68
68
  <script>prettyPrint();</script>
@@ -233,7 +233,7 @@ export default calcDepthByDepthStartEnd
233
233
  <br class="clear">
234
234
 
235
235
  <footer>
236
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
236
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
237
237
  </footer>
238
238
 
239
239
  <script>prettyPrint();</script>
@@ -322,7 +322,7 @@ export default calcDepthStartEndByConnect
322
322
  <br class="clear">
323
323
 
324
324
  <footer>
325
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
325
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
326
326
  </footer>
327
327
 
328
328
  <script>prettyPrint();</script>
@@ -347,7 +347,7 @@ export default calcDepthStartEndByDepth
347
347
  <br class="clear">
348
348
 
349
349
  <footer>
350
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
350
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
351
351
  </footer>
352
352
 
353
353
  <script>prettyPrint();</script>
@@ -566,7 +566,7 @@ export default calcDepthStartEndByGroup
566
566
  <br class="clear">
567
567
 
568
568
  <footer>
569
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
569
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
570
570
  </footer>
571
571
 
572
572
  <script>prettyPrint();</script>
@@ -76,6 +76,22 @@ import judge from 'wsemi/src/judge.mjs'
76
76
  * @param {String} [opt.keyFromInds='fromInds'] 輸入儲存來源指標欄位字串,預設'fromInds'
77
77
  * @returns {Array} 回傳合併後的數據陣列
78
78
  * @example
79
+ *
80
+ * let ltdt
81
+ * let r
82
+ *
83
+ * ltdt = [
84
+ * { depthStart: 0, depthEnd: 1, type: 'A' },
85
+ * { depthStart: 1, depthEnd: 2, type: 'A' },
86
+ * { depthStart: 2, depthEnd: 3, type: 'B' },
87
+ * ]
88
+ * r = calcLayersByMerge(ltdt)
89
+ * console.log(r)
90
+ * // => [
91
+ * // { depthStart: 0, depthEnd: 2, type: 'A', ind: 1, fromInds: [ 0, 1 ] },
92
+ * // { depthStart: 2, depthEnd: 3, type: 'B', ind: 2 }
93
+ * // ]
94
+ *
79
95
  */
80
96
  function calcLayersByMerge(ltdt, opt = {}) {
81
97
 
@@ -230,7 +246,7 @@ export default calcLayersByMerge
230
246
  <br class="clear">
231
247
 
232
248
  <footer>
233
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
249
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
234
250
  </footer>
235
251
 
236
252
  <script>prettyPrint();</script>
@@ -8525,7 +8525,7 @@ export default calcLiquefaction
8525
8525
  <br class="clear">
8526
8526
 
8527
8527
  <footer>
8528
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
8528
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
8529
8529
  </footer>
8530
8530
 
8531
8531
  <script>prettyPrint();</script>
@@ -700,7 +700,7 @@ export default calcVerticalStress
700
700
  <br class="clear">
701
701
 
702
702
  <footer>
703
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
703
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
704
704
  </footer>
705
705
 
706
706
  <script>prettyPrint();</script>
@@ -213,7 +213,7 @@ export default checkDepth
213
213
  <br class="clear">
214
214
 
215
215
  <footer>
216
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
216
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
217
217
  </footer>
218
218
 
219
219
  <script>prettyPrint();</script>
@@ -271,7 +271,7 @@ export default checkDepthStartEnd
271
271
  <br class="clear">
272
272
 
273
273
  <footer>
274
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
274
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
275
275
  </footer>
276
276
 
277
277
  <script>prettyPrint();</script>
@@ -506,7 +506,7 @@ export default complementDepthData
506
506
  <br class="clear">
507
507
 
508
508
  <footer>
509
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
509
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
510
510
  </footer>
511
511
 
512
512
  <script>prettyPrint();</script>
@@ -488,7 +488,7 @@ export default groupByDepthStartEnd
488
488
  <br class="clear">
489
489
 
490
490
  <footer>
491
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
491
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
492
492
  </footer>
493
493
 
494
494
  <script>prettyPrint();</script>
package/docs/index.html CHANGED
@@ -71,7 +71,7 @@
71
71
  <br class="clear">
72
72
 
73
73
  <footer>
74
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
74
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
75
75
  </footer>
76
76
 
77
77
  <script>prettyPrint();</script>
@@ -907,7 +907,7 @@ export default mergeByDepthStartEnd
907
907
  <br class="clear">
908
908
 
909
909
  <footer>
910
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
910
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
911
911
  </footer>
912
912
 
913
913
  <script>prettyPrint();</script>
@@ -360,7 +360,7 @@ export default relaPlasticity
360
360
  <br class="clear">
361
361
 
362
362
  <footer>
363
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
363
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
364
364
  </footer>
365
365
 
366
366
  <script>prettyPrint();</script>
@@ -524,7 +524,7 @@ export default relaPorous
524
524
  <br class="clear">
525
525
 
526
526
  <footer>
527
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
527
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
528
528
  </footer>
529
529
 
530
530
  <script>prettyPrint();</script>
@@ -323,7 +323,7 @@ export default sepDepthStartEndByDepth
323
323
  <br class="clear">
324
324
 
325
325
  <footer>
326
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
326
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
327
327
  </footer>
328
328
 
329
329
  <script>prettyPrint();</script>
@@ -280,7 +280,7 @@ export default smoothDepthByKey
280
280
  <br class="clear">
281
281
 
282
282
  <footer>
283
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
283
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
284
284
  </footer>
285
285
 
286
286
  <script>prettyPrint();</script>
package/docs/w-geo.html CHANGED
@@ -1862,7 +1862,7 @@
1862
1862
 
1863
1863
  <dt class="tag-source">Source:</dt>
1864
1864
  <dd class="tag-source"><ul class="dummy"><li>
1865
- <a href="calcLayersByMerge.mjs.html">calcLayersByMerge.mjs</a>, <a href="calcLayersByMerge.mjs.html#line33">line 33</a>
1865
+ <a href="calcLayersByMerge.mjs.html">calcLayersByMerge.mjs</a>, <a href="calcLayersByMerge.mjs.html#line49">line 49</a>
1866
1866
  </li></ul></dd>
1867
1867
 
1868
1868
 
@@ -1909,7 +1909,7 @@
1909
1909
 
1910
1910
  <h5 class="h5-examples">Example</h5>
1911
1911
 
1912
- <pre class="prettyprint"><code></code></pre>
1912
+ <pre class="prettyprint"><code>let ltdt
1913
1913
  { depthStart: 0, depthEnd: 1, type: 'A' },
1914
1914
  { depthStart: 1, depthEnd: 2, type: 'A' },
1915
1915
  { depthStart: 2, depthEnd: 3, type: 'B' },
1916
1916
 
1917
1917
 
1918
1918
 
@@ -10228,7 +10228,7 @@
10228
10228
  <br class="clear">
10229
10229
 
10230
10230
  <footer>
10231
- Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Sun Oct 11 2026 15:16:57 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
10231
+ Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.5</a> on Fri Oct 16 2026 11:51:28 GMT+0800 (台北標準時間) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
10232
10232
  </footer>
10233
10233
 
10234
10234
  <script>prettyPrint();</script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "w-geo",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "main": "dist/w-geo.umd.js",
5
5
  "dependencies": {
6
6
  "w-highcharts": "^1.0.26",
@@ -29,6 +29,22 @@ import judge from 'wsemi/src/judge.mjs'
29
29
  * @param {String} [opt.keyFromInds='fromInds'] 輸入儲存來源指標欄位字串,預設'fromInds'
30
30
  * @returns {Array} 回傳合併後的數據陣列
31
31
  * @example
32
+ *
33
+ * let ltdt
34
+ * let r
35
+ *
36
+ * ltdt = [
37
+ * { depthStart: 0, depthEnd: 1, type: 'A' },
38
+ * { depthStart: 1, depthEnd: 2, type: 'A' },
39
+ * { depthStart: 2, depthEnd: 3, type: 'B' },
40
+ * ]
41
+ * r = calcLayersByMerge(ltdt)
42
+ * console.log(r)
43
+ * // => [
44
+ * // { depthStart: 0, depthEnd: 2, type: 'A', ind: 1, fromInds: [ 0, 1 ] },
45
+ * // { depthStart: 2, depthEnd: 3, type: 'B', ind: 2 }
46
+ * // ]
47
+ *
32
48
  */
33
49
  function calcLayersByMerge(ltdt, opt = {}) {
34
50