yc-agent-ui 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -5
- package/es/components/chart/src/chart-card.vue.d.ts +56 -10
- package/es/components/chart/src/chart-container.vue.d.ts +11 -1
- package/es/components/chart/src/theme.d.ts +1 -1
- package/es/components/dialog-form/index.d.ts +4 -4
- package/es/components/dialog-form/src/index.vue.d.ts +4 -4
- package/es/components/display-item/index.d.ts +15 -15
- package/es/components/display-item/src/index.vue.d.ts +13 -13
- package/es/components/drawer-form/index.d.ts +4 -4
- package/es/components/drawer-form/src/index.vue.d.ts +4 -4
- package/es/components/form/index.d.ts +8 -8
- package/es/components/form/src/form-content.vue.d.ts +8 -8
- package/es/components/form/src/index.vue.d.ts +8 -8
- package/es/components/form-item/index.d.ts +6 -6
- package/es/components/form-item/src/index.vue.d.ts +6 -6
- package/es/components/page/index.d.ts +172 -172
- package/es/components/page/src/index.vue.d.ts +60 -60
- package/es/components/search/index.d.ts +52 -52
- package/es/components/search/src/index.vue.d.ts +20 -20
- package/es/components/table/src/table-column.vue.d.ts +34 -34
- package/es/components/yc-ai-chat/index.d.ts +1 -0
- package/es/components/yc-ai-chat/src/bubble.vue.d.ts +2 -0
- package/es/components/yc-ai-chat/src/mobile-frame.vue.d.ts +2 -0
- package/es/components/yc-ai-chat/src/select.vue.d.ts +1 -0
- package/es/components/yc-ai-chat/src/sender.vue.d.ts +1 -0
- package/es/components/yc-ai-chat/src/sidebar.vue.d.ts +15 -1
- package/es/components/yc-ai-chat/src/studio.vue.d.ts +5 -1
- package/es/components/yc-ai-chat/src/welcome.vue.d.ts +11 -1
- package/es/components/yc-plus-page/src/index.vue.d.ts +176 -176
- package/es/hooks/usePlusFormReset.d.ts +48 -48
- package/es/index.css +9 -9
- package/es/index.mjs +1 -0
- package/es/packages/components/chart/src/chart-card2.vue.mjs +9 -2
- package/es/packages/components/chart/src/chart-container2.vue.mjs +13 -1
- package/es/packages/components/chart/src/theme.mjs +18 -10
- package/es/packages/components/data-table/capability.mjs +1 -1
- package/es/packages/components/index.mjs +1 -0
- package/es/packages/components/yc-ai-chat/index.mjs +1 -0
- package/es/packages/components/yc-ai-chat/src/bubble2.vue.mjs +24 -15
- package/es/packages/components/yc-ai-chat/src/mobile-frame2.vue.mjs +34 -31
- package/es/packages/components/yc-ai-chat/src/presets.mjs +1 -1
- package/es/packages/components/yc-ai-chat/src/select2.vue.mjs +9 -4
- package/es/packages/components/yc-ai-chat/src/sender2.vue.mjs +20 -17
- package/es/packages/components/yc-ai-chat/src/sidebar2.vue.mjs +89 -56
- package/es/packages/components/yc-ai-chat/src/studio2.vue.mjs +304 -119
- package/es/packages/components/yc-ai-chat/src/welcome2.vue.mjs +22 -40
- package/es/packages/components/yc-gradient-card/capability.mjs +8 -8
- package/es/packages/components/yc-input/src/stepper-input2.vue.mjs +48 -24
- package/es/packages/registry/types.mjs +1 -1
- package/es/registry/types.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +1 -1
- package/index.js +4093 -824
- package/index.min.js +42 -39
- package/index.min.mjs +39 -36
- package/index.mjs +4169 -910
- package/lib/components/chart/src/chart-card.vue.d.ts +56 -10
- package/lib/components/chart/src/chart-container.vue.d.ts +11 -1
- package/lib/components/chart/src/theme.d.ts +1 -1
- package/lib/components/dialog-form/index.d.ts +4 -4
- package/lib/components/dialog-form/src/index.vue.d.ts +4 -4
- package/lib/components/display-item/index.d.ts +15 -15
- package/lib/components/display-item/src/index.vue.d.ts +13 -13
- package/lib/components/drawer-form/index.d.ts +4 -4
- package/lib/components/drawer-form/src/index.vue.d.ts +4 -4
- package/lib/components/form/index.d.ts +8 -8
- package/lib/components/form/src/form-content.vue.d.ts +8 -8
- package/lib/components/form/src/index.vue.d.ts +8 -8
- package/lib/components/form-item/index.d.ts +6 -6
- package/lib/components/form-item/src/index.vue.d.ts +6 -6
- package/lib/components/page/index.d.ts +172 -172
- package/lib/components/page/src/index.vue.d.ts +60 -60
- package/lib/components/search/index.d.ts +52 -52
- package/lib/components/search/src/index.vue.d.ts +20 -20
- package/lib/components/table/src/table-column.vue.d.ts +34 -34
- package/lib/components/yc-ai-chat/index.d.ts +1 -0
- package/lib/components/yc-ai-chat/src/bubble.vue.d.ts +2 -0
- package/lib/components/yc-ai-chat/src/mobile-frame.vue.d.ts +2 -0
- package/lib/components/yc-ai-chat/src/select.vue.d.ts +1 -0
- package/lib/components/yc-ai-chat/src/sender.vue.d.ts +1 -0
- package/lib/components/yc-ai-chat/src/sidebar.vue.d.ts +15 -1
- package/lib/components/yc-ai-chat/src/studio.vue.d.ts +5 -1
- package/lib/components/yc-ai-chat/src/welcome.vue.d.ts +11 -1
- package/lib/components/yc-plus-page/src/index.vue.d.ts +176 -176
- package/lib/hooks/usePlusFormReset.d.ts +48 -48
- package/lib/index.css +11 -11
- package/lib/index.js +41 -0
- package/lib/packages/components/chart/src/chart-card2.vue.js +9 -2
- package/lib/packages/components/chart/src/chart-container2.vue.js +13 -1
- package/lib/packages/components/chart/src/theme.js +18 -10
- package/lib/packages/components/data-table/capability.js +1 -1
- package/lib/packages/components/index.js +41 -0
- package/lib/packages/components/yc-ai-chat/index.js +41 -0
- package/lib/packages/components/yc-ai-chat/src/bubble2.vue.js +24 -15
- package/lib/packages/components/yc-ai-chat/src/mobile-frame2.vue.js +34 -31
- package/lib/packages/components/yc-ai-chat/src/presets.js +1 -1
- package/lib/packages/components/yc-ai-chat/src/select2.vue.js +9 -4
- package/lib/packages/components/yc-ai-chat/src/sender2.vue.js +20 -17
- package/lib/packages/components/yc-ai-chat/src/sidebar2.vue.js +88 -55
- package/lib/packages/components/yc-ai-chat/src/studio2.vue.js +303 -118
- package/lib/packages/components/yc-ai-chat/src/welcome2.vue.js +21 -39
- package/lib/packages/components/yc-gradient-card/capability.js +8 -8
- package/lib/packages/components/yc-input/src/stepper-input2.vue.js +47 -23
- package/lib/packages/registry/types.js +1 -1
- package/lib/registry/types.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/plus-search.css +1 -1
- package/theme-chalk/plus-yc-ai-chat.css +1 -1
- package/theme-chalk/plus-yc-data-table.css +1 -1
- package/theme-chalk/plus-yc-property-table.css +1 -1
- package/theme-chalk/src/search.scss +93 -3
- package/theme-chalk/src/yc-ai-chat.scss +785 -18
- package/theme-chalk/src/yc-data-table.scss +57 -42
- package/theme-chalk/src/yc-property-table.scss +35 -14
|
@@ -1,27 +1,29 @@
|
|
|
1
1
|
/* =========================================================
|
|
2
|
-
|
|
2
|
+
Gemini 风格 Data Table 组件样式 (YcDataTable)
|
|
3
3
|
========================================================= */
|
|
4
4
|
|
|
5
5
|
.yc-data-table-wrapper {
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: column;
|
|
8
|
+
gap: 14px;
|
|
8
9
|
position: relative;
|
|
9
10
|
box-sizing: border-box;
|
|
10
11
|
width: 100%;
|
|
11
12
|
|
|
12
13
|
&.is-card {
|
|
13
14
|
background-color: var(--el-bg-color-overlay, #ffffff);
|
|
14
|
-
border: 1px solid
|
|
15
|
-
border-radius:
|
|
15
|
+
border: 1px solid rgba(15, 23, 42, 0.06);
|
|
16
|
+
border-radius: 20px;
|
|
16
17
|
padding: 20px 24px;
|
|
17
18
|
gap: 16px;
|
|
19
|
+
box-shadow: 0 2px 12px rgba(15, 23, 42, 0.03);
|
|
18
20
|
transition: border-color 0.2s ease, box-shadow 0.2s ease;
|
|
19
21
|
|
|
20
22
|
&.is-hover-shadow:hover {
|
|
21
|
-
box-shadow: 0 10px
|
|
23
|
+
box-shadow: 0 10px 28px -6px rgba(15, 23, 42, 0.07);
|
|
22
24
|
}
|
|
23
25
|
&.is-always-shadow {
|
|
24
|
-
box-shadow: 0 4px
|
|
26
|
+
box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06);
|
|
25
27
|
}
|
|
26
28
|
&.is-never-shadow {
|
|
27
29
|
box-shadow: none;
|
|
@@ -93,7 +95,7 @@
|
|
|
93
95
|
margin-left: auto;
|
|
94
96
|
}
|
|
95
97
|
|
|
96
|
-
/*
|
|
98
|
+
/* 搜索框(Gemini 胶囊搜索栏风格) */
|
|
97
99
|
.yc-data-table-search {
|
|
98
100
|
position: relative;
|
|
99
101
|
display: inline-flex;
|
|
@@ -102,37 +104,42 @@
|
|
|
102
104
|
|
|
103
105
|
.yc-data-table-search__icon {
|
|
104
106
|
position: absolute;
|
|
105
|
-
left:
|
|
106
|
-
width:
|
|
107
|
-
height:
|
|
108
|
-
color:
|
|
107
|
+
left: 13px;
|
|
108
|
+
width: 15px;
|
|
109
|
+
height: 15px;
|
|
110
|
+
color: #64748b;
|
|
109
111
|
pointer-events: none;
|
|
110
112
|
}
|
|
111
113
|
|
|
112
114
|
.yc-data-table-search__input {
|
|
113
|
-
height:
|
|
114
|
-
width:
|
|
115
|
-
padding: 0
|
|
116
|
-
font-size:
|
|
117
|
-
color:
|
|
118
|
-
background-color:
|
|
119
|
-
border: 1px solid
|
|
120
|
-
border-radius:
|
|
115
|
+
height: 36px;
|
|
116
|
+
width: 240px;
|
|
117
|
+
padding: 0 32px 0 36px;
|
|
118
|
+
font-size: 13.5px;
|
|
119
|
+
color: #1e293b;
|
|
120
|
+
background-color: #f3f6fb;
|
|
121
|
+
border: 1px solid transparent;
|
|
122
|
+
border-radius: 999px;
|
|
121
123
|
outline: none;
|
|
122
124
|
box-sizing: border-box;
|
|
123
|
-
transition: border-color 0.
|
|
125
|
+
transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
|
|
124
126
|
|
|
125
127
|
&::placeholder {
|
|
126
|
-
color:
|
|
128
|
+
color: #8b95a5;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&:hover:not(:focus) {
|
|
132
|
+
background-color: #eef2f8;
|
|
127
133
|
}
|
|
128
134
|
|
|
129
135
|
&:focus {
|
|
130
|
-
|
|
131
|
-
|
|
136
|
+
background-color: #ffffff;
|
|
137
|
+
border-color: rgba(26, 115, 232, 0.36);
|
|
138
|
+
box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.08);
|
|
132
139
|
}
|
|
133
140
|
|
|
134
141
|
@media (max-width: 640px) {
|
|
135
|
-
width:
|
|
142
|
+
width: 176px;
|
|
136
143
|
}
|
|
137
144
|
}
|
|
138
145
|
|
|
@@ -334,48 +341,54 @@
|
|
|
334
341
|
}
|
|
335
342
|
|
|
336
343
|
/* =========================================================
|
|
337
|
-
表格核心容器与 ElTable 样式深度重置 (Modern Table)
|
|
344
|
+
表格核心容器与 ElTable 样式深度重置 (Gemini Modern Table)
|
|
338
345
|
========================================================= */
|
|
339
346
|
.yc-data-table-container {
|
|
340
|
-
border: 1px solid
|
|
341
|
-
border-radius:
|
|
347
|
+
border: 1px solid rgba(15, 23, 42, 0.07);
|
|
348
|
+
border-radius: 16px;
|
|
342
349
|
overflow: hidden;
|
|
343
350
|
background-color: var(--el-bg-color-overlay, #ffffff);
|
|
351
|
+
box-shadow: 0 1px 4px rgba(15, 23, 42, 0.02);
|
|
344
352
|
}
|
|
345
353
|
|
|
346
354
|
.yc-data-table {
|
|
347
|
-
--el-table-border-color:
|
|
348
|
-
--el-table-header-bg-color:
|
|
349
|
-
--el-table-row-hover-bg-color:
|
|
355
|
+
--el-table-border-color: rgba(15, 23, 42, 0.06);
|
|
356
|
+
--el-table-header-bg-color: #f4f7fb;
|
|
357
|
+
--el-table-row-hover-bg-color: rgba(26, 115, 232, 0.035);
|
|
350
358
|
width: 100%;
|
|
351
359
|
|
|
352
|
-
/*
|
|
360
|
+
/* 移除多余纵向分割线,保持扁平通透美学 */
|
|
353
361
|
&::before,
|
|
354
362
|
.el-table__inner-wrapper::before {
|
|
355
363
|
display: none;
|
|
356
364
|
}
|
|
357
365
|
|
|
358
366
|
.el-table__header-wrapper th.el-table__cell {
|
|
359
|
-
background-color:
|
|
360
|
-
color:
|
|
361
|
-
font-size:
|
|
362
|
-
font-weight:
|
|
363
|
-
height:
|
|
364
|
-
padding: 0
|
|
365
|
-
border-bottom: 1px solid
|
|
367
|
+
background-color: #f4f7fb;
|
|
368
|
+
color: #475569;
|
|
369
|
+
font-size: 12.5px;
|
|
370
|
+
font-weight: 600;
|
|
371
|
+
height: 44px;
|
|
372
|
+
padding: 0 16px;
|
|
373
|
+
border-bottom: 1px solid rgba(15, 23, 42, 0.06);
|
|
366
374
|
}
|
|
367
375
|
|
|
368
376
|
.el-table__body-wrapper td.el-table__cell {
|
|
369
|
-
font-size:
|
|
370
|
-
color:
|
|
371
|
-
padding:
|
|
372
|
-
border-bottom: 1px solid
|
|
377
|
+
font-size: 13.5px;
|
|
378
|
+
color: #1e293b;
|
|
379
|
+
padding: 13px 16px;
|
|
380
|
+
border-bottom: 1px solid rgba(15, 23, 42, 0.05);
|
|
381
|
+
transition: background-color 0.15s ease;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.el-table__body-wrapper tr:last-child td.el-table__cell {
|
|
385
|
+
border-bottom: none;
|
|
373
386
|
}
|
|
374
387
|
|
|
375
388
|
/* 选中行柔和背景高亮 */
|
|
376
389
|
.el-table__row.current-row > td.el-table__cell,
|
|
377
390
|
.el-table__row:has(.el-checkbox__input.is-checked) > td.el-table__cell {
|
|
378
|
-
background-color:
|
|
391
|
+
background-color: rgba(26, 115, 232, 0.06) !important;
|
|
379
392
|
}
|
|
380
393
|
}
|
|
381
394
|
|
|
@@ -460,6 +473,8 @@
|
|
|
460
473
|
.yc-data-table__tag {
|
|
461
474
|
font-weight: 500;
|
|
462
475
|
font-size: 12px;
|
|
476
|
+
border-radius: 999px;
|
|
477
|
+
padding: 0 10px;
|
|
463
478
|
}
|
|
464
479
|
|
|
465
480
|
/* 行操作按钮 */
|
|
@@ -16,6 +16,15 @@
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
.yc-device-table-container,
|
|
20
|
+
.yc-order-table-container,
|
|
21
|
+
.yc-bill-table-container,
|
|
22
|
+
.yc-asset-table-container {
|
|
23
|
+
width: 100%;
|
|
24
|
+
min-width: 0;
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
}
|
|
27
|
+
|
|
19
28
|
.yc-property-table-wrapper {
|
|
20
29
|
position: relative;
|
|
21
30
|
width: 100%;
|
|
@@ -806,39 +815,51 @@
|
|
|
806
815
|
}
|
|
807
816
|
}
|
|
808
817
|
|
|
809
|
-
// 2.
|
|
818
|
+
// 2. 财务收费账单卡片特化(Gemini 官方浅色汇总指标卡风格)
|
|
810
819
|
.yc-bill-summary-bar {
|
|
811
|
-
display:
|
|
820
|
+
display: grid;
|
|
821
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
812
822
|
align-items: center;
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
color: #
|
|
816
|
-
padding:
|
|
817
|
-
border-radius:
|
|
823
|
+
background: linear-gradient(135deg, #f4f7fc 0%, #eef3fb 100%);
|
|
824
|
+
border: 1px solid rgba(26, 115, 232, 0.12);
|
|
825
|
+
color: #1e293b;
|
|
826
|
+
padding: 16px 12px;
|
|
827
|
+
border-radius: 18px;
|
|
818
828
|
margin-bottom: 16px;
|
|
819
|
-
box-shadow: 0
|
|
829
|
+
box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
|
|
820
830
|
}
|
|
821
831
|
|
|
822
832
|
.yc-bill-summary-item {
|
|
823
833
|
display: flex;
|
|
824
834
|
flex-direction: column;
|
|
825
835
|
align-items: center;
|
|
826
|
-
gap:
|
|
836
|
+
gap: 5px;
|
|
837
|
+
padding: 0 10px;
|
|
838
|
+
min-width: 0;
|
|
839
|
+
|
|
840
|
+
& + & {
|
|
841
|
+
border-left: 1px solid rgba(15, 23, 42, 0.07);
|
|
842
|
+
}
|
|
827
843
|
|
|
828
844
|
&.is-danger .yc-bill-summary-val {
|
|
829
|
-
color: #
|
|
845
|
+
color: #d93025;
|
|
830
846
|
}
|
|
831
847
|
}
|
|
832
848
|
|
|
833
849
|
.yc-bill-summary-label {
|
|
834
|
-
font-size:
|
|
835
|
-
|
|
850
|
+
font-size: 12px;
|
|
851
|
+
font-weight: 500;
|
|
852
|
+
color: #5f6368;
|
|
853
|
+
letter-spacing: 0.01em;
|
|
836
854
|
}
|
|
837
855
|
|
|
838
856
|
.yc-bill-summary-val {
|
|
839
|
-
font-size:
|
|
857
|
+
font-size: 19px;
|
|
840
858
|
font-weight: 700;
|
|
841
|
-
|
|
859
|
+
color: #1f1f1f;
|
|
860
|
+
font-variant-numeric: tabular-nums;
|
|
861
|
+
letter-spacing: -0.02em;
|
|
862
|
+
line-height: 1.25;
|
|
842
863
|
}
|
|
843
864
|
|
|
844
865
|
.yc-bill-card {
|