Skip to content
Merged
Show file tree
Hide file tree
Changes from 56 commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
90c8f9e
fix:Modify Code Font in bridge/state
xuanlid Dec 3, 2024
2d74123
fix:modify the block list style in block
xuanlid Dec 3, 2024
54a1780
fix:Modify schema panel style
xuanlid Dec 3, 2024
dac9b3b
fix:Modify tabs in materials
xuanlid Dec 3, 2024
384fb41
fix:Modify global dialog, modal and search
xuanlid Dec 3, 2024
83093f8
fix:Modify the component list style in materials
xuanlid Dec 3, 2024
a7440a4
fix:Modify button style
xuanlid Dec 3, 2024
329e62f
fix: Modify UI review comments
xuanlid Dec 3, 2024
0d554c8
fix: Modify UI review comments
xuanlid Dec 3, 2024
2248952
fix: Modify UI review comments
xuanlid Dec 4, 2024
bed7f88
fix:Modify search in i18n
xuanlid Dec 4, 2024
9777743
fix: Modify UI in Schema Panel
xuanlid Dec 4, 2024
07f6f9f
Modify UI review comments
xuanlid Dec 4, 2024
39ca259
fix:Modify dialog style and i18n Panel shadow
xuanlid Dec 4, 2024
67814b8
fix:Modify the component list style in materials
xuanlid Dec 4, 2024
6b37a8f
fix:Modify the block list style in block
xuanlid Dec 4, 2024
85ece30
fix: Modify UI review comments
xuanlid Dec 4, 2024
34ac7fa
Merge branch 'opentiny:refactor/develop' into refactor/develop
xuanlid Dec 4, 2024
75fc641
fix: Modify UI review comments
xuanlid Dec 4, 2024
375e102
fix: Modify UI review comments in i18n
xuanlid Dec 5, 2024
8993fb1
fix: test
xuanlid Dec 5, 2024
f925d0c
fix: Modify modal style
xuanlid Dec 5, 2024
b9f59a6
fix: Modify modal style
xuanlid Dec 5, 2024
3999757
fix: Modify modal in clean
xuanlid Dec 5, 2024
b7acbc8
fix: Modify modal in block
xuanlid Dec 5, 2024
09f12c4
fix: Modify the block list and modal in block
xuanlid Dec 5, 2024
f60de31
fix: modify the block list in block
xuanlid Dec 5, 2024
5c0f453
fix: modify font size
xuanlid Dec 5, 2024
98f2b1b
fix: Modify global button
xuanlid Dec 6, 2024
45011ec
fix: delete comment code
xuanlid Dec 6, 2024
9ab3563
fix: change plugin-icon-js.svg
xuanlid Dec 6, 2024
e8bec88
Merge remote-tracking branch 'open/refactor/develop' into refactor/de…
xuanlid Dec 6, 2024
58ff52d
fix: Modify review comments
xuanlid Dec 9, 2024
76ed2d3
fix: Modify review comments
xuanlid Dec 9, 2024
8046a77
fix: Modify review comments
xuanlid Dec 9, 2024
b444477
fix: Modify review comments
xuanlid Dec 9, 2024
0024e77
fix: Modify review comments
xuanlid Dec 9, 2024
bf2a130
fix:Modify Code Font in bridge/state
xuanlid Dec 11, 2024
9af7db7
fix:Modify button in header
xuanlid Dec 11, 2024
6bc390f
fix: Modify button in state
xuanlid Dec 11, 2024
3ca468a
fix: Modify UI style
xuanlid Dec 11, 2024
dcc5516
Merge remote-tracking branch 'open/refactor/develop' into refactor/de…
xuanlid Dec 11, 2024
8e650b7
Merge remote-tracking branch 'open/refactor/develop' into lx-ui
xuanlid Dec 11, 2024
e221404
fix:Modify Font Size in datasource
xuanlid Dec 11, 2024
29f8377
fix: Modify icon in lifecycle/blockEvent
xuanlid Dec 12, 2024
ff61320
fix: Modify validate in dialog
xuanlid Dec 13, 2024
9d0ebe5
fix: modify second-panel and tree styles
xuanlid Dec 13, 2024
a511c4d
fix: Modify tree componentType
xuanlid Dec 13, 2024
6bc1021
fix: Modify the fixed column style of the table
xuanlid Dec 16, 2024
fa1560d
fix: Modify top save and more
xuanlid Dec 16, 2024
5ace383
Merge remote-tracking branch 'open/refactor/develop' into refactor/de…
xuanlid Dec 16, 2024
9dcc669
Merge branch 'refactor/develop' into lx-ui
xuanlid Dec 16, 2024
80cd683
fix:Modify code style in state
xuanlid Dec 17, 2024
a152271
fix: Modify review comments and remote panel
xuanlid Dec 17, 2024
eb2a918
Merge remote-tracking branch 'open/refactor/develop' into lx-ui
xuanlid Dec 17, 2024
95a23a3
fix:Modify the block list in block
xuanlid Dec 17, 2024
5f052bb
fix: Modify remote panel
xuanlid Dec 18, 2024
8920879
fix: Modify the icon to tips and gray background
xuanlid Dec 18, 2024
20c3adb
fix:Modify global popover and toolTip
xuanlid Dec 18, 2024
73ef4b1
fix:Modify global popover and toolTip
xuanlid Dec 18, 2024
d9c1931
fix: Modify UI review comments
xuanlid Jan 2, 2025
e54e22a
Merge remote-tracking branch 'open/refactor/develop' into lx-ui
xuanlid Jan 3, 2025
2e7d742
Merge remote-tracking branch 'open/refactor/develop' into lx-ui
xuanlid Jan 3, 2025
818b464
fix:Modify open-delay to a constant
xuanlid Jan 6, 2025
089f4e3
fix:Modify open-delay to a constant
xuanlid Jan 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/common/component/BlockDeployDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
label-align
:model="formState"
:rules="formRules"
validate-type="text"
>
<tiny-form-item label="版本号" prop="version">
<tiny-input v-model="formState.version" placeholder="请输入X.Y.Z格式版本号,如1.0.0"></tiny-input>
Expand Down
10 changes: 6 additions & 4 deletions packages/common/component/I18nInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</div>

<template #reference>
<icon-language :class="['icon-language', { isBind }]"></icon-language>
<svg-icon name="internationalization" :class="['icon-language', { isBind }]"></svg-icon>
</template>
</tiny-popover>
</template>
Expand All @@ -38,7 +38,7 @@
import { computed, ref, watchEffect } from 'vue'
import { useTranslate } from '@opentiny/tiny-engine-meta-register'
import { Input, Popover } from '@opentiny/vue'
import { IconClose, IconLanguage } from '@opentiny/vue-icon'
import { IconClose } from '@opentiny/vue-icon'
import BindI18n from './BindI18n.vue'

export default {
Expand All @@ -47,8 +47,7 @@ export default {
TinyInput: Input,
BindI18n,
TinyPopover: Popover,
IconClose: IconClose(),
IconLanguage: IconLanguage()
IconClose: IconClose()
},
inheritAttrs: false,
props: {
Expand Down Expand Up @@ -139,6 +138,9 @@ export default {
right: 0;
}
}
.icon-language {
color: var(--te-common-icon-secondary);
}
</style>

<style>
Expand Down
23 changes: 18 additions & 5 deletions packages/common/component/LifeCycles.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
<div class="life-cycle-tips">{{ lifeCycleTips }}</div>
<meta-list-items :optionsList="Object.keys(state.bindLifeCycles)" :draggable="false">
<template #content="{ data }">
<div>
<div class="life-cycle-content-item">
{{ data }}
</div>
</template>
<template #operate="{ data }">
<svg-button name="setting-outline" tips="编辑" placement="top" @click="openLifeCyclesPanel(data)"></svg-button>
<svg-button name="delete" tips="删除" placement="top" @click="deleteLifeCycle(data)"></svg-button>
<svg-button class="opt-button" name="text-source-setting" @click="openLifeCyclesPanel(data)"></svg-button>
<svg-button class="opt-button" name="delete" @click="deleteLifeCycle(data)"></svg-button>
</template>
</meta-list-items>
<tiny-dialog-box v-model:visible="state.showLifeCyclesDialog" fullscreen :title="state.title" :append-to-body="true">
Expand Down Expand Up @@ -269,12 +269,25 @@ export default {
margin-left: 20px;
margin-right: 20px;
}
.life-cycle-content-item {
color: var(--te-common-text-primary);
}
.opt-button {
color: var(--te-common-icon-secondary);
width: auto;
&:hover {
background-color: transparent;
color: var(--te-common-icon-secondary);
}
&:last-child {
margin-right: var(--te-base-space-3x);
}
}

.popover-list {
margin: 8px 0;
li {
padding: 0 12px;
margin: 0 -8px;
margin: 0 -16px;
line-height: 24px;
cursor: pointer;
&:hover {
Expand Down
21 changes: 9 additions & 12 deletions packages/common/component/PluginSetting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@
</slot>
<div class="button-group-wrap">
<slot name="header">
<div v-if="showIfFullScreen" class="cursor" @click="fullScreen">
<icon-fullscreen v-if="!state.isFullScreen" class="icon-fullscreen"></icon-fullscreen>
<icon-minscreen v-if="state.isFullScreen" class="icon-minscreen"></icon-minscreen>
<span class="full-screen-label">{{ getFullScreenLabel(state.isFullScreen) }}</span>
</div>
<tiny-button v-if="!isIconButton" type="info" @click="$emit('save')" class="plugin-save">保存</tiny-button>
<tiny-button v-if="isIconButton" :icon="icon" type="info" @click="$emit('add')">
{{ iconButtonText }}
</tiny-button>
<div v-if="showIfFullScreen" class="cursor" @click="fullScreen">
<svg-icon v-if="!state.isFullScreen" name="full-screen"></svg-icon>
<svg-icon v-if="state.isFullScreen" name="cancel-full-screen"></svg-icon>
</div>
<icon-close class="icon-close close" @click="$emit('cancel')"></icon-close>
</slot>
</div>
Expand All @@ -32,7 +31,7 @@
<script>
import { reactive, watchEffect } from 'vue'
import { Button } from '@opentiny/vue'
import { iconPlus, iconFullscreen, iconMinscreen, iconClose } from '@opentiny/vue-icon'
import { iconPlus, iconClose } from '@opentiny/vue-icon'

const EVENTS = {
FULL_SCREEN_CHANGE: 'fullScreenChange',
Expand All @@ -45,8 +44,6 @@ const EVENTS = {
export default {
components: {
TinyButton: Button,
IconFullscreen: iconFullscreen(),
IconMinscreen: iconMinscreen(),
IconClose: iconClose()
},
props: {
Expand Down Expand Up @@ -114,8 +111,6 @@ export default {
state,
fullScreen,
getFullScreenLabel,
IconFullscreen: iconFullscreen(),
IconMinscreen: iconMinscreen(),
IconClose: iconClose()
}
}
Expand All @@ -125,7 +120,7 @@ export default {
<style lang="less" scoped>
.plugin-setting {
position: absolute;
left: calc(var(--base-left-panel-width) - 6px);
left: var(--base-left-panel-width);
top: 0;
width: var(--base-collection-panel-width);
height: 100%;
Expand All @@ -136,6 +131,7 @@ export default {
&:not(.second-panel) {
box-shadow: 6px 0px 3px 0px rgba(0, 0, 0, 0.05);
border-right: none;
border-left: none;
}
&.full-screen {
width: var(--base-collection-panel-full-screen-width);
Expand All @@ -154,11 +150,12 @@ export default {
}

.cursor {
margin-left: 12px;
cursor: pointer;
}

.close {
margin-left: 16px;
margin-left: 12px;
cursor: pointer;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ export default {

.svg-wrap {
position: relative;
display: flex;
align-items: center;
.dots {
width: 6px;
height: 6px;
Expand All @@ -63,9 +65,8 @@ export default {
right: -2px;
z-index: 100;
}
}

.save-title {
margin: 0 6px;
.svg-icon.svg-icon.svg-icon {
color: var(--te-common-icon-primary);
}
}
</style>
8 changes: 4 additions & 4 deletions packages/layout/src/ToolbarCollapse.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<tiny-popover :visible-arrow="false" width="140" trigger="hover">
<tiny-popover :visible-arrow="false" width="140" trigger="click" :open-delay="500">
<template #reference>
<span class="toolbar-ellipsis">
<svg-icon name="ellipsis"></svg-icon>
Expand Down Expand Up @@ -60,13 +60,14 @@ export default {
}

.collapse-content {
margin: 8px 4px;
.empty-bar {
font-size: 12px;

.toolbar-list-button {
height: 24px;
line-height: 24px;
margin: 0 -16px;
padding: 0 16px;

&:hover {
background-color: var(--ti-lowcode-toolbar-ellipsis-hover-bg);
Expand All @@ -81,13 +82,12 @@ export default {

.icon-hides {
margin-right: 8px;
color: var(--te-common-icon-secondary);
color: var(--te-common-icon-primary);
}
}
}

.collapse-content .empty-bar:last-child {
margin-bottom: 4px;
.empty-line {
display: none;
}
Expand Down
16 changes: 14 additions & 2 deletions packages/plugins/block/src/BlockEventList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
</div>
</template>
<template #operate="{ data }">
<svg-button name="to-edit" tips="编辑" placement="top" @click="setEdit(data)"></svg-button>
<svg-button name="delete" tips="删除" placement="top" @click="delBlockEvent(data.name)"></svg-button>
<svg-button class="opt-button" name="to-edit" @click="setEdit(data)"></svg-button>
<svg-button class="opt-button" name="delete" @click="delBlockEvent(data.name)"></svg-button>
</template>
</meta-list-items>
</template>
Expand Down Expand Up @@ -68,6 +68,7 @@ export default {

.item-text {
flex: 1;
color: var(--te-common-text-primary);
}
.item-text.active {
font-weight: 700;
Expand All @@ -86,4 +87,15 @@ export default {
stroke: var(--te-common-text-weaken);
}
}
.opt-button {
color: var(--te-common-icon-secondary);
width: auto;
&:hover {
background-color: transparent;
color: var(--te-common-icon-secondary);
}
&:last-child {
margin-right: var(--te-base-space-3x);
}
}
</style>
13 changes: 9 additions & 4 deletions packages/plugins/block/src/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,12 @@
<div class="block-item">
<span>{{ item.name }}</span>
<div class="item-btns">
<svg-button class="item-icon" name="to-edit" title="编辑" @click.stop="editCategory(item)"></svg-button>
<svg-button
class="item-icon"
name="to-edit"
:hoverBgColor="false"
@click.stop="editCategory(item)"
></svg-button>
<tiny-popover
:modelValue="state.currentDeleteGroupId === item.id"
placement="right"
Expand All @@ -64,7 +69,7 @@
v-if="!item.blocks.length"
class="item-icon"
name="delete"
title="删除"
:hoverBgColor="false"
@click.stop="handleShowDeleteModal(item.id)"
></svg-button>
</template>
Expand Down Expand Up @@ -487,9 +492,9 @@ export default {
bottom: 0;
left: -6px;
right: 0;
padding: 10px 16px;
padding: 8px 16px;
background-color: var(--ti-lowcode-component-search-bg);
box-shadow: 0 -2px 12px 0 var(--te-base-box-shadow-rgba-2);
border-top: 1px solid var(--te-common-border-divider);
color: var(--ti-lowcode-component-block-list-item-color);
display: flex;
justify-content: space-between;
Expand Down
50 changes: 22 additions & 28 deletions packages/plugins/datasource/src/DataSourceFieldCheckRanger.vue
Original file line number Diff line number Diff line change
@@ -1,43 +1,35 @@
<!--录入数据的字符范围-->
<template>
<div class="collection-field-num">
<tiny-row gutter="0">
<tiny-col :span="6">
<div class="collection-field-item">
<tiny-form-item
prop="format.min"
:label="type === 'string' ? '最少输入字符数(包含空格)' : '最小值'"
label-width="300px"
>
<tiny-numeric v-model="formData.format.min" controls-position="right"></tiny-numeric>
</tiny-form-item>
</div>
</tiny-col>
<tiny-col :span="6">
<div class="collection-field-item">
<tiny-form-item
prop="format.max"
:label="type === 'string' ? '最多输入字符数(包含空格)' : '最大值'"
label-width="300px"
>
<tiny-numeric v-model="formData.format.max" controls-position="right"></tiny-numeric>
</tiny-form-item>
</div>
</tiny-col>
</tiny-row>
<div class="collection-field-item">
<tiny-form-item
prop="format.min"
:label="type === 'string' ? '最少输入字符数(包含空格)' : '最小值'"
label-width="300px"
>
<tiny-numeric v-model="formData.format.min" controls-position="right"></tiny-numeric>
</tiny-form-item>
</div>
<div class="collection-field-item">
<tiny-form-item
prop="format.max"
:label="type === 'string' ? '最多输入字符数(包含空格)' : '最大值'"
label-width="300px"
>
<tiny-numeric v-model="formData.format.max" controls-position="right"></tiny-numeric>
</tiny-form-item>
</div>
</div>
</template>

<script>
import { inject } from 'vue'
import { Numeric, FormItem, Row, Col } from '@opentiny/vue'
import { Numeric, FormItem } from '@opentiny/vue'
import { formDataInjectionSymbols } from './DataSourceFieldForm.vue'
export default {
components: {
TinyNumeric: Numeric,
TinyFormItem: FormItem,
TinyRow: Row,
TinyCol: Col
TinyFormItem: FormItem
},
props: {
type: {
Expand All @@ -57,6 +49,7 @@ export default {

<style lang="less" scoped>
.collection-field-item {
width: 50%;
.field-item-tip {
padding-left: 5px;
color: var(--ti-lowcode-datasource-description-error-color);
Expand All @@ -72,6 +65,7 @@ export default {
color: var(--ti-lowcode-datasource-dialog-font-color);
}
.collection-field-num {
display: flex;
align-items: center;
justify-content: space-between;
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/datasource/src/DataSourceFieldForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export default {
.field-cell-name {
margin-left: 5px;
font-weight: bold;
font-size: 15px;
font-size: var(--te-base-font-size-base);
.description {
color: var(--ti-lowcode-datasource-input-icon-color);
margin-left: 5px;
Expand Down
Loading
Loading