From b3b622e58b1250f727a4e82acf7012ac9e6cc2a5 Mon Sep 17 00:00:00 2001 From: thinkinggis Date: Wed, 7 Aug 2019 15:34:21 +0800 Subject: [PATCH] fix(package):index --- package.json | 6 +- report.20190807.114431.20294.0.001.json | 715 ++++++++++++++++++++++++ src/component/control/legend/color.js | 0 src/component/control/legend/shape.js | 0 src/component/control/legend/size.js | 0 5 files changed, 718 insertions(+), 3 deletions(-) create mode 100644 report.20190807.114431.20294.0.001.json create mode 100644 src/component/control/legend/color.js create mode 100644 src/component/control/legend/shape.js create mode 100644 src/component/control/legend/size.js diff --git a/package.json b/package.json index 0371a240ee..9e44f3c607 100755 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { "name": "@antv/l7", - "version": "1.2.2", + "version": "1.2.3", "description": "Large-scale WebGL-powered Geospatial Data Visualization", - "main": "build/l7.js", - "browser": "build/l7.js", + "main": "build/L7.js", + "browser": "build/L7-min.js", "module": "lib/index.js", "homepage": "https://github.com/antvis/l7", "repository": { diff --git a/report.20190807.114431.20294.0.001.json b/report.20190807.114431.20294.0.001.json new file mode 100644 index 0000000000..02716bfb68 --- /dev/null +++ b/report.20190807.114431.20294.0.001.json @@ -0,0 +1,715 @@ + +{ + "header": { + "event": "Allocation failed - JavaScript heap out of memory", + "trigger": "FatalError", + "filename": "report.20190807.114431.20294.0.001.json", + "dumpEventTime": "2019-08-07T11:44:31Z", + "dumpEventTimeStamp": "1565149471416", + "processId": 20294, + "cwd": "/Users/lizhengxue/Documents/AntV/L7-beta", + "commandLine": [ + "node", + "/Users/lizhengxue/.nvm/versions/node/v10.16.0/bin/rollup", + "-c", + "--environment", + "BUILD:dev" + ], + "nodejsVersion": "v12.4.0", + "wordSize": 64, + "arch": "x64", + "platform": "darwin", + "componentVersions": { + "node": "12.4.0", + "v8": "7.4.288.27-node.18", + "uv": "1.29.1", + "zlib": "1.2.11", + "brotli": "1.0.7", + "ares": "1.15.0", + "modules": "72", + "nghttp2": "1.38.0", + "napi": "4", + "llhttp": "1.1.3", + "http_parser": "2.8.0", + "openssl": "1.1.1b", + "cldr": "35.1", + "icu": "64.2", + "tz": "2019a", + "unicode": "12.1" + }, + "release": { + "name": "node", + "headersUrl": "https://nodejs.org/download/release/v12.4.0/node-v12.4.0-headers.tar.gz", + "sourceUrl": "https://nodejs.org/download/release/v12.4.0/node-v12.4.0.tar.gz" + }, + "osName": "Darwin", + "osRelease": "18.5.0", + "osVersion": "Darwin Kernel Version 18.5.0: Mon Mar 11 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64", + "osMachine": "x86_64", + "host": "xiangshu.local" + }, + "javascriptStack": { + "message": "No stack.", + "stack": [ + "Unavailable." + ] + }, + "nativeStack": [ + { + "pc": "0x0000000100143fca", + "symbol": "report::TriggerNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, std::__1::basic_string, std::__1::allocator > const&, v8::Local) [/usr/local/bin/node]" + }, + { + "pc": "0x0000000100078af5", + "symbol": "node::OnFatalError(char const*, char const*) [/usr/local/bin/node]" + }, + { + "pc": "0x000000010016a275", + "symbol": "v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]" + }, + { + "pc": "0x000000010016a217", + "symbol": "v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]" + }, + { + "pc": "0x0000000100430765", + "symbol": "v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]" + }, + { + "pc": "0x00000001004315f6", + "symbol": "v8::internal::Heap::HasLowYoungGenerationAllocationRate() [/usr/local/bin/node]" + }, + { + "pc": "0x000000010042fa2d", + "symbol": "v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/node]" + }, + { + "pc": "0x000000010042e395", + "symbol": "v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]" + }, + { + "pc": "0x00000001004353f8", + "symbol": "v8::internal::Heap::AllocateRawWithLightRetry(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/usr/local/bin/node]" + }, + { + "pc": "0x0000000100435444", + "symbol": "v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [/usr/local/bin/node]" + }, + { + "pc": "0x0000000100415968", + "symbol": "v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/usr/local/bin/node]" + }, + { + "pc": "0x00000001005ffe7d", + "symbol": "v8::internal::Runtime_AllocateInNewSpace(int, unsigned long*, v8::internal::Isolate*) [/usr/local/bin/node]" + }, + { + "pc": "0x0000000100a99f42", + "symbol": "Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/usr/local/bin/node]" + }, + { + "pc": "0x00003ead520874d5", + "symbol": "" + } + ], + "javascriptHeap": { + "totalMemory": 2169819136, + "totalCommittedMemory": 2166727904, + "usedMemory": 2047680248, + "availableMemory": 62887056, + "memoryLimit": 2197815296, + "heapSpaces": { + "read_only_space": { + "memorySize": 524288, + "committedMemory": 32024, + "capacity": 523976, + "used": 31712, + "available": 492264 + }, + "new_space": { + "memorySize": 33554432, + "committedMemory": 32506320, + "capacity": 16767232, + "used": 757424, + "available": 16009808 + }, + "old_space": { + "memorySize": 1652154368, + "committedMemory": 1650868840, + "capacity": 1566629824, + "used": 1565008232, + "available": 1621592 + }, + "code_space": { + "memorySize": 688128, + "committedMemory": 579104, + "capacity": 552608, + "used": 552608, + "available": 0 + }, + "map_space": { + "memorySize": 2625536, + "committedMemory": 2469232, + "capacity": 1133040, + "used": 1133040, + "available": 0 + }, + "large_object_space": { + "memorySize": 480223232, + "committedMemory": 480223232, + "capacity": 480193776, + "used": 480193776, + "available": 0 + }, + "code_large_object_space": { + "memorySize": 49152, + "committedMemory": 49152, + "capacity": 3456, + "used": 3456, + "available": 0 + }, + "new_large_object_space": { + "memorySize": 0, + "committedMemory": 0, + "capacity": 16767232, + "used": 0, + "available": 16767232 + } + } + }, + "resourceUsage": { + "userCpuSeconds": 846.706, + "kernelCpuSeconds": 405.209, + "cpuConsumptionPercent": 105.915, + "maxRss": 2374814924800, + "pageFaults": { + "IORequired": 25, + "IONotRequired": 1159403 + }, + "fsActivity": { + "reads": 0, + "writes": 0 + } + }, + "libuv": [ + ], + "environmentVariables": { + "npm_config_save_dev": "", + "npm_config_legacy_bundling": "", + "npm_config_dry_run": "", + "npm_package_scripts_win_dev": "node ./bin/win-dev.js", + "MAPBOX_ACCESS_TOKEN": "pk.eyJ1IjoibHp4dWUiLCJhIjoiYnhfTURyRSJ9.Ugm314vAKPHBzcPmY1p4KQ", + "npm_config_viewer": "man", + "npm_config_only": "", + "npm_config_commit_hooks": "true", + "npm_config_browser": "", + "npm_package_gitHead": "55a6382d2dd467d84f41dd903f1ef73ac6e246ab", + "npm_config_also": "", + "npm_package_scripts_ci": "npm run lint && npm run test", + "npm_package_devDependencies_rollup_plugin_terser": "^4.0.4", + "npm_config_sign_git_commit": "", + "npm_config_rollback": "true", + "npm_package_dependencies_simple_statistics": "^7.0.1", + "TERM_PROGRAM": "vscode", + "NODE": "/usr/local/Cellar/node/12.4.0/bin/node", + "npm_config_usage": "", + "npm_config_audit": "true", + "npm_package_devDependencies_uglify_js": "~3.1.10", + "npm_package_devDependencies_babel_plugin_transform_remove_strict_mode": "~0.0.2", + "INIT_CWD": "/Users/lizhengxue/Documents/AntV/L7-beta", + "npm_package_scripts_demos_web": "node ./demos/app.js --web --port 2046", + "npm_package_scripts_coverage_viewer": "torch-coverage", + "npm_package_devDependencies_rollup_plugin_json": "^4.0.0", + "npm_package_devDependencies_rollup_plugin_commonjs": "^9.2.1", + "npm_package_homepage": "https://github.com/antvis/l7", + "NVM_CD_FLAGS": "", + "npm_config_globalignorefile": "/Users/lizhengxue/.nvm/versions/node/v10.16.0/etc/npmignore", + "npm_package_scripts_coverage_generator": "torch --compile --coverage --renderer --recursive test/unit", + "npm_package_devDependencies_rollup_plugin_node_builtins": "^2.1.2", + "SHELL": "/bin/bash", + "TERM": "xterm-256color", + "npm_config_shell": "/bin/bash", + "npm_config_maxsockets": "50", + "npm_config_init_author_url": "", + "npm_package_devDependencies_nightmare": "~2.10.0", + "npm_config_shrinkwrap": "true", + "npm_config_parseable": "", + "npm_config_metrics_registry": "https://registry.npmjs.org/", + "npm_package_dependencies_fecha": "^2.3.3", + "npm_package_pre_commit_silent": "false", + "TMPDIR": "/var/folders/4z/_818tcms2pb497s4z6ndnzcm0000gn/T/", + "npm_config_timing": "", + "npm_config_init_license": "ISC", + "npm_config_email": "", + "npm_package_scripts_lint": "eslint --ext .html,.js ./", + "Apple_PubSub_Socket_Render": "/private/tmp/com.apple.launchd.kAsSUt5x5N/Render", + "npm_config_if_present": "", + "npm_package_devDependencies_serve_static": "^1.13.2", + "TERM_PROGRAM_VERSION": "1.36.1", + "npm_package_dependencies_pbf": "^3.2.0", + "npm_package_scripts_dev": "npm run watch & npm run demos-web", + "npm_package_scripts_watch_dev": "rollup -c --environment BUILD:dev --watch & npm run demos-web ", + "npm_config_sign_git_tag": "", + "npm_config_init_author_email": "", + "npm_config_cache_max": "Infinity", + "npm_package_dependencies_supercluster": "^6.0.1", + "npm_package_scripts_prepublishOnly": "npm run build-lib && npm run dist", + "npm_config_preid": "", + "npm_config_long": "", + "npm_config_local_address": "", + "npm_config_git_tag_version": "true", + "npm_config_cert": "", + "npm_package_scripts_test_bugs_live": "torch --compile --interactive --watch --recursive test/bugs", + "npm_package_devDependencies_nunjucks": "~3.0.1", + "npm_config_noproxy": "", + "npm_config_fetch_retries": "2", + "npm_config_home": "https://www.npmjs.org", + "npm_config___registry_npm_taobao_org__email": "120635640@qq.com", + "npm_config_registry": "https://registry.npmjs.org/", + "npm_package_scripts_compress": "npm run compress-l7", + "npm_package_devDependencies_body_parser": "^1.18.2", + "npm_package_dependencies__turf_meta": "^6.0.2", + "npm_package_devDependencies_torchjs": "~2.1.0", + "npm_package_devDependencies_shelljs": "~0.7.8", + "npm_package_repository_url": "git+ssh://git@github.com/antvis/l7.git", + "npm_config_versions": "", + "npm_config_message": "%s", + "npm_config_key": "", + "npm_package_readmeFilename": "README.md", + "npm_package_dependencies_gl_matrix": "^2.4.1", + "npm_package_dependencies__mapbox_vector_tile": "^1.3.1", + "npm_package_scripts_bundler": "electron ./bundler/app.js", + "npm_package_dependencies__antv_g": "^3.1.3", + "npm_package_devDependencies_webpack": "~4.29.6", + "npm_package_description": "Large-scale WebGL-powered Geospatial Data Visualization", + "USER": "lizhengxue", + "NVM_DIR": "/Users/lizhengxue/.nvm", + "npm_package_scripts_build_dev": "rollup -c --environment BUILD:dev", + "npm_package_devDependencies_webpack_cli": "^3.2.3", + "npm_package_devDependencies_rollup_plugin_image": "^1.0.2", + "npm_package_devDependencies_eslint_config_egg": "~4.2.0", + "npm_package_license": "MIT", + "npm_package_dependencies_gl_vec2": "^1.3.0", + "npm_config_globalconfig": "/Users/lizhengxue/.nvm/versions/node/v10.16.0/etc/npmrc", + "npm_package_dependencies_geojson_rewind": "^0.3.1", + "npm_config_prefer_online": "", + "npm_config_logs_max": "10", + "npm_config_always_auth": "", + "npm_package_devDependencies__babel_core": "~7.4.3", + "npm_package_dependencies_lodash": "^4.17.5", + "npm_package_dependencies__antv_util": "~2.0.1", + "npm_package_devDependencies_babel_loader": "~8.0.0", + "SSH_AUTH_SOCK": "/private/tmp/com.apple.launchd.32a4qFmJlQ/Listeners", + "npm_package_scripts_test_live": "torch --compile --interactive --watch --recursive test/unit", + "npm_package_devDependencies_eslint": "~3.19.0", + "__CF_USER_TEXT_ENCODING": "0x1F5:0x19:0x34", + "npm_execpath": "/usr/local/lib/node_modules/npm/bin/npm-cli.js", + "npm_config_global_style": "", + "npm_config_cache_lock_retries": "10", + "npm_package_dependencies__turf_invariant": "^6.1.2", + "npm_package_scripts_coverage": "npm run coverage-generator && npm run coverage-viewer", + "npm_config_update_notifier": "true", + "npm_config_cafile": "", + "npm_package_devDependencies_debug": "~3.1.0", + "npm_package_module": "lib/index.js", + "npm_package_scripts_build_lib": "babel src --out-dir lib", + "npm_package_author_name": "https://github.com/orgs/antvis/people", + "npm_config_heading": "npm", + "npm_config_audit_level": "low", + "npm_config_searchlimit": "20", + "npm_config_read_only": "", + "npm_config_offline": "", + "npm_config_fetch_retry_mintimeout": "10000", + "npm_package_scripts_compress_core": "uglifyjs -c -m -o dist/l7-core.min.js -- build/l7-core.js", + "npm_config_json": "", + "npm_config_access": "", + "npm_config_argv": "{\"remain\":[],\"cooked\":[\"run\",\"build-dev\"],\"original\":[\"run\",\"build-dev\"]}", + "npm_package_scripts_lint_fix": "eslint --ext .html,.js --fix ./", + "PATH": "/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Users/lizhengxue/Documents/AntV/L7-beta/node_modules/.bin:/usr/local/opt/icu4c/sbin:/usr/local/opt/icu4c/bin:/Users/lizhengxue/Documents/AntV/datamaps/:/Users/lizhengxue/miniconda2/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/opt/icu4c/sbin:/usr/local/opt/icu4c/bin:/Users/lizhengxue/Documents/AntV/datamaps/:/Users/lizhengxue/miniconda2/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/Users/lizhengxue/.nvm/versions/node/v10.16.0/bin", + "npm_config_allow_same_version": "", + "npm_config___registry_npm_taobao_org__always_auth": "", + "npm_package_dependencies_wolfy87_eventemitter": "~5.2.4", + "npm_package_dependencies_polyline_miter_util": "^1.0.1", + "npm_package_devDependencies_rollup": "^1.16.2", + "npm_config_https_proxy": "", + "npm_config_engine_strict": "", + "npm_config_description": "true", + "_": "/Users/lizhengxue/.nvm/versions/node/v10.16.0/bin/rollup", + "npm_config_userconfig": "/Users/lizhengxue/.npmrc", + "npm_config_init_module": "/Users/lizhengxue/.npm-init.js", + "npm_package_scripts_test_bugs": "torch --compile --renderer --recursive test/bugs", + "npm_config_cidr": "", + "npm_package_devDependencies_eslint_config_airbnb": "~15.0.1", + "PWD": "/Users/lizhengxue/Documents/AntV/L7-beta", + "npm_config_user": "501", + "npm_config_node_version": "12.4.0", + "npm_package_devDependencies_get_port": "~3.2.0", + "npm_package_bugs_url": "https://github.com/antvis/l7/issues", + "npm_lifecycle_event": "build-dev", + "npm_package_dependencies__antv_geo_coord": "^1.0.8", + "npm_package_devDependencies_chai": "~4.1.2", + "npm_config_save": "true", + "npm_config_ignore_prepublish": "", + "npm_config_editor": "vi", + "npm_config_auth_type": "legacy", + "npm_package_devDependencies_parseurl": "~1.3.2", + "npm_package_devDependencies_open": "~0.0.5", + "npm_package_keywords_0": "l7", + "npm_package_repository_type": "git", + "npm_package_name": "@antv/l7", + "LANG": "zh_CN.UTF-8", + "npm_config_tag": "latest", + "npm_config_script_shell": "", + "npm_package_devDependencies_eslint_plugin_html": "~3.1.1", + "npm_package_devDependencies__babel_preset_env": "~7.4.3", + "npm_package_keywords_1": "gis", + "npm_config_progress": "true", + "npm_config_global": "", + "npm_config_before": "", + "npm_package_scripts_start": "npm run watch-dev", + "npm_package_scripts_build": "rollup -c --environment BUILD:production", + "npm_package_devDependencies__babel_cli": "^7.4.3", + "npm_package_keywords_2": "geometry", + "npm_config_searchstaleness": "900", + "npm_config_optional": "true", + "npm_config_ham_it_up": "", + "npm_package_scripts_build_prod_min": "rollup -c --environment BUILD:production,MINIFY:true", + "npm_package_devDependencies_rollup_plugin_css_porter": "^1.0.2", + "XPC_FLAGS": "0x0", + "npm_config_save_prod": "", + "npm_config_force": "", + "npm_config_bin_links": "true", + "npm_package_dependencies_webworkify_webpack": "^2.1.3", + "npm_config_searchopts": "", + "npm_package_dependencies_earcut": "^2.1.3", + "npm_package_devDependencies_pre_commit": "~1.2.2", + "npm_config_node_gyp": "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js", + "npm_config_depth": "Infinity", + "npm_package_pre_commit_run_1": "test", + "npm_package_scripts_mkdir_dist": "node ./bin/mkdir-dist.js", + "npm_package_scripts_dist": "npm run build-dev && npm run build-prod && npm run build-prod-min", + "npm_package_scripts_build_prod": "rollup -c --environment BUILD:production", + "npm_package_main": "build/l7.js", + "npm_config_sso_poll_frequency": "500", + "npm_config_rebuild_bundle": "true", + "npm_package_dependencies_viewport_mercator_project": "^5.2.0", + "npm_package_pre_commit_run_0": "lint", + "npm_package_scripts_watch": "webpack --config webpack-dev.config.js", + "npm_package_version": "1.2.2", + "XPC_SERVICE_NAME": "0", + "npm_config_unicode": "true", + "npm_package_devDependencies_worker_loader": "^2.0.0", + "HOME": "/Users/lizhengxue", + "SHLVL": "3", + "npm_config_fetch_retry_maxtimeout": "60000", + "npm_config___registry_npm_taobao_org__username": "lzxue", + "npm_package_scripts_test": "torch --compile-opts ./.torch.compile.opts.js --compile --renderer --recursive test/unit", + "npm_package_scripts_compress_l7": "uglifyjs -c -m -o dist/l7.min.js -- build/l7.js", + "npm_config_tag_version_prefix": "v", + "npm_config_strict_ssl": "true", + "npm_config_sso_type": "oauth", + "npm_config_scripts_prepend_node_path": "warn-only", + "npm_config_save_prefix": "^", + "npm_config_loglevel": "notice", + "npm_config_ca": "", + "npm_package_dependencies_three": "^0.101.1", + "npm_package_dependencies_rbush": "^2.0.2", + "npm_package_dependencies_d3_hexbin": "^0.2.2", + "npm_package_devDependencies_glsl_shaders_loader": "^1.0.0", + "npm_package_devDependencies_d3_queue": "~3.0.7", + "npm_config_save_exact": "", + "npm_config_group": "20", + "npm_config_fetch_retry_factor": "10", + "npm_config_dev": "", + "npm_package_dependencies_venn_js": "^0.2.20", + "npm_package_devDependencies_babel_eslint": "~8.0.3", + "npm_config_version": "", + "npm_config_prefer_offline": "", + "npm_config_cache_lock_stale": "60000", + "npm_package_dependencies__mapbox_geojson_rewind": "^0.4.0", + "npm_package_devDependencies_event_simulate": "~1.0.0", + "npm_config_otp": "", + "npm_config_cache_min": "10", + "npm_package_devDependencies_commander": "~2.12.2", + "npm_package_devDependencies_babel_preset_env": "~1.6.1", + "npm_config_searchexclude": "", + "npm_config_cache": "/Users/lizhengxue/.npm", + "LOGNAME": "lizhengxue", + "npm_lifecycle_script": "rollup -c --environment BUILD:dev", + "npm_config_color": "true", + "npm_config_proxy": "", + "npm_config_package_lock": "true", + "npm_config_package_lock_only": "", + "npm_package_devDependencies_rollup_plugin_node_resolve": "^4.0.1", + "npm_package_devDependencies_jszip": "^3.1.5", + "npm_package_devDependencies_connect": "^3.6.6", + "npm_config_save_optional": "", + "npm_package_scripts_compress_simple": "uglifyjs -c -m -o dist/l7-simple.min.js -- build/l7-simple.js", + "npm_package_browser": "build/l7.js", + "NVM_BIN": "/Users/lizhengxue/.nvm/versions/node/v10.16.0/bin", + "npm_config_ignore_scripts": "", + "npm_config_user_agent": "npm/6.9.0 node/v12.4.0 darwin x64", + "npm_config_cache_lock_wait": "10000", + "npm_package_dependencies__turf_bbox": "^6.0.1", + "npm_config_production": "", + "npm_package_scripts_screenshot": "node ./bin/screenshot.js", + "npm_config_send_metrics": "", + "npm_config_save_bundle": "", + "npm_config_umask": "0022", + "npm_config_node_options": "", + "npm_config_init_version": "1.0.0", + "npm_package_dependencies_d3_dsv": "^1.0.10", + "npm_package_dependencies__turf_clean_coords": "^6.0.1", + "npm_package_devDependencies_string_replace_loader": "~1.3.0", + "npm_config_init_author_name": "", + "npm_config_git": "git", + "npm_config_scope": "", + "npm_config_unsafe_perm": "true", + "npm_config_tmp": "/var/folders/4z/_818tcms2pb497s4z6ndnzcm0000gn/T", + "npm_config_onload_script": "", + "npm_package_dependencies__mapbox_tiny_sdf": "^1.1.0", + "npm_package_scripts_test_all": "npm run test && npm run test-bugs", + "npm_package_scripts_demos": "electron ./demos/app.js", + "npm_package_devDependencies_electron": "~2.0.2", + "npm_node_execpath": "/usr/local/Cellar/node/12.4.0/bin/node", + "npm_config_link": "", + "npm_config_prefix": "/Users/lizhengxue/.nvm/versions/node/v10.16.0", + "npm_package_devDependencies_rollup_plugin_buble": "^0.19.6", + "BUILD": "dev", + "NODE_ENV": "development" + }, + "userLimits": { + "core_file_size_blocks": { + "soft": 0, + "hard": "unlimited" + }, + "data_seg_size_kbytes": { + "soft": "unlimited", + "hard": "unlimited" + }, + "file_size_blocks": { + "soft": "unlimited", + "hard": "unlimited" + }, + "max_locked_memory_bytes": { + "soft": "unlimited", + "hard": "unlimited" + }, + "max_memory_size_kbytes": { + "soft": "unlimited", + "hard": "unlimited" + }, + "open_files": { + "soft": 24576, + "hard": "unlimited" + }, + "stack_size_bytes": { + "soft": 8388608, + "hard": 67104768 + }, + "cpu_time_seconds": { + "soft": "unlimited", + "hard": "unlimited" + }, + "max_user_processes": { + "soft": 1418, + "hard": 2128 + }, + "virtual_memory_kbytes": { + "soft": "unlimited", + "hard": "unlimited" + } + }, + "sharedObjects": [ + "/usr/local/bin/node", + "/usr/local/opt/icu4c/lib/libicui18n.64.dylib", + "/usr/local/opt/icu4c/lib/libicuuc.64.dylib", + "/usr/local/opt/icu4c/lib/libicudata.64.dylib", + "/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation", + "/usr/lib/libSystem.B.dylib", + "/usr/lib/libc++.1.dylib", + "/usr/lib/system/libcache.dylib", + "/usr/lib/system/libcommonCrypto.dylib", + "/usr/lib/system/libcompiler_rt.dylib", + "/usr/lib/system/libcopyfile.dylib", + "/usr/lib/system/libcorecrypto.dylib", + "/usr/lib/system/libdispatch.dylib", + "/usr/lib/system/libdyld.dylib", + "/usr/lib/system/libkeymgr.dylib", + "/usr/lib/system/liblaunch.dylib", + "/usr/lib/system/libmacho.dylib", + "/usr/lib/system/libquarantine.dylib", + "/usr/lib/system/libremovefile.dylib", + "/usr/lib/system/libsystem_asl.dylib", + "/usr/lib/system/libsystem_blocks.dylib", + "/usr/lib/system/libsystem_c.dylib", + "/usr/lib/system/libsystem_configuration.dylib", + "/usr/lib/system/libsystem_coreservices.dylib", + "/usr/lib/system/libsystem_darwin.dylib", + "/usr/lib/system/libsystem_dnssd.dylib", + "/usr/lib/system/libsystem_info.dylib", + "/usr/lib/system/libsystem_m.dylib", + "/usr/lib/system/libsystem_malloc.dylib", + "/usr/lib/system/libsystem_networkextension.dylib", + "/usr/lib/system/libsystem_notify.dylib", + "/usr/lib/system/libsystem_sandbox.dylib", + "/usr/lib/system/libsystem_secinit.dylib", + "/usr/lib/system/libsystem_kernel.dylib", + "/usr/lib/system/libsystem_platform.dylib", + "/usr/lib/system/libsystem_pthread.dylib", + "/usr/lib/system/libsystem_symptoms.dylib", + "/usr/lib/system/libsystem_trace.dylib", + "/usr/lib/system/libunwind.dylib", + "/usr/lib/system/libxpc.dylib", + "/usr/lib/libobjc.A.dylib", + "/usr/lib/libc++abi.dylib", + "/usr/lib/libDiagnosticMessagesClient.dylib", + "/usr/lib/libicucore.A.dylib", + "/usr/lib/libz.1.dylib", + "/System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib", + "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices", + "/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics", + "/System/Library/Frameworks/CoreText.framework/Versions/A/CoreText", + "/System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO", + "/System/Library/Frameworks/ColorSync.framework/Versions/A/ColorSync", + "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS", + "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSyncLegacy.framework/Versions/A/ColorSyncLegacy", + "/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices", + "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices", + "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis", + "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore", + "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD", + "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis", + "/System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight", + "/System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface", + "/usr/lib/libxml2.2.dylib", + "/System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork", + "/System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate", + "/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation", + "/usr/lib/libcompression.dylib", + "/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration", + "/System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay", + "/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit", + "/System/Library/Frameworks/Metal.framework/Versions/A/Metal", + "/System/Library/Frameworks/MetalPerformanceShaders.framework/Versions/A/MetalPerformanceShaders", + "/System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport", + "/System/Library/Frameworks/Security.framework/Versions/A/Security", + "/System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore", + "/usr/lib/libbsm.0.dylib", + "/usr/lib/liblzma.5.dylib", + "/usr/lib/libauto.dylib", + "/System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration", + "/usr/lib/libarchive.2.dylib", + "/usr/lib/liblangid.dylib", + "/usr/lib/libCRFSuite.dylib", + "/usr/lib/libenergytrace.dylib", + "/usr/lib/system/libkxld.dylib", + "/System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression", + "/usr/lib/libOpenScriptingUtil.dylib", + "/usr/lib/libcoretls.dylib", + "/usr/lib/libcoretls_cfhelpers.dylib", + "/usr/lib/libpam.2.dylib", + "/usr/lib/libsqlite3.dylib", + "/usr/lib/libxar.1.dylib", + "/usr/lib/libbz2.1.0.dylib", + "/usr/lib/libnetwork.dylib", + "/usr/lib/libapple_nghttp2.dylib", + "/usr/lib/libpcap.A.dylib", + "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents", + "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore", + "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata", + "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices", + "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit", + "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE", + "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices", + "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices", + "/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList", + "/System/Library/Frameworks/NetFS.framework/Versions/A/NetFS", + "/System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth", + "/System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport", + "/System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC", + "/System/Library/PrivateFrameworks/CoreNLP.framework/Versions/A/CoreNLP", + "/System/Library/PrivateFrameworks/MetadataUtilities.framework/Versions/A/MetadataUtilities", + "/usr/lib/libmecabra.dylib", + "/usr/lib/libmecab.1.0.0.dylib", + "/usr/lib/libgermantok.dylib", + "/usr/lib/libThaiTokenizer.dylib", + "/usr/lib/libChineseTokenizer.dylib", + "/usr/lib/libiconv.2.dylib", + "/usr/lib/libcharset.1.dylib", + "/System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling", + "/System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji", + "/System/Library/PrivateFrameworks/Lexicon.framework/Versions/A/Lexicon", + "/System/Library/PrivateFrameworks/LinguisticData.framework/Versions/A/LinguisticData", + "/usr/lib/libcmph.dylib", + "/System/Library/Frameworks/CoreData.framework/Versions/A/CoreData", + "/System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory", + "/System/Library/PrivateFrameworks/APFS.framework/Versions/A/APFS", + "/usr/lib/libutil.dylib", + "/System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement", + "/System/Library/PrivateFrameworks/BackgroundTaskManagement.framework/Versions/A/BackgroundTaskManagement", + "/usr/lib/libxslt.1.dylib", + "/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage", + "/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib", + "/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib", + "/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib", + "/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib", + "/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib", + "/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib", + "/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib", + "/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib", + "/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib", + "/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparse.dylib", + "/System/Library/PrivateFrameworks/GPUWrangler.framework/Versions/A/GPUWrangler", + "/System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator", + "/System/Library/PrivateFrameworks/IOPresentment.framework/Versions/A/IOPresentment", + "/System/Library/PrivateFrameworks/DSExternalDisplay.framework/Versions/A/DSExternalDisplay", + "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib", + "/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSCore.framework/Versions/A/MPSCore", + "/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSImage.framework/Versions/A/MPSImage", + "/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSNeuralNetwork.framework/Versions/A/MPSNeuralNetwork", + "/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSMatrix.framework/Versions/A/MPSMatrix", + "/System/Library/Frameworks/MetalPerformanceShaders.framework/Frameworks/MPSRayIntersector.framework/Versions/A/MPSRayIntersector", + "/System/Library/PrivateFrameworks/MetalTools.framework/Versions/A/MetalTools", + "/System/Library/PrivateFrameworks/AggregateDictionary.framework/Versions/A/AggregateDictionary", + "/usr/lib/libMobileGestalt.dylib", + "/System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage", + "/System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo", + "/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL", + "/System/Library/PrivateFrameworks/GraphVisualizer.framework/Versions/A/GraphVisualizer", + "/System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore", + "/System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL", + "/usr/lib/libFosl_dynamic.dylib", + "/System/Library/PrivateFrameworks/OTSVG.framework/Versions/A/OTSVG", + "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib", + "/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib", + "/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib", + "/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib", + "/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib", + "/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib", + "/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib", + "/System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib", + "/System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG", + "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib", + "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib", + "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib", + "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib", + "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib", + "/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib", + "/usr/lib/libcups.2.dylib", + "/System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos", + "/System/Library/Frameworks/GSS.framework/Versions/A/GSS", + "/usr/lib/libresolv.9.dylib", + "/System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal", + "/usr/lib/libheimdal-asn1.dylib", + "/System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory", + "/System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth", + "/System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation", + "/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio", + "/System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox", + "/System/Library/PrivateFrameworks/AppleSauce.framework/Versions/A/AppleSauce", + "/System/Library/PrivateFrameworks/AssertionServices.framework/Versions/A/AssertionServices", + "/System/Library/PrivateFrameworks/BaseBoard.framework/Versions/A/BaseBoard", + "/Users/lizhengxue/Documents/AntV/L7-beta/node_modules/_fsevents@1.2.9@fsevents/lib/binding/Release/node-v72-darwin-x64/fse.node" + ] +} \ No newline at end of file diff --git a/src/component/control/legend/color.js b/src/component/control/legend/color.js new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/component/control/legend/shape.js b/src/component/control/legend/shape.js new file mode 100644 index 0000000000..e69de29bb2 diff --git a/src/component/control/legend/size.js b/src/component/control/legend/size.js new file mode 100644 index 0000000000..e69de29bb2