394 lines
24 KiB
JavaScript
394 lines
24 KiB
JavaScript
import { b as index$2 } from "./_chunks/@layui/index.js";
|
|
export { l as layer } from "./_chunks/@layui/index.js";
|
|
import { u as useI18n, i as i18n, c as component$1a } from "./datePicker/index2.js";
|
|
export { c as LayDatePicker, u as useI18n } from "./datePicker/index2.js";
|
|
import component$7 from "./backTop/index.js";
|
|
export { default as LayBacktop } from "./backTop/index.js";
|
|
import component$C from "./avatar/index.js";
|
|
export { default as LayAvatar } from "./avatar/index.js";
|
|
import component$D from "./avatarList/index.js";
|
|
export { default as LayAvatarList } from "./avatarList/index.js";
|
|
import { c as component$3 } from "./radio/index2.js";
|
|
export { c as LayRadio } from "./radio/index2.js";
|
|
import component$4 from "./radioGroup/index.js";
|
|
export { default as LayRadioGroup } from "./radioGroup/index.js";
|
|
import { c as component$5 } from "./button/index2.js";
|
|
export { c as LayButton } from "./button/index2.js";
|
|
import component$i from "./buttonContainer/index.js";
|
|
export { default as LayButtonContainer } from "./buttonContainer/index.js";
|
|
import component$h from "./buttonGroup/index.js";
|
|
export { default as LayButtonGroup } from "./buttonGroup/index.js";
|
|
import component$6 from "./icon/index.js";
|
|
export { default as LayIcon } from "./icon/index.js";
|
|
import component$R from "./iconPicker/index.js";
|
|
export { default as LayIconPicker } from "./iconPicker/index.js";
|
|
import component$f from "./card/index.js";
|
|
export { default as LayCard } from "./card/index.js";
|
|
import component$8 from "./layout/index.js";
|
|
export { default as LayLayout } from "./layout/index.js";
|
|
import component$9 from "./side/index.js";
|
|
export { default as LaySide } from "./side/index.js";
|
|
import component$b from "./body/index.js";
|
|
export { default as LayBody } from "./body/index.js";
|
|
import { c as component$a } from "./header/index2.js";
|
|
export { c as LayHeader } from "./header/index2.js";
|
|
import { c as component$c } from "./footer/index2.js";
|
|
export { c as LayFooter } from "./footer/index2.js";
|
|
import component$d from "./logo/index.js";
|
|
export { default as LayLogo } from "./logo/index.js";
|
|
import component$e from "./panel/index.js";
|
|
export { default as LayPanel } from "./panel/index.js";
|
|
import component$g from "./progress/index.js";
|
|
export { default as LayProgress } from "./progress/index.js";
|
|
import component$k from "./col/index.js";
|
|
export { default as LayCol } from "./col/index.js";
|
|
import component$j from "./row/index.js";
|
|
export { default as LayRow } from "./row/index.js";
|
|
import { c as component$l } from "./input/index2.js";
|
|
export { c as LayInput } from "./input/index2.js";
|
|
import { w as withInstall, d as component$m } from "./badge/index2.js";
|
|
export { d as LayBadge } from "./badge/index2.js";
|
|
import component$n from "./quote/index.js";
|
|
export { default as LayQuote } from "./quote/index.js";
|
|
import component$o from "./line/index.js";
|
|
export { default as LayLine } from "./line/index.js";
|
|
import component$p from "./timeline/index.js";
|
|
export { default as LayTimeline } from "./timeline/index.js";
|
|
import component$q from "./timelineItem/index.js";
|
|
export { default as LayTimelineItem } from "./timelineItem/index.js";
|
|
import component$r from "./textarea/index.js";
|
|
export { default as LayTextarea } from "./textarea/index.js";
|
|
import component$s from "./switch/index.js";
|
|
export { default as LaySwitch } from "./switch/index.js";
|
|
import component$t from "./collapse/index.js";
|
|
export { default as LayCollapse } from "./collapse/index.js";
|
|
import component$u from "./collapseItem/index.js";
|
|
export { default as LayCollapseItem } from "./collapseItem/index.js";
|
|
import component$v from "./container/index.js";
|
|
export { default as LayContainer } from "./container/index.js";
|
|
import component$13 from "./countUp/index.js";
|
|
export { default as LayCountUp } from "./countUp/index.js";
|
|
import component$w from "./menu/index.js";
|
|
export { default as LayMenu } from "./menu/index.js";
|
|
import component$x from "./menuItem/index.js";
|
|
export { default as LayMenuItem } from "./menuItem/index.js";
|
|
import { c as component$y } from "./checkbox/index2.js";
|
|
export { c as LayCheckbox } from "./checkbox/index2.js";
|
|
import component$W from "./checkboxGroup/index.js";
|
|
export { default as LayCheckboxGroup } from "./checkboxGroup/index.js";
|
|
import component$z from "./form/index.js";
|
|
export { default as LayForm } from "./form/index.js";
|
|
import component$A from "./breadcrumb/index.js";
|
|
export { default as LayBreadcrumb } from "./breadcrumb/index.js";
|
|
import component$B from "./breadcrumbItem/index.js";
|
|
export { default as LayBreadcrumbItem } from "./breadcrumbItem/index.js";
|
|
import component$E from "./field/index.js";
|
|
export { default as LayField } from "./field/index.js";
|
|
import component$F from "./select/index.js";
|
|
export { default as LaySelect } from "./select/index.js";
|
|
import { c as component$H } from "./selectOption/index2.js";
|
|
export { c as LaySelectOption } from "./selectOption/index2.js";
|
|
import { c as component$G } from "./scroll/index2.js";
|
|
export { c as LayScroll } from "./scroll/index2.js";
|
|
import { c as component$I } from "./empty/index2.js";
|
|
export { c as LayEmpty } from "./empty/index2.js";
|
|
import component$J from "./formItem/index.js";
|
|
export { default as LayFormItem } from "./formItem/index.js";
|
|
import component$K from "./rate/index.js";
|
|
export { default as LayRate } from "./rate/index.js";
|
|
import { c as component$L } from "./dropdown/index2.js";
|
|
export { c as LayDropdown } from "./dropdown/index2.js";
|
|
import { c as component$M } from "./dropdownMenu/index2.js";
|
|
export { c as LayDropdownMenu } from "./dropdownMenu/index2.js";
|
|
import { c as component$N } from "./dropdownMenuItem/index2.js";
|
|
export { c as LayDropdownMenuItem } from "./dropdownMenuItem/index2.js";
|
|
import component$O from "./dropdownSubMenu/index.js";
|
|
export { default as LayDropdownSubMenu } from "./dropdownSubMenu/index.js";
|
|
import component$P from "./tab/index.js";
|
|
export { default as LayTab } from "./tab/index.js";
|
|
import { c as component$Q } from "./tabItem/index2.js";
|
|
export { c as LayTabItem } from "./tabItem/index2.js";
|
|
import component$S from "./tree/index.js";
|
|
export { default as LayTree } from "./tree/index.js";
|
|
import component$1l from "./treeSelect/index.js";
|
|
export { default as LayTreeSelect } from "./treeSelect/index.js";
|
|
import component$T from "./table/index.js";
|
|
export { default as LayTable } from "./table/index.js";
|
|
import { c as component$U } from "./page/index2.js";
|
|
export { c as LayPage } from "./page/index2.js";
|
|
import component$V from "./transfer/index.js";
|
|
export { default as LayTransfer } from "./transfer/index.js";
|
|
import component$X from "./slider/index.js";
|
|
export { default as LaySlider } from "./slider/index.js";
|
|
import { c as component$Y } from "./carousel/index2.js";
|
|
export { c as LayCarousel } from "./carousel/index2.js";
|
|
import component$Z from "./carouselItem/index.js";
|
|
export { default as LayCarouselItem } from "./carouselItem/index.js";
|
|
import component$_ from "./colorPicker/index.js";
|
|
export { default as LayColorPicker } from "./colorPicker/index.js";
|
|
import { c as component$$ } from "./tooltip/index2.js";
|
|
export { c as LayTooltip } from "./tooltip/index2.js";
|
|
import component$10 from "./inputNumber/index.js";
|
|
export { default as LayInputNumber } from "./inputNumber/index.js";
|
|
import component$11 from "./skeleton/index.js";
|
|
export { default as LaySkeleton } from "./skeleton/index.js";
|
|
import { c as component$12 } from "./skeletonItem/index2.js";
|
|
export { c as LaySkeletonItem } from "./skeletonItem/index2.js";
|
|
import component$14 from "./step/index.js";
|
|
export { default as LayStep } from "./step/index.js";
|
|
import component$15 from "./stepItem/index.js";
|
|
export { default as LayStepItem } from "./stepItem/index.js";
|
|
import component$16 from "./subMenu/index.js";
|
|
export { default as LaySubMenu } from "./subMenu/index.js";
|
|
import component$1 from "./splitPanel/index.js";
|
|
export { default as LaySplitPanel } from "./splitPanel/index.js";
|
|
import component$2 from "./splitPanelItem/index.js";
|
|
export { default as LaySplitPanelItem } from "./splitPanelItem/index.js";
|
|
import component$17 from "./exception/index.js";
|
|
export { default as LayException } from "./exception/index.js";
|
|
import component$18 from "./result/index.js";
|
|
export { default as LayResult } from "./result/index.js";
|
|
import component$19 from "./fullscreen/index.js";
|
|
export { default as LayFullscreen } from "./fullscreen/index.js";
|
|
import { c as component$1b } from "./transition/index2.js";
|
|
export { c as LayTransition } from "./transition/index2.js";
|
|
import component$1c from "./upload/index.js";
|
|
export { default as LayUpload } from "./upload/index.js";
|
|
import component$1d from "./ripple/index.js";
|
|
export { default as LayRipple } from "./ripple/index.js";
|
|
import component$1e from "./noticeBar/index.js";
|
|
export { default as LayNoticeBar } from "./noticeBar/index.js";
|
|
import component$1f from "./pageHeader/index.js";
|
|
export { default as LayPageHeader } from "./pageHeader/index.js";
|
|
import component$1g from "./cascader/index.js";
|
|
export { default as LayCascader } from "./cascader/index.js";
|
|
import component$1h from "./affix/index.js";
|
|
export { default as LayAffix } from "./affix/index.js";
|
|
import component$1i from "./space/index.js";
|
|
export { default as LaySpace } from "./space/index.js";
|
|
import { c as component$1j } from "./tag/index2.js";
|
|
export { c as LayTag } from "./tag/index2.js";
|
|
import { c as component$1k } from "./tagInput/index2.js";
|
|
export { c as LayTagInput } from "./tagInput/index2.js";
|
|
import { defineComponent, watch, renderSlot } from "vue";
|
|
import { d as darkreader } from "./_chunks/@umijs/index.js";
|
|
import "./_chunks/dayjs/index.js";
|
|
import "./_chunks/vue-i18n/index.js";
|
|
import "./_chunks/@intlify/index.js";
|
|
import "./_chunks/@vue/index.js";
|
|
import "./_chunks/@vueuse/index.js";
|
|
import "./useLevel/index.js";
|
|
import "./utils/index.js";
|
|
import "./index2.js";
|
|
import "./_chunks/@ctrl/index.js";
|
|
import "./_chunks/async-validator/index.js";
|
|
import "./_chunks/xlsx/index.js";
|
|
import "./_chunks/evtd/index.js";
|
|
import "./_chunks/js-image-compressor/index.js";
|
|
import "./_chunks/cropperjs/index.js";
|
|
var index$1 = /* @__PURE__ */ (() => ":root{--global-primary-color: #009688;--global-normal-color: #1e9fff;--global-warm-color: #ffb800;--global-danger-color: #ff5722;--global-checked-color: #5fb878;--global-info-color: #31BDEC;--global-border-radius: 2px;--global-neutral-color-1: #FAFAFA;--global-neutral-color-2: #F6F6F6;--global-neutral-color-3: #eeeeee;--global-neutral-color-4: #e2e2e2;--global-neutral-color-5: #dddddd;--global-neutral-color-6: #d2d2d2;--global-neutral-color-7: #cccccc;--global-neutral-color-8: #c2c2c2;--darkreader-border--global-primary-color: #0d796f}h1,h2,h3,h4,h5,h6{font-weight:400}a,body{color:#333}li{list-style:none}.layui-inline{position:relative;display:inline-block;vertical-align:middle}.layui-btn,.layui-edge,.layui-inline{vertical-align:middle}.layui-elip,.layui-form-checkbox span,.layui-form-pane .layui-form-label{text-overflow:ellipsis;white-space:nowrap}p,dd,dl,dt,h1,h2,h3,h4,h5,h6,ul,li,ol,td,th,pre,div,form,body,input,button,textarea{margin:0;padding:0}img{border:none;display:inline-block;vertical-align:middle}table{border-collapse:collapse;border-spacing:0}h4,h5,h6{font-size:100%}button,input,optgroup,option,select,textarea{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;outline:0}body{line-height:1.6;color:#000000d9;font:14px Helvetica Neue,Helvetica,PingFang SC,Tahoma,Arial,sans-serif}hr{padding:0;line-height:0;margin:10px 0;border:none!important;border-bottom:1px solid #EEEEEE!important;clear:both;background:0 0}a{text-decoration:none}a:hover{color:#777}a cite{font-style:normal}.layui-border-box,.layui-border-box *{box-sizing:border-box}.layui-btn,.layui-btn-group,.layui-edge{display:inline-block}.layui-disabled,.layui-disabled:hover{color:var(--global-neutral-color-6)!important;cursor:not-allowed!important}.layui-btn,.layui-input,.layui-select,.layui-textarea,.layui-upload-button{outline:0;-webkit-appearance:none;transition:all .3s;-webkit-transition:all .3s;box-sizing:border-box}.layui-form-label,.layui-form-mid,.layui-input-block,.layui-input-inline,.layui-input-wrap,.layui-textarea{position:relative}.layui-border,.layui-colla-content,.layui-colla-item,.layui-collapse,.layui-form-pane .layui-form-item[pane],.layui-form-pane .layui-form-label,.layui-iconpicker,.layui-iconpicker-main,.layui-input-split,.layui-layedit,.layui-layedit-tool,.layui-quote-nm,.layui-tab-bar,.layui-tab-card,.layui-tab-title,.layui-tab-title .layui-this:after{border-color:var(--global-neutral-color-3)}.layui-form-checkbox,.layui-form-checkbox *,.layui-form-switch{display:inline-block;vertical-align:middle}.layui-iconpicker-list li,.layui-keyboard-list li,.layui-menu li,.layui-menu-body-title a:hover,.layui-menu-body-title>.layui-icon:hover{transition:all .3s}.layui-colorpicker-alpha-slider,.layui-colorpicker-side-slider,.layui-menu *,.layui-menu,.layui-nav{box-sizing:border-box}.layui-edge{width:0;border-width:6px;position:relative;border-style:dashed;border-color:transparent}.layui-edge-top{top:-4px;border-bottom-color:#999;border-bottom-style:solid}.layui-edge-right{border-left-color:#999;border-left-style:solid}.layui-edge-bottom{top:2px;border-top-color:#999;border-top-style:solid}.layui-edge-left{border-right-color:#999;border-right-style:solid}.layui-show{display:block!important}.layui-hide{display:none!important}.layui-border,.layui-border-black,.layui-border-blue,.layui-border-cyan,.layui-border-green,.layui-border-orange,.layui-border-red{border-width:1px;border-style:solid}.layui-border-red{border-color:#ff5722!important;color:#ff5722!important}.layui-border-orange{border-color:#ffb800!important;color:#ffb800!important}.layui-border-green{border-color:#009688!important;color:#009688!important}.layui-border-cyan{border-color:#2f4056!important;color:#2f4056!important}.layui-border-blue{border-color:#1e9fff!important;color:#1e9fff!important}.layui-border-black{border-color:#393d49!important;color:#393d49!important}.layui-bg-black,.layui-bg-blue,.layui-bg-cyan,.layui-bg-green,.layui-bg-orange,.layui-bg-red{color:#fff!important}.layui-bg-red{background-color:#ff5722!important}.layui-bg-orange{background-color:#ffb800!important}.layui-bg-green{background-color:#009688!important}.layui-bg-cyan{background-color:#2f4056!important}.layui-bg-blue{background-color:#1e9fff!important}.layui-bg-black{background-color:#393d49!important}.layui-bg-gray{background-color:#fafafa!important;color:#666!important}.layui-font-red{color:#ff5722!important}.layui-font-orange{color:#ffb800!important}.layui-font-green{color:#009688!important}.layui-font-cyan{color:#2f4056!important}.layui-font-blue{color:#01aaed!important}.layui-font-black{color:#000!important}.layui-font-gray{color:#c2c2c2!important}.layui-font-12{font-size:12px!important}.layui-font-14{font-size:14px!important}.layui-font-16{font-size:16px!important}.layui-font-18{font-size:18px!important}.layui-font-20{font-size:20px!important}.layui-font-22{font-size:22px!important}.layui-font-24{font-size:24px!important}.layui-font-26{font-size:26px!important}.layui-font-28{font-size:28px!important}.layui-font-30{font-size:30px!important}.layui-text{line-height:1.6;font-size:14px;color:#666}.layui-text h1,.layui-text h2,.layui-text h3{font-weight:500;color:#333}.layui-text h1{font-size:30px}.layui-text h2{font-size:24px}.layui-text h3{font-size:18px}.layui-text a:not(.layui-btn){color:#01aaed}.layui-text a:not(.layui-btn):hover{text-decoration:underline}.layui-text ul{padding:5px 0 5px 15px}.layui-text ul li{margin-top:5px;list-style-type:disc}.layui-text em{color:#999!important;padding-left:5px!important;padding-right:5px!important}.layui-text p{margin:10px 0}.layui-text p:first-child{margin-top:0}.layui-anim{-webkit-animation-duration:.3s;-webkit-animation-fill-mode:both;animation-duration:.3s;animation-fill-mode:both}.layui-anim.layui-icon{display:inline-block}.layui-anim-loop{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.layui-trans,.layui-trans a{transition:all .2s;-webkit-transition:all .2s}@-webkit-keyframes layui-rotate{0%{-webkit-transform:rotate(0)}to{-webkit-transform:rotate(360deg)}}@keyframes layui-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.layui-anim-rotate{-webkit-animation-name:layui-rotate;animation-name:layui-rotate;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes layui-up{0%{-webkit-transform:translate3d(0,100%,0);opacity:.3}to{-webkit-transform:translate3d(0,0,0);opacity:1}}@keyframes layui-up{0%{transform:translate3d(0,100%,0);opacity:.3}to{transform:translateZ(0);opacity:1}}.layui-anim-up{-webkit-animation-name:layui-up;animation-name:layui-up}@-webkit-keyframes layui-upbit{0%{-webkit-transform:translate3d(0,15px,0);opacity:.3}to{-webkit-transform:translate3d(0,0,0);opacity:1}}@keyframes layui-upbit{0%{transform:translate3d(0,15px,0);opacity:.3}to{transform:translateZ(0);opacity:1}}.layui-anim-upbit{-webkit-animation-name:layui-upbit;animation-name:layui-upbit}@keyframes layui-down{0%{opacity:.3;transform:translate3d(0,-100%,0)}to{opacity:1;transform:translateZ(0)}}.layui-anim-down{animation-name:layui-down}@keyframes layui-downbit{0%{opacity:.3;transform:translate3d(0,-5px,0)}to{opacity:1;transform:translateZ(0)}}.layui-anim-downbit{animation-name:layui-downbit}@-webkit-keyframes layui-scale{0%{opacity:.3;-webkit-transform:scale(.5)}to{opacity:1;-webkit-transform:scale(1)}}@keyframes layui-scale{0%{opacity:.3;-ms-transform:scale(.5);transform:scale(.5)}to{opacity:1;-ms-transform:scale(1);transform:scale(1)}}.layui-anim-scale{-webkit-animation-name:layui-scale;animation-name:layui-scale}@-webkit-keyframes layui-scale-spring{0%{opacity:.5;-webkit-transform:scale(.5)}80%{opacity:.8;-webkit-transform:scale(1.1)}to{opacity:1;-webkit-transform:scale(1)}}@keyframes layui-scale-spring{0%{opacity:.5;transform:scale(.5)}80%{opacity:.8;transform:scale(1.1)}to{opacity:1;transform:scale(1)}}.layui-anim-scaleSpring{-webkit-animation-name:layui-scale-spring;animation-name:layui-scale-spring}@keyframes layui-scalesmall{0%{opacity:.3;transform:scale(1.5)}to{opacity:1;transform:scale(1)}}.layui-anim-scalesmall{animation-name:layui-scalesmall}@keyframes layui-scalesmall-spring{0%{opacity:.3;transform:scale(1.5)}80%{opacity:.8;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.layui-anim-scalesmall-spring{animation-name:layui-scalesmall-spring}@-webkit-keyframes layui-fadein{0%{opacity:0}to{opacity:1}}@keyframes layui-fadein{0%{opacity:0}to{opacity:1}}.layui-anim-fadein{-webkit-animation-name:layui-fadein;animation-name:layui-fadein}@-webkit-keyframes layui-fadeout{0%{opacity:1}to{opacity:0}}@keyframes layui-fadeout{0%{opacity:1}to{opacity:0}}.layui-anim-fadeout{-webkit-animation-name:layui-fadeout;animation-name:layui-fadeout}\n")();
|
|
const __default__ = {
|
|
name: "lay-config-provider"
|
|
};
|
|
const _sfc_main = defineComponent({
|
|
...__default__,
|
|
props: {
|
|
locale: { default: "zh_CN" },
|
|
locales: null,
|
|
theme: { default: "light" },
|
|
themeVariable: null,
|
|
darkPartial: null
|
|
},
|
|
setup(__props) {
|
|
const props = __props;
|
|
const { locale, setLocaleMessage, mergeLocaleMessage } = useI18n();
|
|
const ignoreInlineStyle = [
|
|
".layui-colorpicker-trigger-span",
|
|
"div.layui-color-picker *"
|
|
];
|
|
const fixCss = `
|
|
.lay-progress-circle svg {
|
|
filter: invert(98%) hue-rotate(180deg) contrast(80%) !important;
|
|
}
|
|
`;
|
|
const changeLocale = (lang) => {
|
|
locale.value = lang;
|
|
};
|
|
const changeLocales = (lang, locales, merge) => {
|
|
if (merge) {
|
|
mergeLocaleMessage(lang, locales);
|
|
} else {
|
|
setLocaleMessage(lang, locales);
|
|
}
|
|
};
|
|
const changeTheme = (theme) => {
|
|
const defaultPartial = {
|
|
mode: 1,
|
|
brightness: 100,
|
|
contrast: 90,
|
|
sepia: 0,
|
|
grayscale: 0
|
|
};
|
|
const defaultFixes = {
|
|
css: fixCss,
|
|
invert: [".lay-progress-circle svg"],
|
|
ignoreImageAnalysis: [],
|
|
disableStyleSheetsProxy: false,
|
|
ignoreInlineStyle
|
|
};
|
|
Object.assign(defaultPartial, props.darkPartial);
|
|
if (theme === "dark") {
|
|
if (window) {
|
|
darkreader.exports.setFetchMethod(window.fetch);
|
|
}
|
|
darkreader.exports.enable(defaultPartial, defaultFixes);
|
|
} else if (theme === "light") {
|
|
darkreader.exports.disable();
|
|
} else if (theme === "auto") {
|
|
darkreader.exports.auto(defaultPartial, defaultFixes);
|
|
}
|
|
};
|
|
const changeThemeVariable = (vars) => {
|
|
if (vars != null) {
|
|
const keys = Object.keys(vars);
|
|
for (let i = 0; i < keys.length; i++) {
|
|
const key = keys[i];
|
|
const value = vars[key];
|
|
document.documentElement.style.setProperty(key, value);
|
|
}
|
|
}
|
|
};
|
|
watch(
|
|
() => props.locale,
|
|
(lang) => {
|
|
changeLocale(lang);
|
|
},
|
|
{ immediate: true }
|
|
);
|
|
watch(
|
|
() => props.locales,
|
|
(locals) => {
|
|
locals == null ? void 0 : locals.forEach((item) => {
|
|
changeLocales(item.name, item.locale, item.merge);
|
|
});
|
|
},
|
|
{ immediate: true, deep: true }
|
|
);
|
|
watch(
|
|
() => props.theme,
|
|
(theme) => {
|
|
changeTheme(theme);
|
|
},
|
|
{ immediate: true }
|
|
);
|
|
watch(
|
|
() => props.themeVariable,
|
|
(vars) => {
|
|
changeThemeVariable(vars);
|
|
},
|
|
{ immediate: true, deep: true }
|
|
);
|
|
return (_ctx, _cache) => {
|
|
return renderSlot(_ctx.$slots, "default");
|
|
};
|
|
}
|
|
});
|
|
const component = withInstall(_sfc_main);
|
|
const components = {
|
|
LaySplitPanel: component$1,
|
|
LaySplitPanelItem: component$2,
|
|
LayRadio: component$3,
|
|
LayRadioGroup: component$4,
|
|
LayButton: component$5,
|
|
LayIcon: component$6,
|
|
LayBacktop: component$7,
|
|
LayLayout: component$8,
|
|
LaySide: component$9,
|
|
LayHeader: component$a,
|
|
LayBody: component$b,
|
|
LayFooter: component$c,
|
|
LayLogo: component$d,
|
|
LayPanel: component$e,
|
|
LayCard: component$f,
|
|
LayProgress: component$g,
|
|
LayButtonGroup: component$h,
|
|
LayButtonContainer: component$i,
|
|
LayRow: component$j,
|
|
LayCol: component$k,
|
|
LayInput: component$l,
|
|
LayBadge: component$m,
|
|
LayQuote: component$n,
|
|
LayLine: component$o,
|
|
LayTimeline: component$p,
|
|
LayTimelineItem: component$q,
|
|
LayTextarea: component$r,
|
|
LaySwitch: component$s,
|
|
LayCollapse: component$t,
|
|
LayCollapseItem: component$u,
|
|
LayContainer: component$v,
|
|
LayMenu: component$w,
|
|
LayMenuItem: component$x,
|
|
LayCheckbox: component$y,
|
|
LayForm: component$z,
|
|
LayBreadcrumb: component$A,
|
|
LayBreadcrumbItem: component$B,
|
|
LayAvatar: component$C,
|
|
LayAvatarList: component$D,
|
|
LayField: component$E,
|
|
LaySelect: component$F,
|
|
LayScroll: component$G,
|
|
LaySelectOption: component$H,
|
|
LayEmpty: component$I,
|
|
LayFormItem: component$J,
|
|
LayRate: component$K,
|
|
LayDropdown: component$L,
|
|
LayDropdownMenu: component$M,
|
|
LayDropdownMenuItem: component$N,
|
|
LayDropdownSubMenu: component$O,
|
|
LayTab: component$P,
|
|
LayTabItem: component$Q,
|
|
LayIconPicker: component$R,
|
|
LayTree: component$S,
|
|
LayTable: component$T,
|
|
LayPage: component$U,
|
|
LayTransfer: component$V,
|
|
LayCheckboxGroup: component$W,
|
|
LaySlider: component$X,
|
|
LayCarousel: component$Y,
|
|
LayCarouselItem: component$Z,
|
|
LayColorPicker: component$_,
|
|
LayTooltip: component$$,
|
|
LayInputNumber: component$10,
|
|
LaySkeleton: component$11,
|
|
LaySkeletonItem: component$12,
|
|
LayCountUp: component$13,
|
|
LayStep: component$14,
|
|
LayStepItem: component$15,
|
|
LaySubMenu: component$16,
|
|
LayException: component$17,
|
|
LayResult: component$18,
|
|
LayFullscreen: component$19,
|
|
LayConfigProvider: component,
|
|
LayDatePicker: component$1a,
|
|
LayTransition: component$1b,
|
|
LayUpload: component$1c,
|
|
LayRipple: component$1d,
|
|
LayNoticeBar: component$1e,
|
|
LayPageHeader: component$1f,
|
|
LayCascader: component$1g,
|
|
LayAffix: component$1h,
|
|
LaySpace: component$1i,
|
|
LayTag: component$1j,
|
|
LayTagInput: component$1k,
|
|
LayTreeSelect: component$1l
|
|
};
|
|
const install = (app, options) => {
|
|
for (const key of Object.keys(components)) {
|
|
app.use(components[key], options);
|
|
}
|
|
app.use(i18n);
|
|
app.use(index$2);
|
|
};
|
|
var index = { install };
|
|
export { component as LayConfigProvider, index as default, install };
|