@hybridcore/ui 1.5.89 → 1.6.0

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.
Files changed (267) hide show
  1. package/dist/{AccordionDetails-DhriPVPP.js → AccordionSummary-DgAwVTk8.js} +81 -82
  2. package/dist/{Add-CMz4N2zT.js → Add-DJLrrVHm.js} +52 -51
  3. package/dist/AnimatedTheme-jnasw6rT.js +11305 -0
  4. package/dist/AxisRenderer-DTyLLA6c.js +3579 -0
  5. package/dist/AxisRendererY-C_ItLPNV.js +445 -0
  6. package/dist/Box-p6OtTUEo.js +30 -0
  7. package/dist/Bullet-DVczI2TD.js +41 -0
  8. package/dist/Button-CcsPEIDh.js +35 -0
  9. package/dist/{Button-eqWvpDuh.js → Button-CvE2gnly.js} +138 -124
  10. package/dist/{ButtonBase-DsX-jMQJ.js → ButtonBase-2bPw77UP.js} +5 -5
  11. package/dist/{CardContent-DsYqqPeJ.js → CardContent-CSHh-ZlM.js} +4 -4
  12. package/dist/CategoryAxis-CwnfaGc8.js +458 -0
  13. package/dist/{Checkbox-CrU2hpWB.js → Checkbox-CWRMFTBp.js} +12 -11
  14. package/dist/Circle-Cy5s-pVc.js +27 -0
  15. package/dist/ColorSet-C7vpNXhM.js +2957 -0
  16. package/dist/{ColumnSeries-BTcqshjB.js → ColumnSeries-CjgdJ2QL.js} +129 -126
  17. package/dist/DataProcessor-CHDO51q4.js +83 -0
  18. package/dist/DateAxis-YX3QNIB-.js +569 -0
  19. package/dist/{Delete-86TO0fMo.js → Delete-CW0UZv1m.js} +1 -1
  20. package/dist/{DialogContent-CqTojymQ.js → DialogContent-B3nbEbuv.js} +10 -11
  21. package/dist/FormControl-BLbrq4C7.js +1636 -0
  22. package/dist/{FormControlLabel-BrdX4R71.js → FormControlLabel-C8SPv14J.js} +8 -8
  23. package/dist/Hierarchy-Bihj0S61.js +925 -0
  24. package/dist/{IconButton-DJ-31-Fd.js → IconButton-CHwRQF-g.js} +20 -19
  25. package/dist/IconPlus-yPkff_Vj.js +19 -0
  26. package/dist/{InputAdornment-B7qEA4kN.js → InputAdornment-DLxWUE6H.js} +6 -6
  27. package/dist/Legend-Dp_MKfS4.js +178 -0
  28. package/dist/LineSeries-Uiv5o56b.js +472 -0
  29. package/dist/{List-DOD5kSk3.js → List-tqElle9C.js} +4 -4
  30. package/dist/{ListItem-r8PbsvCz.js → ListItem-CfjsIg4B.js} +9 -8
  31. package/dist/{MenuItem-C6qlUyV3.js → MenuItem-xZx_w7zA.js} +14 -13
  32. package/dist/{Modal-CkcFEpHa.js → Modal-DhPpOoGB.js} +292 -277
  33. package/dist/{Paper-CjqLScHA.js → Paper-2B03OBmZ.js} +47 -41
  34. package/dist/PieSeries-B2fW3z0s.js +693 -0
  35. package/dist/RoundedRectangle-CWLi2PXn.js +34 -0
  36. package/dist/Scrollbar-D86MJyr2.js +171 -0
  37. package/dist/{Select-t3ewnSdf.js → Select-BgYwkZgI.js} +2066 -1633
  38. package/dist/Slice-B19rbYDZ.js +261 -0
  39. package/dist/{Source-BESIjd9X.js → Source-BSZST_GH.js} +2472 -2445
  40. package/dist/{Text-Cl1H4b0h.js → Text-ChJRuaD8.js} +398 -397
  41. package/dist/{TextField-BQ8a50fA.js → TextField-1yCesIbH.js} +23 -25
  42. package/dist/Tick-2bcLyHpF.js +162 -0
  43. package/dist/{Typography-D1t7XuLN.js → Typography-CxbneZy_.js} +11 -11
  44. package/dist/Vector-BmuhQO4p.js +3606 -0
  45. package/dist/Vector-DfTqQEln.js +1735 -0
  46. package/dist/WKT-2wsDT-nq.js +2310 -0
  47. package/dist/XYCursor-C8WktvKM.js +362 -0
  48. package/dist/ZoomableContainer-DYyqwaMb.js +220 -0
  49. package/dist/_commonjsHelpers-BVfed4GL.js +28 -0
  50. package/dist/capitalize-ciszXJ7R.js +9 -0
  51. package/dist/components/access/helpers.js +1 -1
  52. package/dist/components/access/index.js +1 -1
  53. package/dist/components/card/index.js +6 -6
  54. package/dist/components/card/styled.js +1 -1
  55. package/dist/components/charts/_common/utils.js +20 -0
  56. package/dist/components/charts/candlestick/logic.js +170 -140
  57. package/dist/components/charts/chart-wrapper/helpers.js +27 -0
  58. package/dist/components/charts/chart-wrapper/index.js +44 -0
  59. package/dist/components/charts/chart-wrapper/logic.js +47 -0
  60. package/dist/components/charts/chart-wrapper/styled.js +44 -0
  61. package/dist/components/charts/column-line-mix/index.js +10 -0
  62. package/dist/components/charts/column-line-mix/logic.js +162 -0
  63. package/dist/components/charts/column-line-mix/styled.js +12 -0
  64. package/dist/components/charts/drill-down-treemap/index.js +10 -0
  65. package/dist/components/charts/drill-down-treemap/logic.js +391 -0
  66. package/dist/components/charts/drill-down-treemap/styled.js +12 -0
  67. package/dist/components/charts/drill-down-voronoi-treemap/index.js +10 -0
  68. package/dist/components/charts/drill-down-voronoi-treemap/logic.js +1527 -0
  69. package/dist/components/charts/drill-down-voronoi-treemap/styled.js +12 -0
  70. package/dist/components/charts/heatmap/index.js +10 -0
  71. package/dist/components/charts/heatmap/logic.js +361 -0
  72. package/dist/components/charts/heatmap/styled.js +12 -0
  73. package/dist/components/charts/highlighting-line-data/logic.js +89 -256
  74. package/dist/components/charts/line/index.js +10 -0
  75. package/dist/components/charts/line/logic.js +148 -0
  76. package/dist/components/charts/line/styled.js +12 -0
  77. package/dist/components/charts/logaritmic-scale/index.js +10 -0
  78. package/dist/components/charts/logaritmic-scale/logic.js +119 -0
  79. package/dist/components/charts/logaritmic-scale/styled.js +12 -0
  80. package/dist/components/charts/multiple-value-axes/index.js +10 -0
  81. package/dist/components/charts/multiple-value-axes/logic.js +191 -0
  82. package/dist/components/charts/multiple-value-axes/styled.js +12 -0
  83. package/dist/components/charts/nested-pie/index.js +10 -0
  84. package/dist/components/charts/nested-pie/logic.js +110 -0
  85. package/dist/components/charts/nested-pie/styled.js +12 -0
  86. package/dist/components/charts/packed-circles/index.js +10 -0
  87. package/dist/components/charts/packed-circles/logic.js +423 -0
  88. package/dist/components/charts/packed-circles/styled.js +12 -0
  89. package/dist/components/charts/pie-chart/index.js +10 -0
  90. package/dist/components/charts/pie-chart/logic.js +70 -0
  91. package/dist/components/charts/pie-chart/styled.js +12 -0
  92. package/dist/components/charts/stacked-area-radar/index.js +10 -0
  93. package/dist/components/charts/stacked-area-radar/logic.js +868 -0
  94. package/dist/components/charts/stacked-area-radar/styled.js +12 -0
  95. package/dist/components/charts/stacked-column-chart/index.js +10 -0
  96. package/dist/components/charts/stacked-column-chart/logic.js +148 -0
  97. package/dist/components/charts/stacked-column-chart/styled.js +12 -0
  98. package/dist/components/charts/xy-chart/index.js +10 -0
  99. package/dist/components/charts/xy-chart/logic.js +170 -0
  100. package/dist/components/charts/xy-chart/styled.js +12 -0
  101. package/dist/components/collapsible-card/index.js +58 -32
  102. package/dist/components/collapsible-card/logic.js +20 -0
  103. package/dist/components/collapsible-card/styled.js +52 -0
  104. package/dist/components/confirm/dialog.js +3 -3
  105. package/dist/components/confirm/index.js +1 -1
  106. package/dist/components/container/index.js +7 -7
  107. package/dist/components/context-menu/index.js +153 -253
  108. package/dist/components/data-map/components/controls/index.js +12 -0
  109. package/dist/components/data-map/components/controls/styled.js +34 -0
  110. package/dist/components/data-map/index.js +51 -0
  111. package/dist/components/data-map/logic.js +108 -0
  112. package/dist/components/data-map/styled.js +32 -0
  113. package/dist/components/data-security-selectors/security-level/index.js +5 -5
  114. package/dist/components/date-picker-with-custom-range/index.js +9 -0
  115. package/dist/components/date-picker-with-custom-range/logic.js +66 -0
  116. package/dist/components/date-picker-with-custom-range/styled.js +43 -0
  117. package/dist/components/divider/index.js +18 -0
  118. package/dist/components/divider/logic.js +13 -0
  119. package/dist/components/divider/styled.js +14 -0
  120. package/dist/components/geometry-picker/coordinate/index.js +1 -1
  121. package/dist/components/geometry-picker/edit/index.js +1 -1
  122. package/dist/components/geometry-picker/geometry/index.js +1 -1
  123. package/dist/components/geometry-picker/index.js +7 -8
  124. package/dist/components/geometry-picker/kml/index.js +1 -1
  125. package/dist/components/geometry-picker/map/index.js +1 -1
  126. package/dist/components/geometry-picker/map/logic.js +65 -62
  127. package/dist/components/geometry-picker/map/style.js +1 -1
  128. package/dist/components/heat-map/components/controls/index.js +12 -0
  129. package/dist/components/heat-map/components/controls/styled.js +34 -0
  130. package/dist/components/heat-map/components/legend/index.js +26 -0
  131. package/dist/components/heat-map/components/legend/styled.js +14 -0
  132. package/dist/components/heat-map/index.js +37 -0
  133. package/dist/components/heat-map/logic.js +1945 -0
  134. package/dist/components/heat-map/styled.js +32 -0
  135. package/dist/components/icon-button/index.js +22 -15
  136. package/dist/components/icon-button/logic.js +15 -0
  137. package/dist/components/icon-button/styled.js +22 -10
  138. package/dist/components/instance-form/components/composite-list/index.js +1 -1
  139. package/dist/components/instance-form/components/composite-matrix/components/json-editor/index.js +8 -7
  140. package/dist/components/instance-form/components/variable/index.js +8 -8
  141. package/dist/components/instance-form/components/variables/index.js +1 -1
  142. package/dist/components/instance-hierarchy-table/styled.js +1 -1
  143. package/dist/components/instance-variable-list/index.js +34 -29
  144. package/dist/components/instance-variable-list/styled.js +21 -21
  145. package/dist/components/instance-variable-list/variable.js +44 -74
  146. package/dist/components/linear-indicator/index.js +10 -67
  147. package/dist/components/linear-indicator/logic.js +47 -0
  148. package/dist/components/linear-indicator/styled.js +39 -40
  149. package/dist/components/map/helpers/kml.js +1 -1
  150. package/dist/components/map/helpers/mapbox.js +14 -14
  151. package/dist/components/map/helpers/ol.js +23 -19
  152. package/dist/components/map/helpers/wkt.js +26 -1314
  153. package/dist/components/map/index.js +1 -1
  154. package/dist/components/map/logic.js +113 -101
  155. package/dist/components/map/styled.js +39 -31
  156. package/dist/components/metric-card/MetricChart.js +50 -498
  157. package/dist/components/metric-card/index.js +94 -115
  158. package/dist/components/metric-card/logic.js +70 -131
  159. package/dist/components/object-profile-card/components/avatar/index.js +44 -0
  160. package/dist/components/object-profile-card/components/avatar/logic.js +19 -0
  161. package/dist/components/object-profile-card/components/avatar/styled.js +41 -0
  162. package/dist/components/object-profile-card/index.js +90 -0
  163. package/dist/components/object-profile-card/logic.js +33 -0
  164. package/dist/components/object-profile-card/styled.js +48 -0
  165. package/dist/components/paginated-list/index.js +93 -89
  166. package/dist/components/paginated-list/logic.js +51 -40
  167. package/dist/components/paginated-list/styled.js +25 -21
  168. package/dist/components/property-mapping/index.js +2 -2
  169. package/dist/components/prr-map/components/controls/index.js +12 -0
  170. package/dist/components/prr-map/components/controls/styled.js +34 -0
  171. package/dist/components/prr-map/components/legend/index.js +36 -0
  172. package/dist/components/prr-map/components/legend/styled.js +21 -0
  173. package/dist/components/prr-map/index.js +38 -0
  174. package/dist/components/prr-map/logic.js +104 -0
  175. package/dist/components/prr-map/styled.js +32 -0
  176. package/dist/components/range-selector/components/composite-list-range/index.js +1 -1
  177. package/dist/components/range-selector/components/date-range/index.js +4282 -7
  178. package/dist/components/range-selector/index.js +1 -1
  179. package/dist/components/raster-grid-map/components/controls/index.js +12 -0
  180. package/dist/components/raster-grid-map/components/controls/styled.js +34 -0
  181. package/dist/components/raster-grid-map/components/legend/index.js +14 -0
  182. package/dist/components/raster-grid-map/components/legend/styled.js +21 -0
  183. package/dist/components/raster-grid-map/helpers.js +190 -0
  184. package/dist/components/raster-grid-map/index.js +38 -0
  185. package/dist/components/raster-grid-map/logic.js +172 -0
  186. package/dist/components/raster-grid-map/styled.js +32 -0
  187. package/dist/components/search-input/index.js +62 -140
  188. package/dist/components/search-input/logic.js +43 -0
  189. package/dist/components/search-input/styled.js +33 -0
  190. package/dist/components/simple-pivot-table/index.js +66 -0
  191. package/dist/components/simple-pivot-table/logic.js +51 -0
  192. package/dist/components/simple-pivot-table/styled.js +45 -0
  193. package/dist/components/static-text/index.js +18 -0
  194. package/dist/components/static-text/logic.js +13 -0
  195. package/dist/components/static-text/styled.js +45 -0
  196. package/dist/components/tabs/index.js +56 -2160
  197. package/dist/components/tabs/logic.js +36 -0
  198. package/dist/components/tabs/styled.js +94 -16
  199. package/dist/components/tabs/tab-panel.js +11 -10
  200. package/dist/components/template-filters/components/tab-panel/index.js +1 -1
  201. package/dist/components/template-form/components/property-list/index.js +7 -7
  202. package/dist/components/template-form/components/property-list/property-list-columns.js +3 -3
  203. package/dist/components/template-form/components/property-list/property-list-form.js +9 -9
  204. package/dist/components/template-form/components/recognition-property-list/index.js +6 -6
  205. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-columns.js +2 -2
  206. package/dist/components/template-form/components/recognition-property-list/recognition-property-list-form.js +7 -7
  207. package/dist/components/template-form/index.js +5 -5
  208. package/dist/components/template-property-filters/property.js +5 -5
  209. package/dist/components/timeline/index.js +61 -0
  210. package/dist/components/timeline/logic.js +40 -0
  211. package/dist/components/timeline/styled.js +48 -0
  212. package/dist/components/tree-select/index.js +5 -5
  213. package/dist/components/treeview-filter/item-label/index.js +3 -3
  214. package/dist/constant-BiOGvlZc.js +21 -0
  215. package/dist/createReactComponent-C7L-DMHj.js +60 -0
  216. package/dist/{createSvgIcon-DLPYMuH1.js → createSvgIcon-BjpIhJ30.js} +30 -32
  217. package/dist/{createSvgIcon-OuwzpcaC.js → createSvgIcon-DrtgaibK.js} +5 -5
  218. package/dist/{createTheme-CNnKNxwL.js → createTheme-DYxDnE9u.js} +226 -285
  219. package/dist/{dialog-BE4D6swf.js → dialog-DcwXug9J.js} +6 -6
  220. package/dist/{helpers-DaCoWmi2.js → helpers-B4UL9NMD.js} +3 -3
  221. package/dist/index-BMS1Otro.js +183 -0
  222. package/dist/index-C__OZmYy.js +663 -0
  223. package/dist/{index-CGNxsLVm.js → index-CcdvNlgr.js} +7 -7
  224. package/dist/{index-JrtqxUdI.js → index-kCJ_Zvl8.js} +5 -5
  225. package/dist/index-syTc6m_V.js +1934 -0
  226. package/dist/index.es-CHNMhaMi.js +2067 -0
  227. package/dist/index.esm-BLLrbTzY.js +318 -0
  228. package/dist/{listItemTextClasses-CNjn41Of.js → listItemTextClasses-C3lndiXO.js} +2 -2
  229. package/dist/main.d.ts +1226 -358
  230. package/dist/main.js +141 -443
  231. package/dist/{has-DNclCIDV.js → math-Bvt2Ubuz.js} +220 -222
  232. package/dist/ol-yOE-NV0X.js +7465 -0
  233. package/dist/path-CNVruS--.js +84 -0
  234. package/dist/{property-list-form-C5hcK2y2.js → property-list-form-zZQfpR0X.js} +13 -13
  235. package/dist/styled-eZwjUruw.js +12 -0
  236. package/dist/useId-B4-oF9Mq.js +34 -0
  237. package/dist/useMobilePicker-BLg3Blg8.js +7589 -0
  238. package/dist/useThemeProps-BzzHcQyd.js +58 -0
  239. package/dist/{utils-CsOZUsQj.js → utils-BDNynJcd.js} +2 -2
  240. package/package.json +42 -9
  241. package/dist/AxisRendererY-kADUad00.js +0 -18370
  242. package/dist/Box-B1AVyJ_s.js +0 -71
  243. package/dist/DateAxis-CMum47iz.js +0 -924
  244. package/dist/Input-CoIrGZAh.js +0 -326
  245. package/dist/InputLabel-CBuAYyuT.js +0 -1367
  246. package/dist/LineSeries-CfcpoYla.js +0 -549
  247. package/dist/OutlinedInput-B-iZoc9l.js +0 -450
  248. package/dist/Tabs-Cn42Z5QI.js +0 -789
  249. package/dist/components/collapsible-card/style.js +0 -49
  250. package/dist/components/profile-card/index.js +0 -80
  251. package/dist/components/profile-card/logic.js +0 -33
  252. package/dist/components/profile-card/styled.js +0 -43
  253. package/dist/components/tabs/appleTabs.style.js +0 -55
  254. package/dist/createStyled-BGx1I94c.js +0 -352
  255. package/dist/createTheme-CyC5HawC.js +0 -879
  256. package/dist/exactProp-cjT0t_Pt.js +0 -36
  257. package/dist/extendSxProp-FEpqY5_S.js +0 -30
  258. package/dist/index-DMSHuq6l.js +0 -688
  259. package/dist/index-SpeaLUQD.js +0 -10963
  260. package/dist/ol-lGwSyEIV.js +0 -15050
  261. package/dist/ownerDocument-CUrv0DIK.js +0 -6
  262. package/dist/ownerWindow-niciwP7I.js +0 -7
  263. package/dist/styled-B8ugzvji.js +0 -12
  264. package/dist/useId-BHG98T5I.js +0 -26
  265. package/dist/useTheme-C15Eq8KG.js +0 -18
  266. package/dist/useTheme-D-uii9iX.js +0 -10
  267. package/dist/useThemeProps-DRP1dikX.js +0 -95
@@ -1,147 +1,4 @@
1
- function m(n) {
2
- for (const e in n)
3
- delete n[e];
4
- }
5
- function A(n) {
6
- let e;
7
- for (e in n)
8
- return !1;
9
- return !e;
10
- }
11
- const w = {
12
- 1: "The view center is not defined",
13
- 2: "The view resolution is not defined",
14
- 3: "The view rotation is not defined",
15
- 4: "`image` and `src` cannot be provided at the same time",
16
- 5: "`imgSize` must be set when `image` is provided",
17
- 7: "`format` must be set when `url` is set",
18
- 8: "Unknown `serverType` configured",
19
- 9: "`url` must be configured or set using `#setUrl()`",
20
- 10: "The default `geometryFunction` can only handle `Point` geometries",
21
- 11: "`options.featureTypes` must be an Array",
22
- 12: "`options.geometryName` must also be provided when `options.bbox` is set",
23
- 13: "Invalid corner",
24
- 14: "Invalid color",
25
- 15: "Tried to get a value for a key that does not exist in the cache",
26
- 16: "Tried to set a value for a key that is used already",
27
- 17: "`resolutions` must be sorted in descending order",
28
- 18: "Either `origin` or `origins` must be configured, never both",
29
- 19: "Number of `tileSizes` and `resolutions` must be equal",
30
- 20: "Number of `origins` and `resolutions` must be equal",
31
- 22: "Either `tileSize` or `tileSizes` must be configured, never both",
32
- 24: "Invalid extent or geometry provided as `geometry`",
33
- 25: "Cannot fit empty extent provided as `geometry`",
34
- 26: "Features must have an id set",
35
- 27: "Features must have an id set",
36
- 28: '`renderMode` must be `"hybrid"` or `"vector"`',
37
- 30: "The passed `feature` was already added to the source",
38
- 31: "Tried to enqueue an `element` that was already added to the queue",
39
- 32: "Transformation matrix cannot be inverted",
40
- 33: "Invalid units",
41
- 34: "Invalid geometry layout",
42
- 36: "Unknown SRS type",
43
- 37: "Unknown geometry type found",
44
- 38: "`styleMapValue` has an unknown type",
45
- 39: "Unknown geometry type",
46
- 40: "Expected `feature` to have a geometry",
47
- 41: "Expected an `ol/style/Style` or an array of `ol/style/Style.js`",
48
- 42: "Question unknown, the answer is 42",
49
- 43: "Expected `layers` to be an array or a `Collection`",
50
- 47: "Expected `controls` to be an array or an `ol/Collection`",
51
- 48: "Expected `interactions` to be an array or an `ol/Collection`",
52
- 49: "Expected `overlays` to be an array or an `ol/Collection`",
53
- 50: "`options.featureTypes` should be an Array",
54
- 51: "Either `url` or `tileJSON` options must be provided",
55
- 52: "Unknown `serverType` configured",
56
- 53: "Unknown `tierSizeCalculation` configured",
57
- 55: "The {-y} placeholder requires a tile grid with extent",
58
- 56: "mapBrowserEvent must originate from a pointer event",
59
- 57: "At least 2 conditions are required",
60
- 59: "Invalid command found in the PBF",
61
- 60: "Missing or invalid `size`",
62
- 61: "Cannot determine IIIF Image API version from provided image information JSON",
63
- 62: "A `WebGLArrayBuffer` must either be of type `ELEMENT_ARRAY_BUFFER` or `ARRAY_BUFFER`",
64
- 64: "Layer opacity must be a number",
65
- 66: "`forEachFeatureAtCoordinate` cannot be used on a WebGL layer if the hit detection logic has not been enabled. This is done by providing adequate shaders using the `hitVertexShader` and `hitFragmentShader` properties of `WebGLPointsLayerRenderer`",
66
- 67: "A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both",
67
- 68: "A VectorTile source can only be rendered if it has a projection compatible with the view projection",
68
- 69: "`width` or `height` cannot be provided together with `scale`"
69
- };
70
- class R extends Error {
71
- /**
72
- * @param {number} code Error code.
73
- */
74
- constructor(e) {
75
- const s = w[e];
76
- super(s), this.code = e, this.name = "AssertionError", this.message = s;
77
- }
78
- }
79
- function N(n, e) {
80
- if (!n)
81
- throw new R(e);
82
- }
83
- function U(n, e, s) {
84
- return Math.min(Math.max(n, e), s);
85
- }
86
- function D(n, e, s, t, i, r) {
87
- const a = i - s, o = r - t;
88
- if (a !== 0 || o !== 0) {
89
- const l = ((n - s) * a + (e - t) * o) / (a * a + o * o);
90
- l > 1 ? (s = i, t = r) : l > 0 && (s += a * l, t += o * l);
91
- }
92
- return L(n, e, s, t);
93
- }
94
- function L(n, e, s, t) {
95
- const i = s - n, r = t - e;
96
- return i * i + r * r;
97
- }
98
- function V(n) {
99
- const e = n.length;
100
- for (let t = 0; t < e; t++) {
101
- let i = t, r = Math.abs(n[t][t]);
102
- for (let o = t + 1; o < e; o++) {
103
- const l = Math.abs(n[o][t]);
104
- l > r && (r = l, i = o);
105
- }
106
- if (r === 0)
107
- return null;
108
- const a = n[i];
109
- n[i] = n[t], n[t] = a;
110
- for (let o = t + 1; o < e; o++) {
111
- const l = -n[o][t] / n[t][t];
112
- for (let u = t; u < e + 1; u++)
113
- t == u ? n[o][u] = 0 : n[o][u] += l * n[t][u];
114
- }
115
- }
116
- const s = new Array(e);
117
- for (let t = e - 1; t >= 0; t--) {
118
- s[t] = n[t][e] / n[t][t];
119
- for (let i = t - 1; i >= 0; i--)
120
- n[i][e] -= n[i][t] * s[t];
121
- }
122
- return s;
123
- }
124
- function B(n) {
125
- return n * Math.PI / 180;
126
- }
127
- function G(n, e) {
128
- const s = n % e;
129
- return s * e < 0 ? s + e : s;
130
- }
131
- function k(n, e, s) {
132
- return n + s * (e - n);
133
- }
134
- function y(n, e) {
135
- const s = Math.pow(10, e);
136
- return Math.round(n * s) / s;
137
- }
138
- function j(n, e) {
139
- return Math.floor(y(n, e));
140
- }
141
- function q(n, e) {
142
- return Math.ceil(y(n, e));
143
- }
144
- class E {
1
+ class m {
145
2
  /**
146
3
  * @param {string} type Type.
147
4
  */
@@ -164,7 +21,7 @@ class E {
164
21
  this.propagationStopped = !0;
165
22
  }
166
23
  }
167
- const I = {
24
+ const A = {
168
25
  /**
169
26
  * Triggered when a property is changed.
170
27
  * @event module:ol/Object.ObjectEvent#propertychange
@@ -172,7 +29,7 @@ const I = {
172
29
  */
173
30
  PROPERTYCHANGE: "propertychange"
174
31
  };
175
- class S {
32
+ class w {
176
33
  constructor() {
177
34
  this.disposed = !1;
178
35
  }
@@ -189,18 +46,18 @@ class S {
189
46
  disposeInternal() {
190
47
  }
191
48
  }
192
- function K(n, e, s) {
49
+ function N(n, e, s) {
193
50
  let t, i;
194
- s = s || _;
51
+ s = s || y;
195
52
  let r = 0, a = n.length, o = !1;
196
53
  for (; r < a; )
197
54
  t = r + (a - r >> 1), i = +s(n[t], e), i < 0 ? r = t + 1 : (a = t, o = !i);
198
55
  return o ? r : ~r;
199
56
  }
200
- function _(n, e) {
57
+ function y(n, e) {
201
58
  return n > e ? 1 : n < e ? -1 : 0;
202
59
  }
203
- function W(n, e, s) {
60
+ function U(n, e, s) {
204
61
  if (n[0] <= e)
205
62
  return 0;
206
63
  const t = n.length;
@@ -236,18 +93,18 @@ function W(n, e, s) {
236
93
  }
237
94
  return t - 1;
238
95
  }
239
- function z(n, e, s) {
96
+ function D(n, e, s) {
240
97
  for (; e < s; ) {
241
98
  const t = n[e];
242
99
  n[e] = n[s], n[s] = t, ++e, --s;
243
100
  }
244
101
  }
245
- function H(n, e) {
102
+ function B(n, e) {
246
103
  const s = Array.isArray(e) ? e : [e], t = s.length;
247
104
  for (let i = 0; i < t; i++)
248
105
  n[n.length] = s[i];
249
106
  }
250
- function T(n, e) {
107
+ function R(n, e) {
251
108
  const s = n.length;
252
109
  if (s !== e.length)
253
110
  return !1;
@@ -256,8 +113,8 @@ function T(n, e) {
256
113
  return !1;
257
114
  return !0;
258
115
  }
259
- function Y(n, e, s) {
260
- const t = e || _;
116
+ function G(n, e, s) {
117
+ const t = e || y;
261
118
  return n.every(function(i, r) {
262
119
  if (r === 0)
263
120
  return !0;
@@ -265,22 +122,32 @@ function Y(n, e, s) {
265
122
  return !(a > 0 || a === 0);
266
123
  });
267
124
  }
268
- function J() {
125
+ function V() {
269
126
  return !0;
270
127
  }
271
- function X() {
128
+ function k() {
272
129
  return !1;
273
130
  }
274
131
  function f() {
275
132
  }
276
- function $(n) {
133
+ function j(n) {
277
134
  let e = !1, s, t, i;
278
135
  return function() {
279
136
  const r = Array.prototype.slice.call(arguments);
280
- return (!e || this !== i || !T(r, t)) && (e = !0, i = this, t = r, s = n.apply(this, arguments)), s;
137
+ return (!e || this !== i || !R(r, t)) && (e = !0, i = this, t = r, s = n.apply(this, arguments)), s;
281
138
  };
282
139
  }
283
- class O extends S {
140
+ function E(n) {
141
+ for (const e in n)
142
+ delete n[e];
143
+ }
144
+ function L(n) {
145
+ let e;
146
+ for (e in n)
147
+ return !1;
148
+ return !e;
149
+ }
150
+ class S extends w {
284
151
  /**
285
152
  * @param {*} [target] Default event target for dispatched events.
286
153
  */
@@ -311,7 +178,7 @@ class O extends S {
311
178
  const s = typeof e == "string", t = s ? e : e.type, i = this.listeners_ && this.listeners_[t];
312
179
  if (!i)
313
180
  return;
314
- const r = s ? new E(e) : (
181
+ const r = s ? new m(e) : (
315
182
  /** @type {Event} */
316
183
  e
317
184
  );
@@ -338,7 +205,7 @@ class O extends S {
338
205
  * Clean up.
339
206
  */
340
207
  disposeInternal() {
341
- this.listeners_ && m(this.listeners_);
208
+ this.listeners_ && E(this.listeners_);
342
209
  }
343
210
  /**
344
211
  * Get the listeners for a specified event type. Listeners are returned in the
@@ -370,7 +237,7 @@ class O extends S {
370
237
  }
371
238
  }
372
239
  }
373
- const C = {
240
+ const I = {
374
241
  /**
375
242
  * Generic change event. Triggered when the revision counter is increased.
376
243
  * @event module:ol/events/Event~BaseEvent#change
@@ -417,9 +284,9 @@ function p(n, e, s, t) {
417
284
  return h(n, e, s, t, !0);
418
285
  }
419
286
  function v(n) {
420
- n && n.target && (n.target.removeEventListener(n.type, n.listener), m(n));
287
+ n && n.target && (n.target.removeEventListener(n.type, n.listener), E(n));
421
288
  }
422
- class d extends O {
289
+ class d extends S {
423
290
  constructor() {
424
291
  super(), this.on = /** @type {ObservableOnSignature<import("./events").EventsKey>} */
425
292
  this.onInternal, this.once = /** @type {ObservableOnSignature<import("./events").EventsKey>} */
@@ -431,7 +298,7 @@ class d extends O {
431
298
  * @api
432
299
  */
433
300
  changed() {
434
- ++this.revision_, this.dispatchEvent(C.CHANGE);
301
+ ++this.revision_, this.dispatchEvent(I.CHANGE);
435
302
  }
436
303
  /**
437
304
  * Get the version number for this object. Each time the object is modified,
@@ -496,7 +363,7 @@ class d extends O {
496
363
  s.ol_key
497
364
  );
498
365
  if (t)
499
- x(t);
366
+ T(t);
500
367
  else if (Array.isArray(e))
501
368
  for (let i = 0, r = e.length; i < r; ++i)
502
369
  this.removeEventListener(e[i], s);
@@ -507,7 +374,7 @@ class d extends O {
507
374
  d.prototype.on;
508
375
  d.prototype.once;
509
376
  d.prototype.un;
510
- function x(n) {
377
+ function T(n) {
511
378
  if (Array.isArray(n))
512
379
  for (let e = 0, s = n.length; e < s; ++e)
513
380
  v(n[e]);
@@ -517,14 +384,14 @@ function x(n) {
517
384
  n
518
385
  );
519
386
  }
520
- function Q() {
387
+ function q() {
521
388
  throw new Error("Unimplemented abstract method.");
522
389
  }
523
- let P = 0;
524
- function F(n) {
525
- return n.ol_uid || (n.ol_uid = String(++P));
390
+ let O = 0;
391
+ function C(n) {
392
+ return n.ol_uid || (n.ol_uid = String(++O));
526
393
  }
527
- class g extends E {
394
+ class g extends m {
528
395
  /**
529
396
  * @param {string} type The event type.
530
397
  * @param {string} key The property name.
@@ -534,12 +401,12 @@ class g extends E {
534
401
  super(e), this.key = s, this.oldValue = t;
535
402
  }
536
403
  }
537
- class Z extends d {
404
+ class K extends d {
538
405
  /**
539
406
  * @param {Object<string, *>} [values] An object with key-value pairs.
540
407
  */
541
408
  constructor(e) {
542
- super(), this.on, this.once, this.un, F(this), this.values_ = null, e !== void 0 && this.setProperties(e);
409
+ super(), this.on, this.once, this.un, C(this), this.values_ = null, e !== void 0 && this.setProperties(e);
543
410
  }
544
411
  /**
545
412
  * Gets a value.
@@ -579,7 +446,7 @@ class Z extends d {
579
446
  */
580
447
  notify(e, s) {
581
448
  let t;
582
- t = `change:${e}`, this.hasListener(t) && this.dispatchEvent(new g(t, e, s)), t = I.PROPERTYCHANGE, this.hasListener(t) && this.dispatchEvent(new g(t, e, s));
449
+ t = `change:${e}`, this.hasListener(t) && this.dispatchEvent(new g(t, e, s)), t = A.PROPERTYCHANGE, this.hasListener(t) && this.dispatchEvent(new g(t, e, s));
583
450
  }
584
451
  /**
585
452
  * @param {string} key Key name.
@@ -639,13 +506,11 @@ class Z extends d {
639
506
  unset(e, s) {
640
507
  if (this.values_ && e in this.values_) {
641
508
  const t = this.values_[e];
642
- delete this.values_[e], A(this.values_) && (this.values_ = null), s || this.notify(e, t);
509
+ delete this.values_[e], L(this.values_) && (this.values_ = null), s || this.notify(e, t);
643
510
  }
644
511
  }
645
512
  }
646
- const c = typeof navigator < "u" && typeof navigator.userAgent < "u" ? navigator.userAgent.toLowerCase() : "", ee = c.includes("firefox"), M = c.includes("safari") && !c.includes("chrom");
647
- M && (c.includes("version/15.4") || /cpu (os|iphone os) 15_4 like mac os x/.test(c));
648
- const te = c.includes("webkit") && !c.includes("edge"), ne = c.includes("macintosh"), se = typeof devicePixelRatio < "u" ? devicePixelRatio : 1, ie = typeof WorkerGlobalScope < "u" && typeof OffscreenCanvas < "u" && self instanceof WorkerGlobalScope, re = typeof Image < "u" && Image.prototype.decode, oe = function() {
513
+ const c = typeof navigator < "u" && typeof navigator.userAgent < "u" ? navigator.userAgent.toLowerCase() : "", W = c.includes("firefox"), x = c.includes("safari") && !c.includes("chrom"), z = x && (c.includes("version/15.4") || /cpu (os|iphone os) 15_4 like mac os x/.test(c)), H = c.includes("webkit") && !c.includes("edge"), Y = c.includes("macintosh"), J = typeof devicePixelRatio < "u" ? devicePixelRatio : 1, X = typeof WorkerGlobalScope < "u" && typeof OffscreenCanvas < "u" && self instanceof WorkerGlobalScope, $ = typeof Image < "u" && Image.prototype.decode, Q = function() {
649
514
  let n = !1;
650
515
  try {
651
516
  const e = Object.defineProperty({}, "passive", {
@@ -657,50 +522,183 @@ const te = c.includes("webkit") && !c.includes("edge"), ne = c.includes("macinto
657
522
  } catch {
658
523
  }
659
524
  return n;
660
- }();
525
+ }(), P = {
526
+ 1: "The view center is not defined",
527
+ 2: "The view resolution is not defined",
528
+ 3: "The view rotation is not defined",
529
+ 4: "`image` and `src` cannot be provided at the same time",
530
+ 5: "`imgSize` must be set when `image` is provided",
531
+ 7: "`format` must be set when `url` is set",
532
+ 8: "Unknown `serverType` configured",
533
+ 9: "`url` must be configured or set using `#setUrl()`",
534
+ 10: "The default `geometryFunction` can only handle `Point` geometries",
535
+ 11: "`options.featureTypes` must be an Array",
536
+ 12: "`options.geometryName` must also be provided when `options.bbox` is set",
537
+ 13: "Invalid corner",
538
+ 14: "Invalid color",
539
+ 15: "Tried to get a value for a key that does not exist in the cache",
540
+ 16: "Tried to set a value for a key that is used already",
541
+ 17: "`resolutions` must be sorted in descending order",
542
+ 18: "Either `origin` or `origins` must be configured, never both",
543
+ 19: "Number of `tileSizes` and `resolutions` must be equal",
544
+ 20: "Number of `origins` and `resolutions` must be equal",
545
+ 22: "Either `tileSize` or `tileSizes` must be configured, never both",
546
+ 24: "Invalid extent or geometry provided as `geometry`",
547
+ 25: "Cannot fit empty extent provided as `geometry`",
548
+ 26: "Features must have an id set",
549
+ 27: "Features must have an id set",
550
+ 28: '`renderMode` must be `"hybrid"` or `"vector"`',
551
+ 30: "The passed `feature` was already added to the source",
552
+ 31: "Tried to enqueue an `element` that was already added to the queue",
553
+ 32: "Transformation matrix cannot be inverted",
554
+ 33: "Invalid units",
555
+ 34: "Invalid geometry layout",
556
+ 36: "Unknown SRS type",
557
+ 37: "Unknown geometry type found",
558
+ 38: "`styleMapValue` has an unknown type",
559
+ 39: "Unknown geometry type",
560
+ 40: "Expected `feature` to have a geometry",
561
+ 41: "Expected an `ol/style/Style` or an array of `ol/style/Style.js`",
562
+ 42: "Question unknown, the answer is 42",
563
+ 43: "Expected `layers` to be an array or a `Collection`",
564
+ 47: "Expected `controls` to be an array or an `ol/Collection`",
565
+ 48: "Expected `interactions` to be an array or an `ol/Collection`",
566
+ 49: "Expected `overlays` to be an array or an `ol/Collection`",
567
+ 50: "`options.featureTypes` should be an Array",
568
+ 51: "Either `url` or `tileJSON` options must be provided",
569
+ 52: "Unknown `serverType` configured",
570
+ 53: "Unknown `tierSizeCalculation` configured",
571
+ 55: "The {-y} placeholder requires a tile grid with extent",
572
+ 56: "mapBrowserEvent must originate from a pointer event",
573
+ 57: "At least 2 conditions are required",
574
+ 59: "Invalid command found in the PBF",
575
+ 60: "Missing or invalid `size`",
576
+ 61: "Cannot determine IIIF Image API version from provided image information JSON",
577
+ 62: "A `WebGLArrayBuffer` must either be of type `ELEMENT_ARRAY_BUFFER` or `ARRAY_BUFFER`",
578
+ 64: "Layer opacity must be a number",
579
+ 66: "`forEachFeatureAtCoordinate` cannot be used on a WebGL layer if the hit detection logic has not been enabled. This is done by providing adequate shaders using the `hitVertexShader` and `hitFragmentShader` properties of `WebGLPointsLayerRenderer`",
580
+ 67: "A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both",
581
+ 68: "A VectorTile source can only be rendered if it has a projection compatible with the view projection",
582
+ 69: "`width` or `height` cannot be provided together with `scale`"
583
+ };
584
+ class F extends Error {
585
+ /**
586
+ * @param {number} code Error code.
587
+ */
588
+ constructor(e) {
589
+ const s = P[e];
590
+ super(s), this.code = e, this.name = "AssertionError", this.message = s;
591
+ }
592
+ }
593
+ function Z(n, e) {
594
+ if (!n)
595
+ throw new F(e);
596
+ }
597
+ function ee(n, e, s) {
598
+ return Math.min(Math.max(n, e), s);
599
+ }
600
+ function te(n, e, s, t, i, r) {
601
+ const a = i - s, o = r - t;
602
+ if (a !== 0 || o !== 0) {
603
+ const l = ((n - s) * a + (e - t) * o) / (a * a + o * o);
604
+ l > 1 ? (s = i, t = r) : l > 0 && (s += a * l, t += o * l);
605
+ }
606
+ return M(n, e, s, t);
607
+ }
608
+ function M(n, e, s, t) {
609
+ const i = s - n, r = t - e;
610
+ return i * i + r * r;
611
+ }
612
+ function ne(n) {
613
+ const e = n.length;
614
+ for (let t = 0; t < e; t++) {
615
+ let i = t, r = Math.abs(n[t][t]);
616
+ for (let o = t + 1; o < e; o++) {
617
+ const l = Math.abs(n[o][t]);
618
+ l > r && (r = l, i = o);
619
+ }
620
+ if (r === 0)
621
+ return null;
622
+ const a = n[i];
623
+ n[i] = n[t], n[t] = a;
624
+ for (let o = t + 1; o < e; o++) {
625
+ const l = -n[o][t] / n[t][t];
626
+ for (let u = t; u < e + 1; u++)
627
+ t == u ? n[o][u] = 0 : n[o][u] += l * n[t][u];
628
+ }
629
+ }
630
+ const s = new Array(e);
631
+ for (let t = e - 1; t >= 0; t--) {
632
+ s[t] = n[t][e] / n[t][t];
633
+ for (let i = t - 1; i >= 0; i--)
634
+ n[i][e] -= n[i][t] * s[t];
635
+ }
636
+ return s;
637
+ }
638
+ function se(n) {
639
+ return n * Math.PI / 180;
640
+ }
641
+ function ie(n, e) {
642
+ const s = n % e;
643
+ return s * e < 0 ? s + e : s;
644
+ }
645
+ function re(n, e, s) {
646
+ return n + s * (e - n);
647
+ }
648
+ function _(n, e) {
649
+ const s = Math.pow(10, e);
650
+ return Math.round(n * s) / s;
651
+ }
652
+ function oe(n, e) {
653
+ return Math.floor(_(n, e));
654
+ }
655
+ function ae(n, e) {
656
+ return Math.ceil(_(n, e));
657
+ }
661
658
  export {
662
- R as A,
663
- Z as B,
664
- se as C,
665
- S as D,
666
- C as E,
667
- X as F,
668
- d as G,
669
- V as H,
670
- re as I,
671
- K as J,
672
- A as K,
673
- z as L,
674
- ne as M,
675
- I as O,
676
- oe as P,
677
- O as T,
659
+ F as A,
660
+ K as B,
661
+ j as C,
662
+ w as D,
663
+ I as E,
664
+ k as F,
665
+ te as G,
666
+ H,
667
+ $ as I,
668
+ W as J,
669
+ J as K,
670
+ ne as L,
671
+ Y as M,
672
+ d as O,
673
+ Q as P,
674
+ z as S,
675
+ V as T,
678
676
  f as V,
679
- ie as W,
680
- N as a,
681
- m as b,
682
- U as c,
683
- Q as d,
684
- J as e,
685
- H as f,
686
- F as g,
687
- E as h,
688
- T as i,
689
- h as j,
690
- Y as k,
691
- p as l,
692
- W as m,
693
- q as n,
694
- j as o,
677
+ X as W,
678
+ Z as a,
679
+ q as b,
680
+ N as c,
681
+ re as d,
682
+ B as e,
683
+ m as f,
684
+ C as g,
685
+ A as h,
686
+ L as i,
687
+ E as j,
688
+ R as k,
689
+ h as l,
690
+ ee as m,
691
+ p as n,
692
+ S as o,
695
693
  G as p,
696
- B as q,
697
- $ as r,
698
- L as s,
699
- y as t,
694
+ U as q,
695
+ ae as r,
696
+ M as s,
697
+ _ as t,
700
698
  v as u,
701
- k as v,
702
- D as w,
703
- _ as x,
704
- te as y,
705
- ee as z
699
+ oe as v,
700
+ ie as w,
701
+ D as x,
702
+ y,
703
+ se as z
706
704
  };