@opendesign-plus-test/components 0.0.1-rc.2
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/components.cjs.js +1 -0
- package/dist/components.css +1 -0
- package/dist/components.es.js +1193 -0
- package/dist/components.umd.js +1 -0
- package/docs/design.md +27 -0
- package/docs/design_banner.md +41 -0
- package/docs/design_section.md +27 -0
- package/package.json +47 -0
- package/scripts/generate-components-index.js +81 -0
- package/src/assets/svg-icons/icon-chevron-right.svg +3 -0
- package/src/assets/svg-icons/icon-close.svg +3 -0
- package/src/assets/svg-icons/icon-delete.svg +3 -0
- package/src/assets/svg-icons/icon-header-back.svg +3 -0
- package/src/assets/svg-icons/icon-header-delete.svg +3 -0
- package/src/assets/svg-icons/icon-header-search.svg +4 -0
- package/src/assets/svg-icons/icon-moon.svg +3 -0
- package/src/assets/svg-icons/icon-sun.svg +3 -0
- package/src/components/OBanner.vue +390 -0
- package/src/components/OCookieNotice.vue +417 -0
- package/src/components/OCookieNoticeEl.vue +403 -0
- package/src/components/OHeaderSearch.vue +601 -0
- package/src/components/OPlusConfigProvider.vue +32 -0
- package/src/components/OSection.vue +178 -0
- package/src/components/OThemeSwitcher.vue +108 -0
- package/src/components/common/ClientOnlyWrapper.ts +21 -0
- package/src/components/common/ContentWrapper.vue +85 -0
- package/src/draft/Banner.vue +265 -0
- package/src/draft/ButtonCards.vue +106 -0
- package/src/draft/Feature.vue +134 -0
- package/src/draft/Footer.vue +512 -0
- package/src/draft/HorizontalAnchor.vue +165 -0
- package/src/draft/ItemSwiper.vue +133 -0
- package/src/draft/Logo.vue +141 -0
- package/src/draft/LogoCard.vue +75 -0
- package/src/draft/LogoV2.vue +19 -0
- package/src/draft/MainCard.vue +38 -0
- package/src/draft/MultiCard.vue +95 -0
- package/src/draft/MultiIconCard.vue +74 -0
- package/src/draft/OInfoCard.vue +176 -0
- package/src/draft/Process.vue +81 -0
- package/src/draft/Section.vue +167 -0
- package/src/draft/SingleTabCard.vue +85 -0
- package/src/draft/SliderCard.vue +110 -0
- package/src/env.d.ts +1 -0
- package/src/i18n/en.ts +20 -0
- package/src/i18n/index.ts +42 -0
- package/src/i18n/zh.ts +9 -0
- package/src/index.ts +34 -0
- package/src/shared/provide.ts +6 -0
- package/src/vue.d.ts +10 -0
- package/tsconfig.json +33 -0
- package/vite.config.ts +90 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(u,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("@opensig/opendesign"),require("@opendesign-plus/composables"),require("@vueuse/core"),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")):typeof define=="function"&&define.amd?define(["exports","vue","@opensig/opendesign","@opendesign-plus/composables","@vueuse/core","element-plus","element-plus/es/components/button/style/index","element-plus/es/components/dialog/style/index","element-plus/es/components/switch/style/index","element-plus/es/components/icon/style/index"],e):(u=typeof globalThis<"u"?globalThis:u||self,e(u.OpenDesignPlusComponents={},u.Vue,u.OpenDesign,u.OpenDesignPlusComposables,u.VueUse,u.ElementPlus))})(this,(function(u,e,i,D,T,S){"use strict";const ee=e.defineComponent({__name:"ContentWrapper",props:{verticalPadding:{type:[Boolean,String,Array],default:void 0}},setup(t){const o=Symbol("default"),n=t,p=e.computed(()=>n.verticalPadding?i.isBoolean(n.verticalPadding)?o:i.isString(n.verticalPadding)?n.verticalPadding:n.verticalPadding[0]:0),r=e.computed(()=>n.verticalPadding?i.isBoolean(n.verticalPadding)?o:i.isString(n.verticalPadding)?n.verticalPadding:i.isUndefined(n.verticalPadding[1])?n.verticalPadding[0]:n.verticalPadding[1]:0);return(f,k)=>(e.openBlock(),e.createElementBlock("div",{class:"content-wrapper",style:e.normalizeStyle({"--content-wrapper-vertical-paddingTop":p.value===e.unref(o)?void 0:p.value,"--content-wrapper-vertical-paddingBottom":r.value===e.unref(o)?void 0:r.value})},[e.renderSlot(f.$slots,"default",{},void 0,!0)],4))}}),I=(t,o)=>{const n=t.__vccOpts||t;for(const[p,r]of o)n[p]=r;return n},R=I(ee,[["__scopeId","data-v-29de9f52"]]),te={key:0},oe={class:"banner-content"},ne=["src"],le={key:1,class:"banner-title"},ae={key:2,class:"banner-subtitle"},ce={key:4,class:"banner-opts"},L=I(e.defineComponent({__name:"OBanner",props:{options:void 0,size:"large",contentJustifyCenter:!1},setup(t){const o=t,{isLight:n}=D.useTheme("opendesignplus",document.domain||"localhost"),{isPhone:p}=D.useScreen(),r=e.computed(()=>o.options),f=e.ref(""),k=c=>{setTimeout(()=>{f.value=r.value[c].bg_theme??"light"},100)},l=(c,h)=>{c&&!h&&window.open(c)};return(c,h)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["home-banner",t.size])},[t.size==="tiny"?(e.openBlock(),e.createElementBlock("div",te,e.toDisplayString(r.value[1].title),1)):e.unref(p)?(e.openBlock(),e.createBlock(e.unref(i.OCarousel),{key:2,class:"banner-carousel",effect:"gallery","indicator-click":"","data-o-theme":f.value,arrow:"never","auto-play":!0,onBeforeChange:k},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(a,y)=>(e.openBlock(),e.createBlock(e.unref(i.OCarouselItem),{class:e.normalizeClass(["banner-item",`banner-item${y}`])},{default:e.withCtx(()=>[e.createVNode(R,{class:"banner-wrapper"},{default:e.withCtx(()=>[e.createVNode(e.unref(i.OFigure),{class:"banner-bg",src:a.bg,onClick:C=>l(a.href)},null,8,["src","onClick"])]),_:2},1024)]),_:2},1032,["class"]))),256))]),_:1},8,["data-o-theme"])):(e.openBlock(),e.createBlock(e.unref(i.OCarousel),{key:1,class:"banner-carousel",effect:"toggle","active-class":"current-slide","indicator-click":"","auto-play":!0,"data-o-theme":f.value,onBeforeChange:k},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,(a,y)=>(e.openBlock(),e.createBlock(e.unref(i.OCarouselItem),{key:y,class:e.normalizeClass(["banner-item",`banner-item${y}`])},{default:e.withCtx(()=>[e.createVNode(e.unref(i.OFigure),{class:e.normalizeClass(["banner-bg",{"with-sticky-bg":a.withStickyBg,"in-dark":!e.unref(n),"cursor-pointer":a.href&&!a.btn}]),src:a.bg,style:e.normalizeStyle({"--pad-offset":a.pad_offset}),onClick:C=>l(a.href,a.btn)},{default:e.withCtx(()=>[e.createVNode(R,{class:e.normalizeClass(["banner-wrapper",["banner-wrapper",t.contentJustifyCenter?"content-center":""]])},{default:e.withCtx(()=>[e.createElementVNode("div",oe,[!e.unref(p)&&a.attach?(e.openBlock(),e.createElementBlock("img",{key:0,src:a.attach,class:"banner-attach"},null,8,ne)):e.createCommentVNode("",!0),a.title?(e.openBlock(),e.createElementBlock("div",le,e.toDisplayString(a.title),1)):e.createCommentVNode("",!0),a.subtitle?(e.openBlock(),e.createElementBlock("div",ae,e.toDisplayString(a.subtitle),1)):e.createCommentVNode("",!0),a.bg_text?(e.openBlock(),e.createElementBlock("div",{key:3,class:"banner-text",style:e.normalizeStyle({backgroundImage:`url(${a.bg_text})`,"--pc-width":a.pc_text_width,"--pc-height":a.pc_text_height,"--pad-width":a.pad_text_width,"--pad-height":a.pad_text_height})},null,4)):e.createCommentVNode("",!0),a.btn?(e.openBlock(),e.createElementBlock("div",ce,[e.createVNode(e.unref(i.OButton),{href:a.href,target:"_blank",variant:"solid",color:"primary",size:t.size},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.btn),1)]),_:2},1032,["href","size"])])):e.createCommentVNode("",!0)])]),_:2},1032,["class"])]),_:2},1032,["src","class","style","onClick"])]),_:2},1032,["class"]))),128))]),_:1},8,["data-o-theme"]))],2))}}),[["__scopeId","data-v-a5902620"]]),re=t=>{const o=e.ref(!1);return e.onMounted(()=>{o.value=!0}),()=>o.value&&t.default?t.default():null},G=e.defineComponent({setup(t,{slots:o}){const n=e.resolveComponent("ClientOnly");return n&&typeof n!="string"?()=>e.h(n,null,{default:()=>o.default?o.default():null}):re(o)}}),se={search:"搜索","search.hot":"热门搜索","search.placeholder":"搜索","search.expandedPlaceholder":"请输入搜索内容","search.history":"历史搜索","cookie.desc":"我们使用cookie来确保您的高速浏览体验。继续浏览本站,即表示您同意我们使用cookie。","cookie.about":"查看详情"},ie={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"},F=Symbol("provide-config-provider"),de=e.ref({zh:se,en:ie});function M(){const o=e.getCurrentInstance()?e.inject(F):null,n=e.computed(()=>(o==null?void 0:o.locale)||"zh");return{locale:n,t:(r,...f)=>{const l=de.value[n.value][r];return f.length>0&&i.isString(l)?l.replace(/{(\d+)}/g,(c,h)=>f[h]??c):(i.isUndefined(l)&&console.warn(`Cannot translate the value of keypath '${r}'`),l)}}}const he={key:0,class:"cookie-notice"},me={class:"cookie-notice-content"},fe=["type"],pe={class:"cookie-notice-left"},ke={key:0,class:"cookie-desc",style:{"margin-top":"0"}},ye=["href"],ge={class:"cookie-title"},ue={class:"cookie-desc"},Ce=["href"],_e={key:0,class:"cookie-notice-right"},Ve={class:"cookie-dlg-title"},we={class:"cookie-dlg-content"},Be={class:"content-item"},Ne={class:"item-header"},Ee={class:"item-title"},$e={class:"item-extra"},be={class:"item-detail"},Se={class:"content-item"},xe={class:"item-header"},Oe={class:"item-title"},Ie={class:"item-extra"},De={class:"item-detail"},ze="0",j="1",Ae="2",z="3",Te="agreed-cookiepolicy-zh",Me="agreed-cookiepolicy-en",q=I(e.defineComponent({__name:"OCookieNotice",props:{visible:{type:Boolean},enableGrid:{type:Boolean},community:{},aboutPathZh:{},aboutPathEn:{}},emits:["update:visible"],setup(t,{emit:o}){const p=t,r=o,{lePadV:f,leLaptop:k}=D.useScreen(),{locale:l,t:c}=M(),h=e.computed(()=>l.value==="zh"),a=e.computed(()=>h.value?Te:Me),y=e.ref(!1),C=T.useVModel(p,"visible",r,{defaultValue:!1}),_=d=>{const m=document.cookie.split(";").find(N=>N.split("=")[0].trim()===encodeURIComponent(d));return m?decodeURIComponent(m.split("=")[1]):null},B=(d,m,N,K)=>{const eo=`; max-age=${N*24*60*60}`;document.cookie=`${encodeURIComponent(d)}=${encodeURIComponent(m)}${eo}; path=/; domain=${K}`},E=(d,m)=>{document.cookie=`${encodeURIComponent(d)}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/; domain=${m}`},w=d=>{typeof d=="boolean"?C.value=d:C.value=!C.value,e.nextTick(()=>{!C.value&&h.value&&_(a.value)!==z&&B(a.value,z,180,location.hostname)})},$=e.ref(!1),x=d=>{typeof d=="boolean"?$.value=d:$.value=!$.value},s=()=>h.value?_(a.value)!==z:(_(a.value)??"0")===ze,b=()=>h.value?_(a.value)===z:_(a.value)===j;e.onMounted(()=>{s()&&(w(!0),h.value&&_(a.value)!==z&&B(a.value,z,180,void 0))});const g=()=>{y.value=!0,E(a.value,location.hostname),B(a.value,j,180,location.hostname),w(!1)},O=()=>{y.value=!1,E(a.value,location.hostname),B(a.value,Ae,180,location.hostname),w(!1)},H=[{id:"save",color:"primary",label:c("cookie.saveSetting"),variant:"outline",size:"large",round:"pill",onClick:()=>{y.value?g():O(),x(!1)}},{id:"allowAll",color:"primary",label:c("cookie.acceptAll"),variant:"outline",size:"large",round:"pill",onClick:()=>{y.value=!0,g(),x(!1)}}],V=d=>{d&&(y.value=b())};return(d,m)=>(e.openBlock(),e.createBlock(e.unref(G),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:"#app"},[e.unref(C)?(e.openBlock(),e.createElementBlock("div",he,[e.createElementVNode("div",me,[e.createElementVNode("div",{type:e.unref(l),class:e.normalizeClass({"cookie-notice-wrap-grid":t.enableGrid,"cookie-notice-wrap":!t.enableGrid})},[e.createElementVNode("div",pe,[h.value?(e.openBlock(),e.createElementBlock("p",ke,[e.createTextVNode(e.toDisplayString(e.unref(c)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:t.aboutPathZh,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(c)("cookie.about")),9,ye)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("p",ge,e.toDisplayString(e.unref(c)("cookie.title",[t.community])),1),e.createElementVNode("p",ue,[e.createTextVNode(e.toDisplayString(e.unref(c)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:t.aboutPathEn,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(c)("cookie.about")),9,Ce),m[4]||(m[4]=e.createTextVNode(". ",-1))])],64))]),h.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",_e,[e.createVNode(e.unref(i.OButton),{round:"pill",variant:"outline",color:"primary",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("cookie.acceptAll")),1)]),_:1}),e.createVNode(e.unref(i.OButton),{round:"pill",variant:"outline",color:"primary",onClick:O},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("cookie.rejectAll")),1)]),_:1}),e.createVNode(e.unref(i.OButton),{round:"pill",variant:"outline",color:"primary",onClick:m[0]||(m[0]=N=>x(!0))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(c)("cookie.manage")),1)]),_:1})])),e.createVNode(e.unref(i.OIcon),{class:"cookie-notice-close",type:e.unref(l),onClick:m[1]||(m[1]=N=>w(!1))},{default:e.withCtx(()=>[e.createVNode(e.unref(i.OIconClose))]),_:1},8,["type"])],10,fe)]),e.createVNode(e.unref(i.ODialog),{visible:$.value,"onUpdate:visible":m[3]||(m[3]=N=>$.value=N),size:e.unref(k)?"medium":"large","phone-half-full":e.unref(f),class:"cookie-dlg",actions:H,onChange:V},{header:e.withCtx(()=>[e.createElementVNode("span",Ve,e.toDisplayString(e.unref(c)("cookie.manage")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",we,[e.createElementVNode("div",Be,[e.createElementVNode("div",Ne,[e.createElementVNode("span",Ee,e.toDisplayString(e.unref(c)("cookie.necessaryCookie")),1),e.createElementVNode("span",$e,e.toDisplayString(e.unref(c)("cookie.alwaysOn")),1)]),e.createElementVNode("div",be,e.toDisplayString(e.unref(c)("cookie.necessaryCookieDetail")),1)]),e.createElementVNode("div",Se,[e.createElementVNode("div",xe,[e.createElementVNode("span",Oe,e.toDisplayString(e.unref(c)("cookie.analyticalCookie")),1),e.createElementVNode("span",Ie,[e.createVNode(e.unref(i.OSwitch),{modelValue:y.value,"onUpdate:modelValue":m[2]||(m[2]=N=>y.value=N)},null,8,["modelValue"])])]),e.createElementVNode("div",De,e.toDisplayString(e.unref(c)("cookie.analyticalCookieDetail")),1)])])]),_:1},8,["visible","size","phone-half-full"])])):e.createCommentVNode("",!0)]))]),_:1}))}}),[["__scopeId","data-v-1e847d29"]]),Pe={key:0,class:"cookie-notice"},Ue={class:"cookie-notice-content"},He=["type"],Ke={class:"cookie-notice-left"},Re={key:0,class:"cookie-desc",style:{"margin-top":"0"}},Le=["href"],Ge={class:"cookie-title"},Fe={class:"cookie-desc"},je=["href"],qe={key:0,class:"cookie-notice-right"},Ye={class:"cookie-dlg-content"},Je={class:"content-item"},We={class:"item-header"},Ze={class:"item-title"},Qe={class:"item-extra"},Xe={class:"item-detail"},ve={class:"content-item"},et={class:"item-header"},tt={class:"item-title"},ot={class:"item-extra"},nt={class:"item-detail"},lt="0",Y="1",at="2",A="3",ct="agreed-cookiepolicy-zh",rt="agreed-cookiepolicy-en",J=I(e.defineComponent({__name:"OCookieNoticeEl",props:{visible:{type:Boolean},enableGrid:{type:Boolean},community:{},aboutPathZh:{},aboutPathEn:{}},emits:["update:visible"],setup(t,{emit:o}){const p=t,r=o,{lePadV:f}=D.useScreen(),{locale:k,t:l}=M(),c=e.computed(()=>k.value==="zh"),h=e.computed(()=>c.value?ct:rt),a=e.ref(!1),y=T.useVModel(p,"visible",r,{defaultValue:!1}),C=V=>{const d=document.cookie.split(";").find(m=>m.split("=")[0].trim()===encodeURIComponent(V));return d?decodeURIComponent(d.split("=")[1]):null},_=(V,d,m,N)=>{const K=`; max-age=${m*24*60*60}`;document.cookie=`${encodeURIComponent(V)}=${encodeURIComponent(d)}${K}; path=/; domain=${N}`},B=V=>{typeof V=="boolean"?y.value=V:y.value=!y.value,e.nextTick(()=>{!y.value&&c.value&&C(h.value)!==A&&_(h.value,A,180,location.hostname)})},E=e.ref(!1),w=V=>{typeof V=="boolean"?E.value=V:E.value=!E.value},$=()=>c.value?C(h.value)!==A:(C(h.value)??"0")===lt,x=()=>c.value?C(h.value)===A:C(h.value)===Y;e.onMounted(()=>{$()&&(B(!0),c.value&&C(h.value)!==A&&_(h.value,A,180,void 0))});const s=()=>{a.value=!0,_(h.value,Y,180,location.hostname),B(!1)},b=()=>{a.value=!1,_(h.value,at,180,location.hostname),B(!1)},g=()=>{a.value?s():b(),w(!1)},O=()=>{a.value=!0,s(),w(!1)},H=()=>{a.value=x()};return(V,d)=>(e.openBlock(),e.createBlock(e.unref(G),null,{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.Teleport,{to:"#app"},[e.unref(y)?(e.openBlock(),e.createElementBlock("div",Pe,[e.createElementVNode("div",Ue,[e.createElementVNode("div",{type:e.unref(k),class:e.normalizeClass({"cookie-notice-wrap-grid":t.enableGrid,"cookie-notice-wrap":!t.enableGrid})},[e.createElementVNode("div",Ke,[c.value?(e.openBlock(),e.createElementBlock("p",Re,[e.createTextVNode(e.toDisplayString(e.unref(l)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:t.aboutPathZh,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(l)("cookie.about")),9,Le)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("p",Ge,e.toDisplayString(e.unref(l)("cookie.title",[t.community])),1),e.createElementVNode("p",Fe,[e.createTextVNode(e.toDisplayString(e.unref(l)("cookie.desc"))+" ",1),e.createElementVNode("a",{href:t.aboutPathEn,target:"_blank",rel:"noopener noreferrer"},e.toDisplayString(e.unref(l)("cookie.about")),9,je),d[4]||(d[4]=e.createTextVNode(". ",-1))])],64))]),c.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",qe,[e.createVNode(e.unref(S.ElButton),{round:"",type:"primary",onClick:s},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("cookie.acceptAll")),1)]),_:1}),e.createVNode(e.unref(S.ElButton),{round:"",type:"primary",onClick:b},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("cookie.rejectAll")),1)]),_:1}),e.createVNode(e.unref(S.ElButton),{round:"",type:"primary",onClick:d[0]||(d[0]=m=>w(!0))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("cookie.manage")),1)]),_:1})])),e.createVNode(e.unref(S.ElIcon),{class:"cookie-notice-close",type:e.unref(k),onClick:d[1]||(d[1]=m=>B(!1))},{default:e.withCtx(()=>[e.renderSlot(V.$slots,"close-icon",{},()=>[d[5]||(d[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,He)]),e.createVNode(e.unref(S.ElDialog),{modelValue:E.value,"onUpdate:modelValue":d[3]||(d[3]=m=>E.value=m),width:e.unref(f)?"90%":"50%",class:"cookie-dlg",title:e.unref(l)("cookie.manage"),"destroy-on-close":"",onOpen:H},{footer:e.withCtx(()=>[e.createVNode(e.unref(S.ElButton),{round:"",type:"primary",onClick:g,style:{"margin-right":"16px"}},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("cookie.saveSetting")),1)]),_:1}),e.createVNode(e.unref(S.ElButton),{round:"",type:"primary",onClick:O},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("cookie.acceptAll")),1)]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",Ye,[e.createElementVNode("div",Je,[e.createElementVNode("div",We,[e.createElementVNode("span",Ze,e.toDisplayString(e.unref(l)("cookie.necessaryCookie")),1),e.createElementVNode("span",Qe,e.toDisplayString(e.unref(l)("cookie.alwaysOn")),1)]),e.createElementVNode("div",Xe,e.toDisplayString(e.unref(l)("cookie.necessaryCookieDetail")),1)]),e.createElementVNode("div",ve,[e.createElementVNode("div",et,[e.createElementVNode("span",tt,e.toDisplayString(e.unref(l)("cookie.analyticalCookie")),1),e.createElementVNode("span",ot,[e.createVNode(e.unref(S.ElSwitch),{modelValue:a.value,"onUpdate:modelValue":d[2]||(d[2]=m=>a.value=m)},null,8,["modelValue"])])]),e.createElementVNode("div",nt,e.toDisplayString(e.unref(l)("cookie.analyticalCookieDetail")),1)])])]),_:1},8,["modelValue","width","title"])])):e.createCommentVNode("",!0)]))]),_:3}))}}),[["__scopeId","data-v-bec18f8e"]]),st={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function it(t,o){return e.openBlock(),e.createElementBlock("svg",st,[...o[0]||(o[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M18.528 5.472c0.246 0.246 0.271 0.63 0.074 0.903l-0.074 0.087-5.54 5.538 0.006 0.006-0.989 0.989-0.006-0.006-5.538 5.54c-0.273 0.273-0.717 0.273-0.99 0-0.246-0.246-0.271-0.63-0.074-0.903l0.074-0.087 5.538-5.539-5.538-5.538-0.074-0.087c-0.197-0.274-0.172-0.657 0.074-0.903s0.63-0.271 0.903-0.074l0.087 0.074 5.538 5.539 5.539-5.539c0.273-0.273 0.717-0.273 0.99 0zM14.551 13.561l3.978 3.978 0.074 0.087c0.197 0.274 0.172 0.657-0.074 0.903s-0.63 0.271-0.903 0.074l-0.087-0.074-3.978-3.978c-0.273-0.273-0.273-0.717 0-0.99v0c0.273-0.273 0.717-0.273 0.99 0z"},null,-1)])])}const dt={name:"components-icon-close",render:it},ht={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function mt(t,o){return e.openBlock(),e.createElementBlock("svg",ht,[...o[0]||(o[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M13.215 0.524c-7.048 0-12.762 5.714-12.762 12.762s5.714 12.762 12.762 12.762c7.048 0 12.762-5.714 12.762-12.762s-5.714-12.762-12.762-12.762zM13.215 2.809c5.786 0 10.476 4.69 10.476 10.476s-4.69 10.476-10.476 10.476c-5.786 0-10.476-4.69-10.476-10.476s4.69-10.476 10.476-10.476z"},null,-1),e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M23.33 23.22c0.446-0.447 1.169-0.448 1.616-0.002l4.771 4.759c0.447 0.446 0.448 1.169 0.002 1.616s-1.169 0.448-1.616 0.002l-4.771-4.759c-0.447-0.446-0.448-1.169-0.002-1.616z"},null,-1)])])}const W={name:"components-icon-header-search",render:mt},ft={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function pt(t,o){return e.openBlock(),e.createElementBlock("svg",ft,[...o[0]||(o[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M10.858 22.41c-0.349 0.349-0.915 0.349-1.263 0-0.314-0.314-0.345-0.804-0.094-1.153l0.094-0.111 5.146-5.15-5.177-5.178c-0.274-0.305-0.3-0.755-0.077-1.087l0.111-0.135c0.347-0.347 0.91-0.347 1.257 0l5.142 5.143 5.15-5.146c0.349-0.349 0.915-0.349 1.263 0 0.314 0.314 0.345 0.804 0.094 1.153l-0.094 0.111-11.552 11.552zM17.89 16.634l4.551 4.552c0.313 0.349 0.302 0.886-0.034 1.222-0.347 0.347-0.91 0.347-1.257 0l-4.516-4.518 1.256-1.256z"},null,-1)])])}const kt={name:"components-icon-header-delete",render:pt},yt={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function gt(t,o){return e.openBlock(),e.createElementBlock("svg",yt,[...o[0]||(o[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M19.154 5.295c0.387 0 0.7 0.313 0.7 0.7 0 0.354-0.263 0.647-0.605 0.694l-0.095 0.006-12.201-0.001 0.001 12.413c0 0.17 0.12 0.311 0.28 0.344l0.071 0.007h9.39c0.17 0 0.311-0.12 0.344-0.28l0.007-0.071v-10.47c0-0.387 0.313-0.7 0.7-0.7 0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v10.47c0 0.919-0.708 1.672-1.608 1.745l-0.144 0.006h-9.39c-0.919 0-1.672-0.708-1.745-1.608l-0.006-0.144-0.001-12.413-0.707 0.001c-0.387 0-0.7-0.313-0.7-0.7 0-0.354 0.263-0.647 0.605-0.694l0.095-0.006h14.308zM10.011 9.744c0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v5.68c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095v-5.68c0-0.387 0.313-0.7 0.7-0.7zM13.953 9.744c0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v5.68c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095v-5.68c0-0.387 0.313-0.7 0.7-0.7zM13.652 3.189c0.387 0 0.7 0.313 0.7 0.7 0 0.354-0.263 0.647-0.605 0.694l-0.095 0.006h-3.972c-0.387 0-0.7-0.313-0.7-0.7 0-0.354 0.263-0.647 0.605-0.694l0.095-0.006h3.972z"},null,-1)])])}const ut={name:"components-icon-delete",render:gt},Ct={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"36",height:"32",viewBox:"0 0 36 32"};function _t(t,o){return e.openBlock(),e.createElementBlock("svg",Ct,[...o[0]||(o[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M5.886 19.111l10.672 10.677c0.46 0.524 0.44 1.322-0.060 1.822s-1.298 0.52-1.822 0.060l-0.064-0.060-12.498-12.498h3.772zM14.613 0.391c0.521-0.521 1.365-0.521 1.886 0 0.5 0.5 0.52 1.298 0.060 1.822l-0.060 0.064-12.391 12.391h29.67c0.71 0 1.291 0.555 1.331 1.255l0.002 0.078c0 0.71-0.555 1.291-1.255 1.331l-0.078 0.002h-31.816c-0.472 0-0.924-0.187-1.257-0.521-0.671-0.671-0.694-1.745-0.067-2.443l0.067-0.071 13.908-13.908z"},null,-1)])])}const Vt={name:"components-icon-header-back",render:_t},wt={class:"o-header-search"},Bt={class:"o-header-search-drawer"},Nt={key:0,class:"o-header-search-recommend-container"},Et=["onClick"],$t={key:1,class:"o-header-search-history-container"},bt={class:"o-header-search-history-header"},St={class:"o-header-search-history-header-title"},xt={class:"o-header-search-history-item-container"},Ot=["onClick"],It={class:"o-header-search-history-item-text"},Dt={key:3,class:"o-header-search-hot-container"},zt={class:"o-header-search-hot-header"},At={class:"o-header-search-hot-item-container"},Tt=["onClick"],Z=I(e.defineComponent({__name:"OHeaderSearch",props:{modelValue:{default:""},placeholder:{},expandedPlaceholder:{},expandDirection:{default:"left"},clearable:{type:Boolean,default:!0},historyItems:{default:()=>[]},maxHistoryCount:{default:6},storeHistory:{type:Boolean,default:!1},historyTitle:{},storageKey:{default:"search-history"},hotItems:{default:()=>[]},hotTitle:{},recommendItems:{default:()=>[]},searchUrl:{},searchUrlOpenBlank:{type:Boolean,default:!0},searchTextMobile:{}},emits:["update:modelValue","update:historyItems","clear","search","delete-history","delete-history-item"],setup(t,{emit:o}){const{lePadV:n}=D.useScreen(),{t:p}=M(),r=t,f=o,k=e.ref(r.modelValue),l=e.ref(r.historyItems),c=e.ref(!1),h=e.ref(),a=e.computed(()=>!n.value&&c.value||n.value&&k.value);e.watch(()=>r.modelValue,s=>{k.value!==s&&(k.value=s)}),e.watch(()=>k.value,s=>{f("update:modelValue",s)}),e.watch(()=>r.historyItems,s=>{l.value!==s&&(l.value=s)}),e.watch(()=>l.value,s=>{f("update:historyItems",s)}),e.onMounted(()=>{if(r.storeHistory&&r.storageKey)try{const s=JSON.parse(localStorage.getItem(r.storageKey)||"[]");Array.isArray(s)&&s.length&&(l.value=Array.from(new Set([...l.value,...s])))}catch{}});const y=()=>{c.value=!0},C=()=>{const s=k.value.trim();s&&(c.value=!1,l.value.unshift(s),l.value=Array.from(new Set(l.value)),l.value.length>r.maxHistoryCount&&l.value.pop(),r.storeHistory&&r.storeHistory&&localStorage.setItem(r.storageKey,JSON.stringify(l.value)),f("search",s),r.searchUrl&&window.open(r.searchUrl+s,r.searchUrlOpenBlank?"_blank":"_self","noopener noreferrer"))},_=()=>{k.value="",f("clear"),n.value||(c.value=!1)},B=()=>{const s=[...l.value];l.value=[],r.storeHistory&&r.storeHistory&&localStorage.removeItem(r.storageKey),f("delete-history",s)},E=s=>{l.value=l.value.filter(b=>b!==s),r.storeHistory&&r.storeHistory&&(l.value.length?localStorage.setItem(r.storageKey,JSON.stringify(l.value)):localStorage.removeItem(r.storageKey)),f("delete-history-item",s)},w=s=>{k.value=s,C()},$=()=>{k.value="",c.value=!1},x=e.ref();return T.onClickOutside(x,_),(s,b)=>(e.openBlock(),e.createElementBlock("div",wt,[e.createElementVNode("div",{ref_key:"posWrapper",ref:x,class:e.normalizeClass({"o-header-search-input-pc-wrapper":!e.unref(n),"o-header-search-input-pc-wrapper-left":!e.unref(n)&&t.expandDirection==="left","o-header-search-input-pc-wrapper-right":!e.unref(n)&&t.expandDirection==="right","o-header-search-input-mobile-wrapper":e.unref(n),focus:c.value})},[e.createElementVNode("div",{class:e.normalizeClass(["o-header-search-input-wrapper",{focus:c.value}])},[e.unref(n)&&c.value?(e.openBlock(),e.createBlock(e.unref(i.OIcon),{key:0,class:"o-header-search-icon",onClick:$},{default:e.withCtx(()=>[e.createVNode(e.unref(Vt))]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(i.OInput),{ref_key:"inputRef",ref:h,modelValue:k.value,"onUpdate:modelValue":b[0]||(b[0]=g=>k.value=g),class:"o-header-search-input",placeholder:c.value?t.expandedPlaceholder??e.unref(p)("search.expandedPlaceholder"):t.placeholder??e.unref(p)("search.placeholder"),onFocus:y,onKeyup:e.withKeys(C,["enter"])},{prefix:e.withCtx(()=>[e.renderSlot(s.$slots,"input-prefix",{},()=>[e.createVNode(e.unref(i.OIcon),{class:"o-header-search-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(W))]),_:1})],!0)]),suffix:e.withCtx(()=>[e.renderSlot(s.$slots,"input-suffix",{},()=>[t.clearable&&a.value?(e.openBlock(),e.createBlock(e.unref(i.OIcon),{key:0,class:"o-header-search-icon close",onClick:_},{default:e.withCtx(()=>[e.createVNode(e.unref(dt))]),_:1})):e.createCommentVNode("",!0)],!0)]),_:3},8,["modelValue","placeholder"]),e.unref(n)&&c.value?(e.openBlock(),e.createElementBlock("span",{key:1,class:"o-header-search-text",onClick:C},e.toDisplayString(t.searchTextMobile??e.unref(p)("search")),1)):e.createCommentVNode("",!0)],2),e.withDirectives(e.createElementVNode("div",Bt,[e.renderSlot(s.$slots,"drawer",{recommendItems:t.recommendItems,historyItems:l.value,hotItems:t.hotItems},()=>[t.recommendItems.length?(e.openBlock(),e.createElementBlock("div",Nt,[e.renderSlot(s.$slots,"recommend-header",{recommend:t.recommendItems},void 0,!0),e.renderSlot(s.$slots,"recommend-content",{recommend:t.recommendItems},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.recommendItems,g=>(e.openBlock(),e.createElementBlock("div",{class:"o-header-search-recommend-item",key:g,onClick:O=>w(g)},e.toDisplayString(g),9,Et))),128))],!0)])):l.value.length?(e.openBlock(),e.createElementBlock("div",$t,[e.renderSlot(s.$slots,"history-header",{history:l.value},()=>[e.createElementVNode("div",bt,[e.createElementVNode("span",St,e.toDisplayString(t.historyTitle??e.unref(p)("search.history")),1),e.createVNode(e.unref(i.OIcon),{class:"o-header-search-icon",onClick:B},{default:e.withCtx(()=>[e.createVNode(e.unref(ut))]),_:1})])],!0),e.renderSlot(s.$slots,"history-content",{history:l.value},()=>[e.createElementVNode("div",xt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.value,g=>(e.openBlock(),e.createElementBlock("div",{key:g,class:"o-header-search-history-item",onClick:O=>w(g)},[e.createElementVNode("span",It,e.toDisplayString(g),1),e.createVNode(e.unref(i.OIcon),{class:"o-header-search-history-item-icon",onClick:e.withModifiers(O=>E(g),["stop"])},{default:e.withCtx(()=>[e.createVNode(e.unref(kt),{class:"icon-delete"})]),_:1},8,["onClick"])],8,Ot))),128))])],!0)])):e.createCommentVNode("",!0),(t.recommendItems.length||l.value.length)&&t.hotItems.length?(e.openBlock(),e.createBlock(e.unref(i.ODivider),{key:2,class:"o-header-search-drawer-divider"})):e.createCommentVNode("",!0),t.hotItems.length?(e.openBlock(),e.createElementBlock("div",Dt,[e.renderSlot(s.$slots,"hot-header",{hot:t.hotItems},()=>[e.createElementVNode("div",zt,e.toDisplayString(t.hotTitle??e.unref(p)("search.hot")),1)],!0),e.renderSlot(s.$slots,"hot-content",{hot:t.hotItems},()=>[e.createElementVNode("div",At,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.hotItems,g=>(e.openBlock(),e.createElementBlock("div",{key:g,class:"o-header-search-hot-item",onClick:O=>w(g)},e.toDisplayString(g),9,Tt))),128))])],!0)])):e.createCommentVNode("",!0)],!0)],512),[[e.vShow,c.value]])],2),e.unref(n)?(e.openBlock(),e.createBlock(e.unref(i.OIcon),{key:0,class:"o-header-search-icon-mobile",onClick:y},{default:e.withCtx(()=>[e.createVNode(e.unref(W))]),_:1})):e.createCommentVNode("",!0)]))}}),[["__scopeId","data-v-9f1bd8fc"]]),Mt={locale:"zh-CN","common.empty":"暂无数据","common.loading":"加载中...","pagination.goto":"前往","pagination.page":"页","pagination.countPerPage":"条/页","pagination.total":"共 {0} 条","upload.buttonLabel":"点击上传","upload.drag":"点击或拖拽文件到此处上传","upload.dragHover":"释放文件并开始上传","upload.retry":"点击重试","upload.delete":"删除","upload.preview":"预览","upload.edit":"编辑","select.cancel":"取消","select.confirm":"确定","input.limit":"<b>{0}</b>/{1}"},Pt={locale:"en-US","common.empty":"No Data","common.loading":"Loading...","pagination.goto":"Go to","pagination.page":"Page","pagination.countPerPage":"/page","pagination.total":"Total: {0}","upload.buttonLabel":"Upload","upload.drag":"Click or drag file to this area to upload","upload.dragHover":"Release to upload","upload.retry":"Click to retry","upload.delete":"Delete","upload.preview":"Preview","upload.edit":"Edit","select.cancel":"Cancel","select.confirm":"Ok","input.limit":"<b>{0}</b>/{1}"},Q=e.defineComponent({__name:"OPlusConfigProvider",props:{locale:{},theme:{default:"light"}},setup(t){const o=t,n=e.reactive({locale:e.computed(()=>o.locale),theme:e.computed(()=>o.theme)});return e.provide(F,n),(p,r)=>(e.openBlock(),e.createBlock(e.unref(i.OConfigProvider),{locale:t.locale==="zh"?e.unref(Mt):e.unref(Pt)},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},8,["locale"]))}}),Ut={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Ht(t,o){return e.openBlock(),e.createElementBlock("svg",Ut,[...o[0]||(o[0]=[e.createElementVNode("path",{d:"M9.246 5.764c-0.251 0.251-0.271 0.644-0.063 0.918l0.063 0.072 5.016 5.016c0.1 0.1 0.115 0.254 0.043 0.37l-0.043 0.054-5.062 5.062c-0.273 0.273-0.273 0.717 0 0.99 0.251 0.251 0.644 0.271 0.918 0.063l0.072-0.063 5.062-5.062c0.629-0.629 0.662-1.628 0.099-2.296l-0.099-0.108-5.016-5.016c-0.273-0.273-0.717-0.273-0.99 0z"},null,-1)])])}const Kt={name:"components-icon-chevron-right",render:Ht},Rt={class:"section-wrapper"},Lt={key:1,class:"section-title"},Gt={key:2,class:"section-subtitle"},Ft={key:1,class:"section-body"},jt={key:2,class:"section-footer"},X=I(e.defineComponent({__name:"OSection",props:{title:{default:void 0},subtitle:{default:void 0},full:{type:Boolean,default:!1},headerJustifyCenter:{type:Boolean,default:!0},footer:{default:void 0},footerHref:{default:void 0}},setup(t){const o=t;return(n,p)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["app-section",{"is-full":o.full}])},[e.createElementVNode("div",Rt,[e.renderSlot(n.$slots,"main",{},()=>[n.$slots.header||o.title||o.subtitle?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["section-header",{"is-left":!o.headerJustifyCenter}])},[e.renderSlot(n.$slots,"header",{},()=>[e.unref(i.isArray)(o.title)?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(o.title,r=>(e.openBlock(),e.createElementBlock("h2",{key:r,class:"section-title"},e.toDisplayString(r),1))),128)):n.$slots.title||o.title?(e.openBlock(),e.createElementBlock("h2",Lt,[e.renderSlot(n.$slots,"title",{},()=>[e.createTextVNode(e.toDisplayString(o.title),1)],!0)])):e.createCommentVNode("",!0),n.$slots.subtitle||o.subtitle?(e.openBlock(),e.createElementBlock("p",Gt,[e.renderSlot(n.$slots,"subtitle",{},()=>[e.createTextVNode(e.toDisplayString(o.subtitle),1)],!0)])):e.createCommentVNode("",!0)],!0)],2)):e.createCommentVNode("",!0),n.$slots.default?(e.openBlock(),e.createElementBlock("div",Ft,[e.renderSlot(n.$slots,"default",{},void 0,!0)])):e.createCommentVNode("",!0),n.$slots.footer||o.footer?(e.openBlock(),e.createElementBlock("div",jt,[e.renderSlot(n.$slots,"footer",{},()=>[e.createVNode(e.unref(i.OLink),{href:o.footerHref,target:"_blank"},{suffix:e.withCtx(()=>[e.createVNode(e.unref(i.OIcon),{class:"footer-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(Kt))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(o.footer)+" ",1)]),_:1},8,["href"])],!0)])):e.createCommentVNode("",!0)],!0)])],2))}}),[["__scopeId","data-v-2fc90e8a"]]),qt={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Yt(t,o){return e.openBlock(),e.createElementBlock("svg",qt,[...o[0]||(o[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M12 1.992c0.387 0 0.7 0.313 0.7 0.7v1.2c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-1.2c0-0.387 0.313-0.7 0.7-0.7zM6.769 6.747c-0.273 0.273-0.717 0.273-0.99 0l-0.849-0.849c-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495c0.273-0.273 0.717-0.273 0.99 0l0.849 0.849c0.136 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495zM18.192 6.747c-0.273 0.273-0.717 0.273-0.99 0-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495l0.849-0.849c0.273-0.273 0.717-0.273 0.99 0 0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495l-0.849 0.849zM5.3 12c0-3.7 3-6.7 6.7-6.7s6.7 3 6.7 6.7-3 6.7-6.7 6.7c-3.7 0-6.7-3-6.7-6.7zM17.3 12c0-2.927-2.373-5.3-5.3-5.3s-5.3 2.373-5.3 5.3c0 2.927 2.373 5.3 5.3 5.3s5.3-2.373 5.3-5.3zM4.594 11.969c0 0.387-0.313 0.7-0.7 0.7h-1.2c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7h1.2c0.386 0 0.7 0.313 0.7 0.7zM21.977 11.999c0 0.387-0.314 0.7-0.7 0.7h-1.2c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7h1.2c0.387 0 0.7 0.313 0.7 0.7zM5.921 19.060c-0.273 0.273-0.717 0.273-0.99 0-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495l0.849-0.849c0.273-0.273 0.717-0.273 0.99 0 0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495l-0.849 0.849zM19.041 19.060c-0.273 0.273-0.717 0.273-0.99 0l-0.849-0.849c-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495c0.273-0.273 0.717-0.273 0.99 0l0.849 0.849c0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495zM11.971 19.376c0.387 0 0.7 0.313 0.7 0.7v1.2c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-1.2c0-0.387 0.313-0.7 0.7-0.7z"},null,-1)])])}const P={name:"components-icon-sun",render:Yt},Jt={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function Wt(t,o){return e.openBlock(),e.createElementBlock("svg",Jt,[...o[0]||(o[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"currentColor",d:"M12 2.3c5.357 0 9.7 4.343 9.7 9.7s-4.343 9.7-9.7 9.7c-4.651 0-8.622-3.298-9.515-7.806-0.101-0.509 0.369-0.948 0.87-0.812 0.531 0.144 1.082 0.218 1.645 0.218 3.479 0 6.3-2.82 6.3-6.3 0-1.276-0.379-2.494-1.079-3.527-0.291-0.43-0.029-1.016 0.486-1.086 0.425-0.057 0.857-0.086 1.293-0.086zM12 3.7l-0.042 0.001 0.058 0.121c0.402 0.887 0.634 1.85 0.677 2.845l0.007 0.333c0 4.253-3.447 7.7-7.7 7.7-0.229 0-0.457-0.010-0.682-0.030l-0.186-0.021 0.076 0.218c1.147 3.123 4.102 5.321 7.528 5.429l0.264 0.004c4.584 0 8.3-3.716 8.3-8.3s-3.716-8.3-8.3-8.3z"},null,-1)])])}const U={name:"components-icon-moon",render:Wt},Zt={class:"o-theme-switcher"},Qt={key:1,class:"o-theme-switcher-mobile"},v=I(e.defineComponent({__name:"OThemeSwitcher",props:{theme:{default:"light"},type:{default:"auto"},lightValue:{default:"light"},darkValue:{default:"dark"},lightIcon:{default:P},darkIcon:{default:U}},emits:["update:theme","change"],setup(t,{emit:o}){const n=t,p=o,{gtPhone:r}=D.useScreen(),f=e.computed({get(){return n.theme},set(c){p("update:theme",c),p("change",c)}}),k=e.computed(()=>n.type==="common"||n.type==="auto"&&r.value),l=()=>{f.value=f.value===n.lightValue?n.darkValue:n.lightValue};return(c,h)=>(e.openBlock(),e.createElementBlock("div",Zt,[k.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"o-theme-switcher-common",onClick:l},[e.createVNode(e.unref(i.OIcon),{class:"o-theme-icon"},{default:e.withCtx(()=>[f.value===t.lightValue?(e.openBlock(),e.createBlock(e.unref(U),{key:0})):(e.openBlock(),e.createBlock(e.unref(P),{key:1}))]),_:1})])):(e.openBlock(),e.createElementBlock("div",Qt,[e.createVNode(e.unref(i.OSwitch),{modelValue:f.value,"onUpdate:modelValue":h[0]||(h[0]=a=>f.value=a),class:"o-theme-switch","checked-value":t.darkValue,"unchecked-value":t.lightValue},{on:e.withCtx(()=>[e.createVNode(e.unref(i.OIcon),{class:"o-theme-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(P))]),_:1})]),off:e.withCtx(()=>[e.createVNode(e.unref(i.OIcon),{class:"o-theme-icon"},{default:e.withCtx(()=>[e.createVNode(e.unref(U))]),_:1})]),_:1},8,["modelValue","checked-value","unchecked-value"])]))]))}}),[["__scopeId","data-v-9aaa2610"]]),Xt={OBanner:L,OCookieNotice:q,OCookieNoticeEl:J,OHeaderSearch:Z,OPlusConfigProvider:Q,OSection:X,OThemeSwitcher:v},vt={install:t=>{Object.entries(Xt).forEach(([o,n])=>{t.component(o,n)})}};u.OBanner=L,u.OCookieNotice=q,u.OCookieNoticeEl=J,u.OHeaderSearch=Z,u.OPlusConfigProvider=Q,u.OSection=X,u.OThemeSwitcher=v,u.default=vt,Object.defineProperties(u,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|
package/docs/design.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# 业务组件设计文档
|
|
2
|
+
|
|
3
|
+
## 目录结构
|
|
4
|
+
|
|
5
|
+
```text
|
|
6
|
+
components
|
|
7
|
+
├─ docs // 文档
|
|
8
|
+
├─ playground // 演练场
|
|
9
|
+
├─ scripts // 脚本
|
|
10
|
+
├─ src // 具体内容
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## 总览
|
|
14
|
+
|
|
15
|
+
| 名称 | 文件名 | 状态 | 备注 |
|
|
16
|
+
|:------|:------|:------|:------|
|
|
17
|
+
| Banner | OBanner.vue | 10月完成 ||
|
|
18
|
+
| 通用楼层布局 | OSection.vue | 10月完成 ||
|
|
19
|
+
| 导航搜索| OHeaderSearch.vue | 10月完成 ||
|
|
20
|
+
| 会议日历| OMettingCalendar.vue | 11月完成 ||
|
|
21
|
+
| openEuler社区页头| OHeader_openEuler.vue | 11月完成 ||
|
|
22
|
+
| openEuler社区页脚| OFooter_openEuler.vue | 11月完成 ||
|
|
23
|
+
| 悬浮按钮| OFloatingButton.vue | 11月完成 ||
|
|
24
|
+
| 语言切换| OLanguageSwitcher.vue | 11月完成 |调用useLocale的能力|
|
|
25
|
+
| 风格切换| OThemeSwitcher.vue | 11月完成 |调用useTheme的能力|
|
|
26
|
+
| 导航用户信息| OUserInfo.vue | 11月完成 |调用useLogin的能力|
|
|
27
|
+
| 隐私管理| OCookieNotice.vue | 11月完成 ||
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# banner 组件设计文档
|
|
2
|
+
|
|
3
|
+
## 使用场景
|
|
4
|
+
|
|
5
|
+
运用于首页主 Banner 的呈现,将 Banner 的不同细分场景配置化,支持图文型、图片型、多端,满足绝大部分 Banner 场景。
|
|
6
|
+
|
|
7
|
+
## 字段配置
|
|
8
|
+
|
|
9
|
+
| 字段名 | 字段用途 |
|
|
10
|
+
| :-------------- | :--------------------------------------------- |
|
|
11
|
+
| light | light 主题下相关配置 |
|
|
12
|
+
| dark | dark 主题下相关配置 |
|
|
13
|
+
| bg_pc | PC 端 Banner 图 |
|
|
14
|
+
| bg_pad | Pad 端 Banner 图 |
|
|
15
|
+
| bg_mb | 移动端端 Banner 图 |
|
|
16
|
+
| bg_theme | Banner 图所在主题 |
|
|
17
|
+
| bg_href | Banner 跳转链接 |
|
|
18
|
+
| bg_btn | Banner 按钮内容 |
|
|
19
|
+
| pc_text_width | PC 端下图片型适配,文本图片宽度 |
|
|
20
|
+
| pc_text_height | PC 端下图片型适配,文本图片高度 |
|
|
21
|
+
| pad_text_width | Pad 端下图片型适配,文本图片宽度 |
|
|
22
|
+
| pad_text_height | Pad 端下图片型适配,文本图片高度 |
|
|
23
|
+
| pad_offset | Pad 端下 Banner 图适配,偏移量使主视觉元素位置 |
|
|
24
|
+
|
|
25
|
+
## 规范描述
|
|
26
|
+
|
|
27
|
+
### 适配原则
|
|
28
|
+
|
|
29
|
+
#### ≥1680px: banner 高度: 460px;标题距离顶部导航 128px;标题字号 56px;正文字号 20px;
|
|
30
|
+
|
|
31
|
+
#### 1680px ~ 1201px: banner 高度: 400px;标题距离顶部导航 88px;标题字号 48px;正文字号 18px;
|
|
32
|
+
|
|
33
|
+
#### 1200px ~ 841px: banner 高度: 320px;标题距离顶部导航 64px;标题字号 40px;正文字号 16px;
|
|
34
|
+
|
|
35
|
+
#### 840px ~ 601px: 折叠屏、手机横屏、Pad 竖屏,banner 高度: 184px;标题距离顶部导航 24px;标题字号 22px;正文字号 12px;banner 圆角 12px;
|
|
36
|
+
|
|
37
|
+
#### 600px ~ 360px: 手机竖屏,banner 高度: 184px;标题距离顶部导航 24px;标题字号 22px;正文字号 21px;banner 圆角 12px;
|
|
38
|
+
|
|
39
|
+
### 切图原则 -- 待补充
|
|
40
|
+
|
|
41
|
+
### 交互原则 -- 待补充
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# 全局通用楼层组件设计文档--OSection
|
|
2
|
+
|
|
3
|
+
## 使用场景
|
|
4
|
+
|
|
5
|
+
运用于社区需要通用楼层的场景,提供标准化楼层标题、主体、楼层注脚等内容的模板。
|
|
6
|
+
|
|
7
|
+
## 属性
|
|
8
|
+
|
|
9
|
+
| 属性 | 属性用途 | 类型 |
|
|
10
|
+
| :-------------------- | :----------------------------------- | :------ |
|
|
11
|
+
| title | 楼层大标题 | String |
|
|
12
|
+
| subtitle | 楼层副标题 | String |
|
|
13
|
+
| full | 是否整屏宽度显示 | Boolean |
|
|
14
|
+
| header-justify-center | 楼层主标题是否居中 | Boolean |
|
|
15
|
+
| footer | 楼层 footer 内容 | String |
|
|
16
|
+
| footer-href | 楼层 footer 如需跳转,可配置跳转链接 | String |
|
|
17
|
+
|
|
18
|
+
## 插槽
|
|
19
|
+
|
|
20
|
+
| 插槽名 | 插槽用途 |
|
|
21
|
+
| :------- | :---------------- |
|
|
22
|
+
| title | 自定义楼层标题 |
|
|
23
|
+
| subtitle | 自定义楼层副标题 |
|
|
24
|
+
| footer | 自定义楼层 footer |
|
|
25
|
+
| default | 自定义楼层主内容 |
|
|
26
|
+
|
|
27
|
+
## 规范描述 -- 待补充
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@opendesign-plus-test/components",
|
|
3
|
+
"version": "0.0.1-rc.2",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public",
|
|
7
|
+
"registry": "https://registry.npmjs.org/"
|
|
8
|
+
},
|
|
9
|
+
"main": "./dist/components.cjs.js",
|
|
10
|
+
"module": "./dist/components.es.js",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/components.es.js",
|
|
16
|
+
"require": "./dist/components.cjs.js"
|
|
17
|
+
},
|
|
18
|
+
"./styles": {
|
|
19
|
+
"import": "./dist/components.css",
|
|
20
|
+
"require": "./dist/components.css"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@opensig/opendesign": "1.0.2",
|
|
25
|
+
"@vueuse/core": "10.11.1",
|
|
26
|
+
"aos": "^2.3.4",
|
|
27
|
+
"vue": "^3.4.0",
|
|
28
|
+
"@opendesign-plus/composables": "0.0.1-rc.6",
|
|
29
|
+
"@opendesign-plus/styles": "0.0.1-rc.2"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@vitejs/plugin-vue": "^5.1.0",
|
|
33
|
+
"element-plus": "^2.13.1",
|
|
34
|
+
"sass": "^1.71.1",
|
|
35
|
+
"typescript": "~5.8.2",
|
|
36
|
+
"unplugin-element-plus": "^0.11.2",
|
|
37
|
+
"unplugin-icons": "^0.14.1",
|
|
38
|
+
"vite": "^6.2.3",
|
|
39
|
+
"vue-tsc": "2.2.8"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"dev": "vite",
|
|
43
|
+
"generate-components": "node scripts/generate-components-index.js",
|
|
44
|
+
"build": "pnpm run generate-components && tsc --noEmit && vite build --mode library",
|
|
45
|
+
"build:watch": "pnpm run generate-components && tsc --noEmit && vite build --mode library --watch"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
import fs from 'fs';
|
|
4
|
+
import path from 'path';
|
|
5
|
+
|
|
6
|
+
// 组件目录路径
|
|
7
|
+
const componentsDir = path.resolve(process.cwd(), 'src/components');
|
|
8
|
+
const indexFilePath = path.resolve(process.cwd(), 'src/index.ts');
|
|
9
|
+
|
|
10
|
+
// 生成组件索引文件
|
|
11
|
+
function generateComponentsIndex() {
|
|
12
|
+
console.log('开始生成组件索引文件...');
|
|
13
|
+
|
|
14
|
+
try {
|
|
15
|
+
// 读取组件目录
|
|
16
|
+
const files = fs.readdirSync(componentsDir);
|
|
17
|
+
|
|
18
|
+
// 过滤出.vue文件(不包含common目录)
|
|
19
|
+
const vueFiles = files.filter(file =>
|
|
20
|
+
file.endsWith('.vue') && !fs.statSync(path.join(componentsDir, file)).isDirectory()
|
|
21
|
+
);
|
|
22
|
+
|
|
23
|
+
console.log(`发现 ${vueFiles.length} 个组件文件`);
|
|
24
|
+
|
|
25
|
+
// 生成导入语句
|
|
26
|
+
const importStatements = vueFiles.map(file => {
|
|
27
|
+
const componentName = file.replace('.vue', '');
|
|
28
|
+
return `import ${componentName} from './components/${file}';`;
|
|
29
|
+
}).join('\n');
|
|
30
|
+
|
|
31
|
+
// 生成组件列表
|
|
32
|
+
const componentNames = vueFiles.map(file => file.replace('.vue', ''));
|
|
33
|
+
const componentsObject = componentNames.map(name => ` ${name}`).join(',\n');
|
|
34
|
+
|
|
35
|
+
// 生成导出语句
|
|
36
|
+
const exportStatement = `export { ${componentNames.join(', ')} };`;
|
|
37
|
+
|
|
38
|
+
// 生成完整的index.ts内容
|
|
39
|
+
const indexContent = `// OpenDesignPlus Components 库入口文件
|
|
40
|
+
// 此文件由 scripts/generate-components-index.js 自动生成
|
|
41
|
+
|
|
42
|
+
${importStatements}
|
|
43
|
+
|
|
44
|
+
// 导出组件
|
|
45
|
+
const components = {
|
|
46
|
+
${componentsObject}
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
// 导出单个组件
|
|
50
|
+
${exportStatement}
|
|
51
|
+
|
|
52
|
+
// 默认导出(用于Vue插件安装)
|
|
53
|
+
export default {
|
|
54
|
+
install: (app: any) => {
|
|
55
|
+
// 注册所有组件
|
|
56
|
+
Object.entries(components).forEach(([name, component]) => {
|
|
57
|
+
app.component(name, component);
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
`;
|
|
62
|
+
|
|
63
|
+
// 写入文件
|
|
64
|
+
fs.writeFileSync(indexFilePath, indexContent, 'utf-8');
|
|
65
|
+
console.log(`组件索引文件已生成: ${indexFilePath}`);
|
|
66
|
+
console.log(`成功导出 ${componentNames.length} 个组件`);
|
|
67
|
+
return true;
|
|
68
|
+
} catch (error) {
|
|
69
|
+
console.error('生成组件索引文件失败:', error);
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// 执行生成
|
|
75
|
+
try {
|
|
76
|
+
const success = generateComponentsIndex();
|
|
77
|
+
process.exit(success ? 0 : 1);
|
|
78
|
+
} catch (error) {
|
|
79
|
+
console.error('执行脚本时发生错误:', error);
|
|
80
|
+
process.exit(1);
|
|
81
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
2
|
+
<path d="M9.246 5.764c-0.251 0.251-0.271 0.644-0.063 0.918l0.063 0.072 5.016 5.016c0.1 0.1 0.115 0.254 0.043 0.37l-0.043 0.054-5.062 5.062c-0.273 0.273-0.273 0.717 0 0.99 0.251 0.251 0.644 0.271 0.918 0.063l0.072-0.063 5.062-5.062c0.629-0.629 0.662-1.628 0.099-2.296l-0.099-0.108-5.016-5.016c-0.273-0.273-0.717-0.273-0.99 0z"></path>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
2
|
+
<path fill="currentColor" d="M18.528 5.472c0.246 0.246 0.271 0.63 0.074 0.903l-0.074 0.087-5.54 5.538 0.006 0.006-0.989 0.989-0.006-0.006-5.538 5.54c-0.273 0.273-0.717 0.273-0.99 0-0.246-0.246-0.271-0.63-0.074-0.903l0.074-0.087 5.538-5.539-5.538-5.538-0.074-0.087c-0.197-0.274-0.172-0.657 0.074-0.903s0.63-0.271 0.903-0.074l0.087 0.074 5.538 5.539 5.539-5.539c0.273-0.273 0.717-0.273 0.99 0zM14.551 13.561l3.978 3.978 0.074 0.087c0.197 0.274 0.172 0.657-0.074 0.903s-0.63 0.271-0.903 0.074l-0.087-0.074-3.978-3.978c-0.273-0.273-0.273-0.717 0-0.99v0c0.273-0.273 0.717-0.273 0.99 0z"></path>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
2
|
+
<path fill="currentColor" d="M19.154 5.295c0.387 0 0.7 0.313 0.7 0.7 0 0.354-0.263 0.647-0.605 0.694l-0.095 0.006-12.201-0.001 0.001 12.413c0 0.17 0.12 0.311 0.28 0.344l0.071 0.007h9.39c0.17 0 0.311-0.12 0.344-0.28l0.007-0.071v-10.47c0-0.387 0.313-0.7 0.7-0.7 0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v10.47c0 0.919-0.708 1.672-1.608 1.745l-0.144 0.006h-9.39c-0.919 0-1.672-0.708-1.745-1.608l-0.006-0.144-0.001-12.413-0.707 0.001c-0.387 0-0.7-0.313-0.7-0.7 0-0.354 0.263-0.647 0.605-0.694l0.095-0.006h14.308zM10.011 9.744c0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v5.68c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095v-5.68c0-0.387 0.313-0.7 0.7-0.7zM13.953 9.744c0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v5.68c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095v-5.68c0-0.387 0.313-0.7 0.7-0.7zM13.652 3.189c0.387 0 0.7 0.313 0.7 0.7 0 0.354-0.263 0.647-0.605 0.694l-0.095 0.006h-3.972c-0.387 0-0.7-0.313-0.7-0.7 0-0.354 0.263-0.647 0.605-0.694l0.095-0.006h3.972z"></path>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="36" height="32" viewBox="0 0 36 32">
|
|
2
|
+
<path fill="currentColor" d="M5.886 19.111l10.672 10.677c0.46 0.524 0.44 1.322-0.060 1.822s-1.298 0.52-1.822 0.060l-0.064-0.060-12.498-12.498h3.772zM14.613 0.391c0.521-0.521 1.365-0.521 1.886 0 0.5 0.5 0.52 1.298 0.060 1.822l-0.060 0.064-12.391 12.391h29.67c0.71 0 1.291 0.555 1.331 1.255l0.002 0.078c0 0.71-0.555 1.291-1.255 1.331l-0.078 0.002h-31.816c-0.472 0-0.924-0.187-1.257-0.521-0.671-0.671-0.694-1.745-0.067-2.443l0.067-0.071 13.908-13.908z"></path>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
2
|
+
<path fill="currentColor" d="M10.858 22.41c-0.349 0.349-0.915 0.349-1.263 0-0.314-0.314-0.345-0.804-0.094-1.153l0.094-0.111 5.146-5.15-5.177-5.178c-0.274-0.305-0.3-0.755-0.077-1.087l0.111-0.135c0.347-0.347 0.91-0.347 1.257 0l5.142 5.143 5.15-5.146c0.349-0.349 0.915-0.349 1.263 0 0.314 0.314 0.345 0.804 0.094 1.153l-0.094 0.111-11.552 11.552zM17.89 16.634l4.551 4.552c0.313 0.349 0.302 0.886-0.034 1.222-0.347 0.347-0.91 0.347-1.257 0l-4.516-4.518 1.256-1.256z"></path>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32">
|
|
2
|
+
<path opacity="0.8" fill="currentColor" d="M13.215 0.524c-7.048 0-12.762 5.714-12.762 12.762s5.714 12.762 12.762 12.762c7.048 0 12.762-5.714 12.762-12.762s-5.714-12.762-12.762-12.762zM13.215 2.809c5.786 0 10.476 4.69 10.476 10.476s-4.69 10.476-10.476 10.476c-5.786 0-10.476-4.69-10.476-10.476s4.69-10.476 10.476-10.476z"></path>
|
|
3
|
+
<path opacity="0.8" fill="currentColor" d="M23.33 23.22c0.446-0.447 1.169-0.448 1.616-0.002l4.771 4.759c0.447 0.446 0.448 1.169 0.002 1.616s-1.169 0.448-1.616 0.002l-4.771-4.759c-0.447-0.446-0.448-1.169-0.002-1.616z"></path>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
2
|
+
<path opacity="0.8" fill="currentColor" d="M12 2.3c5.357 0 9.7 4.343 9.7 9.7s-4.343 9.7-9.7 9.7c-4.651 0-8.622-3.298-9.515-7.806-0.101-0.509 0.369-0.948 0.87-0.812 0.531 0.144 1.082 0.218 1.645 0.218 3.479 0 6.3-2.82 6.3-6.3 0-1.276-0.379-2.494-1.079-3.527-0.291-0.43-0.029-1.016 0.486-1.086 0.425-0.057 0.857-0.086 1.293-0.086zM12 3.7l-0.042 0.001 0.058 0.121c0.402 0.887 0.634 1.85 0.677 2.845l0.007 0.333c0 4.253-3.447 7.7-7.7 7.7-0.229 0-0.457-0.010-0.682-0.030l-0.186-0.021 0.076 0.218c1.147 3.123 4.102 5.321 7.528 5.429l0.264 0.004c4.584 0 8.3-3.716 8.3-8.3s-3.716-8.3-8.3-8.3z"></path>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
|
|
2
|
+
<path opacity="0.8" fill="currentColor" d="M12 1.992c0.387 0 0.7 0.313 0.7 0.7v1.2c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-1.2c0-0.387 0.313-0.7 0.7-0.7zM6.769 6.747c-0.273 0.273-0.717 0.273-0.99 0l-0.849-0.849c-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495c0.273-0.273 0.717-0.273 0.99 0l0.849 0.849c0.136 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495zM18.192 6.747c-0.273 0.273-0.717 0.273-0.99 0-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495l0.849-0.849c0.273-0.273 0.717-0.273 0.99 0 0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495l-0.849 0.849zM5.3 12c0-3.7 3-6.7 6.7-6.7s6.7 3 6.7 6.7-3 6.7-6.7 6.7c-3.7 0-6.7-3-6.7-6.7zM17.3 12c0-2.927-2.373-5.3-5.3-5.3s-5.3 2.373-5.3 5.3c0 2.927 2.373 5.3 5.3 5.3s5.3-2.373 5.3-5.3zM4.594 11.969c0 0.387-0.313 0.7-0.7 0.7h-1.2c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7h1.2c0.386 0 0.7 0.313 0.7 0.7zM21.977 11.999c0 0.387-0.314 0.7-0.7 0.7h-1.2c-0.387 0-0.7-0.313-0.7-0.7s0.313-0.7 0.7-0.7h1.2c0.387 0 0.7 0.313 0.7 0.7zM5.921 19.060c-0.273 0.273-0.717 0.273-0.99 0-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495l0.849-0.849c0.273-0.273 0.717-0.273 0.99 0 0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495l-0.849 0.849zM19.041 19.060c-0.273 0.273-0.717 0.273-0.99 0l-0.849-0.849c-0.137-0.137-0.205-0.316-0.205-0.495s0.068-0.358 0.205-0.495c0.273-0.273 0.717-0.273 0.99 0l0.849 0.849c0.137 0.137 0.205 0.316 0.205 0.495s-0.068 0.358-0.205 0.495zM11.971 19.376c0.387 0 0.7 0.313 0.7 0.7v1.2c0 0.387-0.313 0.7-0.7 0.7s-0.7-0.313-0.7-0.7v-1.2c0-0.387 0.313-0.7 0.7-0.7z"></path>
|
|
3
|
+
</svg>
|