@deppon/deppon-template 2.4.24 → 2.5.4
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 +4 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +8 -0
- package/es/pro-dialog/ProDialog.vue.css +39 -2
- package/es/pro-field/ProField.vue.css +39 -2
- package/es/pro-field/components/DatePicker/FieldDatePicker.vue.css +39 -2
- package/es/pro-field/components/Select/FieldSelect.vue.css +39 -2
- package/es/pro-form/ProForm.vue.css +39 -2
- package/es/pro-iframe/ProIframe.vue.css +78 -0
- package/es/pro-iframe/ProIframe.vue.js +7 -0
- package/es/pro-iframe/ProIframe.vue_vue_type_script_setup_true_lang.vue.js +271 -0
- package/es/pro-iframe/ProIframe.vue_vue_type_style_index_0_id_7119d75d_scoped_true_lang.vue.js +1 -0
- package/es/pro-iframe/ProIframeRouteView.vue.js +5 -0
- package/es/pro-iframe/ProIframeRouteView.vue_vue_type_script_setup_true_lang.vue.js +85 -0
- package/es/pro-iframe/buildIframeRouteLocation.d.ts +18 -0
- package/es/pro-iframe/buildIframeRouteLocation.js +34 -0
- package/es/pro-iframe/createIframeRoute.d.ts +33 -0
- package/es/pro-iframe/createIframeRoute.js +46 -0
- package/es/pro-iframe/index.d.ts +43 -0
- package/es/pro-iframe/isInIframeEmbed.d.ts +4 -0
- package/es/pro-iframe/isInIframeEmbed.js +15 -0
- package/es/pro-iframe/resolveIframeSrc.d.ts +19 -0
- package/es/pro-iframe/resolveIframeSrc.js +177 -0
- package/es/pro-iframe/types.d.ts +60 -0
- package/es/pro-layout/ProLayout.vue.css +521 -129
- package/es/pro-layout/ProLayout.vue_vue_type_script_setup_true_lang.vue.js +747 -68
- package/es/pro-layout/ProLayoutColumnsAside.vue.css +62 -0
- package/es/pro-layout/ProLayoutColumnsAside.vue.js +7 -0
- package/es/pro-layout/ProLayoutColumnsAside.vue_vue_type_script_setup_true_lang.vue.js +86 -0
- package/es/pro-layout/ProLayoutColumnsAside.vue_vue_type_style_index_0_id_18647f64_scoped_true_lang.vue.js +1 -0
- package/es/pro-layout/ProLayoutSettingsDrawer.vue.css +140 -0
- package/es/pro-layout/ProLayoutSettingsDrawer.vue.js +7 -0
- package/es/pro-layout/ProLayoutSettingsDrawer.vue_vue_type_script_setup_true_lang.vue.js +280 -0
- package/es/pro-layout/ProLayoutSettingsDrawer.vue_vue_type_style_index_0_id_5b67a386_scoped_true_lang.vue.js +1 -0
- package/es/pro-layout/ProLayoutSettingsFab.vue.css +81 -0
- package/es/pro-layout/ProLayoutSettingsFab.vue.js +7 -0
- package/es/pro-layout/ProLayoutSettingsFab.vue_vue_type_script_setup_true_lang.vue.js +106 -0
- package/es/pro-layout/ProLayoutSettingsFab.vue_vue_type_style_index_0_id_3bf2eb6b_scoped_true_lang.vue.js +1 -0
- package/es/pro-layout/index.d.ts +51 -1
- package/es/pro-layout/index.js +3 -0
- package/es/pro-layout/pro-layout-context.d.ts +8 -0
- package/es/pro-layout/pro-layout-context.js +5 -0
- package/es/pro-layout/proLayoutGlobalColors.d.ts +16 -0
- package/es/pro-layout/proLayoutGlobalColors.js +171 -0
- package/es/pro-layout/proLayoutTheme.d.ts +29 -0
- package/es/pro-layout/proLayoutTheme.js +232 -0
- package/es/pro-layout/types.d.ts +52 -0
- package/es/pro-table/ProTable.vue.css +39 -2
- package/es/pro-table/ProTableColumn.vue.css +39 -2
- package/es/pro-table/ToolBar/ColumnSetting.vue.css +39 -2
- package/es/pro-table/ToolBar/Density.vue.css +39 -2
- package/es/pro-table/ToolBar/Fullscreen.vue.css +39 -2
- package/es/pro-table/ToolBar/index.vue.css +39 -2
- package/es/styles/index.css +39 -2
- package/package.json +6 -6
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/** ProLayout 布局模式(结构参考常见 admin 四类布局,样式保持 deppon 现有设计语言) */
|
|
2
|
+
export type ProLayoutMode = 'defaults' | 'classic' | 'transverse' | 'columns';
|
|
3
|
+
/** 悬浮设置按钮位置 */
|
|
4
|
+
export type ProLayoutSettingsFabPosition = 'right-center' | 'right-bottom' | 'left-center' | 'left-bottom';
|
|
5
|
+
/** 可注入到 .pro-layout 根节点的主题令牌(对应 --pro-layout-* CSS 变量) */
|
|
6
|
+
export interface ProLayoutThemeTokens {
|
|
7
|
+
/** 强调色 / 主色,同步 --pro-layout-accent 与 Element Plus primary */
|
|
8
|
+
accent?: string;
|
|
9
|
+
shellBg?: string;
|
|
10
|
+
shellRadius?: string;
|
|
11
|
+
shellBorder?: string;
|
|
12
|
+
shellShadow?: string;
|
|
13
|
+
headerBg?: string;
|
|
14
|
+
tagsBarBg?: string;
|
|
15
|
+
mainBg?: string;
|
|
16
|
+
text?: string;
|
|
17
|
+
textMuted?: string;
|
|
18
|
+
siderBg?: string;
|
|
19
|
+
topMenuFontFamily?: string;
|
|
20
|
+
}
|
|
21
|
+
/** 全局 CSS 变量(键名不含 --,与 App.vue :root 中 --* 对应) */
|
|
22
|
+
export type ProLayoutGlobalColors = Record<string, string>;
|
|
23
|
+
/** 运行时主题配置(含布局与界面开关,可持久化) */
|
|
24
|
+
export interface ProLayoutThemeConfig {
|
|
25
|
+
layout?: ProLayoutMode;
|
|
26
|
+
tokens?: ProLayoutThemeTokens;
|
|
27
|
+
/** 写入 document.documentElement 的全局主题变量 */
|
|
28
|
+
globalColors?: ProLayoutGlobalColors;
|
|
29
|
+
isDark?: boolean;
|
|
30
|
+
isCollapse?: boolean;
|
|
31
|
+
isFixedHeader?: boolean;
|
|
32
|
+
isTagsView?: boolean;
|
|
33
|
+
isShowSider?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export interface ProLayoutSettingsFabConfig {
|
|
36
|
+
/** 是否显示内置悬浮按钮 */
|
|
37
|
+
show?: boolean;
|
|
38
|
+
/** 相对视口的定位 */
|
|
39
|
+
position?: ProLayoutSettingsFabPosition;
|
|
40
|
+
/** 距边缘偏移,如 { right: '16px', bottom: '80px' } */
|
|
41
|
+
offset?: Record<string, string>;
|
|
42
|
+
/** 合并到按钮根节点的内联样式 */
|
|
43
|
+
style?: Record<string, string | number>;
|
|
44
|
+
/** 合并到按钮根节点的 class */
|
|
45
|
+
class?: string | string[] | Record<string, boolean>;
|
|
46
|
+
/** 按钮尺寸:default | large | small */
|
|
47
|
+
size?: 'default' | 'large' | 'small';
|
|
48
|
+
/** tooltip 文案 */
|
|
49
|
+
title?: string;
|
|
50
|
+
/** 是否显示内置齿轮图标;false 时仅用默认插槽 */
|
|
51
|
+
showIcon?: boolean;
|
|
52
|
+
}
|
|
@@ -166,8 +166,8 @@
|
|
|
166
166
|
}
|
|
167
167
|
.pro-layout__top-menu-el .pro-layout__top-menu-item-badge {
|
|
168
168
|
position: absolute;
|
|
169
|
-
top:
|
|
170
|
-
right:
|
|
169
|
+
top: 2px;
|
|
170
|
+
right: -15px;
|
|
171
171
|
transform: scale(0.75);
|
|
172
172
|
vertical-align: top;
|
|
173
173
|
}
|
|
@@ -367,6 +367,43 @@
|
|
|
367
367
|
opacity: 1 !important;
|
|
368
368
|
visibility: visible !important;
|
|
369
369
|
}
|
|
370
|
+
.el-menu--collapse {
|
|
371
|
+
width: 100% !important;
|
|
372
|
+
max-width: 100% !important;
|
|
373
|
+
min-width: 0 !important;
|
|
374
|
+
box-sizing: border-box !important;
|
|
375
|
+
}
|
|
376
|
+
.el-menu--collapse .el-menu-item,
|
|
377
|
+
.el-menu--collapse .el-sub-menu__title {
|
|
378
|
+
justify-content: center !important;
|
|
379
|
+
max-width: 100%;
|
|
380
|
+
box-sizing: border-box !important;
|
|
381
|
+
}
|
|
382
|
+
.el-menu--collapse .el-menu-tooltip__trigger {
|
|
383
|
+
padding: 0 !important;
|
|
384
|
+
justify-content: center !important;
|
|
385
|
+
}
|
|
386
|
+
.el-menu--collapse .el-menu-item [class^='el-icon'],
|
|
387
|
+
.el-menu--collapse .el-sub-menu__title [class^='el-icon'] {
|
|
388
|
+
margin-right: 0 !important;
|
|
389
|
+
margin-left: 0 !important;
|
|
390
|
+
}
|
|
391
|
+
.el-menu--collapse .el-menu-item > .pro-layout__menu-item-char,
|
|
392
|
+
.el-menu--collapse .el-sub-menu__title > .pro-layout__menu-item-char {
|
|
393
|
+
display: inline-flex !important;
|
|
394
|
+
width: 20px !important;
|
|
395
|
+
min-width: 20px !important;
|
|
396
|
+
height: 20px !important;
|
|
397
|
+
overflow: visible !important;
|
|
398
|
+
visibility: visible !important;
|
|
399
|
+
}
|
|
400
|
+
.el-menu--collapse .el-menu-item.is-active,
|
|
401
|
+
.el-menu--collapse .el-sub-menu.is-active > .el-sub-menu__title {
|
|
402
|
+
background: linear-gradient(135deg, var(--pro-layout-accent-soft, #eef2ff) 0%, var(--pro-layout-accent-muted, #e0e7ff) 100%) !important;
|
|
403
|
+
color: var(--pro-layout-accent-dark, #4338ca) !important;
|
|
404
|
+
font-weight: 600;
|
|
405
|
+
box-shadow: inset 3px 0 0 0 var(--pro-layout-accent, #6366f1) !important;
|
|
406
|
+
}
|
|
370
407
|
.el-menu--collapse .el-sub-menu__title .pro-layout__menu-item-char {
|
|
371
408
|
color: var(--el-text-color-regular, #606266) !important;
|
|
372
409
|
opacity: 1 !important;
|
|
@@ -166,8 +166,8 @@
|
|
|
166
166
|
}
|
|
167
167
|
.pro-layout__top-menu-el .pro-layout__top-menu-item-badge {
|
|
168
168
|
position: absolute;
|
|
169
|
-
top:
|
|
170
|
-
right:
|
|
169
|
+
top: 2px;
|
|
170
|
+
right: -15px;
|
|
171
171
|
transform: scale(0.75);
|
|
172
172
|
vertical-align: top;
|
|
173
173
|
}
|
|
@@ -367,6 +367,43 @@
|
|
|
367
367
|
opacity: 1 !important;
|
|
368
368
|
visibility: visible !important;
|
|
369
369
|
}
|
|
370
|
+
.el-menu--collapse {
|
|
371
|
+
width: 100% !important;
|
|
372
|
+
max-width: 100% !important;
|
|
373
|
+
min-width: 0 !important;
|
|
374
|
+
box-sizing: border-box !important;
|
|
375
|
+
}
|
|
376
|
+
.el-menu--collapse .el-menu-item,
|
|
377
|
+
.el-menu--collapse .el-sub-menu__title {
|
|
378
|
+
justify-content: center !important;
|
|
379
|
+
max-width: 100%;
|
|
380
|
+
box-sizing: border-box !important;
|
|
381
|
+
}
|
|
382
|
+
.el-menu--collapse .el-menu-tooltip__trigger {
|
|
383
|
+
padding: 0 !important;
|
|
384
|
+
justify-content: center !important;
|
|
385
|
+
}
|
|
386
|
+
.el-menu--collapse .el-menu-item [class^='el-icon'],
|
|
387
|
+
.el-menu--collapse .el-sub-menu__title [class^='el-icon'] {
|
|
388
|
+
margin-right: 0 !important;
|
|
389
|
+
margin-left: 0 !important;
|
|
390
|
+
}
|
|
391
|
+
.el-menu--collapse .el-menu-item > .pro-layout__menu-item-char,
|
|
392
|
+
.el-menu--collapse .el-sub-menu__title > .pro-layout__menu-item-char {
|
|
393
|
+
display: inline-flex !important;
|
|
394
|
+
width: 20px !important;
|
|
395
|
+
min-width: 20px !important;
|
|
396
|
+
height: 20px !important;
|
|
397
|
+
overflow: visible !important;
|
|
398
|
+
visibility: visible !important;
|
|
399
|
+
}
|
|
400
|
+
.el-menu--collapse .el-menu-item.is-active,
|
|
401
|
+
.el-menu--collapse .el-sub-menu.is-active > .el-sub-menu__title {
|
|
402
|
+
background: linear-gradient(135deg, var(--pro-layout-accent-soft, #eef2ff) 0%, var(--pro-layout-accent-muted, #e0e7ff) 100%) !important;
|
|
403
|
+
color: var(--pro-layout-accent-dark, #4338ca) !important;
|
|
404
|
+
font-weight: 600;
|
|
405
|
+
box-shadow: inset 3px 0 0 0 var(--pro-layout-accent, #6366f1) !important;
|
|
406
|
+
}
|
|
370
407
|
.el-menu--collapse .el-sub-menu__title .pro-layout__menu-item-char {
|
|
371
408
|
color: var(--el-text-color-regular, #606266) !important;
|
|
372
409
|
opacity: 1 !important;
|
|
@@ -166,8 +166,8 @@
|
|
|
166
166
|
}
|
|
167
167
|
.pro-layout__top-menu-el .pro-layout__top-menu-item-badge {
|
|
168
168
|
position: absolute;
|
|
169
|
-
top:
|
|
170
|
-
right:
|
|
169
|
+
top: 2px;
|
|
170
|
+
right: -15px;
|
|
171
171
|
transform: scale(0.75);
|
|
172
172
|
vertical-align: top;
|
|
173
173
|
}
|
|
@@ -367,6 +367,43 @@
|
|
|
367
367
|
opacity: 1 !important;
|
|
368
368
|
visibility: visible !important;
|
|
369
369
|
}
|
|
370
|
+
.el-menu--collapse {
|
|
371
|
+
width: 100% !important;
|
|
372
|
+
max-width: 100% !important;
|
|
373
|
+
min-width: 0 !important;
|
|
374
|
+
box-sizing: border-box !important;
|
|
375
|
+
}
|
|
376
|
+
.el-menu--collapse .el-menu-item,
|
|
377
|
+
.el-menu--collapse .el-sub-menu__title {
|
|
378
|
+
justify-content: center !important;
|
|
379
|
+
max-width: 100%;
|
|
380
|
+
box-sizing: border-box !important;
|
|
381
|
+
}
|
|
382
|
+
.el-menu--collapse .el-menu-tooltip__trigger {
|
|
383
|
+
padding: 0 !important;
|
|
384
|
+
justify-content: center !important;
|
|
385
|
+
}
|
|
386
|
+
.el-menu--collapse .el-menu-item [class^='el-icon'],
|
|
387
|
+
.el-menu--collapse .el-sub-menu__title [class^='el-icon'] {
|
|
388
|
+
margin-right: 0 !important;
|
|
389
|
+
margin-left: 0 !important;
|
|
390
|
+
}
|
|
391
|
+
.el-menu--collapse .el-menu-item > .pro-layout__menu-item-char,
|
|
392
|
+
.el-menu--collapse .el-sub-menu__title > .pro-layout__menu-item-char {
|
|
393
|
+
display: inline-flex !important;
|
|
394
|
+
width: 20px !important;
|
|
395
|
+
min-width: 20px !important;
|
|
396
|
+
height: 20px !important;
|
|
397
|
+
overflow: visible !important;
|
|
398
|
+
visibility: visible !important;
|
|
399
|
+
}
|
|
400
|
+
.el-menu--collapse .el-menu-item.is-active,
|
|
401
|
+
.el-menu--collapse .el-sub-menu.is-active > .el-sub-menu__title {
|
|
402
|
+
background: linear-gradient(135deg, var(--pro-layout-accent-soft, #eef2ff) 0%, var(--pro-layout-accent-muted, #e0e7ff) 100%) !important;
|
|
403
|
+
color: var(--pro-layout-accent-dark, #4338ca) !important;
|
|
404
|
+
font-weight: 600;
|
|
405
|
+
box-shadow: inset 3px 0 0 0 var(--pro-layout-accent, #6366f1) !important;
|
|
406
|
+
}
|
|
370
407
|
.el-menu--collapse .el-sub-menu__title .pro-layout__menu-item-char {
|
|
371
408
|
color: var(--el-text-color-regular, #606266) !important;
|
|
372
409
|
opacity: 1 !important;
|
|
@@ -166,8 +166,8 @@
|
|
|
166
166
|
}
|
|
167
167
|
.pro-layout__top-menu-el .pro-layout__top-menu-item-badge {
|
|
168
168
|
position: absolute;
|
|
169
|
-
top:
|
|
170
|
-
right:
|
|
169
|
+
top: 2px;
|
|
170
|
+
right: -15px;
|
|
171
171
|
transform: scale(0.75);
|
|
172
172
|
vertical-align: top;
|
|
173
173
|
}
|
|
@@ -367,6 +367,43 @@
|
|
|
367
367
|
opacity: 1 !important;
|
|
368
368
|
visibility: visible !important;
|
|
369
369
|
}
|
|
370
|
+
.el-menu--collapse {
|
|
371
|
+
width: 100% !important;
|
|
372
|
+
max-width: 100% !important;
|
|
373
|
+
min-width: 0 !important;
|
|
374
|
+
box-sizing: border-box !important;
|
|
375
|
+
}
|
|
376
|
+
.el-menu--collapse .el-menu-item,
|
|
377
|
+
.el-menu--collapse .el-sub-menu__title {
|
|
378
|
+
justify-content: center !important;
|
|
379
|
+
max-width: 100%;
|
|
380
|
+
box-sizing: border-box !important;
|
|
381
|
+
}
|
|
382
|
+
.el-menu--collapse .el-menu-tooltip__trigger {
|
|
383
|
+
padding: 0 !important;
|
|
384
|
+
justify-content: center !important;
|
|
385
|
+
}
|
|
386
|
+
.el-menu--collapse .el-menu-item [class^='el-icon'],
|
|
387
|
+
.el-menu--collapse .el-sub-menu__title [class^='el-icon'] {
|
|
388
|
+
margin-right: 0 !important;
|
|
389
|
+
margin-left: 0 !important;
|
|
390
|
+
}
|
|
391
|
+
.el-menu--collapse .el-menu-item > .pro-layout__menu-item-char,
|
|
392
|
+
.el-menu--collapse .el-sub-menu__title > .pro-layout__menu-item-char {
|
|
393
|
+
display: inline-flex !important;
|
|
394
|
+
width: 20px !important;
|
|
395
|
+
min-width: 20px !important;
|
|
396
|
+
height: 20px !important;
|
|
397
|
+
overflow: visible !important;
|
|
398
|
+
visibility: visible !important;
|
|
399
|
+
}
|
|
400
|
+
.el-menu--collapse .el-menu-item.is-active,
|
|
401
|
+
.el-menu--collapse .el-sub-menu.is-active > .el-sub-menu__title {
|
|
402
|
+
background: linear-gradient(135deg, var(--pro-layout-accent-soft, #eef2ff) 0%, var(--pro-layout-accent-muted, #e0e7ff) 100%) !important;
|
|
403
|
+
color: var(--pro-layout-accent-dark, #4338ca) !important;
|
|
404
|
+
font-weight: 600;
|
|
405
|
+
box-shadow: inset 3px 0 0 0 var(--pro-layout-accent, #6366f1) !important;
|
|
406
|
+
}
|
|
370
407
|
.el-menu--collapse .el-sub-menu__title .pro-layout__menu-item-char {
|
|
371
408
|
color: var(--el-text-color-regular, #606266) !important;
|
|
372
409
|
opacity: 1 !important;
|
|
@@ -166,8 +166,8 @@
|
|
|
166
166
|
}
|
|
167
167
|
.pro-layout__top-menu-el .pro-layout__top-menu-item-badge {
|
|
168
168
|
position: absolute;
|
|
169
|
-
top:
|
|
170
|
-
right:
|
|
169
|
+
top: 2px;
|
|
170
|
+
right: -15px;
|
|
171
171
|
transform: scale(0.75);
|
|
172
172
|
vertical-align: top;
|
|
173
173
|
}
|
|
@@ -367,6 +367,43 @@
|
|
|
367
367
|
opacity: 1 !important;
|
|
368
368
|
visibility: visible !important;
|
|
369
369
|
}
|
|
370
|
+
.el-menu--collapse {
|
|
371
|
+
width: 100% !important;
|
|
372
|
+
max-width: 100% !important;
|
|
373
|
+
min-width: 0 !important;
|
|
374
|
+
box-sizing: border-box !important;
|
|
375
|
+
}
|
|
376
|
+
.el-menu--collapse .el-menu-item,
|
|
377
|
+
.el-menu--collapse .el-sub-menu__title {
|
|
378
|
+
justify-content: center !important;
|
|
379
|
+
max-width: 100%;
|
|
380
|
+
box-sizing: border-box !important;
|
|
381
|
+
}
|
|
382
|
+
.el-menu--collapse .el-menu-tooltip__trigger {
|
|
383
|
+
padding: 0 !important;
|
|
384
|
+
justify-content: center !important;
|
|
385
|
+
}
|
|
386
|
+
.el-menu--collapse .el-menu-item [class^='el-icon'],
|
|
387
|
+
.el-menu--collapse .el-sub-menu__title [class^='el-icon'] {
|
|
388
|
+
margin-right: 0 !important;
|
|
389
|
+
margin-left: 0 !important;
|
|
390
|
+
}
|
|
391
|
+
.el-menu--collapse .el-menu-item > .pro-layout__menu-item-char,
|
|
392
|
+
.el-menu--collapse .el-sub-menu__title > .pro-layout__menu-item-char {
|
|
393
|
+
display: inline-flex !important;
|
|
394
|
+
width: 20px !important;
|
|
395
|
+
min-width: 20px !important;
|
|
396
|
+
height: 20px !important;
|
|
397
|
+
overflow: visible !important;
|
|
398
|
+
visibility: visible !important;
|
|
399
|
+
}
|
|
400
|
+
.el-menu--collapse .el-menu-item.is-active,
|
|
401
|
+
.el-menu--collapse .el-sub-menu.is-active > .el-sub-menu__title {
|
|
402
|
+
background: linear-gradient(135deg, var(--pro-layout-accent-soft, #eef2ff) 0%, var(--pro-layout-accent-muted, #e0e7ff) 100%) !important;
|
|
403
|
+
color: var(--pro-layout-accent-dark, #4338ca) !important;
|
|
404
|
+
font-weight: 600;
|
|
405
|
+
box-shadow: inset 3px 0 0 0 var(--pro-layout-accent, #6366f1) !important;
|
|
406
|
+
}
|
|
370
407
|
.el-menu--collapse .el-sub-menu__title .pro-layout__menu-item-char {
|
|
371
408
|
color: var(--el-text-color-regular, #606266) !important;
|
|
372
409
|
opacity: 1 !important;
|
|
@@ -166,8 +166,8 @@
|
|
|
166
166
|
}
|
|
167
167
|
.pro-layout__top-menu-el .pro-layout__top-menu-item-badge {
|
|
168
168
|
position: absolute;
|
|
169
|
-
top:
|
|
170
|
-
right:
|
|
169
|
+
top: 2px;
|
|
170
|
+
right: -15px;
|
|
171
171
|
transform: scale(0.75);
|
|
172
172
|
vertical-align: top;
|
|
173
173
|
}
|
|
@@ -367,6 +367,43 @@
|
|
|
367
367
|
opacity: 1 !important;
|
|
368
368
|
visibility: visible !important;
|
|
369
369
|
}
|
|
370
|
+
.el-menu--collapse {
|
|
371
|
+
width: 100% !important;
|
|
372
|
+
max-width: 100% !important;
|
|
373
|
+
min-width: 0 !important;
|
|
374
|
+
box-sizing: border-box !important;
|
|
375
|
+
}
|
|
376
|
+
.el-menu--collapse .el-menu-item,
|
|
377
|
+
.el-menu--collapse .el-sub-menu__title {
|
|
378
|
+
justify-content: center !important;
|
|
379
|
+
max-width: 100%;
|
|
380
|
+
box-sizing: border-box !important;
|
|
381
|
+
}
|
|
382
|
+
.el-menu--collapse .el-menu-tooltip__trigger {
|
|
383
|
+
padding: 0 !important;
|
|
384
|
+
justify-content: center !important;
|
|
385
|
+
}
|
|
386
|
+
.el-menu--collapse .el-menu-item [class^='el-icon'],
|
|
387
|
+
.el-menu--collapse .el-sub-menu__title [class^='el-icon'] {
|
|
388
|
+
margin-right: 0 !important;
|
|
389
|
+
margin-left: 0 !important;
|
|
390
|
+
}
|
|
391
|
+
.el-menu--collapse .el-menu-item > .pro-layout__menu-item-char,
|
|
392
|
+
.el-menu--collapse .el-sub-menu__title > .pro-layout__menu-item-char {
|
|
393
|
+
display: inline-flex !important;
|
|
394
|
+
width: 20px !important;
|
|
395
|
+
min-width: 20px !important;
|
|
396
|
+
height: 20px !important;
|
|
397
|
+
overflow: visible !important;
|
|
398
|
+
visibility: visible !important;
|
|
399
|
+
}
|
|
400
|
+
.el-menu--collapse .el-menu-item.is-active,
|
|
401
|
+
.el-menu--collapse .el-sub-menu.is-active > .el-sub-menu__title {
|
|
402
|
+
background: linear-gradient(135deg, var(--pro-layout-accent-soft, #eef2ff) 0%, var(--pro-layout-accent-muted, #e0e7ff) 100%) !important;
|
|
403
|
+
color: var(--pro-layout-accent-dark, #4338ca) !important;
|
|
404
|
+
font-weight: 600;
|
|
405
|
+
box-shadow: inset 3px 0 0 0 var(--pro-layout-accent, #6366f1) !important;
|
|
406
|
+
}
|
|
370
407
|
.el-menu--collapse .el-sub-menu__title .pro-layout__menu-item-char {
|
|
371
408
|
color: var(--el-text-color-regular, #606266) !important;
|
|
372
409
|
opacity: 1 !important;
|
package/es/styles/index.css
CHANGED
|
@@ -166,8 +166,8 @@
|
|
|
166
166
|
}
|
|
167
167
|
.pro-layout__top-menu-el .pro-layout__top-menu-item-badge {
|
|
168
168
|
position: absolute;
|
|
169
|
-
top:
|
|
170
|
-
right:
|
|
169
|
+
top: 2px;
|
|
170
|
+
right: -15px;
|
|
171
171
|
transform: scale(0.75);
|
|
172
172
|
vertical-align: top;
|
|
173
173
|
}
|
|
@@ -367,6 +367,43 @@
|
|
|
367
367
|
opacity: 1 !important;
|
|
368
368
|
visibility: visible !important;
|
|
369
369
|
}
|
|
370
|
+
.el-menu--collapse {
|
|
371
|
+
width: 100% !important;
|
|
372
|
+
max-width: 100% !important;
|
|
373
|
+
min-width: 0 !important;
|
|
374
|
+
box-sizing: border-box !important;
|
|
375
|
+
}
|
|
376
|
+
.el-menu--collapse .el-menu-item,
|
|
377
|
+
.el-menu--collapse .el-sub-menu__title {
|
|
378
|
+
justify-content: center !important;
|
|
379
|
+
max-width: 100%;
|
|
380
|
+
box-sizing: border-box !important;
|
|
381
|
+
}
|
|
382
|
+
.el-menu--collapse .el-menu-tooltip__trigger {
|
|
383
|
+
padding: 0 !important;
|
|
384
|
+
justify-content: center !important;
|
|
385
|
+
}
|
|
386
|
+
.el-menu--collapse .el-menu-item [class^='el-icon'],
|
|
387
|
+
.el-menu--collapse .el-sub-menu__title [class^='el-icon'] {
|
|
388
|
+
margin-right: 0 !important;
|
|
389
|
+
margin-left: 0 !important;
|
|
390
|
+
}
|
|
391
|
+
.el-menu--collapse .el-menu-item > .pro-layout__menu-item-char,
|
|
392
|
+
.el-menu--collapse .el-sub-menu__title > .pro-layout__menu-item-char {
|
|
393
|
+
display: inline-flex !important;
|
|
394
|
+
width: 20px !important;
|
|
395
|
+
min-width: 20px !important;
|
|
396
|
+
height: 20px !important;
|
|
397
|
+
overflow: visible !important;
|
|
398
|
+
visibility: visible !important;
|
|
399
|
+
}
|
|
400
|
+
.el-menu--collapse .el-menu-item.is-active,
|
|
401
|
+
.el-menu--collapse .el-sub-menu.is-active > .el-sub-menu__title {
|
|
402
|
+
background: linear-gradient(135deg, var(--pro-layout-accent-soft, #eef2ff) 0%, var(--pro-layout-accent-muted, #e0e7ff) 100%) !important;
|
|
403
|
+
color: var(--pro-layout-accent-dark, #4338ca) !important;
|
|
404
|
+
font-weight: 600;
|
|
405
|
+
box-shadow: inset 3px 0 0 0 var(--pro-layout-accent, #6366f1) !important;
|
|
406
|
+
}
|
|
370
407
|
.el-menu--collapse .el-sub-menu__title .pro-layout__menu-item-char {
|
|
371
408
|
color: var(--el-text-color-regular, #606266) !important;
|
|
372
409
|
opacity: 1 !important;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deppon/deppon-template",
|
|
3
|
-
"version": "2.4
|
|
3
|
+
"version": "2.5.4",
|
|
4
4
|
"main": "es/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"typings": "es/index.d.ts",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"less": "^4.2.0"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@deppon/deppon-assets": "2.4
|
|
47
|
-
"@deppon/deppon-request": "2.4
|
|
48
|
-
"@deppon/deppon-router": "2.4
|
|
49
|
-
"@deppon/deppon-ui": "2.4
|
|
50
|
-
"@deppon/deppon-utils": "2.4
|
|
46
|
+
"@deppon/deppon-assets": "2.5.4",
|
|
47
|
+
"@deppon/deppon-request": "2.5.4",
|
|
48
|
+
"@deppon/deppon-router": "2.5.4",
|
|
49
|
+
"@deppon/deppon-ui": "2.5.4",
|
|
50
|
+
"@deppon/deppon-utils": "2.5.4",
|
|
51
51
|
"dayjs": "^1.11.10",
|
|
52
52
|
"lodash-es": "^4.17.21",
|
|
53
53
|
"mitt": "^3.0.1"
|