Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5976609
CdxProgressIndicator.cjs
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
CdxProgressIndicator.cjs
View Options
"use strict";const e=require("vue"),c=require("./CdxLabel.cjs"),p=require("./useLabelChecker.js"),u=require("./useSplitAttributes.cjs"),_=require("./_plugin-vue_export-helper.js"),g=e.defineComponent({name:"CdxProgressIndicator",components:{CdxLabel:c},inheritAttrs:!1,props:{showLabel:{type:Boolean,default:!1}},setup(r,{slots:s,attrs:n}){var o;p.useLabelChecker((o=s.default)==null?void 0:o.call(s),n,"CdxProgressIndicator");const i=e.computed(()=>({"cdx-progress-indicator--has-label-visible":r.showLabel})),{rootClasses:l,rootStyle:d,otherAttrs:a}=u(n,i),t=e.useId();return{rootClasses:l,rootStyle:d,progressIndicatorId:t,otherAttrs:a}}}),h={class:"cdx-progress-indicator__indicator"},m=["id"];function f(r,s,n,i,l,d){var t,o;const a=e.resolveComponent("cdx-label");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["cdx-progress-indicator",r.rootClasses]),style:e.normalizeStyle(r.rootStyle)},[e.createElementVNode("span",h,[e.createElementVNode("progress",e.mergeProps({id:r.progressIndicatorId,class:"cdx-progress-indicator__indicator__progress"},r.otherAttrs),null,16,m)]),(o=(t=r.$slots).default)!=null&&o.call(t,{})?(e.openBlock(),e.createBlock(a,{key:0,class:"cdx-progress-indicator__label","input-id":r.progressIndicatorId,"visually-hidden":!r.showLabel},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["input-id","visually-hidden"])):e.createCommentVNode("v-if",!0)],6)}const C=_._export_sfc(g,[["render",f]]);module.exports=C;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 3, 19:16 (2 d, 7 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
a0/55/1003f08d9aee02413c3cddc8b37b
Default Alt Text
CdxProgressIndicator.cjs (1 KB)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment