@opendesign-plus/components 0.0.1-rc.5 → 0.0.1-rc.7
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-OElCookieNotice.cjs.js +1 -0
- package/dist/chunk-OElCookieNotice.es.js +281 -0
- package/dist/components/OCookieNotice.vue.d.ts +1 -0
- package/dist/components/OFooter.vue.d.ts +25 -0
- package/dist/components/OHeader.vue.d.ts +23 -0
- package/dist/components/OHeaderMoblie.vue.d.ts +33 -0
- package/dist/components/OHeaderUser.vue.d.ts +40 -0
- package/dist/components/OSourceCode.vue.d.ts +20 -0
- package/dist/components/element-plus/OElCookieNotice.vue.d.ts +1 -0
- package/dist/components/events/OEventsApply.vue.d.ts +16 -0
- package/dist/components/events/OEventsCalendar.vue.d.ts +5 -0
- package/dist/components/events/OEventsList.vue.d.ts +26 -0
- package/dist/components/events/config.d.ts +26 -0
- package/dist/components/events/index.d.ts +78 -0
- package/dist/components/events/types.d.ts +66 -0
- package/dist/components/events/utils.d.ts +7 -0
- package/dist/components.cjs.js +3 -1
- package/dist/components.css +1 -1
- package/dist/components.element.cjs.js +1 -1
- package/dist/components.element.es.js +2 -213
- package/dist/components.es.js +3002 -445
- package/dist/index.d.ts +8 -1
- package/docs/design.md +27 -27
- package/docs/design_banner.md +41 -41
- package/docs/design_section.md +27 -27
- package/npmcachae/_cacache/content-v2/sha512/bd/56/25079ffb18446953f88fc063c3d6eaf7191772851b8477c118f113b920a7f357b67b9006181af58c9f68b0059b899ad0f2c86fe0a6490958d138cb063afd +1 -0
- package/npmcachae/_cacache/index-v5/d8/49/af4c6bb8f580edbd7b6e18db381844403e5f689a9849c5ffcdd2dd95d735 +3 -0
- package/npmcachae/_logs/2026-03-17T09_38_12_009Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_14_370Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_16_516Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_18_616Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_20_859Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_23_182Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_25_452Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_27_865Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_30_082Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_32_219Z-debug-0.log +157 -0
- package/npmcachae/_logs/2026-03-17T09_38_34_308Z-debug-0.log +157 -0
- package/npmcachae/_update-notifier-last-checked +0 -0
- package/package.json +2 -1
- package/scripts/generate-components-index.js +99 -80
- package/src/assets/events/city/default-cover.png +0 -0
- package/src/assets/events/city//344/270/212/346/265/267.png +0 -0
- package/src/assets/events/city//345/214/227/344/272/254.png +0 -0
- package/src/assets/events/city//345/215/227/344/272/254.png +0 -0
- package/src/assets/events/city//345/244/251/346/264/245.png +0 -0
- package/src/assets/events/city//345/271/277/345/267/236.png +0 -0
- package/src/assets/events/city//346/210/220/351/203/275.png +0 -0
- package/src/assets/events/city//346/227/240/351/224/241.png +0 -0
- package/src/assets/events/city//346/235/255/345/267/236.png +0 -0
- package/src/assets/events/city//346/255/246/346/261/211.png +0 -0
- package/src/assets/events/city//346/267/261/345/234/2631.png +0 -0
- package/src/assets/events/city//346/267/261/345/234/2632.png +0 -0
- package/src/assets/events/city//350/213/217/345/267/236.png +0 -0
- package/src/assets/events/city//350/245/277/345/256/211.png +0 -0
- package/src/assets/events/city//351/203/221/345/267/236.png +0 -0
- package/src/assets/events/svg-icons/icon-checked.svg +3 -0
- package/src/assets/events/svg-icons/icon-competition.svg +7 -0
- package/src/assets/events/svg-icons/icon-events.svg +4 -0
- package/src/assets/events/svg-icons/icon-release.svg +4 -0
- package/src/assets/events/svg-icons/icon-summit.svg +4 -0
- package/src/assets/svg-icons/icon-arrow-left.svg +3 -0
- package/src/assets/svg-icons/icon-avatar-line.svg +3 -0
- package/src/assets/svg-icons/icon-caret-left.svg +3 -0
- package/src/assets/svg-icons/icon-caret-right.svg +3 -0
- package/src/assets/svg-icons/icon-chevron-down.svg +3 -0
- package/src/assets/svg-icons/icon-chevron-right.svg +3 -3
- package/src/assets/svg-icons/icon-close.svg +3 -3
- package/src/assets/svg-icons/icon-delete.svg +3 -3
- package/src/assets/svg-icons/icon-header-back.svg +3 -3
- package/src/assets/svg-icons/icon-header-delete.svg +3 -3
- package/src/assets/svg-icons/icon-header-menu.svg +3 -0
- package/src/assets/svg-icons/icon-header-person.svg +3 -0
- package/src/assets/svg-icons/icon-header-search.svg +4 -4
- package/src/assets/svg-icons/icon-locale.svg +3 -0
- package/src/assets/svg-icons/icon-log-off.svg +3 -0
- package/src/assets/svg-icons/icon-message.svg +3 -0
- package/src/assets/svg-icons/icon-moon.svg +3 -3
- package/src/assets/svg-icons/icon-outlink.svg +3 -0
- package/src/assets/svg-icons/icon-overview.svg +3 -0
- package/src/assets/svg-icons/icon-setting.svg +3 -0
- package/src/assets/svg-icons/icon-sun.svg +3 -3
- package/src/components/OBanner.vue +390 -390
- package/src/components/OCookieNotice.vue +423 -423
- package/src/components/OFooter.vue +566 -0
- package/src/components/OHeader.vue +97 -0
- package/src/components/OHeaderMoblie.vue +149 -0
- package/src/components/OHeaderSearch.vue +601 -601
- package/src/components/OHeaderUser.vue +304 -0
- package/src/components/OPlusConfigProvider.vue +32 -32
- package/src/components/OSection.vue +178 -178
- package/src/components/OSourceCode.vue +153 -0
- package/src/components/OThemeSwitcher.vue +108 -108
- package/src/components/common/AppAvatar.vue +83 -0
- package/src/components/common/ClientOnlyWrapper.ts +21 -21
- package/src/components/common/ContentWrapper.vue +85 -85
- package/src/components/common/HeaderEulerNav.vue +1118 -0
- package/src/components/common/HeaderNavMoblie.vue +344 -0
- package/src/components/common/HeaderUbmcNav.vue +597 -0
- package/src/components/element-plus/OElCookieNotice.vue +412 -412
- package/src/components/element-plus/index.ts +3 -3
- package/src/components/events/OEventsApply.vue +487 -0
- package/src/components/events/OEventsCalendar.vue +613 -0
- package/src/components/events/OEventsList.vue +402 -0
- package/src/components/events/config.ts +47 -0
- package/src/components/events/index.ts +23 -0
- package/src/components/events/npmcachae/_cacache/content-v2/sha512/2c/4f/a4140bfbf374a43f7dfe71880c051f79149cd259fb1a154fb692802c7489ef2317b737e7e690a627714ba19317971f29051b3798c246297b425a626a5b7a +1 -0
- package/src/components/events/npmcachae/_cacache/index-v5/8e/86/70dc69f1b1592fe14da10d2516ddfaa609af0cd9054a6ebde664acc6ab12 +2 -0
- package/src/components/events/npmcachae/_logs/2026-03-25T09_58_33_134Z-debug-0.log +105 -0
- package/src/components/events/npmcachae/_update-notifier-last-checked +0 -0
- package/src/components/events/types.ts +80 -0
- package/src/components/events/utils.ts +9 -0
- package/src/components/meeting/npmcachae/_cacache/content-v2/sha512/3e/17/1865217b9acb9f4921c53a09b5c76587cd2ab748beb2699ff6cfb1341d73b1aa56ed91ffc5ab2c9c9b3fbe626103b35d9a79ff29ff6b8cbb8d89755fe1a2 +1 -0
- package/src/components/meeting/npmcachae/_cacache/content-v2/sha512/a6/15/47bb7552ec9248079e839a5feecc1742d4de19524fdf041cf581701cf4760a5025106036145e279ba193b07c8fa5b07ae3d75f1b6032f0cb2219115b6167 +1 -0
- package/src/components/meeting/npmcachae/_cacache/content-v2/sha512/d1/4c/133b32e09c97101a27a07cc4432f94e470cff02d120d21babcea77c3f5cd436793516dc1a8e282ee1a568f923c148b1a48f4a43233462a530d35e8b41c67 +1 -0
- package/src/components/meeting/npmcachae/_cacache/index-v5/54/0d/a4909047714a0a7198bb9bd37020992464e47c79a791889919b84d90aab0 +3 -0
- package/src/components/meeting/npmcachae/_cacache/index-v5/8e/2b/21a79778e2ac08cf5663baf83cb35f951995a496007eb2e2f7fba54021a4 +3 -0
- package/src/components/meeting/npmcachae/_cacache/index-v5/eb/a0/b70c8132e5b57a0f1e129b8cc941796420a9c147c0baa680710083740898 +2 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_03_54_955Z-debug-0.log +277 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_03_57_842Z-debug-0.log +277 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_00_016Z-debug-0.log +277 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_02_191Z-debug-0.log +277 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_04_425Z-debug-0.log +277 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_06_642Z-debug-0.log +277 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_04_08_826Z-debug-0.log +277 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_25_36_140Z-debug-0.log +433 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_25_39_573Z-debug-0.log +433 -0
- package/src/components/meeting/npmcachae/_logs/2026-03-20T07_25_42_134Z-debug-0.log +212 -0
- package/src/components/meeting/npmcachae/_update-notifier-last-checked +0 -0
- package/src/draft/Banner.vue +265 -265
- package/src/draft/ButtonCards.vue +105 -105
- package/src/draft/Feature.vue +133 -133
- package/src/draft/Footer.vue +512 -512
- package/src/draft/HorizontalAnchor.vue +165 -165
- package/src/draft/ItemSwiper.vue +133 -133
- package/src/draft/Logo.vue +141 -141
- package/src/draft/LogoCard.vue +74 -74
- package/src/draft/LogoV2.vue +19 -19
- package/src/draft/MainCard.vue +38 -38
- package/src/draft/MultiCard.vue +94 -94
- package/src/draft/MultiIconCard.vue +73 -73
- package/src/draft/OInfoCard.vue +176 -176
- package/src/draft/Process.vue +81 -81
- package/src/draft/Section.vue +167 -167
- package/src/draft/SingleTabCard.vue +84 -84
- package/src/draft/SliderCard.vue +110 -110
- package/src/env.d.ts +1 -1
- package/src/i18n/en.ts +20 -20
- package/src/i18n/index.ts +42 -42
- package/src/i18n/zh.ts +14 -9
- package/src/index.ts +15 -1
- package/src/npmcachae/_cacache/content-v2/sha512/bd/56/25079ffb18446953f88fc063c3d6eaf7191772851b8477c118f113b920a7f357b67b9006181af58c9f68b0059b899ad0f2c86fe0a6490958d138cb063afd +1 -0
- package/src/npmcachae/_cacache/index-v5/d8/49/af4c6bb8f580edbd7b6e18db381844403e5f689a9849c5ffcdd2dd95d735 +3 -0
- package/src/npmcachae/_logs/2026-03-17T10_53_33_398Z-debug-0.log +156 -0
- package/src/npmcachae/_logs/2026-03-17T10_53_35_464Z-debug-0.log +156 -0
- package/src/npmcachae/_logs/2026-03-17T10_53_37_852Z-debug-0.log +156 -0
- package/src/npmcachae/_update-notifier-last-checked +0 -0
- package/src/shared/provide.ts +6 -6
- package/src/shims-vue-dompurify-html.d.ts +17 -0
- package/src/vue.d.ts +9 -9
- package/tsconfig.json +33 -33
- package/vite.config.ts +102 -101
- package/dist/chunk-index.cjs.js +0 -1
- package/dist/chunk-index.es.js +0 -64
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("vue"),P=require("@opendesign-plus/composables"),S=require("@opensig/opendesign"),u=require("element-plus");require("element-plus/es/components/button/style/index");require("element-plus/es/components/dialog/style/index");require("element-plus/es/components/switch/style/index");require("element-plus/es/components/icon/style/index");const $=require("@vueuse/core"),D=(n,i)=>{const s=n.__vccOpts||n;for(const[d,f]of i)s[d]=f;return s},j=n=>{const i=e.ref(!1);return e.onMounted(()=>{i.value=!0}),()=>i.value&&n.default?n.default():null},A=e.defineComponent({setup(n,{slots:i}){const s=e.resolveComponent("ClientOnly");return s&&typeof s!="string"?()=>e.h(s,null,{default:()=>i.default?i.default():null}):j(i)}}),G={search:"搜索","search.hot":"热门搜索","search.placeholder":"搜索","search.expandedPlaceholder":"请输入搜索内容","search.history":"历史搜索","cookie.desc":"我们使用cookie来确保您的高速浏览体验。继续浏览本站,即表示您同意我们使用cookie。","cookie.about":"查看详情","events.status":"活动状态","events.statusAll":"全部","events.statusIng":"进行中","events.statusFinish":"已结束","events.searchPlaceholder":"搜索活动名称、地点"},K={search:"Search","search.hot":"Top search","search.placeholder":"Please enter the content","search.expandedPlaceholder":"Please enter the content","search.history":"History","cookie.title":"{0} Community Respects Your Privacy","cookie.desc":'This site uses cookies from us and our partners to improve your browsing experience and make the site work properly. By clicking "Accept All", you consent to the use of cookies. By clicking "Reject All", you disable the use of unnecessary cookies. You can manage your cookie settings by clicking "Manage Cookies". For more information or to change your cookie settings, please refer to our ',"cookie.about":"About Cookies","cookie.acceptAll":"Accept All","cookie.rejectAll":"Reject All","cookie.manage":"Manage Cookies","cookie.necessaryCookie":"Strictly Necessary Cookies","cookie.alwaysOn":"Always active","cookie.necessaryCookieDetail":"These cookies are necessary for the site to work properly and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as logging in or filling in forms. You can set the browser to block these cookies, but that can make parts of the site not work. These cookies do not store any personally identifiable information.","cookie.analyticalCookie":"Analytics Cookies","cookie.analyticalCookieDetail":"We will use these cookies only with your consent. These cookies help us make improvements by collecting statistics such as the number of visits and traffic sources.","cookie.saveSetting":"Save Settings","cookie.setting":"Cookie settings"},B=Symbol("provide-config-provider"),z=e.ref({zh:G,en:K});function T(){const i=e.getCurrentInstance()?e.inject(B):null,s=e.computed(()=>(i==null?void 0:i.locale)||"zh");return{locale:s,t:(f,...v)=>{const o=z.value[s.value][f];return v.length>0&&S.isString(o)?o.replace(/{(\d+)}/g,(r,a)=>v[a]??r):(S.isUndefined(o)&&console.warn(`Cannot translate the value of keypath '${f}'`),o)}}}const L={key:0,class:"cookie-notice"},M={class:"cookie-notice-content"},Y=["type"],F={class:"cookie-notice-left"},H={key:0,class:"cookie-desc",style:{"margin-top":"0"}},W=["href"],Z={class:"cookie-title"},J={class:"cookie-desc"},Q=["href"],X={key:0,class:"cookie-notice-right"},ee={class:"cookie-dlg-content"},oe={class:"content-item"},te={class:"item-header"},ne={class:"item-title"},ie={class:"item-extra"},le={class:"item-detail"},se={class:"content-item"},ae={class:"item-header"},ce={class:"item-title"},re={class:"item-extra"},ue={class:"item-detail"},de="0",x="1",ke="2",C="3",fe="agreed-cookiepolicy-zh",pe="agreed-cookiepolicy-en",me=e.defineComponent({__name:"OElCookieNotice",props:{visible:{type:Boolean},enableGrid:{type:Boolean},community:{},detailUrl:{},wrapper:{},cookieDomain:{}},emits:["update:visible"],setup(n,{expose:i,emit:s}){const d=n,f=s,{lePadV:v}=P.useScreen(),{locale:h,t:o}=T(),r=e.computed(()=>h.value==="zh"),a=e.computed(()=>r.value?fe:pe),k=e.ref(!1),p=$.useVModel(d,"visible",f,{defaultValue:!1}),y=l=>{const t=document.cookie.split(";").find(c=>c.split("=")[0].trim()===encodeURIComponent(l));return t?decodeURIComponent(t.split("=")[1]):null},_=(l,t,c,U)=>{const q=`; max-age=${c*24*60*60}`;document.cookie=`${encodeURIComponent(l)}=${encodeURIComponent(t)}${q}; path=/; domain=${U}`},m=l=>{typeof l=="boolean"?p.value=l:p.value=!p.value,e.nextTick(()=>{!p.value&&r.value&&y(a.value)!==C&&_(a.value,C,180,d.cookieDomain??location.hostname)})},g=e.ref(!1),V=l=>{typeof l=="boolean"?g.value=l:g.value=!g.value},N=()=>r.value?y(a.value)!==C:(y(a.value)??"0")===de,w=()=>r.value?y(a.value)===C:y(a.value)===x;e.onMounted(()=>{N()&&m(!0)}),e.watch(h,()=>{m(N())});const E=()=>{k.value=!0,_(a.value,x,180,d.cookieDomain??location.hostname),m(!1)},b=()=>{k.value=!1,_(a.value,ke,180,d.cookieDomain??location.hostname),m(!1)},O=()=>{k.value?E():b(),V(!1)},I=()=>{k.value=!0,E(),V(!1)},R=()=>{k.value=w()};return i({check(){w()===p.value&&m()}}),(l,t)=>(e.openBlock(),e.createBlock(e.unref(A),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:n.wrapper||"#app"},[e.unref(p)?(e.openBlock(),e.createElementBlock("div",L,[e.createElementVNode("div",M,[e.createElementVNode("div",{type:e.unref(h),class:e.normalizeClass({"cookie-notice-wrap-grid":n.enableGrid,"cookie-notice-wrap":!n.enableGrid})},[e.createElementVNode("div",F,[r.value?(e.openBlock(),e.createElementBlock("p",H,[e.createTextVNode(e.toDisplayString(e.unref(o)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:n.detailUrl,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(o)("cookie.about")),9,W)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("p",Z,e.toDisplayString(e.unref(o)("cookie.title",[n.community])),1),e.createElementVNode("p",J,[e.createTextVNode(e.toDisplayString(e.unref(o)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:n.detailUrl,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(o)("cookie.about")),9,Q),t[4]||(t[4]=e.createTextVNode(". ",-1))])],64))]),r.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",X,[e.createVNode(e.unref(u.ElButton),{round:"",type:"primary",onClick:E},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("cookie.acceptAll")),1)]),_:1}),e.createVNode(e.unref(u.ElButton),{round:"",type:"primary",onClick:b},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("cookie.rejectAll")),1)]),_:1}),e.createVNode(e.unref(u.ElButton),{round:"",type:"primary",onClick:t[0]||(t[0]=c=>V(!0))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("cookie.manage")),1)]),_:1})])),e.createVNode(e.unref(u.ElIcon),{class:"cookie-notice-close",type:e.unref(h),onClick:t[1]||(t[1]=c=>m(!1))},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"close-icon",{},()=>[t[5]||(t[5]=e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[e.createElementVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})],-1))],!0)]),_:3},8,["type"])],10,Y)]),e.createVNode(e.unref(u.ElDialog),{modelValue:g.value,"onUpdate:modelValue":t[3]||(t[3]=c=>g.value=c),width:e.unref(v)?"90%":"50%",title:e.unref(o)("cookie.manage"),"destroy-on-close":"",onOpen:R},{footer:e.withCtx(()=>[e.createVNode(e.unref(u.ElButton),{round:"",type:"primary",onClick:O,style:{"margin-right":"16px"}},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("cookie.saveSetting")),1)]),_:1}),e.createVNode(e.unref(u.ElButton),{round:"",type:"primary",onClick:I},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("cookie.acceptAll")),1)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",ee,[e.createElementVNode("div",oe,[e.createElementVNode("div",te,[e.createElementVNode("span",ne,e.toDisplayString(e.unref(o)("cookie.necessaryCookie")),1),e.createElementVNode("span",ie,e.toDisplayString(e.unref(o)("cookie.alwaysOn")),1)]),e.createElementVNode("div",le,e.toDisplayString(e.unref(o)("cookie.necessaryCookieDetail")),1)]),e.createElementVNode("div",se,[e.createElementVNode("div",ae,[e.createElementVNode("span",ce,e.toDisplayString(e.unref(o)("cookie.analyticalCookie")),1),e.createElementVNode("span",re,[e.createVNode(e.unref(u.ElSwitch),{modelValue:k.value,"onUpdate:modelValue":t[2]||(t[2]=c=>k.value=c)},null,8,["modelValue"])])]),e.createElementVNode("div",ue,e.toDisplayString(e.unref(o)("cookie.analyticalCookieDetail")),1)])])]),_:1},8,["modelValue","width","title"])])):e.createCommentVNode("",!0)],8,["to"]))]),_:3}))}}),he=D(me,[["__scopeId","data-v-f3d20b01"]]);exports.ClientOnly=A;exports.OElCookieNotice=he;exports._export_sfc=D;exports.configProviderInjectKey=B;exports.useI18n=T;
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import { defineComponent as G, resolveComponent as F, h as H, ref as O, onMounted as P, getCurrentInstance as W, inject as Z, computed as N, watch as q, createBlock as U, openBlock as _, unref as e, withCtx as d, Teleport as J, createElementBlock as S, createCommentVNode as $, createElementVNode as t, createVNode as p, normalizeClass as Q, createTextVNode as m, toDisplayString as i, Fragment as X, renderSlot as ee, nextTick as oe } from "vue";
|
|
2
|
+
import { useScreen as te } from "@opendesign-plus/composables";
|
|
3
|
+
import { isString as se, isUndefined as ne } from "@opensig/opendesign";
|
|
4
|
+
import { ElButton as A, ElIcon as ie, ElDialog as le, ElSwitch as ae } from "element-plus";
|
|
5
|
+
import "element-plus/es/components/button/style/index";
|
|
6
|
+
import "element-plus/es/components/dialog/style/index";
|
|
7
|
+
import "element-plus/es/components/switch/style/index";
|
|
8
|
+
import "element-plus/es/components/icon/style/index";
|
|
9
|
+
import { useVModel as ce } from "@vueuse/core";
|
|
10
|
+
const re = (n, l) => {
|
|
11
|
+
const c = n.__vccOpts || n;
|
|
12
|
+
for (const [h, y] of l)
|
|
13
|
+
c[h] = y;
|
|
14
|
+
return c;
|
|
15
|
+
}, ue = (n) => {
|
|
16
|
+
const l = O(!1);
|
|
17
|
+
return P(() => {
|
|
18
|
+
l.value = !0;
|
|
19
|
+
}), () => l.value && n.default ? n.default() : null;
|
|
20
|
+
}, de = G({
|
|
21
|
+
setup(n, { slots: l }) {
|
|
22
|
+
const c = F("ClientOnly");
|
|
23
|
+
return c && typeof c != "string" ? () => H(c, null, { default: () => l.default ? l.default() : null }) : ue(l);
|
|
24
|
+
}
|
|
25
|
+
}), ke = {
|
|
26
|
+
search: "搜索",
|
|
27
|
+
"search.hot": "热门搜索",
|
|
28
|
+
"search.placeholder": "搜索",
|
|
29
|
+
"search.expandedPlaceholder": "请输入搜索内容",
|
|
30
|
+
"search.history": "历史搜索",
|
|
31
|
+
"cookie.desc": "我们使用cookie来确保您的高速浏览体验。继续浏览本站,即表示您同意我们使用cookie。",
|
|
32
|
+
"cookie.about": "查看详情",
|
|
33
|
+
"events.status": "活动状态",
|
|
34
|
+
"events.statusAll": "全部",
|
|
35
|
+
"events.statusIng": "进行中",
|
|
36
|
+
"events.statusFinish": "已结束",
|
|
37
|
+
"events.searchPlaceholder": "搜索活动名称、地点"
|
|
38
|
+
}, pe = {
|
|
39
|
+
search: "Search",
|
|
40
|
+
"search.hot": "Top search",
|
|
41
|
+
"search.placeholder": "Please enter the content",
|
|
42
|
+
"search.expandedPlaceholder": "Please enter the content",
|
|
43
|
+
"search.history": "History",
|
|
44
|
+
"cookie.title": "{0} Community Respects Your Privacy",
|
|
45
|
+
"cookie.desc": 'This site uses cookies from us and our partners to improve your browsing experience and make the site work properly. By clicking "Accept All", you consent to the use of cookies. By clicking "Reject All", you disable the use of unnecessary cookies. You can manage your cookie settings by clicking "Manage Cookies". For more information or to change your cookie settings, please refer to our ',
|
|
46
|
+
"cookie.about": "About Cookies",
|
|
47
|
+
"cookie.acceptAll": "Accept All",
|
|
48
|
+
"cookie.rejectAll": "Reject All",
|
|
49
|
+
"cookie.manage": "Manage Cookies",
|
|
50
|
+
"cookie.necessaryCookie": "Strictly Necessary Cookies",
|
|
51
|
+
"cookie.alwaysOn": "Always active",
|
|
52
|
+
"cookie.necessaryCookieDetail": "These cookies are necessary for the site to work properly and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as logging in or filling in forms. You can set the browser to block these cookies, but that can make parts of the site not work. These cookies do not store any personally identifiable information.",
|
|
53
|
+
"cookie.analyticalCookie": "Analytics Cookies",
|
|
54
|
+
"cookie.analyticalCookieDetail": "We will use these cookies only with your consent. These cookies help us make improvements by collecting statistics such as the number of visits and traffic sources.",
|
|
55
|
+
"cookie.saveSetting": "Save Settings",
|
|
56
|
+
"cookie.setting": "Cookie settings"
|
|
57
|
+
}, me = Symbol("provide-config-provider"), he = O({
|
|
58
|
+
zh: ke,
|
|
59
|
+
en: pe
|
|
60
|
+
});
|
|
61
|
+
function fe() {
|
|
62
|
+
const l = W() ? Z(me) : null, c = N(() => (l == null ? void 0 : l.locale) || "zh");
|
|
63
|
+
return {
|
|
64
|
+
locale: c,
|
|
65
|
+
t: (y, ...E) => {
|
|
66
|
+
const o = he.value[c.value][y];
|
|
67
|
+
return E.length > 0 && se(o) ? o.replace(/{(\d+)}/g, (k, r) => E[r] ?? k) : (ne(o) && console.warn(`Cannot translate the value of keypath '${y}'`), o);
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
const ye = {
|
|
72
|
+
key: 0,
|
|
73
|
+
class: "cookie-notice"
|
|
74
|
+
}, ve = { class: "cookie-notice-content" }, ge = ["type"], _e = { class: "cookie-notice-left" }, Ce = {
|
|
75
|
+
key: 0,
|
|
76
|
+
class: "cookie-desc",
|
|
77
|
+
style: { "margin-top": "0" }
|
|
78
|
+
}, be = ["href"], we = { class: "cookie-title" }, Ae = { class: "cookie-desc" }, Ee = ["href"], Se = {
|
|
79
|
+
key: 0,
|
|
80
|
+
class: "cookie-notice-right"
|
|
81
|
+
}, De = { class: "cookie-dlg-content" }, Oe = { class: "content-item" }, Ve = { class: "item-header" }, xe = { class: "item-title" }, Ie = { class: "item-extra" }, Ne = { class: "item-detail" }, Te = { class: "content-item" }, Be = { class: "item-header" }, Re = { class: "item-title" }, Ue = { class: "item-extra" }, $e = { class: "item-detail" }, je = "0", j = "1", Ge = "2", D = "3", Pe = "agreed-cookiepolicy-zh", ze = "agreed-cookiepolicy-en", Ke = /* @__PURE__ */ G({
|
|
82
|
+
__name: "OElCookieNotice",
|
|
83
|
+
props: {
|
|
84
|
+
visible: { type: Boolean },
|
|
85
|
+
enableGrid: { type: Boolean },
|
|
86
|
+
community: {},
|
|
87
|
+
detailUrl: {},
|
|
88
|
+
wrapper: {},
|
|
89
|
+
cookieDomain: {}
|
|
90
|
+
},
|
|
91
|
+
emits: ["update:visible"],
|
|
92
|
+
setup(n, { expose: l, emit: c }) {
|
|
93
|
+
const h = n, y = c, { lePadV: E } = te(), { locale: C, t: o } = fe(), k = N(() => C.value === "zh"), r = N(() => k.value ? Pe : ze), f = O(!1), v = ce(h, "visible", y, { defaultValue: !1 }), b = (a) => {
|
|
94
|
+
const s = document.cookie.split(";").find((u) => u.split("=")[0].trim() === encodeURIComponent(a));
|
|
95
|
+
return s ? decodeURIComponent(s.split("=")[1]) : null;
|
|
96
|
+
}, V = (a, s, u, Y) => {
|
|
97
|
+
const M = `; max-age=${u * 24 * 60 * 60}`;
|
|
98
|
+
document.cookie = `${encodeURIComponent(a)}=${encodeURIComponent(s)}${M}; path=/; domain=${Y}`;
|
|
99
|
+
}, g = (a) => {
|
|
100
|
+
typeof a == "boolean" ? v.value = a : v.value = !v.value, oe(() => {
|
|
101
|
+
!v.value && k.value && b(r.value) !== D && V(r.value, D, 180, h.cookieDomain ?? location.hostname);
|
|
102
|
+
});
|
|
103
|
+
}, w = O(!1), x = (a) => {
|
|
104
|
+
typeof a == "boolean" ? w.value = a : w.value = !w.value;
|
|
105
|
+
}, T = () => k.value ? b(r.value) !== D : (b(r.value) ?? "0") === je, B = () => k.value ? b(r.value) === D : b(r.value) === j;
|
|
106
|
+
P(() => {
|
|
107
|
+
T() && g(!0);
|
|
108
|
+
}), q(C, () => {
|
|
109
|
+
g(T());
|
|
110
|
+
});
|
|
111
|
+
const I = () => {
|
|
112
|
+
f.value = !0, V(r.value, j, 180, h.cookieDomain ?? location.hostname), g(!1);
|
|
113
|
+
}, R = () => {
|
|
114
|
+
f.value = !1, V(r.value, Ge, 180, h.cookieDomain ?? location.hostname), g(!1);
|
|
115
|
+
}, z = () => {
|
|
116
|
+
f.value ? I() : R(), x(!1);
|
|
117
|
+
}, K = () => {
|
|
118
|
+
f.value = !0, I(), x(!1);
|
|
119
|
+
}, L = () => {
|
|
120
|
+
f.value = B();
|
|
121
|
+
};
|
|
122
|
+
return l({
|
|
123
|
+
check() {
|
|
124
|
+
B() === v.value && g();
|
|
125
|
+
}
|
|
126
|
+
}), (a, s) => (_(), U(e(de), null, {
|
|
127
|
+
default: d(() => [
|
|
128
|
+
(_(), U(J, {
|
|
129
|
+
to: n.wrapper || "#app"
|
|
130
|
+
}, [
|
|
131
|
+
e(v) ? (_(), S("div", ye, [
|
|
132
|
+
t("div", ve, [
|
|
133
|
+
t("div", {
|
|
134
|
+
type: e(C),
|
|
135
|
+
class: Q({ "cookie-notice-wrap-grid": n.enableGrid, "cookie-notice-wrap": !n.enableGrid })
|
|
136
|
+
}, [
|
|
137
|
+
t("div", _e, [
|
|
138
|
+
k.value ? (_(), S("p", Ce, [
|
|
139
|
+
m(i(e(o)("cookie.desc")) + " ", 1),
|
|
140
|
+
t("a", {
|
|
141
|
+
href: n.detailUrl,
|
|
142
|
+
target: "_blank",
|
|
143
|
+
rel: "noopener noreferrer"
|
|
144
|
+
}, i(e(o)("cookie.about")), 9, be)
|
|
145
|
+
])) : (_(), S(X, { key: 1 }, [
|
|
146
|
+
t("p", we, i(e(o)("cookie.title", [n.community])), 1),
|
|
147
|
+
t("p", Ae, [
|
|
148
|
+
m(i(e(o)("cookie.desc")) + " ", 1),
|
|
149
|
+
t("a", {
|
|
150
|
+
href: n.detailUrl,
|
|
151
|
+
target: "_blank",
|
|
152
|
+
rel: "noopener noreferrer"
|
|
153
|
+
}, i(e(o)("cookie.about")), 9, Ee),
|
|
154
|
+
s[4] || (s[4] = m(". ", -1))
|
|
155
|
+
])
|
|
156
|
+
], 64))
|
|
157
|
+
]),
|
|
158
|
+
k.value ? $("", !0) : (_(), S("div", Se, [
|
|
159
|
+
p(e(A), {
|
|
160
|
+
round: "",
|
|
161
|
+
type: "primary",
|
|
162
|
+
onClick: I
|
|
163
|
+
}, {
|
|
164
|
+
default: d(() => [
|
|
165
|
+
m(i(e(o)("cookie.acceptAll")), 1)
|
|
166
|
+
]),
|
|
167
|
+
_: 1
|
|
168
|
+
}),
|
|
169
|
+
p(e(A), {
|
|
170
|
+
round: "",
|
|
171
|
+
type: "primary",
|
|
172
|
+
onClick: R
|
|
173
|
+
}, {
|
|
174
|
+
default: d(() => [
|
|
175
|
+
m(i(e(o)("cookie.rejectAll")), 1)
|
|
176
|
+
]),
|
|
177
|
+
_: 1
|
|
178
|
+
}),
|
|
179
|
+
p(e(A), {
|
|
180
|
+
round: "",
|
|
181
|
+
type: "primary",
|
|
182
|
+
onClick: s[0] || (s[0] = (u) => x(!0))
|
|
183
|
+
}, {
|
|
184
|
+
default: d(() => [
|
|
185
|
+
m(i(e(o)("cookie.manage")), 1)
|
|
186
|
+
]),
|
|
187
|
+
_: 1
|
|
188
|
+
})
|
|
189
|
+
])),
|
|
190
|
+
p(e(ie), {
|
|
191
|
+
class: "cookie-notice-close",
|
|
192
|
+
type: e(C),
|
|
193
|
+
onClick: s[1] || (s[1] = (u) => g(!1))
|
|
194
|
+
}, {
|
|
195
|
+
default: d(() => [
|
|
196
|
+
ee(a.$slots, "close-icon", {}, () => [
|
|
197
|
+
s[5] || (s[5] = t("svg", {
|
|
198
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
199
|
+
viewBox: "0 0 1024 1024"
|
|
200
|
+
}, [
|
|
201
|
+
t("path", {
|
|
202
|
+
fill: "currentColor",
|
|
203
|
+
d: "M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"
|
|
204
|
+
})
|
|
205
|
+
], -1))
|
|
206
|
+
], !0)
|
|
207
|
+
]),
|
|
208
|
+
_: 3
|
|
209
|
+
}, 8, ["type"])
|
|
210
|
+
], 10, ge)
|
|
211
|
+
]),
|
|
212
|
+
p(e(le), {
|
|
213
|
+
modelValue: w.value,
|
|
214
|
+
"onUpdate:modelValue": s[3] || (s[3] = (u) => w.value = u),
|
|
215
|
+
width: e(E) ? "90%" : "50%",
|
|
216
|
+
title: e(o)("cookie.manage"),
|
|
217
|
+
"destroy-on-close": "",
|
|
218
|
+
onOpen: L
|
|
219
|
+
}, {
|
|
220
|
+
footer: d(() => [
|
|
221
|
+
p(e(A), {
|
|
222
|
+
round: "",
|
|
223
|
+
type: "primary",
|
|
224
|
+
onClick: z,
|
|
225
|
+
style: { "margin-right": "16px" }
|
|
226
|
+
}, {
|
|
227
|
+
default: d(() => [
|
|
228
|
+
m(i(e(o)("cookie.saveSetting")), 1)
|
|
229
|
+
]),
|
|
230
|
+
_: 1
|
|
231
|
+
}),
|
|
232
|
+
p(e(A), {
|
|
233
|
+
round: "",
|
|
234
|
+
type: "primary",
|
|
235
|
+
onClick: K
|
|
236
|
+
}, {
|
|
237
|
+
default: d(() => [
|
|
238
|
+
m(i(e(o)("cookie.acceptAll")), 1)
|
|
239
|
+
]),
|
|
240
|
+
_: 1
|
|
241
|
+
})
|
|
242
|
+
]),
|
|
243
|
+
default: d(() => [
|
|
244
|
+
t("div", De, [
|
|
245
|
+
t("div", Oe, [
|
|
246
|
+
t("div", Ve, [
|
|
247
|
+
t("span", xe, i(e(o)("cookie.necessaryCookie")), 1),
|
|
248
|
+
t("span", Ie, i(e(o)("cookie.alwaysOn")), 1)
|
|
249
|
+
]),
|
|
250
|
+
t("div", Ne, i(e(o)("cookie.necessaryCookieDetail")), 1)
|
|
251
|
+
]),
|
|
252
|
+
t("div", Te, [
|
|
253
|
+
t("div", Be, [
|
|
254
|
+
t("span", Re, i(e(o)("cookie.analyticalCookie")), 1),
|
|
255
|
+
t("span", Ue, [
|
|
256
|
+
p(e(ae), {
|
|
257
|
+
modelValue: f.value,
|
|
258
|
+
"onUpdate:modelValue": s[2] || (s[2] = (u) => f.value = u)
|
|
259
|
+
}, null, 8, ["modelValue"])
|
|
260
|
+
])
|
|
261
|
+
]),
|
|
262
|
+
t("div", $e, i(e(o)("cookie.analyticalCookieDetail")), 1)
|
|
263
|
+
])
|
|
264
|
+
])
|
|
265
|
+
]),
|
|
266
|
+
_: 1
|
|
267
|
+
}, 8, ["modelValue", "width", "title"])
|
|
268
|
+
])) : $("", !0)
|
|
269
|
+
], 8, ["to"]))
|
|
270
|
+
]),
|
|
271
|
+
_: 3
|
|
272
|
+
}));
|
|
273
|
+
}
|
|
274
|
+
}), Qe = /* @__PURE__ */ re(Ke, [["__scopeId", "data-v-f3d20b01"]]);
|
|
275
|
+
export {
|
|
276
|
+
de as C,
|
|
277
|
+
Qe as O,
|
|
278
|
+
re as _,
|
|
279
|
+
me as c,
|
|
280
|
+
fe as u
|
|
281
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
atom?(_: {}): any;
|
|
5
|
+
quickNav?(_: {}): any;
|
|
6
|
+
friendshipLink?(_: {}): any;
|
|
7
|
+
footer?(_: {}): any;
|
|
8
|
+
left?(_: {}): any;
|
|
9
|
+
left?(_: {}): any;
|
|
10
|
+
right?(_: {}): any;
|
|
11
|
+
right?(_: {}): any;
|
|
12
|
+
copyright?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: HTMLDivElement;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('../../vue/dist/vue.esm-bundler.js').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('../../vue/dist/vue.esm-bundler.js').PublicProps>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
+
new (): {
|
|
23
|
+
$slots: S;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface OHeaderT {
|
|
2
|
+
(e: 'go-home'): void;
|
|
3
|
+
}
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
logo?(_: {}): any;
|
|
8
|
+
nav?(_: {}): any;
|
|
9
|
+
nav?(_: {}): any;
|
|
10
|
+
toolbar?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('../../vue/dist/vue.esm-bundler.js').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('../../vue/dist/vue.esm-bundler.js').PublicProps>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface OHeaderT {
|
|
2
|
+
(e: 'go-back'): void;
|
|
3
|
+
(e: 'go-home'): void;
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
rightConfig?(_: {}): any;
|
|
9
|
+
tool?(_: {}): any;
|
|
10
|
+
logo?(_: {}): any;
|
|
11
|
+
toolbar?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
refs: {
|
|
14
|
+
mobileNav: import('../../vue/dist/vue.esm-bundler.js').CreateComponentPublicInstanceWithMixins<Record<string, any> & {}, {}, {}, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, import('../../vue/dist/vue.esm-bundler.js').PublicProps, {}, false, {}, {}, {}, {}, string, {}, any, import('../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, {
|
|
15
|
+
P: {};
|
|
16
|
+
B: {};
|
|
17
|
+
D: {};
|
|
18
|
+
C: {};
|
|
19
|
+
M: {};
|
|
20
|
+
Defaults: {};
|
|
21
|
+
}, Record<string, any> & {}, {}, {}, {}, {}, {}> | null;
|
|
22
|
+
};
|
|
23
|
+
rootEl: HTMLDivElement;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
+
declare const __VLS_component: import('../../vue/dist/vue.esm-bundler.js').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('../../vue/dist/vue.esm-bundler.js').PublicProps>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
28
|
+
export default _default;
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
interface UserInfoT {
|
|
2
|
+
photo: string;
|
|
3
|
+
username: string;
|
|
4
|
+
}
|
|
5
|
+
interface OptionsItemT {
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
icon?: string;
|
|
9
|
+
url: string;
|
|
10
|
+
target: string;
|
|
11
|
+
total: number;
|
|
12
|
+
logout: boolean;
|
|
13
|
+
}
|
|
14
|
+
interface UserPropsT {
|
|
15
|
+
token?: string;
|
|
16
|
+
lang?: string;
|
|
17
|
+
noticeTotal?: number;
|
|
18
|
+
userInfo?: UserInfoT;
|
|
19
|
+
userInfoVisible?: boolean;
|
|
20
|
+
options?: OptionsItemT[];
|
|
21
|
+
}
|
|
22
|
+
export interface OHeaderUserEmitsT {
|
|
23
|
+
(e: 'login'): void;
|
|
24
|
+
(e: 'logout'): void;
|
|
25
|
+
}
|
|
26
|
+
declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<UserPropsT, {}, {}, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
27
|
+
login: () => any;
|
|
28
|
+
logout: () => any;
|
|
29
|
+
}, string, import('../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<UserPropsT> & Readonly<{
|
|
30
|
+
onLogin?: (() => any) | undefined;
|
|
31
|
+
onLogout?: (() => any) | undefined;
|
|
32
|
+
}>, {
|
|
33
|
+
options: OptionsItemT[];
|
|
34
|
+
lang: string;
|
|
35
|
+
token: string;
|
|
36
|
+
noticeTotal: number;
|
|
37
|
+
userInfo: UserInfoT;
|
|
38
|
+
userInfoVisible: boolean;
|
|
39
|
+
}, {}, {}, {}, string, import('../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
40
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface CodeItemT {
|
|
2
|
+
label: string;
|
|
3
|
+
url: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
}
|
|
6
|
+
interface CodePropsT {
|
|
7
|
+
title?: string;
|
|
8
|
+
options?: CodeItemT[];
|
|
9
|
+
url?: string;
|
|
10
|
+
icon?: string;
|
|
11
|
+
justify?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: import('../../vue/dist/vue.esm-bundler.js').DefineComponent<CodePropsT, {}, {}, {}, {}, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<CodePropsT> & Readonly<{}>, {
|
|
14
|
+
title: string;
|
|
15
|
+
options: CodeItemT[];
|
|
16
|
+
icon: string;
|
|
17
|
+
url: string;
|
|
18
|
+
justify: string;
|
|
19
|
+
}, {}, {}, {}, string, import('../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventsApplyPropsT } from './types.ts';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Partial<Record<`step${number}`, (_: {}) => any>>;
|
|
5
|
+
refs: {};
|
|
6
|
+
rootEl: HTMLDivElement;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
+
declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<EventsApplyPropsT, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { CalendarItemT, EventsCalendarPropsT } from './types';
|
|
2
|
+
declare const _default: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<EventsCalendarPropsT, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<EventsCalendarPropsT> & Readonly<{}>, {
|
|
3
|
+
data: CalendarItemT[];
|
|
4
|
+
}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventsCardItemT, EventsListPropsT, SearchParamsT } from './types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: Readonly<{
|
|
5
|
+
empty?: () => any;
|
|
6
|
+
}> & {
|
|
7
|
+
empty?: () => any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('../../../vue/dist/vue.esm-bundler.js').DefineComponent<EventsListPropsT, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
14
|
+
search: (params: SearchParamsT) => any;
|
|
15
|
+
}, string, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, Readonly<EventsListPropsT> & Readonly<{
|
|
16
|
+
onSearch?: ((params: SearchParamsT) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
data: EventsCardItemT[];
|
|
19
|
+
}, {}, {}, {}, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare const EVENTS_COLOR_MAP: {
|
|
2
|
+
summit: string;
|
|
3
|
+
events: string;
|
|
4
|
+
competition: string;
|
|
5
|
+
release: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const EVENTS_ICON_MAP: {
|
|
8
|
+
events: any;
|
|
9
|
+
competition: any;
|
|
10
|
+
release: any;
|
|
11
|
+
summit: any;
|
|
12
|
+
};
|
|
13
|
+
export declare const CITY_MAP: {
|
|
14
|
+
上海: any;
|
|
15
|
+
北京: any;
|
|
16
|
+
南京: any;
|
|
17
|
+
天津: any;
|
|
18
|
+
成都: any;
|
|
19
|
+
无锡: any;
|
|
20
|
+
杭州: any;
|
|
21
|
+
深圳: any[];
|
|
22
|
+
苏州: any;
|
|
23
|
+
西安: any;
|
|
24
|
+
郑州: any;
|
|
25
|
+
武汉: any;
|
|
26
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { App } from '../../../vue/dist/vue.esm-bundler.js';
|
|
2
|
+
declare const OEventsCalendar: {
|
|
3
|
+
new (...args: any[]): import('../../../vue/dist/vue.esm-bundler.js').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, {
|
|
4
|
+
data: import('./types').CalendarItemT[];
|
|
5
|
+
}, false, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, {}, HTMLDivElement, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, {
|
|
6
|
+
P: {};
|
|
7
|
+
B: {};
|
|
8
|
+
D: {};
|
|
9
|
+
C: {};
|
|
10
|
+
M: {};
|
|
11
|
+
Defaults: {};
|
|
12
|
+
}, Readonly<import('./types').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, {
|
|
13
|
+
data: import('./types').CalendarItemT[];
|
|
14
|
+
}>;
|
|
15
|
+
__isFragment?: never;
|
|
16
|
+
__isTeleport?: never;
|
|
17
|
+
__isSuspense?: never;
|
|
18
|
+
} & import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('./types').EventsCalendarPropsT> & Readonly<{}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, {
|
|
19
|
+
data: import('./types').CalendarItemT[];
|
|
20
|
+
}, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps & {
|
|
21
|
+
install(app: App): void;
|
|
22
|
+
};
|
|
23
|
+
declare const OEventsList: {
|
|
24
|
+
new (...args: any[]): import('../../../vue/dist/vue.esm-bundler.js').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').EventsListPropsT> & Readonly<{
|
|
25
|
+
onSearch?: ((params: import('./types').SearchParamsT) => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
27
|
+
search: (params: import('./types').SearchParamsT) => any;
|
|
28
|
+
}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, {
|
|
29
|
+
data: import('./types').EventsCardItemT[];
|
|
30
|
+
}, false, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, {}, HTMLDivElement, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, {
|
|
31
|
+
P: {};
|
|
32
|
+
B: {};
|
|
33
|
+
D: {};
|
|
34
|
+
C: {};
|
|
35
|
+
M: {};
|
|
36
|
+
Defaults: {};
|
|
37
|
+
}, Readonly<import('./types').EventsListPropsT> & Readonly<{
|
|
38
|
+
onSearch?: ((params: import('./types').SearchParamsT) => any) | undefined;
|
|
39
|
+
}>, {}, {}, {}, {}, {
|
|
40
|
+
data: import('./types').EventsCardItemT[];
|
|
41
|
+
}>;
|
|
42
|
+
__isFragment?: never;
|
|
43
|
+
__isTeleport?: never;
|
|
44
|
+
__isSuspense?: never;
|
|
45
|
+
} & import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('./types').EventsListPropsT> & Readonly<{
|
|
46
|
+
onSearch?: ((params: import('./types').SearchParamsT) => any) | undefined;
|
|
47
|
+
}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {} & {
|
|
48
|
+
search: (params: import('./types').SearchParamsT) => any;
|
|
49
|
+
}, string, {
|
|
50
|
+
data: import('./types').EventsCardItemT[];
|
|
51
|
+
}, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps & (new () => {
|
|
52
|
+
$slots: Readonly<{
|
|
53
|
+
empty?: () => any;
|
|
54
|
+
}> & {
|
|
55
|
+
empty?: () => any;
|
|
56
|
+
};
|
|
57
|
+
}) & {
|
|
58
|
+
install(app: App): void;
|
|
59
|
+
};
|
|
60
|
+
declare const OEventsApply: {
|
|
61
|
+
new (...args: any[]): import('../../../vue/dist/vue.esm-bundler.js').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, import('../../../vue/dist/vue.esm-bundler.js').PublicProps, {}, false, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, {}, HTMLDivElement, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions, {
|
|
62
|
+
P: {};
|
|
63
|
+
B: {};
|
|
64
|
+
D: {};
|
|
65
|
+
C: {};
|
|
66
|
+
M: {};
|
|
67
|
+
Defaults: {};
|
|
68
|
+
}, Readonly<import('./types').EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
69
|
+
__isFragment?: never;
|
|
70
|
+
__isTeleport?: never;
|
|
71
|
+
__isSuspense?: never;
|
|
72
|
+
} & import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsBase<Readonly<import('./types').EventsApplyPropsT> & Readonly<{}>, {}, {}, {}, {}, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, import('../../../vue/dist/vue.esm-bundler.js').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('../../../vue/dist/vue.esm-bundler.js').GlobalComponents, import('../../../vue/dist/vue.esm-bundler.js').GlobalDirectives, string, import('../../../vue/dist/vue.esm-bundler.js').ComponentProvideOptions> & import('../../../vue/dist/vue.esm-bundler.js').VNodeProps & import('../../../vue/dist/vue.esm-bundler.js').AllowedComponentProps & import('../../../vue/dist/vue.esm-bundler.js').ComponentCustomProps & (new () => {
|
|
73
|
+
$slots: Partial<Record<`step${number}`, (_: {}) => any>>;
|
|
74
|
+
}) & {
|
|
75
|
+
install(app: App): void;
|
|
76
|
+
};
|
|
77
|
+
export { OEventsCalendar, OEventsList, OEventsApply };
|
|
78
|
+
export * from './types';
|