@dlzn-ui/vite-config 1.83.0 → 1.84.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/dist/index.mjs +11 -3
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -94,24 +94,32 @@ const tDesignAutoImportResolve = (options) => {
|
|
|
94
94
|
{
|
|
95
95
|
resolve: (name) => {
|
|
96
96
|
if ([
|
|
97
|
+
"TButton",
|
|
97
98
|
"TCard",
|
|
98
99
|
"TCheckbox",
|
|
100
|
+
"TCheckboxGroup",
|
|
99
101
|
"TIcon",
|
|
100
102
|
"TImage",
|
|
101
103
|
"TImageViewer",
|
|
102
104
|
"TInput",
|
|
103
105
|
"TInputNumber",
|
|
104
106
|
"TLink",
|
|
107
|
+
"TPagination",
|
|
105
108
|
"TPopconfirm",
|
|
106
109
|
"TPopup",
|
|
107
110
|
"TProvider",
|
|
111
|
+
"TRadioGroup",
|
|
108
112
|
"TRangeInput",
|
|
113
|
+
"TSelect",
|
|
109
114
|
"TSlider",
|
|
110
115
|
"TSwitch",
|
|
111
116
|
"TTabPanel",
|
|
112
117
|
"TTag",
|
|
113
118
|
"TTagInput",
|
|
114
|
-
"TTextarea"
|
|
119
|
+
"TTextarea",
|
|
120
|
+
"TTree",
|
|
121
|
+
"TTreeSelect",
|
|
122
|
+
"TUpload"
|
|
115
123
|
].includes(name)) {
|
|
116
124
|
return {
|
|
117
125
|
from: `dlzn-ui/components/${kebabCase(name.slice(1))}`,
|
|
@@ -466,7 +474,7 @@ const index = (_env, options) => {
|
|
|
466
474
|
},
|
|
467
475
|
// envDir, // 将 env 文件里面的变量注入到 import.meta.env 里面
|
|
468
476
|
optimizeDeps: {
|
|
469
|
-
include: ["dlzn-ui/components/button", "dlzn-ui/components/card", "dlzn-ui/components/checkbox", "dlzn-ui/components/checkbox-group", "dlzn-ui/components/form", "dlzn-ui/components/icon", "dlzn-ui/components/image", "dlzn-ui/components/image-viewer", "dlzn-ui/components/input", "dlzn-ui/components/input-number", "dlzn-ui/components/link", "dlzn-ui/components/pagination", "dlzn-ui/components/popconfirm", "dlzn-ui/components/popup", "dlzn-ui/components/provider", "dlzn-ui/components/radio-group", "dlzn-ui/components/range-input", "dlzn-ui/components/select", "dlzn-ui/components/slider", "dlzn-ui/components/switch", "dlzn-ui/components/tab-panel", "dlzn-ui/components/tag", "dlzn-ui/components/tag-input", "dlzn-ui/components/textarea", "dlzn-ui/components/tree", "dlzn-ui/components/tree-select", "dlzn-ui/components/upload", "tdesign-vue-next/dist/tdesign.min.js", "path-browserify", "lodash-es", "
|
|
477
|
+
include: ["dlzn-ui/components/button", "dlzn-ui/components/card", "dlzn-ui/components/checkbox", "dlzn-ui/components/checkbox-group", "dlzn-ui/components/form", "dlzn-ui/components/icon", "dlzn-ui/components/image", "dlzn-ui/components/image-viewer", "dlzn-ui/components/input", "dlzn-ui/components/input-number", "dlzn-ui/components/link", "dlzn-ui/components/pagination", "dlzn-ui/components/popconfirm", "dlzn-ui/components/popup", "dlzn-ui/components/provider", "dlzn-ui/components/radio-group", "dlzn-ui/components/range-input", "dlzn-ui/components/select", "dlzn-ui/components/slider", "dlzn-ui/components/switch", "dlzn-ui/components/tab-panel", "dlzn-ui/components/tag", "dlzn-ui/components/tag-input", "dlzn-ui/components/textarea", "dlzn-ui/components/tree", "dlzn-ui/components/tree-select", "dlzn-ui/components/upload", "tdesign-vue-next/dist/tdesign.min.js", "path-browserify", "lodash-es", "alova", "alova/fetch", "alova/vue", "@formkit/auto-animate", "@formkit/auto-animate/vue", "dayjs", "dayjs/plugin/customParseFormat.js", "dayjs/plugin/isSameOrBefore.js", "wordcloud", "echarts/charts", "echarts/components", "echarts/core", "echarts/renderers", "@tdesign-vue-next/chat", "vue-echarts", "dompurify", "cron-parser", "cronstrue", "cronstrue/locales/zh_CN", "quartzcron", "@bprogress/core", "element-plus", "element-plus/es/components/config-provider/style/css", "element-plus/es/locale/lang/zh-cn", "element-plus/es/components/date-picker/style/css", "element-plus/es/components/scrollbar/style/css", "color"]
|
|
470
478
|
},
|
|
471
479
|
plugins: [
|
|
472
480
|
// envParse({
|
|
@@ -517,7 +525,7 @@ const index = (_env, options) => {
|
|
|
517
525
|
"vue-router",
|
|
518
526
|
"pinia",
|
|
519
527
|
"@vueuse/core",
|
|
520
|
-
...[{ "from": "dlzn-ui/utils", "imports": ["formatNumber", "isFalsy", "stringDisplay"] }, { "dlzn-ui/plugins/autoImport/$alova": [["default", "$alova"]] }, { "dlzn-ui/plugins/autoImport/$confirm": [["default", "$confirm"]] }, { "dlzn-ui/plugins/autoImport/$dialog": [["default", "$dialog"]] }, { "dlzn-ui/plugins/autoImport/$drawer": [["default", "$drawer"]] }, { "dlzn-ui/plugins/autoImport/$loading": [["default", "$loading"]] }, { "dlzn-ui/plugins/autoImport/$msg": [["default", "$msg"]] }, { "dlzn-ui/plugins/autoImport/$notify": [["default", "$notify"]] }, { "dlzn-ui/plugins/autoImport/dayjs": [["default", "dayjs"]] }, { "dlzn-ui/
|
|
528
|
+
...[{ "from": "dlzn-ui/utils", "imports": ["formatNumber", "isFalsy", "stringDisplay"] }, { "dlzn-ui/plugins/autoImport/$alova": [["default", "$alova"]] }, { "dlzn-ui/plugins/autoImport/$confirm": [["default", "$confirm"]] }, { "dlzn-ui/plugins/autoImport/$dialog": [["default", "$dialog"]] }, { "dlzn-ui/plugins/autoImport/$drawer": [["default", "$drawer"]] }, { "dlzn-ui/plugins/autoImport/$loading": [["default", "$loading"]] }, { "dlzn-ui/plugins/autoImport/$msg": [["default", "$msg"]] }, { "dlzn-ui/plugins/autoImport/$notify": [["default", "$notify"]] }, { "dlzn-ui/plugins/autoImport/dayjs": [["default", "dayjs"]] }, { "dlzn-ui/hooks/useAnimateAuto": [["default", "useAnimateAuto"]] }, { "dlzn-ui/hooks/useAppContext": [["default", "useAppContext"]] }, { "dlzn-ui/hooks/useCommon": [["default", "useCommon"]] }, { "dlzn-ui/hooks/useContextMenu": [["default", "useContextMenu"]] }, { "dlzn-ui/hooks/useDic": [["default", "useDic"]] }, { "dlzn-ui/hooks/useList": [["default", "useList"]] }, { "dlzn-ui/hooks/useMQ": [["default", "useMQ"]] }, { "dlzn-ui/hooks/useSysUser": [["default", "useSysUser"]] }, { "dlzn-ui/store/modules/common": [["default", "useCommonStore"]] }, { "dlzn-ui/store/modules/excludeKPname": [["default", "useExcludeKPnameStore"]] }, { "dlzn-ui/store/modules/login": [["default", "useLoginStore"]] }, { "dlzn-ui/store/modules/recentRouters": [["default", "useRecentRoutersStore"]] }, { "dlzn-ui/store/modules/router": [["default", "useRouterStore"]] }, { "dlzn-ui/store/modules/user": [["default", "useUserStore"]] }],
|
|
521
529
|
{
|
|
522
530
|
from: "alova/client",
|
|
523
531
|
imports: ["useRequest", "useWatcher", "usePagination"]
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dlzn-ui/vite-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.84.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"vite-plugin-imagemin": "^0.6.1",
|
|
39
39
|
"vite-plugin-vue-tailwind-auto-reference": "^2.0.2",
|
|
40
40
|
"vue-router": "^5.2.0",
|
|
41
|
-
"@dlzn-ui/node-utils": "1.
|
|
41
|
+
"@dlzn-ui/node-utils": "1.84.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"rimraf": "^6.1.3",
|