1
0
Fork 0

更新后台版本,并添加后台打开看板

develop
vine_liutk 2023-08-07 15:39:58 +08:00
parent 4f4dca4961
commit 568cd60e3b
139 changed files with 1401 additions and 774 deletions

View File

@ -13,6 +13,7 @@ class IndexController extends BaseController
public function settings(): JsonResponse|JsonResource
{
return $this->response()->success([
'nav' => Admin::getNav(),
'assets' => Admin::getAssets(),
'app_name' => config('admin.name'),
'locale' => config('app.locale'),

View File

@ -6,3 +6,19 @@ Admin::styles([
// '.cxd-Panel {box-shadow: none; }',
'.cxd-Panel-title { color:white;font-size: 16px; }'
]);
$user = Admin::user();
$token = '';
if($user){
$token = $user->createToken('api')->plainTextToken;
$urlBtn = amisMake()
->UrlAction()
->icon('fa fa-tv')
->tooltip('大屏看板')
->className('mr-2 rounded-full')
->url('http://36.133.205.221:93/dashboard?userToken='.$token)
->blank();
// 追加到已有按钮前
\Slowlyo\OwlAdmin\Admin::prependNav($urlBtn);
}

View File

@ -8,7 +8,6 @@ Route::group([
'prefix' => config('admin.route.prefix'),
'middleware' => config('admin.route.middleware'),
], function (Router $router) {
$router->get('/_settings', '\App\Admin\Controllers\IndexController@settings');
$router->resource('system/admin_users', App\Admin\Controllers\AdminUserController::class);

View File

@ -10,7 +10,7 @@
"laravel/framework": "^9.19",
"laravel/sanctum": "^3.0",
"laravel/tinker": "^2.7",
"slowlyo/owl-admin": "^2.5",
"slowlyo/owl-admin": "^2.7",
"tucker-eric/eloquentfilter": "^3.2"
},
"require-dev": {

19
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "9a8e7371b7f2b9ed045fb18fca1009ba",
"content-hash": "f04ef494ca4445ad65d754a1b7e32af8",
"packages": [
{
"name": "brick/math",
@ -2317,16 +2317,16 @@
},
{
"name": "slowlyo/owl-admin",
"version": "v2.5.0",
"version": "v2.7.7",
"source": {
"type": "git",
"url": "https://github.com/Slowlyo/owl-admin.git",
"reference": "76ef959a0a20967eb6f20f4abb1e261235951f30"
"reference": "288a7f4ed4cdeb58c5c18836e81b71cb65b23ab0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/Slowlyo/owl-admin/zipball/76ef959a0a20967eb6f20f4abb1e261235951f30",
"reference": "76ef959a0a20967eb6f20f4abb1e261235951f30",
"url": "https://api.github.com/repos/Slowlyo/owl-admin/zipball/288a7f4ed4cdeb58c5c18836e81b71cb65b23ab0",
"reference": "288a7f4ed4cdeb58c5c18836e81b71cb65b23ab0",
"shasum": ""
},
"require": {
@ -2337,7 +2337,7 @@
"extra": {
"laravel": {
"providers": [
"Slowlyo\\OwlAdmin\\OwlAdminServiceProvider"
"Slowlyo\\OwlAdmin\\AdminServiceProvider"
],
"aliases": {
"OwlAdmin": "Slowlyo\\OwlAdmin\\Facades\\OwlAdmin"
@ -2346,7 +2346,7 @@
},
"autoload": {
"files": [
"src/Libs/helpers.php"
"src/Support/helpers.php"
],
"psr-4": {
"Slowlyo\\OwlAdmin\\": "src/"
@ -2368,13 +2368,14 @@
"keywords": [
"OwlAdmin",
"admin",
"amis",
"laravel"
],
"support": {
"issues": "https://github.com/Slowlyo/owl-admin/issues",
"source": "https://github.com/Slowlyo/owl-admin/tree/v2.5.0"
"source": "https://github.com/Slowlyo/owl-admin/tree/v2.7.7"
},
"time": "2023-04-27T08:21:20+00:00"
"time": "2023-08-02T09:07:24+00:00"
},
{
"name": "symfony/console",

View File

@ -49,23 +49,16 @@ return [
],
],
'https' => false,
'https' => env('ADMIN_HTTPS', false),
// 是否显示 [开发者工具]
'show_development_tools' => env('APP_DEBUG', false),
// 是否显示 [权限] 功能中的自动生成按钮
'show_auto_generate_permission_button' => true,
'dev_tools' => [
'terminal' => [
'php_alias' => 'php',
'composer_alias' => 'composer',
],
],
'show_auto_generate_permission_button' => env('ADMIN_SHOW_AUTO_GENERATE_PERMISSION_BUTTON', true),
// 扩展
'extension' => [
'extension' => [
'dir' => base_path('extensions'),
],
@ -95,6 +88,16 @@ return [
*/
'keep_alive_exclude' => [],
// 底部信息
'footer' => '© 2023 <a href="https://gitee.com/slowlyo/owl-admin" target="_blank">Owl Admin</a>',
// 'footer' => '<a href="https://github.com/slowlyo/owl-admin" target="_blank">Owl Admin</a>',
],
'models' => [
'admin_user' => \Slowlyo\OwlAdmin\Models\AdminUser::class,
'admin_role' => \Slowlyo\OwlAdmin\Models\AdminRole::class,
'admin_menu' => \Slowlyo\OwlAdmin\Models\AdminMenu::class,
'admin_permission' => \Slowlyo\OwlAdmin\Models\AdminPermission::class,
],
'modules' => [
],
];

View File

@ -22,6 +22,7 @@ return [
'edit' => 'Edit',
'show' => 'Show',
'delete' => 'Delete',
'copy' => 'Copy',
'confirm_delete' => 'Confirm Delete Selected Items?',
'back' => 'Back',
'reset' => 'Reset',
@ -33,6 +34,8 @@ return [
'developer' => 'Developer',
'code_generator' => 'Code Generator',
'visual_editor' => 'Visual Editor',
'terminal' => 'Terminal',
'administrator' => 'Administrator',
'soft_delete' => 'Soft Delete',
'keyword' => 'Keyword',
@ -43,6 +46,8 @@ return [
'order_desc' => 'Order Desc',
'order_asc' => 'Order Asc',
'menus' => 'Menus',
'successfully' => '成功',
'failed' => '失败',
'successfully_message' => ':attribute Successfully',
'failed_message' => ':attribute Failed',
'action_success' => 'Action Success',
@ -52,6 +57,9 @@ return [
'yes' => 'Yes',
'no' => 'No',
'need_start_with_slash' => 'Need Start With /',
'cancel' => 'Cancel',
'please_login' => 'Please Login',
'unauthorized' => 'Unauthorized',
'code_generators' => [
'remark1' => 'For more parameters, please refer to',
@ -81,22 +89,64 @@ return [
'generate_code' => 'Generate Code',
'expand_more_settings' => 'More Settings',
'collapse_settings' => 'Collapse Settings',
'confirm_generate_code' => 'Confirm Generate Code?',
'preview' => 'Preview',
'base_info' => 'Base Info',
'column_info' => 'Column Info',
'route_config' => 'Route Config',
'page_config' => 'Page Config',
'gen_route_menu' => 'Generate Route And Menu',
'route' => 'Route',
'menu_name' => 'Menu Name',
'parent_menu' => 'Parent Menu',
'menu_icon' => 'Menu Icon',
'name_label_desc' => 'Name And Label Attribute Take Field Name And Comment',
'column_warning' => 'If the field name exists (no / status) will cause the form to fail to echo back!',
'add_column' => 'Add Column',
'scope' => 'Scope',
'list_component' => 'List Component',
'list_component_desc' => 'List Component, Default Is TableColumn',
'form_component' => 'Form Component',
'form_component_desc' => 'Form Component, Default Is TextControl',
'detail_component' => 'Detail Component',
'detail_component_desc' => 'Detail Component, Default Is TextControl',
'model_config' => 'Model Config',
'file_column' => 'File Column',
'file_column_desc' => 'File Column, Automatically Add Attribute Methods In The Model',
'preview_code' => 'Preview Code',
'property' => 'Property',
'property_name' => 'Property Name',
'value' => 'Value',
'dialog_form' => 'Dialog Form',
'dialog_size' => 'Dialog Size',
'copy_record' => 'Copy Record',
'copy_record_description' => 'You can copy and share to <a href="https://github.com/Slowlyo/owl-admin/discussions/categories/%E4%BB%A3%E7%A0%81%E7%94%9F%E6%88%90%E8%AE%B0%E5%BD%95" target="_blank">Github</a>',
'import_record' => 'Import Record',
'import_record_placeholder' => 'Please enter the imported json record',
'import_record_desc' => 'You can find some records shared by others on <a href="https://github.com/Slowlyo/owl-admin/discussions/categories/%E4%BB%A3%E7%A0%81%E7%94%9F%E6%88%90%E8%AE%B0%E5%BD%95" target="_blank">Github</a>',
],
'admin_users' => 'Admin Users',
'admin_user' => [
'avatar' => 'Avatar',
'name' => 'Name',
'roles' => 'Roles',
'search_username' => 'Search Username/Name',
'avatar' => 'Avatar',
'name' => 'Name',
'roles' => 'Roles',
'search_username' => 'Search Username/Name',
'password_confirmation' => 'Password Not Match',
'old_password_required' => 'Old Password Required',
'old_password_error' => 'Old Password Error',
'username_already_exists' => 'Username Already Exists',
],
'admin_roles' => 'Admin Roles',
'admin_role' => [
'name' => 'Name',
'slug' => 'Slug',
'permissions' => 'Permissions',
'slug_description' => 'unique identifier of a role',
'name' => 'Name',
'slug' => 'Slug',
'permissions' => 'Permissions',
'slug_description' => 'unique identifier of a role',
'name_already_exists' => 'Role Name Already Exists',
'slug_already_exists' => 'Role Slug Already Exists',
'set_permissions' => 'Set Permissions',
],
'admin_permissions' => 'Permissions',
@ -108,6 +158,9 @@ return [
'http_path' => 'Http Path',
'auto_generate' => 'Auto Generate',
'auto_generate_confirm' => 'The permission information will be generated after the permission table and permission menu association table are truncated. Do you want to continue?',
'parent_id_not_allow' => 'Parent Id Not Allow',
'name_already_exists' => 'Permission Name Already Exists',
'slug_already_exists' => 'Permission Slug Already Exists',
],
'admin_menus' => 'Menus',
@ -130,6 +183,11 @@ return [
'hide' => 'Hide',
'is_home' => 'Is Home',
'is_home_description' => 'In multi-tab mode, the page label is fixed on the left',
'is_full' => 'Is Full',
'is_full_description' => 'When enabled, the menu bar portion of the page is hidden',
'parent_id_not_allow' => 'The parent menu cannot be set to the current submenu',
'component' => 'Component',
'component_desc' => 'amis by default. Not a custom front-end page, please do not modify it',
],
'extensions' => [

View File

@ -6,7 +6,7 @@ return [
'logout' => '退出登录',
'username' => '用户名',
'password' => '密码',
'old_password' => '密码',
'old_password' => '密码',
'confirm_password' => '确认密码',
'captcha' => '验证码',
'captcha_error' => '验证码有误',
@ -22,6 +22,7 @@ return [
'edit' => '编辑',
'show' => '查看',
'delete' => '删除',
'copy' => '复制',
'confirm_delete' => '确认删除选中项?',
'back' => '返回',
'reset' => '重置',
@ -33,6 +34,7 @@ return [
'developer' => '开发',
'code_generator' => '代码生成器',
'visual_editor' => '可视化编辑器',
'terminal' => '终端',
'administrator' => '管理员',
'soft_delete' => '软删除',
@ -55,6 +57,9 @@ return [
'yes' => '是',
'no' => '否',
'need_start_with_slash' => '需要以 / 开头',
'cancel' => '取消',
'please_login' => '请先登录',
'unauthorized' => '无权访问',
'code_generators' => [
'remark1' => '额外参数请参考',
@ -84,6 +89,41 @@ return [
'generate_code' => '生成代码',
'expand_more_settings' => '更多设置',
'collapse_settings' => '收起设置',
'confirm_generate_code' => '确认生成代码?',
'preview' => '预览',
'base_info' => '基本信息',
'column_info' => '字段信息',
'route_config' => '路由配置',
'page_config' => '页面配置',
'gen_route_menu' => '生成路由&菜单',
'route' => '路由',
'menu_name' => '菜单名称',
'parent_menu' => '父级菜单',
'menu_icon' => '菜单图标',
'name_label_desc' => 'name和label属性取字段名和注释',
'column_warning' => '如果字段名存在 no、status 会导致 form 回显失败!',
'add_column' => '添加字段',
'scope' => '作用域',
'list_component' => '列表组件',
'list_component_desc' => '列表组件, 默认为 TableColumn',
'form_component' => '表单组件',
'form_component_desc' => '表单组件, 默认为 TextControl',
'detail_component' => '详情组件',
'detail_component_desc' => '详情组件, 默认为 TextControl',
'model_config' => '模型配置',
'file_column' => '文件字段',
'file_column_desc' => '文件字段会自动在模型中添加 获取/修改器 方法',
'preview_code' => '预览代码',
'property' => '属性',
'property_name' => '属性名称',
'value' => '值',
'dialog_form' => '弹窗表单',
'dialog_size' => '弹窗大小',
'copy_record' => '复制记录',
'copy_record_description' => '你可以复制后分享到 <a href="https://github.com/Slowlyo/owl-admin/discussions/categories/%E4%BB%A3%E7%A0%81%E7%94%9F%E6%88%90%E8%AE%B0%E5%BD%95" target="_blank">Github</a>',
'import_record' => '导入记录',
'import_record_placeholder' => '请输入导入的json记录',
'import_record_desc' => '你可以在 <a href="https://github.com/Slowlyo/owl-admin/discussions/categories/%E4%BB%A3%E7%A0%81%E7%94%9F%E6%88%90%E8%AE%B0%E5%BD%95" target="_blank">Github</a> 找到一些其他人分享的记录',
],
'admin_users' => '管理员',
@ -106,6 +146,7 @@ return [
'slug_description' => '角色的唯一标识, 不可重复',
'name_already_exists' => '角色名称已存在',
'slug_already_exists' => '角色标识已存在',
'set_permissions' => '设置权限',
],
'admin_permissions' => '权限',
@ -142,7 +183,11 @@ return [
'hide' => '隐藏',
'is_home' => '首页',
'is_home_description' => '在多页签卡模式下,页面标签将固定在左侧',
'is_full' => '全屏',
'is_full_description' => '开启后将隐藏该页面的菜单栏部分',
'parent_id_not_allow' => '父级菜单不允许设置为当前子菜单',
'component' => '组件',
'component_desc' => '默认为 amis , 非自定义前端页面请勿修改',
],
'extensions' => [

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1 +1 @@
import{B as b,c as B,b as T,m as E,a as S,e as z,f as x,r as L,g as N}from"./index-bb2bda8c.js";function r(t,n){this._bmap=t,this.dimensions=["lng","lat"],this._mapOffset=[0,0],this._api=n,this._projection=new BMap.MercatorProjection}r.prototype.type="bmap";r.prototype.dimensions=["lng","lat"];r.prototype.setZoom=function(t){this._zoom=t};r.prototype.setCenter=function(t){this._center=this._projection.lngLatToPoint(new BMap.Point(t[0],t[1]))};r.prototype.setMapOffset=function(t){this._mapOffset=t};r.prototype.getBMap=function(){return this._bmap};r.prototype.dataToPoint=function(t){var n=new BMap.Point(t[0],t[1]),e=this._bmap.pointToOverlayPixel(n),a=this._mapOffset;return[e.x-a[0],e.y-a[1]]};r.prototype.pointToData=function(t){var n=this._mapOffset;return t=this._bmap.overlayPixelToPoint({x:t[0]+n[0],y:t[1]+n[1]}),[t.lng,t.lat]};r.prototype.getViewRect=function(){var t=this._api;return new b(0,0,t.getWidth(),t.getHeight())};r.prototype.getRoamTransform=function(){return B()};r.prototype.prepareCustoms=function(){var t=this.getViewRect();return{coordSys:{type:"bmap",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:T(this.dataToPoint,this),size:T(V,this)}}};r.prototype.convertToPixel=function(t,n,e){return this.dataToPoint(e)};r.prototype.convertFromPixel=function(t,n,e){return this.pointToData(e)};function V(t,n){return n=n||[0,0],E([0,1],function(e){var a=n[e],o=t[e]/2,f=[],l=[];return f[e]=a-o,l[e]=a+o,f[1-e]=l[1-e]=n[1-e],Math.abs(this.dataToPoint(f)[e]-this.dataToPoint(l)[e])},this)}var _;r.dimensions=r.prototype.dimensions;function H(){function t(n){this._root=n}return t.prototype=new BMap.Overlay,t.prototype.initialize=function(n){return n.getPanes().labelPane.appendChild(this._root),this._root},t.prototype.draw=function(){},t}r.create=function(t,n){var e,a=n.getDom();return t.eachComponent("bmap",function(o){var f=n.getZr().painter,l=f.getViewportRoot();if(typeof BMap>"u")throw new Error("BMap api is not loaded");if(_=_||H(),e)throw new Error("Only one bmap component can exist");var i;if(!o.__bmap){var p=a.querySelector(".ec-extension-bmap");p&&(l.style.left="0px",l.style.top="0px",a.removeChild(p)),p=document.createElement("div"),p.className="ec-extension-bmap",p.style.cssText="position:absolute;width:100%;height:100%",a.appendChild(p);var s=o.get("mapOptions");s&&(s=S(s),delete s.mapType),i=o.__bmap=new BMap.Map(p,s);var d=new _(l);i.addOverlay(d),f.getViewportRootOffset=function(){return{offsetLeft:0,offsetTop:0}}}i=o.__bmap;var m=o.get("center"),c=o.get("zoom");if(m&&c){var y=i.getCenter(),v=i.getZoom(),u=o.centerOrZoomChanged([y.lng,y.lat],v);if(u){var w=new BMap.Point(m[0],m[1]);i.centerAndZoom(w,c)}}e=new r(i,n),e.setMapOffset(o.__mapOffset||[0,0]),e.setZoom(c),e.setCenter(m),o.coordinateSystem=e}),t.eachSeries(function(o){o.get("coordinateSystem")==="bmap"&&(o.coordinateSystem=e)}),e&&[e]};function R(t,n){return t&&n&&t[0]===n[0]&&t[1]===n[1]}z({type:"bmap",getBMap:function(){return this.__bmap},setCenterAndZoom:function(t,n){this.option.center=t,this.option.zoom=n},centerOrZoomChanged:function(t,n){var e=this.option;return!(R(t,e.center)&&n===e.zoom)},defaultOption:{center:[104.114129,37.550339],zoom:5,mapStyle:{},mapStyleV2:{},mapOptions:{},roam:!1}});function Z(t){for(var n in t)if(t.hasOwnProperty(n))return!1;return!0}x({type:"bmap",render:function(t,n,e){var a=!0,o=t.getBMap(),f=e.getZr().painter.getViewportRoot(),l=t.coordinateSystem,i=function(w,D){if(!a){var O=f.parentNode.parentNode.parentNode,h=[-parseInt(O.style.left,10)||0,-parseInt(O.style.top,10)||0],g=f.style,C=h[0]+"px",P=h[1]+"px";g.left!==C&&(g.left=C),g.top!==P&&(g.top=P),l.setMapOffset(h),t.__mapOffset=h,e.dispatchAction({type:"bmapRoam",animation:{duration:0}})}};function p(){a||e.dispatchAction({type:"bmapRoam",animation:{duration:0}})}o.removeEventListener("moving",this._oldMoveHandler),o.removeEventListener("moveend",this._oldMoveHandler),o.removeEventListener("zoomend",this._oldZoomEndHandler),o.addEventListener("moving",i),o.addEventListener("moveend",i),o.addEventListener("zoomend",p),this._oldMoveHandler=i,this._oldZoomEndHandler=p;var s=t.get("roam");s&&s!=="scale"?o.enableDragging():o.disableDragging(),s&&s!=="move"?(o.enableScrollWheelZoom(),o.enableDoubleClickZoom(),o.enablePinchToZoom()):(o.disableScrollWheelZoom(),o.disableDoubleClickZoom(),o.disablePinchToZoom());var d=t.__mapStyle,m=t.get("mapStyle")||{},c=JSON.stringify(m);JSON.stringify(d)!==c&&(Z(m)||o.setMapStyle(S(m)),t.__mapStyle=JSON.parse(c));var y=t.__mapStyle2,v=t.get("mapStyleV2")||{},u=JSON.stringify(v);JSON.stringify(y)!==u&&(Z(v)||o.setMapStyleV2(S(v)),t.__mapStyle2=JSON.parse(u)),a=!1}});L("bmap",r);N({type:"bmapRoam",event:"bmapRoam",update:"updateLayout"},function(t,n){n.eachComponent("bmap",function(e){var a=e.getBMap(),o=a.getCenter();e.setCenterAndZoom([o.lng,o.lat],a.getZoom())})});var J="1.0.0";export{J as version};
import{B as b,c as B,b as T,m as E,a as S,e as z,f as x,r as L,g as N}from"./index-f453d8c4.js";function r(t,n){this._bmap=t,this.dimensions=["lng","lat"],this._mapOffset=[0,0],this._api=n,this._projection=new BMap.MercatorProjection}r.prototype.type="bmap";r.prototype.dimensions=["lng","lat"];r.prototype.setZoom=function(t){this._zoom=t};r.prototype.setCenter=function(t){this._center=this._projection.lngLatToPoint(new BMap.Point(t[0],t[1]))};r.prototype.setMapOffset=function(t){this._mapOffset=t};r.prototype.getBMap=function(){return this._bmap};r.prototype.dataToPoint=function(t){var n=new BMap.Point(t[0],t[1]),e=this._bmap.pointToOverlayPixel(n),a=this._mapOffset;return[e.x-a[0],e.y-a[1]]};r.prototype.pointToData=function(t){var n=this._mapOffset;return t=this._bmap.overlayPixelToPoint({x:t[0]+n[0],y:t[1]+n[1]}),[t.lng,t.lat]};r.prototype.getViewRect=function(){var t=this._api;return new b(0,0,t.getWidth(),t.getHeight())};r.prototype.getRoamTransform=function(){return B()};r.prototype.prepareCustoms=function(){var t=this.getViewRect();return{coordSys:{type:"bmap",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:T(this.dataToPoint,this),size:T(V,this)}}};r.prototype.convertToPixel=function(t,n,e){return this.dataToPoint(e)};r.prototype.convertFromPixel=function(t,n,e){return this.pointToData(e)};function V(t,n){return n=n||[0,0],E([0,1],function(e){var a=n[e],o=t[e]/2,f=[],l=[];return f[e]=a-o,l[e]=a+o,f[1-e]=l[1-e]=n[1-e],Math.abs(this.dataToPoint(f)[e]-this.dataToPoint(l)[e])},this)}var _;r.dimensions=r.prototype.dimensions;function H(){function t(n){this._root=n}return t.prototype=new BMap.Overlay,t.prototype.initialize=function(n){return n.getPanes().labelPane.appendChild(this._root),this._root},t.prototype.draw=function(){},t}r.create=function(t,n){var e,a=n.getDom();return t.eachComponent("bmap",function(o){var f=n.getZr().painter,l=f.getViewportRoot();if(typeof BMap>"u")throw new Error("BMap api is not loaded");if(_=_||H(),e)throw new Error("Only one bmap component can exist");var i;if(!o.__bmap){var p=a.querySelector(".ec-extension-bmap");p&&(l.style.left="0px",l.style.top="0px",a.removeChild(p)),p=document.createElement("div"),p.className="ec-extension-bmap",p.style.cssText="position:absolute;width:100%;height:100%",a.appendChild(p);var s=o.get("mapOptions");s&&(s=S(s),delete s.mapType),i=o.__bmap=new BMap.Map(p,s);var d=new _(l);i.addOverlay(d),f.getViewportRootOffset=function(){return{offsetLeft:0,offsetTop:0}}}i=o.__bmap;var m=o.get("center"),c=o.get("zoom");if(m&&c){var y=i.getCenter(),v=i.getZoom(),u=o.centerOrZoomChanged([y.lng,y.lat],v);if(u){var w=new BMap.Point(m[0],m[1]);i.centerAndZoom(w,c)}}e=new r(i,n),e.setMapOffset(o.__mapOffset||[0,0]),e.setZoom(c),e.setCenter(m),o.coordinateSystem=e}),t.eachSeries(function(o){o.get("coordinateSystem")==="bmap"&&(o.coordinateSystem=e)}),e&&[e]};function R(t,n){return t&&n&&t[0]===n[0]&&t[1]===n[1]}z({type:"bmap",getBMap:function(){return this.__bmap},setCenterAndZoom:function(t,n){this.option.center=t,this.option.zoom=n},centerOrZoomChanged:function(t,n){var e=this.option;return!(R(t,e.center)&&n===e.zoom)},defaultOption:{center:[104.114129,37.550339],zoom:5,mapStyle:{},mapStyleV2:{},mapOptions:{},roam:!1}});function Z(t){for(var n in t)if(t.hasOwnProperty(n))return!1;return!0}x({type:"bmap",render:function(t,n,e){var a=!0,o=t.getBMap(),f=e.getZr().painter.getViewportRoot(),l=t.coordinateSystem,i=function(w,D){if(!a){var O=f.parentNode.parentNode.parentNode,h=[-parseInt(O.style.left,10)||0,-parseInt(O.style.top,10)||0],g=f.style,C=h[0]+"px",P=h[1]+"px";g.left!==C&&(g.left=C),g.top!==P&&(g.top=P),l.setMapOffset(h),t.__mapOffset=h,e.dispatchAction({type:"bmapRoam",animation:{duration:0}})}};function p(){a||e.dispatchAction({type:"bmapRoam",animation:{duration:0}})}o.removeEventListener("moving",this._oldMoveHandler),o.removeEventListener("moveend",this._oldMoveHandler),o.removeEventListener("zoomend",this._oldZoomEndHandler),o.addEventListener("moving",i),o.addEventListener("moveend",i),o.addEventListener("zoomend",p),this._oldMoveHandler=i,this._oldZoomEndHandler=p;var s=t.get("roam");s&&s!=="scale"?o.enableDragging():o.disableDragging(),s&&s!=="move"?(o.enableScrollWheelZoom(),o.enableDoubleClickZoom(),o.enablePinchToZoom()):(o.disableScrollWheelZoom(),o.disableDoubleClickZoom(),o.disablePinchToZoom());var d=t.__mapStyle,m=t.get("mapStyle")||{},c=JSON.stringify(m);JSON.stringify(d)!==c&&(Z(m)||o.setMapStyle(S(m)),t.__mapStyle=JSON.parse(c));var y=t.__mapStyle2,v=t.get("mapStyleV2")||{},u=JSON.stringify(v);JSON.stringify(y)!==u&&(Z(v)||o.setMapStyleV2(S(v)),t.__mapStyle2=JSON.parse(u)),a=!1}});L("bmap",r);N({type:"bmapRoam",event:"bmapRoam",update:"updateLayout"},function(t,n){n.eachComponent("bmap",function(e){var a=e.getBMap(),o=a.getCenter();e.setCenterAndZoom([o.lng,o.lat],a.getZoom())})});var J="1.0.0";export{J as version};

Binary file not shown.

View File

@ -1 +0,0 @@
import{g as a}from"./index-901b7a35.js";import{r as f}from"./codemirror-6a66a583.js";function s(o,c){for(var t=0;t<c.length;t++){const r=c[t];if(typeof r!="string"&&!Array.isArray(r)){for(const e in r)if(e!=="default"&&!(e in o)){const i=Object.getOwnPropertyDescriptor(r,e);i&&Object.defineProperty(o,e,i.get?i:{enumerable:!0,get:()=>r[e]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var n=f();const m=a(n),d=s({__proto__:null,default:m},[n]);export{d as c};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1 +1 @@
import{l as e}from"./editor.main-764b9cb1.js";import"./index-901b7a35.js";var t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+t.join("|")+"))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+t.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:e.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")}}},o={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{r as conf,o as language};
import{l as e}from"./editor.main-eb28362a.js";import"./index-d0c5dc95.js";var t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],r={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+t.join("|")+"))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+t.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:e.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")}}},o={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/>/,{token:"delimiter",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]]}};export{r as conf,o as language};

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{m as C,d as y}from"./index-bb2bda8c.js";function k(a){var r;if(typeof a=="string"){var e=new DOMParser;r=e.parseFromString(a,"text/xml")}else r=a;if(!r||r.getElementsByTagName("parsererror").length)return null;var i=f(r,"gexf");if(!i)return null;for(var v=f(i,"graph"),t=F(f(v,"attributes")),u={},o=0;o<t.length;o++)u[t[o].id]=t[o];return{nodes:M(f(v,"nodes"),u),links:N(f(v,"edges"))}}function F(a){return a?C(x(a,"attribute"),function(r){return{id:n(r,"id"),title:n(r,"title"),type:n(r,"type")}}):[]}function M(a,r){return a?C(x(a,"node"),function(e){var i=n(e,"id"),v=n(e,"label"),t={id:i,name:v,itemStyle:{normal:{}}},u=f(e,"viz:size"),o=f(e,"viz:position"),l=f(e,"viz:color"),s=f(e,"attvalues");if(u&&(t.symbolSize=parseFloat(n(u,"value"))),o&&(t.x=parseFloat(n(o,"x")),t.y=parseFloat(n(o,"y"))),l&&(t.itemStyle.normal.color="rgb("+[n(l,"r")|0,n(l,"g")|0,n(l,"b")|0].join(",")+")"),s){var d=x(s,"attvalue");t.attributes={};for(var p=0;p<d.length;p++){var b=d[p],c=n(b,"for"),g=n(b,"value"),h=r[c];if(h){switch(h.type){case"integer":case"long":g=parseInt(g,10);break;case"float":case"double":g=parseFloat(g);break;case"boolean":g=g.toLowerCase()==="true";break}t.attributes[c]=g}}}return t}):[]}function N(a){return a?C(x(a,"edge"),function(r){var e=n(r,"id"),i=n(r,"label"),v=n(r,"source"),t=n(r,"target"),u={id:e,name:i,source:v,target:t,lineStyle:{normal:{}}},o=u.lineStyle.normal,l=f(r,"viz:thickness"),s=f(r,"viz:color");return l&&(o.width=parseFloat(l.getAttribute("value"))),s&&(o.color="rgb("+[n(s,"r")|0,n(s,"g")|0,n(s,"b")|0].join(",")+")"),u}):[]}function n(a,r){return a.getAttribute(r)}function f(a,r){for(var e=a.firstChild;e;)if(e.nodeType!==1||e.nodeName.toLowerCase()!==r.toLowerCase())e=e.nextSibling;else return e;return null}function x(a,r){for(var e=a.firstChild,i=[];e;)e.nodeName.toLowerCase()===r.toLowerCase()&&i.push(e),e=e.nextSibling;return i}const B=Object.freeze(Object.defineProperty({__proto__:null,parse:k},Symbol.toStringTag,{value:"Module"}));function R(a){return a.sort(function(r,e){return r-e}),a}function m(a,r){var e=(a.length-1)*r+1,i=Math.floor(e),v=+a[i-1],t=e-i;return t?v+t*(a[i]-v):v}function _(a,r){r=r||{};for(var e=[],i=[],v=[],t=r.boundIQR,u=t==="none"||t===0,o=0;o<a.length;o++){v.push(o+"");var l=R(a[o].slice()),s=m(l,.25),d=m(l,.5),p=m(l,.75),b=l[0],c=l[l.length-1],g=(t??1.5)*(p-s),h=u?b:Math.max(b,s-g),w=u?c:Math.min(c,p+g);e.push([h,s,d,p,w]);for(var z=0;z<l.length;z++){var S=l[z];if(S<h||S>w){var T=[o,S];r.layout==="vertical"&&T.reverse(),i.push(T)}}}return{boxData:e,outliers:i,axisData:v}}var E="1.0.0";y&&(y.version=E,y.gexf=B,y.prepareBoxplotData=_);export{B as gexf,_ as prepareBoxplotData,E as version};
import{m as C,d as y}from"./index-f453d8c4.js";function k(a){var r;if(typeof a=="string"){var e=new DOMParser;r=e.parseFromString(a,"text/xml")}else r=a;if(!r||r.getElementsByTagName("parsererror").length)return null;var i=f(r,"gexf");if(!i)return null;for(var v=f(i,"graph"),t=F(f(v,"attributes")),u={},o=0;o<t.length;o++)u[t[o].id]=t[o];return{nodes:M(f(v,"nodes"),u),links:N(f(v,"edges"))}}function F(a){return a?C(x(a,"attribute"),function(r){return{id:n(r,"id"),title:n(r,"title"),type:n(r,"type")}}):[]}function M(a,r){return a?C(x(a,"node"),function(e){var i=n(e,"id"),v=n(e,"label"),t={id:i,name:v,itemStyle:{normal:{}}},u=f(e,"viz:size"),o=f(e,"viz:position"),l=f(e,"viz:color"),s=f(e,"attvalues");if(u&&(t.symbolSize=parseFloat(n(u,"value"))),o&&(t.x=parseFloat(n(o,"x")),t.y=parseFloat(n(o,"y"))),l&&(t.itemStyle.normal.color="rgb("+[n(l,"r")|0,n(l,"g")|0,n(l,"b")|0].join(",")+")"),s){var d=x(s,"attvalue");t.attributes={};for(var p=0;p<d.length;p++){var b=d[p],c=n(b,"for"),g=n(b,"value"),h=r[c];if(h){switch(h.type){case"integer":case"long":g=parseInt(g,10);break;case"float":case"double":g=parseFloat(g);break;case"boolean":g=g.toLowerCase()==="true";break}t.attributes[c]=g}}}return t}):[]}function N(a){return a?C(x(a,"edge"),function(r){var e=n(r,"id"),i=n(r,"label"),v=n(r,"source"),t=n(r,"target"),u={id:e,name:i,source:v,target:t,lineStyle:{normal:{}}},o=u.lineStyle.normal,l=f(r,"viz:thickness"),s=f(r,"viz:color");return l&&(o.width=parseFloat(l.getAttribute("value"))),s&&(o.color="rgb("+[n(s,"r")|0,n(s,"g")|0,n(s,"b")|0].join(",")+")"),u}):[]}function n(a,r){return a.getAttribute(r)}function f(a,r){for(var e=a.firstChild;e;)if(e.nodeType!==1||e.nodeName.toLowerCase()!==r.toLowerCase())e=e.nextSibling;else return e;return null}function x(a,r){for(var e=a.firstChild,i=[];e;)e.nodeName.toLowerCase()===r.toLowerCase()&&i.push(e),e=e.nextSibling;return i}const B=Object.freeze(Object.defineProperty({__proto__:null,parse:k},Symbol.toStringTag,{value:"Module"}));function R(a){return a.sort(function(r,e){return r-e}),a}function m(a,r){var e=(a.length-1)*r+1,i=Math.floor(e),v=+a[i-1],t=e-i;return t?v+t*(a[i]-v):v}function _(a,r){r=r||{};for(var e=[],i=[],v=[],t=r.boundIQR,u=t==="none"||t===0,o=0;o<a.length;o++){v.push(o+"");var l=R(a[o].slice()),s=m(l,.25),d=m(l,.5),p=m(l,.75),b=l[0],c=l[l.length-1],g=(t??1.5)*(p-s),h=u?b:Math.max(b,s-g),w=u?c:Math.min(c,p+g);e.push([h,s,d,p,w]);for(var z=0;z<l.length;z++){var S=l[z];if(S<h||S>w){var T=[o,S];r.layout==="vertical"&&T.reverse(),i.push(T)}}}return{boxData:e,outliers:i,axisData:v}}var E="1.0.0";y&&(y.version=E,y.gexf=B,y.prepareBoxplotData=_);export{B as gexf,_ as prepareBoxplotData,E as version};

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1 +1 @@
import{conf as t,language as e}from"./typescript-a35cb59e.js";import"./editor.main-764b9cb1.js";import"./index-901b7a35.js";var r=t,a={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.operators,symbols:e.symbols,escapes:e.escapes,digits:e.digits,octaldigits:e.octaldigits,binarydigits:e.binarydigits,hexdigits:e.hexdigits,regexpctl:e.regexpctl,regexpesc:e.regexpesc,tokenizer:e.tokenizer};export{r as conf,a as language};
import{conf as t,language as e}from"./typescript-9ca15670.js";import"./editor.main-eb28362a.js";import"./index-d0c5dc95.js";var r=t,a={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.operators,symbols:e.symbols,escapes:e.escapes,digits:e.digits,octaldigits:e.octaldigits,binarydigits:e.binarydigits,hexdigits:e.hexdigits,regexpctl:e.regexpctl,regexpesc:e.regexpesc,tokenizer:e.tokenizer};export{r as conf,a as language};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1 +1 @@
import{l as e}from"./editor.main-764b9cb1.js";import"./index-901b7a35.js";var t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],o={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{%","%}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"%",close:"%"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+t.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+t.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:e.IndentAction.Indent}}]},r={defaultToken:"",tokenPostfix:"",builtinTags:["if","else","elseif","endif","render","assign","capture","endcapture","case","endcase","comment","endcomment","cycle","decrement","for","endfor","include","increment","layout","raw","endraw","render","tablerow","endtablerow","unless","endunless"],builtinFilters:["abs","append","at_least","at_most","capitalize","ceil","compact","date","default","divided_by","downcase","escape","escape_once","first","floor","join","json","last","lstrip","map","minus","modulo","newline_to_br","plus","prepend","remove","remove_first","replace","replace_first","reverse","round","rstrip","size","slice","sort","sort_natural","split","strip","strip_html","strip_newlines","times","truncate","truncatewords","uniq","upcase","url_decode","url_encode","where"],constants:["true","false"],operators:["==","!=",">","<",">=","<="],symbol:/[=><!]+/,identifier:/[a-zA-Z_][\w]*/,tokenizer:{root:[[/\{\%\s*comment\s*\%\}/,"comment.start.liquid","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@liquidState.root"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.root"}],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],comment:[[/\{\%\s*endcomment\s*\%\}/,"comment.end.liquid","@pop"],[/./,"comment.content.liquid"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],liquidState:[[/\{\{/,"delimiter.output.liquid"],[/\}\}/,{token:"delimiter.output.liquid",switchTo:"@$S2.$S3"}],[/\{\%/,"delimiter.tag.liquid"],[/raw\s*\%\}/,"delimiter.tag.liquid","@liquidRaw"],[/\%\}/,{token:"delimiter.tag.liquid",switchTo:"@$S2.$S3"}],{include:"liquidRoot"}],liquidRaw:[[/^(?!\{\%\s*endraw\s*\%\}).+/],[/\{\%/,"delimiter.tag.liquid"],[/@identifier/],[/\%\}/,{token:"delimiter.tag.liquid",next:"@root"}]],liquidRoot:[[/\d+(\.\d+)?/,"number.liquid"],[/"[^"]*"/,"string.liquid"],[/'[^']*'/,"string.liquid"],[/\s+/],[/@symbol/,{cases:{"@operators":"operator.liquid","@default":""}}],[/\./],[/@identifier/,{cases:{"@constants":"keyword.liquid","@builtinFilters":"predefined.liquid","@builtinTags":"predefined.liquid","@default":"variable.liquid"}}],[/[^}|%]/,"variable.liquid"]]}};export{o as conf,r as language};
import{l as e}from"./editor.main-eb28362a.js";import"./index-d0c5dc95.js";var t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],o={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{%","%}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"%",close:"%"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp("<(?!(?:"+t.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(?!(?:"+t.join("|")+"))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:e.IndentAction.Indent}}]},r={defaultToken:"",tokenPostfix:"",builtinTags:["if","else","elseif","endif","render","assign","capture","endcapture","case","endcase","comment","endcomment","cycle","decrement","for","endfor","include","increment","layout","raw","endraw","render","tablerow","endtablerow","unless","endunless"],builtinFilters:["abs","append","at_least","at_most","capitalize","ceil","compact","date","default","divided_by","downcase","escape","escape_once","first","floor","join","json","last","lstrip","map","minus","modulo","newline_to_br","plus","prepend","remove","remove_first","replace","replace_first","reverse","round","rstrip","size","slice","sort","sort_natural","split","strip","strip_html","strip_newlines","times","truncate","truncatewords","uniq","upcase","url_decode","url_encode","where"],constants:["true","false"],operators:["==","!=",">","<",">=","<="],symbol:/[=><!]+/,identifier:/[a-zA-Z_][\w]*/,tokenizer:{root:[[/\{\%\s*comment\s*\%\}/,"comment.start.liquid","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@liquidState.root"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.root"}],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],comment:[[/\{\%\s*endcomment\s*\%\}/,"comment.end.liquid","@pop"],[/./,"comment.content.liquid"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],liquidState:[[/\{\{/,"delimiter.output.liquid"],[/\}\}/,{token:"delimiter.output.liquid",switchTo:"@$S2.$S3"}],[/\{\%/,"delimiter.tag.liquid"],[/raw\s*\%\}/,"delimiter.tag.liquid","@liquidRaw"],[/\%\}/,{token:"delimiter.tag.liquid",switchTo:"@$S2.$S3"}],{include:"liquidRoot"}],liquidRaw:[[/^(?!\{\%\s*endraw\s*\%\}).+/],[/\{\%/,"delimiter.tag.liquid"],[/@identifier/],[/\%\}/,{token:"delimiter.tag.liquid",next:"@root"}]],liquidRoot:[[/\d+(\.\d+)?/,"number.liquid"],[/"[^"]*"/,"string.liquid"],[/'[^']*'/,"string.liquid"],[/\s+/],[/@symbol/,{cases:{"@operators":"operator.liquid","@default":""}}],[/\./],[/@identifier/,{cases:{"@constants":"keyword.liquid","@builtinFilters":"predefined.liquid","@builtinTags":"predefined.liquid","@default":"variable.liquid"}}],[/[^}|%]/,"variable.liquid"]]}};export{o as conf,r as language};

Binary file not shown.

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More