@yeepay/yee-boss-ui 0.1.19 → 0.1.20
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/grid.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import { Y as T } from "./YeeFileUpload-BUFoWs8x.js";
|
|
|
11
11
|
import { Y as d } from "./YeeEllipsisText-BTSbIuBl.js";
|
|
12
12
|
import { Y as c } from "./YeeDescriptions-DyYySPuw.js";
|
|
13
13
|
import { Y as V } from "./form-api-0148j8ew.js";
|
|
14
|
-
import { Y as y, u as K } from "./use-yee-grid-
|
|
14
|
+
import { Y as y, u as K } from "./use-yee-grid-ClKZU8CY.js";
|
|
15
15
|
const h = {
|
|
16
16
|
PlatformConfigProvider: s,
|
|
17
17
|
YeeAppShell: f,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { shallowRef as s, defineComponent as
|
|
1
|
+
import { shallowRef as s, defineComponent as l, onBeforeUnmount as n, h as u, defineAsyncComponent as d } from "vue";
|
|
2
2
|
import { Y as h } from "./form-api-0148j8ew.js";
|
|
3
3
|
class m {
|
|
4
4
|
/** 查询表单控制器。 */
|
|
@@ -48,34 +48,34 @@ class m {
|
|
|
48
48
|
this.grid = void 0;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
let
|
|
51
|
+
let i = !1;
|
|
52
52
|
function c() {
|
|
53
|
-
if (
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
if (!(i || typeof document > "u")) {
|
|
54
|
+
if (document.querySelector("link[data-yee-grid-styles]")) {
|
|
55
|
+
i = !0;
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
i = !0, import("@yeepay/yee-boss-ui/grid.css");
|
|
57
59
|
}
|
|
58
|
-
const e = document.createElement("link");
|
|
59
|
-
e.rel = "stylesheet", e.dataset.yeeGridStyles = "true", e.href = new URL("./grid.css", import.meta.url).href, document.head.appendChild(e), r = !0;
|
|
60
60
|
}
|
|
61
|
-
const p =
|
|
62
|
-
function b(
|
|
61
|
+
const p = d(() => import("./YeeGrid-CF-0OZUj.js"));
|
|
62
|
+
function b(r) {
|
|
63
63
|
c();
|
|
64
|
-
const e = new m(
|
|
65
|
-
return [
|
|
64
|
+
const e = new m(r);
|
|
65
|
+
return [l({
|
|
66
66
|
name: "YeeGrid",
|
|
67
67
|
inheritAttrs: !1,
|
|
68
68
|
props: {
|
|
69
69
|
tableTitle: String,
|
|
70
70
|
tableTitleHelp: String
|
|
71
71
|
},
|
|
72
|
-
setup(t, { attrs:
|
|
73
|
-
return
|
|
74
|
-
...
|
|
72
|
+
setup(t, { attrs: a, slots: o }) {
|
|
73
|
+
return n(() => e.unmount()), () => u(p, {
|
|
74
|
+
...a,
|
|
75
75
|
api: e,
|
|
76
76
|
...t.tableTitle ? { tableTitle: t.tableTitle } : {},
|
|
77
77
|
...t.tableTitleHelp ? { tableTitleHelp: t.tableTitleHelp } : {}
|
|
78
|
-
},
|
|
78
|
+
}, o);
|
|
79
79
|
}
|
|
80
80
|
}), e];
|
|
81
81
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yeepay/yee-boss-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"description": "运营后台平台公共 UI 与主题基础能力",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"types": "./dist/grid.d.ts",
|
|
44
44
|
"import": "./dist/grid.js"
|
|
45
45
|
},
|
|
46
|
+
"./grid.css": "./dist/grid.css",
|
|
46
47
|
"./tailwind-preset": {
|
|
47
48
|
"types": "./dist/tailwind-preset.d.ts",
|
|
48
49
|
"import": "./dist/tailwind-preset.js"
|
|
@@ -76,6 +77,17 @@
|
|
|
76
77
|
"sideEffects": [
|
|
77
78
|
"**/*.css"
|
|
78
79
|
],
|
|
80
|
+
"scripts": {
|
|
81
|
+
"build": "vite build",
|
|
82
|
+
"build:example": "vite build --config examples/vite.config.ts",
|
|
83
|
+
"check": "pnpm typecheck && pnpm test && pnpm build && pnpm typecheck:public && pnpm publint",
|
|
84
|
+
"example": "vite --config examples/vite.config.ts",
|
|
85
|
+
"prepack": "pnpm check",
|
|
86
|
+
"publint": "publint",
|
|
87
|
+
"test": "vitest run",
|
|
88
|
+
"typecheck": "vue-tsc --noEmit",
|
|
89
|
+
"typecheck:public": "vue-tsc --noEmit -p tsconfig.public.json"
|
|
90
|
+
},
|
|
79
91
|
"peerDependencies": {
|
|
80
92
|
"ant-design-vue": "^4.2.0",
|
|
81
93
|
"vue": "^3.5.0"
|
|
@@ -101,18 +113,14 @@
|
|
|
101
113
|
"node": ">=20.19.0",
|
|
102
114
|
"pnpm": ">=10.0.0"
|
|
103
115
|
},
|
|
116
|
+
"packageManager": "pnpm@10.28.1",
|
|
117
|
+
"pnpm": {
|
|
118
|
+
"overrides": {
|
|
119
|
+
"@vxe-ui/core": "4.3.1"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
104
122
|
"publishConfig": {
|
|
105
123
|
"access": "public",
|
|
106
124
|
"registry": "https://registry.npmjs.org/"
|
|
107
|
-
},
|
|
108
|
-
"scripts": {
|
|
109
|
-
"build": "vite build",
|
|
110
|
-
"build:example": "vite build --config examples/vite.config.ts",
|
|
111
|
-
"check": "pnpm typecheck && pnpm test && pnpm build && pnpm typecheck:public && pnpm publint",
|
|
112
|
-
"example": "vite --config examples/vite.config.ts",
|
|
113
|
-
"publint": "publint",
|
|
114
|
-
"test": "vitest run",
|
|
115
|
-
"typecheck": "vue-tsc --noEmit",
|
|
116
|
-
"typecheck:public": "vue-tsc --noEmit -p tsconfig.public.json"
|
|
117
125
|
}
|
|
118
|
-
}
|
|
126
|
+
}
|