@chenzoho/ldt-vue-config
Version:
ldt-vue-config
92 lines (91 loc) • 2.33 kB
JavaScript
var c = /* @__PURE__ */ ((e) => (e.ZOOM_FADE = "zoom-fade", e.ZOOM_OUT = "zoom-out", e.FADE_SIDE = "fade-slide", e.FADE = "fade", e.FADE_BOTTOM = "fade-bottom", e.FADE_SCALE = "fade-scale", e))(c || {});
const b = [
"zoom-fade",
"fade",
"zoom-out",
"fade-slide",
"fade-bottom",
"fade-scale"
/* FADE_SCALE */
].map((e) => ({
label: e,
value: e
})), T = {
enable: !0,
basicTransition: "fade-bottom",
showPageLoding: !0,
showPageProgress: !0
}, t = "ldt";
var A = /* @__PURE__ */ ((e) => (e.AUOT = "auto", e.DARK = "dark", e.LIGHT = "light", e))(A || {});
const I = {
/** 默认主题颜色 */
default: "#1677ff",
/** 绿色 */
green: "#00b96b",
/** 大气红 */
red: "#c30d23",
/** 热卖红 */
hotRed: "#ff4d4d",
/** 活力橙 */
orange: "#ff6701",
/** 优雅金 */
gold: "#d2be8f",
/** 雅致绿 */
lightGreen: "#6bbec1",
/** 人气紫 */
purple: "#7c5dfe",
/** 办公蓝 */
officeBlue: "#5798db",
/** 高亮蓝 */
deepBlue: "#027aff",
/** 懂微蓝 */
origin: "#3b4a56",
/** 高级黑 */
black: "#4c4747"
}, G = {
themeName: "default",
themeColor: I.default,
namespace: t,
theme: "auto"
/* AUOT */
}, g = () => {
const e = window[t], {
VITE_GLOB_APP_THEME: _,
VITE_GLOB_APP_TITLE: a,
VITE_GLOB_APP_KEYWORDS: d,
VITE_GLOB_APP_DESCRIPTION: r,
VITE_GLOB_API_URL: l,
VITE_GLOB_APP_EN_NAME: o,
VITE_GLOB_FILE_URL: O,
VITE_GLOB_APP_LOGO: f,
VITE_GLOB_APP_FAV: s,
VITE_GLOB_APP_SYSTEM: P,
VITE_GLOB_APP_PLATFORM: n,
VITE_GLOB_APP_SITEID: E
} = e;
return /[a-zA-Z\_]*/.test(o) || console.log("VITE_GLOB_APP_SHORT_NAME Variables can only be characters/underscores, please modify in the environment variables and re-running."), {
VITE_GLOB_APP_THEME: _,
VITE_GLOB_APP_TITLE: a,
VITE_GLOB_APP_KEYWORDS: d,
VITE_GLOB_APP_DESCRIPTION: r,
VITE_GLOB_APP_LOGO: f,
VITE_GLOB_APP_FAV: s,
VITE_GLOB_API_URL: l,
VITE_GLOB_APP_EN_NAME: o,
VITE_GLOB_FILE_URL: O,
VITE_GLOB_APP_SYSTEM: P,
VITE_GLOB_APP_PLATFORM: n,
VITE_GLOB_APP_SITEID: E
};
};
export {
A as ThemeEnum,
c as TransitionEnum,
I as colorOptions,
t as namespace,
G as themeSetting,
b as transitionOptions,
T as transitionSetting,
g as useGlobEnv
};
//# sourceMappingURL=index.mjs.map