@utogether/udp-core 1.0.1-beta.1 → 1.0.1-beta.3
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/build/plugins.ts +6 -1
- package/dist/{403-Dp617CWX.js → 403-BuP9jvH9.js} +1 -1
- package/dist/{404-Cz_Axb6Y.js → 404-DfQk8kKl.js} +1 -1
- package/dist/{500-BGCtRNse.js → 500-OgROWdiZ.js} +1 -1
- package/dist/{AuthorityInfo-DGGfm7IS.js → AuthorityInfo-q2ksfkWH.js} +1 -1
- package/dist/{AuthorityInfo.vue_vue_type_style_index_0_lang-BqccGW7v.js → AuthorityInfo.vue_vue_type_style_index_0_lang-Bwsf6lMH.js} +1 -1
- package/dist/{Company-IV3GTnzY.js → Company-DgqowAxc.js} +3 -3
- package/dist/{CompanyPanel-qV-_VtoL.js → CompanyPanel-BNb1rUhD.js} +16 -16
- package/dist/{Department-B3W-OxW8.js → Department-Cl8CROSU.js} +3 -3
- package/dist/{DepartmentPanel-Cw3OWxE7.js → DepartmentPanel-D5VkqKeP.js} +1 -1
- package/dist/{DesignPanel-BFxR2fHJ.js → DesignPanel-BGvEusHC.js} +1 -1
- package/dist/{DesignPanel.vue_vue_type_style_index_0_lang-DljbeFba.js → DesignPanel.vue_vue_type_style_index_0_lang-BQF1uQ7w.js} +2 -2
- package/dist/{DictView-C-i7e4hZ.js → DictView-BnxfaOBv.js} +13 -12
- package/dist/InvOrganization-5y79ZLdY.js +66 -0
- package/dist/{Org-CA7vTDIF.js → Org-2oBAXN2r.js} +1 -1
- package/dist/{Preview-BlDMmpdR.js → Preview-BaGmXH7r.js} +1 -1
- package/dist/{ReportDefine-Cub_85LA.js → ReportDefine-DkQdBErt.js} +1 -1
- package/dist/{ReportDesign-hFhq5UVE.js → ReportDesign-DzB_A_G6.js} +2 -2
- package/dist/{ReportQuery-ChkWEyxT.js → ReportQuery-DRcMb6ya.js} +1 -1
- package/dist/{ReportQueryFrom-KVyD_8Dj.js → ReportQueryFrom-CeA9xhR4.js} +1 -1
- package/dist/{ReportQueryFrom.vue_vue_type_style_index_0_lang-CLNODquq.js → ReportQueryFrom.vue_vue_type_style_index_0_lang-CgGtcs5V.js} +1 -1
- package/dist/{ReportTemplate-ag9NDvh2.js → ReportTemplate-qaiTMQuT.js} +1 -1
- package/dist/{Role-_q3lQ8CZ.js → Role-DsFulAjq.js} +3 -3
- package/dist/{RoleAssign-DZb9IRsm.js → RoleAssign-DMRdocpa.js} +3 -3
- package/dist/{RolePanel-CsLsz-Ds.js → RolePanel-B9POS_pg.js} +1 -1
- package/dist/{RolePanel-BQb1LlhD.js → RolePanel-wXVysDHM.js} +1 -1
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-BrnRgHEk.js → RolePanel.vue_vue_type_script_setup_true_lang-CleVvkcY.js} +3 -3
- package/dist/{RolePanel.vue_vue_type_script_setup_true_lang-cmW7zBLu.js → RolePanel.vue_vue_type_script_setup_true_lang-t6S_0zmJ.js} +1 -1
- package/dist/{ScrollPanel.vue_vue_type_style_index_0_lang-CaFKRwXu.js → ScrollPanel.vue_vue_type_style_index_0_lang-DlXUs0j9.js} +1 -1
- package/dist/{Staff-BSf9Ypbk.js → Staff-Cq4V7ruC.js} +3 -3
- package/dist/{StaffInfo-BNKasyMF.js → StaffInfo-CJDKMbud.js} +1 -1
- package/dist/{StaffInfo.vue_vue_type_script_setup_true_lang-DDZ7ukd0.js → StaffInfo.vue_vue_type_script_setup_true_lang-DQ4DL1KY.js} +1 -1
- package/dist/{StaffPanel-Bpq0WVlH.js → StaffPanel-CG-uggdr.js} +1 -1
- package/dist/{StaffPanel.vue_vue_type_script_setup_true_lang-BhiJ0Q-Q.js → StaffPanel.vue_vue_type_script_setup_true_lang-DAgN7zN2.js} +2 -2
- package/dist/{SysUser-FAABuNti.js → SysUser-kwnzRNdD.js} +2 -2
- package/dist/{SysUserPanel-PxJeOgHm.js → SysUserPanel-DTlZf3vk.js} +1 -1
- package/dist/{SysUserPanel.vue_vue_type_script_setup_true_lang-njefUln5.js → SysUserPanel.vue_vue_type_script_setup_true_lang-BW6PlGjM.js} +1 -1
- package/dist/{SystemMenu-C-7NAGon.js → SystemMenu-BVT0n-L2.js} +21 -21
- package/dist/{UserInfo-ClXKtyGo.js → UserInfo-BbTQ9Zat.js} +1 -1
- package/dist/{UserInfo.vue_vue_type_style_index_0_lang-8N7P4Hl7.js → UserInfo.vue_vue_type_style_index_0_lang-D_bpYDmI.js} +1 -1
- package/dist/{childView-C_HmDQNd.js → childView-BJbIhjmf.js} +1 -1
- package/dist/{childView-uUlBcTza.js → childView-DCsGFrG-.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-y0sDvYx5.js → childView.vue_vue_type_style_index_0_lang-BCDxpVoD.js} +1 -1
- package/dist/{childView.vue_vue_type_style_index_0_lang-Ckjmw6wJ.js → childView.vue_vue_type_style_index_0_lang-CDtsalCm.js} +1 -1
- package/dist/{code-rule-AgCVDKFy.js → code-rule-DePU6cdp.js} +1 -1
- package/dist/core.es.js +1 -1
- package/dist/{cron-task-C6FgQxTi.js → cron-task-DUM1SIGL.js} +1 -1
- package/dist/{frameView-BDgISK7N.js → frameView-CEUTDtSm.js} +1 -1
- package/dist/img/l_img.svg +1 -1
- package/dist/img/minicolors.png +0 -0
- package/dist/img/v_img.svg +1 -1
- package/dist/{index-DzOzUkf6.js → index-ZdgOD7cF.js} +59 -48
- package/dist/{layoutView-yb3DV2DQ.js → layoutView-PCjwVwkX.js} +109 -108
- package/dist/{login-RRpljbkm.js → login-B1CjWVKu.js} +2 -2
- package/dist/{lov-view-C9-rjzZR.js → lov-view-D8wwkxFJ.js} +2 -2
- package/dist/{menuInfo-CzPQyFhp.js → menuInfo-B5JKVwrB.js} +1 -1
- package/dist/{menuInfo.vue_vue_type_style_index_0_lang-BumXunCg.js → menuInfo.vue_vue_type_style_index_0_lang-CcM9WX4n.js} +97 -96
- package/dist/{pda-app-Dvy3U-b6.js → pda-app-DIa1p1Ww.js} +1 -1
- package/dist/{resource-Fy0lFkSV.js → resource-CCQ7Dd-5.js} +1 -1
- package/dist/{su-welcome-DYvSCUST.js → su-welcome-CLp9YaJa.js} +1 -1
- package/dist/{sys-config-DJ1vNQTy.js → sys-config-BBmf_SqF.js} +1 -1
- package/dist/udp-core.css +2 -2
- package/dist/{utogether-CjmJiHoE.js → utogether-Bkptx2lB.js} +1 -1
- package/package.json +18 -18
- package/src/App.vue +70 -70
- package/src/components/udp/form-upload.vue +71 -20
- package/src/components/udp/grid.vue +500 -0
- package/src/components/udp/index.ts +7 -4
- package/src/components/udp/lov.vue +410 -0
- package/src/components/udp/modal-form.vue +2 -2
- package/src/components/udp/modal-grid.vue +297 -0
- package/src/components/udp/utils.ts +379 -40
- package/src/layout/components/lay-navbar/index.vue +1 -1
- package/src/layout/components/lay-panel/index.vue +150 -150
- package/src/layout/components/lay-sidebar/breadCrumb.vue +1 -1
- package/src/layout/components/lay-tag/index.vue +625 -625
- package/src/layout/layoutView.vue +215 -215
- package/src/main.ts +4 -3
- package/src/plugins/i18n/en.ts +291 -289
- package/src/plugins/i18n/zh.ts +338 -337
- package/src/plugins/vxe-table/index.ts +53 -46
- package/src/plugins/vxe-table/render.tsx +4 -2
- package/src/style/button.scss +85 -78
- package/src/style/tailwind.css +1 -68
- package/src/style/vxetable.scss +258 -256
- package/src/views/organization/company/CompanyPanel.vue +259 -259
- package/src/views/organization/inv-org/InvOrganization.vue +2 -3
- package/src/views/system/menu/SystemMenu.vue +197 -197
- package/src/views/system/menu/menuInfo.vue +372 -371
- package/src/views/udev/dict/DictView.vue +106 -106
- package/src/views/udev/lov/lov-view.vue +91 -91
- package/vite.config.ts +4 -1
- package/dist/InvOrganization-cfT6riGU.js +0 -260
|
@@ -1,46 +1,53 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: levi7754 levi7754@163.com
|
|
3
|
-
* @Date: 2024-06-05 14:32:03
|
|
4
|
-
* @LastEditors: levi7754 levi7754@163.com
|
|
5
|
-
* @LastEditTime: 2025-07-
|
|
6
|
-
* @FilePath: /udp-front/packages/udp-core/src/plugins/vxe-table/index.ts
|
|
7
|
-
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
|
-
*/
|
|
9
|
-
import 'xe-utils';
|
|
10
|
-
import { merge } from 'xe-utils';
|
|
11
|
-
import { geti18n, transformI18n } from '../i18n/index';
|
|
12
|
-
// import { storageLocal } from '@utogether/utils';
|
|
13
|
-
// import { VxetableRender } from '@utogether/utils';
|
|
14
|
-
import { VxetableRender } from './render';
|
|
15
|
-
import { getServiceApi } from '../../api';
|
|
16
|
-
|
|
17
|
-
import VXETable, { VxeUI } from 'vxe-table';
|
|
18
|
-
// import './render.tsx';
|
|
19
|
-
|
|
20
|
-
// const dict = storageLocal.getItem('kLov');
|
|
21
|
-
VxetableRender(VXETable, { serviceApi: getServiceApi(), i18n: transformI18n });
|
|
22
|
-
|
|
23
|
-
// 全局默认参数
|
|
24
|
-
const defaultConfig = {
|
|
25
|
-
// 对组件内置的提示语进行国际化翻译
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
i18n: (key, args) => geti18n().global.t(key, args),
|
|
28
|
-
// 可选,对参数中的列头、校验提示..等进行自动翻译(只对支持国际化的有效)
|
|
29
|
-
translate(key) {
|
|
30
|
-
// 例如,只翻译 "message." 开头的键值
|
|
31
|
-
const NAMESPACED = ['message.', 'el.'];
|
|
32
|
-
if (key && NAMESPACED.findIndex(v => key.includes(v)) !== -1) {
|
|
33
|
-
return geti18n().global.t.call(geti18n().global.locale, key);
|
|
34
|
-
}
|
|
35
|
-
return key;
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export function setTableConfig(config = {}) {
|
|
40
|
-
VXETable.setConfig(merge(defaultConfig, config));
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
1
|
+
/*
|
|
2
|
+
* @Author: levi7754 levi7754@163.com
|
|
3
|
+
* @Date: 2024-06-05 14:32:03
|
|
4
|
+
* @LastEditors: levi7754 levi7754@163.com
|
|
5
|
+
* @LastEditTime: 2025-07-21 11:37:34
|
|
6
|
+
* @FilePath: /udp-front/packages/udp-core/src/plugins/vxe-table/index.ts
|
|
7
|
+
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
|
+
*/
|
|
9
|
+
import 'xe-utils';
|
|
10
|
+
import { merge } from 'xe-utils';
|
|
11
|
+
import { geti18n, transformI18n } from '../i18n/index';
|
|
12
|
+
// import { storageLocal } from '@utogether/utils';
|
|
13
|
+
// import { VxetableRender } from '@utogether/utils';
|
|
14
|
+
import { VxetableRender } from './render';
|
|
15
|
+
import { getServiceApi } from '../../api';
|
|
16
|
+
|
|
17
|
+
import VXETable, { VxeUI } from 'vxe-table';
|
|
18
|
+
// import './render.tsx';
|
|
19
|
+
|
|
20
|
+
// const dict = storageLocal.getItem('kLov');
|
|
21
|
+
VxetableRender(VXETable, { serviceApi: getServiceApi(), i18n: transformI18n });
|
|
22
|
+
|
|
23
|
+
// 全局默认参数
|
|
24
|
+
const defaultConfig = {
|
|
25
|
+
// 对组件内置的提示语进行国际化翻译
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
i18n: (key, args) => geti18n().global.t(key, args),
|
|
28
|
+
// 可选,对参数中的列头、校验提示..等进行自动翻译(只对支持国际化的有效)
|
|
29
|
+
translate(key) {
|
|
30
|
+
// 例如,只翻译 "message." 开头的键值
|
|
31
|
+
const NAMESPACED = ['message.', 'el.'];
|
|
32
|
+
if (key && NAMESPACED.findIndex(v => key.includes(v)) !== -1) {
|
|
33
|
+
return geti18n().global.t.call(geti18n().global.locale, key);
|
|
34
|
+
}
|
|
35
|
+
return key;
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export function setTableConfig(config = {}) {
|
|
40
|
+
VXETable.setConfig(merge(defaultConfig, config));
|
|
41
|
+
|
|
42
|
+
VxeUI.interceptor.add('event.clearEdit', {
|
|
43
|
+
tableInterceptorMethod(params) {
|
|
44
|
+
const { $event } = params;
|
|
45
|
+
if ($event.target.className.indexOf('vxe-table--ignore-clear') > -1) return false;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function setTheme(theme) {
|
|
51
|
+
// 切换为暗黑主题
|
|
52
|
+
VxeUI.setTheme(theme);
|
|
53
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @Author: wei.li
|
|
3
3
|
* @Date: 2021-12-01 09:18:50
|
|
4
4
|
* @LastEditors: levi7754 levi7754@163.com
|
|
5
|
-
* @LastEditTime: 2025-07-
|
|
5
|
+
* @LastEditTime: 2025-07-23 09:41:24
|
|
6
6
|
* @Description: file content
|
|
7
7
|
*/
|
|
8
8
|
|
|
@@ -59,7 +59,7 @@ export const VxetableRender = (VXETable, { serviceApi, i18n }) => {
|
|
|
59
59
|
* @param {*} val 目前的选中值
|
|
60
60
|
*/
|
|
61
61
|
function onChange(val) {
|
|
62
|
-
componentHook.selectChange(val,
|
|
62
|
+
componentHook.selectChange(val, row, column.field, renderOpts, {
|
|
63
63
|
column,
|
|
64
64
|
datasource: 'row'
|
|
65
65
|
});
|
|
@@ -471,6 +471,7 @@ export const VxetableRender = (VXETable, { serviceApi, i18n }) => {
|
|
|
471
471
|
const { row, column } = params;
|
|
472
472
|
const { props, events } = renderOpts;
|
|
473
473
|
const componentHook = useComponent();
|
|
474
|
+
console.log('lov====');
|
|
474
475
|
function onChange(record, displayField) {
|
|
475
476
|
const { mapField, field, displayName, multiple } = props;
|
|
476
477
|
if (!multiple) {
|
|
@@ -493,6 +494,7 @@ export const VxetableRender = (VXETable, { serviceApi, i18n }) => {
|
|
|
493
494
|
<ut-lov
|
|
494
495
|
record={row}
|
|
495
496
|
mode="vxe"
|
|
497
|
+
transfer
|
|
496
498
|
{...props}
|
|
497
499
|
onChange={(v, f) => onChange(v, f)}
|
|
498
500
|
onClear={() => onClear()}
|
package/src/style/button.scss
CHANGED
|
@@ -1,78 +1,85 @@
|
|
|
1
|
-
.vxe-button.size--mini.type--button {
|
|
2
|
-
height: 25px;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.vxe-button.size--small.type--button {
|
|
6
|
-
height: 25px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.vxe-button.type--button.theme--u-cyan,
|
|
10
|
-
.vxe-button.type--button.theme--u-cyan:hover {
|
|
11
|
-
color: #fff;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.vxe-button.type--button.theme--u-cyan {
|
|
15
|
-
background-color: #1cbbb4;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.vxe-button.type--button.theme--u-cyan:active {
|
|
19
|
-
background-color: #39b54a;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
// 禁用状态
|
|
23
|
-
.vxe-button.type--button.theme--u-cyan.is--disabled {
|
|
24
|
-
background-color: #69e4de;
|
|
25
|
-
border-color: #69e4de;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.vxe-button.type--button.theme--u-color-shallow,
|
|
29
|
-
.vxe-button.type--button.theme--u-color-shallow:hover {
|
|
30
|
-
color: #fff;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.vxe-button.type--button.theme--u-color-shallow {
|
|
34
|
-
background-color: #fbbd08;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.vxe-button.type--button.theme--u-color-shallow:active {
|
|
38
|
-
background-color: #fff;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.layout-theme-default .vxe-button.type--button.theme--u-cyan:not(.is--disabled):hover {
|
|
42
|
-
background-color: #40e0d0;
|
|
43
|
-
border-color: #40e0d0;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.vxe-button.type--button:not(.is--disabled):hover {
|
|
47
|
-
color: #fff
|
|
48
|
-
|
|
49
|
-
.vxe-button--icon
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
1
|
+
.vxe-button.size--mini.type--button {
|
|
2
|
+
height: 25px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.vxe-button.size--small.type--button {
|
|
6
|
+
height: 25px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.vxe-button.type--button.theme--u-cyan,
|
|
10
|
+
.vxe-button.type--button.theme--u-cyan:hover {
|
|
11
|
+
color: #fff;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.vxe-button.type--button.theme--u-cyan {
|
|
15
|
+
background-color: #1cbbb4;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.vxe-button.type--button.theme--u-cyan:active {
|
|
19
|
+
background-color: #39b54a;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
// 禁用状态
|
|
23
|
+
.vxe-button.type--button.theme--u-cyan.is--disabled {
|
|
24
|
+
background-color: #69e4de;
|
|
25
|
+
border-color: #69e4de;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.vxe-button.type--button.theme--u-color-shallow,
|
|
29
|
+
.vxe-button.type--button.theme--u-color-shallow:hover {
|
|
30
|
+
color: #fff;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.vxe-button.type--button.theme--u-color-shallow {
|
|
34
|
+
background-color: #fbbd08;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.vxe-button.type--button.theme--u-color-shallow:active {
|
|
38
|
+
background-color: #fff;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.layout-theme-default .vxe-button.type--button.theme--u-cyan:not(.is--disabled):hover {
|
|
42
|
+
background-color: #40e0d0;
|
|
43
|
+
border-color: #40e0d0;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.vxe-button.type--button:not(.is--disabled):hover {
|
|
47
|
+
color: #fff;
|
|
48
|
+
|
|
49
|
+
.vxe-button--icon,
|
|
50
|
+
.vxe-button--item {
|
|
51
|
+
color: inherit;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.vxe-button[name='favorite'].type--button:not(.is--disabled):hover {
|
|
56
|
+
.vxe-button--item {
|
|
57
|
+
color: var(--udp-theme-vxeColor);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.u-color-royalBlue {
|
|
62
|
+
color: #4169e1;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.u-color-turquoise {
|
|
66
|
+
color: #40e0d0;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.el-dropdown {
|
|
70
|
+
.el-dropdown__caret-button {
|
|
71
|
+
margin-left: 0;
|
|
72
|
+
border-top-left-radius: 0;
|
|
73
|
+
border-bottom-left-radius: 0;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.el-button-group + .el-button {
|
|
77
|
+
border-top-right-radius: 0 !important;
|
|
78
|
+
border-bottom-right-radius: 0 !important;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.el-button:first-child {
|
|
82
|
+
border-top-right-radius: 0 !important;
|
|
83
|
+
border-bottom-right-radius: 0 !important;
|
|
84
|
+
}
|
|
85
|
+
}
|
package/src/style/tailwind.css
CHANGED
|
@@ -1,68 +1 @@
|
|
|
1
|
-
|
|
2
|
-
@tailwind components;
|
|
3
|
-
@tailwind utilities;
|
|
4
|
-
|
|
5
|
-
@layer components {
|
|
6
|
-
.flex-c {
|
|
7
|
-
@apply flex justify-center items-center;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.flex-ac {
|
|
11
|
-
@apply flex justify-around items-center;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.flex-bc {
|
|
15
|
-
@apply flex justify-between items-center;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.navbar-bg-hover {
|
|
19
|
-
@apply dark:text-white dark:hover:!bg-[#242424];
|
|
20
|
-
}
|
|
21
|
-
} */
|
|
22
|
-
|
|
23
|
-
@layer theme, base, components, utilities;
|
|
24
|
-
@import 'tailwindcss/theme.css' layer(theme);
|
|
25
|
-
@import 'tailwindcss/utilities.css' layer(utilities);
|
|
26
|
-
|
|
27
|
-
@custom-variant dark (&:is(.dark *));
|
|
28
|
-
|
|
29
|
-
@theme {
|
|
30
|
-
--color-bg_color: var(--el-bg-color);
|
|
31
|
-
--color-primary: var(--el-color-primary);
|
|
32
|
-
--color-text_color_primary: var(--el-text-color-primary);
|
|
33
|
-
--color-text_color_regular: var(--el-text-color-regular);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/*
|
|
37
|
-
The default border color has changed to `currentColor` in Tailwind CSS v4,
|
|
38
|
-
so we've added these compatibility styles to make sure everything still
|
|
39
|
-
looks the same as it did with Tailwind CSS v3.
|
|
40
|
-
|
|
41
|
-
If we ever want to remove these styles, we need to add an explicit border
|
|
42
|
-
color utility to any element that depends on these defaults.
|
|
43
|
-
*/
|
|
44
|
-
@layer base {
|
|
45
|
-
*,
|
|
46
|
-
::after,
|
|
47
|
-
::before,
|
|
48
|
-
::backdrop,
|
|
49
|
-
::file-selector-button {
|
|
50
|
-
border-color: var(--color-gray-200, currentColor);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
@utility flex-c {
|
|
55
|
-
@apply flex justify-center items-center;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
@utility flex-ac {
|
|
59
|
-
@apply flex justify-around items-center;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@utility flex-bc {
|
|
63
|
-
@apply flex justify-between items-center;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
@utility navbar-bg-hover {
|
|
67
|
-
@apply dark:text-white dark:hover:bg-[#242424]!;
|
|
68
|
-
}
|
|
1
|
+
@import 'tailwindcss';
|