@wujies/components 5.6.3 → 5.6.5

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/dist/names.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
- * 宿主可共享的 UI 组件名。
2
+ * 通用可共享的 UI 组件名(不含宿主业务组件)。
3
3
  *
4
4
  * 唯一事实源:`@wujies/ui-plugin-bundler-kit` 用它注册构建期解析器,
5
5
  * 宿主 `scripts/gen-runtime-shims.mjs` 用同一份清单生成运行时垫片。
6
- * 新增组件时改这里 + 宿主 `runtime.ts` 的 SHARED_COMPONENTS。
6
+ * 新增组件时改这里 + 宿主 `runtime.ts` 的 SHARED_COMPONENTS,然后 `npm run gen:runtime`。
7
7
  */
8
- export declare const WUJIES_COMPONENT_NAMES: readonly ["ImagePreview", "ImageUpload", "KCard", "KDictTag", "KPlainButton", "KSearchBar", "KSelectedAlert", "KTable", "KTableHeader", "ModuleBusinessSettings", "ModuleWebsiteSettings", "SettingTabs", "UserDetail"];
8
+ export declare const WUJIES_COMPONENT_NAMES: readonly ["ImagePreview", "KCard", "KCustomTabs", "KDictTag", "KIpSegmentInput", "KPlainButton", "KSearchBar", "KSectionTitle", "KSegmented", "KSelectedAlert", "KSpin", "KTable", "KTableHeader", "SettingForm", "SettingTabs"];
9
9
  export type WujiesComponentName = (typeof WUJIES_COMPONENT_NAMES)[number];
package/dist/names.js CHANGED
@@ -1,17 +1,19 @@
1
1
  const WUJIES_COMPONENT_NAMES = [
2
2
  "ImagePreview",
3
- "ImageUpload",
4
3
  "KCard",
4
+ "KCustomTabs",
5
5
  "KDictTag",
6
+ "KIpSegmentInput",
6
7
  "KPlainButton",
7
8
  "KSearchBar",
9
+ "KSectionTitle",
10
+ "KSegmented",
8
11
  "KSelectedAlert",
12
+ "KSpin",
9
13
  "KTable",
10
14
  "KTableHeader",
11
- "ModuleBusinessSettings",
12
- "ModuleWebsiteSettings",
13
- "SettingTabs",
14
- "UserDetail"
15
+ "SettingForm",
16
+ "SettingTabs"
15
17
  ];
16
18
  export {
17
19
  WUJIES_COMPONENT_NAMES
package/dist/names.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"names.js","sources":["../src/names.ts"],"sourcesContent":["/**\n * 宿主可共享的 UI 组件名。\n *\n * 唯一事实源:`@wujies/ui-plugin-bundler-kit` 用它注册构建期解析器,\n * 宿主 `scripts/gen-runtime-shims.mjs` 用同一份清单生成运行时垫片。\n * 新增组件时改这里 + 宿主 `runtime.ts` 的 SHARED_COMPONENTS。\n */\nexport const WUJIES_COMPONENT_NAMES = [\n 'ImagePreview',\n 'ImageUpload',\n 'KCard',\n 'KDictTag',\n 'KPlainButton',\n 'KSearchBar',\n 'KSelectedAlert',\n 'KTable',\n 'KTableHeader',\n 'ModuleBusinessSettings',\n 'ModuleWebsiteSettings',\n 'SettingTabs',\n 'UserDetail'\n] as const;\n\nexport type WujiesComponentName = (typeof WUJIES_COMPONENT_NAMES)[number];\n"],"names":[],"mappings":"AAOO,MAAM,yBAAyB;AAAA,EACpC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;"}
1
+ {"version":3,"file":"names.js","sources":["../src/names.ts"],"sourcesContent":["/**\n * 通用可共享的 UI 组件名(不含宿主业务组件)。\n *\n * 唯一事实源:`@wujies/ui-plugin-bundler-kit` 用它注册构建期解析器,\n * 宿主 `scripts/gen-runtime-shims.mjs` 用同一份清单生成运行时垫片。\n * 新增组件时改这里 + 宿主 `runtime.ts` 的 SHARED_COMPONENTS,然后 `npm run gen:runtime`。\n */\nexport const WUJIES_COMPONENT_NAMES = [\n 'ImagePreview',\n 'KCard',\n 'KCustomTabs',\n 'KDictTag',\n 'KIpSegmentInput',\n 'KPlainButton',\n 'KSearchBar',\n 'KSectionTitle',\n 'KSegmented',\n 'KSelectedAlert',\n 'KSpin',\n 'KTable',\n 'KTableHeader',\n 'SettingForm',\n 'SettingTabs'\n] as const;\n\nexport type WujiesComponentName = (typeof WUJIES_COMPONENT_NAMES)[number];\n"],"names":[],"mappings":"AAOO,MAAM,yBAAyB;AAAA,EACpC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;"}
package/dist/style.css CHANGED
@@ -1,4 +1,4 @@
1
- @charset "UTF-8";.el-image[data-v-ed5d331b] {
1
+ .el-image[data-v-ed5d331b] {
2
2
  border-radius: 5px;
3
3
  background-color: #ebeef5;
4
4
  box-shadow: 0 0 5px 1px #ccc;
@@ -18,149 +18,93 @@
18
18
  height: 100%;
19
19
  color: #909399;
20
20
  font-size: 30px;
21
+ }.k-card[data-v-cbf723b1] {
22
+ border-radius: 8px;
23
+ background: var(--ele-card-bg);
21
24
  }
22
- /**
23
- * naive-ui Upload(list-type = image-card)皮肤
24
- * ------------------------------------------------------------------
25
- * 数值取自 naive-ui 源码:
26
- * src/upload/src/styles/index.cssr.ts → &--image-card / --image-card-type / __action / __progress
27
- * src/upload/styles/light.ts → itemBorderImageCard = 1px solid borderColor
28
- * src/_styles/common/light.ts → borderColor #e0e0e6 / actionColor #fafafc / borderRadius 3px
29
- */
30
- .component-upload-image[data-v-ab47c3bc] {
31
- /* ---------------- 触发区(加号卡片) ---------------- */
32
- /* n-upload-trigger--image-card .n-base-icon { font-size: 24px } */
33
- /* ---------------- 已上传卡片 ---------------- */
34
- /* 干掉 Element Plus 自带的“成功对勾角标”,naive 没有这个元素 */
35
- /* 干掉 Element Plus 自带的悬停遮罩层,改用 naive 的做法(缩略图降透明 + 操作居中) */
36
- }
37
- .component-upload-image[data-v-ab47c3bc] .el-upload--picture-card {
38
- display: flex;
39
- align-items: center;
40
- justify-content: center;
41
- width: 96px;
42
- height: 96px;
43
- line-height: 1;
44
- border: 1px dashed #e0e0e6;
45
- border-radius: 3px;
46
- background-color: #fafafc;
47
- transition: border-color 0.3s, background-color 0.3s;
48
- }
49
- .component-upload-image[data-v-ab47c3bc] .el-upload--picture-card:hover {
50
- border-color: var(--el-color-primary);
25
+ .k-card[data-v-cbf723b1] .el-card__header {
26
+ border-bottom: 0;
27
+ font-size: 16px;
28
+ font-weight: bold;
29
+ padding: 12px 16px;
51
30
  }
52
- .component-upload-image .naive-image-card__plus[data-v-ab47c3bc] {
53
- font-size: 24px;
54
- color: #c2c2c2;
31
+ .k-card[data-v-cbf723b1] .el-card__body {
32
+ padding: 0 16px 12px;
55
33
  }
56
- .component-upload-image[data-v-ab47c3bc] .el-upload-list--picture-card .el-upload-list__item {
57
- width: 96px;
58
- height: 96px;
59
- padding: 0;
60
- border: 1px solid #e0e0e6;
61
- border-radius: 3px;
34
+ .k-card.is-always-shadow[data-v-cbf723b1] {
35
+ box-shadow: var(--ele-card-shadow);
36
+ }.custom-tabs-wrapper[data-v-1a3054fc] {
37
+ display: flex;
38
+ min-height: 600px;
39
+ background: var(--el-bg-color);
40
+ border-radius: 8px;
62
41
  overflow: hidden;
63
- background-color: transparent;
64
42
  }
65
- .component-upload-image[data-v-ab47c3bc] .el-upload-list--picture-card .el-upload-list__item-status-label {
66
- display: none;
43
+ .custom-tabs[data-v-1a3054fc] {
44
+ width: 230px;
45
+ flex-shrink: 0;
46
+ background: var(--el-fill-color-blank);
47
+ border-right: 1px solid var(--el-border-color-light);
67
48
  }
68
- .component-upload-image[data-v-ab47c3bc] .el-upload-list--picture-card .el-upload-list__item-actions {
69
- display: none;
49
+ .custom-tabs[data-v-1a3054fc] .is-left {
50
+ width: 100%;
51
+ margin-right: 0;
52
+ padding: var(--spacing-sm);
70
53
  }
71
- .component-upload-image[data-v-ab47c3bc] .el-upload-list--picture-card .el-upload-list__item-thumbnail {
54
+ .custom-tabs[data-v-1a3054fc] .el-tabs__content {
72
55
  display: none;
73
56
  }
74
- .naive-image-card[data-v-ab47c3bc] {
75
- position: relative;
57
+ .custom-tabs[data-v-1a3054fc] .el-tabs__nav-wrap {
76
58
  width: 100%;
77
- height: 100%;
78
- /* n-upload-file--image-card-type .n-progress { left/right/bottom: 8px } */
79
- /* n-upload-file-info__action--image-card-type:铺满并居中 */
80
- /* 悬停:缩略图降到 .12,操作浮现(与 naive 的 ::before + thumbnail opacity .12 等价) */
81
59
  }
82
- .naive-image-card__img[data-v-ab47c3bc] {
83
- width: 100%;
84
- height: 100%;
85
- object-fit: cover;
86
- opacity: 1;
87
- transition: opacity 0.2s;
60
+ .custom-tabs[data-v-1a3054fc] .el-tabs__nav-wrap::after {
61
+ display: none;
88
62
  }
89
- .naive-image-card__progress[data-v-ab47c3bc] {
90
- position: absolute;
91
- left: 8px;
92
- right: 8px;
93
- bottom: 8px;
94
- height: 2px;
95
- border-radius: 1px;
96
- background-color: rgba(0, 0, 0, 0.12);
97
- overflow: hidden;
63
+ .custom-tabs[data-v-1a3054fc] .el-tabs__nav-wrap :deep(.el-tabs__nav-scroll) {
64
+ width: 100%;
98
65
  }
99
- .naive-image-card__bar[data-v-ab47c3bc] {
100
- height: 100%;
101
- background-color: var(--el-color-primary);
102
- transition: width 0.2s;
66
+ .custom-tabs[data-v-1a3054fc] .el-tabs__active-bar {
67
+ background: transparent;
68
+ width: 0;
103
69
  }
104
- .naive-image-card__action[data-v-ab47c3bc] {
105
- position: absolute;
106
- inset: 0;
107
- z-index: 2;
108
- display: flex;
109
- align-items: center;
110
- justify-content: center;
111
- gap: 4px;
112
- opacity: 0;
113
- transition: opacity 0.2s;
70
+ .custom-tabs[data-v-1a3054fc] .el-tabs__nav {
71
+ background: transparent;
114
72
  }
115
- .naive-image-card__action[data-v-ab47c3bc] .el-button {
116
- font-size: 18px;
117
- color: #333639;
73
+ .custom-tabs[data-v-1a3054fc] .el-tabs__item {
74
+ padding: 12px 20px;
75
+ height: auto;
76
+ line-height: normal;
77
+ color: var(--el-text-color-regular);
78
+ transition: all 0.3s;
79
+ border: none;
80
+ background: transparent;
81
+ margin: var(--spacing-xs) 0;
118
82
  }
119
- .naive-image-card__action[data-v-ab47c3bc] .el-button:hover {
83
+ .custom-tabs[data-v-1a3054fc] .el-tabs__item:hover {
84
+ background: var(--el-fill-color-light);
120
85
  color: var(--el-color-primary);
121
86
  }
122
- .naive-image-card:hover .naive-image-card__img[data-v-ab47c3bc] {
123
- opacity: 0.12;
124
- }
125
- .naive-image-card:hover .naive-image-card__action[data-v-ab47c3bc] {
126
- opacity: 1;
87
+ .custom-tabs[data-v-1a3054fc] .el-tabs__item.is-active {
88
+ background: var(--el-color-primary-light-9);
89
+ color: var(--el-color-primary);
90
+ font-weight: 500;
127
91
  }
128
-
129
- /* ---------------- 提示 ---------------- */
130
- .naive-upload-tip[data-v-ab47c3bc] {
92
+ .custom-tabs[data-v-1a3054fc] .el-tabs__item .custom-tab-label {
131
93
  display: flex;
132
94
  align-items: center;
133
- gap: 4px;
134
- margin-top: 8px;
135
- font-size: 14px;
136
- line-height: 1.6;
137
- color: #767c82;
138
- }
139
- .naive-upload-tip__icon[data-v-ab47c3bc] {
140
- font-size: 15px;
141
- color: #c2c2c2;
142
- cursor: help;
143
- }
144
- .naive-upload-tip__icon[data-v-ab47c3bc]:hover {
145
- color: var(--el-color-primary);
146
- }
147
- [data-v-ab47c3bc] .hide .el-upload--picture-card {
148
- display: none;
149
- }.k-card[data-v-cbf723b1] {
150
- border-radius: 8px;
151
- background: var(--ele-card-bg);
95
+ gap: 12px;
152
96
  }
153
- .k-card[data-v-cbf723b1] .el-card__header {
154
- border-bottom: 0;
155
- font-size: 16px;
156
- font-weight: bold;
157
- padding: 12px 16px;
97
+ .custom-tabs[data-v-1a3054fc] .el-tabs__item .custom-tab-label .tab-icon {
98
+ font-size: 18px;
158
99
  }
159
- .k-card[data-v-cbf723b1] .el-card__body {
160
- padding: 0 16px 12px;
100
+ .custom-tabs[data-v-1a3054fc] .el-tabs__item .custom-tab-label .tab-text {
101
+ font-size: 14px;
161
102
  }
162
- .k-card.is-always-shadow[data-v-cbf723b1] {
163
- box-shadow: var(--ele-card-shadow);
103
+ .custom-tabs-content[data-v-1a3054fc] {
104
+ flex: 1;
105
+ padding: 24px;
106
+ overflow-y: auto;
107
+ background: var(--el-bg-color);
164
108
  }.dict-tag[data-v-f24d054e] {
165
109
  display: inline-flex;
166
110
  align-items: center;
@@ -245,6 +189,50 @@
245
189
  }
246
190
  .dict-tag__item--fallback[data-v-f24d054e] {
247
191
  background: #f8fafc;
192
+ }.ip-segment-input[data-v-a3d263a5] {
193
+ display: inline-flex;
194
+ align-items: center;
195
+ border: 1px solid #dcdfe6;
196
+ border-radius: 4px;
197
+ padding: 0 8px;
198
+ background: #fff;
199
+ transition: border-color 0.2s;
200
+ }
201
+ .ip-segment-input[data-v-a3d263a5]:hover {
202
+ border-color: #c0c4cc;
203
+ }
204
+ .ip-segment-input[data-v-a3d263a5]:focus-within {
205
+ border-color: #409eff;
206
+ }
207
+ .ip-segment-input .ip-prefix[data-v-a3d263a5] {
208
+ color: #606266;
209
+ font-size: 14px;
210
+ padding-right: 2px;
211
+ user-select: none;
212
+ }
213
+ .ip-segment-input .ip-inputs[data-v-a3d263a5] {
214
+ display: flex;
215
+ align-items: center;
216
+ }
217
+ .ip-segment-input .ip-input[data-v-a3d263a5] {
218
+ width: 40px;
219
+ height: 30px;
220
+ border: none;
221
+ outline: none;
222
+ text-align: center;
223
+ font-size: 14px;
224
+ color: #606266;
225
+ padding: 0;
226
+ }
227
+ .ip-segment-input .ip-input[data-v-a3d263a5]::-webkit-inner-spin-button, .ip-segment-input .ip-input[data-v-a3d263a5]::-webkit-outer-spin-button {
228
+ -webkit-appearance: none;
229
+ margin: 0;
230
+ }
231
+ .ip-segment-input .ip-dot[data-v-a3d263a5] {
232
+ color: #606266;
233
+ font-size: 14px;
234
+ user-select: none;
235
+ padding: 0 2px;
248
236
  }.k-search-bar[data-v-995c528d] .el-collapse {
249
237
  border-radius: 8px;
250
238
  overflow: hidden;
@@ -285,6 +273,107 @@
285
273
  .k-search-bar__actions[data-v-995c528d] {
286
274
  justify-content: flex-start;
287
275
  }
276
+ }.section-title[data-v-59cb5e35] {
277
+ position: relative;
278
+ padding-left: 12px;
279
+ margin-bottom: 16px;
280
+ font-size: 16px;
281
+ font-weight: 600;
282
+ color: #1d2129;
283
+ line-height: 24px;
284
+ }
285
+ .section-title[data-v-59cb5e35]::before {
286
+ content: "";
287
+ position: absolute;
288
+ left: 0;
289
+ top: 4px;
290
+ width: 4px;
291
+ height: 16px;
292
+ background: #165dff;
293
+ border-radius: 2px;
294
+ }.k-segmented[data-v-bdb6d72b] {
295
+ --k-segmented-track-padding: 2px;
296
+ --k-segmented-track-bg: #f5f5f5;
297
+ --k-segmented-item-color: rgba(0, 0, 0, 0.65);
298
+ --k-segmented-item-hover-color: rgba(0, 0, 0, 0.88);
299
+ --k-segmented-item-hover-bg: rgba(0, 0, 0, 0.06);
300
+ --k-segmented-item-selected-bg: #ffffff;
301
+ --k-segmented-item-active-bg: rgba(0, 0, 0, 0.15);
302
+ --k-segmented-item-selected-color: rgba(0, 0, 0, 0.88);
303
+ --k-segmented-item-disabled-color: rgba(0, 0, 0, 0.25);
304
+ --el-segmented-color: var(--k-segmented-item-color);
305
+ --el-segmented-bg-color: var(--k-segmented-track-bg);
306
+ --el-segmented-padding: var(--k-segmented-track-padding);
307
+ --el-segmented-item-selected-color: var(--k-segmented-item-selected-color);
308
+ --el-segmented-item-selected-bg-color: var(--k-segmented-item-selected-bg);
309
+ --el-segmented-item-hover-color: var(--k-segmented-item-hover-color);
310
+ --el-segmented-item-hover-bg-color: var(--k-segmented-item-hover-bg);
311
+ --el-segmented-item-active-bg-color: var(--k-segmented-item-active-bg);
312
+ --el-segmented-item-disabled-color: var(--k-segmented-item-disabled-color);
313
+ min-height: 32px;
314
+ padding: var(--k-segmented-track-padding) !important;
315
+ border-radius: 6px !important;
316
+ background: var(--k-segmented-track-bg) !important;
317
+ font-size: 14px;
318
+ line-height: 1.5715;
319
+ }
320
+ .k-segmented.is-block[data-v-bdb6d72b] {
321
+ width: 100%;
322
+ }
323
+ .k-segmented[data-v-bdb6d72b] .el-segmented__item-selected {
324
+ border-radius: 4px !important;
325
+ background: var(--k-segmented-item-selected-bg) !important;
326
+ box-shadow: none !important;
327
+ }
328
+ .k-segmented[data-v-bdb6d72b] .el-segmented__item {
329
+ padding: 0 11px !important;
330
+ border-radius: 4px !important;
331
+ color: var(--k-segmented-item-color);
332
+ font-weight: 400;
333
+ transition: color 0.2s, background-color 0.2s;
334
+ }
335
+ .k-segmented[data-v-bdb6d72b] .el-segmented__item:not(.is-disabled):not(.is-selected):hover {
336
+ color: var(--k-segmented-item-hover-color) !important;
337
+ background: var(--k-segmented-item-hover-bg) !important;
338
+ }
339
+ .k-segmented[data-v-bdb6d72b] .el-segmented__item:not(.is-disabled):not(.is-selected):active {
340
+ background: var(--k-segmented-item-active-bg) !important;
341
+ }
342
+ .k-segmented[data-v-bdb6d72b] .el-segmented__item.is-selected {
343
+ color: var(--k-segmented-item-selected-color) !important;
344
+ }
345
+ .k-segmented[data-v-bdb6d72b] .el-segmented__item.is-disabled {
346
+ color: var(--k-segmented-item-disabled-color) !important;
347
+ }
348
+ .k-segmented[data-v-bdb6d72b] .el-segmented__item-label {
349
+ line-height: 28px;
350
+ }
351
+ .k-segmented.el-segmented--large[data-v-bdb6d72b] {
352
+ min-height: 40px;
353
+ border-radius: 8px !important;
354
+ }
355
+ .k-segmented.el-segmented--large[data-v-bdb6d72b] .el-segmented__item,
356
+ .k-segmented.el-segmented--large[data-v-bdb6d72b] .el-segmented__item-selected {
357
+ border-radius: 6px !important;
358
+ }
359
+ .k-segmented.el-segmented--large[data-v-bdb6d72b] .el-segmented__item-label {
360
+ line-height: 36px;
361
+ }
362
+ .k-segmented.el-segmented--small[data-v-bdb6d72b] {
363
+ min-height: 24px;
364
+ }
365
+ .k-segmented.el-segmented--small[data-v-bdb6d72b] .el-segmented__item-label {
366
+ line-height: 20px;
367
+ }
368
+ html.dark .k-segmented[data-v-bdb6d72b] {
369
+ --k-segmented-track-bg: rgba(255, 255, 255, 0.08);
370
+ --k-segmented-item-color: rgba(255, 255, 255, 0.65);
371
+ --k-segmented-item-hover-color: rgba(255, 255, 255, 0.88);
372
+ --k-segmented-item-hover-bg: rgba(255, 255, 255, 0.12);
373
+ --k-segmented-item-selected-bg: rgba(255, 255, 255, 0.16);
374
+ --k-segmented-item-active-bg: rgba(255, 255, 255, 0.2);
375
+ --k-segmented-item-selected-color: rgba(255, 255, 255, 0.95);
376
+ --k-segmented-item-disabled-color: rgba(255, 255, 255, 0.3);
288
377
  }.k-selected-alert[data-v-cf66b3b3] {
289
378
  margin: 0 0 10px;
290
379
  }
@@ -295,6 +384,41 @@
295
384
  }
296
385
  .title[data-v-cf66b3b3] {
297
386
  color: #2c3e50;
387
+ }.k-spin[data-v-92190b3d] {
388
+ position: relative;
389
+ min-height: inherit;
390
+ }
391
+ .k-spin__content[data-v-92190b3d] {
392
+ height: 100%;
393
+ }
394
+ .k-spin__mask[data-v-92190b3d] {
395
+ position: absolute;
396
+ inset: 0;
397
+ z-index: 10;
398
+ display: flex;
399
+ align-items: center;
400
+ justify-content: center;
401
+ backdrop-filter: blur(2px);
402
+ }
403
+ .k-spin__indicator[data-v-92190b3d] {
404
+ display: flex;
405
+ flex-direction: column;
406
+ align-items: center;
407
+ gap: 10px;
408
+ color: var(--el-color-primary);
409
+ }
410
+ .k-spin__description[data-v-92190b3d] {
411
+ margin: 0;
412
+ font-size: 13px;
413
+ color: var(--el-text-color-regular);
414
+ }
415
+ .k-spin-fade-enter-active[data-v-92190b3d],
416
+ .k-spin-fade-leave-active[data-v-92190b3d] {
417
+ transition: opacity 0.2s ease;
418
+ }
419
+ .k-spin-fade-enter-from[data-v-92190b3d],
420
+ .k-spin-fade-leave-to[data-v-92190b3d] {
421
+ opacity: 0;
298
422
  }.k-table[data-v-05ba2501] {
299
423
  display: flex;
300
424
  flex-direction: column;
@@ -484,74 +608,6 @@
484
608
  padding-top: 24px;
485
609
  border-top: 1px solid var(--el-border-color-lighter);
486
610
  margin-top: 32px;
487
- }.business-config-container[data-v-1df6b0cb] {
488
- max-width: 800px;
489
- }
490
- .w-full[data-v-1df6b0cb] {
491
- width: 100%;
492
- }.website-config-container[data-v-d11a083d] {
493
- display: flex;
494
- gap: 24px;
495
- align-items: flex-start;
496
- }
497
- @media (max-width: 1200px) {
498
- .website-config-container[data-v-d11a083d] {
499
- flex-direction: column;
500
- }
501
- }
502
- .form-section[data-v-d11a083d] {
503
- flex: 1;
504
- min-width: 0;
505
- }
506
- .preview-section[data-v-d11a083d] {
507
- width: 360px;
508
- flex-shrink: 0;
509
- position: sticky;
510
- top: 20px;
511
- }
512
- @media (max-width: 1200px) {
513
- .preview-section[data-v-d11a083d] {
514
- width: 100%;
515
- position: static;
516
- }
517
- }
518
- .preview-title[data-v-d11a083d] {
519
- margin-bottom: 16px;
520
- font-size: 16px;
521
- font-weight: 600;
522
- }
523
- .preview-container[data-v-d11a083d] {
524
- padding: 16px;
525
- border: 1px solid var(--el-border-color);
526
- border-radius: 6px;
527
- background: var(--el-fill-color-blank);
528
- }
529
- .preview-header[data-v-d11a083d] {
530
- padding-bottom: 16px;
531
- margin-bottom: 16px;
532
- border-bottom: 1px solid var(--el-border-color);
533
- }
534
- .preview-logo[data-v-d11a083d] {
535
- height: 40px;
536
- object-fit: contain;
537
- }
538
- .preview-name[data-v-d11a083d] {
539
- margin: 0;
540
- font-size: 24px;
541
- font-weight: 700;
542
- }
543
- .preview-desc[data-v-d11a083d] {
544
- margin: 12px 0 0;
545
- line-height: 1.7;
546
- color: var(--el-text-color-regular);
547
- }
548
- .preview-meta[data-v-d11a083d] {
549
- display: flex;
550
- flex-direction: column;
551
- gap: 6px;
552
- margin-top: 16px;
553
- font-size: 13px;
554
- color: var(--el-text-color-secondary);
555
611
  }.setting-tabs[data-v-97bf5366] {
556
612
  display: flex;
557
613
  min-height: 800px;
@@ -596,19 +652,4 @@
596
652
  flex: 1;
597
653
  padding: 24px;
598
654
  overflow-y: auto;
599
- }.user-detail-container[data-v-c0cb0304] {
600
- min-height: 200px;
601
- }
602
- .user-detail-container .detail-content .user-avatar[data-v-c0cb0304] {
603
- display: flex;
604
- justify-content: center;
605
- margin-bottom: 20px;
606
- padding: 20px;
607
- background: #f5f7fa;
608
- border-radius: 4px;
609
- }
610
- .user-detail-container .detail-content .user-info .roles-container[data-v-c0cb0304] {
611
- display: flex;
612
- flex-wrap: wrap;
613
- gap: 4px;
614
655
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wujies/components",
3
- "version": "5.6.3",
3
+ "version": "5.6.5",
4
4
  "description": "无界平台共享 UI 组件:由宿主 plus-ui 源码编译,运行时经宿主 Import Map 共享同一份实例",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -34,18 +34,11 @@
34
34
  "url": "https://gitee.com/impressivel/wujies-plugins.git",
35
35
  "directory": "frontend/packages/components"
36
36
  },
37
- "scripts": {
38
- "sync:host": "node scripts/sync-host-components.mjs",
39
- "build": "vite build && vue-tsc -p tsconfig.build.json",
40
- "typecheck": "vue-tsc -p tsconfig.json",
41
- "prepublishOnly": "pnpm run build",
42
- "clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\""
43
- },
44
37
  "dependencies": {
45
- "@wujies/ui-shared": "workspace:^",
46
38
  "image-conversion": "2.1.1",
47
39
  "vue-draggable-plus": "^0.6.1",
48
- "vue-types": "6.0.0"
40
+ "vue-types": "6.0.0",
41
+ "@wujies/ui-shared": "^5.6.5"
49
42
  },
50
43
  "peerDependencies": {
51
44
  "@element-plus/icons-vue": "^2.3.2",
@@ -62,5 +55,11 @@
62
55
  "vite": "6.3.2",
63
56
  "vue": "3.5.13",
64
57
  "vue-tsc": "^2.2.8"
58
+ },
59
+ "scripts": {
60
+ "sync:host": "node scripts/sync-host-components.mjs",
61
+ "build": "vite build && vue-tsc -p tsconfig.build.json",
62
+ "typecheck": "vue-tsc -p tsconfig.json",
63
+ "clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\""
65
64
  }
66
- }
65
+ }
@@ -1,2 +0,0 @@
1
- export declare function listConfig(query: Record<string, any>): Promise<any>;
2
- export declare function updateConfigByKey(key: string, value: any): Promise<any>;
@@ -1,2 +0,0 @@
1
- export declare function listByIds(ossId: string | number): Promise<any>;
2
- export declare function delOss(ossId: string | number | Array<string | number>): Promise<any>;
@@ -1,11 +0,0 @@
1
- export interface OssVO {
2
- ossId: string | number;
3
- url: string;
4
- fileName?: string;
5
- originalName?: string;
6
- [key: string]: any;
7
- }
8
- export interface ConfigQuery {
9
- configKey?: string;
10
- [key: string]: any;
11
- }
@@ -1 +0,0 @@
1
- export declare function getUser(userId?: string | number): Promise<any>;