Merge branch 'master' of https://gitlab.zcorp.cc/easycorp/zentaopms into cyy_90779

This commit is contained in:
caoyanyi
2023-04-11 17:13:05 +08:00
128 changed files with 315 additions and 155 deletions
+16
View File
@@ -143,6 +143,22 @@ class action extends control
foreach($trashes as $trash) $executionIdList[] = $trash->execution;
$this->view->executionList = $this->execution->getByIdList($executionIdList, 'all');
}
/* Process pivot name. */
foreach($trashes as $trash)
{
if($trash->objectType == 'pivot')
{
$pivotNames = json_decode($trash->objectName, true);
$trash->objectName = zget($pivotNames, $this->app->getClientLang(), '');
if(empty($trash->objectName))
{
$pivotNames = array_filter($pivotNames);
$trash->objectName = reset($pivotNames);
}
}
}
/* Title and position. */
$this->view->title = $this->lang->action->trash;
$this->view->position[] = $this->lang->action->trash;
+12
View File
@@ -269,6 +269,14 @@ $lang->action->desc->linkbug = '$date, <strong>$actor</strong> link bugs <st
$lang->action->desc->unlinkstory = '$date, <strong>$actor</strong> remove stories <strong>$extra</strong> from plan.' . "\n";
$lang->action->desc->unlinkbug = '$date, <strong>$actor</strong> remove bugs <strong>$extra</strong> from plan.' . "\n";
/* Describes the history of operations when a document is saved as a draft or released. */
$lang->action->desc->saveddraft = '$date, 由 <strong>$actor</strong> save draft <strong>$extra</strong>。' . "\n";
$lang->action->desc->releaseddoc = '$date, 由 <strong>$actor</strong> released <strong>$extra</strong>。' . "\n";
/* This parameter describes historical operations that are performed when a document is collected or uncollected. */
$lang->action->desc->collected = '$date, 由 <strong>$actor</strong> collected <strong>$extra</strong>。' . "\n";
$lang->action->desc->uncollected = '$date, 由 <strong>$actor</strong> uncollected <strong>$extra</strong>。' . "\n";
/* Used to display dynamic information. */
$lang->action->label = new stdclass();
$lang->action->label->install = 'install ';
@@ -428,6 +436,10 @@ $lang->action->label->createdsnapshot = 'create snapshot';
$lang->action->label->restoredsnapshot = 'create snapshot';
$lang->action->label->editsnapshot = 'edit snapshot';
$lang->action->label->deletesnapshot = 'deleted snapshot';
$lang->action->label->saveddraft = 'save draft';
$lang->action->label->releaseddoc = 'released';
$lang->action->label->collected = 'collected';
$lang->action->label->uncollected = 'uncollected';
/* Dynamic information is grouped by object. */
$lang->action->dynamicAction = new stdclass;
+12
View File
@@ -269,6 +269,14 @@ $lang->action->desc->linkbug = '$date, <strong>$actor</strong> link bugs <st
$lang->action->desc->unlinkstory = '$date, <strong>$actor</strong> remove stories <strong>$extra</strong> from plan.' . "\n";
$lang->action->desc->unlinkbug = '$date, <strong>$actor</strong> remove bugs <strong>$extra</strong> from plan.' . "\n";
/* Describes the history of operations when a document is saved as a draft or released. */
$lang->action->desc->saveddraft = '$date, 由 <strong>$actor</strong> save draft <strong>$extra</strong>。' . "\n";
$lang->action->desc->releaseddoc = '$date, 由 <strong>$actor</strong> released <strong>$extra</strong>。' . "\n";
/* This parameter describes historical operations that are performed when a document is collected or uncollected. */
$lang->action->desc->collected = '$date, 由 <strong>$actor</strong> collected <strong>$extra</strong>。' . "\n";
$lang->action->desc->uncollected = '$date, 由 <strong>$actor</strong> uncollected <strong>$extra</strong>。' . "\n";
/* Used to display dynamic information. */
$lang->action->label = new stdclass();
$lang->action->label->install = 'install ';
@@ -428,6 +436,10 @@ $lang->action->label->createdsnapshot = 'create snapshot';
$lang->action->label->restoredsnapshot = 'create snapshot';
$lang->action->label->editsnapshot = 'edit snapshot';
$lang->action->label->deletesnapshot = 'deleted snapshot';
$lang->action->label->saveddraft = 'save draft';
$lang->action->label->releaseddoc = 'released';
$lang->action->label->collected = 'collected';
$lang->action->label->uncollected = 'uncollected';
/* Dynamic information is grouped by object. */
$lang->action->dynamicAction = new stdclass;
+12
View File
@@ -269,6 +269,14 @@ $lang->action->desc->linkbug = '$date, <strong>$actor</strong> link bugs <st
$lang->action->desc->unlinkstory = '$date, <strong>$actor</strong> remove stories <strong>$extra</strong> from plan.' . "\n";
$lang->action->desc->unlinkbug = '$date, <strong>$actor</strong> remove bugs <strong>$extra</strong> from plan.' . "\n";
/* Describes the history of operations when a document is saved as a draft or released. */
$lang->action->desc->saveddraft = '$date, 由 <strong>$actor</strong> save draft <strong>$extra</strong>。' . "\n";
$lang->action->desc->releaseddoc = '$date, 由 <strong>$actor</strong> released <strong>$extra</strong>。' . "\n";
/* This parameter describes historical operations that are performed when a document is collected or uncollected. */
$lang->action->desc->collected = '$date, 由 <strong>$actor</strong> collected <strong>$extra</strong>。' . "\n";
$lang->action->desc->uncollected = '$date, 由 <strong>$actor</strong> uncollected <strong>$extra</strong>。' . "\n";
/* Used to display dynamic information. */
$lang->action->label = new stdclass();
$lang->action->label->install = 'install ';
@@ -428,6 +436,10 @@ $lang->action->label->createdsnapshot = 'create snapshot';
$lang->action->label->restoredsnapshot = 'create snapshot';
$lang->action->label->editsnapshot = 'edit snapshot';
$lang->action->label->deletesnapshot = 'deleted snapshot';
$lang->action->label->saveddraft = 'save draft';
$lang->action->label->releaseddoc = 'released';
$lang->action->label->collected = 'collected';
$lang->action->label->uncollected = 'uncollected';
/* Dynamic information is grouped by object. */
$lang->action->dynamicAction = new stdclass();
+12
View File
@@ -269,6 +269,14 @@ $lang->action->desc->linkbug = '$date, 由 <strong>$actor</strong> 关联BUG
$lang->action->desc->unlinkstory = '$date, 由 <strong>$actor</strong> 从计划移除需求 <strong>$extra</strong>。' . "\n";
$lang->action->desc->unlinkbug = '$date, 由 <strong>$actor</strong> 从计划移除BUG <strong>$extra</strong>。' . "\n";
/* 用来描述文档保存为草稿或发布时的历史操作记录。*/
$lang->action->desc->saveddraft = '$date, 由 <strong>$actor</strong> 存为草稿 <strong>$extra</strong>。' . "\n";
$lang->action->desc->releaseddoc = '$date, 由 <strong>$actor</strong> 发布 <strong>$extra</strong>。' . "\n";
/* 用来描述文档收藏或取消收藏时的历史操作记录。*/
$lang->action->desc->collected = '$date, 由 <strong>$actor</strong> 收藏 <strong>$extra</strong>。' . "\n";
$lang->action->desc->uncollected = '$date, 由 <strong>$actor</strong> 取消收藏 <strong>$extra</strong>。' . "\n";
/* 用来显示动态信息。*/
$lang->action->label = new stdclass();
$lang->action->label->install = '安装了';
@@ -428,6 +436,10 @@ $lang->action->label->createdsnapshot = '创建了快照';
$lang->action->label->restoredsnapshot = '还原了快照';
$lang->action->label->editsnapshot = '编辑了快照';
$lang->action->label->deletesnapshot = '编辑了快照';
$lang->action->label->saveddraft = '存为草稿';
$lang->action->label->releaseddoc = '发布了';
$lang->action->label->collected = '收藏了';
$lang->action->label->uncollected = '取消收藏了';
/* 动态信息按照对象分组 */
$lang->action->dynamicAction = new stdclass();
+10
View File
@@ -1352,6 +1352,16 @@ class actionModel extends model
{
$action->objectName = $action->extra;
}
elseif($action->objectType == 'pivot')
{
$pivotNames = json_decode($action->objectName, true);
$action->objectName = zget($pivotNames, $this->app->getClientLang(), '');
if(empty($action->objectName))
{
$pivotNames = array_filter($pivotNames);
$action->objectName = reset($pivotNames);
}
}
$projectID = isset($relatedProjects[$action->objectType][$action->objectID]) ? $relatedProjects[$action->objectType][$action->objectID] : 0;
+6
View File
@@ -2053,6 +2053,12 @@ class block extends control
*/
public function printDocDynamicBlock()
{
/* Load pager. */
$this->app->loadClass('pager', $static = true);
$pager = new pager(0, 30, 1);
$this->view->actions = $this->loadModel('doc')->getDynamic($pager);
$this->view->users = $this->loadModel('user')->getPairs('nodeleted|noletter|all');
}
/**
@@ -0,0 +1,36 @@
<?php if(empty($actions)): ?>
<div class='empty-tip'><?php echo $lang->block->emptyTip;?></div>
<?php else:?>
<style>
.block-docdynamic .timeline > li .timeline-text {max-width: 600px; display: block; white-space: nowrap; overflow: hidden; text-overflow: clip; max-height: 20px;}
.block-docdynamic .panel-body {padding-top: 0;}
.timeline > li:before {left: -26px;}
.timeline > li + li:after {left: -23px;}
.timeline-text {margin-left: -18px;}
.block-docdynamic .label-action {padding: 0 6px;}
.block-docdynamic .label-action + a {padding-left: 6px;}
.timeline > li.active:before {left: -30px; background-color: #FFF;}
.timeline > li.collected > div:after {background-color: #FFAF65;}
.timeline > li.releaseddoc > div:after {background-color: #66A2FF;}
.timeline > li > div:after {left: -27px;}
.timeline > li > div > .timeline-tag, .timeline > li > div > .timeline-text > .label-action {color: #838A9D;}
.timeline > li > div > .timeline-text > a {color: #313C52;}
</style>
<div class='panel-body scrollbar-hover'>
<ul class="timeline timeline-tag-left no-margin">
<?php
$i = 0;
foreach($actions as $action)
{
$user = zget($users, $action->actor);
$class = in_array($action->action, array('releaseddoc', 'collected')) ? "active {$action->action}" : '';
echo "<li class='$class'><div>";
if($action->objectLink) printf($lang->block->dynamicInfo, $action->date, $user, $action->actionLabel, $action->objectLabel, $action->objectLink, $action->objectName, $action->objectName);
if(!$action->objectLink) printf($lang->block->noLinkDynamic, $action->date, $action->objectName, $user, $action->actionLabel, $action->objectLabel, ' ' . $action->objectName);
echo "</div></li>";
$i++;
}
?>
</ul>
</div>
<?php endif;?>
+1 -1
View File
@@ -2,7 +2,7 @@
<div class='empty-tip'><?php echo $lang->block->emptyTip;?></div>
<?php else:?>
<style>
.block-dynamic .timeline > li .timeline-text {max-width: 600px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-height: 20px;}
.block-dynamic .timeline > li .timeline-text {max-width: 600px; display: block; white-space: nowrap; overflow: hidden; text-overflow: clip; max-height: 20px;}
.block-dynamic .panel-body {padding-top: 0;}
.timeline > li:before {left: -26px;}
.timeline > li + li:after {left: -23px;}
+2
View File
@@ -3,3 +3,5 @@ $config->dimension->changeDimensionLink = array();
$config->dimension->changeDimensionLink['screen-browse'] = 'screen|browse|dimensionID=%s';
$config->dimension->changeDimensionLink['pivot-preview'] = 'pivot|preview|dimensionID=%s';
$config->dimension->changeDimensionLink['chart-preview'] = 'chart|preview|dimensionID=%s';
$config->dimension->defaultDimension = array('efficiency', 'quality');
+22 -4
View File
@@ -93,7 +93,14 @@ class doc extends control
$docs = array();
if($type == 'mine')
{
$docs = $browseType == 'bysearch' ? $this->doc->getDocsBySearch('mine', 0, $libID, $queryID, $orderBy, $pager) : $this->doc->getDocs($libID, $moduleID, $browseType, $orderBy, $pager);
if($browseType != 'bysearch' and !$libID)
{
$docs = array();
}
else
{
$docs = $browseType == 'bysearch' ? $this->doc->getDocsBySearch('mine', 0, $libID, $queryID, $orderBy, $pager) : $this->doc->getDocs($libID, $moduleID, $browseType, $orderBy, $pager);
}
}
elseif($type == 'view' or $type == 'collect' or $type == 'createdby')
{
@@ -375,7 +382,8 @@ class doc extends control
$fileAction = '';
if(!empty($files)) $fileAction = $this->lang->addFiles . join(',', $files) . "\n";
$this->action->create('doc', $docID, 'Created', $fileAction);
$actionType = $_POST['status'] == 'draft' ? 'savedDraft' : 'releasedDoc';
$this->action->create('doc', $docID, $actionType, $fileAction);
if($this->viewType == 'json') return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'id' => $docID));
$objectID = zget($lib, $lib->type, 0);
@@ -521,6 +529,8 @@ class doc extends control
*/
public function edit($docID, $comment = false, $objectType = '', $objectID = 0, $libID = 0, $from = 'edit')
{
$doc = $this->doc->getById($docID);
if(!empty($_POST))
{
if($comment == false || $comment == 'false')
@@ -532,7 +542,14 @@ class doc extends control
}
if($this->post->comment != '' or !empty($changes) or !empty($files))
{
$action = !empty($changes) ? 'Edited' : 'Commented';
$action = 'Commented';
if(!empty($changes))
{
$newType = $_POST['status'];
if($doc->status == 'draft' and $newType == 'draft') $action = 'savedDraft';
if($doc->status == 'draft' and $newType == 'normal') $action = 'releasedDoc';
if($doc->status == 'normal' and $newType == 'normal') $action = 'Edited';
}
$fileAction = '';
if(!empty($files)) $fileAction = $this->lang->addFiles . join(',', $files) . "\n";
$actionID = $this->action->create('doc', $docID, $action, $fileAction . $this->post->comment);
@@ -554,7 +571,6 @@ class doc extends control
}
/* Get doc and set menu. */
$doc = $this->doc->getById($docID);
$libID = $doc->lib;
if($doc->contentType == 'markdown') $this->config->doc->markdown->edit = array('id' => 'content', 'tools' => 'toolbar');
@@ -758,10 +774,12 @@ class doc extends control
if($action)
{
$this->doc->deleteAction($action->id);
$this->action->create('doc', $objectID, 'uncollected');
}
else
{
$this->doc->createAction($objectID, 'collect');
$this->action->create('doc', $objectID, 'collected');
}
return $this->send(array('status' => $action ? 'no' : 'yes'));
+2 -1
View File
@@ -104,6 +104,7 @@ ol, ul {margin-bottom: 0}
#subHeader .list-group>a.selected {color: #e9f2fb !important;}
#pageNav #dropMenu .table-col .list-group .icon-move {display:block; float: left; font-size: 12px; padding: 3px 4px 3px 1px;}
#content .detail-content.article-content {overflow-y: auto; height: calc(100vh - 300px);}
#aclBox .acl-tip {color: #838a9d;}
.ajaxCollect > img.star-empty {margin-right: 0px;}
#outlineMenu {position: absolute; height: calc(100vh - 200px)!important; overflow-y: auto;}
#outlineMenu {background: #fff; position: absolute; height: calc(100vh - 200px)!important; overflow-y: auto; top: 50px; right: 20px;}
+11 -7
View File
@@ -1,7 +1,7 @@
.h-full-adjust {overflow-y: auto; height: calc(100vh - 120px);}
.main-col .block-files .panel-heading {padding-right: 20px;}
.main-col .block-files .panel-heading .panel-title {height: 35px; line-height: 30px;}
.main-col .doc-title {display: flex; font-size: 16px; margin-bottom: 15px;}
.main-col .doc-title {display: flex; font-size: 16px; margin-bottom: 10px;}
.main-col .doc-title .title {margin-right: 10px; line-height: 32px; font-size: 25px;}
.main-col .doc-title .info {flex: 1 1 0;}
.main-col .doc-title .version a {font-size: 13px; color: #8c8c8c;}
@@ -9,7 +9,6 @@
.main-col .doc-title .actions a + a {margin-left: 0px;}
.main-col .doc-title .actions i {font-size: 15px; color: #8c8c8c;}
#content .title {max-width: 54%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
#content .detail-content {padding-left: 10px;}
#mainContent .scrollbar-hover {max-height: 2000px; overflow: scroll;}
#content .editor-preview {background: #fff}
#content .CodeMirror{border: none}
@@ -20,13 +19,16 @@
.hide-sidebar #sidebar>.sidebar-toggle>.icon:before {content: "\e314";}
.detail.empty {line-height: 200px;}
.main-col iframe {min-height: 380px;}
.article-content .keywords {margin-bottom: 15px;}
.article-content {margin-top: 0px}
.article-content .info {margin-bottom: 15px; width:100%; overflow:hidden;}
.article-content .info .user-time{margin-right: 16px}
.article-content .info .keywords .label {padding-right:8px; padding-left:8px; color:#18A6FD; border-color:rgba(24, 166, 253, 0.25); height:22px; line-height:14px; margin-right:4px;}
.article-content {width: 100%; display: inline-block;}
.outline {position: relative;}
.outline .outline-toggle i.icon-angle-right, i.icon-angle-left {width: 18px; height: 18px; border-radius: 50%; position: absolute; padding-left: 2px; padding-top: 1px;}
.outline .outline-toggle i.icon-angle-right:before {content: "\e314"; cursor: pointer;}
.outline .outline-toggle i.icon-angle-left:before {content: "\e315"; cursor: pointer;}
/* .outline-toggle i.icon-angle-right, i.icon-angle-left {width: 18px; height: 18px; border-radius: 50%; position: absolute; padding-left: 2px; padding-top: 1px;} */
.outline-toggle {position: absolute; right: 20px; top: 50px;}
.outline-toggle i.icon-angle-right:before {content: "\e314"; cursor: pointer;}
.outline-toggle i.icon-angle-left:before {content: "\e315"; cursor: pointer;}
.outline ul li {list-style: none;}
.outline-content {display: none; padding-top: 18px;}
.outline-content a {color: #838A9D;}
@@ -58,6 +60,7 @@
.panel {margin-bottom: 0;}
.detail {margin: 0 4px;}
#mainContent > .panel {margin-bottom: 0; overflow-y: auto;}
#mainContent > .main-col{flex: auto;}
.info .version, .info .crumbs {float: left;}
.crumbs img {margin-right: 3px; margin-bottom: 4px;}
@@ -66,3 +69,4 @@
.crumbs .separator {flex: 0 0 15px; display: flex; justify-content: center; align-items: center;}
.crumbs :last-child {flex: none;}
.main-col {position: relative;}
+2
View File
@@ -289,6 +289,8 @@ $(document).ready(function()
$(document).on('mousedown', '.ajaxCollect', function (event)
{
if(event.button != 0) return;
var obj = $(this);
var url = obj.data('url');
$.get(url, function(response)
+3 -4
View File
@@ -141,17 +141,16 @@ $(function()
$('.outline').height($('.article-content').height());
$('#content').on('click', '.outline .outline-toggle i.icon-angle-right', function()
$('body').on('click', '.outline-toggle i.icon-angle-right', function()
{
$('.article-content').css('width', '85%');
$('.outline').css({'min-width' : '180px', 'border-left' : '2px solid #efefef'});
$(this).removeClass('icon-angle-right').addClass('icon-angle-left').css('left', '-9px');
$('.outline-content').show();
if($('#sidebar>.cell').is(':visible')) $('#sidebar .icon.icon-angle-right').trigger("click");
}).on('click', '.outline .outline-toggle i.icon-angle-left', function()
}).on('click', '.outline-toggle i.icon-angle-left', function()
{
$('.article-content').width('100%');
$(this).removeClass('icon-angle-left').addClass('icon-angle-right');
$('.outline').css({'min-width' : '180px', 'border-left' : 'none'});
$('.outline-content').hide();
}).on('click', '#outline li', function(e)
{
+1
View File
@@ -117,6 +117,7 @@ $lang->doc->main = 'Main Document Library';
$lang->doc->order = 'Order';
$lang->doc->doc = 'Document';
$lang->doc->updateOrder = 'Update Order';
$lang->doc->update = 'Update';
$lang->doc->nextStep = 'Next';
$lang->doc->closed = 'Closed';
$lang->doc->saveDraft = 'Save Draft';
+1
View File
@@ -117,6 +117,7 @@ $lang->doc->main = 'Main Document Library';
$lang->doc->order = 'Order';
$lang->doc->doc = 'Document';
$lang->doc->updateOrder = 'Update Order';
$lang->doc->update = 'Update';
$lang->doc->nextStep = 'Next';
$lang->doc->closed = 'Closed';
$lang->doc->saveDraft = 'Save Draft';
+1
View File
@@ -117,6 +117,7 @@ $lang->doc->main = 'Main Document Library';
$lang->doc->order = 'Order';
$lang->doc->doc = 'Document';
$lang->doc->updateOrder = 'Update Order';
$lang->doc->update = 'Update';
$lang->doc->nextStep = 'Next';
$lang->doc->closed = 'Closed';
$lang->doc->saveDraft = 'Save Draft';
+1
View File
@@ -117,6 +117,7 @@ $lang->doc->main = '文档主库';
$lang->doc->order = '排序';
$lang->doc->doc = '文档';
$lang->doc->updateOrder = '更新排序';
$lang->doc->update = '更新';
$lang->doc->nextStep = '下一步';
$lang->doc->closed = '已关闭';
$lang->doc->saveDraft = '存为草稿';
+19
View File
@@ -3341,6 +3341,25 @@ class docModel extends model
return $otherEditing;
}
/**
* Get document dynamic.
*
* @param object $pager
* @access public
* @return array
*/
public function getDynamic($pager = null)
{
$actions = $this->dao->select('*')->from(TABLE_ACTION)
->where('objectType')->in('doclib,doc')
->andWhere('vision')->eq($this->config->vision)
->orderBy('date_desc')
->page($pager)
->fetchAll();
return $this->loadModel('action')->transformActions($actions);
}
/**
* Remove editing.
*
+19 -18
View File
@@ -26,8 +26,6 @@
</ul>
</div>
</div>
<div class="user"></div>
<div class="time"></div>
</div>
<div class="actions">
<span class='text'><?php echo$lang->doc->diff?></span>
@@ -73,15 +71,18 @@
<?php endif;?>
</div>
</div>
<div class="table-row">
<div class="">
<div class="detail-content article-content table-col">
<?php if($doc->keywords):?>
<p class='keywords'>
<?php foreach($doc->keywords as $keywords):?>
<?php if($keywords) echo "<span class='label label-outline'>$keywords</span>";?>
<?php endforeach;?>
</p>
<?php endif;?>
<div class='info'>
<span class='user-time text-muted'><i class='icon icon-account'></i> <?php echo zget($users, $doc->editedBy) . " {$lang->colon} " . substr($doc->editedDate, 0, 10) . (common::checkNotCN() ? ' ' : '') . $lang->doc->update;?></span>
<?php if($doc->keywords):?>
<span class='keywords'>
<?php foreach($doc->keywords as $keywords):?>
<?php if($keywords) echo "<span class='label label-outline' title='{$keywords}'>{$keywords}</span>";?>
<?php endforeach;?>
</span>
<?php endif;?>
</div>
<?php
if($doc->type == 'url' and $autoloadPage)
{
@@ -144,14 +145,6 @@
<?php endif;?>
<?php endforeach;?>
</div>
<?php if(!empty($outline) and strip_tags($outline)):?>
<div id="outlineMenu" class="outline table-col">
<div class="outline-toggle"><i class="icon icon-angle-right"></i></div>
<div class="outline-content">
<?php echo $outline;?>
</div>
</div>
<?php endif;?>
</div>
</div>
<?php echo $this->fetch('file', 'printFiles', array('files' => $doc->files, 'fieldset' => 'true', 'object' => $doc));?>
@@ -159,6 +152,14 @@
<?php common::printPreAndNext($preAndNext);?>
</div>
</div>
<?php if(!empty($outline) and strip_tags($outline)):?>
<div id="outlineMenu" class="outline table-col">
<div class="outline-content">
<?php echo $outline;?>
</div>
</div>
<div class="outline-toggle"><i class="icon icon-angle-right"></i></div>
<?php endif;?>
<div id="history" class='panel hidden' style="margin-left: 2px;">
<?php
$canBeChanged = common::canBeChanged('doc', $doc);
+14 -20
View File
@@ -8210,29 +8210,23 @@ class upgradeModel extends model
public function createDefaultDimension()
{
/* Create default dimension. */
$this->app->loadLang('dimension');
$dimension = new stdclass();
$dimension->name = $this->lang->dimension->efficiency;
$dimension->code = 'efficiency';
$dimension->desc = '';
$dimension->createdBy = 'system';
$dimension->createdDate = helper::now();
$this->loadModel('dimension');
foreach($this->config->dimension->defaultDimension as $dimensionName)
{
$dimension = new stdclass();
$dimension->name = $this->lang->dimension->{$dimensionName};
$dimension->code = $dimensionName;
$dimension->desc = '';
$dimension->createdBy = 'system';
$dimension->createdDate = helper::now();
$this->dao->insert(TABLE_DIMENSION)->data($dimension)->exec();
$dimensionID = $this->dao->lastInsertID();
$this->dao->insert(TABLE_DIMENSION)->data($dimension)->exec();
$dimensionID = $this->dao->lastInsertID();
$this->loadModel('upgrade')->addDefaultModules4BI('chart', $dimensionID);
$this->loadModel('upgrade')->addDefaultModules4BI('pivot', $dimensionID);
$dimension = new stdclass();
$dimension->name = $this->lang->dimension->quality;
$dimension->code = 'quality';
$dimension->desc = '';
$dimension->createdBy = 'system';
$dimension->createdDate = helper::now();
$this->dao->insert(TABLE_DIMENSION)->data($dimension)->exec();
$this->addDefaultModules4BI('chart', $dimensionID);
$this->addDefaultModules4BI('pivot', $dimensionID);
}
return !dao::isError();
}
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.
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.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -1 +1 @@
var T=Object.defineProperty;var a=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;var r=(e,t,s)=>t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,i=(e,t)=>{for(var s in t||(t={}))h.call(t,s)&&r(e,s,t[s]);if(a)for(var s of a(t))l.call(t,s)&&r(e,s,t[s]);return e};import{c1 as g,aA as p,D as u,S as y}from"./index.js";import{u as A}from"./chartEditStore-3e77cffb.js";var n=(e=>(e.SINGLE="single",e.DOUBLE="double",e))(n||{}),c=(e=>(e.THUMBNAIL="thumbnail",e.TEXT="text",e))(c||{}),S=(e=>(e.LAYERS="layers",e.CHARTS="charts",e.DETAILS="details",e.Chart_TYPE="chartType",e.LAYER_TYPE="layerType",e.PERCENTAGE="percentage",e.RE_POSITION_CANVAS="rePositionCanvas",e))(S||{});const C=A(),{GO_CHART_LAYOUT_STORE:o}=y,L=g(o),d=p({id:"useChartLayoutStore",state:()=>i({layers:!0,charts:!0,details:!1,chartType:n.SINGLE,layerType:c.THUMBNAIL,percentage:0,rePositionCanvas:!1},L),getters:{getLayers(){return this.layers},getCharts(){return this.charts},getDetails(){return this.details},getChartType(){return this.chartType},getLayerType(){return this.layerType},getPercentage(){return this.percentage},getRePositionCanvas(){return this.rePositionCanvas}},actions:{setItem(e,t){this.$patch(s=>{s[e]=t}),u(o,this.$state),this.rePositionCanvas=!0,setTimeout(()=>{C.computedScale()},500)},setItemUnHandle(e,t){this.$patch(s=>{s[e]=t})}}});export{S as C,c as L,n as a,d as u};
var T=Object.defineProperty;var a=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;var r=(e,t,s)=>t in e?T(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,i=(e,t)=>{for(var s in t||(t={}))h.call(t,s)&&r(e,s,t[s]);if(a)for(var s of a(t))l.call(t,s)&&r(e,s,t[s]);return e};import{c1 as g,aA as p,D as u,S as y}from"./index.js";import{u as A}from"./chartEditStore-d3f71155.js";var n=(e=>(e.SINGLE="single",e.DOUBLE="double",e))(n||{}),c=(e=>(e.THUMBNAIL="thumbnail",e.TEXT="text",e))(c||{}),S=(e=>(e.LAYERS="layers",e.CHARTS="charts",e.DETAILS="details",e.Chart_TYPE="chartType",e.LAYER_TYPE="layerType",e.PERCENTAGE="percentage",e.RE_POSITION_CANVAS="rePositionCanvas",e))(S||{});const C=A(),{GO_CHART_LAYOUT_STORE:o}=y,L=g(o),d=p({id:"useChartLayoutStore",state:()=>i({layers:!0,charts:!0,details:!1,chartType:n.SINGLE,layerType:c.THUMBNAIL,percentage:0,rePositionCanvas:!1},L),getters:{getLayers(){return this.layers},getCharts(){return this.charts},getDetails(){return this.details},getChartType(){return this.chartType},getLayerType(){return this.layerType},getPercentage(){return this.percentage},getRePositionCanvas(){return this.rePositionCanvas}},actions:{setItem(e,t){this.$patch(s=>{s[e]=t}),u(o,this.$state),this.rePositionCanvas=!0,setTimeout(()=>{C.computedScale()},500)},setItemUnHandle(e,t){this.$patch(s=>{s[e]=t})}}});export{S as C,c as L,n as a,d as u};
@@ -1 +1 @@
var i=Object.defineProperty,h=Object.defineProperties;var p=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var m=(e,a,t)=>a in e?i(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,n=(e,a)=>{for(var t in a||(a={}))c.call(a,t)&&m(e,t,a[t]);if(r)for(var t of r(a))N.call(a,t)&&m(e,t,a[t]);return e},o=(e,a)=>h(e,p(a));import{ax as g,al as E}from"./index.js";import{P as C,b as y,e as u}from"./chartEditStore-3e77cffb.js";import{d as f,e as T}from"./index-9874a52e.js";import"./plugin-83b37cde.js";import"./icon-1c2ef7c6.js";import"./chartLayoutStore-c36eecb5.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-75baac0d.js";import"./CollapseItem-9a2c257c.js";import"./useTargetData.hook-5f6a49b0.js";const s={key:"ThreeEarth01",chartKey:"VThreeEarth01",conKey:"VCThreeEarth01",title:"\u4E09\u7EF4\u5730\u7403",category:f.THREE,categoryName:T.THREE,package:C.DECORATES,chartFrame:y.STATIC,image:"threeEarth01.png"};var d=[{startArray:{name:"\u676D\u5DDE",N:30.246026,E:120.210792},endArray:[{name:"\u66FC\u8C37",N:22,E:100.49074172973633},{name:"\u6FB3\u5927\u5229\u4E9A",N:-23.68477416688374,E:133.857421875},{name:"\u65B0\u7586\u7EF4\u543E\u5C14\u81EA\u6CBB\u533A",N:41.748,E:84.9023},{name:"\u5FB7\u9ED1\u5170",N:35,E:51},{name:"\u5FB7\u9ED1\u5170",N:35,E:51},{name:"\u7F8E\u56FD",N:34.125447565116126,E:241.7431640625},{name:"\u82F1\u56FD",N:51.508742458803326,E:359.82421875},{name:"\u5DF4\u897F",N:-9.96885060854611,E:668.1445312499999}]},{startArray:{name:"\u5317\u4EAC",N:39.89491,E:116.322056},endArray:[{name:"\u897F\u85CF",N:29.660361,E:91.132212},{name:"\u5E7F\u897F",N:22.830824,E:108.30616},{name:"\u6C5F\u897F",N:28.676493,E:115.892151},{name:"\u8D35\u9633",N:26.647661,E:106.630153}]}];const l={dataset:d};class V extends u{constructor(){super(...arguments),this.key=s.key,this.attr=o(n({},g),{w:800,h:800,zIndex:-1}),this.chartConfig=E(s),this.option=E(l)}}export{V as default,l as option};
var i=Object.defineProperty,h=Object.defineProperties;var p=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var m=(e,a,t)=>a in e?i(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,n=(e,a)=>{for(var t in a||(a={}))c.call(a,t)&&m(e,t,a[t]);if(r)for(var t of r(a))g.call(a,t)&&m(e,t,a[t]);return e},o=(e,a)=>h(e,p(a));import{ax as N,al as E}from"./index.js";import{P as C,b as y,e as u}from"./chartEditStore-d3f71155.js";import{e as f,g as T}from"./index-b4a67886.js";import"./plugin-7a3d1229.js";import"./icon-382bc9e7.js";import"./chartLayoutStore-03445fec.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-29bc1839.js";import"./CollapseItem-ec9d3473.js";import"./useTargetData.hook-b4867a83.js";const s={key:"ThreeEarth01",chartKey:"VThreeEarth01",conKey:"VCThreeEarth01",title:"\u4E09\u7EF4\u5730\u7403",category:f.THREE,categoryName:T.THREE,package:C.DECORATES,chartFrame:y.STATIC,image:"threeEarth01.png"};var d=[{startArray:{name:"\u676D\u5DDE",N:30.246026,E:120.210792},endArray:[{name:"\u66FC\u8C37",N:22,E:100.49074172973633},{name:"\u6FB3\u5927\u5229\u4E9A",N:-23.68477416688374,E:133.857421875},{name:"\u65B0\u7586\u7EF4\u543E\u5C14\u81EA\u6CBB\u533A",N:41.748,E:84.9023},{name:"\u5FB7\u9ED1\u5170",N:35,E:51},{name:"\u5FB7\u9ED1\u5170",N:35,E:51},{name:"\u7F8E\u56FD",N:34.125447565116126,E:241.7431640625},{name:"\u82F1\u56FD",N:51.508742458803326,E:359.82421875},{name:"\u5DF4\u897F",N:-9.96885060854611,E:668.1445312499999}]},{startArray:{name:"\u5317\u4EAC",N:39.89491,E:116.322056},endArray:[{name:"\u897F\u85CF",N:29.660361,E:91.132212},{name:"\u5E7F\u897F",N:22.830824,E:108.30616},{name:"\u6C5F\u897F",N:28.676493,E:115.892151},{name:"\u8D35\u9633",N:26.647661,E:106.630153}]}];const l={dataset:d};class V extends u{constructor(){super(...arguments),this.key=s.key,this.attr=o(n({},N),{w:800,h:800,zIndex:-1}),this.chartConfig=E(s),this.option=E(l)}}export{V as default,l as option};
-1
View File
@@ -1 +0,0 @@
var l=Object.defineProperty,m=Object.defineProperties;var n=Object.getOwnPropertyDescriptors;var t=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var o=(i,p,r)=>p in i?l(i,p,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[p]=r,e=(i,p)=>{for(var r in p||(p={}))h.call(p,r)&&o(i,r,p[r]);if(t)for(var r of t(p))g.call(p,r)&&o(i,r,p[r]);return i},s=(i,p)=>m(i,n(p));import{ax as c,al as a}from"./index.js";import{e as d}from"./chartEditStore-3e77cffb.js";import{F as f}from"./index-9874a52e.js";import"./plugin-83b37cde.js";import"./icon-1c2ef7c6.js";import"./chartLayoutStore-c36eecb5.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-75baac0d.js";import"./CollapseItem-9a2c257c.js";import"./useTargetData.hook-5f6a49b0.js";const C={dataset:3234,flipperLength:6,flipperBgColor:"#16293E",flipperTextColor:"#4A9EF8FF",flipperWidth:30,flipperHeight:50,flipperRadius:5,flipperGap:10,flipperType:"down",flipperSpeed:450};class B extends d{constructor(){super(...arguments),this.key=f.key,this.attr=s(e({},c),{w:300,h:100,zIndex:-1}),this.chartConfig=a(f),this.option=a(C)}}export{B as default,C as option};
-1
View File
@@ -1 +0,0 @@
import{al as o}from"./index.js";import{e as i}from"./chartEditStore-3e77cffb.js";import{g as t}from"./index-9874a52e.js";import"./plugin-83b37cde.js";import"./icon-1c2ef7c6.js";import"./chartLayoutStore-c36eecb5.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-75baac0d.js";import"./CollapseItem-9a2c257c.js";import"./useTargetData.hook-5f6a49b0.js";const r={dataset:"",fit:"contain",borderRadius:10};class C extends i{constructor(){super(...arguments),this.key=t.key,this.chartConfig=o(t),this.option=o(r)}}export{C as default,r as option};
@@ -1 +1 @@
var p=Object.defineProperty;var r=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var s=(o,i,t)=>i in o?p(o,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[i]=t,e=(o,i)=>{for(var t in i||(i={}))c.call(i,t)&&s(o,t,i[t]);if(r)for(var t of r(i))f.call(i,t)&&s(o,t,i[t]);return o};import{al as n}from"./index.js";import{e as m}from"./chartEditStore-3e77cffb.js";import{j as h}from"./index-9874a52e.js";import"./plugin-83b37cde.js";import"./icon-1c2ef7c6.js";import"./chartLayoutStore-c36eecb5.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-75baac0d.js";import"./CollapseItem-9a2c257c.js";import"./useTargetData.hook-5f6a49b0.js";var d=[["\u884C1\u52171","\u884C1\u52172","\u884C1\u52173"],["\u884C2\u52171","\u884C2\u52172","\u884C2\u52173"],["\u884C3\u52171","\u884C3\u52172","\u884C3\u52173"],["\u884C4\u52171","\u884C4\u52172","\u884C4\u52173"],["\u884C5\u52171","\u884C5\u52172","\u884C5\u52173"],["\u884C6\u52171","\u884C6\u52172","\u884C6\u52173"],["\u884C7\u52171","\u884C7\u52172","\u884C7\u52173"],["\u884C8\u52171","\u884C8\u52172","\u884C8\u52173"],["\u884C9\u52171","\u884C9\u52172","\u884C9\u52173"],["\u884C10\u52171","\u884C10\u52172","\u884C10\u52173"]];const u={header:["\u52171","\u52172","\u52173"],dataset:d,index:!0,columnWidth:[30,100,100],align:["center","right","right","right"],rowNum:5,waitTime:2,headerHeight:35,carousel:"single",headerBGC:"#00BAFF",oddRowBGC:"#003B51",evenRowBGC:"#0A2732"};class F extends m{constructor(i){super(),this.key=h.key,this.chartConfig=n(h),this.option=n(u);const{dataset:t,tableInfo:a,title:l}=i;this.chartConfig.title=l,this.option.dataset=t,this.option=e(e({},this.option),a),this.chartConfig.sourceID=i.sourceID,this.chartConfig.fields=i.fields,this.chartConfig.filters=i.filters}}export{F as default,u as option};
var p=Object.defineProperty;var r=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var s=(o,i,t)=>i in o?p(o,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[i]=t,e=(o,i)=>{for(var t in i||(i={}))c.call(i,t)&&s(o,t,i[t]);if(r)for(var t of r(i))f.call(i,t)&&s(o,t,i[t]);return o};import{al as n}from"./index.js";import{e as m}from"./chartEditStore-d3f71155.js";import{k as h}from"./index-b4a67886.js";import"./plugin-7a3d1229.js";import"./icon-382bc9e7.js";import"./chartLayoutStore-03445fec.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-29bc1839.js";import"./CollapseItem-ec9d3473.js";import"./useTargetData.hook-b4867a83.js";var d=[["\u884C1\u52171","\u884C1\u52172","\u884C1\u52173"],["\u884C2\u52171","\u884C2\u52172","\u884C2\u52173"],["\u884C3\u52171","\u884C3\u52172","\u884C3\u52173"],["\u884C4\u52171","\u884C4\u52172","\u884C4\u52173"],["\u884C5\u52171","\u884C5\u52172","\u884C5\u52173"],["\u884C6\u52171","\u884C6\u52172","\u884C6\u52173"],["\u884C7\u52171","\u884C7\u52172","\u884C7\u52173"],["\u884C8\u52171","\u884C8\u52172","\u884C8\u52173"],["\u884C9\u52171","\u884C9\u52172","\u884C9\u52173"],["\u884C10\u52171","\u884C10\u52172","\u884C10\u52173"]];const u={header:["\u52171","\u52172","\u52173"],dataset:d,index:!0,columnWidth:[30,100,100],align:["center","right","right","right"],rowNum:5,waitTime:2,headerHeight:35,carousel:"single",headerBGC:"#00BAFF",oddRowBGC:"#003B51",evenRowBGC:"#0A2732"};class F extends m{constructor(i){super(),this.key=h.key,this.chartConfig=n(h),this.option=n(u);const{dataset:t,tableInfo:a,title:l}=i;this.chartConfig.title=l,this.option.dataset=t,this.option=e(e({},this.option),a),this.chartConfig.sourceID=i.sourceID,this.chartConfig.fields=i.fields,this.chartConfig.filters=i.filters}}export{F as default,u as option};
@@ -1 +1 @@
import{al as a}from"./index.js";import{e as t}from"./chartEditStore-3e77cffb.js";import{T as o}from"./index-9874a52e.js";import"./plugin-83b37cde.js";import"./icon-1c2ef7c6.js";import"./chartLayoutStore-c36eecb5.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-75baac0d.js";import"./CollapseItem-9a2c257c.js";import"./useTargetData.hook-5f6a49b0.js";var r=[{name:"\u8363\u6210",value:26700},{name:"\u6CB3\u5357",value:20700},{name:"\u6CB3\u5317",value:18700},{name:"\u5F90\u5DDE",value:17800},{name:"\u6F2F\u6CB3",value:16756},{name:"\u4E09\u95E8\u5CE1",value:12343},{name:"\u90D1\u5DDE",value:9822},{name:"\u5468\u53E3",value:8912},{name:"\u6FEE\u9633",value:6834},{name:"\u4FE1\u9633",value:5875},{name:"\u65B0\u4E61",value:3832},{name:"\u5927\u540C",value:1811}];const i={dataset:r,rowNum:5,waitTime:2,unit:"",sort:!0,color:"#1370fb",textColor:"#CDD2F8FF",borderColor:"#1370fb80",carousel:"single",indexFontSize:12,leftFontSize:12,rightFontSize:12,valueFormatter(e){return e.value}};class F extends t{constructor(){super(...arguments),this.key=o.key,this.chartConfig=a(o),this.option=a(i)}}export{F as default,i as option};
import{al as a}from"./index.js";import{e as t}from"./chartEditStore-d3f71155.js";import{T as o}from"./index-b4a67886.js";import"./plugin-7a3d1229.js";import"./icon-382bc9e7.js";import"./chartLayoutStore-03445fec.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-29bc1839.js";import"./CollapseItem-ec9d3473.js";import"./useTargetData.hook-b4867a83.js";var r=[{name:"\u8363\u6210",value:26700},{name:"\u6CB3\u5357",value:20700},{name:"\u6CB3\u5317",value:18700},{name:"\u5F90\u5DDE",value:17800},{name:"\u6F2F\u6CB3",value:16756},{name:"\u4E09\u95E8\u5CE1",value:12343},{name:"\u90D1\u5DDE",value:9822},{name:"\u5468\u53E3",value:8912},{name:"\u6FEE\u9633",value:6834},{name:"\u4FE1\u9633",value:5875},{name:"\u65B0\u4E61",value:3832},{name:"\u5927\u540C",value:1811}];const i={dataset:r,rowNum:5,waitTime:2,unit:"",sort:!0,color:"#1370fb",textColor:"#CDD2F8FF",borderColor:"#1370fb80",carousel:"single",indexFontSize:12,leftFontSize:12,rightFontSize:12,valueFormatter(e){return e.value}};class F extends t{constructor(){super(...arguments),this.key=o.key,this.chartConfig=a(o),this.option=a(i)}}export{F as default,i as option};
+1
View File
@@ -0,0 +1 @@
var l=Object.defineProperty,m=Object.defineProperties;var n=Object.getOwnPropertyDescriptors;var t=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var o=(i,p,r)=>p in i?l(i,p,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[p]=r,e=(i,p)=>{for(var r in p||(p={}))h.call(p,r)&&o(i,r,p[r]);if(t)for(var r of t(p))d.call(p,r)&&o(i,r,p[r]);return i},s=(i,p)=>m(i,n(p));import{ax as g,al as a}from"./index.js";import{e as c}from"./chartEditStore-d3f71155.js";import{d as f}from"./index-b4a67886.js";import"./plugin-7a3d1229.js";import"./icon-382bc9e7.js";import"./chartLayoutStore-03445fec.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-29bc1839.js";import"./CollapseItem-ec9d3473.js";import"./useTargetData.hook-b4867a83.js";const C={dataset:3234,flipperLength:6,flipperBgColor:"#16293E",flipperTextColor:"#4A9EF8FF",flipperWidth:30,flipperHeight:50,flipperRadius:5,flipperGap:10,flipperType:"down",flipperSpeed:450};class B extends c{constructor(){super(...arguments),this.key=f.key,this.attr=s(e({},g),{w:300,h:100,zIndex:-1}),this.chartConfig=a(f),this.option=a(C)}}export{B as default,C as option};
@@ -1 +1 @@
import{al as o}from"./index.js";import{e as t}from"./chartEditStore-3e77cffb.js";import{N as r}from"./index-9874a52e.js";import"./plugin-83b37cde.js";import"./icon-1c2ef7c6.js";import"./chartLayoutStore-c36eecb5.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-75baac0d.js";import"./CollapseItem-9a2c257c.js";import"./useTargetData.hook-5f6a49b0.js";const e={dataset:1e5,from:0,dur:3,precision:0,showSeparator:!0,numberSize:34,numberColor:"#4a9ef8",prefixText:"\uFFE5",prefixColor:"#4a9ef8",suffixText:"\u5143",suffixColor:"#4a9ef8"};class g extends t{constructor(){super(...arguments),this.key=r.key,this.chartConfig=o(r),this.option=o(e)}}export{g as default,e as option};
import{al as o}from"./index.js";import{e as t}from"./chartEditStore-d3f71155.js";import{N as r}from"./index-b4a67886.js";import"./plugin-7a3d1229.js";import"./icon-382bc9e7.js";import"./chartLayoutStore-03445fec.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-29bc1839.js";import"./CollapseItem-ec9d3473.js";import"./useTargetData.hook-b4867a83.js";const e={dataset:1e5,from:0,dur:3,precision:0,showSeparator:!0,numberSize:34,numberColor:"#4a9ef8",prefixText:"\uFFE5",prefixColor:"#4a9ef8",suffixText:"\u5143",suffixColor:"#4a9ef8"};class g extends t{constructor(){super(...arguments),this.key=r.key,this.chartConfig=o(r),this.option=o(e)}}export{g as default,e as option};
@@ -1 +1 @@
import{al as o}from"./index.js";import{e as s}from"./chartEditStore-3e77cffb.js";import{k as i}from"./index-9874a52e.js";import"./plugin-83b37cde.js";import"./icon-1c2ef7c6.js";import"./chartLayoutStore-c36eecb5.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-75baac0d.js";import"./CollapseItem-9a2c257c.js";import"./useTargetData.hook-5f6a49b0.js";var a=[["\u884C1\u52171","\u884C1\u52172","\u884C1\u52173"],["\u884C2\u52171","\u884C2\u52172","\u884C2\u52173"],["\u884C3\u52171","\u884C3\u52172","\u884C3\u52173"],["\u884C4\u52171","\u884C4\u52172","\u884C4\u52173"],["\u884C5\u52171","\u884C5\u52172","\u884C5\u52173"],["\u884C6\u52171","\u884C6\u52172","\u884C6\u52173"],["\u884C7\u52171","\u884C7\u52172","\u884C7\u52173"],["\u884C8\u52171","\u884C8\u52172","\u884C8\u52173"],["\u884C9\u52171","\u884C9\u52172","\u884C9\u52173"],["\u884C10\u52171","\u884C10\u52172","\u884C10\u52173"]];const n={header:["\u52171","\u52172","\u52173"],dataset:a,index:!0,columnWidth:[30,100,100],align:["center","right","right","right"],rowNum:5,waitTime:2,headerHeight:35,carousel:"single",headerBGC:"#00BAFF",oddRowBGC:"#003B51",evenRowBGC:"#0A2732"};class k extends s{constructor(t){super(),this.key=i.key,this.chartConfig=o(i),this.option=o(n);const{dataset:e,title:r}=t;this.chartConfig.title=r,this.option.dataset=e,this.chartConfig.sourceID=t.sourceID,this.chartConfig.fields=t.fields}}export{k as default,n as option};
import{al as o}from"./index.js";import{e as s}from"./chartEditStore-d3f71155.js";import{l as i}from"./index-b4a67886.js";import"./plugin-7a3d1229.js";import"./icon-382bc9e7.js";import"./chartLayoutStore-03445fec.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-29bc1839.js";import"./CollapseItem-ec9d3473.js";import"./useTargetData.hook-b4867a83.js";var a=[["\u884C1\u52171","\u884C1\u52172","\u884C1\u52173"],["\u884C2\u52171","\u884C2\u52172","\u884C2\u52173"],["\u884C3\u52171","\u884C3\u52172","\u884C3\u52173"],["\u884C4\u52171","\u884C4\u52172","\u884C4\u52173"],["\u884C5\u52171","\u884C5\u52172","\u884C5\u52173"],["\u884C6\u52171","\u884C6\u52172","\u884C6\u52173"],["\u884C7\u52171","\u884C7\u52172","\u884C7\u52173"],["\u884C8\u52171","\u884C8\u52172","\u884C8\u52173"],["\u884C9\u52171","\u884C9\u52172","\u884C9\u52173"],["\u884C10\u52171","\u884C10\u52172","\u884C10\u52173"]];const n={header:["\u52171","\u52172","\u52173"],dataset:a,index:!0,columnWidth:[30,100,100],align:["center","right","right","right"],rowNum:5,waitTime:2,headerHeight:35,carousel:"single",headerBGC:"#00BAFF",oddRowBGC:"#003B51",evenRowBGC:"#0A2732"};class x extends s{constructor(t){super(),this.key=i.key,this.chartConfig=o(i),this.option=o(n);const{dataset:e,title:r}=t;this.chartConfig.title=r,this.option.dataset=e,this.chartConfig.sourceID=t.sourceID,this.chartConfig.fields=t.fields}}export{x as default,n as option};
+1
View File
@@ -0,0 +1 @@
import{al as o}from"./index.js";import{e as i}from"./chartEditStore-d3f71155.js";import{h as t}from"./index-b4a67886.js";import"./plugin-7a3d1229.js";import"./icon-382bc9e7.js";import"./chartLayoutStore-03445fec.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-29bc1839.js";import"./CollapseItem-ec9d3473.js";import"./useTargetData.hook-b4867a83.js";const r={dataset:"",fit:"contain",borderRadius:10};class h extends i{constructor(){super(...arguments),this.key=t.key,this.chartConfig=o(t),this.option=o(r)}}export{h as default,r as option};
@@ -1 +1 @@
var f=Object.defineProperty,l=Object.defineProperties;var m=Object.getOwnPropertyDescriptors;var o=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var p=(e,t,i)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,r=(e,t)=>{for(var i in t||(t={}))u.call(t,i)&&p(e,i,t[i]);if(o)for(var i of o(t))d.call(t,i)&&p(e,i,t[i]);return e},s=(e,t)=>l(e,m(t));import{ax as h,al as a}from"./index.js";import{e as c}from"./chartEditStore-3e77cffb.js";import{c as n}from"./index-9874a52e.js";import"./plugin-83b37cde.js";import"./icon-1c2ef7c6.js";import"./chartLayoutStore-c36eecb5.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-75baac0d.js";import"./CollapseItem-9a2c257c.js";import"./useTargetData.hook-5f6a49b0.js";const g={dataset:10*60,useEndDate:!1,endDate:new Date().getTime(),style:"\u65F6\u5206\u79D2",showDay:!1,flipperBgColor:"#16293E",flipperTextColor:"#4A9EF8FF",flipperWidth:30,flipperHeight:50,flipperRadius:5,flipperGap:10,flipperType:"down",flipperSpeed:450};class A extends c{constructor(){super(...arguments),this.key=n.key,this.attr=s(r({},h),{w:500,h:100,zIndex:-1}),this.chartConfig=a(n),this.option=a(g)}}export{A as default,g as option};
var f=Object.defineProperty,l=Object.defineProperties;var m=Object.getOwnPropertyDescriptors;var o=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var p=(e,t,i)=>t in e?f(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,r=(e,t)=>{for(var i in t||(t={}))u.call(t,i)&&p(e,i,t[i]);if(o)for(var i of o(t))d.call(t,i)&&p(e,i,t[i]);return e},s=(e,t)=>l(e,m(t));import{ax as h,al as a}from"./index.js";import{e as c}from"./chartEditStore-d3f71155.js";import{c as n}from"./index-b4a67886.js";import"./plugin-7a3d1229.js";import"./icon-382bc9e7.js";import"./chartLayoutStore-03445fec.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-29bc1839.js";import"./CollapseItem-ec9d3473.js";import"./useTargetData.hook-b4867a83.js";const g={dataset:10*60,useEndDate:!1,endDate:new Date().getTime(),style:"\u65F6\u5206\u79D2",showDay:!1,flipperBgColor:"#16293E",flipperTextColor:"#4A9EF8FF",flipperWidth:30,flipperHeight:50,flipperRadius:5,flipperGap:10,flipperType:"down",flipperSpeed:450};class A extends c{constructor(){super(...arguments),this.key=n.key,this.attr=s(r({},h),{w:500,h:100,zIndex:-1}),this.chartConfig=a(n),this.option=a(g)}}export{A as default,g as option};
@@ -1 +1 @@
var p=Object.defineProperty,d=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var e=(o,t,i)=>t in o?p(o,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[t]=i,n=(o,t)=>{for(var i in t||(t={}))m.call(t,i)&&e(o,i,t[i]);if(r)for(var i of r(t))g.call(t,i)&&e(o,i,t[i]);return o},f=(o,t)=>d(o,l(t));import{al as a,ax as h}from"./index.js";import{e as c}from"./chartEditStore-3e77cffb.js";import{H as s}from"./index-9874a52e.js";import"./plugin-83b37cde.js";import"./icon-1c2ef7c6.js";import"./chartLayoutStore-c36eecb5.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-75baac0d.js";import"./CollapseItem-9a2c257c.js";import"./useTargetData.hook-5f6a49b0.js";const u={text:"",icon:"",textSize:30,textColor:"#ffffff",textWeight:"bold",placement:"left-top",distance:8,hint:"\u8FD9\u662F\u63D0\u793A\u6587\u672C",width:0,height:0,paddingX:16,paddingY:8,borderWidth:1,borderStyle:"solid",borderColor:"#1a77a5",borderRadius:6,color:"#ffffff",textAlign:"left",fontWeight:"normal",backgroundColor:"rgba(89, 196, 230, .2)",fontSize:24};class H extends c{constructor(){super(...arguments),this.key=s.key,this.chartConfig=a(s),this.option=a(u),this.attr=f(n({},h),{w:36,h:36,zIndex:1})}}export{H as default,u as option};
var p=Object.defineProperty,d=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var e=(o,t,i)=>t in o?p(o,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[t]=i,n=(o,t)=>{for(var i in t||(t={}))m.call(t,i)&&e(o,i,t[i]);if(r)for(var i of r(t))g.call(t,i)&&e(o,i,t[i]);return o},f=(o,t)=>d(o,l(t));import{al as a,ax as h}from"./index.js";import{e as c}from"./chartEditStore-d3f71155.js";import{H as s}from"./index-b4a67886.js";import"./plugin-7a3d1229.js";import"./icon-382bc9e7.js";import"./chartLayoutStore-03445fec.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-29bc1839.js";import"./CollapseItem-ec9d3473.js";import"./useTargetData.hook-b4867a83.js";const u={text:"",icon:"",textSize:30,textColor:"#ffffff",textWeight:"bold",placement:"left-top",distance:8,hint:"\u8FD9\u662F\u63D0\u793A\u6587\u672C",width:0,height:0,paddingX:16,paddingY:8,borderWidth:1,borderStyle:"solid",borderColor:"#1a77a5",borderRadius:6,color:"#ffffff",textAlign:"left",fontWeight:"normal",backgroundColor:"rgba(89, 196, 230, .2)",fontSize:24};class H extends c{constructor(){super(...arguments),this.key=s.key,this.chartConfig=a(s),this.option=a(u),this.attr=f(n({},h),{w:36,h:36,zIndex:1})}}export{H as default,u as option};
@@ -1 +1 @@
var u=Object.defineProperty,m=Object.defineProperties;var c=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var o=(a,e,t)=>e in a?u(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,r=(a,e)=>{for(var t in e||(e={}))b.call(e,t)&&o(a,t,e[t]);if(l)for(var t of l(e))g.call(e,t)&&o(a,t,e[t]);return a},i=(a,e)=>m(a,c(e));import{al as n,ax as p}from"./index.js";import{P as f,b as C,e as d}from"./chartEditStore-3e77cffb.js";import{Y as h}from"./tables_list-16bd57ab.js";import{h as v,i as y}from"./index-9874a52e.js";import"./plugin-83b37cde.js";import"./icon-1c2ef7c6.js";import"./chartLayoutStore-c36eecb5.js";/* empty css */import"./SettingItemBox-75baac0d.js";import"./CollapseItem-9a2c257c.js";import"./useTargetData.hook-5f6a49b0.js";const s={key:"Select",chartKey:"VSelect",conKey:"VCSelect",title:"\u9009\u62E9",category:v.MORE,categoryName:y.MORE,package:f.INFORMATIONS,chartFrame:C.COMMON,image:h};var k=[{label:"\u8BF7\u9009\u62E9",value:""},{label:"\u8363\u6210",value:"26700"},{label:"\u6CB3\u5357",value:"20700",disabled:!0},{label:"\u6CB3\u5317",value:"18700"},{label:"\u5F90\u5DDE",value:"17800"},{label:"\u6F2F\u6CB3",value:"16756"},{label:"\u4E09\u95E8\u5CE1",value:"12343"},{label:"\u90D1\u5DDE",value:"9822"},{label:"\u5468\u53E3",value:"8912"},{label:"\u6FEE\u9633",value:"6834"},{label:"\u4FE1\u9633",value:"5875"},{label:"\u65B0\u4E61",value:"3832"},{label:"\u5927\u540C",value:"1811"}];const E={dataset:k,value:"",borderWidth:1,borderStyle:"solid",borderColor:"#1a77a5",background:"none",borderRadius:6,color:"#ffffff",textAlign:"center",fontWeight:"normal",backgroundColor:"transparent",fontSize:20,onChange(a,e){}};class V extends d{constructor(){super(...arguments),this.key=s.key,this.chartConfig=n(s),this.option=n(E),this.attr=i(r({},p),{w:200,h:36,zIndex:1})}}export{V as default,E as option};
var u=Object.defineProperty,m=Object.defineProperties;var c=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var b=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var o=(a,e,t)=>e in a?u(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,r=(a,e)=>{for(var t in e||(e={}))b.call(e,t)&&o(a,t,e[t]);if(l)for(var t of l(e))g.call(e,t)&&o(a,t,e[t]);return a},i=(a,e)=>m(a,c(e));import{al as n,ax as p}from"./index.js";import{P as f,b as C,e as d}from"./chartEditStore-d3f71155.js";import{Y as v}from"./tables_list-16bd57ab.js";import{i as h,j as y}from"./index-b4a67886.js";import"./plugin-7a3d1229.js";import"./icon-382bc9e7.js";import"./chartLayoutStore-03445fec.js";/* empty css */import"./SettingItemBox-29bc1839.js";import"./CollapseItem-ec9d3473.js";import"./useTargetData.hook-b4867a83.js";const s={key:"Select",chartKey:"VSelect",conKey:"VCSelect",title:"\u9009\u62E9",category:h.MORE,categoryName:y.MORE,package:f.INFORMATIONS,chartFrame:C.COMMON,image:v};var k=[{label:"\u8BF7\u9009\u62E9",value:""},{label:"\u8363\u6210",value:"26700"},{label:"\u6CB3\u5357",value:"20700",disabled:!0},{label:"\u6CB3\u5317",value:"18700"},{label:"\u5F90\u5DDE",value:"17800"},{label:"\u6F2F\u6CB3",value:"16756"},{label:"\u4E09\u95E8\u5CE1",value:"12343"},{label:"\u90D1\u5DDE",value:"9822"},{label:"\u5468\u53E3",value:"8912"},{label:"\u6FEE\u9633",value:"6834"},{label:"\u4FE1\u9633",value:"5875"},{label:"\u65B0\u4E61",value:"3832"},{label:"\u5927\u540C",value:"1811"}];const E={dataset:k,value:"",borderWidth:1,borderStyle:"solid",borderColor:"#1a77a5",background:"none",borderRadius:6,color:"#ffffff",textAlign:"center",fontWeight:"normal",backgroundColor:"transparent",fontSize:20,onChange(a,e){}};class V extends d{constructor(){super(...arguments),this.key=s.key,this.chartConfig=n(s),this.option=n(E),this.attr=i(r({},p),{w:200,h:36,zIndex:1})}}export{V as default,E as option};
@@ -1 +1 @@
import{al as o}from"./index.js";import{e as t}from"./chartEditStore-3e77cffb.js";import{C as r}from"./index-9874a52e.js";import"./plugin-83b37cde.js";import"./icon-1c2ef7c6.js";import"./chartLayoutStore-c36eecb5.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-75baac0d.js";import"./CollapseItem-9a2c257c.js";import"./useTargetData.hook-5f6a49b0.js";const i={border:6,color:"#ffffff",bgColor:"#84a5e9",borderColor:"#ffffff"};class b extends t{constructor(){super(...arguments),this.key=r.key,this.chartConfig=o(r),this.option=o(i)}}export{b as default,i as option};
import{al as o}from"./index.js";import{e as t}from"./chartEditStore-d3f71155.js";import{C as r}from"./index-b4a67886.js";import"./plugin-7a3d1229.js";import"./icon-382bc9e7.js";import"./chartLayoutStore-03445fec.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-29bc1839.js";import"./CollapseItem-ec9d3473.js";import"./useTargetData.hook-b4867a83.js";const i={border:6,color:"#ffffff",bgColor:"#84a5e9",borderColor:"#ffffff"};class b extends t{constructor(){super(...arguments),this.key=r.key,this.chartConfig=o(r),this.option=o(i)}}export{b as default,i as option};
@@ -1 +1 @@
var n=Object.defineProperty,f=Object.defineProperties;var c=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var s=(o,t,i)=>t in o?n(o,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[t]=i,a=(o,t)=>{for(var i in t||(t={}))h.call(t,i)&&s(o,i,t[i]);if(r)for(var i of r(t))d.call(t,i)&&s(o,i,t[i]);return o},e=(o,t)=>f(o,c(t));import{ax as g,al as m}from"./index.js";import{e as l}from"./chartEditStore-3e77cffb.js";import{I as p}from"./index-9874a52e.js";import"./plugin-83b37cde.js";import"./icon-1c2ef7c6.js";import"./chartLayoutStore-c36eecb5.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-75baac0d.js";import"./CollapseItem-9a2c257c.js";import"./useTargetData.hook-5f6a49b0.js";const u={dataset:"",borderRadius:10};class j extends l{constructor(){super(...arguments),this.key=p.key,this.attr=e(a({},g),{w:1200,h:800,zIndex:-1}),this.chartConfig=m(p),this.option=m(u)}}export{j as default,u as option};
var n=Object.defineProperty,f=Object.defineProperties;var c=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var s=(o,t,i)=>t in o?n(o,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):o[t]=i,a=(o,t)=>{for(var i in t||(t={}))h.call(t,i)&&s(o,i,t[i]);if(r)for(var i of r(t))d.call(t,i)&&s(o,i,t[i]);return o},e=(o,t)=>f(o,c(t));import{ax as g,al as m}from"./index.js";import{e as l}from"./chartEditStore-d3f71155.js";import{I as p}from"./index-b4a67886.js";import"./plugin-7a3d1229.js";import"./icon-382bc9e7.js";import"./chartLayoutStore-03445fec.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-29bc1839.js";import"./CollapseItem-ec9d3473.js";import"./useTargetData.hook-b4867a83.js";const u={dataset:"",borderRadius:10};class j extends l{constructor(){super(...arguments),this.key=p.key,this.attr=e(a({},g),{w:1200,h:800,zIndex:-1}),this.chartConfig=m(p),this.option=m(u)}}export{j as default,u as option};
Binary file not shown.
@@ -1,4 +1,4 @@
var Le=Object.defineProperty;var Fe=(e,n,i)=>n in e?Le(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>(Fe(e,typeof n!="symbol"?n+"":n,i),i);import{m as je}from"./index-3e578e71.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-7df794f6.js";import"./icon-1c2ef7c6.js";/*!-----------------------------------------------------------------------------
var Le=Object.defineProperty;var Fe=(e,n,i)=>n in e?Le(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>(Fe(e,typeof n!="symbol"?n+"":n,i),i);import{m as je}from"./index-529b1762.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-4ccc04ab.js";import"./icon-382bc9e7.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
* Released under the MIT license
Binary file not shown.
@@ -1,4 +1,4 @@
var $=Object.defineProperty,v=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var f=(t,n,_)=>n in t?$(t,n,{enumerable:!0,configurable:!0,writable:!0,value:_}):t[n]=_,i=(t,n)=>{for(var _ in n||(n={}))D.call(n,_)&&f(t,_,n[_]);if(m)for(var _ of m(n))B.call(n,_)&&f(t,_,n[_]);return t},d=(t,n)=>v(t,E(n));import{m as C}from"./index-3e578e71.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-7df794f6.js";import"./icon-1c2ef7c6.js";/*!-----------------------------------------------------------------------------
var $=Object.defineProperty,v=Object.defineProperties;var E=Object.getOwnPropertyDescriptors;var m=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,B=Object.prototype.propertyIsEnumerable;var f=(t,n,_)=>n in t?$(t,n,{enumerable:!0,configurable:!0,writable:!0,value:_}):t[n]=_,i=(t,n)=>{for(var _ in n||(n={}))D.call(n,_)&&f(t,_,n[_]);if(m)for(var _ of m(n))B.call(n,_)&&f(t,_,n[_]);return t},d=(t,n)=>v(t,E(n));import{m as C}from"./index-529b1762.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-4ccc04ab.js";import"./icon-382bc9e7.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
* Released under the MIT license
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
import{m as i}from"./index-3e578e71.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-7df794f6.js";import"./icon-1c2ef7c6.js";/*!-----------------------------------------------------------------------------
import{m as i}from"./index-529b1762.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-4ccc04ab.js";import"./icon-382bc9e7.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
* Released under the MIT license
@@ -1,4 +1,4 @@
import{m as s}from"./index-3e578e71.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-7df794f6.js";import"./icon-1c2ef7c6.js";/*!-----------------------------------------------------------------------------
import{m as s}from"./index-529b1762.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-4ccc04ab.js";import"./icon-382bc9e7.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
* Released under the MIT license
Binary file not shown.
@@ -1,4 +1,4 @@
var Be=Object.defineProperty;var $e=(e,n,i)=>n in e?Be(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>($e(e,typeof n!="symbol"?n+"":n,i),i);import{m as qe}from"./index-3e578e71.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-7df794f6.js";import"./icon-1c2ef7c6.js";/*!-----------------------------------------------------------------------------
var Be=Object.defineProperty;var $e=(e,n,i)=>n in e?Be(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var E=(e,n,i)=>($e(e,typeof n!="symbol"?n+"":n,i),i);import{m as qe}from"./index-529b1762.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-4ccc04ab.js";import"./icon-382bc9e7.js";/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.33.0(4b1abad427e58dbedc1215d99a0902ffc885fcd4)
* Released under the MIT license
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -1 +1 @@
import{u as o}from"./useTargetData.hook-5f6a49b0.js";import{j as n,d as r,f as t,o as a,m as s,c,L as _,aa as i}from"./index.js";import"./chartEditStore-3e77cffb.js";import"./plugin-83b37cde.js";import"./icon-1c2ef7c6.js";const p={key:0,class:"go-chart-configurations-setting"},m=r({__name:"index",setup(d){const{targetData:e}=o();return(u,l)=>t(e)?(a(),s("div",p,[(a(),c(_(t(e).chartConfig.conKey),{optionData:t(e).option},null,8,["optionData"]))])):i("",!0)}});var D=n(m,[["__scopeId","data-v-2210075d"]]);export{D as default};
import{u as o}from"./useTargetData.hook-b4867a83.js";import{j as n,d as r,f as t,o as a,m as s,c,L as _,aa as i}from"./index.js";import"./chartEditStore-d3f71155.js";import"./plugin-7a3d1229.js";import"./icon-382bc9e7.js";const p={key:0,class:"go-chart-configurations-setting"},m=r({__name:"index",setup(d){const{targetData:e}=o();return(u,l)=>t(e)?(a(),s("div",p,[(a(),c(_(t(e).chartConfig.conKey),{optionData:t(e).option},null,8,["optionData"]))])):i("",!0)}});var D=n(m,[["__scopeId","data-v-2210075d"]]);export{D as default};
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -1 +1 @@
import{u as H}from"./chartEditStore-3e77cffb.js";import{j as N,d as R,v as Y,aP as m,R as M,r as u,o as h,m as S,e as a,w as l,f as t,c as P,p as d,aa as W,F as j,A as X,t as q}from"./index.js";import{i as F}from"./icon-1c2ef7c6.js";import{a as r,S as x}from"./SettingItemBox-75baac0d.js";/* empty css */import"./plugin-83b37cde.js";const G={class:"go-canvas-setting"},J=R({__name:"index",setup(K){const i=H(),e=i.getEditCanvasConfig,v=i.getEditCanvas,E=Y(0),{ScaleIcon:k,FitToScreenIcon:C,FitToWidthIcon:w}=F.carbon,{LockOpenOutlineIcon:A,LockClosedOutlineIcon:y}=F.ionicons5,B=[{label:"1366 \xD7 768",value:1366},{label:"1600 x 900",value:1600},{label:"1920 x 1080",value:1920},{label:"2560 x 1440",value:2560},{label:"3840 x 2160",value:3840},{label:"\u81EA\u5B9A\u4E49",value:0}],z=()=>{e.size===1366?(e.width=1366,e.height=768):e.size===1600?(e.width=1600,e.height=900):e.size===1920?(e.width=1920,e.height=1080):e.size===2560?(e.width=2560,e.height=1440):e.size===3840&&(e.width=3840,e.height=2160),i.computedScale()},D=[{key:m.FIT,title:"\u81EA\u9002\u5E94",icon:k,desc:"\u6309\u5C4F\u5E55\u6BD4\u4F8B\u81EA\u9002\u5E94 (\u7559\u767D\u53EF\u80FD\u53D8\u591A)"},{key:m.FULL,title:"\u94FA\u6EE1",icon:C,desc:"\u5F3A\u5236\u94FA\u6EE1 (\u5143\u7D20\u53EF\u80FD\u6324\u538B\u6216\u62C9\u4F38\u53D8\u5F62)"},{key:m.SCROLL_Y,title:"Y\u8F74\u6EDA\u52A8",icon:w,desc:"X\u8F74\u56FA\u5B9A\uFF0CY\u8F74\u81EA\u9002\u5E94\u6EDA\u52A8"}];M(()=>e.selectColor,c=>{E.value=c?0:1},{immediate:!0});const f=c=>c>50;let s=1;const b=()=>{e.lockScale&&(e.height=Math.round(e.width/s)),i.computedScale()},I=()=>{e.lockScale&&(e.width=Math.round(e.height*s)),i.computedScale()},L=()=>{e.lockScale=!e.lockScale,s=1,e.lockScale&&(s=e.width/e.height)};return(c,o)=>{const T=u("n-select"),p=u("n-text"),g=u("n-input"),U=u("n-icon"),O=u("n-radio"),_=u("n-space"),V=u("n-radio-group");return h(),S("div",G,[a(t(x),{name:"\u753B\u5E03\u5C3A\u5BF8",alone:!0,itemBoxStyle:{margin:"0px 0px 20px 0px"}},{default:l(()=>[a(t(r),null,{default:l(()=>[a(T,{class:"scale-btn",value:t(e).size,"onUpdate:value":[o[0]||(o[0]=n=>t(e).size=n),z],options:B},null,8,["value"])]),_:1})]),_:1}),t(e).size===0?(h(),P(t(x),{key:0,itemRightStyle:{gridTemplateColumns:"1fr 1fr 1fr"}},{default:l(()=>[a(t(r),{width:80},{default:l(()=>[a(g,{size:"small",value:t(e).width,"onUpdate:value":[o[1]||(o[1]=n=>t(e).width=n),b],disabled:t(v).lockScale,validator:f},{prefix:l(()=>[a(p,{depth:"3"},{default:l(()=>[d("\u5BBD")]),_:1})]),_:1},8,["value","disabled"])]),_:1}),a(t(r),{width:80},{default:l(()=>[a(g,{size:"small",value:t(e).height,"onUpdate:value":[o[2]||(o[2]=n=>t(e).height=n),I],disabled:t(v).lockScale,validator:f},{prefix:l(()=>[a(p,{depth:"3"},{default:l(()=>[d("\u9AD8")]),_:1})]),_:1},8,["value","disabled"])]),_:1}),a(t(r),{width:20},{default:l(()=>[a(U,{size:"16",style:{"margin-top":"4px"},component:t(e).lockScale?t(y):t(A),onClick:L},null,8,["component"])]),_:1})]),_:1})):W("",!0),a(_,{class:"detail",vertical:"",size:12},{default:l(()=>[a(_,null,{default:l(()=>[a(p,null,{default:l(()=>[d("\u9002\u914D\u65B9\u5F0F")]),_:1}),a(V,{value:t(e).previewScaleType,"onUpdate:value":o[3]||(o[3]=n=>t(e).previewScaleType=n),name:"radiogroup"},{default:l(()=>[a(_,null,{default:l(()=>[(h(),S(j,null,X(D,n=>a(O,{key:n.key,value:n.key},{default:l(()=>[d(q(n.desc),1)]),_:2},1032,["value"])),64))]),_:1})]),_:1},8,["value"])]),_:1})]),_:1})])}}});var le=N(J,[["__scopeId","data-v-2e7da65c"]]);export{le as default};
import{u as H}from"./chartEditStore-d3f71155.js";import{j as N,d as R,v as Y,aP as m,R as M,r as u,o as h,m as S,e as a,w as l,f as t,c as P,p as d,aa as W,F as j,A as X,t as q}from"./index.js";import{i as F}from"./icon-382bc9e7.js";import{a as r,S as x}from"./SettingItemBox-29bc1839.js";/* empty css */import"./plugin-7a3d1229.js";const G={class:"go-canvas-setting"},J=R({__name:"index",setup(K){const i=H(),e=i.getEditCanvasConfig,v=i.getEditCanvas,E=Y(0),{ScaleIcon:k,FitToScreenIcon:C,FitToWidthIcon:w}=F.carbon,{LockOpenOutlineIcon:A,LockClosedOutlineIcon:y}=F.ionicons5,B=[{label:"1366 \xD7 768",value:1366},{label:"1600 x 900",value:1600},{label:"1920 x 1080",value:1920},{label:"2560 x 1440",value:2560},{label:"3840 x 2160",value:3840},{label:"\u81EA\u5B9A\u4E49",value:0}],z=()=>{e.size===1366?(e.width=1366,e.height=768):e.size===1600?(e.width=1600,e.height=900):e.size===1920?(e.width=1920,e.height=1080):e.size===2560?(e.width=2560,e.height=1440):e.size===3840&&(e.width=3840,e.height=2160),i.computedScale()},D=[{key:m.FIT,title:"\u81EA\u9002\u5E94",icon:k,desc:"\u6309\u5C4F\u5E55\u6BD4\u4F8B\u81EA\u9002\u5E94 (\u7559\u767D\u53EF\u80FD\u53D8\u591A)"},{key:m.FULL,title:"\u94FA\u6EE1",icon:C,desc:"\u5F3A\u5236\u94FA\u6EE1 (\u5143\u7D20\u53EF\u80FD\u6324\u538B\u6216\u62C9\u4F38\u53D8\u5F62)"},{key:m.SCROLL_Y,title:"Y\u8F74\u6EDA\u52A8",icon:w,desc:"X\u8F74\u56FA\u5B9A\uFF0CY\u8F74\u81EA\u9002\u5E94\u6EDA\u52A8"}];M(()=>e.selectColor,c=>{E.value=c?0:1},{immediate:!0});const f=c=>c>50;let s=1;const b=()=>{e.lockScale&&(e.height=Math.round(e.width/s)),i.computedScale()},I=()=>{e.lockScale&&(e.width=Math.round(e.height*s)),i.computedScale()},L=()=>{e.lockScale=!e.lockScale,s=1,e.lockScale&&(s=e.width/e.height)};return(c,o)=>{const T=u("n-select"),p=u("n-text"),g=u("n-input"),U=u("n-icon"),O=u("n-radio"),_=u("n-space"),V=u("n-radio-group");return h(),S("div",G,[a(t(x),{name:"\u753B\u5E03\u5C3A\u5BF8",alone:!0,itemBoxStyle:{margin:"0px 0px 20px 0px"}},{default:l(()=>[a(t(r),null,{default:l(()=>[a(T,{class:"scale-btn",value:t(e).size,"onUpdate:value":[o[0]||(o[0]=n=>t(e).size=n),z],options:B},null,8,["value"])]),_:1})]),_:1}),t(e).size===0?(h(),P(t(x),{key:0,itemRightStyle:{gridTemplateColumns:"1fr 1fr 1fr"}},{default:l(()=>[a(t(r),{width:80},{default:l(()=>[a(g,{size:"small",value:t(e).width,"onUpdate:value":[o[1]||(o[1]=n=>t(e).width=n),b],disabled:t(v).lockScale,validator:f},{prefix:l(()=>[a(p,{depth:"3"},{default:l(()=>[d("\u5BBD")]),_:1})]),_:1},8,["value","disabled"])]),_:1}),a(t(r),{width:80},{default:l(()=>[a(g,{size:"small",value:t(e).height,"onUpdate:value":[o[2]||(o[2]=n=>t(e).height=n),I],disabled:t(v).lockScale,validator:f},{prefix:l(()=>[a(p,{depth:"3"},{default:l(()=>[d("\u9AD8")]),_:1})]),_:1},8,["value","disabled"])]),_:1}),a(t(r),{width:20},{default:l(()=>[a(U,{size:"16",style:{"margin-top":"4px"},component:t(e).lockScale?t(y):t(A),onClick:L},null,8,["component"])]),_:1})]),_:1})):W("",!0),a(_,{class:"detail",vertical:"",size:12},{default:l(()=>[a(_,null,{default:l(()=>[a(p,null,{default:l(()=>[d("\u9002\u914D\u65B9\u5F0F")]),_:1}),a(V,{value:t(e).previewScaleType,"onUpdate:value":o[3]||(o[3]=n=>t(e).previewScaleType=n),name:"radiogroup"},{default:l(()=>[a(_,null,{default:l(()=>[(h(),S(j,null,X(D,n=>a(O,{key:n.key,value:n.key},{default:l(()=>[d(q(n.desc),1)]),_:2},1032,["value"])),64))]),_:1})]),_:1},8,["value"])]),_:1})]),_:1})])}}});var le=N(J,[["__scopeId","data-v-2e7da65c"]]);export{le as default};
@@ -1 +1 @@
import{u as m}from"./chartLayoutStore-c36eecb5.js";import{d as i,u as _,v as s,a5 as d,R as f,r,o as h,c as g,w as v,z as a,e as C,f as x}from"./index.js";import"./chartEditStore-3e77cffb.js";import"./plugin-83b37cde.js";import"./icon-1c2ef7c6.js";const w=a("span",null," \u62FC\u547D\u52A0\u8F7D\u4E2D... ",-1),L=i({__name:"index",setup(y){const n=m(),c=_(),o=s(!1),t=s(0),u=d(()=>c.getAppTheme);return f(()=>n.getPercentage,e=>{if(e===0){setTimeout(()=>{t.value=e,o.value=!1},500);return}t.value=e,o.value=e>0}),(e,D)=>{const l=r("n-progress"),p=r("n-modal");return h(),g(p,{show:o.value,"close-on-esc":!1,"transform-origin":"center"},{default:v(()=>[a("div",null,[w,C(l,{type:"line",color:x(u),percentage:t.value,style:{width:"300px"}},null,8,["color","percentage"])])]),_:1},8,["show"])}}});export{L as default};
import{u as m}from"./chartLayoutStore-03445fec.js";import{d as i,u as _,v as s,a5 as d,R as f,r,o as h,c as g,w as v,z as a,e as C,f as x}from"./index.js";import"./chartEditStore-d3f71155.js";import"./plugin-7a3d1229.js";import"./icon-382bc9e7.js";const w=a("span",null," \u62FC\u547D\u52A0\u8F7D\u4E2D... ",-1),L=i({__name:"index",setup(y){const n=m(),c=_(),o=s(!1),t=s(0),u=d(()=>c.getAppTheme);return f(()=>n.getPercentage,e=>{if(e===0){setTimeout(()=>{t.value=e,o.value=!1},500);return}t.value=e,o.value=e>0}),(e,D)=>{const l=r("n-progress"),p=r("n-modal");return h(),g(p,{show:o.value,"close-on-esc":!1,"transform-origin":"center"},{default:v(()=>[a("div",null,[w,C(l,{type:"line",color:x(u),percentage:t.value,style:{width:"300px"}},null,8,["color","percentage"])])]),_:1},8,["show"])}}});export{L as default};
Binary file not shown.
@@ -1 +1 @@
import{j as x,d as w,bT as y,u as k,v as L,a5 as R,r as s,f as l,o as n,m as i,e as v,w as t,p as b,F as D,A as c,c as d,ad as S,t as U,aa as z}from"./index.js";/* empty css */import{_ as V}from"./CollapseItem-9a2c257c.js";import{u as T}from"./useTargetData.hook-5f6a49b0.js";import"./chartEditStore-3e77cffb.js";import"./plugin-83b37cde.js";import"./icon-1c2ef7c6.js";const $=[{label:"\u5F3A\u8C03\u52A8\u753B",children:[{label:"\u5F39\u8DF3",value:"bounce"},{label:"\u95EA\u70C1",value:"flash"},{label:"\u653E\u5927\u7F29\u5C0F",value:"pulse"},{label:"\u653E\u5927\u7F29\u5C0F\u5F39\u7C27",value:"rubberBand"},{label:"\u5DE6\u53F3\u6643\u52A8",value:"headShake"},{label:"\u5DE6\u53F3\u6247\u5F62\u6447\u6446",value:"swing"},{label:"\u653E\u5927\u6643\u52A8\u7F29\u5C0F",value:"tada"},{label:"\u6247\u5F62\u6447\u6446",value:"wobble"},{label:"\u5DE6\u53F3\u4E0A\u4E0B\u6643\u52A8",value:"jello"}]},{label:"\u79FB\u5165\u52A8\u753B",children:[{label:"\u6E10\u663E",value:"fadeIn"},{label:"\u5411\u53F3\u8FDB\u5165",value:"fadeInLeft"},{label:"\u5411\u5DE6\u8FDB\u5165",value:"fadeInRight"},{label:"\u5411\u4E0A\u8FDB\u5165",value:"fadeInUp"},{label:"\u5411\u4E0B\u8FDB\u5165",value:"fadeInDown"},{label:"\u5411\u53F3\u957F\u8DDD\u8FDB\u5165",value:"fadeInLeftBig"},{label:"\u5411\u5DE6\u957F\u8DDD\u8FDB\u5165",value:"fadeInRightBig"},{label:"\u5411\u4E0A\u957F\u8DDD\u8FDB\u5165",value:"fadeInUpBig"},{label:"\u5411\u4E0B\u957F\u8DDD\u8FDB\u5165",value:"fadeInDownBig"},{label:"\u65CB\u8F6C\u8FDB\u5165",value:"rotateIn"},{label:"\u5DE6\u987A\u65F6\u9488\u65CB\u8F6C",value:"rotateInDownLeft"},{label:"\u53F3\u9006\u65F6\u9488\u65CB\u8F6C",value:"rotateInDownRight"},{label:"\u5DE6\u9006\u65F6\u9488\u65CB\u8F6C",value:"rotateInUpLeft"},{label:"\u53F3\u9006\u65F6\u9488\u65CB\u8F6C",value:"rotateInUpRight"},{label:"\u5F39\u5165",value:"bounceIn"},{label:"\u5411\u53F3\u5F39\u5165",value:"bounceInLeft"},{label:"\u5411\u5DE6\u5F39\u5165",value:"bounceInRight"},{label:"\u5411\u4E0A\u5F39\u5165",value:"bounceInUp"},{label:"\u5411\u4E0B\u5F39\u5165",value:"bounceInDown"},{label:"\u5149\u901F\u4ECE\u53F3\u8FDB\u5165",value:"lightSpeedInRight"},{label:"\u5149\u901F\u4ECE\u5DE6\u8FDB\u5165",value:"lightSpeedInLeft"},{label:"\u5149\u901F\u4ECE\u53F3\u9000\u51FA",value:"lightSpeedOutRight"},{label:"\u5149\u901F\u4ECE\u5DE6\u9000\u51FA",value:"lightSpeedOutLeft"},{label:"Y\u8F74\u65CB\u8F6C",value:"flip"},{label:"\u4E2D\u5FC3X\u8F74\u65CB\u8F6C",value:"flipInX"},{label:"\u4E2D\u5FC3Y\u8F74\u65CB\u8F6C",value:"flipInY"},{label:"\u5DE6\u957F\u534A\u5F84\u65CB\u8F6C",value:"rollIn"},{label:"\u7531\u5C0F\u53D8\u5927\u8FDB\u5165",value:"zoomIn"},{label:"\u5DE6\u53D8\u5927\u8FDB\u5165",value:"zoomInLeft"},{label:"\u53F3\u53D8\u5927\u8FDB\u5165",value:"zoomInRight"},{label:"\u5411\u4E0A\u53D8\u5927\u8FDB\u5165",value:"zoomInUp"},{label:"\u5411\u4E0B\u53D8\u5927\u8FDB\u5165",value:"zoomInDown"},{label:"\u5411\u53F3\u6ED1\u52A8\u5C55\u5F00",value:"slideInLeft"},{label:"\u5411\u5DE6\u6ED1\u52A8\u5C55\u5F00",value:"slideInRight"},{label:"\u5411\u4E0A\u6ED1\u52A8\u5C55\u5F00",value:"slideInUp"},{label:"\u5411\u4E0B\u6ED1\u52A8\u5C55\u5F00",value:"slideInDown"}]}];const N={key:0,class:"go-chart-configurations-animations"},Y=w({__name:"index",setup(j){y(a=>({"3f9cae02":l(m)}));const E=k(),F=L(""),{targetData:e}=T(),m=R(()=>E.getAppTheme),C=a=>{const o=e.value.styles.animations;return o.length?o[0]===a:!1},_=()=>{e.value.styles.animations=[]},p=a=>{e.value.styles.animations=[a.value]};return(a,o)=>{const B=s("n-button"),f=s("n-grid-item"),g=s("n-grid");return l(e)?(n(),i("div",N,[v(B,{class:"clear-btn go-my-2",disabled:!l(e).styles.animations.length,onClick:_},{default:t(()=>[b(" \u6E05\u9664\u52A8\u753B ")]),_:1},8,["disabled"]),(n(!0),i(D,null,c(l($),(r,I)=>(n(),d(l(V),{key:I,name:r.label,expanded:!0},{default:t(()=>[v(g,{"x-gap":6,"y-gap":10,cols:3},{default:t(()=>[(n(!0),i(D,null,c(r.children,(u,A)=>(n(),d(f,{class:S(["animation-item go-transition-quick",[C(u.value)&&"active",F.value===u.value&&`animate__animated animate__${u.value}`]]),key:A,onMouseover:h=>F.value=u.value,onClick:h=>p(u)},{default:t(()=>[b(U(u.label),1)]),_:2},1032,["class","onMouseover","onClick"]))),128))]),_:2},1024)]),_:2},1032,["name"]))),128))])):z("",!0)}}});var J=x(Y,[["__scopeId","data-v-940a39fc"]]);export{J as default};
import{j as x,d as w,bT as y,u as k,v as L,a5 as R,r as s,f as l,o as n,m as i,e as v,w as t,p as b,F as D,A as c,c as d,ad as S,t as U,aa as z}from"./index.js";/* empty css */import{_ as V}from"./CollapseItem-ec9d3473.js";import{u as T}from"./useTargetData.hook-b4867a83.js";import"./chartEditStore-d3f71155.js";import"./plugin-7a3d1229.js";import"./icon-382bc9e7.js";const $=[{label:"\u5F3A\u8C03\u52A8\u753B",children:[{label:"\u5F39\u8DF3",value:"bounce"},{label:"\u95EA\u70C1",value:"flash"},{label:"\u653E\u5927\u7F29\u5C0F",value:"pulse"},{label:"\u653E\u5927\u7F29\u5C0F\u5F39\u7C27",value:"rubberBand"},{label:"\u5DE6\u53F3\u6643\u52A8",value:"headShake"},{label:"\u5DE6\u53F3\u6247\u5F62\u6447\u6446",value:"swing"},{label:"\u653E\u5927\u6643\u52A8\u7F29\u5C0F",value:"tada"},{label:"\u6247\u5F62\u6447\u6446",value:"wobble"},{label:"\u5DE6\u53F3\u4E0A\u4E0B\u6643\u52A8",value:"jello"}]},{label:"\u79FB\u5165\u52A8\u753B",children:[{label:"\u6E10\u663E",value:"fadeIn"},{label:"\u5411\u53F3\u8FDB\u5165",value:"fadeInLeft"},{label:"\u5411\u5DE6\u8FDB\u5165",value:"fadeInRight"},{label:"\u5411\u4E0A\u8FDB\u5165",value:"fadeInUp"},{label:"\u5411\u4E0B\u8FDB\u5165",value:"fadeInDown"},{label:"\u5411\u53F3\u957F\u8DDD\u8FDB\u5165",value:"fadeInLeftBig"},{label:"\u5411\u5DE6\u957F\u8DDD\u8FDB\u5165",value:"fadeInRightBig"},{label:"\u5411\u4E0A\u957F\u8DDD\u8FDB\u5165",value:"fadeInUpBig"},{label:"\u5411\u4E0B\u957F\u8DDD\u8FDB\u5165",value:"fadeInDownBig"},{label:"\u65CB\u8F6C\u8FDB\u5165",value:"rotateIn"},{label:"\u5DE6\u987A\u65F6\u9488\u65CB\u8F6C",value:"rotateInDownLeft"},{label:"\u53F3\u9006\u65F6\u9488\u65CB\u8F6C",value:"rotateInDownRight"},{label:"\u5DE6\u9006\u65F6\u9488\u65CB\u8F6C",value:"rotateInUpLeft"},{label:"\u53F3\u9006\u65F6\u9488\u65CB\u8F6C",value:"rotateInUpRight"},{label:"\u5F39\u5165",value:"bounceIn"},{label:"\u5411\u53F3\u5F39\u5165",value:"bounceInLeft"},{label:"\u5411\u5DE6\u5F39\u5165",value:"bounceInRight"},{label:"\u5411\u4E0A\u5F39\u5165",value:"bounceInUp"},{label:"\u5411\u4E0B\u5F39\u5165",value:"bounceInDown"},{label:"\u5149\u901F\u4ECE\u53F3\u8FDB\u5165",value:"lightSpeedInRight"},{label:"\u5149\u901F\u4ECE\u5DE6\u8FDB\u5165",value:"lightSpeedInLeft"},{label:"\u5149\u901F\u4ECE\u53F3\u9000\u51FA",value:"lightSpeedOutRight"},{label:"\u5149\u901F\u4ECE\u5DE6\u9000\u51FA",value:"lightSpeedOutLeft"},{label:"Y\u8F74\u65CB\u8F6C",value:"flip"},{label:"\u4E2D\u5FC3X\u8F74\u65CB\u8F6C",value:"flipInX"},{label:"\u4E2D\u5FC3Y\u8F74\u65CB\u8F6C",value:"flipInY"},{label:"\u5DE6\u957F\u534A\u5F84\u65CB\u8F6C",value:"rollIn"},{label:"\u7531\u5C0F\u53D8\u5927\u8FDB\u5165",value:"zoomIn"},{label:"\u5DE6\u53D8\u5927\u8FDB\u5165",value:"zoomInLeft"},{label:"\u53F3\u53D8\u5927\u8FDB\u5165",value:"zoomInRight"},{label:"\u5411\u4E0A\u53D8\u5927\u8FDB\u5165",value:"zoomInUp"},{label:"\u5411\u4E0B\u53D8\u5927\u8FDB\u5165",value:"zoomInDown"},{label:"\u5411\u53F3\u6ED1\u52A8\u5C55\u5F00",value:"slideInLeft"},{label:"\u5411\u5DE6\u6ED1\u52A8\u5C55\u5F00",value:"slideInRight"},{label:"\u5411\u4E0A\u6ED1\u52A8\u5C55\u5F00",value:"slideInUp"},{label:"\u5411\u4E0B\u6ED1\u52A8\u5C55\u5F00",value:"slideInDown"}]}];const N={key:0,class:"go-chart-configurations-animations"},Y=w({__name:"index",setup(j){y(a=>({"3f9cae02":l(m)}));const E=k(),F=L(""),{targetData:e}=T(),m=R(()=>E.getAppTheme),C=a=>{const o=e.value.styles.animations;return o.length?o[0]===a:!1},_=()=>{e.value.styles.animations=[]},p=a=>{e.value.styles.animations=[a.value]};return(a,o)=>{const B=s("n-button"),f=s("n-grid-item"),g=s("n-grid");return l(e)?(n(),i("div",N,[v(B,{class:"clear-btn go-my-2",disabled:!l(e).styles.animations.length,onClick:_},{default:t(()=>[b(" \u6E05\u9664\u52A8\u753B ")]),_:1},8,["disabled"]),(n(!0),i(D,null,c(l($),(r,I)=>(n(),d(l(V),{key:I,name:r.label,expanded:!0},{default:t(()=>[v(g,{"x-gap":6,"y-gap":10,cols:3},{default:t(()=>[(n(!0),i(D,null,c(r.children,(u,A)=>(n(),d(f,{class:S(["animation-item go-transition-quick",[C(u.value)&&"active",F.value===u.value&&`animate__animated animate__${u.value}`]]),key:A,onMouseover:h=>F.value=u.value,onClick:h=>p(u)},{default:t(()=>[b(U(u.label),1)]),_:2},1032,["class","onMouseover","onClick"]))),128))]),_:2},1024)]),_:2},1032,["name"]))),128))])):z("",!0)}}});var J=x(Y,[["__scopeId","data-v-940a39fc"]]);export{J as default};
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
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
var E=(u,a,s)=>new Promise((c,n)=>{var _=t=>{try{r(s.next(t))}catch(e){n(e)}},f=t=>{try{r(s.throw(t))}catch(e){n(e)}},r=t=>t.done?c(t.value):Promise.resolve(t.value).then(_,f);r((s=s.apply(u,a)).next())});import{M as F}from"./index-ac7c7d19.js";import{_ as L,o as A}from"./index-0dcb47c3.js";import{u as I,E as v}from"./chartEditStore-3e77cffb.js";import{u as K,a as b}from"./chartLayoutStore-c36eecb5.js";import{j as O,d as R,v as M,a5 as N,R as H,am as V,r as D,o as h,m as g,z as l,F as $,A as z,e as o,f as d,w as m,p as S,t as B,ad as U,ck as j,c2 as G}from"./index.js";import{a as J,b as Y,l as q}from"./plugin-83b37cde.js";import{c as p}from"./index-29db0ce3.js";import{f as k,b as w,l as P}from"./index-9874a52e.js";import"./icon-1c2ef7c6.js";import"./index-b5d8c0fe.js";import"./index-62099b31.js";import"./index-71e07acc.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-75baac0d.js";import"./CollapseItem-9a2c257c.js";import"./useTargetData.hook-5f6a49b0.js";const Q={class:"go-content-charts-item-animation-patch"},W=["onDragstart","onDblclick"],X={class:"list-header"},Z={class:"list-center go-flex-center go-transition"},tt={class:"list-bottom"},et=R({__name:"index",props:{menuOptions:{type:Array,default:()=>[]}},setup(u){const a=I(),s=K(),c=M(),n=N(()=>s.getChartType),_=(t,e)=>{p(e.chartKey,k(e)),p(e.conKey,w(e)),t.dataTransfer.setData(j.DRAG_KEY,G(A(e,["image"]))),a.setEditCanvas(v.IS_CREATE,!0)},f=()=>{a.setEditCanvas(v.IS_CREATE,!1)},r=t=>E(this,null,function*(){try{J(),p(t.chartKey,k(t)),p(t.conKey,w(t));let e=yield P(t);a.addComponentList(e,!1,!0),a.setTargetSelectChart(e.id),Y()}catch(e){q(),window.$message.warning("\u56FE\u8868\u6B63\u5728\u7814\u53D1\u4E2D, \u656C\u8BF7\u671F\u5F85...")}});return H(()=>n.value,t=>{t===b.DOUBLE&&V(()=>{c.value.classList.add("miniAnimation")})}),(t,e)=>{const C=D("n-ellipsis"),x=D("n-text");return h(),g("div",Q,[l("div",{ref_key:"contentChartsItemBoxRef",ref:c,class:U(["go-content-charts-item-box",[d(n)===d(b).DOUBLE?"double":"single"]])},[(h(!0),g($,null,z(u.menuOptions,(i,T)=>(h(),g("div",{class:"item-box",key:T,draggable:"",onDragstart:y=>_(y,i),onDragend:f,onDblclick:y=>r(i)},[l("div",X,[o(d(F),{class:"list-header-control-btn",mini:!0,disabled:!0}),o(x,{class:"list-header-text",depth:"3"},{default:m(()=>[o(C,null,{default:m(()=>[S(B(i.title),1)]),_:2},1024)]),_:2},1024)]),l("div",Z,[o(d(L),{class:"list-img",chartConfig:i},null,8,["chartConfig"])]),l("div",tt,[o(x,{class:"list-bottom-text",depth:"3"},{default:m(()=>[o(C,{style:{"max-width":"90%"}},{default:m(()=>[S(B(i.title),1)]),_:2},1024)]),_:2},1024)])],40,W))),128))],2)])}}});var yt=O(et,[["__scopeId","data-v-3bb6960e"]]);export{yt as default};
var E=(u,a,s)=>new Promise((c,n)=>{var _=t=>{try{r(s.next(t))}catch(e){n(e)}},f=t=>{try{r(s.throw(t))}catch(e){n(e)}},r=t=>t.done?c(t.value):Promise.resolve(t.value).then(_,f);r((s=s.apply(u,a)).next())});import{M as F}from"./index-ba25e0c2.js";import{_ as L,o as A}from"./index-ce742765.js";import{u as I,E as v}from"./chartEditStore-d3f71155.js";import{u as K,a as b}from"./chartLayoutStore-03445fec.js";import{j as O,d as R,v as M,a5 as N,R as H,am as V,r as D,o as h,m as g,z as l,F as $,A as z,e as o,f as d,w as m,p as S,t as B,ad as U,ck as j,c2 as G}from"./index.js";import{a as J,b as Y,l as q}from"./plugin-7a3d1229.js";import{c as p}from"./index-a7fb934a.js";import{f as k,b as w,m as P}from"./index-b4a67886.js";import"./icon-382bc9e7.js";import"./index-a773eca9.js";import"./index-b6831878.js";import"./index-99e6e13b.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-29bc1839.js";import"./CollapseItem-ec9d3473.js";import"./useTargetData.hook-b4867a83.js";const Q={class:"go-content-charts-item-animation-patch"},W=["onDragstart","onDblclick"],X={class:"list-header"},Z={class:"list-center go-flex-center go-transition"},tt={class:"list-bottom"},et=R({__name:"index",props:{menuOptions:{type:Array,default:()=>[]}},setup(u){const a=I(),s=K(),c=M(),n=N(()=>s.getChartType),_=(t,e)=>{p(e.chartKey,k(e)),p(e.conKey,w(e)),t.dataTransfer.setData(j.DRAG_KEY,G(A(e,["image"]))),a.setEditCanvas(v.IS_CREATE,!0)},f=()=>{a.setEditCanvas(v.IS_CREATE,!1)},r=t=>E(this,null,function*(){try{J(),p(t.chartKey,k(t)),p(t.conKey,w(t));let e=yield P(t);a.addComponentList(e,!1,!0),a.setTargetSelectChart(e.id),Y()}catch(e){q(),window.$message.warning("\u56FE\u8868\u6B63\u5728\u7814\u53D1\u4E2D, \u656C\u8BF7\u671F\u5F85...")}});return H(()=>n.value,t=>{t===b.DOUBLE&&V(()=>{c.value.classList.add("miniAnimation")})}),(t,e)=>{const C=D("n-ellipsis"),x=D("n-text");return h(),g("div",Q,[l("div",{ref_key:"contentChartsItemBoxRef",ref:c,class:U(["go-content-charts-item-box",[d(n)===d(b).DOUBLE?"double":"single"]])},[(h(!0),g($,null,z(u.menuOptions,(i,T)=>(h(),g("div",{class:"item-box",key:T,draggable:"",onDragstart:y=>_(y,i),onDragend:f,onDblclick:y=>r(i)},[l("div",X,[o(d(F),{class:"list-header-control-btn",mini:!0,disabled:!0}),o(x,{class:"list-header-text",depth:"3"},{default:m(()=>[o(C,null,{default:m(()=>[S(B(i.title),1)]),_:2},1024)]),_:2},1024)]),l("div",Z,[o(d(L),{class:"list-img",chartConfig:i},null,8,["chartConfig"])]),l("div",tt,[o(x,{class:"list-bottom-text",depth:"3"},{default:m(()=>[o(C,{style:{"max-width":"90%"}},{default:m(()=>[S(B(i.title),1)]),_:2},1024)]),_:2},1024)])],40,W))),128))],2)])}}});var yt=O(et,[["__scopeId","data-v-3bb6960e"]]);export{yt as default};
Binary file not shown.
@@ -1 +1 @@
import{j as V,d as w,a3 as u,v as i,y as D,a1 as H,b0 as z,r as o,o as a,m as p,e as l,w as c,F as d,A as N,c as _,L as R,z as $,t as j,f as v}from"./index.js";import{i as K}from"./icon-1c2ef7c6.js";import{u as O}from"./chartEditStore-3e77cffb.js";import{u as m,C as f}from"./chartLayoutStore-c36eecb5.js";import{E as T}from"./index-963ac635.js";import"./plugin-83b37cde.js";const U=w({__name:"index",setup(Y){const s=O(),{lockScale:y,scale:b}=u(s.getEditCanvas),{setItem:E}=m(),{getLayers:k}=u(m()),{LayersIcon:C}=K.ionicons5,S=i(100),L=e=>{E(e.key,!e.select)},x=e=>e.key===f.DETAILS?e.select?"":"primary":e.select?"primary":"",h=D([{key:f.LAYERS,select:k,title:"\u56FE\u5C42",icon:H(C)}]);let g=[{label:"200%",value:200},{label:"150%",value:150},{label:"100%",value:100},{label:"50%",value:50},{label:"\u81EA\u9002\u5E94",value:0}];const n=i(""),I=e=>{if(e===0){s.computedScale();return}s.setScale(e/100)};return z(()=>{const e=(b.value*100).toFixed(0);n.value=`${e}%`,S.value=parseInt(e)}),(e,r)=>{const A=o("n-button"),B=o("n-space"),F=o("n-select");return a(),p(d,null,[l(B,{class:"btnList"},{default:c(()=>[(a(!0),p(d,null,N(h,t=>(a(),_(A,{class:"btn",type:x(t),key:t.key,ghost:"",onClick:q=>L(t)},{icon:c(()=>[(a(),_(R(t.icon)))]),default:c(()=>[$("span",null,j(t.title),1)]),_:2},1032,["type","onClick"]))),128))]),_:1}),l(T),l(F,{disabled:v(y),class:"scale-btn",value:n.value,"onUpdate:value":[r[0]||(r[0]=t=>n.value=t),I],size:"mini",options:v(g)},null,8,["disabled","value","options"])],64)}}});var X=V(U,[["__scopeId","data-v-73bd8ea6"]]);export{X as default};
import{j as V,d as w,a3 as u,v as i,y as D,a1 as H,b0 as z,r as o,o as a,m as p,e as l,w as c,F as d,A as N,c as _,L as R,z as $,t as j,f as v}from"./index.js";import{i as K}from"./icon-382bc9e7.js";import{u as O}from"./chartEditStore-d3f71155.js";import{u as m,C as f}from"./chartLayoutStore-03445fec.js";import{E as T}from"./index-daa4750e.js";import"./plugin-7a3d1229.js";const U=w({__name:"index",setup(Y){const s=O(),{lockScale:y,scale:b}=u(s.getEditCanvas),{setItem:E}=m(),{getLayers:k}=u(m()),{LayersIcon:C}=K.ionicons5,S=i(100),L=e=>{E(e.key,!e.select)},x=e=>e.key===f.DETAILS?e.select?"":"primary":e.select?"primary":"",h=D([{key:f.LAYERS,select:k,title:"\u56FE\u5C42",icon:H(C)}]);let g=[{label:"200%",value:200},{label:"150%",value:150},{label:"100%",value:100},{label:"50%",value:50},{label:"\u81EA\u9002\u5E94",value:0}];const n=i(""),I=e=>{if(e===0){s.computedScale();return}s.setScale(e/100)};return z(()=>{const e=(b.value*100).toFixed(0);n.value=`${e}%`,S.value=parseInt(e)}),(e,r)=>{const A=o("n-button"),B=o("n-space"),F=o("n-select");return a(),p(d,null,[l(B,{class:"btnList"},{default:c(()=>[(a(!0),p(d,null,N(h,t=>(a(),_(A,{class:"btn",type:x(t),key:t.key,ghost:"",onClick:q=>L(t)},{icon:c(()=>[(a(),_(R(t.icon)))]),default:c(()=>[$("span",null,j(t.title),1)]),_:2},1032,["type","onClick"]))),128))]),_:1}),l(T),l(F,{disabled:v(y),class:"scale-btn",value:n.value,"onUpdate:value":[r[0]||(r[0]=t=>n.value=t),I],size:"mini",options:v(g)},null,8,["disabled","value","options"])],64)}}});var X=V(U,[["__scopeId","data-v-73bd8ea6"]]);export{X as default};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
import{j as r,d as c,J as u,bl as i,r as d,o as a,m as _,A as p,c as f,w as m,z as v,t as b,ad as w,f as g,F as h}from"./index.js";import{u as x}from"./chartEditStore-3e77cffb.js";import"./plugin-83b37cde.js";import"./icon-1c2ef7c6.js";const C=c({__name:"index",setup(k){const n=x();u();const o=i([{select:!0,title:"\u5168\u5C4F",event:()=>{var e;(e=window.fullscreen)==null||e.call(window)},className:"btn btn-full"},{select:!0,title:"\u5B58\u4E3A\u8349\u7A3F",event:()=>{var t;const e=n.getStorageInfo;(t=window.saveAsDraft)==null||t.call(window,e)},className:"btn btn-full"},{select:!0,title:"\u53D1\u5E03",event:()=>{var t;const e=n.getStorageInfo;(t=window.saveAsPublish)==null||t.call(window,e)},className:"btn btn-publish"}]);return(e,t)=>{const l=d("n-button");return a(!0),_(h,null,p(g(o),s=>(a(),f(l,{key:s.title,class:w(s.className),ghost:"",onClick:s.event},{default:m(()=>[v("span",null,b(s.title),1)]),_:2},1032,["class","onClick"]))),128)}}});var y=r(C,[["__scopeId","data-v-90aad402"]]);export{y as default};
import{j as r,d as c,J as u,bl as i,r as d,o as a,m as _,A as p,c as f,w as m,z as v,t as b,ad as w,f as g,F as h}from"./index.js";import{u as x}from"./chartEditStore-d3f71155.js";import"./plugin-7a3d1229.js";import"./icon-382bc9e7.js";const C=c({__name:"index",setup(k){const n=x();u();const o=i([{select:!0,title:"\u5168\u5C4F",event:()=>{var e;(e=window.fullscreen)==null||e.call(window)},className:"btn btn-full"},{select:!0,title:"\u5B58\u4E3A\u8349\u7A3F",event:()=>{var t;const e=n.getStorageInfo;(t=window.saveAsDraft)==null||t.call(window,e)},className:"btn btn-full"},{select:!0,title:"\u53D1\u5E03",event:()=>{var t;const e=n.getStorageInfo;(t=window.saveAsPublish)==null||t.call(window,e)},className:"btn btn-publish"}]);return(e,t)=>{const l=d("n-button");return a(!0),_(h,null,p(g(o),s=>(a(),f(l,{key:s.title,class:w(s.className),ghost:"",onClick:s.event},{default:m(()=>[v("span",null,b(s.title),1)]),_:2},1032,["class","onClick"]))),128)}}});var y=r(C,[["__scopeId","data-v-90aad402"]]);export{y as default};
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -1 +1 @@
import{L as s}from"./index-71e07acc.js";import{d as o,o as n,c as a,w as r,n as t,f as l}from"./index.js";const m=o({__name:"index",setup(i){return(e,f)=>(n(),a(l(s),null,{left:r(()=>[t(e.$slots,"left")]),center:r(()=>[t(e.$slots,"center")]),"ri-left":r(()=>[t(e.$slots,"ri-left")]),"ri-right":r(()=>[t(e.$slots,"ri-right")]),_:3}))}});export{m as _};
import{L as s}from"./index-99e6e13b.js";import{d as o,o as n,c as a,w as r,n as t,f as l}from"./index.js";const m=o({__name:"index",setup(i){return(e,f)=>(n(),a(l(s),null,{left:r(()=>[t(e.$slots,"left")]),center:r(()=>[t(e.$slots,"center")]),"ri-left":r(()=>[t(e.$slots,"ri-left")]),"ri-right":r(()=>[t(e.$slots,"ri-right")]),_:3}))}});export{m as _};

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