@ithinkdt/ui 4.0.7 → 4.0.9
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/{DataTable-D6hPSWvx.js → DataTable-DEb9CRCZ.js} +6 -5
- package/dist/{assets-_Fpf0gbI.js → assets-bJgPKDh1.js} +3 -1
- package/dist/components.js +180 -168
- package/dist/composables.js +2 -0
- package/dist/{directives-DXNnV4xc.js → directives-pwYPe_53.js} +11 -16
- package/dist/directives.js +1 -1
- package/dist/index.js +143 -130
- package/dist/page.js +184 -183
- package/dist/{use-i18n-Cmb7Xx7d.js → use-i18n-D1TTDOML.js} +3 -1
- package/dist/use-style.js +3 -1
- package/esm/index.d.ts +0 -2
- package/esm/page.d.ts +2 -2
- package/package.json +12 -11
- package/unocss-preset.js +1 -1
package/dist/use-style.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { useMergedClsPrefix as e } from "ithinkdt-ui/es/_mixins/use-config";
|
|
2
2
|
import t from "ithinkdt-ui/es/_mixins/use-style";
|
|
3
3
|
import { c as n, cB as r, cE as i, cM as a } from "ithinkdt-ui/es/_utils/cssr/index";
|
|
4
|
+
//#region src/use-style.js
|
|
4
5
|
function o(n, r, i, a) {
|
|
5
6
|
return i ??= e(), t(n, r, i, a), i;
|
|
6
7
|
}
|
|
7
|
-
|
|
8
|
+
var s = { width: "100%" }, c = { height: "100%" }, l = {
|
|
8
9
|
...s,
|
|
9
10
|
...c
|
|
10
11
|
}, u = { display: "flex" }, d = {
|
|
@@ -26,4 +27,5 @@ const s = { width: "100%" }, c = { height: "100%" }, l = {
|
|
|
26
27
|
...u,
|
|
27
28
|
gap: e
|
|
28
29
|
});
|
|
30
|
+
//#endregion
|
|
29
31
|
export { n as c, r as cB, i as cE, a as cM, o as default, u as flex, f as flexAlignCenter, h as flexCenter, d as flexDirCol, g as flexGap, p as flexJustifyCenter, m as flexJustifySB, c as fullHeight, l as fullWH, s as fullWidth, e as useClsPrefix };
|
package/esm/index.d.ts
CHANGED
package/esm/page.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from 'ithinkdt-ui'
|
|
7
7
|
import { MaybeRef, VNode, VNodeChild } from 'vue'
|
|
8
8
|
|
|
9
|
-
import { PublicProps } from '@ithinkdt/common'
|
|
9
|
+
import { Awaitable, PublicProps } from '@ithinkdt/common'
|
|
10
10
|
import { DictItem, DictTypeKey } from '@ithinkdt/common/dict'
|
|
11
11
|
import { PageOptions } from '@ithinkdt/page'
|
|
12
12
|
|
|
@@ -32,7 +32,7 @@ declare module '@ithinkdt/page' {
|
|
|
32
32
|
selectProps?: ShallowMaybeRef<Omit<SelectProps, 'options' | 'value' | 'onUpdate:value' | 'disabled'> & PublicProps
|
|
33
33
|
& {
|
|
34
34
|
dictType?: DictTypeKey | undefined
|
|
35
|
-
options?: DictItem[] | (SelectOption | SelectGroupOption)[] | undefined
|
|
35
|
+
options?: DictItem[] | (SelectOption | SelectGroupOption)[] | ((pattern: string) => Awaitable<DictItem[] | (SelectOption | SelectGroupOption)[]>) | undefined
|
|
36
36
|
valueType?: 'string' | 'number' | undefined
|
|
37
37
|
}>
|
|
38
38
|
selectSlots?: SelectSlots
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ithinkdt/ui",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "iThinkDT UI",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"vueuc": "^0.4.65",
|
|
68
68
|
"sortablejs": "^1.15.7",
|
|
69
69
|
"@types/sortablejs": "^1.15.9",
|
|
70
|
-
"nanoid": "^5.1.
|
|
71
|
-
"@ithinkdt/common": "^4.0.
|
|
70
|
+
"nanoid": "^5.1.7",
|
|
71
|
+
"@ithinkdt/common": "^4.0.7"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
74
|
"@ithinkdt/page": ">=4.0",
|
|
@@ -86,14 +86,15 @@
|
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@vitejs/plugin-vue-jsx": "^5.1.
|
|
90
|
-
"ithinkdt-ui": "^1.
|
|
91
|
-
"typescript": "~
|
|
92
|
-
"unocss": ">=66.6.
|
|
93
|
-
"vite": "^8.0.
|
|
94
|
-
"vue": "^3.5.
|
|
95
|
-
"vue-router": "^5.0.
|
|
96
|
-
"@
|
|
89
|
+
"@vitejs/plugin-vue-jsx": "^5.1.5",
|
|
90
|
+
"ithinkdt-ui": "^1.9.1",
|
|
91
|
+
"typescript": "~6.0.2",
|
|
92
|
+
"unocss": ">=66.6.7",
|
|
93
|
+
"vite": "^8.0.3",
|
|
94
|
+
"vue": "^3.5.31",
|
|
95
|
+
"vue-router": "^5.0.4",
|
|
96
|
+
"@vue/test-utils": "^2.4.6",
|
|
97
|
+
"@ithinkdt/page": "^4.0.10"
|
|
97
98
|
},
|
|
98
99
|
"scripts": {
|
|
99
100
|
"dev": "vite build --watch",
|
package/unocss-preset.js
CHANGED
|
@@ -55,7 +55,7 @@ const ithinkdt = (options = {}) => {
|
|
|
55
55
|
if (p.selector.startsWith('.dark ')) {
|
|
56
56
|
p.selector = `.dark & ${p.selector.slice(6)}`
|
|
57
57
|
}
|
|
58
|
-
} else {
|
|
58
|
+
} else if (!p.selector.startsWith('@property')) {
|
|
59
59
|
p.selector = p.selector.startsWith('.dark ') ? `.dark .${ns} ${p.selector.slice(6)}` : `.${ns} ${p.selector}`
|
|
60
60
|
}
|
|
61
61
|
},
|