dlzn-ui 1.41.0 → 1.52.0
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/LICENSE +1 -1
- package/component.d.ts +2 -0
- package/component.mjs +2 -0
- package/components/card/src/card.mjs +3 -1
- package/components/card/src/card.mjs.map +1 -0
- package/components/card/src/card.vue_vue_type_script_setup_true_lang.mjs +3 -1
- package/components/card/src/card.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/components/card/src/card.vue_vue_type_style_index_0_scoped_14f2ea24_lang.css +2 -0
- package/components/card/src/card2.mjs +5 -3
- package/components/card/src/card2.mjs.map +1 -0
- package/components/index.mjs +0 -1
- package/index.d.ts +1 -1
- package/index.mjs +0 -1
- package/package.json +21 -105
- package/assets/css/element-plus-reset.css +0 -79
- package/assets/css/index.css +0 -5
- package/assets/css/other.css +0 -16
- package/assets/css/tailwindcss-entry.css +0 -20
- package/assets/css/tdesign-chat-reset.css +0 -33
- package/assets/css/tdesign-reset.css +0 -355
- package/components/card/src/card.vue_vue_type_style_index_0_scoped_19794e6f_lang.css +0 -2
- package/const/index.d.ts +0 -1
- package/const/index.mjs +0 -2
- package/const/others.d.ts +0 -3
- package/const/others.mjs +0 -4
- package/ejs/slide-puzzle.ejs +0 -135
- package/node/aliasElementPlus.d.ts +0 -5
- package/node/aliasElementPlus.mjs +0 -17
- package/node/autoImportStores.d.ts +0 -2
- package/node/autoImportStores.mjs +0 -17
- package/node/devSaveFolderAlias.d.ts +0 -3
- package/node/devSaveFolderAlias.mjs +0 -94
- package/node/eslint-config.d.ts +0 -3
- package/node/eslint-config.mjs +0 -197
- package/node/prettier-config.d.ts +0 -29
- package/node/prettier-config.mjs +0 -28
- package/node/stylelint-config.d.ts +0 -43
- package/node/stylelint-config.mjs +0 -48
- package/node/tDesignResolve.d.ts +0 -22
- package/node/tDesignResolve.mjs +0 -63
- package/node/utils/index.d.ts +0 -3
- package/node/utils/index.mjs +0 -19
- package/node/vite-config.d.ts +0 -12
- package/node/vite-config.mjs +0 -243
- package/node/vitePlugins.d.ts +0 -6
- package/node/vitePlugins.mjs +0 -58
- package/types/env.d.ts +0 -6
- package/types/globle.d.ts +0 -10
- package/types/shims.d.ts +0 -8
- package/utils/boolean.d.ts +0 -10
- package/utils/boolean.mjs +0 -14
- package/utils/index.d.ts +0 -5
- package/utils/index.mjs +0 -6
- package/utils/number.d.ts +0 -12
- package/utils/number.mjs +0 -33
- package/utils/string.d.ts +0 -14
- package/utils/string.mjs +0 -17
- package/utils/tool.d.ts +0 -4
- package/utils/tool.mjs +0 -21
- package/utils/tree.d.ts +0 -26
- package/utils/tree.mjs +0 -36
package/LICENSE
CHANGED
package/component.d.ts
ADDED
package/component.mjs
ADDED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region
|
|
1
|
+
//#region ../../packages/components/card/src/card.ts
|
|
2
2
|
var e = {
|
|
3
3
|
bodyFullHeight: !1,
|
|
4
4
|
headerBordered: !0,
|
|
@@ -7,3 +7,5 @@ var e = {
|
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
9
9
|
export { e as cardPropsInit };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=card.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.mjs","names":[],"sources":["../../../../../packages/components/card/src/card.ts"],"sourcesContent":["import type { CardProps as _CardProps } from 'tdesign-vue-next'\n\nexport const cardPropsInit = {\n bodyFullHeight: false,\n headerBordered: true,\n shadow: true,\n titleEllipsis: false,\n} as const\nexport type CardProps = Omit<_CardProps, 'content'> & {\n bodyFullHeight?: boolean\n titleEllipsis?: boolean\n}\n"],"mappings":";AAEA,IAAa,IAAgB;CAC3B,gBAAgB;CAChB,gBAAgB;CAChB,QAAQ;CACR,eAAe;AACjB"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cardPropsInit as e } from "./card.mjs";
|
|
2
2
|
import { computed as t, createBlock as n, defineComponent as r, getCurrentInstance as i, h as a, mergeDefaults as o, mergeProps as s, openBlock as c, resolveDynamicComponent as l, unref as u } from "vue";
|
|
3
3
|
import { Card as d } from "tdesign-vue-next";
|
|
4
|
-
//#region
|
|
4
|
+
//#region ../../packages/components/card/src/card.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var f = /*@__PURE__*/ r({
|
|
6
6
|
inheritAttrs: !1,
|
|
7
7
|
name: "TCard",
|
|
@@ -56,3 +56,5 @@ var f = /*@__PURE__*/ r({
|
|
|
56
56
|
});
|
|
57
57
|
//#endregion
|
|
58
58
|
export { f as default };
|
|
59
|
+
|
|
60
|
+
//# sourceMappingURL=card.vue_vue_type_script_setup_true_lang.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card.vue_vue_type_script_setup_true_lang.mjs","names":["$attrs","$slots"],"sources":["../../../../../packages/components/card/src/card.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { CardProps } from './card'\nimport { Card as TCard } from 'tdesign-vue-next'\nimport { computed, getCurrentInstance, h, mergeProps } from 'vue'\nimport { cardPropsInit } from './card'\n\ndefineOptions({\n inheritAttrs: false,\n // eslint-disable-next-line vue/order-in-components -- perfectionist/sort-objects 按字母序\n name: 'TCard',\n})\n\nconst props = withDefaults(defineProps<CardProps>(), cardPropsInit)\nconst otherProps = computed(() => {\n const obj: Partial<CardProps> = {\n ...props,\n }\n\n delete obj.bodyFullHeight\n delete obj.titleEllipsis\n Object.keys(obj).forEach((key) => {\n if (obj[key as keyof typeof obj] === undefined) {\n delete obj[key as keyof typeof obj]\n }\n })\n return obj\n})\nconst compo = TCard\nconst vm = getCurrentInstance()!\n\nfunction compoRef(instance: any) {\n const exposed = instance ?? {}\n\n vm.exposed = exposed\n}\n</script>\n\n<template>\n <component\n :is=\"\n h(\n compo,\n mergeProps(\n $attrs,\n {\n ...otherProps,\n ref: compoRef,\n bodyClassName: [bodyFullHeight ? 'flex-1' : '', otherProps.bodyClassName]\n .filter(Boolean)\n .join(' '),\n },\n {\n class: {\n 'flex flex-col': bodyFullHeight,\n title_ellipsis: titleEllipsis,\n },\n },\n ),\n $slots,\n )\n \"\n >\n </component>\n</template>\n\n<style scoped>\n.title_ellipsis {\n :deep() {\n .t-card__header-wrapper {\n @apply inline overflow-hidden;\n }\n\n .t-card__title {\n @apply overflow-hidden text-ellipsis whitespace-nowrap;\n }\n }\n}\n\n:deep() {\n .t-card__title {\n line-height: 32px;\n }\n\n .t-card__header {\n align-items: flex-start;\n }\n\n .t-card__title--bordered {\n &:is(:last-child) {\n border-bottom: none;\n }\n }\n\n .t-card__body {\n &:has(> .t-form:is(:last-child)) {\n padding-bottom: 0;\n }\n }\n\n .t-card__actions {\n display: flex;\n align-items: center;\n min-height: 32px;\n color: inherit;\n }\n\n .t-loading__parent {\n /* stylelint-disable-next-line selector-class-pattern */\n &:has(.t-card__body.flex-1) {\n display: flex;\n flex: 1;\n flex-direction: column;\n overflow-y: auto;\n }\n }\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYA,IAAM,IAAQ,GACR,IAAa,QAAe;GAChC,IAAM,IAA0B,EAC9B,GAAG,EACL;GASA,OAPA,OAAO,EAAI,gBACX,OAAO,EAAI,eACX,OAAO,KAAK,CAAG,CAAC,CAAC,SAAS,MAAQ;IAChC,AAAI,EAAI,OAA6B,KAAA,KACnC,OAAO,EAAI;GAEf,CAAC,GACM;EACT,CAAC,GACK,IAAQ,GACR,IAAK,EAAmB;EAE9B,SAAS,EAAS,GAAe;GAG/B,EAAG,UAFa,KAAY,CAAC;EAG/B;oBAIE,EAAA,GAAA,EAwBY,EAvBE,EAAW,EAAA,CAAA,GAAe,EAAsBA,EAAAA,QAAAA;GAAmC,GAAA,EAAA;GAA6B,KAAA;GAAsC,eAAA,CAAA,EAAA,iBAAc,WAAA,IAAkB,EAAA,MAAW,aAAa,CAAA,CAAiB,OAAO,OAAO,CAAA,CAAiB,KAAI,GAAA;;GAAoF,iBAAA,EAAA;GAA8C,gBAAA,EAAA;EAA8DC,EAAAA,CAAAA,GAAAA,EAAAA,MAAAA,CAAAA,CAAAA"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
2
|
+
.title_ellipsis[data-v-14f2ea24] .t-card__header-wrapper{display:inline;overflow:hidden}.title_ellipsis[data-v-14f2ea24] .t-card__title{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-v-14f2ea24] .t-card__title{line-height:32px}[data-v-14f2ea24] .t-card__header{align-items:flex-start}[data-v-14f2ea24] .t-card__title--bordered:last-child{border-bottom:none}[data-v-14f2ea24] .t-card__body:has(>.t-form:last-child){padding-bottom:0}[data-v-14f2ea24] .t-card__actions{min-height:32px;color:inherit;align-items:center;display:flex}[data-v-14f2ea24] .t-loading__parent:has(.t-card__body.flex-1){flex-direction:column;flex:1;display:flex;overflow-y:auto}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import e from "./card.vue_vue_type_script_setup_true_lang.mjs";
|
|
2
|
-
import './card.
|
|
2
|
+
import './card.vue_vue_type_style_index_0_scoped_14f2ea24_lang.css';/* empty css */
|
|
3
3
|
import t from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
//#region
|
|
5
|
-
var n = /*#__PURE__*/ t(e, [["__scopeId", "data-v-
|
|
4
|
+
//#region ../../packages/components/card/src/card.vue
|
|
5
|
+
var n = /*#__PURE__*/ t(e, [["__scopeId", "data-v-14f2ea24"]]);
|
|
6
6
|
//#endregion
|
|
7
7
|
export { n as default };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=card2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card2.mjs","names":[],"sources":["../../../../../packages/components/card/src/card.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { CardProps } from './card'\nimport { Card as TCard } from 'tdesign-vue-next'\nimport { computed, getCurrentInstance, h, mergeProps } from 'vue'\nimport { cardPropsInit } from './card'\n\ndefineOptions({\n inheritAttrs: false,\n // eslint-disable-next-line vue/order-in-components -- perfectionist/sort-objects 按字母序\n name: 'TCard',\n})\n\nconst props = withDefaults(defineProps<CardProps>(), cardPropsInit)\nconst otherProps = computed(() => {\n const obj: Partial<CardProps> = {\n ...props,\n }\n\n delete obj.bodyFullHeight\n delete obj.titleEllipsis\n Object.keys(obj).forEach((key) => {\n if (obj[key as keyof typeof obj] === undefined) {\n delete obj[key as keyof typeof obj]\n }\n })\n return obj\n})\nconst compo = TCard\nconst vm = getCurrentInstance()!\n\nfunction compoRef(instance: any) {\n const exposed = instance ?? {}\n\n vm.exposed = exposed\n}\n</script>\n\n<template>\n <component\n :is=\"\n h(\n compo,\n mergeProps(\n $attrs,\n {\n ...otherProps,\n ref: compoRef,\n bodyClassName: [bodyFullHeight ? 'flex-1' : '', otherProps.bodyClassName]\n .filter(Boolean)\n .join(' '),\n },\n {\n class: {\n 'flex flex-col': bodyFullHeight,\n title_ellipsis: titleEllipsis,\n },\n },\n ),\n $slots,\n )\n \"\n >\n </component>\n</template>\n\n<style scoped>\n.title_ellipsis {\n :deep() {\n .t-card__header-wrapper {\n @apply inline overflow-hidden;\n }\n\n .t-card__title {\n @apply overflow-hidden text-ellipsis whitespace-nowrap;\n }\n }\n}\n\n:deep() {\n .t-card__title {\n line-height: 32px;\n }\n\n .t-card__header {\n align-items: flex-start;\n }\n\n .t-card__title--bordered {\n &:is(:last-child) {\n border-bottom: none;\n }\n }\n\n .t-card__body {\n &:has(> .t-form:is(:last-child)) {\n padding-bottom: 0;\n }\n }\n\n .t-card__actions {\n display: flex;\n align-items: center;\n min-height: 32px;\n color: inherit;\n }\n\n .t-loading__parent {\n /* stylelint-disable-next-line selector-class-pattern */\n &:has(.t-card__body.flex-1) {\n display: flex;\n flex: 1;\n flex-direction: column;\n overflow-y: auto;\n }\n }\n}\n</style>\n"],"mappings":""}
|
package/components/index.mjs
CHANGED
package/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from '../components';
|
package/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,115 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
2
|
+
"name": "dlzn-ui",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"sideEffects": [
|
|
6
|
+
"**/*.css"
|
|
7
|
+
],
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
},
|
|
13
|
-
"./assets/css/index.css": "./assets/css/index.css",
|
|
14
|
-
"./const": {
|
|
15
|
-
"import": "./const/index.mjs",
|
|
16
|
-
"types": "./const/index.d.ts"
|
|
17
|
-
},
|
|
18
|
-
"./aliasElementPlus": {
|
|
19
|
-
"import": "./node/aliasElementPlus.mjs",
|
|
20
|
-
"types": "./node/aliasElementPlus.d.ts"
|
|
21
|
-
},
|
|
22
|
-
"./autoImportStores": {
|
|
23
|
-
"import": "./node/autoImportStores.mjs",
|
|
24
|
-
"types": "./node/autoImportStores.d.ts"
|
|
25
|
-
},
|
|
26
|
-
"./devSaveFolderAlias": {
|
|
27
|
-
"import": "./node/devSaveFolderAlias.mjs",
|
|
28
|
-
"types": "./node/devSaveFolderAlias.d.ts"
|
|
29
|
-
},
|
|
30
|
-
"./eslint-config": {
|
|
31
|
-
"import": "./node/eslint-config.mjs",
|
|
32
|
-
"types": "./node/eslint-config.d.ts"
|
|
33
|
-
},
|
|
34
|
-
"./prettier-config": {
|
|
35
|
-
"import": "./node/prettier-config.mjs",
|
|
36
|
-
"types": "./node/prettier-config.d.ts"
|
|
37
|
-
},
|
|
38
|
-
"./stylelint-config": {
|
|
39
|
-
"import": "./node/stylelint-config.mjs",
|
|
40
|
-
"types": "./node/stylelint-config.d.ts"
|
|
41
|
-
},
|
|
42
|
-
"./tDesignResolve": {
|
|
43
|
-
"import": "./node/tDesignResolve.mjs",
|
|
44
|
-
"types": "./node/tDesignResolve.d.ts"
|
|
45
|
-
},
|
|
46
|
-
"./vite-config": {
|
|
47
|
-
"import": "./node/vite-config.mjs",
|
|
48
|
-
"types": "./node/vite-config.d.ts"
|
|
49
|
-
},
|
|
50
|
-
"./vitePlugins": {
|
|
51
|
-
"import": "./node/vitePlugins.mjs",
|
|
52
|
-
"types": "./node/vitePlugins.d.ts"
|
|
53
|
-
},
|
|
54
|
-
"./utils": {
|
|
55
|
-
"import": "./utils/index.mjs",
|
|
56
|
-
"types": "./utils/index.d.ts"
|
|
10
|
+
"types": "./index.d.ts",
|
|
11
|
+
"import": "./index.mjs"
|
|
57
12
|
}
|
|
58
13
|
},
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public"
|
|
16
|
+
},
|
|
17
|
+
"engines": {
|
|
18
|
+
"node": "^24.15.0",
|
|
19
|
+
"pnpm": "^11.17.0"
|
|
20
|
+
},
|
|
62
21
|
"peerDependencies": {
|
|
63
|
-
"@antfu/eslint-config": "^9.3.0",
|
|
64
|
-
"@plugin-web-update-notification/vite": "^2.1.3",
|
|
65
|
-
"@prettier/plugin-xml": "^3.4.2",
|
|
66
|
-
"@stylistic/stylelint-config": "^5.0.0",
|
|
67
|
-
"@tailwindcss/vite": "^4.3.3",
|
|
68
|
-
"@tdesign-vue-next/auto-import-resolver": "^0.1.7",
|
|
69
|
-
"@tsconfig/node-lts": "^24.0.0",
|
|
70
|
-
"@types/node": "^26.1.2",
|
|
71
|
-
"@vitejs/plugin-vue": "^6.0.8",
|
|
72
|
-
"@vitejs/plugin-vue-jsx": "^5.1.6",
|
|
73
|
-
"@vue/tsconfig": "^0.9.1",
|
|
74
|
-
"browserslist": "^4.28.8",
|
|
75
|
-
"eslint": "^10.8.1",
|
|
76
|
-
"eslint-config-prettier": "^10.1.8",
|
|
77
|
-
"eslint-plugin-format": "^2.0.1",
|
|
78
|
-
"eslint-plugin-prettier": "^5.5.6",
|
|
79
|
-
"jiti": "^2.7.0",
|
|
80
|
-
"postcss-html": "^2.0.0",
|
|
81
|
-
"postcss-markdown": "^2.0.0",
|
|
82
|
-
"prettier": "^3.9.6",
|
|
83
|
-
"prettier-plugin-tailwindcss": "^0.8.1",
|
|
84
|
-
"rollup-plugin-visualizer": "^7.1.1",
|
|
85
|
-
"stylelint": "^17.14.1",
|
|
86
|
-
"stylelint-config-recess-order": "^7.7.0",
|
|
87
|
-
"stylelint-config-recommended-vue": "^2.0.0",
|
|
88
|
-
"stylelint-config-standard": "^40.0.0",
|
|
89
|
-
"stylelint-order": "^8.1.1",
|
|
90
|
-
"stylelint-use-nesting": "^6.0.2",
|
|
91
|
-
"tailwindcss": "^4.3.3",
|
|
92
22
|
"tdesign-vue-next": "^1.20.5",
|
|
93
|
-
"
|
|
94
|
-
"typescript": "^6.0.3",
|
|
95
|
-
"unplugin-auto-import": "^21.1.0",
|
|
96
|
-
"unplugin-element-plus": "^0.11.2",
|
|
97
|
-
"unplugin-vue-components": "^32.1.0",
|
|
98
|
-
"vite": "^8.2.0",
|
|
99
|
-
"vite-plugin-compression2": "^2.5.3",
|
|
100
|
-
"vite-plugin-env-parse": "^1.0.15",
|
|
101
|
-
"vite-plugin-html": "^3.2.2",
|
|
102
|
-
"vite-plugin-imagemin": "^0.6.1",
|
|
103
|
-
"vite-plugin-vue-devtools": "^8.2.1",
|
|
104
|
-
"vite-plugin-vue-tailwind-auto-reference": "^2.0.2",
|
|
105
|
-
"vue": "^3.5.41",
|
|
106
|
-
"vue-router": "^5.2.0",
|
|
107
|
-
"vue-tsc": "^3.3.9"
|
|
23
|
+
"vue": "^3.5.41"
|
|
108
24
|
},
|
|
109
|
-
"
|
|
110
|
-
"
|
|
25
|
+
"browserslist": [
|
|
26
|
+
"last 2 version",
|
|
27
|
+
"> 1%",
|
|
28
|
+
"not dead"
|
|
111
29
|
],
|
|
112
|
-
"
|
|
113
|
-
"version": "1.41.0",
|
|
114
|
-
"scripts": {}
|
|
30
|
+
"version": "1.52.0"
|
|
115
31
|
}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/* stylelint-disable selector-class-pattern */
|
|
2
|
-
body {
|
|
3
|
-
.el-popper__arrow {
|
|
4
|
-
display: none;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.el-input__icon {
|
|
8
|
-
&.clear-icon {
|
|
9
|
-
font-size: 16px;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.el-date-editor {
|
|
14
|
-
&.is-focus .el-input__wrapper {
|
|
15
|
-
/* 非range focus */
|
|
16
|
-
box-shadow: 0 0 0 2px var(--el-input-focus-border-color) inset;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&.t-is-success {
|
|
20
|
-
.el-input__wrapper {
|
|
21
|
-
--el-input-border-color: var(--td-success-color);
|
|
22
|
-
--el-input-hover-border-color: var(--td-success-color);
|
|
23
|
-
--el-input-focus-border-color: var(--td-success-color);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.t-is-warning {
|
|
28
|
-
.el-input__wrapper {
|
|
29
|
-
--el-input-border-color: var(--td-warning-color);
|
|
30
|
-
--el-input-hover-border-color: var(--td-warning-color);
|
|
31
|
-
--el-input-focus-border-color: var(--td-warning-color);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.t-is-error {
|
|
36
|
-
.el-input__wrapper {
|
|
37
|
-
--el-input-border-color: var(--td-error-color);
|
|
38
|
-
--el-input-hover-border-color: var(--td-error-color);
|
|
39
|
-
--el-input-focus-border-color: var(--td-error-color);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.el-range-editor {
|
|
45
|
-
&.is-active {
|
|
46
|
-
/* range focus */
|
|
47
|
-
box-shadow: 0 0 0 2px var(--el-input-focus-border-color) inset !important;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.el-input__wrapper {
|
|
52
|
-
&.is-focus {
|
|
53
|
-
/* 时间输入框 focus */
|
|
54
|
-
box-shadow: 0 0 0 2px var(--el-input-focus-border-color) inset;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.t-form__controls {
|
|
59
|
-
&.t-is-error {
|
|
60
|
-
.el-input__wrapper {
|
|
61
|
-
/* TDatePicker */
|
|
62
|
-
--el-input-border-color: var(--td-error-color);
|
|
63
|
-
|
|
64
|
-
/* TDatePicker */
|
|
65
|
-
--el-input-hover-border-color: var(--td-error-color);
|
|
66
|
-
|
|
67
|
-
/* TDatePicker */
|
|
68
|
-
--el-input-focus-border-color: var(--td-error-color);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.el-date-editor {
|
|
73
|
-
--el-date-editor-width: 100%;
|
|
74
|
-
--el-date-editor-monthrange-width: 100%;
|
|
75
|
-
--el-date-editor-daterange-width: 100%;
|
|
76
|
-
--el-date-editor-datetimerange-width: 100%;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
package/assets/css/index.css
DELETED
package/assets/css/other.css
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
@import 'tailwindcss';
|
|
2
|
-
|
|
3
|
-
@theme {
|
|
4
|
-
--font-sans: blinkmacsystemfont, -apple-system, 'Segoe UI', roboto, helvetica, arial, sans-serif;
|
|
5
|
-
|
|
6
|
-
/* stylelint-disable-next-line custom-property-pattern */
|
|
7
|
-
--color-*: initial;
|
|
8
|
-
|
|
9
|
-
/* 自定义变量 */
|
|
10
|
-
|
|
11
|
-
/* --color-primary: var(--td-brand-color-active); */
|
|
12
|
-
|
|
13
|
-
/* 同tdesign 保持一致 */
|
|
14
|
-
--breakpoint-xs: 20rem;
|
|
15
|
-
--breakpoint-sm: 48rem;
|
|
16
|
-
--breakpoint-md: 62rem;
|
|
17
|
-
--breakpoint-lg: 75rem;
|
|
18
|
-
--breakpoint-xl: 87.5rem;
|
|
19
|
-
--breakpoint-2xl: 117.5rem;
|
|
20
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/* stylelint-disable custom-property-pattern */
|
|
2
|
-
.chatbot_wrapper {
|
|
3
|
-
--td-chat-item-gap: 12px;
|
|
4
|
-
--td-chat-item-left-avatar-margin: 0 8px 0 4px;
|
|
5
|
-
--td-chat-item-right-avatar-margin: 0 4px 0 8px;
|
|
6
|
-
--td-chat-item-content-padding: 6px 0 0;
|
|
7
|
-
--td-chat-font-size: var(--td-font-size-body-medium);
|
|
8
|
-
--td-chat-item-text-padding: var(--td-comp-paddingTB-s) var(--td-comp-paddingLR-s);
|
|
9
|
-
|
|
10
|
-
::part(t-chat__input__content) {
|
|
11
|
-
border-radius: var(--td-radius-default);
|
|
12
|
-
|
|
13
|
-
&:focus-within {
|
|
14
|
-
box-shadow: 0 0 0 1px var(--td-brand-color) inset;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
::part(t-chat__text--user) {
|
|
19
|
-
background-color: var(--td-bg-color-container-active);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
::part(t-chat__input) {
|
|
23
|
-
padding: 0 12px 12px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
::part(t-chat__list) {
|
|
27
|
-
padding: 0 12px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
::part(t-chat__item__inner) {
|
|
31
|
-
margin-top: 12px;
|
|
32
|
-
}
|
|
33
|
-
}
|