Merge branch 'tsj_task' of https://gitlab.zcorp.cc/easycorp/zentaopms into tsj_task
This commit is contained in:
@@ -1,68 +0,0 @@
|
||||
stages:
|
||||
- sonarqube
|
||||
- unit-test
|
||||
- ui-test
|
||||
- package
|
||||
- cleanup-packages
|
||||
- notify
|
||||
|
||||
program-static-analysis:
|
||||
stage: sonarqube
|
||||
image:
|
||||
name: sonarsource/sonar-scanner-cli:latest
|
||||
entrypoint: [""]
|
||||
variables:
|
||||
SONAR_USER_HOME: "${CI_PROJECT_DIR}/.sonar" # Defines the location of the analysis task cache
|
||||
GIT_DEPTH: "0" # Tells git to fetch all the branches of the project, required by the analysis task
|
||||
cache:
|
||||
key: "${CI_JOB_NAME}"
|
||||
paths:
|
||||
- .sonar/cache
|
||||
script:
|
||||
- sonar-scanner -Dsonar.inclusions=$(git diff --name-only HEAD~1|tr '\n' ',') -Dsonar.analysis.user=${GITLAB_USER_LOGIN}
|
||||
allow_failure: true
|
||||
only:
|
||||
- master # or the name of your main branch
|
||||
|
||||
unit-test:
|
||||
stage: unit-test
|
||||
script:
|
||||
- "/home/gitlab-runner/bin/zentao-unittest.sh ${CI_PROJECT_DIR}"
|
||||
allow_failure: true
|
||||
only:
|
||||
- master
|
||||
- merge_requests
|
||||
|
||||
ui-test:
|
||||
stage: ui-test
|
||||
script:
|
||||
- "/home/gitlab-runner/bin/zentao-uitest.sh ${CI_PROJECT_DIR}"
|
||||
allow_failure: true
|
||||
only:
|
||||
- master
|
||||
- merge_requests
|
||||
|
||||
package:
|
||||
stage: package
|
||||
script:
|
||||
- make cizip
|
||||
allow_failure: true
|
||||
only:
|
||||
- master
|
||||
|
||||
cleanup-packages:
|
||||
stage: cleanup-packages
|
||||
script:
|
||||
- make clean
|
||||
when: on_failure
|
||||
only:
|
||||
- master
|
||||
|
||||
notify:
|
||||
stage: notify
|
||||
script:
|
||||
- "/home/gitlab-runner/bin/ci-notify.php"
|
||||
when: on_success
|
||||
only:
|
||||
- master
|
||||
- merge_requests
|
||||
Vendored
+1
-1
@@ -19,7 +19,7 @@ pipeline {
|
||||
MIDDLE_IMAGE_REPO = "hub.qc.oop.cc/zentao-ztf"
|
||||
MIDDLE_IMAGE_TAG = """${sh(
|
||||
returnStdout: true,
|
||||
script: 'echo $BUILD_ID'
|
||||
script: 'echo $BUILD_ID-${GIT_COMMIT}'
|
||||
).trim()}"""
|
||||
}
|
||||
|
||||
|
||||
+40
-1
File diff suppressed because one or more lines are too long
+37
-37
@@ -323,7 +323,7 @@ CREATE TABLE IF NOT EXISTS `zt_bug` (
|
||||
-- DROP TABLE IF EXISTS `zt_build`;
|
||||
CREATE TABLE IF NOT EXISTS `zt_build` (
|
||||
`id` mediumint(8) unsigned NOT NULL auto_increment,
|
||||
`project` mediumint(8) unsigned NOT NULL,
|
||||
`project` mediumint(8) unsigned NOT NULL default '0',
|
||||
`product` mediumint(8) unsigned NOT NULL default '0',
|
||||
`branch` varchar(255) NOT NULL DEFAULT '0',
|
||||
`execution` mediumint(8) unsigned NOT NULL default '0',
|
||||
@@ -358,9 +358,9 @@ CREATE TABLE IF NOT EXISTS `zt_burn` (
|
||||
-- DROP TABLE IF EXISTS `zt_case`;
|
||||
CREATE TABLE IF NOT EXISTS `zt_case` (
|
||||
`id` mediumint(8) unsigned NOT NULL auto_increment,
|
||||
`project` mediumint(8) unsigned NOT NULL,
|
||||
`project` mediumint(8) unsigned NOT NULL default '0',
|
||||
`product` mediumint(8) unsigned NOT NULL default '0',
|
||||
`execution` mediumint(8) unsigned NOT NULL,
|
||||
`execution` mediumint(8) unsigned NOT NULL default '0',
|
||||
`branch` mediumint(8) unsigned NOT NULL default '0',
|
||||
`lib` mediumint(8) unsigned NOT NULL default '0',
|
||||
`module` mediumint(8) unsigned NOT NULL default '0',
|
||||
@@ -661,13 +661,13 @@ CREATE TABLE IF NOT EXISTS `zt_doc` (
|
||||
`path` char(255) NOT NULL DEFAULT '',
|
||||
`grade` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`order` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
`views` smallint(5) unsigned NOT NULL,
|
||||
`views` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
`assetLib` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
`assetLibType` varchar(30) NOT NULL DEFAULT '',
|
||||
`from` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
`fromVersion` smallint(6) NOT NULL DEFAULT '1',
|
||||
`draft` longtext NOT NULL,
|
||||
`collector` text NOT NULL,
|
||||
`collector` text NULL,
|
||||
`addedBy` varchar(30) NOT NULL,
|
||||
`addedDate` datetime NOT NULL,
|
||||
`assignedTo` varchar(30) NOT NULL DEFAULT '',
|
||||
@@ -985,8 +985,8 @@ CREATE TABLE IF NOT EXISTS `zt_kanbancard` (
|
||||
`pri` mediumint(8) unsigned NOT NULL,
|
||||
`assignedTo` text NOT NULL,
|
||||
`desc` mediumtext NOT NULL,
|
||||
`begin` date NOT NULL,
|
||||
`end` date NOT NULL,
|
||||
`begin` date NULL,
|
||||
`end` date NULL,
|
||||
`estimate` float unsigned NOT NULL,
|
||||
`progress` float unsigned NOT NULL DEFAULT '0',
|
||||
`color` char(7) NOT NULL,
|
||||
@@ -1095,8 +1095,8 @@ CREATE TABLE IF NOT EXISTS `zt_module` (
|
||||
`order` smallint(5) unsigned NOT NULL default '0',
|
||||
`type` char(30) NOT NULL,
|
||||
`from` mediumint(8) unsigned NOT NULL default '0',
|
||||
`owner` varchar(30) NOT NULL,
|
||||
`collector` text NOT NULL,
|
||||
`owner` varchar(30) NOT NULL DEFAULT '',
|
||||
`collector` text NULL,
|
||||
`short` varchar(30) NOT NULL DEFAULT '',
|
||||
`deleted` enum('0','1') NOT NULL default '0',
|
||||
PRIMARY KEY (`id`),
|
||||
@@ -1592,12 +1592,12 @@ CREATE TABLE IF NOT EXISTS `zt_story` (
|
||||
`closedDate` datetime NULL,
|
||||
`closedReason` varchar(30) NOT NULL DEFAULT '',
|
||||
`activatedDate` datetime NULL,
|
||||
`toBug` mediumint(8) unsigned NOT NULL,
|
||||
`childStories` varchar(255) NOT NULL,
|
||||
`linkStories` varchar(255) NOT NULL,
|
||||
`linkRequirements` varchar(255) NOT NULL,
|
||||
`twins` varchar(255) NOT NULL,
|
||||
`duplicateStory` mediumint(8) unsigned NOT NULL,
|
||||
`toBug` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
`childStories` varchar(255) NOT NULL DEFAULT '',
|
||||
`linkStories` varchar(255) NOT NULL DEFAULT '',
|
||||
`linkRequirements` varchar(255) NOT NULL DEFAULT '',
|
||||
`twins` varchar(255) NOT NULL DEFAULT '',
|
||||
`duplicateStory` mediumint(8) unsigned NOT NULL DEFAULT '0',
|
||||
`version` smallint(6) NOT NULL DEFAULT '1',
|
||||
`storyChanged` enum('0','1') NOT NULL DEFAULT '0',
|
||||
`feedbackBy` varchar(100) NOT NULL DEFAULT '',
|
||||
@@ -8875,24 +8875,24 @@ REPLACE INTO `zt_grouppriv` (`group`, `module`, `method`) VALUES
|
||||
-- DROP TABLE IF EXISTS `zt_workflow`;
|
||||
CREATE TABLE IF NOT EXISTS `zt_workflow` (
|
||||
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`parent` varchar(30) NOT NULL,
|
||||
`child` varchar(30) NOT NULL,
|
||||
`parent` varchar(30) NOT NULL DEFAULT '',
|
||||
`child` varchar(30) NOT NULL DEFAULT '',
|
||||
`type` varchar(10) NOT NULL DEFAULT 'flow',
|
||||
`navigator` varchar(10) NOT NULL,
|
||||
`app` varchar(20) NOT NULL,
|
||||
`position` varchar(30) NOT NULL,
|
||||
`position` varchar(30) NOT NULL DEFAULT '',
|
||||
`module` varchar(30) NOT NULL,
|
||||
`table` varchar(50) NOT NULL,
|
||||
`name` varchar(30) NOT NULL,
|
||||
`titleField` varchar(30) NOT NULL,
|
||||
`contentField` text NOT NULL,
|
||||
`flowchart` text NOT NULL,
|
||||
`js` text NOT NULL,
|
||||
`css` text NOT NULL,
|
||||
`order` smallint(5) unsigned NOT NULL,
|
||||
`titleField` varchar(30) NOT NULL DEFAULT '',
|
||||
`contentField` text NULL,
|
||||
`flowchart` text NULL,
|
||||
`js` text NULL,
|
||||
`css` text NULL,
|
||||
`order` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
`buildin` tinyint(1) unsigned NOT NULL,
|
||||
`administrator` text NOT NULL,
|
||||
`desc` text NOT NULL,
|
||||
`administrator` text NULL,
|
||||
`desc` text NULL,
|
||||
`version` varchar(10) NOT NULL DEFAULT '1.0',
|
||||
`status` varchar(10) NOT NULL DEFAULT 'wait',
|
||||
`vision` varchar(10) NOT NULL DEFAULT 'rnd',
|
||||
@@ -8923,19 +8923,19 @@ CREATE TABLE IF NOT EXISTS `zt_workflowaction` (
|
||||
`position` enum('menu','browseandview','browse','view') NOT NULL DEFAULT 'browseandview',
|
||||
`layout` char(20) NOT NULL,
|
||||
`show` enum('dropdownlist','direct') NOT NULL DEFAULT 'dropdownlist',
|
||||
`order` smallint(5) unsigned NOT NULL,
|
||||
`order` smallint(5) unsigned NOT NULL DEFAULT '0',
|
||||
`buildin` tinyint(1) unsigned NOT NULL,
|
||||
`role` varchar(10) NOT NULL DEFAULT 'custom',
|
||||
`virtual` tinyint(1) unsigned NOT NULL,
|
||||
`conditions` text NOT NULL,
|
||||
`verifications` text NOT NULL,
|
||||
`hooks` text NOT NULL,
|
||||
`linkages` text NOT NULL,
|
||||
`js` text NOT NULL,
|
||||
`css` text NOT NULL,
|
||||
`toList` char(255) NOT NULL,
|
||||
`blocks` text NOT NULL,
|
||||
`desc` text NOT NULL,
|
||||
`virtual` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
`conditions` text NULL,
|
||||
`verifications` text NULL,
|
||||
`hooks` text NULL,
|
||||
`linkages` text NULL,
|
||||
`js` text NULL,
|
||||
`css` text NULL,
|
||||
`toList` char(255) NOT NULL DEFAULT '',
|
||||
`blocks` text NULL,
|
||||
`desc` text NULL,
|
||||
`status` varchar(10) NOT NULL DEFAULT 'enable',
|
||||
`vision` varchar(10) NOT NULL DEFAULT 'rnd',
|
||||
`createdBy` varchar(30) NOT NULL,
|
||||
|
||||
@@ -740,7 +740,7 @@ class baseHelper
|
||||
|
||||
session_write_close();
|
||||
session_id($sessionID);
|
||||
if(ini_get('session.save_handler') == 'user' and isset($_GET['tid']))
|
||||
if(ini_get('session.save_handler') == 'files' and isset($_GET['tid']))
|
||||
{
|
||||
$ztSessionHandler = new ztSessionHandler($_GET['tid']);
|
||||
session_set_save_handler(
|
||||
|
||||
@@ -135,7 +135,7 @@ class dm extends dao
|
||||
}
|
||||
|
||||
/* Format alias. */
|
||||
if($alias and ctype_alnum($alias)) $alias = '"' . $alias . '"';
|
||||
if($alias and !is_numeric($alias) and ctype_alnum($alias)) $alias = '"' . $alias . '"';
|
||||
|
||||
return $originField . ' ' . $alias;
|
||||
}
|
||||
|
||||
@@ -219,7 +219,7 @@ class blockModel extends model
|
||||
->orWhere('t3.status')->ne('suspended')
|
||||
->markRight(1)
|
||||
->andWhere('t1.status')->in('wait,doing')
|
||||
->andWhere('t1.deadline')->ne('0000-00-00')
|
||||
->andWhere('t1.deadline')->notZeroDate()
|
||||
->andWhere('t1.deadline')->lt($today)
|
||||
->andWhere('t1.deleted')->eq(0)
|
||||
->andWhere('t3.deleted')->eq(0)
|
||||
@@ -228,7 +228,7 @@ class blockModel extends model
|
||||
->leftJoin(TABLE_PRODUCT)->alias('t2')->on('t1.product=t2.id')
|
||||
->where('t1.assignedTo')->eq($this->app->user->account)
|
||||
->andWhere('t1.status')->eq('active')
|
||||
->andWhere('t1.deadline')->ne('0000-00-00')
|
||||
->andWhere('t1.deadline')->notZeroDate()
|
||||
->andWhere('t1.deadline')->lt($today)
|
||||
->andWhere('t1.deleted')->eq(0)
|
||||
->andWhere('t2.deleted')->eq(0)
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
<style>
|
||||
.block-docmycollection .panel-body {padding: 0px 10px 20px;}
|
||||
.block-docmycollection .doc-list {display: flex; flex-wrap: wrap; padding: 0 4px 0 0;}
|
||||
.block-docmycollection .doc-list > .doc-box {border: unset; flex: 0 1 50%; padding: 8px;}
|
||||
.block-docmycollection .doc-list > .doc-box > button.btn {padding: 5px 10px; height: 100%; width: 100%; cursor: pointer; white-space: unset; text-align: unset; border: 1px solid rgba(227, 228, 233, 0.6)}
|
||||
.block-docmycollection .doc-list > .doc-box {border: unset; flex: 0 1 50%; padding: 8px; width: 0;}
|
||||
.block-docmycollection .doc-list > .doc-box > button.btn {padding: 5px 10px; height: 100%; width: 100%; cursor: pointer; white-space: nowrap; text-align: unset; border: 1px solid rgba(227, 228, 233, 0.6)}
|
||||
.block-docmycollection .doc-list > .doc-box > .btn:hover {background: unset;}
|
||||
.block-docmycollection .doc-list > .doc-box > .btn.no-priv {cursor: not-allowed; pointer-events: unset;}
|
||||
.block-docmycollection .doc-list > .doc-box > .btn.no-priv p {pointer-events: none;}
|
||||
.block-docmycollection .doc-list > .doc-box .date-interval {float: right; padding: 8px 0px;}
|
||||
.block-docmycollection .doc-list > .doc-box .date-interval {float: right; padding: 8px 0 8px 12px;}
|
||||
.block-docmycollection .doc-list > .doc-box > .btn > h4 {padding-right: 5px;}
|
||||
.block-docmycollection .doc-list > .doc-item .file-icon {margin-right: 2px;}
|
||||
.block-docmycollection .doc-list > .doc-box .file-icon {margin-right: 2px; width: 14px;}
|
||||
.block-docmycollection .doc-list > .doc-box .plug-title {height: 16px; overflow: hidden;}
|
||||
|
||||
.block-docmycollection.block-sm .doc-list > .doc-box {flex: 0 1 100%;}
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
<style>
|
||||
.block-docrecentupdate .panel-body {padding: 0px 10px 20px;}
|
||||
.block-docrecentupdate .doc-list {display: flex; flex-wrap: wrap; padding: 0 4px 0 0;}
|
||||
.block-docrecentupdate .doc-list > .doc-box {border: unset; flex: 0 1 33%; padding: 8px;}
|
||||
.block-docrecentupdate .doc-list > .doc-box > button.btn {padding: 5px 10px; height: 100%; width: 100%; cursor: pointer; white-space: unset; text-align: unset; border: 1px solid rgba(227, 228, 233, 0.6)}
|
||||
.block-docrecentupdate .doc-list > .doc-box {border: unset; flex: 0 1 33%; padding: 8px; width: 0;}
|
||||
.block-docrecentupdate .doc-list > .doc-box > button.btn {padding: 5px 10px; height: 100%; width: 100%; cursor: pointer; white-space: nowrap; text-align: unset; border: 1px solid rgba(227, 228, 233, 0.6)}
|
||||
.block-docrecentupdate .doc-list > .doc-box > .btn:hover {background: unset;}
|
||||
.block-docrecentupdate .doc-list > .doc-box > .btn.no-priv {cursor: not-allowed; pointer-events: unset;}
|
||||
.block-docrecentupdate .doc-list > .doc-box > .btn.no-priv p {pointer-events: none;}
|
||||
.block-docrecentupdate .doc-list > .doc-box .date-interval {float: right; padding: 8px 0px;}
|
||||
.block-docrecentupdate .doc-list > .doc-box .date-interval {float: right; padding: 8px 0 8px 12px;}
|
||||
.block-docrecentupdate .doc-list > .doc-box > .btn > h4 {padding-right: 5px;}
|
||||
.block-docrecentupdate .doc-list > .doc-item .file-icon {margin-right: 2px;}
|
||||
.block-docrecentupdate .doc-list > .doc-box .file-icon {margin-right: 2px; width: 14px;}
|
||||
.block-docrecentupdate .doc-list > .doc-box .plug-title {height: 16px; overflow: hidden;}
|
||||
|
||||
.block-docrecentupdate.block-sm .doc-list > .doc-box {flex: 0 1 100%;}
|
||||
|
||||
@@ -414,11 +414,8 @@ class buildModel extends model
|
||||
$build->bugs = '';
|
||||
|
||||
$build = fixer::input('post')
|
||||
->setDefault('project', 0)
|
||||
->setDefault('execution', 0)
|
||||
->setDefault('product', 0)
|
||||
->setDefault('branch', 0)
|
||||
->setDefault('builds', '')
|
||||
->setDefault('project,execution,product,branch', 0)
|
||||
->setDefault('builds,stories,bugs', '')
|
||||
->cleanInt('product')
|
||||
->add('createdBy', $this->app->user->account)
|
||||
->add('createdDate', helper::now())
|
||||
|
||||
@@ -4,7 +4,7 @@ $lang->chart->query = 'Query';
|
||||
$lang->chart->toDesign = 'To Design';
|
||||
|
||||
$lang->chart->group = 'Group';
|
||||
$lang->chart->field = 'Field';
|
||||
$lang->chart->field = 'Related Field';
|
||||
$lang->chart->agg = 'Aggregate';
|
||||
$lang->chart->chooseField = 'Choose field';
|
||||
$lang->chart->aggType = 'Aggregate type';
|
||||
|
||||
@@ -4,7 +4,7 @@ $lang->chart->query = 'Query';
|
||||
$lang->chart->toDesign = 'To Design';
|
||||
|
||||
$lang->chart->group = 'Group';
|
||||
$lang->chart->field = 'Field';
|
||||
$lang->chart->field = 'Related Field';
|
||||
$lang->chart->agg = 'Aggregate';
|
||||
$lang->chart->chooseField = 'Choose field';
|
||||
$lang->chart->aggType = 'Aggregate type';
|
||||
|
||||
@@ -4,7 +4,7 @@ $lang->chart->query = 'Query';
|
||||
$lang->chart->toDesign = 'To Design';
|
||||
|
||||
$lang->chart->group = 'Group';
|
||||
$lang->chart->field = 'Field';
|
||||
$lang->chart->field = 'Related Field';
|
||||
$lang->chart->agg = 'Aggregate';
|
||||
$lang->chart->chooseField = 'Choose field';
|
||||
$lang->chart->aggType = 'Aggregate type';
|
||||
|
||||
@@ -412,14 +412,15 @@ class doc extends control
|
||||
{
|
||||
$excludedModel = $this->config->vision == 'lite' ? '' : 'kanban';
|
||||
$objects = $this->project->getPairsByProgram('', 'all', false, 'order_asc', $excludedModel);
|
||||
$this->view->executions = array();
|
||||
if($lib->type == 'execution')
|
||||
{
|
||||
$execution = $this->loadModel('execution')->getById($lib->execution);
|
||||
$objectID = $execution->project;
|
||||
$libs = $this->doc->getLibs('execution', $extra = "withObject,$unclosed", $libID, $lib->execution);
|
||||
$this->view->execution = $execution;
|
||||
$this->view->execution = $execution;
|
||||
$this->view->executions = array(0 => '') + $this->execution->getPairs($objectID, 'sprint,stage', 'multiple,leaf,noprefix');
|
||||
}
|
||||
$this->view->executions = array(0 => '') + $this->loadModel('execution')->getPairs($objectID, 'sprint,stage', 'multiple,leaf,noprefix');
|
||||
}
|
||||
elseif($linkType == 'execution')
|
||||
{
|
||||
|
||||
@@ -90,7 +90,9 @@ ol, ul {margin-bottom: 0}
|
||||
.tree li > a {white-space: nowrap; text-overflow: ellipsis; overflow: hidden;}
|
||||
.side-col .menu-actions {position: absolute; top: 0; right: 0; padding: 7px 8px;}
|
||||
.menu-actions i {font-size: 15px; color: #8c8c8c;}
|
||||
#whiteListBox .input-group:last-child {margin-top: 10px;}
|
||||
#whiteListBox .chosen-container .chosen-results {max-height: 180px;}
|
||||
#whiteListBox .chosen-container-active .chosen-single {border-color: #2e7fff !important;}
|
||||
|
||||
.c-product, .c-execution, .c-lib {width: 80px !important;}
|
||||
|
||||
@@ -107,5 +109,6 @@ ol, ul {margin-bottom: 0}
|
||||
#content .detail-content.article-content {overflow-y: auto; height: calc(100vh - 200px);}
|
||||
#aclBox .acl-tip {color: #838a9d;}
|
||||
.ajaxCollect > img.star-empty {margin-right: 0px;}
|
||||
#outlineMenu {background: #fff; position: absolute; height: calc(100vh - 200px)!important; overflow-y: auto; top: 50px; right: 20px;}
|
||||
#outlineMenu {background: #fff; position: absolute; height: calc(100vh - 180px)!important; overflow-y: auto; top: 50px; right: 25px;}
|
||||
.pl-0px {padding-left:0px !important;}
|
||||
.icon {cursor: pointer;}
|
||||
|
||||
@@ -39,5 +39,4 @@ body {overflow: hidden;}
|
||||
.aclBox .radio-inline{display:block; padding-bottom:5px;}
|
||||
.aclBox .radio-inline+.radio-inline {margin-left: 0px !important;}
|
||||
|
||||
#whiteListBox .input-group:last-child {margin-top: 10px;}
|
||||
.fullscreen-save, .markdown-fullscreen-save {position: fixed; top: 10px; right: 30px; z-index: 999999;}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#lib_chosen.chosen-container .chosen-results {max-height: 100px;}
|
||||
.radio-inline+.radio-inline { margin-top: 0; margin-left: 0px;}
|
||||
.radio-inline {margin-right: 10px;}
|
||||
#mainContent{height:310px;}
|
||||
|
||||
@@ -71,3 +71,5 @@
|
||||
#autoBox {display: flex; overflow: hidden; text-overflow: ellipsis; padding-right: 15px; position: relative;}
|
||||
#autoBox > .ellipsis {position: absolute; top: 3px; right: 0; width: 10px; background: #F4F5F7; height: 100%;}
|
||||
.detail+.detail {padding-top: 0;}
|
||||
.comment-edit-form .form-actions {display: flex;}
|
||||
|
||||
|
||||
@@ -29,7 +29,12 @@ function loadObjectModules(objectType, objectID, docType)
|
||||
function loadExecutions(projectID)
|
||||
{
|
||||
var link = createLink('project', 'ajaxGetExecutions', "projectID=" + projectID + "&executionID=0&mode=multiple,leaf,noprefix&type=sprint,stage");
|
||||
$('#executionBox').load(link, function(){$('#executionBox').find('select').attr('data-placeholder', holders.execution).attr('onchange', "loadObjectModules('execution', this.value)").picker()});
|
||||
$('#executionBox').load(link, function()
|
||||
{
|
||||
var $extension = $('#executionBox').find('select');
|
||||
$extension.attr('onchange', "loadObjectModules('execution', this.value)").picker();
|
||||
if($extension.hasClass('disabled')) $('#executionBox').find('.picker').addClass('disabled');
|
||||
});
|
||||
loadObjectModules('project', projectID);
|
||||
}
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ $(function()
|
||||
setTimeout(function(){$('.CodeMirror').height($(document).height() - 112);}, 100);
|
||||
$('iframe.ke-edit-iframe').contents().find('.article-content').css('padding', '20px 20px 0 20px');
|
||||
|
||||
if(objectType == 'project') loadExecutions($('#project').val());
|
||||
setSavePath();
|
||||
|
||||
/* Change for show create error. */
|
||||
|
||||
@@ -9,20 +9,17 @@
|
||||
*/
|
||||
function redirectParentWindow(objectType, libID, moduleID, docType)
|
||||
{
|
||||
config.onlybody = 'no';
|
||||
|
||||
var link = '';
|
||||
if(docType == 'api')
|
||||
{
|
||||
parent.$.closeModal(function()
|
||||
{
|
||||
new parent.$.zui.ModalTrigger({
|
||||
iframe : createLink('api', 'create', 'libID=' + libID + '&moduleID=' + moduleID),
|
||||
width: '85%'
|
||||
}).show();
|
||||
});
|
||||
return false;
|
||||
link = createLink('api', 'create', 'libID=' + libID + '&moduleID=' + moduleID);
|
||||
}
|
||||
else
|
||||
{
|
||||
link = createLink('doc', 'create', 'objectType=' + objectType + '&objectID=0&libID=' + libID + '&moduleID=' + moduleID + '&docType=' + docType) + '#app=doc';
|
||||
}
|
||||
|
||||
config.onlybody = 'no';
|
||||
var link = createLink('doc', 'create', 'objectType=' + objectType + '&objectID=0&libID=' + libID + '&moduleID=' + moduleID + '&docType=' + docType) + '#app=doc';
|
||||
window.parent.$.apps.open(link);
|
||||
}
|
||||
|
||||
|
||||
@@ -156,6 +156,9 @@ $(function()
|
||||
{
|
||||
$('#outline li.active').removeClass('active');
|
||||
$(e.target).closest('li').addClass('active');
|
||||
}).on('click', '.comment-edit-form .btn-hide-form', function()
|
||||
{
|
||||
$('.comment-edit-form #submit').attr('disabled', false);
|
||||
});
|
||||
|
||||
$('#outline li.has-list').addClass('open in');
|
||||
|
||||
@@ -342,7 +342,7 @@ $lang->doc->noticeAcl['doc']['private'] = '只有创建者自己可以访问。'
|
||||
|
||||
$lang->doc->placeholder = new stdclass();
|
||||
$lang->doc->placeholder->url = '相应的链接地址';
|
||||
$lang->doc->placeholder->execution = '执行为空时,创建文件在项目库下';
|
||||
$lang->doc->placeholder->execution = '执行为空时,创建文档在项目库下';
|
||||
|
||||
$lang->doc->summary = "本页共 <strong>%s</strong> 个附件,共计 <strong>%s</strong>,其中<strong>%s</strong>。";
|
||||
$lang->doc->ge = '个';
|
||||
|
||||
@@ -54,7 +54,7 @@ class docModel extends model
|
||||
->andWhere('project')->eq(0)
|
||||
->andWhere('execution')->eq(0)
|
||||
->fi()
|
||||
->orderBy('`order`_asc, id_desc')
|
||||
->orderBy('order_asc, id_asc')
|
||||
->fetchAll('id');
|
||||
|
||||
$libs = array_filter($libs, array($this, 'checkPrivLib'));
|
||||
@@ -834,7 +834,7 @@ class docModel extends model
|
||||
$now = helper::now();
|
||||
$doc = fixer::input('post')
|
||||
->callFunc('title', 'trim')
|
||||
->setDefault('content', '')
|
||||
->setDefault('content,template,templateType,chapterType', '')
|
||||
->add('addedBy', $this->app->user->account)
|
||||
->add('addedDate', $now)
|
||||
->add('editedBy', $this->app->user->account)
|
||||
@@ -873,6 +873,7 @@ class docModel extends model
|
||||
$docContent->title = $doc->title;
|
||||
$docContent->content = $doc->contentType == 'html' ? $doc->content : $doc->contentMarkdown;
|
||||
$docContent->type = $doc->contentType;
|
||||
$docContent->digest = '';
|
||||
$docContent->version = 1;
|
||||
unset($doc->contentMarkdown, $doc->contentType, $doc->url);
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
<?php if($objectType == 'custom' and empty($libs)):?>
|
||||
<?php echo html::a(helper::createLink('doc', 'createLib', "type=custom&objectID=$objectID"), '<i class="icon icon-plus"></i> ' . $lang->doc->createLib, '', 'class="iframe hidden createCustomLib"');?>
|
||||
<?php endif;?>
|
||||
<form class="load-indicator main-form form-ajax" id="dataform" method='post' enctype='multipart/form-data'>
|
||||
<form class="load-indicator main-form form-ajax form-watched" id="dataform" method='post' enctype='multipart/form-data'>
|
||||
<table class='table table-form'>
|
||||
<tbody>
|
||||
<tr>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<div class='main-header'>
|
||||
<h2><?php echo $lang->doc->createLib;?></h2>
|
||||
</div>
|
||||
<form method='post' class='main-form form-ajax no-stash' enctype='multipart/form-data' >
|
||||
<form method='post' class='main-form form-ajax no-stash form-watched' enctype='multipart/form-data' >
|
||||
<table class='table table-form'>
|
||||
<?php if(in_array($type, array('product', 'project', 'execution'))):?>
|
||||
<tr class='objectBox'>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<?php echo html::a(helper::createLink('doc', 'createLib', "type=custom&objectID=$objectID"), '<i class="icon icon-plus"></i> ' . $lang->doc->createLib, '', 'class="iframe hidden createCustomLib"');?>
|
||||
<?php endif;?>
|
||||
<div id="mainContent" class="main-content">
|
||||
<form class="load-indicator main-form form-ajax" id="dataform" method='post' enctype='multipart/form-data'>
|
||||
<form class="load-indicator main-form form-ajax form-watched" id="dataform" method='post' enctype='multipart/form-data'>
|
||||
<table class='table table-form'>
|
||||
<tbody>
|
||||
<tr id='headerBox'>
|
||||
@@ -71,7 +71,7 @@
|
||||
<td class='required'><?php echo html::select('project', $objects, isset($execution) ? $execution->project : $objectID, "class='form-control picker-select' onchange=loadExecutions(this.value)");?></td>
|
||||
<?php if($this->app->tab == 'doc' and $config->vision == 'rnd'):?>
|
||||
<th><?php echo $lang->doc->execution?></th>
|
||||
<td id='executionBox'><?php echo html::select('execution', $executions, isset($execution) ? $objectID : '', "class='form-control chosen' data-placeholder='{$lang->doc->placeholder->execution}' onchange='loadObjectModules(\"execution\", this.value)'")?></td>
|
||||
<td id='executionBox'><?php echo html::select('execution', $executions, isset($execution) ? $objectID : '', "class='form-control chosen' onchange='loadObjectModules(\"execution\", this.value)'")?></td>
|
||||
<td class='pl-0px'><i class='icon icon-help' title='<?php echo $lang->doc->placeholder->execution;?>'></i></td>
|
||||
<?php endif;?>
|
||||
</tr>
|
||||
@@ -149,7 +149,7 @@
|
||||
</div>
|
||||
<?php js::set('textType', $config->doc->textTypes);?>
|
||||
<?php js::set('docType', $docType);?>
|
||||
<?php js::set('holders', $lang->doc->placeholder);?>
|
||||
<?php js::set('objectType', $objectType);?>
|
||||
<?php js::set('type', 'doc');?>
|
||||
<?php js::set('requiredFields', ',' . $config->doc->create->requiredFields . ',');?>
|
||||
<?php js::set('libNotEmpty', sprintf($lang->error->notempty, $lang->doc->lib));?>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<?php echo $lib->type != 'book' ? $lang->doc->editLib : $lang->doc->editBook;?>
|
||||
</h2>
|
||||
</div>
|
||||
<form method='post' class='load-indicator main-form form-ajax'>
|
||||
<form method='post' class='load-indicator main-form form-ajax form-watched'>
|
||||
<table class='table table-form'>
|
||||
<?php if(in_array($lib->type, array('product', 'project', 'execution'))):?>
|
||||
<tr>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<small> <?php echo $lang->arrow . ' ' . $lang->doc->edit;?></small>
|
||||
</h2>
|
||||
</div>
|
||||
<form class='load-indicator main-form form-ajax' method='post' enctype='multipart/form-data' id='dataform'>
|
||||
<form class='load-indicator main-form form-ajax form-watched' method='post' enctype='multipart/form-data' id='dataform'>
|
||||
<table class='table table-form'>
|
||||
<?php if(strpos('product|project|execution', $type) !== false):?>
|
||||
<tr>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
</style>
|
||||
<?php $backLink = $app->session->docList ? $app->session->docList : $this->createLink('doc', 'view', "docID={$doc->id}") . "#app={$this->app->tab}";?>
|
||||
<div id="mainContent" class="main-content">
|
||||
<form class="load-indicator main-form form-ajax" id="dataform" method='post' enctype='multipart/form-data'>
|
||||
<form class="load-indicator main-form form-ajax form-watched" id="dataform" method='post' enctype='multipart/form-data'>
|
||||
<table class='table table-form'>
|
||||
<tbody>
|
||||
<tr id='headerBox'>
|
||||
@@ -148,7 +148,6 @@ $(function()
|
||||
<?php js::set('confirmUpdateContent', $lang->doc->confirmUpdateContent);?>
|
||||
<?php js::set('docID', $doc->id);?>
|
||||
<?php js::set('draft', $doc->draft);?>
|
||||
<?php js::set('holders', $lang->doc->placeholder);?>
|
||||
<?php js::set('type', 'doc');?>
|
||||
<?php js::set('defaultSave', $lang->doc->defaultSave);?>
|
||||
<?php js::set('titleNotEmpty', sprintf($lang->error->notempty, $lang->doc->title));?>
|
||||
|
||||
@@ -543,7 +543,8 @@ $(function()
|
||||
$rootDom.after($input);
|
||||
$li.addClass('open in has-list');
|
||||
}
|
||||
$rootDom.parent().find('input').focus();
|
||||
$input = $rootDom.parent().find('input');
|
||||
$input.focus();
|
||||
break;
|
||||
case 'addCataBro' :
|
||||
moduleData.createType = 'same';
|
||||
@@ -551,7 +552,8 @@ $(function()
|
||||
var $rootDom = $('#fileTree li[data-id=' + item.id + ']');
|
||||
$rootDom.after($input);
|
||||
$rootDom.closest('ul').find('.has-input').css('padding-left', '0');
|
||||
$('#fileTree').find('input').addClass('input-bro').focus();
|
||||
$input = $('#fileTree').find('input').addClass('input-bro');
|
||||
$input.focus();
|
||||
break;
|
||||
case 'addCataChild' :
|
||||
moduleData.parentID = item.id;
|
||||
@@ -569,9 +571,9 @@ $(function()
|
||||
moduleData.isUpdate = true;
|
||||
$rootDom.addClass('open in has-list');
|
||||
}
|
||||
|
||||
$rootDom.append($input);
|
||||
$rootDom.find('input').focus();
|
||||
$input = $rootDom.find('input');
|
||||
$input.focus();
|
||||
break;
|
||||
}
|
||||
}).on('click', '#versionSwitcher a', function()
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
<th><?php echo $lang->doc->project;?></th>
|
||||
<td class='required'><?php echo html::select('project', $projects, key($projects), "class='form-control picker-select'");?></td>
|
||||
<th class='executionTH'><?php echo $lang->doc->execution?></th>
|
||||
<td id='executionBox'><?php echo html::select('execution', array(), '', "class='form-control picker-select' data-placeholder='{$lang->doc->placeholder->execution}' onchange='loadObjectModules(\"execution\", this.value)'")?></td>
|
||||
<td id='executionBox'><?php echo html::select('execution', array(), '', "class='form-control picker-select' onchange='loadObjectModules(\"execution\", this.value)'")?></td>
|
||||
<td class='executionHelp pl-0px'><i class='icon icon-help' title='<?php echo $lang->doc->placeholder->execution;?>'></i></td>
|
||||
</tr>
|
||||
<tr class='productTR hidden'>
|
||||
@@ -53,7 +53,6 @@
|
||||
</table>
|
||||
</form>
|
||||
</div>
|
||||
<?php js::set('holders', $lang->doc->placeholder);?>
|
||||
<script>
|
||||
$(function(){changeSpace()});
|
||||
|
||||
@@ -73,6 +72,7 @@ function changeSpace()
|
||||
$('#typeapi').toggleClass('hidden', space == 'mine' || space == 'custom');
|
||||
$('#typedoc').closest('.radio-inline').toggleClass('hidden', space == 'api');
|
||||
$('#typeapi').closest('.radio-inline').toggleClass('hidden', space == 'mine' || space == 'custom');
|
||||
$('#docType').toggleClass('hidden', $('#docType [name=type]:not(.hidden)').length == 1);
|
||||
|
||||
var docType = $('[name=type]:not(.hidden):checked').val();
|
||||
if(space == 'project' && docType) $('#project').change();
|
||||
|
||||
@@ -483,7 +483,8 @@ class kanbanModel extends model
|
||||
->add('assignedDate', $now)
|
||||
->add('color', '#fff')
|
||||
->trim('name,estimate')
|
||||
->setDefault('estimate', 0)
|
||||
->setDefault('estimate,fromID', 0)
|
||||
->setDefault('fromType', '')
|
||||
->stripTags($this->config->kanban->editor->createcard['id'], $this->config->allowedTags)
|
||||
->join('assignedTo', ',')
|
||||
->setIF(is_numeric($this->post->estimate), 'estimate', (float)$this->post->estimate)
|
||||
@@ -504,6 +505,9 @@ class kanbanModel extends model
|
||||
|
||||
$card = $this->loadModel('file')->processImgURL($card, $this->config->kanban->editor->createcard['id'], $this->post->uid);
|
||||
|
||||
if(!$card->begin) unset($card->begin);
|
||||
if(!$card->end) unset($card->end);
|
||||
|
||||
$this->dao->insert(TABLE_KANBANCARD)->data($card)->autoCheck()
|
||||
->checkIF($card->estimate != '', 'estimate', 'float')
|
||||
->batchCheck($this->config->kanban->createcard->requiredFields, 'notempty')
|
||||
|
||||
@@ -1769,14 +1769,14 @@ class productModel extends model
|
||||
$bugs = $this->dao->select('count(*) AS count')->from(TABLE_BUG)->where('product')->eq($productID)->andWhere('deleted')->eq(0)->fetch();
|
||||
$docs = $this->dao->select('count(*) AS count')->from(TABLE_DOC)->where('product')->eq($productID)->andWhere('deleted')->eq(0)->fetch();
|
||||
$releases = $this->dao->select('count(*) AS count')->from(TABLE_RELEASE)->where('deleted')->eq(0)->andWhere('product')->eq($productID)->fetch();
|
||||
$projects = $this->dao->select('count("t1.*") AS count')->from(TABLE_PROJECTPRODUCT)->alias('t1')
|
||||
$projects = $this->dao->select('count(*) AS count')->from(TABLE_PROJECTPRODUCT)->alias('t1')
|
||||
->leftJoin(TABLE_PROJECT)->alias('t2')->on('t1.project = t2.id')
|
||||
->where('t2.deleted')->eq(0)
|
||||
->andWhere('t1.product')->eq($productID)
|
||||
->andWhere('t2.type')->eq('project')
|
||||
->fetch();
|
||||
|
||||
$executions = $this->dao->select('count("t1.*") AS count')->from(TABLE_PROJECTPRODUCT)->alias('t1')
|
||||
$executions = $this->dao->select('count(*) AS count')->from(TABLE_PROJECTPRODUCT)->alias('t1')
|
||||
->leftJoin(TABLE_PROJECT)->alias('t2')->on('t1.project = t2.id')
|
||||
->where('t2.deleted')->eq(0)
|
||||
->andWhere('t1.product')->eq($productID)
|
||||
|
||||
@@ -2348,16 +2348,19 @@ class project extends control
|
||||
* @param int $projectID
|
||||
* @param int $executionID
|
||||
* @param string $mode
|
||||
* @param string $type
|
||||
* @param string $type all|sprint|stage|kanban
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function ajaxGetExecutions($projectID, $executionID = 0, $mode = '', $type = 'all')
|
||||
{
|
||||
$project = $this->project->getById($projectID);
|
||||
$executions = array('' => '') + $this->loadModel('execution')->getPairs($projectID, $type, $mode);
|
||||
|
||||
if($this->app->getViewType() == 'json') return print(json_encode($executionList));
|
||||
return print(html::select('execution', $executions, $executionID, "class='form-control'"));
|
||||
|
||||
$disabled = $project->multiple ? '' : 'disabled';
|
||||
return print(html::select('execution', $executions, $executionID, "class='form-control $disabled' $disabled"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1957,7 +1957,7 @@ class projectModel extends model
|
||||
{
|
||||
$beginTimeStamp = strtotime($project->begin);
|
||||
$tasks = $this->dao->select('id,estStarted,deadline,status')->from(TABLE_TASK)
|
||||
->where('deadline')->ne('0000-00-00')
|
||||
->where('deadline')->notZeroDate()
|
||||
->andWhere('status')->in('wait,doing')
|
||||
->andWhere('project')->eq($projectID)
|
||||
->fetchAll();
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
<td class='text-left nobr'><?php echo html::a($storyLink, $story->title, '', "class='iframe'");?></td>
|
||||
<td><span class='<?php echo "label-pri label-pri-{$story->pri} pri" . zget($lang->story->priList, $story->pri, $story->pri);?>'><?php echo zget($lang->story->priList, $story->pri, $story->pri);?></span></td>
|
||||
<td class='status-story status-<?php echo $story->status;?>'><?php echo $this->processStatus('story', $story);?></td>
|
||||
<td><?php echo $story->productTitle;?></td>
|
||||
<td class="nobr"><?php echo $story->productTitle;?></td>
|
||||
<?php if($storyType != 'requirement' and $this->config->vision != 'lite'):?>
|
||||
<td class='nobr' title='<?php echo $story->planTitle;?>'><?php echo $story->planTitle;?></td>
|
||||
<?php endif;?>
|
||||
|
||||
File diff suppressed because one or more lines are too long
BIN
Binary file not shown.
+1
-1
@@ -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-e8b17db2.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-18a9cd2a.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 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-e8b17db2.js";import{c as n}from"./index-2b081abf.js";import"./plugin-20889218.js";import"./icon-1e77a86f.js";import"./chartLayoutStore-aa494572.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-4bb8b904.js";import"./CollapseItem-d1c7c015.js";import"./useTargetData.hook-48477efe.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-18a9cd2a.js";import{c as n}from"./index-4ac03131.js";import"./plugin-0871c0c4.js";import"./icon-25a9ceb8.js";import"./chartLayoutStore-4e5e7e9d.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-1d5230ce.js";import"./CollapseItem-7bbde778.js";import"./useTargetData.hook-c3393be6.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 @@
|
||||
import{al as o}from"./index.js";import{e as t}from"./chartEditStore-e8b17db2.js";import{N as r}from"./index-2b081abf.js";import"./plugin-20889218.js";import"./icon-1e77a86f.js";import"./chartLayoutStore-aa494572.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-4bb8b904.js";import"./CollapseItem-d1c7c015.js";import"./useTargetData.hook-48477efe.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-18a9cd2a.js";import{N as r}from"./index-4ac03131.js";import"./plugin-0871c0c4.js";import"./icon-25a9ceb8.js";import"./chartLayoutStore-4e5e7e9d.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-1d5230ce.js";import"./CollapseItem-7bbde778.js";import"./useTargetData.hook-c3393be6.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 t}from"./chartEditStore-e8b17db2.js";import{C as r}from"./index-2b081abf.js";import"./plugin-20889218.js";import"./icon-1e77a86f.js";import"./chartLayoutStore-aa494572.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-4bb8b904.js";import"./CollapseItem-d1c7c015.js";import"./useTargetData.hook-48477efe.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-18a9cd2a.js";import{C as r}from"./index-4ac03131.js";import"./plugin-0871c0c4.js";import"./icon-25a9ceb8.js";import"./chartLayoutStore-4e5e7e9d.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-1d5230ce.js";import"./CollapseItem-7bbde778.js";import"./useTargetData.hook-c3393be6.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 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-e8b17db2.js";import{d as f}from"./index-2b081abf.js";import"./plugin-20889218.js";import"./icon-1e77a86f.js";import"./chartLayoutStore-aa494572.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-4bb8b904.js";import"./CollapseItem-d1c7c015.js";import"./useTargetData.hook-48477efe.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};
|
||||
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-18a9cd2a.js";import{d as f}from"./index-4ac03131.js";import"./plugin-0871c0c4.js";import"./icon-25a9ceb8.js";import"./chartLayoutStore-4e5e7e9d.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-1d5230ce.js";import"./CollapseItem-7bbde778.js";import"./useTargetData.hook-c3393be6.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 @@
|
||||
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-e8b17db2.js";import{e as f,g as T}from"./index-2b081abf.js";import"./plugin-20889218.js";import"./icon-1e77a86f.js";import"./chartLayoutStore-aa494572.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-4bb8b904.js";import"./CollapseItem-d1c7c015.js";import"./useTargetData.hook-48477efe.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};
|
||||
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-18a9cd2a.js";import{e as f,g as T}from"./index-4ac03131.js";import"./plugin-0871c0c4.js";import"./icon-25a9ceb8.js";import"./chartLayoutStore-4e5e7e9d.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-1d5230ce.js";import"./CollapseItem-7bbde778.js";import"./useTargetData.hook-c3393be6.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};
|
||||
@@ -0,0 +1 @@
|
||||
import{al as o}from"./index.js";import{e as i}from"./chartEditStore-18a9cd2a.js";import{h as t}from"./index-4ac03131.js";import"./plugin-0871c0c4.js";import"./icon-25a9ceb8.js";import"./chartLayoutStore-4e5e7e9d.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-1d5230ce.js";import"./CollapseItem-7bbde778.js";import"./useTargetData.hook-c3393be6.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 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-e8b17db2.js";import{H as s}from"./index-2b081abf.js";import"./plugin-20889218.js";import"./icon-1e77a86f.js";import"./chartLayoutStore-aa494572.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-4bb8b904.js";import"./CollapseItem-d1c7c015.js";import"./useTargetData.hook-48477efe.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-18a9cd2a.js";import{H as s}from"./index-4ac03131.js";import"./plugin-0871c0c4.js";import"./icon-25a9ceb8.js";import"./chartLayoutStore-4e5e7e9d.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-1d5230ce.js";import"./CollapseItem-7bbde778.js";import"./useTargetData.hook-c3393be6.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 @@
|
||||
import{al as o}from"./index.js";import{e as s}from"./chartEditStore-e8b17db2.js";import{l as i}from"./index-2b081abf.js";import"./plugin-20889218.js";import"./icon-1e77a86f.js";import"./chartLayoutStore-aa494572.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-4bb8b904.js";import"./CollapseItem-d1c7c015.js";import"./useTargetData.hook-48477efe.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};
|
||||
import{al as o}from"./index.js";import{e as s}from"./chartEditStore-18a9cd2a.js";import{l as i}from"./index-4ac03131.js";import"./plugin-0871c0c4.js";import"./icon-25a9ceb8.js";import"./chartLayoutStore-4e5e7e9d.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-1d5230ce.js";import"./CollapseItem-7bbde778.js";import"./useTargetData.hook-c3393be6.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 +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-e8b17db2.js";import{Y as v}from"./tables_list-16bd57ab.js";import{i as h,j as y}from"./index-2b081abf.js";import"./plugin-20889218.js";import"./icon-1e77a86f.js";import"./chartLayoutStore-aa494572.js";/* empty css */import"./SettingItemBox-4bb8b904.js";import"./CollapseItem-d1c7c015.js";import"./useTargetData.hook-48477efe.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};
|
||||
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-18a9cd2a.js";import{Y as v}from"./tables_list-16bd57ab.js";import{i as h,j as y}from"./index-4ac03131.js";import"./plugin-0871c0c4.js";import"./icon-25a9ceb8.js";import"./chartLayoutStore-4e5e7e9d.js";/* empty css */import"./SettingItemBox-1d5230ce.js";import"./CollapseItem-7bbde778.js";import"./useTargetData.hook-c3393be6.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 @@
|
||||
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-e8b17db2.js";import{k as h}from"./index-2b081abf.js";import"./plugin-20889218.js";import"./icon-1e77a86f.js";import"./chartLayoutStore-aa494572.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-4bb8b904.js";import"./CollapseItem-d1c7c015.js";import"./useTargetData.hook-48477efe.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-18a9cd2a.js";import{k as h}from"./index-4ac03131.js";import"./plugin-0871c0c4.js";import"./icon-25a9ceb8.js";import"./chartLayoutStore-4e5e7e9d.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-1d5230ce.js";import"./CollapseItem-7bbde778.js";import"./useTargetData.hook-c3393be6.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 +0,0 @@
|
||||
import{al as o}from"./index.js";import{e as i}from"./chartEditStore-e8b17db2.js";import{h as t}from"./index-2b081abf.js";import"./plugin-20889218.js";import"./icon-1e77a86f.js";import"./chartLayoutStore-aa494572.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-4bb8b904.js";import"./CollapseItem-d1c7c015.js";import"./useTargetData.hook-48477efe.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 @@
|
||||
import{al as a}from"./index.js";import{e as t}from"./chartEditStore-e8b17db2.js";import{T as o}from"./index-2b081abf.js";import"./plugin-20889218.js";import"./icon-1e77a86f.js";import"./chartLayoutStore-aa494572.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-4bb8b904.js";import"./CollapseItem-d1c7c015.js";import"./useTargetData.hook-48477efe.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-18a9cd2a.js";import{T as o}from"./index-4ac03131.js";import"./plugin-0871c0c4.js";import"./icon-25a9ceb8.js";import"./chartLayoutStore-4e5e7e9d.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-1d5230ce.js";import"./CollapseItem-7bbde778.js";import"./useTargetData.hook-c3393be6.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 +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-e8b17db2.js";import{I as p}from"./index-2b081abf.js";import"./plugin-20889218.js";import"./icon-1e77a86f.js";import"./chartLayoutStore-aa494572.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-4bb8b904.js";import"./CollapseItem-d1c7c015.js";import"./useTargetData.hook-48477efe.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-18a9cd2a.js";import{I as p}from"./index-4ac03131.js";import"./plugin-0871c0c4.js";import"./icon-25a9ceb8.js";import"./chartLayoutStore-4e5e7e9d.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-1d5230ce.js";import"./CollapseItem-7bbde778.js";import"./useTargetData.hook-c3393be6.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};
|
||||
@@ -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-fcc5ae51.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-92a5af0e.js";import"./icon-1e77a86f.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-4ee4fcdc.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-31b2a13d.js";import"./icon-25a9ceb8.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 @@
|
||||
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-fcc5ae51.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-92a5af0e.js";import"./icon-1e77a86f.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-4ee4fcdc.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-31b2a13d.js";import"./icon-25a9ceb8.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-fcc5ae51.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-92a5af0e.js";import"./icon-1e77a86f.js";/*!-----------------------------------------------------------------------------
|
||||
import{m as i}from"./index-4ee4fcdc.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-31b2a13d.js";import"./icon-25a9ceb8.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-fcc5ae51.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-92a5af0e.js";import"./icon-1e77a86f.js";/*!-----------------------------------------------------------------------------
|
||||
import{m as s}from"./index-4ee4fcdc.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-31b2a13d.js";import"./icon-25a9ceb8.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-fcc5ae51.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-92a5af0e.js";import"./icon-1e77a86f.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-4ee4fcdc.js";import"./index.js";import"./editorWorker-abdb3aef.js";import"./storage-31b2a13d.js";import"./icon-25a9ceb8.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
@@ -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-1e77a86f.js";import{u as O}from"./chartEditStore-e8b17db2.js";import{u as m,C as f}from"./chartLayoutStore-aa494572.js";import{E as T}from"./index-543eaeaf.js";import"./plugin-20889218.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-25a9ceb8.js";import{u as O}from"./chartEditStore-18a9cd2a.js";import{u as m,C as f}from"./chartLayoutStore-4e5e7e9d.js";import{E as T}from"./index-6503a6b7.js";import"./plugin-0871c0c4.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
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
@@ -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-e8b17db2.js";import"./plugin-20889218.js";import"./icon-1e77a86f.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-18a9cd2a.js";import"./plugin-0871c0c4.js";import"./icon-25a9ceb8.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};
|
||||
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
var Gn=(s,n,r)=>new Promise((i,e)=>{var u=a=>{try{o(r.next(a))}catch(l){e(l)}},t=a=>{try{o(r.throw(a))}catch(l){e(l)}},o=a=>a.done?i(a.value):Promise.resolve(a.value).then(u,t);o((r=r.apply(s,n)).next())});import{c7 as pr,c8 as gr,bd as mr,c9 as yr,j as ln,d as un,bT as Rn,f as q,u as Mn,a5 as Ut,r as wt,X as Sr,Y as br,o as $t,m as Ue,e as Ot,ad as ce,v as tn,z as ue,a9 as Er,w as Pt,t as Nn,aj as Gt,c as le,p as Tn,F as Zn,A as kn,ca as qn,al as xr,R as Or,aa as Tr}from"./index.js";import{C as Ir}from"./index-2a32eec1.js";import{L as ye,u as Cr,C as Un}from"./chartLayoutStore-aa494572.js";import{u as fn}from"./chartEditStore-e8b17db2.js";import{u as _n,d as Dr}from"./index-29198440.js";import{a as Pr}from"./index-2b081abf.js";import{i as en}from"./icon-1e77a86f.js";import"./plugin-20889218.js";import"./index-ba11da18.js";import"./index-403f4765.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-4bb8b904.js";import"./CollapseItem-d1c7c015.js";import"./useTargetData.hook-48477efe.js";var tr={exports:{}};/**!
|
||||
var Gn=(s,n,r)=>new Promise((i,e)=>{var u=a=>{try{o(r.next(a))}catch(l){e(l)}},t=a=>{try{o(r.throw(a))}catch(l){e(l)}},o=a=>a.done?i(a.value):Promise.resolve(a.value).then(u,t);o((r=r.apply(s,n)).next())});import{c7 as pr,c8 as gr,bd as mr,c9 as yr,j as ln,d as un,bT as Rn,f as q,u as Mn,a5 as Ut,r as wt,X as Sr,Y as br,o as $t,m as Ue,e as Ot,ad as ce,v as tn,z as ue,a9 as Er,w as Pt,t as Nn,aj as Gt,c as le,p as Tn,F as Zn,A as kn,ca as qn,al as xr,R as Or,aa as Tr}from"./index.js";import{C as Ir}from"./index-447c6f98.js";import{L as ye,u as Cr,C as Un}from"./chartLayoutStore-4e5e7e9d.js";import{u as fn}from"./chartEditStore-18a9cd2a.js";import{u as _n,d as Dr}from"./index-154e361a.js";import{a as Pr}from"./index-4ac03131.js";import{i as en}from"./icon-25a9ceb8.js";import"./plugin-0871c0c4.js";import"./index-8238c574.js";import"./index-56267129.js";import"./tables_list-16bd57ab.js";/* empty css */import"./SettingItemBox-1d5230ce.js";import"./CollapseItem-7bbde778.js";import"./useTargetData.hook-c3393be6.js";var tr={exports:{}};/**!
|
||||
* Sortable 1.14.0
|
||||
* @author RubaXa <trash@rubaxa.org>
|
||||
* @author owenm <owen23355@gmail.com>
|
||||
Binary file not shown.
@@ -1 +1 @@
|
||||
import{j as E,d as L,v as R,R as y,c5 as e,c6 as a,r as p,o as _,c as H,w as c,e as s,z as o,f as I,m as i,F as x,A,t as C,p as w,G as k,H as D}from"./index.js";import{i as K}from"./icon-1e77a86f.js";const m=u=>(k("data-v-3c7b6730"),u=u(),D(),u),g=m(()=>o("th",null,"\u529F\u80FD",-1)),G=m(()=>o("th",null,"Win \u5FEB\u6377\u952E",-1)),M=m(()=>o("span",null," Mac \u5FEB\u6377\u952E ",-1)),V={key:0},z={key:1},O=L({__name:"ShortcutKeyModal",props:{modelShow:Boolean},emits:["update:modelShow"],setup(u,{emit:l}){const U=u,{CloseIcon:n}=K.ionicons5,r=R(!1);y(()=>U.modelShow,F=>{r.value=F});const d=[{label:"\u62D6\u62FD\u753B\u5E03",win:`${e.SPACE.toUpperCase()} + \u{1F5B1}\uFE0F `,mac:`${a.SPACE.toUpperCase()} + \u{1F5B1}\uFE0F `,macSource:!0},{label:"\u5411 \u4E0A/\u53F3/\u4E0B/\u5DE6 \u79FB\u52A8",win:`${e.CTRL.toUpperCase()} + \u2191 \u6216 \u2192 \u6216 \u2193 \u6216 \u2190`,mac:`${a.CTRL.toUpperCase()} + \u2191 `},{label:"\u9501\u5B9A",win:`${e.CTRL.toUpperCase()} + L `,mac:`${a.CTRL.toUpperCase()} + L `},{label:"\u89E3\u9501",win:`${e.CTRL.toUpperCase()} + ${e.SHIFT.toUpperCase()}+ L `,mac:`${a.CTRL.toUpperCase()} + ${a.SHIFT.toUpperCase()} + L `},{label:"\u5C55\u793A",win:`${e.CTRL.toUpperCase()} + H `,mac:`${a.CTRL.toUpperCase()} + H `},{label:"\u9690\u85CF",win:`${e.CTRL.toUpperCase()} + ${e.SHIFT.toUpperCase()} + H `,mac:`${a.CTRL.toUpperCase()} + ${a.SHIFT.toUpperCase()} + H `},{label:"\u5220\u9664",win:"Delete".toUpperCase(),mac:`${a.CTRL.toUpperCase()} + Backspace `},{label:"\u590D\u5236",win:`${e.CTRL.toUpperCase()} + C `,mac:`${a.CTRL.toUpperCase()} + C `},{label:"\u526A\u5207",win:`${e.CTRL.toUpperCase()} + X `,mac:`${a.CTRL.toUpperCase()} + X `},{label:"\u7C98\u8D34",win:`${e.CTRL.toUpperCase()} + V `,mac:`${a.CTRL.toUpperCase()} + V `},{label:"\u540E\u9000",win:`${e.CTRL.toUpperCase()} + Z `,mac:`${a.CTRL.toUpperCase()} + Z `},{label:"\u524D\u8FDB",win:`${e.CTRL.toUpperCase()} + ${e.SHIFT.toUpperCase()} + Z `,mac:`${a.CTRL.toUpperCase()} + ${a.SHIFT.toUpperCase()} + Z `},{label:"\u591A\u9009",win:`${e.CTRL.toUpperCase()} + \u{1F5B1}\uFE0F `,mac:`${a.CTRL_SOURCE_KEY.toUpperCase()} + \u{1F5B1}\uFE0F `},{label:"\u521B\u5EFA\u5206\u7EC4",win:`${e.CTRL.toUpperCase()} + G / \u{1F5B1}\uFE0F `,mac:`${a.CTRL_SOURCE_KEY.toUpperCase()} + G / \u{1F5B1}\uFE0F`},{label:"\u89E3\u9664\u5206\u7EC4",win:`${e.CTRL.toUpperCase()} + ${e.SHIFT.toUpperCase()} + G `,mac:`${a.CTRL_SOURCE_KEY.toUpperCase()} + ${e.SHIFT.toUpperCase()} + G `}],$=()=>{l("update:modelShow",!1)};return(F,T)=>{const S=p("n-icon"),b=p("n-space"),h=p("n-gradient-text"),v=p("n-table"),f=p("n-modal");return _(),H(f,{show:r.value,"onUpdate:show":T[0]||(T[0]=t=>r.value=t),"mask-closable":!0,onAfterLeave:$},{default:c(()=>[s(v,{class:"model-content",bordered:!1,"single-line":!1},{default:c(()=>[o("thead",null,[o("tr",null,[g,G,o("th",null,[s(b,{justify:"space-between"},{default:c(()=>[M,s(S,{size:"20",class:"go-cursor-pointer",onClick:$},{default:c(()=>[s(I(n))]),_:1})]),_:1})])])]),o("tbody",null,[(_(),i(x,null,A(d,(t,B)=>o("tr",{key:B},[o("td",null,C(t.label),1),o("td",null,C(t.win),1),t.macSource?(_(),i("td",V,C(t.mac),1)):(_(),i("td",z,[s(h,{size:22},{default:c(()=>[w(C(t.mac.substr(0,1)),1)]),_:2},1024),w(" + "+C(t.mac.substr(3)),1)]))])),64))])]),_:1})]),_:1},8,["show"])}}});var Z=E(O,[["__scopeId","data-v-3c7b6730"]]);const N={class:"go-edit-shortcut"},Y=L({__name:"index",setup(u){const l=R(!1);return(U,n)=>{const r=p("n-select");return _(),i("div",N,[s(Z,{modelShow:l.value,"onUpdate:modelShow":n[0]||(n[0]=d=>l.value=d)},null,8,["modelShow"]),s(r,{class:"scale-btn",value:"\u5FEB\u6377\u952E",size:"mini",onClick:n[1]||(n[1]=d=>l.value=!0)})])}}});var W=E(Y,[["__scopeId","data-v-72a23426"]]);export{W as E};
|
||||
import{j as E,d as L,v as R,R as y,c5 as e,c6 as a,r as p,o as _,c as H,w as c,e as s,z as o,f as I,m as i,F as x,A,t as C,p as w,G as k,H as D}from"./index.js";import{i as K}from"./icon-25a9ceb8.js";const m=u=>(k("data-v-3c7b6730"),u=u(),D(),u),g=m(()=>o("th",null,"\u529F\u80FD",-1)),G=m(()=>o("th",null,"Win \u5FEB\u6377\u952E",-1)),M=m(()=>o("span",null," Mac \u5FEB\u6377\u952E ",-1)),V={key:0},z={key:1},O=L({__name:"ShortcutKeyModal",props:{modelShow:Boolean},emits:["update:modelShow"],setup(u,{emit:l}){const U=u,{CloseIcon:n}=K.ionicons5,r=R(!1);y(()=>U.modelShow,F=>{r.value=F});const d=[{label:"\u62D6\u62FD\u753B\u5E03",win:`${e.SPACE.toUpperCase()} + \u{1F5B1}\uFE0F `,mac:`${a.SPACE.toUpperCase()} + \u{1F5B1}\uFE0F `,macSource:!0},{label:"\u5411 \u4E0A/\u53F3/\u4E0B/\u5DE6 \u79FB\u52A8",win:`${e.CTRL.toUpperCase()} + \u2191 \u6216 \u2192 \u6216 \u2193 \u6216 \u2190`,mac:`${a.CTRL.toUpperCase()} + \u2191 `},{label:"\u9501\u5B9A",win:`${e.CTRL.toUpperCase()} + L `,mac:`${a.CTRL.toUpperCase()} + L `},{label:"\u89E3\u9501",win:`${e.CTRL.toUpperCase()} + ${e.SHIFT.toUpperCase()}+ L `,mac:`${a.CTRL.toUpperCase()} + ${a.SHIFT.toUpperCase()} + L `},{label:"\u5C55\u793A",win:`${e.CTRL.toUpperCase()} + H `,mac:`${a.CTRL.toUpperCase()} + H `},{label:"\u9690\u85CF",win:`${e.CTRL.toUpperCase()} + ${e.SHIFT.toUpperCase()} + H `,mac:`${a.CTRL.toUpperCase()} + ${a.SHIFT.toUpperCase()} + H `},{label:"\u5220\u9664",win:"Delete".toUpperCase(),mac:`${a.CTRL.toUpperCase()} + Backspace `},{label:"\u590D\u5236",win:`${e.CTRL.toUpperCase()} + C `,mac:`${a.CTRL.toUpperCase()} + C `},{label:"\u526A\u5207",win:`${e.CTRL.toUpperCase()} + X `,mac:`${a.CTRL.toUpperCase()} + X `},{label:"\u7C98\u8D34",win:`${e.CTRL.toUpperCase()} + V `,mac:`${a.CTRL.toUpperCase()} + V `},{label:"\u540E\u9000",win:`${e.CTRL.toUpperCase()} + Z `,mac:`${a.CTRL.toUpperCase()} + Z `},{label:"\u524D\u8FDB",win:`${e.CTRL.toUpperCase()} + ${e.SHIFT.toUpperCase()} + Z `,mac:`${a.CTRL.toUpperCase()} + ${a.SHIFT.toUpperCase()} + Z `},{label:"\u591A\u9009",win:`${e.CTRL.toUpperCase()} + \u{1F5B1}\uFE0F `,mac:`${a.CTRL_SOURCE_KEY.toUpperCase()} + \u{1F5B1}\uFE0F `},{label:"\u521B\u5EFA\u5206\u7EC4",win:`${e.CTRL.toUpperCase()} + G / \u{1F5B1}\uFE0F `,mac:`${a.CTRL_SOURCE_KEY.toUpperCase()} + G / \u{1F5B1}\uFE0F`},{label:"\u89E3\u9664\u5206\u7EC4",win:`${e.CTRL.toUpperCase()} + ${e.SHIFT.toUpperCase()} + G `,mac:`${a.CTRL_SOURCE_KEY.toUpperCase()} + ${e.SHIFT.toUpperCase()} + G `}],$=()=>{l("update:modelShow",!1)};return(F,T)=>{const S=p("n-icon"),b=p("n-space"),h=p("n-gradient-text"),v=p("n-table"),f=p("n-modal");return _(),H(f,{show:r.value,"onUpdate:show":T[0]||(T[0]=t=>r.value=t),"mask-closable":!0,onAfterLeave:$},{default:c(()=>[s(v,{class:"model-content",bordered:!1,"single-line":!1},{default:c(()=>[o("thead",null,[o("tr",null,[g,G,o("th",null,[s(b,{justify:"space-between"},{default:c(()=>[M,s(S,{size:"20",class:"go-cursor-pointer",onClick:$},{default:c(()=>[s(I(n))]),_:1})]),_:1})])])]),o("tbody",null,[(_(),i(x,null,A(d,(t,B)=>o("tr",{key:B},[o("td",null,C(t.label),1),o("td",null,C(t.win),1),t.macSource?(_(),i("td",V,C(t.mac),1)):(_(),i("td",z,[s(h,{size:22},{default:c(()=>[w(C(t.mac.substr(0,1)),1)]),_:2},1024),w(" + "+C(t.mac.substr(3)),1)]))])),64))])]),_:1})]),_:1},8,["show"])}}});var Z=E(O,[["__scopeId","data-v-3c7b6730"]]);const N={class:"go-edit-shortcut"},Y=L({__name:"index",setup(u){const l=R(!1);return(U,n)=>{const r=p("n-select");return _(),i("div",N,[s(Z,{modelShow:l.value,"onUpdate:modelShow":n[0]||(n[0]=d=>l.value=d)},null,8,["modelShow"]),s(r,{class:"scale-btn",value:"\u5FEB\u6377\u952E",size:"mini",onClick:n[1]||(n[1]=d=>l.value=!0)})])}}});var W=E(Y,[["__scopeId","data-v-72a23426"]]);export{W as E};
|
||||
@@ -1 +1 @@
|
||||
import{u as m}from"./chartLayoutStore-aa494572.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-e8b17db2.js";import"./plugin-20889218.js";import"./icon-1e77a86f.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-4e5e7e9d.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-18a9cd2a.js";import"./plugin-0871c0c4.js";import"./icon-25a9ceb8.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};
|
||||
File diff suppressed because one or more lines are too long
@@ -1 +1 @@
|
||||
import{u as H}from"./chartEditStore-e8b17db2.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-1e77a86f.js";import{a as r,S as x}from"./SettingItemBox-4bb8b904.js";/* empty css */import"./plugin-20889218.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-18a9cd2a.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-25a9ceb8.js";import{a as r,S as x}from"./SettingItemBox-1d5230ce.js";/* empty css */import"./plugin-0871c0c4.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{L as s}from"./index-403f4765.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-56267129.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 _};
|
||||
@@ -1 +1 @@
|
||||
import{j as C,d as b,a5 as c,ac as o,r as h,o as t,m as l,F as x,A as z,ad as u,ae as B,e as F,w,c as I,L as R,f as q}from"./index.js";import{i as L}from"./icon-1e77a86f.js";const g={class:"go-apple-control-btn"},E=["onClick"],M=b({__name:"index",props:{mini:{request:!1,type:Boolean,default:!1},disabled:{request:!1,type:Boolean,default:!1},hidden:{request:!1,type:Array,default(){return[]}},narrow:{request:!1,type:Boolean,default:!1}},emits:["close","remove","resize","fullResize"],setup(s,{emit:d}){const a=s,{CloseIcon:f,RemoveIcon:m,ResizeIcon:_}=L.ionicons5,p=c(()=>y.filter(i=>a.hidden.findIndex(r=>i.key==r)===-1)),v=c(()=>a.narrow&&o(!0)),y=[{title:"\u5173\u95ED",key:"close",icon:f},{title:"\u7F29\u5C0F",key:"remove",icon:m},{title:v.value?"\u7F29\u5C0F":"\u653E\u5927",key:a.narrow?"fullResize":"resize",icon:_}],k=e=>{e==="fullResize"&&o(),e==="remove"&&o(!0)&&o(),d(e)};return(e,i)=>{const r=h("n-icon");return t(),l("div",g,[(t(!0),l(x,null,z(q(p),n=>(t(),l("div",{key:n.key,class:u(["btn",[n.key,s.disabled&&"disabled",s.mini&&"mini"]]),onClick:B(A=>k(n.key),["stop"])},[F(r,{size:"10",class:u(["icon-base",{hover:!s.disabled}])},{default:w(()=>[(t(),I(R(n.icon)))]),_:2},1032,["class"])],10,E))),128))])}}});var N=C(M,[["__scopeId","data-v-56375fab"]]);export{N as M};
|
||||
import{j as C,d as b,a5 as c,ac as o,r as h,o as t,m as l,F as x,A as z,ad as u,ae as B,e as F,w,c as I,L as R,f as q}from"./index.js";import{i as L}from"./icon-25a9ceb8.js";const g={class:"go-apple-control-btn"},E=["onClick"],M=b({__name:"index",props:{mini:{request:!1,type:Boolean,default:!1},disabled:{request:!1,type:Boolean,default:!1},hidden:{request:!1,type:Array,default(){return[]}},narrow:{request:!1,type:Boolean,default:!1}},emits:["close","remove","resize","fullResize"],setup(s,{emit:d}){const a=s,{CloseIcon:f,RemoveIcon:m,ResizeIcon:_}=L.ionicons5,p=c(()=>y.filter(i=>a.hidden.findIndex(r=>i.key==r)===-1)),v=c(()=>a.narrow&&o(!0)),y=[{title:"\u5173\u95ED",key:"close",icon:f},{title:"\u7F29\u5C0F",key:"remove",icon:m},{title:v.value?"\u7F29\u5C0F":"\u653E\u5927",key:a.narrow?"fullResize":"resize",icon:_}],k=e=>{e==="fullResize"&&o(),e==="remove"&&o(!0)&&o(),d(e)};return(e,i)=>{const r=h("n-icon");return t(),l("div",g,[(t(!0),l(x,null,z(q(p),n=>(t(),l("div",{key:n.key,class:u(["btn",[n.key,s.disabled&&"disabled",s.mini&&"mini"]]),onClick:B(A=>k(n.key),["stop"])},[F(r,{size:"10",class:u(["icon-base",{hover:!s.disabled}])},{default:w(()=>[(t(),I(R(n.icon)))]),_:2},1032,["class"])],10,E))),128))])}}});var N=C(M,[["__scopeId","data-v-56375fab"]]);export{N as M};
|
||||
@@ -1 +1 @@
|
||||
import{u as o}from"./useTargetData.hook-48477efe.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-e8b17db2.js";import"./plugin-20889218.js";import"./icon-1e77a86f.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-c3393be6.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-18a9cd2a.js";import"./plugin-0871c0c4.js";import"./icon-25a9ceb8.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.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user