add immoweb ui

This commit is contained in:
Viktor Barzin 2025-05-26 19:41:36 +00:00
parent 7e8c79d3d1
commit 151da16c27
No known key found for this signature in database
GPG key ID: 4056458DBDBF8863
266 changed files with 264879 additions and 0 deletions

20
immoweb/node_modules/@turf/bbox/LICENSE generated vendored Normal file
View file

@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2017 TurfJS
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

55
immoweb/node_modules/@turf/bbox/README.md generated vendored Normal file
View file

@ -0,0 +1,55 @@
# @turf/bbox
# bbox
Takes a set of features, calculates the bbox of all input features, and returns a bounding box.
**Parameters**
- `geojson` **([Feature](http://geojson.org/geojson-spec.html#feature-objects) \| [FeatureCollection](http://geojson.org/geojson-spec.html#feature-collection-objects))** input features
**Examples**
```javascript
var pt1 = turf.point([114.175329, 22.2524])
var pt2 = turf.point([114.170007, 22.267969])
var pt3 = turf.point([114.200649, 22.274641])
var pt4 = turf.point([114.200649, 22.274641])
var pt5 = turf.point([114.186744, 22.265745])
var features = turf.featureCollection([pt1, pt2, pt3, pt4, pt5])
var bbox = turf.bbox(features);
var bboxPolygon = turf.bboxPolygon(bbox);
//=bbox
//=bboxPolygon
```
Returns **[Array](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array)<[number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number)>** bbox extent in [minX, minY, maxX, maxY] order
<!-- This file is automatically generated. Please don't edit it directly:
if you find an error, edit the source file (likely index.js), and re-run
./scripts/generate-readmes in the turf project. -->
---
This module is part of the [Turfjs project](http://turfjs.org/), an open source
module collection dedicated to geographic algorithms. It is maintained in the
[Turfjs/turf](https://github.com/Turfjs/turf) repository, where you can create
PRs and issues.
### Installation
Install this module individually:
```sh
$ npm install @turf/bbox
```
Or install the Turf module that includes it as a function:
```sh
$ npm install @turf/turf
```

12
immoweb/node_modules/@turf/bbox/index.d.ts generated vendored Normal file
View file

@ -0,0 +1,12 @@
/// <reference types="geojson" />
type Feature = GeoJSON.Feature<any>;
type Features = GeoJSON.FeatureCollection<any>;
type BBox = [number, number, number, number];
/**
* http://turfjs.org/docs/#bbox
*/
declare function bbox(features: Feature | Features): BBox;
declare namespace bbox { }
export = bbox;

35
immoweb/node_modules/@turf/bbox/index.js generated vendored Normal file
View file

@ -0,0 +1,35 @@
var each = require('@turf/meta').coordEach;
/**
* Takes a set of features, calculates the bbox of all input features, and returns a bounding box.
*
* @name bbox
* @param {(Feature|FeatureCollection)} geojson input features
* @returns {Array<number>} bbox extent in [minX, minY, maxX, maxY] order
* @addToMap features, bboxPolygon
* @example
* var pt1 = turf.point([114.175329, 22.2524])
* var pt2 = turf.point([114.170007, 22.267969])
* var pt3 = turf.point([114.200649, 22.274641])
* var pt4 = turf.point([114.200649, 22.274641])
* var pt5 = turf.point([114.186744, 22.265745])
* var features = turf.featureCollection([pt1, pt2, pt3, pt4, pt5])
*
* var bbox = turf.bbox(features);
*
* var bboxPolygon = turf.bboxPolygon(bbox);
*
* //=bbox
*
* //=bboxPolygon
*/
module.exports = function (geojson) {
var bbox = [Infinity, Infinity, -Infinity, -Infinity];
each(geojson, function (coord) {
if (bbox[0] > coord[0]) bbox[0] = coord[0];
if (bbox[1] > coord[1]) bbox[1] = coord[1];
if (bbox[2] < coord[0]) bbox[2] = coord[0];
if (bbox[3] < coord[1]) bbox[3] = coord[1];
});
return bbox;
};

68
immoweb/node_modules/@turf/bbox/package.json generated vendored Normal file
View file

@ -0,0 +1,68 @@
{
"_from": "@turf/bbox@^3.14.0",
"_id": "@turf/bbox@3.14.0",
"_inBundle": false,
"_integrity": "sha1-zuXzlt3nisqc7eBeESLbGLxQRjU=",
"_location": "/@turf/bbox",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "@turf/bbox@^3.14.0",
"name": "@turf/bbox",
"escapedName": "@turf%2fbbox",
"scope": "@turf",
"rawSpec": "^3.14.0",
"saveSpec": null,
"fetchSpec": "^3.14.0"
},
"_requiredBy": [
"/@turf/center"
],
"_resolved": "https://registry.npmjs.org/@turf/bbox/-/bbox-3.14.0.tgz",
"_shasum": "cee5f396dde78aca9cede05e1122db18bc504635",
"_spec": "@turf/bbox@^3.14.0",
"_where": "/home/kadir/workspace/webimmo/node_modules/@turf/center",
"author": {
"name": "Turf Authors"
},
"bugs": {
"url": "https://github.com/Turfjs/turf/issues"
},
"bundleDependencies": false,
"dependencies": {
"@turf/meta": "^3.14.0"
},
"deprecated": false,
"description": "turf bbox module",
"devDependencies": {
"benchmark": "^1.0.0",
"tape": "^3.5.0"
},
"files": [
"index.js",
"index.d.ts"
],
"homepage": "https://github.com/Turfjs/turf",
"keywords": [
"turf",
"extent",
"bbox",
"polygon",
"featurecollection",
"geojson"
],
"license": "MIT",
"main": "index.js",
"name": "@turf/bbox",
"repository": {
"type": "git",
"url": "git://github.com/Turfjs/turf.git"
},
"scripts": {
"bench": "node bench.js",
"test": "node test.js"
},
"types": "index.d.ts",
"version": "3.14.0"
}