ebuilds-shared 0.1.1 → 0.1.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/dist/{chunk-G4JQ2UQV.mjs → chunk-AZ4N2JGX.mjs} +3 -11
- package/dist/chunk-CUXFXKGW.js +79 -0
- package/dist/chunk-ESXS2BQB.mjs +79 -0
- package/dist/{chunk-2745YSBV.mjs → chunk-NYKVFN6V.mjs} +25 -3
- package/dist/{chunk-NMW6V27T.js → chunk-RLGKFHYX.js} +25 -3
- package/dist/{chunk-LATZ6U6A.js → chunk-TJ475X6H.js} +3 -11
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -4
- package/dist/index.mjs +5 -3
- package/dist/stores/index.js +2 -2
- package/dist/stores/index.mjs +1 -1
- package/dist/uno-config/index.js +2 -2
- package/dist/uno-config/index.mjs +1 -1
- package/dist/utils/index.d.mts +9 -1
- package/dist/utils/index.d.ts +9 -1
- package/dist/utils/index.js +4 -2
- package/dist/utils/index.mjs +3 -1
- package/dist/vite-config/index.js +2 -2
- package/dist/vite-config/index.mjs +1 -1
- package/package.json +2 -2
- package/dist/chunk-MXO66M74.js +0 -36
- package/dist/chunk-OW2EL2VY.mjs +0 -36
|
@@ -133,7 +133,7 @@ var require_supports_color = __commonJS({
|
|
|
133
133
|
// src/vite-config/index.ts
|
|
134
134
|
import { defineConfig, loadEnv } from "vite";
|
|
135
135
|
|
|
136
|
-
// ../node_modules/.pnpm/@vitejs+plugin-vue@5.2.4_vite@6.4.1_@types+node@22.19.1_jiti@2.6.1_less@4.4.
|
|
136
|
+
// ../node_modules/.pnpm/@vitejs+plugin-vue@5.2.4_vite@6.4.1_@types+node@22.19.1_jiti@2.6.1_less@4.4.2_lightningcss@1._stoz2lgkbdb6m7i3rnemsxumxa/node_modules/@vitejs/plugin-vue/dist/index.mjs
|
|
137
137
|
import fs from "fs";
|
|
138
138
|
import { normalizePath as normalizePath$1, isCSSRequest, transformWithEsbuild, formatPostcssSourceMap, createFilter } from "vite";
|
|
139
139
|
import { shallowRef, computed } from "vue";
|
|
@@ -2734,9 +2734,10 @@ var AutoImportDeps = () => {
|
|
|
2734
2734
|
// src/vite-config/plugin/index.ts
|
|
2735
2735
|
import vueDevTools from "vite-plugin-vue-devtools";
|
|
2736
2736
|
import UnoCSS from "unocss/vite";
|
|
2737
|
-
import { transformerDirectives, transformerVariantGroup } from "unocss";
|
|
2738
2737
|
function createVitePlugins(plugins = [], showDevTools) {
|
|
2739
2738
|
return [
|
|
2739
|
+
// css 原子化
|
|
2740
|
+
UnoCSS(),
|
|
2740
2741
|
// vue 支持
|
|
2741
2742
|
vuePlugin({
|
|
2742
2743
|
template: {
|
|
@@ -2747,15 +2748,6 @@ function createVitePlugins(plugins = [], showDevTools) {
|
|
|
2747
2748
|
}),
|
|
2748
2749
|
// vue 开发者工具
|
|
2749
2750
|
showDevTools && vueDevTools(),
|
|
2750
|
-
// css 原子化
|
|
2751
|
-
UnoCSS({
|
|
2752
|
-
transformers: [
|
|
2753
|
-
transformerDirectives(),
|
|
2754
|
-
// 启用 @apply 指令
|
|
2755
|
-
transformerVariantGroup()
|
|
2756
|
-
// 启用 hover:(bg-blue text-white) 语法
|
|
2757
|
-
]
|
|
2758
|
-
}),
|
|
2759
2751
|
// 自动按需引入依赖
|
|
2760
2752
|
...AutoImportDeps(),
|
|
2761
2753
|
...plugins
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }// src/uno-config/index.ts
|
|
2
|
+
var _unocss = require('unocss');
|
|
3
|
+
function createUnoConfig() {
|
|
4
|
+
return _unocss.defineConfig.call(void 0, {
|
|
5
|
+
presets: [
|
|
6
|
+
_unocss.presetUno.call(void 0, ),
|
|
7
|
+
_unocss.presetAttributify.call(void 0, ),
|
|
8
|
+
_unocss.presetTypography.call(void 0, ),
|
|
9
|
+
_unocss.presetIcons.call(void 0, {
|
|
10
|
+
scale: 1.2,
|
|
11
|
+
warn: true,
|
|
12
|
+
extraProperties: {
|
|
13
|
+
display: "inline-block",
|
|
14
|
+
"vertical-align": "middle"
|
|
15
|
+
},
|
|
16
|
+
collections: {
|
|
17
|
+
"icon-park-solid": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/icon-park-solid.json"))).then((i) => i.default),
|
|
18
|
+
"line-md": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/line-md.json"))).then((i) => i.default),
|
|
19
|
+
proicons: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/proicons.json"))).then((i) => i.default),
|
|
20
|
+
mdi: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/mdi.json"))).then((i) => i.default),
|
|
21
|
+
"pepicons-pop": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/pepicons-pop.json"))).then((i) => i.default),
|
|
22
|
+
ep: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/ep.json"))).then((i) => i.default),
|
|
23
|
+
famicons: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/famicons.json"))).then((i) => i.default),
|
|
24
|
+
picon: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/picon.json"))).then((i) => i.default),
|
|
25
|
+
ic: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/ic.json"))).then((i) => i.default),
|
|
26
|
+
"akar-icons": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/akar-icons.json"))).then((i) => i.default),
|
|
27
|
+
solar: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/solar.json"))).then((i) => i.default),
|
|
28
|
+
bx: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/bx.json"))).then((i) => i.default),
|
|
29
|
+
mingcute: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/mingcute.json"))).then((i) => i.default),
|
|
30
|
+
lucide: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/lucide.json"))).then((i) => i.default),
|
|
31
|
+
"icon-park-outline": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/icon-park-outline.json"))).then((i) => i.default),
|
|
32
|
+
subway: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/subway.json"))).then((i) => i.default),
|
|
33
|
+
mage: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/mage.json"))).then((i) => i.default),
|
|
34
|
+
clarity: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/clarity.json"))).then((i) => i.default),
|
|
35
|
+
cil: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/cil.json"))).then((i) => i.default),
|
|
36
|
+
"lets-icons": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/lets-icons.json"))).then((i) => i.default),
|
|
37
|
+
"eos-icons": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/eos-icons.json"))).then((i) => i.default),
|
|
38
|
+
gridicons: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/gridicons.json"))).then((i) => i.default),
|
|
39
|
+
hugeicons: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/hugeicons.json"))).then((i) => i.default),
|
|
40
|
+
wpf: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/wpf.json"))).then((i) => i.default),
|
|
41
|
+
bi: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/bi.json"))).then((i) => i.default),
|
|
42
|
+
ph: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/ph.json"))).then((i) => i.default),
|
|
43
|
+
ri: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/ri.json"))).then((i) => i.default),
|
|
44
|
+
typcn: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/typcn.json"))).then((i) => i.default),
|
|
45
|
+
fluent: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/fluent.json"))).then((i) => i.default),
|
|
46
|
+
"material-symbols": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/material-symbols.json"))).then((i) => i.default),
|
|
47
|
+
basil: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/basil.json"))).then((i) => i.default),
|
|
48
|
+
carbon: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/carbon.json"))).then((i) => i.default),
|
|
49
|
+
healthicons: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/healthicons.json"))).then((i) => i.default),
|
|
50
|
+
ix: () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/ix.json"))).then((i) => i.default),
|
|
51
|
+
"material-symbols-light": () => Promise.resolve().then(() => _interopRequireWildcard(require("@iconify/json/json/material-symbols-light.json"))).then((i) => i.default)
|
|
52
|
+
}
|
|
53
|
+
})
|
|
54
|
+
],
|
|
55
|
+
shortcuts: [
|
|
56
|
+
{
|
|
57
|
+
"flex-center": "flex items-center justify-center",
|
|
58
|
+
"content-auto": "content-visibility-auto",
|
|
59
|
+
"border-bottom": "border-b border-[#ebeef5] border-b-solid",
|
|
60
|
+
"portal-title": "border-bottom p-x-15px p-y-10px flex items-center justify-between",
|
|
61
|
+
"dashboard-title": "h-30px font-600 line-height-30px ml2 flex-inline",
|
|
62
|
+
"custom-card": "rounded-10px bg-white p10px",
|
|
63
|
+
"custom-border": "border border-solid border-[#E0E0E0]"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
transformers: [
|
|
67
|
+
_unocss.transformerDirectives.call(void 0, ),
|
|
68
|
+
// 启用 @apply 指令
|
|
69
|
+
_unocss.transformerVariantGroup.call(void 0, )
|
|
70
|
+
// 启用 hover:(bg-blue text-white) 语法
|
|
71
|
+
]
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
var uno_config_default = createUnoConfig;
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
exports.createUnoConfig = createUnoConfig; exports.uno_config_default = uno_config_default;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
// src/uno-config/index.ts
|
|
2
|
+
import { defineConfig, presetAttributify, presetIcons, presetTypography, presetUno, transformerDirectives, transformerVariantGroup } from "unocss";
|
|
3
|
+
function createUnoConfig() {
|
|
4
|
+
return defineConfig({
|
|
5
|
+
presets: [
|
|
6
|
+
presetUno(),
|
|
7
|
+
presetAttributify(),
|
|
8
|
+
presetTypography(),
|
|
9
|
+
presetIcons({
|
|
10
|
+
scale: 1.2,
|
|
11
|
+
warn: true,
|
|
12
|
+
extraProperties: {
|
|
13
|
+
display: "inline-block",
|
|
14
|
+
"vertical-align": "middle"
|
|
15
|
+
},
|
|
16
|
+
collections: {
|
|
17
|
+
"icon-park-solid": () => import("@iconify/json/json/icon-park-solid.json").then((i) => i.default),
|
|
18
|
+
"line-md": () => import("@iconify/json/json/line-md.json").then((i) => i.default),
|
|
19
|
+
proicons: () => import("@iconify/json/json/proicons.json").then((i) => i.default),
|
|
20
|
+
mdi: () => import("@iconify/json/json/mdi.json").then((i) => i.default),
|
|
21
|
+
"pepicons-pop": () => import("@iconify/json/json/pepicons-pop.json").then((i) => i.default),
|
|
22
|
+
ep: () => import("@iconify/json/json/ep.json").then((i) => i.default),
|
|
23
|
+
famicons: () => import("@iconify/json/json/famicons.json").then((i) => i.default),
|
|
24
|
+
picon: () => import("@iconify/json/json/picon.json").then((i) => i.default),
|
|
25
|
+
ic: () => import("@iconify/json/json/ic.json").then((i) => i.default),
|
|
26
|
+
"akar-icons": () => import("@iconify/json/json/akar-icons.json").then((i) => i.default),
|
|
27
|
+
solar: () => import("@iconify/json/json/solar.json").then((i) => i.default),
|
|
28
|
+
bx: () => import("@iconify/json/json/bx.json").then((i) => i.default),
|
|
29
|
+
mingcute: () => import("@iconify/json/json/mingcute.json").then((i) => i.default),
|
|
30
|
+
lucide: () => import("@iconify/json/json/lucide.json").then((i) => i.default),
|
|
31
|
+
"icon-park-outline": () => import("@iconify/json/json/icon-park-outline.json").then((i) => i.default),
|
|
32
|
+
subway: () => import("@iconify/json/json/subway.json").then((i) => i.default),
|
|
33
|
+
mage: () => import("@iconify/json/json/mage.json").then((i) => i.default),
|
|
34
|
+
clarity: () => import("@iconify/json/json/clarity.json").then((i) => i.default),
|
|
35
|
+
cil: () => import("@iconify/json/json/cil.json").then((i) => i.default),
|
|
36
|
+
"lets-icons": () => import("@iconify/json/json/lets-icons.json").then((i) => i.default),
|
|
37
|
+
"eos-icons": () => import("@iconify/json/json/eos-icons.json").then((i) => i.default),
|
|
38
|
+
gridicons: () => import("@iconify/json/json/gridicons.json").then((i) => i.default),
|
|
39
|
+
hugeicons: () => import("@iconify/json/json/hugeicons.json").then((i) => i.default),
|
|
40
|
+
wpf: () => import("@iconify/json/json/wpf.json").then((i) => i.default),
|
|
41
|
+
bi: () => import("@iconify/json/json/bi.json").then((i) => i.default),
|
|
42
|
+
ph: () => import("@iconify/json/json/ph.json").then((i) => i.default),
|
|
43
|
+
ri: () => import("@iconify/json/json/ri.json").then((i) => i.default),
|
|
44
|
+
typcn: () => import("@iconify/json/json/typcn.json").then((i) => i.default),
|
|
45
|
+
fluent: () => import("@iconify/json/json/fluent.json").then((i) => i.default),
|
|
46
|
+
"material-symbols": () => import("@iconify/json/json/material-symbols.json").then((i) => i.default),
|
|
47
|
+
basil: () => import("@iconify/json/json/basil.json").then((i) => i.default),
|
|
48
|
+
carbon: () => import("@iconify/json/json/carbon.json").then((i) => i.default),
|
|
49
|
+
healthicons: () => import("@iconify/json/json/healthicons.json").then((i) => i.default),
|
|
50
|
+
ix: () => import("@iconify/json/json/ix.json").then((i) => i.default),
|
|
51
|
+
"material-symbols-light": () => import("@iconify/json/json/material-symbols-light.json").then((i) => i.default)
|
|
52
|
+
}
|
|
53
|
+
})
|
|
54
|
+
],
|
|
55
|
+
shortcuts: [
|
|
56
|
+
{
|
|
57
|
+
"flex-center": "flex items-center justify-center",
|
|
58
|
+
"content-auto": "content-visibility-auto",
|
|
59
|
+
"border-bottom": "border-b border-[#ebeef5] border-b-solid",
|
|
60
|
+
"portal-title": "border-bottom p-x-15px p-y-10px flex items-center justify-between",
|
|
61
|
+
"dashboard-title": "h-30px font-600 line-height-30px ml2 flex-inline",
|
|
62
|
+
"custom-card": "rounded-10px bg-white p10px",
|
|
63
|
+
"custom-border": "border border-solid border-[#E0E0E0]"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
transformers: [
|
|
67
|
+
transformerDirectives(),
|
|
68
|
+
// 启用 @apply 指令
|
|
69
|
+
transformerVariantGroup()
|
|
70
|
+
// 启用 hover:(bg-blue text-white) 语法
|
|
71
|
+
]
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
var uno_config_default = createUnoConfig;
|
|
75
|
+
|
|
76
|
+
export {
|
|
77
|
+
createUnoConfig,
|
|
78
|
+
uno_config_default
|
|
79
|
+
};
|
|
@@ -6324,7 +6324,7 @@ var useCommonStore = defineStore2("common", {
|
|
|
6324
6324
|
return this.systemTitle;
|
|
6325
6325
|
},
|
|
6326
6326
|
getPublicUrl() {
|
|
6327
|
-
return
|
|
6327
|
+
return location.origin;
|
|
6328
6328
|
},
|
|
6329
6329
|
getThemeColor() {
|
|
6330
6330
|
const result = this.themeColor || "#056DB1";
|
|
@@ -6532,6 +6532,7 @@ function setupPermission(router, useMenuStore2, pages = {}, useUserStore) {
|
|
|
6532
6532
|
if (window.microApp) {
|
|
6533
6533
|
const data = window.microApp.getData();
|
|
6534
6534
|
if (data.userState) {
|
|
6535
|
+
data.userState.toPath = to.path;
|
|
6535
6536
|
userStore.setState(data.userState);
|
|
6536
6537
|
}
|
|
6537
6538
|
}
|
|
@@ -6546,7 +6547,7 @@ function setupPermission(router, useMenuStore2, pages = {}, useUserStore) {
|
|
|
6546
6547
|
if (menuStore.getHasGetMenuList) {
|
|
6547
6548
|
await addVersion({ to, next, version });
|
|
6548
6549
|
} else {
|
|
6549
|
-
await menuStore.queryMenuList(router, pages);
|
|
6550
|
+
await menuStore.queryMenuList(router, pages, userStore);
|
|
6550
6551
|
next({ ...to, replace: true });
|
|
6551
6552
|
}
|
|
6552
6553
|
} catch {
|
|
@@ -6803,6 +6804,26 @@ var jsonp = (url, params = {}, options = {}) => {
|
|
|
6803
6804
|
});
|
|
6804
6805
|
};
|
|
6805
6806
|
|
|
6807
|
+
// src/utils/functionalComponent.ts
|
|
6808
|
+
import { createVNode, render } from "vue";
|
|
6809
|
+
function createFunctionalComponent(component, options) {
|
|
6810
|
+
const { slots, ...props } = options;
|
|
6811
|
+
const container = document.createElement("div");
|
|
6812
|
+
const vnode = createVNode(component, props, slots);
|
|
6813
|
+
render(vnode, container);
|
|
6814
|
+
document.body.appendChild(container.firstElementChild);
|
|
6815
|
+
const instance = vnode.component?.exposed || {};
|
|
6816
|
+
instance.destroy = (delay = 300) => {
|
|
6817
|
+
setTimeout(() => {
|
|
6818
|
+
render(null, container);
|
|
6819
|
+
if (container.firstElementChild) {
|
|
6820
|
+
document.body.removeChild(container.firstElementChild);
|
|
6821
|
+
}
|
|
6822
|
+
}, delay);
|
|
6823
|
+
};
|
|
6824
|
+
return instance;
|
|
6825
|
+
}
|
|
6826
|
+
|
|
6806
6827
|
// src/stores/modules/menuStore.ts
|
|
6807
6828
|
var handleRoutes = (routes, pages) => {
|
|
6808
6829
|
return routes.map((route) => {
|
|
@@ -6907,7 +6928,8 @@ export {
|
|
|
6907
6928
|
timeFix,
|
|
6908
6929
|
welcome,
|
|
6909
6930
|
encryptPwd,
|
|
6910
|
-
jsonp
|
|
6931
|
+
jsonp,
|
|
6932
|
+
createFunctionalComponent
|
|
6911
6933
|
};
|
|
6912
6934
|
/*! Bundled license information:
|
|
6913
6935
|
|
|
@@ -6324,7 +6324,7 @@ var useCommonStore = _pinia.defineStore.call(void 0, "common", {
|
|
|
6324
6324
|
return this.systemTitle;
|
|
6325
6325
|
},
|
|
6326
6326
|
getPublicUrl() {
|
|
6327
|
-
return
|
|
6327
|
+
return location.origin;
|
|
6328
6328
|
},
|
|
6329
6329
|
getThemeColor() {
|
|
6330
6330
|
const result = this.themeColor || "#056DB1";
|
|
@@ -6532,6 +6532,7 @@ function setupPermission(router, useMenuStore2, pages = {}, useUserStore) {
|
|
|
6532
6532
|
if (window.microApp) {
|
|
6533
6533
|
const data = window.microApp.getData();
|
|
6534
6534
|
if (data.userState) {
|
|
6535
|
+
data.userState.toPath = to.path;
|
|
6535
6536
|
userStore.setState(data.userState);
|
|
6536
6537
|
}
|
|
6537
6538
|
}
|
|
@@ -6546,7 +6547,7 @@ function setupPermission(router, useMenuStore2, pages = {}, useUserStore) {
|
|
|
6546
6547
|
if (menuStore.getHasGetMenuList) {
|
|
6547
6548
|
await addVersion({ to, next, version });
|
|
6548
6549
|
} else {
|
|
6549
|
-
await menuStore.queryMenuList(router, pages);
|
|
6550
|
+
await menuStore.queryMenuList(router, pages, userStore);
|
|
6550
6551
|
next({ ...to, replace: true });
|
|
6551
6552
|
}
|
|
6552
6553
|
} catch (e3) {
|
|
@@ -6803,6 +6804,26 @@ var jsonp = (url, params = {}, options = {}) => {
|
|
|
6803
6804
|
});
|
|
6804
6805
|
};
|
|
6805
6806
|
|
|
6807
|
+
// src/utils/functionalComponent.ts
|
|
6808
|
+
|
|
6809
|
+
function createFunctionalComponent(component, options) {
|
|
6810
|
+
const { slots, ...props } = options;
|
|
6811
|
+
const container = document.createElement("div");
|
|
6812
|
+
const vnode = _vue.createVNode.call(void 0, component, props, slots);
|
|
6813
|
+
_vue.render.call(void 0, vnode, container);
|
|
6814
|
+
document.body.appendChild(container.firstElementChild);
|
|
6815
|
+
const instance = _optionalChain([vnode, 'access', _12 => _12.component, 'optionalAccess', _13 => _13.exposed]) || {};
|
|
6816
|
+
instance.destroy = (delay = 300) => {
|
|
6817
|
+
setTimeout(() => {
|
|
6818
|
+
_vue.render.call(void 0, null, container);
|
|
6819
|
+
if (container.firstElementChild) {
|
|
6820
|
+
document.body.removeChild(container.firstElementChild);
|
|
6821
|
+
}
|
|
6822
|
+
}, delay);
|
|
6823
|
+
};
|
|
6824
|
+
return instance;
|
|
6825
|
+
}
|
|
6826
|
+
|
|
6806
6827
|
// src/stores/modules/menuStore.ts
|
|
6807
6828
|
var handleRoutes = (routes, pages) => {
|
|
6808
6829
|
return routes.map((route) => {
|
|
@@ -6908,7 +6929,8 @@ function store(app, option = {}) {
|
|
|
6908
6929
|
|
|
6909
6930
|
|
|
6910
6931
|
|
|
6911
|
-
|
|
6932
|
+
|
|
6933
|
+
exports.useDbStore = useDbStore; exports.useCommonStore = useCommonStore; exports.useMenuStore = useMenuStore; exports.store = store; exports.request = request; exports.useLoginHook = useLoginHook; exports.updateDocumentTitle = updateDocumentTitle; exports.filterMenu = filterMenu; exports.setupPermission = setupPermission; exports.listSort = listSort; exports.duplicateRemovalCompleteSort = duplicateRemovalCompleteSort; exports.roundOrTruncate = roundOrTruncate; exports.formatNumber = formatNumber; exports.parseFormattedNumber = parseFormattedNumber; exports.padZero = padZero; exports.getIntegerPart = getIntegerPart; exports.getDecimalPart = getDecimalPart; exports.numberToChinese = numberToChinese; exports.clamp = clamp; exports.isInteger = isInteger; exports.isNumber = isNumber; exports.prototypeInterceptor = prototypeInterceptor; exports.timeFix = timeFix; exports.welcome = welcome; exports.encryptPwd = encryptPwd; exports.jsonp = jsonp; exports.createFunctionalComponent = createFunctionalComponent;
|
|
6912
6934
|
/*! Bundled license information:
|
|
6913
6935
|
|
|
6914
6936
|
lodash/lodash.js:
|
|
@@ -133,7 +133,7 @@ var require_supports_color = _chunkQGM4M3NIjs.__commonJS.call(void 0, {
|
|
|
133
133
|
// src/vite-config/index.ts
|
|
134
134
|
var _vite = require('vite');
|
|
135
135
|
|
|
136
|
-
// ../node_modules/.pnpm/@vitejs+plugin-vue@5.2.4_vite@6.4.1_@types+node@22.19.1_jiti@2.6.1_less@4.4.
|
|
136
|
+
// ../node_modules/.pnpm/@vitejs+plugin-vue@5.2.4_vite@6.4.1_@types+node@22.19.1_jiti@2.6.1_less@4.4.2_lightningcss@1._stoz2lgkbdb6m7i3rnemsxumxa/node_modules/@vitejs/plugin-vue/dist/index.mjs
|
|
137
137
|
var _fs = require('fs'); var _fs2 = _interopRequireDefault(_fs);
|
|
138
138
|
|
|
139
139
|
var _vue = require('vue');
|
|
@@ -2734,9 +2734,10 @@ var AutoImportDeps = () => {
|
|
|
2734
2734
|
// src/vite-config/plugin/index.ts
|
|
2735
2735
|
var _vitepluginvuedevtools = require('vite-plugin-vue-devtools'); var _vitepluginvuedevtools2 = _interopRequireDefault(_vitepluginvuedevtools);
|
|
2736
2736
|
var _vite7 = require('unocss/vite'); var _vite8 = _interopRequireDefault(_vite7);
|
|
2737
|
-
var _unocss = require('unocss');
|
|
2738
2737
|
function createVitePlugins(plugins = [], showDevTools) {
|
|
2739
2738
|
return [
|
|
2739
|
+
// css 原子化
|
|
2740
|
+
_vite8.default.call(void 0, ),
|
|
2740
2741
|
// vue 支持
|
|
2741
2742
|
vuePlugin({
|
|
2742
2743
|
template: {
|
|
@@ -2747,15 +2748,6 @@ function createVitePlugins(plugins = [], showDevTools) {
|
|
|
2747
2748
|
}),
|
|
2748
2749
|
// vue 开发者工具
|
|
2749
2750
|
showDevTools && _vitepluginvuedevtools2.default.call(void 0, ),
|
|
2750
|
-
// css 原子化
|
|
2751
|
-
_vite8.default.call(void 0, {
|
|
2752
|
-
transformers: [
|
|
2753
|
-
_unocss.transformerDirectives.call(void 0, ),
|
|
2754
|
-
// 启用 @apply 指令
|
|
2755
|
-
_unocss.transformerVariantGroup.call(void 0, )
|
|
2756
|
-
// 启用 hover:(bg-blue text-white) 语法
|
|
2757
|
-
]
|
|
2758
|
-
}),
|
|
2759
2751
|
// 自动按需引入依赖
|
|
2760
2752
|
...AutoImportDeps(),
|
|
2761
2753
|
...plugins
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { FormState, clamp, curlParams, duplicateRemovalCompleteSort, encryptPwd, formatNumber, getDecimalPart, getIntegerPart, isInteger, isNumber, jsonp, listSort, numberToChinese, padZero, parseFormattedNumber, prototypeInterceptor, request, roundOrTruncate, setupPermission, timeFix, useLoginHook, welcome } from './utils/index.mjs';
|
|
1
|
+
export { FormState, clamp, createFunctionalComponent, curlParams, duplicateRemovalCompleteSort, encryptPwd, formatNumber, getDecimalPart, getIntegerPart, isInteger, isNumber, jsonp, listSort, numberToChinese, padZero, parseFormattedNumber, prototypeInterceptor, request, roundOrTruncate, setupPermission, timeFix, useLoginHook, welcome } from './utils/index.mjs';
|
|
2
2
|
export { M as MenuItem, f as filterMenu, u as updateDocumentTitle } from './index-CVmrbYyU.mjs';
|
|
3
3
|
export { createBaseViteConfig } from './vite-config/index.mjs';
|
|
4
4
|
export { MenuState, store, useCommonStore, useDbStore, useMenuStore } from './stores/index.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { FormState, clamp, curlParams, duplicateRemovalCompleteSort, encryptPwd, formatNumber, getDecimalPart, getIntegerPart, isInteger, isNumber, jsonp, listSort, numberToChinese, padZero, parseFormattedNumber, prototypeInterceptor, request, roundOrTruncate, setupPermission, timeFix, useLoginHook, welcome } from './utils/index.js';
|
|
1
|
+
export { FormState, clamp, createFunctionalComponent, curlParams, duplicateRemovalCompleteSort, encryptPwd, formatNumber, getDecimalPart, getIntegerPart, isInteger, isNumber, jsonp, listSort, numberToChinese, padZero, parseFormattedNumber, prototypeInterceptor, request, roundOrTruncate, setupPermission, timeFix, useLoginHook, welcome } from './utils/index.js';
|
|
2
2
|
export { M as MenuItem, f as filterMenu, u as updateDocumentTitle } from './index-CVmrbYyU.js';
|
|
3
3
|
export { createBaseViteConfig } from './vite-config/index.js';
|
|
4
4
|
export { MenuState, store, useCommonStore, useDbStore, useMenuStore } from './stores/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkCUXFXKGWjs = require('./chunk-CUXFXKGW.js');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
@@ -28,10 +28,11 @@ var _chunkMXO66M74js = require('./chunk-MXO66M74.js');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
var _chunkNMW6V27Tjs = require('./chunk-NMW6V27T.js');
|
|
32
31
|
|
|
32
|
+
var _chunkRLGKFHYXjs = require('./chunk-RLGKFHYX.js');
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
|
|
35
|
+
var _chunkTJ475X6Hjs = require('./chunk-TJ475X6H.js');
|
|
35
36
|
require('./chunk-QGM4M3NI.js');
|
|
36
37
|
|
|
37
38
|
|
|
@@ -62,4 +63,5 @@ require('./chunk-QGM4M3NI.js');
|
|
|
62
63
|
|
|
63
64
|
|
|
64
65
|
|
|
65
|
-
|
|
66
|
+
|
|
67
|
+
exports.clamp = _chunkRLGKFHYXjs.clamp; exports.createBaseViteConfig = _chunkTJ475X6Hjs.createBaseViteConfig; exports.createFunctionalComponent = _chunkRLGKFHYXjs.createFunctionalComponent; exports.createUnoConfig = _chunkCUXFXKGWjs.createUnoConfig; exports.duplicateRemovalCompleteSort = _chunkRLGKFHYXjs.duplicateRemovalCompleteSort; exports.encryptPwd = _chunkRLGKFHYXjs.encryptPwd; exports.filterMenu = _chunkRLGKFHYXjs.filterMenu; exports.formatNumber = _chunkRLGKFHYXjs.formatNumber; exports.getDecimalPart = _chunkRLGKFHYXjs.getDecimalPart; exports.getIntegerPart = _chunkRLGKFHYXjs.getIntegerPart; exports.isInteger = _chunkRLGKFHYXjs.isInteger; exports.isNumber = _chunkRLGKFHYXjs.isNumber; exports.jsonp = _chunkRLGKFHYXjs.jsonp; exports.listSort = _chunkRLGKFHYXjs.listSort; exports.numberToChinese = _chunkRLGKFHYXjs.numberToChinese; exports.padZero = _chunkRLGKFHYXjs.padZero; exports.parseFormattedNumber = _chunkRLGKFHYXjs.parseFormattedNumber; exports.prototypeInterceptor = _chunkRLGKFHYXjs.prototypeInterceptor; exports.request = _chunkRLGKFHYXjs.request; exports.roundOrTruncate = _chunkRLGKFHYXjs.roundOrTruncate; exports.setupPermission = _chunkRLGKFHYXjs.setupPermission; exports.store = _chunkRLGKFHYXjs.store; exports.timeFix = _chunkRLGKFHYXjs.timeFix; exports.updateDocumentTitle = _chunkRLGKFHYXjs.updateDocumentTitle; exports.useCommonStore = _chunkRLGKFHYXjs.useCommonStore; exports.useDbStore = _chunkRLGKFHYXjs.useDbStore; exports.useLoginHook = _chunkRLGKFHYXjs.useLoginHook; exports.useMenuStore = _chunkRLGKFHYXjs.useMenuStore; exports.welcome = _chunkRLGKFHYXjs.welcome;
|
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createUnoConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ESXS2BQB.mjs";
|
|
4
4
|
import {
|
|
5
5
|
clamp,
|
|
6
|
+
createFunctionalComponent,
|
|
6
7
|
duplicateRemovalCompleteSort,
|
|
7
8
|
encryptPwd,
|
|
8
9
|
filterMenu,
|
|
@@ -28,14 +29,15 @@ import {
|
|
|
28
29
|
useLoginHook,
|
|
29
30
|
useMenuStore,
|
|
30
31
|
welcome
|
|
31
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-NYKVFN6V.mjs";
|
|
32
33
|
import {
|
|
33
34
|
createBaseViteConfig
|
|
34
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-AZ4N2JGX.mjs";
|
|
35
36
|
import "./chunk-6DZX6EAA.mjs";
|
|
36
37
|
export {
|
|
37
38
|
clamp,
|
|
38
39
|
createBaseViteConfig,
|
|
40
|
+
createFunctionalComponent,
|
|
39
41
|
createUnoConfig,
|
|
40
42
|
duplicateRemovalCompleteSort,
|
|
41
43
|
encryptPwd,
|
package/dist/stores/index.js
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkRLGKFHYXjs = require('../chunk-RLGKFHYX.js');
|
|
7
7
|
require('../chunk-QGM4M3NI.js');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.store =
|
|
13
|
+
exports.store = _chunkRLGKFHYXjs.store; exports.useCommonStore = _chunkRLGKFHYXjs.useCommonStore; exports.useDbStore = _chunkRLGKFHYXjs.useDbStore; exports.useMenuStore = _chunkRLGKFHYXjs.useMenuStore;
|
package/dist/stores/index.mjs
CHANGED
package/dist/uno-config/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkCUXFXKGWjs = require('../chunk-CUXFXKGW.js');
|
|
5
5
|
require('../chunk-QGM4M3NI.js');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
exports.createUnoConfig =
|
|
9
|
+
exports.createUnoConfig = _chunkCUXFXKGWjs.createUnoConfig; exports.default = _chunkCUXFXKGWjs.uno_config_default;
|
package/dist/utils/index.d.mts
CHANGED
|
@@ -156,4 +156,12 @@ declare const jsonp: <T = any>(url: string, params?: Record<string, any>, option
|
|
|
156
156
|
timeout?: number;
|
|
157
157
|
}) => Promise<T>;
|
|
158
158
|
|
|
159
|
-
|
|
159
|
+
/**
|
|
160
|
+
* @description 创建函数式组件实例,支持动态挂载和销毁
|
|
161
|
+
* @param component 需要创建的Vue组件
|
|
162
|
+
* @param options 组件的配置项,包含props、provide和slots
|
|
163
|
+
* @returns 返回组件实例,包含destroy方法用于销毁组件
|
|
164
|
+
*/
|
|
165
|
+
declare function createFunctionalComponent(component: any, options: Record<string, any>): Record<string, any>;
|
|
166
|
+
|
|
167
|
+
export { type FormState, clamp, createFunctionalComponent, type curlParams, duplicateRemovalCompleteSort, encryptPwd, formatNumber, getDecimalPart, getIntegerPart, isInteger, isNumber, jsonp, listSort, numberToChinese, padZero, parseFormattedNumber, prototypeInterceptor, request, roundOrTruncate, setupPermission, timeFix, useLoginHook, welcome };
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -156,4 +156,12 @@ declare const jsonp: <T = any>(url: string, params?: Record<string, any>, option
|
|
|
156
156
|
timeout?: number;
|
|
157
157
|
}) => Promise<T>;
|
|
158
158
|
|
|
159
|
-
|
|
159
|
+
/**
|
|
160
|
+
* @description 创建函数式组件实例,支持动态挂载和销毁
|
|
161
|
+
* @param component 需要创建的Vue组件
|
|
162
|
+
* @param options 组件的配置项,包含props、provide和slots
|
|
163
|
+
* @returns 返回组件实例,包含destroy方法用于销毁组件
|
|
164
|
+
*/
|
|
165
|
+
declare function createFunctionalComponent(component: any, options: Record<string, any>): Record<string, any>;
|
|
166
|
+
|
|
167
|
+
export { type FormState, clamp, createFunctionalComponent, type curlParams, duplicateRemovalCompleteSort, encryptPwd, formatNumber, getDecimalPart, getIntegerPart, isInteger, isNumber, jsonp, listSort, numberToChinese, padZero, parseFormattedNumber, prototypeInterceptor, request, roundOrTruncate, setupPermission, timeFix, useLoginHook, welcome };
|
package/dist/utils/index.js
CHANGED
|
@@ -21,7 +21,8 @@
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
|
|
25
|
+
var _chunkRLGKFHYXjs = require('../chunk-RLGKFHYX.js');
|
|
25
26
|
require('../chunk-QGM4M3NI.js');
|
|
26
27
|
|
|
27
28
|
|
|
@@ -46,4 +47,5 @@ require('../chunk-QGM4M3NI.js');
|
|
|
46
47
|
|
|
47
48
|
|
|
48
49
|
|
|
49
|
-
|
|
50
|
+
|
|
51
|
+
exports.clamp = _chunkRLGKFHYXjs.clamp; exports.createFunctionalComponent = _chunkRLGKFHYXjs.createFunctionalComponent; exports.duplicateRemovalCompleteSort = _chunkRLGKFHYXjs.duplicateRemovalCompleteSort; exports.encryptPwd = _chunkRLGKFHYXjs.encryptPwd; exports.filterMenu = _chunkRLGKFHYXjs.filterMenu; exports.formatNumber = _chunkRLGKFHYXjs.formatNumber; exports.getDecimalPart = _chunkRLGKFHYXjs.getDecimalPart; exports.getIntegerPart = _chunkRLGKFHYXjs.getIntegerPart; exports.isInteger = _chunkRLGKFHYXjs.isInteger; exports.isNumber = _chunkRLGKFHYXjs.isNumber; exports.jsonp = _chunkRLGKFHYXjs.jsonp; exports.listSort = _chunkRLGKFHYXjs.listSort; exports.numberToChinese = _chunkRLGKFHYXjs.numberToChinese; exports.padZero = _chunkRLGKFHYXjs.padZero; exports.parseFormattedNumber = _chunkRLGKFHYXjs.parseFormattedNumber; exports.prototypeInterceptor = _chunkRLGKFHYXjs.prototypeInterceptor; exports.request = _chunkRLGKFHYXjs.request; exports.roundOrTruncate = _chunkRLGKFHYXjs.roundOrTruncate; exports.setupPermission = _chunkRLGKFHYXjs.setupPermission; exports.timeFix = _chunkRLGKFHYXjs.timeFix; exports.updateDocumentTitle = _chunkRLGKFHYXjs.updateDocumentTitle; exports.useLoginHook = _chunkRLGKFHYXjs.useLoginHook; exports.welcome = _chunkRLGKFHYXjs.welcome;
|
package/dist/utils/index.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clamp,
|
|
3
|
+
createFunctionalComponent,
|
|
3
4
|
duplicateRemovalCompleteSort,
|
|
4
5
|
encryptPwd,
|
|
5
6
|
filterMenu,
|
|
@@ -21,10 +22,11 @@ import {
|
|
|
21
22
|
updateDocumentTitle,
|
|
22
23
|
useLoginHook,
|
|
23
24
|
welcome
|
|
24
|
-
} from "../chunk-
|
|
25
|
+
} from "../chunk-NYKVFN6V.mjs";
|
|
25
26
|
import "../chunk-6DZX6EAA.mjs";
|
|
26
27
|
export {
|
|
27
28
|
clamp,
|
|
29
|
+
createFunctionalComponent,
|
|
28
30
|
duplicateRemovalCompleteSort,
|
|
29
31
|
encryptPwd,
|
|
30
32
|
filterMenu,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkTJ475X6Hjs = require('../chunk-TJ475X6H.js');
|
|
4
4
|
require('../chunk-QGM4M3NI.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.createBaseViteConfig =
|
|
7
|
+
exports.createBaseViteConfig = _chunkTJ475X6Hjs.createBaseViteConfig;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.3",
|
|
7
7
|
"description": "共享工具库和类型定义",
|
|
8
8
|
"author": "ebuilds",
|
|
9
9
|
"license": "MIT",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"dev": "tsup --config tsup.config.ts --watch",
|
|
65
65
|
"lint": "eslint --quiet \"src/**/*.{ts,tsx}\"",
|
|
66
66
|
"lint:fix": "eslint --quiet \"src/**/*.{ts,tsx}\" --fix",
|
|
67
|
-
"pub": "
|
|
67
|
+
"pub": "npm publish"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"pinia": "3.0.1"
|
package/dist/chunk-MXO66M74.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/uno-config/index.ts
|
|
2
|
-
var _unocss = require('unocss');
|
|
3
|
-
function createUnoConfig() {
|
|
4
|
-
return _unocss.defineConfig.call(void 0, {
|
|
5
|
-
presets: [
|
|
6
|
-
_unocss.presetUno.call(void 0, ),
|
|
7
|
-
_unocss.presetAttributify.call(void 0, ),
|
|
8
|
-
_unocss.presetTypography.call(void 0, ),
|
|
9
|
-
_unocss.presetIcons.call(void 0, {
|
|
10
|
-
scale: 1.2,
|
|
11
|
-
warn: true,
|
|
12
|
-
extraProperties: {
|
|
13
|
-
display: "inline-block",
|
|
14
|
-
"vertical-align": "middle"
|
|
15
|
-
}
|
|
16
|
-
})
|
|
17
|
-
],
|
|
18
|
-
shortcuts: [
|
|
19
|
-
{
|
|
20
|
-
"flex-center": "flex items-center justify-center",
|
|
21
|
-
"content-auto": "content-visibility-auto",
|
|
22
|
-
"border-bottom": "border-b border-[#ebeef5] border-b-solid",
|
|
23
|
-
"portal-title": "border-bottom p-x-15px p-y-10px flex items-center justify-between",
|
|
24
|
-
"dashboard-title": "h-30px font-600 line-height-30px ml2 flex-inline",
|
|
25
|
-
"custom-card": "rounded-10px bg-white p10px",
|
|
26
|
-
"custom-border": "border border-solid border-[#E0E0E0]"
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
var uno_config_default = createUnoConfig;
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
exports.createUnoConfig = createUnoConfig; exports.uno_config_default = uno_config_default;
|
package/dist/chunk-OW2EL2VY.mjs
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
// src/uno-config/index.ts
|
|
2
|
-
import { defineConfig, presetAttributify, presetIcons, presetTypography, presetUno } from "unocss";
|
|
3
|
-
function createUnoConfig() {
|
|
4
|
-
return defineConfig({
|
|
5
|
-
presets: [
|
|
6
|
-
presetUno(),
|
|
7
|
-
presetAttributify(),
|
|
8
|
-
presetTypography(),
|
|
9
|
-
presetIcons({
|
|
10
|
-
scale: 1.2,
|
|
11
|
-
warn: true,
|
|
12
|
-
extraProperties: {
|
|
13
|
-
display: "inline-block",
|
|
14
|
-
"vertical-align": "middle"
|
|
15
|
-
}
|
|
16
|
-
})
|
|
17
|
-
],
|
|
18
|
-
shortcuts: [
|
|
19
|
-
{
|
|
20
|
-
"flex-center": "flex items-center justify-center",
|
|
21
|
-
"content-auto": "content-visibility-auto",
|
|
22
|
-
"border-bottom": "border-b border-[#ebeef5] border-b-solid",
|
|
23
|
-
"portal-title": "border-bottom p-x-15px p-y-10px flex items-center justify-between",
|
|
24
|
-
"dashboard-title": "h-30px font-600 line-height-30px ml2 flex-inline",
|
|
25
|
-
"custom-card": "rounded-10px bg-white p10px",
|
|
26
|
-
"custom-border": "border border-solid border-[#E0E0E0]"
|
|
27
|
-
}
|
|
28
|
-
]
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
var uno_config_default = createUnoConfig;
|
|
32
|
-
|
|
33
|
-
export {
|
|
34
|
-
createUnoConfig,
|
|
35
|
-
uno_config_default
|
|
36
|
-
};
|