@fewangsit/wangsvue-presets 1.0.110 → 1.0.111-alpha.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.
@@ -73,4 +73,4 @@ var ye=Object.defineProperty;var pe=(s,l,o)=>l in s?ye(s,l,{enumerable:!0,config
73
73
  right: -90%;
74
74
  }
75
75
  }
76
- `},K={root:({props:e})=>({class:["relative inline-block","shrink-0",{"rounded-full":e.rounded},{"rounded-lg":!e.rounded},e.class,"w-max h-max"],style:!e.size&&e.width?{width:`${e.width}px`,height:`${e.width}px`}:void 0}),image:({props:e,context:t})=>({class:["object-cover",{"!rounded-full":e.rounded},{"!rounded-lg":!e.rounded}],style:`width: ${t.imageSize}px; height: ${t.imageSize}px;`}),button:{class:["flex items-center justify-center","absolute","w-full h-full","inset-0 opacity-0 transition-opacity duration-300","bg-transparent text-white","hover:cursor-pointer hover:bg-grayscale-900 hover:opacity-50"],style:"border-radius: inherit"},icon:{class:"text-white w-6 h-6 opacity-100 max-w-[50%]"},mask:{class:["flex items-center justify-center","fixed top-0 left-0","w-full h-full","bg-grayscale-950/90"]},toolbar:{class:["flex","absolute top-0 right-0","p-4"]},rotaterightbutton:{class:["z-20","flex justify-center items-center","w-6 h-6","mr-2","rounded-full","text-white bg-transparent","hover:text-white hover:bg-white/10","focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50","transition duration-200 ease-in-out"]},rotaterighticon:{class:"w-4 h-4"},rotateleftbutton:{class:["z-20","flex justify-center items-center","w-6 h-6","mr-2","rounded-full","text-white bg-transparent","hover:text-white hover:bg-white/10","focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50","transition duration-200 ease-in-out"]},rotatelefticon:{class:"w-4 h-4"},zoomoutbutton:{class:["z-20","flex justify-center items-center","w-6 h-6","mr-2","rounded-full","text-white bg-transparent","hover:text-white hover:bg-white/10","focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50","transition duration-200 ease-in-out"]},zoomouticon:{class:"w-4 h-4"},zoominbutton:{class:["z-20","flex justify-center items-center","w-6 h-6","mr-2","rounded-full","text-white bg-transparent","hover:text-white hover:bg-white/10","focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50","transition duration-200 ease-in-out"]},zoominicon:{class:"w-4 h-4"},closebutton:{class:["z-20","flex justify-center items-center","w-6 h-6","mr-2","rounded-full","text-white bg-transparent","hover:text-white hover:bg-white/10","focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50","transition duration-200 ease-in-out"]},closeicon:{class:"w-4 h-4"},transition:{enterFromClass:"opacity-0 scale-75",enterActiveClass:"transition-all duration-150 ease-in-out",leaveActiveClass:"transition-all duration-150 ease-in",leaveToClass:"opacity-0 scale-75"}},Y={root:({props:e})=>({class:["rounded-md p-3","w-full",{"bg-success-50 text-success-500":e.severity=="success","bg-danger-50 text-danger-500":e.severity=="danger","bg-grayscale-50 text-general-800":e.severity=="secondary"}],"data-wv-name":"inlinemessage","data-wv-section":"root"}),icon:({props:e})=>({class:["w-4 h-4 !cursor-auto",{"animate-spin duration-200 text-general-100":e.loading}],"data-wv-section":"messageicon"}),text:{class:["w-full flex gap-3 flex-col","text-[12px] leading-[normal] tracking-[0.24px]","font-medium"]}},k={root:({props:e,context:t,parent:a})=>{var n,i;return{class:["px-3 py-[5px] w-full bg-transparent","h-max",{"max-h-[43px]":(i=(n=a.instance)==null?void 0:n.placeholder)==null?void 0:i.includes("password")},"text-general-800 text-xs tracking-[0.02em] font-medium","placeholder:text-general-200","placeholder:!font-light","appearance-none",{"outline-none":!t.disabled,"!text-general-200 select-none pointer-events-none cursor-default":t.disabled}]}}},C=navigator.userAgent.includes("Chrome"),q={root:({context:e})=>({class:["flex flex-wrap gap-x-0.5 gap-y-[5px] items-center","min-h-[26px] h-fit w-full","ring-inset rounded px-[12px] py-[3px]",{"ring-[1px]":!C,"ring-[0.5px]":C},{"!ring-danger-500 !dark:ring-danger-500":e.invalidInput},{"!ring-general-200 !dark:ring-general-200":!e.invalidInput},{"pointer-events-none":e.disabled}]}),input:({context:e,parent:t,props:a})=>({class:[...k.root({props:a,context:e,parent:t}).class,"outline-none !w-full !bg-transparent !p-0 !shadow-none h-max !leading-4 min-w-[70px]",{"placeholder:text-transparent":e.showPlaceholder},"focus:placeholder:text-general-200"]}),erroricon:{class:["mr-1 text-warning-600 text-base"]},erroroverlaypanel:{class:["px-3 py-1 text-[12px] text-general-800"]}},j=navigator.userAgent.includes("Chrome"),J={root:({props:e})=>({class:[{"!ring-danger-500 [&_.inputgroupaddon]:ring-danger-500":e.invalid&&e.ring!=="none","[&_.inputgroupaddon]:ring-general-200":!e.invalid&&e.ring!=="none","!bg-general-50 ":e.disabled},{"[&:has(:focus)]:!ring-primary-700 [&:has(:focus)_.inputgroupaddon]:!ring-primary-700":e.ring!=="none"},{"ring-[1px] [&_.inputgroupaddon]:ring-[1px]":!j&&e.ring!=="none","ring-[0.5px] [&_.inputgroupaddon]:ring-[0.5px]":j&&e.ring!=="none"},"[&_.inputgroupaddon[data-addon-variant=plain]]:!ring-[0px]","[&:has(input)]:cursor-text","flex items-stretch","w-full","ring-inset ring-general-200 rounded","bg-white",e.class],"data-wv-section":"inputgroup"})},Z={root:({props:e})=>({class:["inputgroupaddon","inline-flex items-center justify-center","first:rounded-tl first:rounded-bl","last:rounded-tr last:rounded-br","ring-inset","px-3 gap-3","w-max","text-general-800","text-xs font-medium leading-none tracking-tight",{"bg-general-50":e.addonVariant!=="plain"},{"!text-general-200":e.disabled,"!px-2":e.showButtons}],"data-addon-variant":e.addonVariant})},z="text-xs font-medium tracking-[0.02em] leading-[18px]",A="h-[26px]",Q={root:({props:e,parent:t})=>({class:["flex items-center self-stretch shrink-0 grow",A,"py-1 px-3","rounded","appearance-none"]}),input:{root:({parent:e,context:t})=>({class:["border-0 h-full w-full outline-none","bg-inherit",z,"placeholder:text-general-200 placeholder:font-light",t.disabled?"text-general-200":"text-general-800"]})},inputresizer:{class:[z,A,"user-select-none py-1 px-3 block min-w-4 text-transparent"]},buttongroup:{class:["flex"]},incrementbutton:{root:({parent:e})=>({class:[]}),label:{class:"h-0 w-0"}},decrementbutton:{root:({parent:e})=>({class:[]}),label:{class:"h-0 w-0"}},incrementicon:({props:e})=>({class:["!text-base text-general-500",{"!text-general-200":e.disabled}]}),decrementicon:({props:e})=>({class:["!text-base text-general-500",{"!text-general-200":e.disabled}]})},f=({isChromeBased:e,invalidInput:t})=>[{"ring-[1px]":!e,"ring-[0.5px]":e},{"!ring-danger-500":t},"ring-inset","ring-general-200","[&:has(:focus)]:bg-none","[&:has(:focus)]:ring-primary-700","[&:has(:focus)]:ring-1","bg-white","z-[0] [&:has(:focus)]:z-[12]"],X={dialcode:{root:e=>({class:[...f(e),"!rounded-l !rounded-r-none"]}),dropdownicon:({state:e})=>r.dropdownicon({state:e})},input:e=>({class:[...f(e),"!rounded-r !rounded-l-none -ml-[1px]","focus:bg-none","focus:ring-primary-700","focus:ring-1"]})},ee={root:{class:["transition-transform","z-[7299]","w-max min-w-52","min-w-[196px]","max-h-[90vh] overflow-y-auto","rounded-md","max-w-[400px]","translate-y-1","shadow","overflow-hidden","bg-white","text-general-800"]},menu:{class:["list-none","m-0","p-0","outline-none","w-full"]},start:{class:["flex justify-end","py-[3px] px-4"]},menuitem:{class:["cursor-pointer"]},content:({context:e})=>({class:["w-full","rounded-md","text-inherit","transition-shadow","duration-200"]}),action:{class:["flex items-center justify-start gap-2","px-4 py-[7px]","hover:bg-primary-50/80","text-xs","no-underline","overflow-hidden","cursor-pointer","select-none"]},icon:{class:["w-4 h-4"]},label:({props:e})=>({class:["text-inherit",{"!text-danger-500":e.danger}]}),submenuheader:{class:["text-inherit"]},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},te={root:({props:e})=>({class:["my-2 mx-0","rounded-md","ring-1 ring-inset ring-surface-200","bg-surface-0",{"text-blue-500":e.severity=="info","text-green-500":e.severity=="success","text-orange-500":e.severity=="warn","text-red-500":e.severity=="error"}]}),wrapper:{class:["flex items-center","p-4"]},icon:{class:["w-5 h-5","mr-3 shrink-0"]},text:{class:["text-sm leading-none","font-medium"]},button:({props:e})=>({class:["flex items-center justify-center","w-6 h-6","ml-auto relative","rounded-full","bg-transparent","text-surface-700/80","transition duration-200 ease-in-out","hover:bg-surface-100","outline-none focus:ring-1 focus:ring-inset","focus:ring-primary-700","overflow-hidden"]}),closeicon:{class:["w-3 h-3","shrink-0"]},transition:{enterFromClass:"opacity-0",enterActiveClass:"transition-opacity duration-300",leaveFromClass:"max-h-40",leaveActiveClass:"overflow-hidden transition-all duration-300 ease-in",leaveToClass:"max-h-0 opacity-0 !m-0"}},ae={root:{class:["h-max","rounded-lg","shadow-xl","border-0","absolute left-0 top-0 mt-2","z-40 transform origin-center","bg-white","text-general-800","before:absolute before:-top-2 before:ml-4 before:z-50","before:w-0 before:h-0 before:shadow-xl"]},content:{class:"items-center flex"},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},ne={root:{class:["flex items-center justify-start flex-wrap gap-0.5","bg-white","text-grayscale-900"]},paginatorwrapper:{class:"mt-1.5"},pages:{class:"flex gap-0.5"},firstpagebutton:({context:e})=>({class:["relative","text-2xl font-medium","inline-flex items-center justify-center","border-t-2 border-transparent","w-6 h-6","text-general-300","transition duration-200","user-none overflow-hidden",{"cursor-default pointer-events-none opacity-60":e.disabled}]}),previouspagebutton:({context:e})=>({class:["relative","text-2xl font-medium","inline-flex items-center justify-center","border-t-2 border-transparent","w-6 h-6","text-general-300","transition duration-200","user-none overflow-hidden",{"cursor-default pointer-events-none opacity-60":e.disabled}]}),nextpagebutton:({context:e})=>({class:["relative","text-2xl font-medium","inline-flex items-center justify-center","border-t-2 border-transparent","w-6 h-6","text-general-300","transition duration-200","user-none overflow-hidden",{"cursor-default pointer-events-none opacity-60":e.disabled}]}),lastpagebutton:({context:e})=>({class:["relative","text-2xl font-medium","inline-flex items-center justify-center","border-t-2 border-transparent","w-6 h-6","text-general-300","transition duration-200","user-none overflow-hidden",{"cursor-default pointer-events-none opacity-60":e.disabled}]}),pagebutton:({context:e})=>({class:["relative","text-xs font-normal","rounded-full","w-6 h-6",{"text-general-300 border-none hover:bg-grayscale-50":!e.active,"text-white bg-grayscale-900":e.active},{"hover:border-surface-300":!e.disabled&&!e.active,"focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-primary-700":!e.disabled},"transition duration-200","user-none overflow-hidden",{"cursor-default pointer-events-none opacity-60":e.disabled}]}),rowperpagedropdown:{root:({props:e,state:t})=>({class:["inline-flex items-center justify-center","relative","w-max","px-3 py-1","rounded-[50px]","bg-transparent","border-[0.5px] border-primary-100","transition-all","duration-200",{"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-600":!t.focused},"cursor-pointer","select-none",{"opacity-60":e.disabled,"pointer-events-none":e.disabled,"cursor-default":e.disabled}]}),input:{class:["text-xs","flex items-center","bg-transparent","text-general-800","w-max","rounded-none","transition","duration-200","focus-visible:outline-none focus-visible:shadow-none","cursor-pointer","overflow-hidden overflow-ellipsis","whitespace-nowrap","appearance-none"]},trigger:{class:["text-xs","flex items-center justify-center","shrink-0","w-2","h-2","ml-0.5","rounded-tr-md","rounded-br-md"]},dropdownicon:{class:"w-2 h-2"},panel:{class:["absolute top-0 left-0","mt-1","border-0","rounded-md","bg-white","text-general-800","ring-1 ring-inset ring-primary-100"]},wrapper:{class:["max-h-[15rem]","overflow-auto"]},list:{class:"py-0.5 list-none m-0"},item:({context:e})=>({class:["text-xs","leading-none",{"font-normal":!e.selected,"font-bold":e.selected},"relative","border-0","rounded-none","m-0","py-2 px-4","hover:bg-primary-50","cursor-pointer","overflow-hidden","whitespace-nowrap"]})},jumptopageinput:{root:{class:"inline-flex mx-2"},input:{root:{class:["relative","leading-6","text-xs","text-center","block","flex-auto","bg-transparent","border-primary-100 border-[0.5px]","text-general-800","max-w-[3rem] w-fit","px-3 py-1","rounded-[50px] h-6","transition","duration-200","hover:ring-general-200","focus-visible:outline-none focus-visible:shadow-none","cursor-pointer","overflow-hidden overflow-ellipsis","whitespace-nowrap","appearance-none"]}}},jumptopagedropdown:{root:({props:e,state:t})=>({class:["inline-flex","relative","h-8","rounded-md","mx-2","bg-transparent","transition-all","duration-200",{"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-600":!t.focused},"cursor-pointer","select-none",{"opacity-60":e.disabled,"pointer-events-none":e.disabled,"cursor-default":e.disabled}]}),input:{class:["font-sans","leading-6","text-xs","block","flex-auto","flex items-center","bg-transparent","border-0","text-surface-800/80","w-[1%]","py-1.5 px-3 pr-0","rounded-none","transition","duration-200","focus-visible:outline-none focus-visible:shadow-none","relative","cursor-pointer","overflow-hidden overflow-ellipsis","whitespace-nowrap","appearance-none"]},trigger:{class:["text-xs","flex items-center justify-center","shrink-0","bg-transparent","text-surface-500","w-12","h-8","rounded-tr-md","rounded-br-md"]},panel:{class:["absolute top-0 left-0","mt-1","border-0","rounded-md","shadow-md","bg-surface-0","text-surface-800/80","ring-1 ring-inset ring-surface-300"]},wrapper:{class:["max-h-[15rem]","overflow-auto"]},list:{class:"py-1 list-none m-0"},item:({context:e})=>({class:["text-xs","leading-none",{"font-normal":!e.selected,"font-bold":e.selected},"relative","border-0","rounded-none","m-0","py-2 px-4",{"text-surface-700/80":!e.focused&&!e.selected},{"bg-primary-700 text-white":e.focused&&e.selected},{"bg-transparent text-surface-700/80":!e.focused&&e.selected},"hover:bg-primary-700 hover:text-white","cursor-pointer","overflow-hidden","whitespace-nowrap"]})},current:{class:["text-xs font-normal leading-6 px-3"]}},re={root:({props:e})=>({class:["w-full","inline-flex relative","text-general-800",{"opacity-60 select-none pointer-events-none cursor-default":e.disabled}]}),input:{class:["!bg-primary-700","placeholder:!font-normal"]},panel:{class:["p-3","border-0","shadow-md rounded-md","bg-white","text-general-800",""]},meter:{class:["overflow-hidden","relative","border-0","h-2","rounded-md","mb-2","bg-surface-100"]},meterlabel:({instance:e})=>{var t,a,n;return{class:["h-full",{"bg-red-500/50":((t=e==null?void 0:e.meter)==null?void 0:t.strength)=="weak","bg-orange-500/50":((a=e==null?void 0:e.meter)==null?void 0:a.strength)=="medium","bg-green-500/50":((n=e==null?void 0:e.meter)==null?void 0:n.strength)=="strong"},"transition-all duration-1000 ease-in-out"]}},showicon:{class:["absolute top-[54%] right-3 -mt-2","text-general-200","focus-visible:text-general-500 hover:text-general-500"]},hideicon:{class:["absolute top-[54%] right-3 -mt-2","text-general-200"]},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},_=navigator.userAgent.includes("Chrome"),b={root:({props:e})=>({class:["inline-flex relative align-middle","shrink-0","rounded-[60px]","h-4 w-8","cursor-pointer",{"select-none pointer-events-none cursor-default":e.disabled}]}),slider:({props:e})=>({class:["absolute top-0 left-0 right-0 bottom-0","rounded-[60px]","before:absolute before:top-1/2","before:-translate-y-1/2","before:h-3 before:w-3","before:rounded-full","before:duration-200 before:transition before:ease-in-out",{"before:transform before:translate-x-[calc(18px)]":e.modelValue==e.trueValue},{"before:left-0.5":e.modelValue!=e.trueValue},{"ring-1":!_,"ring-[0.5px]":_},{"before:bg-white":e.modelValue==e.trueValue,"before:bg-general-100":e.modelValue!==e.trueValue,"bg-white ring-general-100":e.modelValue!==e.trueValue&&!e.disabled,"bg-primary-700 ring-transparent":e.modelValue==e.trueValue&&!e.disabled,"bg-general-200 ring-transparent":e.modelValue==e.trueValue&&e.disabled,"bg-general-200 ring-general-100":e.modelValue!==e.trueValue&&e.disabled},e.triState&&{"!bg-danger-500 before:!bg-white ring-transparent":e.modelValue==e.falseValue&&!e.disabled,"!bg-success-500 before:!bg-white ring-transparent":e.modelValue==e.trueValue&&!e.disabled},"peer-focus-visible:!outline peer-focus-visible:!outline-offset-0 peer-focus-visible:!outline-primary-700/[5%]","transition-colors duration-200","cursor-pointer"]}),input:({props:e})=>({class:["peer","w-full ","h-full","absolute","top-0 left-0","z-10","p-0","m-0","rounded","opacity-0","rounded-md","outline-none","appearance-none",{"cursor-default":e.disabled,"cursor-pointer":!e.disabled}]}),label:{class:["relative","w-max h-max items-start cursor-pointer","flex items-start select-none text-xs tracking-[0.02em] font-medium","text-general-800","shrink-0","inline-flex","align-bottom","transition-all","duration-200"]},labeltext:{class:"ml-1 leading-4"},tooltipicon:{class:"text-primary-700 w-[10px] h-[10px]"}},ie={root:({props:e,state:t})=>({class:["relative","inline-flex","w-4 h-4","ring-inset","ring-2","rounded-full",{"bg-white":!e.disabled||t.checked,"bg-general-50":e.disabled&&!t.checked,"ring-general-100":!e.disabled&&!t.checked,"ring-primary-700":!e.disabled&&t.checked,"ring-general-200":e.disabled},{"!ring-danger-500":e.invalid},"cursor-pointer"],"data-wv-name":"buttonradio","data-wv-section":"root"}),box:({props:e,state:t})=>({class:["w-2 h-2","text-sm","font-medium","translate-x-1/2","translate-y-1/2","rounded-full","transition duration-200 ease-in-out",{"bg-primary-700":t.checked&&e.value!==void 0&&!e.disabled,"bg-general-200":t.checked&&e.value!==void 0&&e.disabled},{"outline-none outline-offset-0":!e.disabled,"peer-focus-visible:ring-8 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-primary-400/[8%]":!e.disabled}]}),input:({props:e})=>({class:["peer","w-full ","h-full","absolute","top-0 left-0","z-10","p-0","m-0","opacity-0","rounded-md","outline-none","appearance-none",{"cursor-default":e.disabled,"cursor-pointer":!e.disabled}]}),icon:{class:"hidden"},label:b.label,labeltext:b.labeltext,tooltipicon:b.tooltipicon},le={root:{class:["block absolute bg-surface-0/50 rounded-full pointer-events-none"],style:"transform: scale(0)"}},se={root:{class:"relative"},menu:{class:"p-0 m-0 list-none flex justify-center"},menuitem:{class:["relative","flex","justify-center"]},action:({props:e,context:t,state:a})=>({class:["inline-flex items-start relative","flex-col","transition-shadow","rounded-md",{"pr-4 min-[576px]:pr-32 md:pr-40":e.model.length!==t.index+1},"bg-surface-0","",{"cursor-pointer":!e.readonly},"after:border-t-2",{"after:border-surface-200":a.d_activeStep<=t.index},{"after:border-primary-700":a.d_activeStep>t.index},"after:w-full","after:absolute","after:top-1/2","after:left-0","after:transform","after:-mt-3",{"after:hidden":e.model.length==t.index+1}]}),step:({context:e,props:t,state:a})=>({class:["flex items-center justify-center","z-40","rounded-full","border-2","w-[2rem]","h-[2rem]","text-sm","leading-[2rem]",{"text-surface-400/60":!e.active&&a.d_activeStep<e.index,"border-surface-100":!e.active&&a.d_activeStep<e.index,"bg-surface-0":a.d_activeStep<=e.index},{"border-primary-700":e.active,"text-primary-700":e.active},{"bg-primary-700":a.d_activeStep>e.index,"text-surface-0":a.d_activeStep>e.index,"border-primary-700":a.d_activeStep>e.index},{"hover:border-surface-300":!e.active&&!t.readonly},"transition-colors duration-200 ease-in-out"]}),label:({context:e})=>({class:["relative","text-sm leading-none",{"font-medium":e.active},"block","mt-2",{"text-surface-400/60":!e.active,"text-surface-800/80":e.active},"whitespace-nowrap","overflow-ellipsis","max-w-full"]})};function h(e,t){return{[e]:t}[e]}h("WANGS-TAB-MENU",{root:{class:"overflow-x-visible"},menu:({props:e})=>({class:["flex flex-1","list-none","p-0 m-0","text-general-100",{"w-max ring-1 ring-inset ring-general-100 rounded":e.type==="segmented"}]}),menuitem:{class:"mr-0"},action:({props:e,context:t})=>{var a,n;return{class:["relative","font-medium","text-xs leading-4 tracking-[0.02em]","flex items-center",{"rounded-xl py-1 px-3":e.type==="pill",rounded:e.type==="segmented","p-2 pb-1.5 pt-0.5 !h-6":e.type==="tab","py-[5px] px-3 !h-6":e.type==="segmented","ml-1":e.type==="pill"&&t.index!==0,"gap-1":t.item.icon},{"border-b-2":e.type==="tab","shadow-[-2px_2px_2px_rgba(0,0,0,0.25)] overflow-visible":e.type==="segmented"&&t.active},{"border-primary-700":t.active,"border-grayscale-400":!t.active,"text-grayscale-600":!t.active&&e.type==="tab","text-primary-700":t.active&&e.type==="tab","bg-primary-700 text-white":e.type==="pill"&&t.active,"bg-grayscale-100 text-grayscale-800":e.type==="pill"&&!t.active,"bg-primary-500 text-white":e.type==="segmented"&&t.active,"!text-general-800":e.type==="segmented"&&!t.active,"bg-transparent ":e.type!=="pill"&&!t.active},{"hover:bg-primary-50":e.type==="tab"},"focus-visible:outline-none focus-visible:outline-offset-0",{"focus-visible:border-primary-200 focus-visible:text-primary-400":!t.active},{"pointer-events-none":(a=t.item)==null?void 0:a.disabled,"opacity-60":(n=t.item)==null?void 0:n.disabled},"transition-all duration-200","cursor-pointer select-none text-decoration-none","overflow-hidden","user-select-none","!no-underline","whitespace-nowrap"]}},icon:{class:"mr-2"},inkbar:({props:e})=>({class:["grow border-b-2 border-grayscale-400",{hidden:e.type==="pill"||e.useTrailingLine===!1||e.type==="segmented"}]})}),h("WANGS-INPUT-OTP",{root:{class:["flex items-center","gap-[6px]","w-max"]},input:({props:e,context:t,parent:a})=>({class:["text-[14px] leading-none font-medium",{"flex-1 w-[1%]":a.tagName=="WANGS-INPUT-GROUP"},"text-center","m-0","w-[42px] h-[42px]",{"rounded-md":a.tagName!=="WANGS-INPUT-GROUP"},{"first:rounded-l-md rounded-none last:rounded-r-md":a.tagName=="WANGS-INPUT-GROUP"},{"border-0 border-y border-l last:border-r":a.tagName=="WANGS-INPUT-GROUP"},"text-general-800 dark:text-general-800","placeholder:text-surface-400 dark:placeholder:text-surface-500","bg-white dark:bg-white",{"ring-1":navigator.userAgent.includes("Firefox"),"ring-[0.5px]":!navigator.userAgent.includes("Firefox")},{"ring-general-200 dark:ring-general-200":!e.invalid},{"ring-danger-500 dark:ring-danger-500":e.invalid},{"hover:bg-primary-50/50 hover:ring-primary-500 dark:hover:ring-primary-400":!t.disabled&&!e.invalid,"focus:bg-primary-50/50 focus:ring-primary-500 dark:focus:ring-primary-400":!t.disabled&&!e.invalid,"focus:outline-none focus:outline-offset-0":!t.disabled,"opacity-60 select-none pointer-events-none cursor-default":t.disabled},{filled:a.tagName=="WANGS-FLOAT-LABEL"&&t.filled},"appearance-none","transition-colors duration-200"]})});const c=class c{constructor(){w(this,"_baseUrl","");if(globalThis[c.SINGLETON_KEY])return globalThis[c.SINGLETON_KEY];globalThis[c.SINGLETON_KEY]=this}setNavigationBaseUrl(t){this._baseUrl=this.normalizeBase(t)}getNavigationBaseUrl(){return this._baseUrl}normalizeBase(t){return t.replace(/\/+$/,"").concat("/")}normalizePath(t){if(!t.startsWith("/"))return new URL(t,window.location.href).pathname;const a=this.getNavigationBaseUrl();if(!a)return t;const n=t.slice(1);return`${a}${n}`}stripBase(t,a){return a||(a=this.getNavigationBaseUrl()),a!=="/"&&t.startsWith(a)?"/"+t.slice(a.length).replace(/^\/+/,""):t}push(t,a={},n=""){var x;const i={...a,...history.state??{},current:t,back:(x=history.state)==null?void 0:x.current,forward:void 0,replaced:!1,position:history.length+1};window.history.pushState(i,n,t)}replace(t,a={},n=""){const i={...a,...history.state??{},forward:void 0,current:t,replaced:!0};window.history.replaceState(i,n,t)}dispatchBeforeNavigationEvent(t,a,n){window.dispatchEvent(new CustomEvent("wangs-ui-core:before-navigation-event",{detail:{route:t,mode:a,state:n}}))}dispatchNavigationEvent(t,a,n){window.dispatchEvent(new CustomEvent("wangs-ui-core:navigation-event",{detail:{route:t,mode:a,state:n}}))}navigateToRoute(t,a="push",n=history.state,i=""){if(!t)return;const x=typeof t=="string"?t:t.toString(),u=this.normalizePath(x);if(u===location.pathname)return console.warn("[WangsUIRouter] Navigation aborted: target route is the same as the current route.");this.dispatchBeforeNavigationEvent(u,a,n),a==="push"?this.push(u,n,i):this.replace(u,n,i),this.dispatchNavigationEvent(u,a,n)}};w(c,"SINGLETON_KEY","__WANGS_UI_ROUTER_INSTANCE__");let v=c;new v;const oe=h("WANGS-TAB-MENU",{root:{class:"overflow-x-auto"},menu:({props:e})=>({class:["flex flex-1","list-none","p-0 m-0","text-general-100",{"w-max ring-1 ring-inset ring-general-100 rounded !m-[2px]":e.type==="segmented"}]}),menuitem:{class:"mr-0"},action:({props:e,context:t})=>{var a,n;return{class:["relative","font-medium","text-xs leading-4 tracking-[0.02em]","flex items-center",{"rounded-xl py-1 px-3":e.type==="pill",rounded:e.type==="segmented","p-2 pb-1.5 pt-0.5 !h-6":e.type==="tab","py-[5px] px-3 !h-[26px]":e.type==="segmented","ml-1":e.type==="pill"&&t.index!==0,"gap-1":t.item.icon},{"border-b-2":e.type==="tab"},{"border-primary-700":t.active,"border-grayscale-400":!t.active,"text-grayscale-600":!t.active&&e.type==="tab","text-primary-700":t.active&&e.type==="tab","bg-primary-700 text-white":e.type==="pill"&&t.active,"bg-grayscale-100 text-grayscale-800":e.type==="pill"&&!t.active,"bg-primary-500 text-white shadow-[-2px_2px_2px_rgba(0,0,0,0.25)]":e.type==="segmented"&&t.active,"!text-general-800":e.type==="segmented"&&!t.active,"bg-transparent ":e.type!=="pill"&&!t.active},{"hover:bg-primary-50":e.type==="tab"},"focus-visible:outline-none focus-visible:outline-offset-0",{"focus-visible:border-primary-200 focus-visible:text-primary-400":!t.active},{"pointer-events-none":(a=t.item)==null?void 0:a.disabled,"opacity-60":(n=t.item)==null?void 0:n.disabled},"transition-all duration-200","cursor-pointer select-none text-decoration-none","overflow-hidden","user-select-none","!no-underline","whitespace-nowrap"]}},icon:{class:"mr-2"},inkbar:({props:e})=>({class:["grow border-b-2 border-grayscale-400",{hidden:e.type==="pill"||e.useTrailingLine===!1||e.type==="segmented"}]})}),ce={root:({context:e,props:t})=>({class:["font-medium text-xs tracking-[0.02em]","placeholder:text-general-200 placeholder:!font-light","w-full",{"resize-none":t.autoResize,resize:!t.autoResize},t.inputClass,"m-0","py-1 px-3","rounded","appearance-none",...W,{"!ring-danger-500":e.invalidInput},{"bg-white text-general-800":!e.disabled,"bg-general-50 text-general-200":e.disabled},"focus-visible:outline-none","appearance-none","transition-colors duration-200"],style:`min-height: ${t.rows*26}px`,"data-wv-name":"textarea","data-wv-section":"root"})},m=e=>{if(!e)return!0;const t=Object.keys(e);return t.length?t.every(a=>{const n=e[a];return typeof n=="object"?Array.isArray(n)?!n.length||n.every(i=>typeof i=="object"?m(i):i==null):m(n):n==null}):!0},de={root:({props:e})=>({class:["flex flex-col grow","text-xs font-normal text-grayscale-900"]}),event:({props:e,context:t})=>({class:["grid grid-cols-[max-content,1fr] gap-x-[10px] gap-y-1"]}),opposite:({props:e,context:t})=>({class:"hidden"}),separator:({props:e})=>({class:["flex items-center flex-initial",{"flex-col":e.layout==="vertical","flex-row":e.layout==="horizontal"}]}),marker:{class:["w-max","rounded-full","bg-transparent","ring-2 ring-inset ring-primary-400 p-0.5","flex items-center justify-center"]},markerArrow:e=>({class:["w-4 h-4 invisible transition-transform duration-200 ease-in-out text-grayscale-900",{"!visible":e.detail&&!m(e.detail)},{"rotate-180":e.showDetail}],"data-wv-section":"markerArrow"}),markerDot:e=>({class:["hidden w-[6px] h-[6px] m-[3px] rounded-full bg-black",{"!flex":!e.detail||m(e.detail)}],"data-wv-section":"markerDot"}),contentHeader:{class:["leading-5 cursor-pointer truncate !text-xs !font-bold"]},contentDetailKey:{class:["text-general-400 whitespace-nowrap"]},contentDetailValue:{class:["text-xs text-general-800"]},contentDate:{class:["text-xs font-medium"]},connector:({props:e})=>({class:["w-[2px] grow bg-grayscale-900"]}),content:({props:e,context:t})=>({class:["grid grid-rows-[max-content,auto] pb-2.5 gap-1"]})},ue={root:({props:e})=>({class:["w-full max-w-[496px]",{"-translate-x-2/4":e.position=="top-center"||e.position=="bottom-center"}],style:`z-index: ${e.baseZIndex}`}),container:({props:e})=>({class:["border-l-4 mt-6","rounded-[7px] w-full","shadow-lg",{"border-success-500 text-success-500 bg-success-50":e.message.severity==="success","border-danger-500 text-danger-500 bg-danger-50":e.message.severity==="error","border-primary-700 text-primary-700 bg-primary-50":e.message.severity==="info"}],"data-wv-severity":e.message.severity}),content:{class:"flex items-center py-3 px-3 text-inherit gap-2"},icon:{class:"hidden"},text:{class:["text-xs leading-4 font-normal tracking-[0.02em] text-inherit","flex-1"]},summary:{class:"font-medium block"},detail:{class:"text-inherit"},closebutton:({props:e})=>({class:["flex items-center justify-center","w-6 h-6","ml-auto relative","rounded-full","bg-transparent",{"text-success-500 hover:bg-success-100":e.message.severity==="success","text-danger-500 hover:bg-danger-100":e.message.severity==="error","text-primary-700 hover:bg-primary-100":e.message.severity==="info"},"transition duration-200 ease-in-out","overflow-hidden"]}),closeicon:{class:["w-[13px] h-[13px]","shrink-0"]},transition:{enterFromClass:"opacity-0 translate-y-2/4",enterActiveClass:"transition-[transform,opacity] duration-300",leaveFromClass:"max-h-[1000px]",leaveActiveClass:"!transition-[max-height_.45s_cubic-bezier(0,1,0,1),opacity_.3s,margin-bottom_.3s] overflow-hidden",leaveToClass:"max-h-0 opacity-0 mb-0"}},ge={root:{class:["relative","inline-flex","align-bottom","cursor-pointer","select-none"]},box:({props:e})=>({class:["items-center inline-flex flex-1 text-center align-bottom justify-center","px-2.5 py-1.5","text-sm","rounded-md shadow-sm","text-surface-700/80","ring-1 ring-surface-200",{"bg-surface-0 ":!e.modelValue,"bg-surface-100":e.modelValue},"peer-hover:bg-surface-200",{"peer-focus-visible:ring-2 peer-focus-visible:ring-inset peer-focus-visible:ring-primary-700":!e.disabled},"transition-all duration-200",{"cursor-pointer":!e.disabled,"opacity-60 select-none pointer-events-none cursor-default":e.disabled}]}),label:{class:"font-semibold text-center w-full"},input:{class:["peer","w-full ","h-full","absolute","top-0 left-0","z-10","p-0","m-0","opacity-0","rounded-md","outline-none","border border-surface-200","appareance-none","cursor-pointer"]},icon:{class:[" mr-2","text-surface-700/80"]}},fe={root:({context:e,props:t})=>({class:["absolute",{"pb-1":e==null?void 0:e.top,"pt-1":e==null?void 0:e.bottom,"pl-1":e==null?void 0:e.right,"pr-1":e==null?void 0:e.left},"!transition"]}),arrow:{class:"hidden"},text:{class:["rounded-[10px]","bg-primary-50","px-2 py-1","text-xs font-light leading-4 text-left tracking-[0.02em]","text-primary-700","shadow-[-4px_4px_20px_0px_#0000001A]","whitespace-pre-line","break-words"]}},be={root:{class:["relative","w-full h-full","grow overflow-auto","rounded-md","min-h-8"]},loadingOverlay:{class:["flex justify-center items-center absolute z-1 h-full w-full"]},wrapper:{class:["overflow-auto"]},container:{class:["m-0 p-0","list-none overflow-auto"]},node:{class:["p-0","!pl-1","rounded-md","focus:outline-none focus:outline-offset-0"]},content:({context:e,props:t})=>({class:["flex items-start","rounded-md","p-1","text-general-800",{"bg-primary-50 !text-general-800 [&_*]:text-general-800":e.selected&&t.selectionMode==="single"},{"hover:bg-primary-50":(t.selectionMode=="single"||t.selectionMode=="multiple")&&!e.disabled&&!e.exactDisabled},{"!text-general-200":e.disabled&&!e.exactDisabled,"!cursor-default":e.disabled||e.exactDisabled},"transition-shadow duration-200",{"cursor-pointer select-none":t.selectionMode=="single"||t.selectionMode=="multiple"},{"cursor-pointer":!e.disabled}]}),toggler:({context:e})=>({class:["inline-flex items-center justify-center","shrink-0","border-0 rounded-full","w-4 h-4","mr-0.5","!text-general-800","bg-transparent",{invisible:e.leaf},"hover:bg-surface-100","transition duration-200","cursor-pointer select-none !pointer-events-auto"],"data-wv-section":"tree-node-toggler"}),togglericon:{class:["w-4 h-4"]},nodeCheckbox:d,nodeicon:()=>({class:["!hidden"]}),subgroup:{class:["!m-0 list-none p-0 !pl-1"]},filtercontainer:{class:["relative block","mb-2","w-full"]},input:{class:["relative","font-sans leading-6","sm:text-sm","m-0","py-1.5 px-3 pr-10","w-full","rounded-md","text-surface-900","placeholder:text-surface-400","bg-surface-0","ring-1 ring-inset ring-surface-300","hover:border-primary-700","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-700","appearance-none","transition-colors duration-200"]},loadingicon:{class:["text-general-400","absolute text-lg top-[50%] right-[50%] -mt-2 -mr-2 animate-spin"]},searchicon:{class:["absolute top-1/2 -mt-2 right-3","text-surface-600"]},label:({props:e,context:t})=>({class:["inline-flex justify-between items-center gap-2 ml-2","w-full","text-xs font-medium",{"!text-general-200 !cursor-default":t.exactDisabled&&e.node.key!=-1},{"!text-general-800":e.node.isPlacementGroup}]})},me={root:({props:e,state:t})=>({class:["inline-flex","relative","w-full md:w-56","rounded-md","shadow-sm","bg-surface-0",{"ring-1 ring-inset ring-surface-300":!t.focused,"ring-2 ring-inset ring-primary-700":t.focused},"cursor-default","select-none",{"opacity-60":e.disabled,"pointer-events-none":e.disabled}]}),labelContainer:{class:["overflow-hidden flex flex-auto cursor-pointer"]},label:{class:["block leading-5","py-1.5 px-3","text-surface-800/80","transition duration-200","overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis"]},trigger:{class:["sm:text-sm","flex items-center justify-center","shrink-0","bg-transparent","text-surface-500","w-12","rounded-tr-md","rounded-br-md"]},panel:{class:["absolute top-0 left-0","mt-2","border-0","rounded-md","shadow-md","bg-surface-0","text-surface-800/80","ring-1 ring-inset ring-surface-300"]},wrapper:{class:["max-h-[200px]","overflow-auto"]},tree:{root:{class:["relative","p-1.5"]},wrapper:{class:["overflow-auto"]},container:{class:["m-0 p-0","list-none overflow-auto"]},node:{class:["p-0","rounded-md","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-700"]},content:({context:e,props:t})=>({class:["flex items-center","rounded-md","p-2","text-surface-700",{"bg-surface-100 text-primary-700":e.selected},{"hover:bg-surface-200":t.selectionMode=="single"||t.selectionMode=="multiple"},"transition-shadow duration-200",{"cursor-pointer select-none":t.selectionMode=="single"||t.selectionMode=="multiple"}]}),toggler:({context:e})=>({class:["inline-flex items-center justify-center","border-0 rounded-full","mr-2","w-6 h-6","mr-2","text-surface-500","bg-transparent",{invisible:e.leaf},"hover:text-surface-700","hover:bg-surface-100","focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-inset","focus:ring-primary-700","transition duration-200","cursor-pointer select-none"]}),togglericon:{class:["w-4 h-4","text-surface-500/70"]},nodeCheckbox:{root:{class:["relative","inline-flex","align-bottom","w-4","h-4","mr-2","cursor-default","select-none"]},box:({props:e,context:t})=>({class:["flex","items-center","justify-center","w-4","h-4","rounded","border","text-surface-600",{"border-surface-300 bg-surface-0":!t.checked,"border-primary-700 bg-primary-700":t.checked},{"ring-2 ring-primary-700":!e.disabled&&t.focused,"cursor-default opacity-60":e.disabled},{"peer-focus-visible:ring-2 peer-focus-visible:ring-primary-700":!e.disabled,"cursor-default opacity-60":e.disabled},"transition-colors","duration-200"]}),input:{class:["peer","w-full ","h-full","absolute","top-0 left-0","z-10","p-0","m-0","rounded","border","opacity-0","rounded-md","outline-none","border-2 border-surface-300","appareance-none"]},icon:{class:["text-normal","w-3","h-3","text-white","transition-all","duration-200"]}},nodeicon:{class:["mr-2","text-surface-600/70"]},subgroup:{class:["m-0 list-none p-0 pl-2 mt-1"]},filtercontainer:{class:["relative block","mb-2","w-full"]},input:{class:["relative","font-sans leading-6","sm:text-sm","m-0","py-1.5 px-3 pr-10","w-full","rounded-md","text-surface-900","placeholder:text-surface-400","bg-surface-0","ring-1 ring-inset ring-surface-300","hover:border-primary-700","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-700","appearance-none","transition-colors duration-200"]},loadingicon:{class:["text-surface-500","absolute top-[50%] right-[50%] -mt-2 -mr-2 animate-spin"]},searchicon:{class:["absolute top-1/2 -mt-2 right-3","text-surface-600"]}},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},xe={root:{class:["relative","w-4 h-4","inline-flex","align-bottom","transition-all","duration-200"]},box:({props:e,context:t})=>({class:["flex","items-center","justify-center","w-full","h-full","rounded","border-2","text-surface-0",{"border-general-100 bg-surface-0":!t.active&&!e.disabled,"border-primary-700 bg-primary-700":t.active&&!e.disabled},{"ring-2 ring-primary-700":!e.disabled&&t.focused,"cursor-default":e.disabled},{"peer-focus-visible:ring-2 peer-focus-visible:ring-offset-1 peer-focus-visible:ring-primary":!e.disabled,"cursor-default bg-general-50 border-general-200":e.disabled&&!t.active,"bg-general-200 border-general-200":e.disabled&&t.active},"transition-colors","duration-200"]}),input:{class:["peer","w-full ","h-full","absolute","top-0 left-0","z-10","p-0","m-0","rounded","border","opacity-0","rounded-md","outline-none","border-2 border-surface-300","appareance-none","cursor-pointer"]},checkicon:{class:["text-normal","w-3","h-3","text-surface-0","transition-all","duration-200"]},uncheckicon:{class:["text-normal","w-3","h-3","text-surface-0","transition-all","duration-200"]}},he={root:{class:["!mt-0 text-danger-500 text-xs font-light tracking-[0.02em]"],"data-wv-name":"validatormessage","data-wv-section":"root"}},ve={root:{class:"flex gap-2 items-center shrink-0","data-wv-name":"buttonbulkaction","data-wv-section":"root"},menu:{id:"bulkaction-overlay-menu",class:"flex gap-2 items-center","data-wv-section":"menu"},selectionmessage:{class:"text-xs text-grayscale-900 cursor-default whitespace-nowrap","data-wv-section":"selectionmessage"},buttonselectall:({context:e})=>({class:["!px-1.5 !py-1 -ml-1.5 -mr-1.5 !text-xs",{"pointer-events-none":e.selectedAll}],"data-wv-section":"buttonselectall"}),bulkactiontoggle:{class:"rounded-full","data-wv-section":"bulkactiontoggle"},dropdownmenu:{root:({props:e,state:t})=>({class:["flex items-center gap-1 transition-all shrink-0","py-[5px] px-3","ring-inset ring-1 ring-primary-700 rounded",{"opacity-60":e.disabled,"pointer-events-none":e.disabled}],"data-wv-section":"dropdownmenu"}),input:({props:e,state:t})=>({class:["w-full h-full transition-transform !text-primary-700 cursor-pointer","text-xs font-medium outline-none tracking-[0.02em] leading-4"]}),trigger:{class:["text-primary-700 [&_i]:w-4 [&_i]:h-4 shrink-0"]},item:()=>""},applybutton:{class:"shrink-0","data-wv-section":"applybutton"},buttonclearselection:{class:"!p-0 !w-6 !h-6 [&_.icon]:!w-5 [&_.icon]:!h-5","data-wv-section":"buttonclearselection"}},we={root:{class:"flex flex-nowrap items-center gap-1","data-wv-name":"badgegroup","data-wv-section":"root"},showmorebutton:{class:"!p-1 !h-auto text-primary-700 !font-medium text-xs leading-4 tracking-[0.02em]","data-wv-section":"showmorebutton"},showmoredialog:{root:{class:[p.root({state:{}}).class,"w-[400px]"],"data-wv-section":"showmoredialog"},title:{class:["text-general-900 text-sm font-semibold leading-5"],"data-wv-section":"showmoredialogtitle"},content:{class:["flex flex-wrap gap-1"],"data-wv-section":"showmoredialogcontent"}}},Ne=s("default",{global:H,directives:{badge:S,ripple:le,tooltip:fe},form:D,filtercontainer:{root:{class:["bg-general-50 rounded-lg [&>*]:w-full [&>*]min-w-0","grid items-end p-3 gap-x-3 gap-y-4"]}},dropdown:R,inputnumber:Q,inputphonenumber:X,inputcurrency:{currency:e=>({class:[...f(e),"!rounded-l !rounded-r-none"],"data-wv-section":"currency"}),value:e=>({class:[...f(e),"!rounded-r !rounded-l-none -ml-[1px]"],"data-wv-section":"value"})},inputtext:k,inputbadge:q,calendar:F,checkbox:d,buttonradio:ie,multiselect:r,togglebutton:ge,toggleswitch:b,inputgroup:J,inputgroupaddon:Z,treeselect:me,tristatecheckbox:xe,textarea:ce,password:re,validatormessage:he,fileupload:{root:{"data-wv-name":"fileupload","data-wv-section":"root"},wrapper:{class:["w-full"],"data-wv-section":"wrapper"},input:({state:e})=>({class:[{"":e.fileName!=null}]}),buttonupload:({props:e})=>({class:[{"mb-[21px]":e.fileExtensions||e.fileRequirements}]}),requirements:{class:"flex justify-start"}},fieldwrapper:{root:{class:["flex flex-col items-start justify-start relative gap-1 w-full shrink-0 overflow-hidden"],"data-wv-name":"fieldwrapper","data-wv-section":"root"},label:({props:e,slots:t})=>({class:[["text-general-900 text-xs flex gap-[2px] font-medium tracking-[0.02em]",e.labelClass],{"w-full":t["label-addon"]}],"data-wv-section":"fieldlabel"}),info:{class:"w-2.5 h-2.5 text-primary-700"},optionaltext:{class:"text-grayscale-700 text-[10px] font-normal leading-4"},arterisksign:{class:"text-danger-500"}},button:T,buttondownload:P,buttonbulkaction:ve,buttonsearch:I,buttonsplit:V,buttonfilter:N,paginator:ne,datatable:G,customcolumn:L,tree:be,timeline:de,changelog:U,accordion:o,card:E,menu:ee,steps:se,breadcrumb:{root:{class:["flex gap-[5px] items-center text-left h-[26px]","text-general-800","text-xs font-medium leading-4 tracking-[0.02em]"],"data-wv-name":"breadcrumb","data-wv-section":"root"},item:({context:e})=>({class:{"font-bold text-general-400":e.lastItem,"text-primary-700":!e.lastItem&&!e.firstItem},"data-wv-section":"breadcrumb-menu"}),itemlink:{class:"cursor-pointer text-primary","data-wv-section":"itemlink"},separator:{content:">","data-wv-section":"separator"}},tabmenu:oe,dialog:p,dialogconfirm:M,dialogform:O,overlaypanel:ae,message:te,inlinemessage:Y,toast:ue,carousel:$,badge:g,badgegroup:we,image:K,loading:{root:{class:["w-screen h-screen fixed top-0 left-0 z-[9999999]","bg-white","flex flex-col items-center justify-center","transition-opacity"]},animation:{class:["w-[700px] h-auto"]}},codesnippet:B,username:{root:{class:"flex items-center gap-1"},displayname:({props:e})=>({class:["text-xs font-medium tracking-[0.02em] cursor-pointer",{"text-primary-700":e.type==="icon"},{"text-general-800":e.type!=="icon"}]}),panel:{background:{class:"bg-algae-green-300 absolute top-0 h-[42px] w-full"},username:{class:"font-semibold text-xs text-center text-balance"},useremail:{class:"text-[9px] font-normal leading-3"},positiondivision:{class:"text-[9px] font-normal leading-3"},userdetaillink:{class:"underline text-primary-700 text-xs leading-4 cursor-pointer hover:text-primary-800 transition-colors duration-100"},contentwrapper:{class:"relative overflow-hidden flex flex-col gap-2 w-[200px] h-max items-center justify-center p-3 rounded-[8px] text-grayscale-900 tracking-[0.02em]"},detailwrapper:{class:"flex flex-col gap-0.5 items-center justify-center"}}},progressbar:{root:({props:e})=>({class:[{"grid items-center gap-2":e.mode==="determinate","grid-cols-[max-content,auto]":e.valuePosition==="left-side","grid-cols-[auto,max-content]":e.valuePosition==="right-side"}],"data-wv-name":"progressbar","data-wv-section":"root"}),container:({props:e})=>({class:["relative overflow-hidden",{"order-2":e.valuePosition==="left-side","order-1":e.valuePosition==="right-side"},{"bg-general-100 m-0 border-0 progressbar-value-animate before:absolute before:top-0 before:left-0 before:bottom-0 before:bg-success-500 after:absolute after:top-0 after:left-0 after:bottom-0 after:bg-inherit after:delay-1000":e.mode==="indeterminate"},"h-3.5","border-0","rounded-sm","bg-general-100"],"data-wv-section":"container"}),value:({props:e})=>({class:["rounded-sm",{"absolute flex items-center justify-center":e.mode!=="indeterminate"},{"bg-warning-500":e.severity==="warning","min-w-[6px] !bg-grayscale-500":+e.value==0,"bg-success-500":e.severity==="success","bg-danger-500":e.severity==="danger","bg-primary-500":e.severity==="primary"},"m-0 h-3.5 w-0","border-0",{"transition-width duration-1000 ease-in-out":e.mode!=="indeterminate","progressbar-value-animate":e.mode==="indeterminate"},{"before:absolute before:top-0 before:left-0 before:bottom-0 before:bg-inherit ":e.mode==="indeterminate","after:absolute after:top-0 after:left-0 after:bottom-0 after:bg-inherit after:delay-1000":e.mode==="indeterminate"}]}),label:({props:e})=>({class:["inline-flex justify-end","font-medium text-[14px] leading-4","leading-none",{"absolute inset-0 mr-1 !text-xs":e.valuePosition==="inside","order-1":e.valuePosition==="left-side","order-2":e.valuePosition==="right-side"}]})}})}}});
76
+ `},K={root:({props:e})=>({class:["relative inline-block","shrink-0",{"rounded-full":e.rounded},{"rounded-lg":!e.rounded},e.class,"w-max h-max"],style:!e.size&&e.width?{width:`${e.width}px`,height:`${e.width}px`}:void 0}),image:({props:e,context:t})=>({class:["object-cover",{"!rounded-full":e.rounded},{"!rounded-lg":!e.rounded}],style:`width: ${t.imageSize}px; height: ${t.imageSize}px;`}),button:{class:["flex items-center justify-center","absolute","w-full h-full","inset-0 opacity-0 transition-opacity duration-300","bg-transparent text-white","hover:cursor-pointer hover:bg-grayscale-900 hover:opacity-50"],style:"border-radius: inherit"},icon:{class:"text-white w-6 h-6 opacity-100 max-w-[50%]"},mask:{class:["flex items-center justify-center","fixed top-0 left-0","w-full h-full","bg-grayscale-950/90"]},toolbar:{class:["flex","absolute top-0 right-0","p-4"]},rotaterightbutton:{class:["z-20","flex justify-center items-center","w-6 h-6","mr-2","rounded-full","text-white bg-transparent","hover:text-white hover:bg-white/10","focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50","transition duration-200 ease-in-out"]},rotaterighticon:{class:"w-4 h-4"},rotateleftbutton:{class:["z-20","flex justify-center items-center","w-6 h-6","mr-2","rounded-full","text-white bg-transparent","hover:text-white hover:bg-white/10","focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50","transition duration-200 ease-in-out"]},rotatelefticon:{class:"w-4 h-4"},zoomoutbutton:{class:["z-20","flex justify-center items-center","w-6 h-6","mr-2","rounded-full","text-white bg-transparent","hover:text-white hover:bg-white/10","focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50","transition duration-200 ease-in-out"]},zoomouticon:{class:"w-4 h-4"},zoominbutton:{class:["z-20","flex justify-center items-center","w-6 h-6","mr-2","rounded-full","text-white bg-transparent","hover:text-white hover:bg-white/10","focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50","transition duration-200 ease-in-out"]},zoominicon:{class:"w-4 h-4"},closebutton:{class:["z-20","flex justify-center items-center","w-6 h-6","mr-2","rounded-full","text-white bg-transparent","hover:text-white hover:bg-white/10","focus:outline-none focus:outline-offset-0 focus:ring focus:ring-primary-400/50","transition duration-200 ease-in-out"]},closeicon:{class:"w-4 h-4"},transition:{enterFromClass:"opacity-0 scale-75",enterActiveClass:"transition-all duration-150 ease-in-out",leaveActiveClass:"transition-all duration-150 ease-in",leaveToClass:"opacity-0 scale-75"}},Y={root:({props:e})=>({class:["rounded-md p-3","w-full",{"bg-success-50 text-success-500":e.severity=="success","bg-danger-50 text-danger-500":e.severity=="danger","bg-grayscale-50 text-general-800":e.severity=="secondary"}],"data-wv-name":"inlinemessage","data-wv-section":"root"}),icon:({props:e})=>({class:["w-4 h-4 !cursor-auto",{"animate-spin duration-200 text-general-100":e.loading}],"data-wv-section":"messageicon"}),text:{class:["w-full flex gap-3 flex-col","text-[12px] leading-[normal] tracking-[0.24px]","font-medium"]}},k={root:({props:e,context:t,parent:a})=>{var n,i;return{class:["px-3 py-[5px] w-full bg-transparent","h-max",{"max-h-[43px]":(i=(n=a.instance)==null?void 0:n.placeholder)==null?void 0:i.includes("password")},"text-general-800 text-xs tracking-[0.02em] font-medium","placeholder:text-general-200","placeholder:!font-light","appearance-none",{"outline-none":!t.disabled,"!text-general-200 select-none pointer-events-none cursor-default":t.disabled}]}}},C=navigator.userAgent.includes("Chrome"),q={root:({context:e})=>({class:["flex flex-wrap gap-x-0.5 gap-y-[5px] items-center","min-h-[26px] h-fit w-full","ring-inset rounded px-[12px] py-[3px]",{"ring-[1px]":!C,"ring-[0.5px]":C},{"!ring-danger-500 !dark:ring-danger-500":e.invalidInput},{"!ring-general-200 !dark:ring-general-200":!e.invalidInput},{"pointer-events-none":e.disabled}]}),input:({context:e,parent:t,props:a})=>({class:[...k.root({props:a,context:e,parent:t}).class,"outline-none !w-full !bg-transparent !p-0 !shadow-none h-max !leading-4 min-w-[70px]",{"placeholder:text-transparent":e.showPlaceholder},"focus:placeholder:text-general-200"]}),erroricon:{class:["mr-1 text-warning-600 text-base"]},erroroverlaypanel:{class:["px-3 py-1 text-[12px] text-general-800"]}},j=navigator.userAgent.includes("Chrome"),J={root:({props:e})=>({class:[{"!ring-danger-500 [&_.inputgroupaddon]:ring-danger-500":e.invalid&&e.ring!=="none","[&_.inputgroupaddon]:ring-general-200":!e.invalid&&e.ring!=="none","!bg-general-50 ":e.disabled},{"[&:has(:focus)]:!ring-primary-700 [&:has(:focus)_.inputgroupaddon]:!ring-primary-700":e.ring!=="none"},{"ring-[1px] [&_.inputgroupaddon]:ring-[1px]":!j&&e.ring!=="none","ring-[0.5px] [&_.inputgroupaddon]:ring-[0.5px]":j&&e.ring!=="none"},"[&_.inputgroupaddon[data-addon-variant=plain]]:!ring-[0px]","[&:has(input)]:cursor-text","flex items-stretch","w-full","ring-inset ring-general-200 rounded","bg-white",e.class],"data-wv-section":"inputgroup"})},Z={root:({props:e})=>({class:["inputgroupaddon","inline-flex items-center justify-center","first:rounded-tl first:rounded-bl","last:rounded-tr last:rounded-br","ring-inset","px-3 gap-3","w-max","text-general-800","text-xs font-medium leading-none tracking-tight",{"bg-general-50":e.addonVariant!=="plain"},{"!text-general-200":e.disabled,"!px-2":e.showButtons}],"data-addon-variant":e.addonVariant})},z="text-xs font-medium tracking-[0.02em] leading-[18px]",A="h-[26px]",Q={root:({props:e,parent:t})=>({class:["flex items-center self-stretch shrink-0 grow",A,"py-1 px-3","rounded","appearance-none"]}),input:{root:({parent:e,context:t})=>({class:["border-0 h-full w-full outline-none","bg-inherit",z,"placeholder:text-general-200 placeholder:font-light",t.disabled?"text-general-200":"text-general-800"]})},inputresizer:{class:[z,A,"user-select-none py-1 px-3 block min-w-4 text-transparent"]},buttongroup:{class:["flex"]},incrementbutton:{root:({parent:e})=>({class:[]}),label:{class:"h-0 w-0"}},decrementbutton:{root:({parent:e})=>({class:[]}),label:{class:"h-0 w-0"}},incrementicon:({props:e})=>({class:["!text-base text-general-500",{"!text-general-200":e.disabled}]}),decrementicon:({props:e})=>({class:["!text-base text-general-500",{"!text-general-200":e.disabled}]})},f=({isChromeBased:e,invalidInput:t})=>[{"ring-[1px]":!e,"ring-[0.5px]":e},{"!ring-danger-500":t},"ring-inset","ring-general-200","[&:has(:focus)]:bg-none","[&:has(:focus)]:ring-primary-700","[&:has(:focus)]:ring-1","bg-white","z-[0] [&:has(:focus)]:z-[12]"],X={dialcode:{root:e=>({class:[...f(e),"!rounded-l !rounded-r-none"]}),dropdownicon:({state:e})=>r.dropdownicon({state:e})},input:e=>({class:[...f(e),"!rounded-r !rounded-l-none -ml-[1px]","focus:bg-none","focus:ring-primary-700","focus:ring-1"]})},ee={root:{class:["transition-transform","z-[7299]","w-max min-w-52","min-w-[196px]","max-h-[90vh] overflow-y-auto","rounded-md","max-w-[400px]","translate-y-1","shadow","overflow-hidden","bg-white","text-general-800"]},menu:{class:["list-none","m-0","p-0","outline-none","w-full"]},start:{class:["flex justify-end","py-[3px] px-4"]},menuitem:{class:["cursor-pointer"]},content:({context:e})=>({class:["w-full","rounded-md","text-inherit","transition-shadow","duration-200"]}),action:{class:["flex items-center justify-start gap-2","px-4 py-[7px]","hover:bg-primary-50/80","text-xs","no-underline","overflow-hidden","cursor-pointer","select-none"]},icon:{class:["w-4 h-4"]},label:({props:e})=>({class:["text-inherit",{"!text-danger-500":e.danger}]}),submenuheader:{class:["text-inherit"]},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},te={root:({props:e})=>({class:["my-2 mx-0","rounded-md","ring-1 ring-inset ring-surface-200","bg-surface-0",{"text-blue-500":e.severity=="info","text-green-500":e.severity=="success","text-orange-500":e.severity=="warn","text-red-500":e.severity=="error"}]}),wrapper:{class:["flex items-center","p-4"]},icon:{class:["w-5 h-5","mr-3 shrink-0"]},text:{class:["text-sm leading-none","font-medium"]},button:({props:e})=>({class:["flex items-center justify-center","w-6 h-6","ml-auto relative","rounded-full","bg-transparent","text-surface-700/80","transition duration-200 ease-in-out","hover:bg-surface-100","outline-none focus:ring-1 focus:ring-inset","focus:ring-primary-700","overflow-hidden"]}),closeicon:{class:["w-3 h-3","shrink-0"]},transition:{enterFromClass:"opacity-0",enterActiveClass:"transition-opacity duration-300",leaveFromClass:"max-h-40",leaveActiveClass:"overflow-hidden transition-all duration-300 ease-in",leaveToClass:"max-h-0 opacity-0 !m-0"}},ae={root:{class:["h-max","rounded-lg","shadow-xl","border-0","absolute left-0 top-0 mt-2","z-40 transform origin-center","bg-white","text-general-800","before:absolute before:-top-2 before:ml-4 before:z-50","before:w-0 before:h-0 before:shadow-xl"]},content:{class:"items-center flex"},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},ne={root:{class:["flex items-center justify-start flex-wrap gap-0.5","bg-white","text-grayscale-900"]},paginatorwrapper:{class:"mt-1.5"},pages:{class:"flex gap-0.5"},firstpagebutton:({context:e})=>({class:["relative","text-2xl font-medium","inline-flex items-center justify-center","border-t-2 border-transparent","w-6 h-6","text-general-300","transition duration-200","user-none overflow-hidden",{"cursor-default pointer-events-none opacity-60":e.disabled}]}),previouspagebutton:({context:e})=>({class:["relative","text-2xl font-medium","inline-flex items-center justify-center","border-t-2 border-transparent","w-6 h-6","text-general-300","transition duration-200","user-none overflow-hidden",{"cursor-default pointer-events-none opacity-60":e.disabled}]}),nextpagebutton:({context:e})=>({class:["relative","text-2xl font-medium","inline-flex items-center justify-center","border-t-2 border-transparent","w-6 h-6","text-general-300","transition duration-200","user-none overflow-hidden",{"cursor-default pointer-events-none opacity-60":e.disabled}]}),lastpagebutton:({context:e})=>({class:["relative","text-2xl font-medium","inline-flex items-center justify-center","border-t-2 border-transparent","w-6 h-6","text-general-300","transition duration-200","user-none overflow-hidden",{"cursor-default pointer-events-none opacity-60":e.disabled}]}),pagebutton:({context:e})=>({class:["relative","text-xs font-normal","rounded-full","w-6 h-6",{"text-general-300 border-none hover:bg-grayscale-50":!e.active,"text-white bg-grayscale-900":e.active},{"hover:border-surface-300":!e.disabled&&!e.active,"focus-visible:outline-none focus-visible:outline-offset-0 focus-visible:ring-2 focus-visible:ring-primary-700":!e.disabled},"transition duration-200","user-none overflow-hidden",{"cursor-default pointer-events-none opacity-60":e.disabled}]}),rowperpagedropdown:{root:({props:e,state:t})=>({class:["inline-flex items-center justify-center","relative","w-max","px-3 py-1","rounded-[50px]","bg-transparent","border-[0.5px] border-primary-100","transition-all","duration-200",{"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-600":!t.focused},"cursor-pointer","select-none",{"opacity-60":e.disabled,"pointer-events-none":e.disabled,"cursor-default":e.disabled}]}),input:{class:["text-xs","flex items-center","bg-transparent","text-general-800","w-max","rounded-none","transition","duration-200","focus-visible:outline-none focus-visible:shadow-none","cursor-pointer","overflow-hidden overflow-ellipsis","whitespace-nowrap","appearance-none"]},trigger:{class:["text-xs","flex items-center justify-center","shrink-0","w-2","h-2","ml-0.5","rounded-tr-md","rounded-br-md"]},dropdownicon:{class:"w-2 h-2"},panel:{class:["absolute top-0 left-0","mt-1","border-0","rounded-md","bg-white","text-general-800","ring-1 ring-inset ring-primary-100"]},wrapper:{class:["max-h-[15rem]","overflow-auto"]},list:{class:"py-0.5 list-none m-0"},item:({context:e})=>({class:["text-xs","leading-none",{"font-normal":!e.selected,"font-bold":e.selected},"relative","border-0","rounded-none","m-0","py-2 px-4","hover:bg-primary-50","cursor-pointer","overflow-hidden","whitespace-nowrap"]})},jumptopageinput:{root:{class:"inline-flex mx-2"},input:{root:{class:["relative","leading-6","text-xs","text-center","block","flex-auto","bg-transparent","border-primary-100 border-[0.5px]","text-general-800","max-w-[3rem] w-fit","px-3 py-1","rounded-[50px] h-6","transition","duration-200","hover:ring-general-200","focus-visible:outline-none focus-visible:shadow-none","cursor-pointer","overflow-hidden overflow-ellipsis","whitespace-nowrap","appearance-none"]}}},jumptopagedropdown:{root:({props:e,state:t})=>({class:["inline-flex","relative","h-8","rounded-md","mx-2","bg-transparent","transition-all","duration-200",{"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-600":!t.focused},"cursor-pointer","select-none",{"opacity-60":e.disabled,"pointer-events-none":e.disabled,"cursor-default":e.disabled}]}),input:{class:["font-sans","leading-6","text-xs","block","flex-auto","flex items-center","bg-transparent","border-0","text-surface-800/80","w-[1%]","py-1.5 px-3 pr-0","rounded-none","transition","duration-200","focus-visible:outline-none focus-visible:shadow-none","relative","cursor-pointer","overflow-hidden overflow-ellipsis","whitespace-nowrap","appearance-none"]},trigger:{class:["text-xs","flex items-center justify-center","shrink-0","bg-transparent","text-surface-500","w-12","h-8","rounded-tr-md","rounded-br-md"]},panel:{class:["absolute top-0 left-0","mt-1","border-0","rounded-md","shadow-md","bg-surface-0","text-surface-800/80","ring-1 ring-inset ring-surface-300"]},wrapper:{class:["max-h-[15rem]","overflow-auto"]},list:{class:"py-1 list-none m-0"},item:({context:e})=>({class:["text-xs","leading-none",{"font-normal":!e.selected,"font-bold":e.selected},"relative","border-0","rounded-none","m-0","py-2 px-4",{"text-surface-700/80":!e.focused&&!e.selected},{"bg-primary-700 text-white":e.focused&&e.selected},{"bg-transparent text-surface-700/80":!e.focused&&e.selected},"hover:bg-primary-700 hover:text-white","cursor-pointer","overflow-hidden","whitespace-nowrap"]})},current:{class:["text-xs font-normal leading-6 px-3"]}},re={root:({props:e})=>({class:["w-full","inline-flex relative","text-general-800",{"opacity-60 select-none pointer-events-none cursor-default":e.disabled}]}),input:{class:["!bg-primary-700","placeholder:!font-normal"]},panel:{class:["p-3","border-0","shadow-md rounded-md","bg-white","text-general-800",""]},meter:{class:["overflow-hidden","relative","border-0","h-2","rounded-md","mb-2","bg-surface-100"]},meterlabel:({instance:e})=>{var t,a,n;return{class:["h-full",{"bg-red-500/50":((t=e==null?void 0:e.meter)==null?void 0:t.strength)=="weak","bg-orange-500/50":((a=e==null?void 0:e.meter)==null?void 0:a.strength)=="medium","bg-green-500/50":((n=e==null?void 0:e.meter)==null?void 0:n.strength)=="strong"},"transition-all duration-1000 ease-in-out"]}},showicon:{class:["absolute top-[54%] right-3 -mt-2","text-general-200","focus-visible:text-general-500 hover:text-general-500"]},hideicon:{class:["absolute top-[54%] right-3 -mt-2","text-general-200"]},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},_=navigator.userAgent.includes("Chrome"),b={root:({props:e})=>({class:["inline-flex relative align-middle","shrink-0","rounded-[60px]","h-4 w-8","cursor-pointer",{"select-none pointer-events-none cursor-default":e.disabled}]}),slider:({props:e})=>({class:["absolute top-0 left-0 right-0 bottom-0","rounded-[60px]","before:absolute before:top-1/2","before:-translate-y-1/2","before:h-3 before:w-3","before:rounded-full","before:duration-200 before:transition before:ease-in-out",{"before:transform before:translate-x-[calc(18px)]":e.modelValue==e.trueValue},{"before:left-0.5":e.modelValue!=e.trueValue},{"ring-1":!_,"ring-[0.5px]":_},{"before:bg-white":e.modelValue==e.trueValue,"before:bg-general-100":e.modelValue!==e.trueValue,"bg-white ring-general-100":e.modelValue!==e.trueValue&&!e.disabled,"bg-primary-700 ring-transparent":e.modelValue==e.trueValue&&!e.disabled,"bg-general-200 ring-transparent":e.modelValue==e.trueValue&&e.disabled,"bg-general-200 ring-general-100":e.modelValue!==e.trueValue&&e.disabled},e.triState&&{"!bg-danger-500 before:!bg-white ring-transparent":e.modelValue==e.falseValue&&!e.disabled,"!bg-success-500 before:!bg-white ring-transparent":e.modelValue==e.trueValue&&!e.disabled},"peer-focus-visible:!outline peer-focus-visible:!outline-offset-0 peer-focus-visible:!outline-primary-700/[5%]","transition-colors duration-200","cursor-pointer"]}),input:({props:e})=>({class:["peer","w-full ","h-full","absolute","top-0 left-0","z-10","p-0","m-0","rounded","opacity-0","rounded-md","outline-none","appearance-none",{"cursor-default":e.disabled,"cursor-pointer":!e.disabled}]}),label:{class:["relative","w-max h-max items-start cursor-pointer","flex items-start select-none text-xs tracking-[0.02em] font-medium","text-general-800","shrink-0","inline-flex","align-bottom","transition-all","duration-200"]},labeltext:{class:"ml-1 leading-4"},tooltipicon:{class:"text-primary-700 w-[10px] h-[10px]"}},ie={root:({props:e,state:t})=>({class:["relative","inline-flex","w-4 h-4","ring-inset","ring-2","rounded-full",{"bg-white":!e.disabled||t.checked,"bg-general-50":e.disabled&&!t.checked,"ring-general-100":!e.disabled&&!t.checked,"ring-primary-700":!e.disabled&&t.checked,"ring-general-200":e.disabled},{"!ring-danger-500":e.invalid},"cursor-pointer"],"data-wv-name":"buttonradio","data-wv-section":"root"}),box:({props:e,state:t})=>({class:["w-2 h-2","text-sm","font-medium","translate-x-1/2","translate-y-1/2","rounded-full","transition duration-200 ease-in-out",{"bg-primary-700":t.checked&&e.value!==void 0&&!e.disabled,"bg-general-200":t.checked&&e.value!==void 0&&e.disabled},{"outline-none outline-offset-0":!e.disabled,"peer-focus-visible:ring-8 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-primary-400/[8%]":!e.disabled}]}),input:({props:e})=>({class:["peer","w-full ","h-full","absolute","top-0 left-0","z-10","p-0","m-0","opacity-0","rounded-md","outline-none","appearance-none",{"cursor-default":e.disabled,"cursor-pointer":!e.disabled}]}),icon:{class:"hidden"},label:b.label,labeltext:b.labeltext,tooltipicon:b.tooltipicon},le={root:{class:["block absolute bg-surface-0/50 rounded-full pointer-events-none"],style:"transform: scale(0)"}},se={root:{class:"relative"},menu:{class:"p-0 m-0 list-none flex justify-center"},menuitem:{class:["relative","flex","justify-center"]},action:({props:e,context:t,state:a})=>({class:["inline-flex items-start relative","flex-col","transition-shadow","rounded-md",{"pr-4 min-[576px]:pr-32 md:pr-40":e.model.length!==t.index+1},"bg-surface-0","",{"cursor-pointer":!e.readonly},"after:border-t-2",{"after:border-surface-200":a.d_activeStep<=t.index},{"after:border-primary-700":a.d_activeStep>t.index},"after:w-full","after:absolute","after:top-1/2","after:left-0","after:transform","after:-mt-3",{"after:hidden":e.model.length==t.index+1}]}),step:({context:e,props:t,state:a})=>({class:["flex items-center justify-center","z-40","rounded-full","border-2","w-[2rem]","h-[2rem]","text-sm","leading-[2rem]",{"text-surface-400/60":!e.active&&a.d_activeStep<e.index,"border-surface-100":!e.active&&a.d_activeStep<e.index,"bg-surface-0":a.d_activeStep<=e.index},{"border-primary-700":e.active,"text-primary-700":e.active},{"bg-primary-700":a.d_activeStep>e.index,"text-surface-0":a.d_activeStep>e.index,"border-primary-700":a.d_activeStep>e.index},{"hover:border-surface-300":!e.active&&!t.readonly},"transition-colors duration-200 ease-in-out"]}),label:({context:e})=>({class:["relative","text-sm leading-none",{"font-medium":e.active},"block","mt-2",{"text-surface-400/60":!e.active,"text-surface-800/80":e.active},"whitespace-nowrap","overflow-ellipsis","max-w-full"]})};function h(e,t){return{[e]:t}[e]}h("WANGS-TAB-MENU",{root:{class:"overflow-x-visible"},menu:({props:e})=>({class:["flex flex-1","list-none","p-0 m-0","text-general-100",{"w-max ring-1 ring-inset ring-general-100 rounded":e.type==="segmented"}]}),menuitem:{class:"mr-0"},action:({props:e,context:t})=>{var a,n;return{class:["relative","font-medium","text-xs leading-4 tracking-[0.02em]","flex items-center",{"rounded-xl py-1 px-3":e.type==="pill",rounded:e.type==="segmented","p-2 pb-1.5 pt-0.5 !h-6":e.type==="tab","py-[5px] px-3 !h-6":e.type==="segmented","ml-1":e.type==="pill"&&t.index!==0,"gap-1":t.item.icon},{"border-b-2":e.type==="tab","shadow-[-2px_2px_2px_rgba(0,0,0,0.25)] overflow-visible":e.type==="segmented"&&t.active},{"border-primary-700":t.active,"border-grayscale-400":!t.active,"text-grayscale-600":!t.active&&e.type==="tab","text-primary-700":t.active&&e.type==="tab","bg-primary-700 text-white":e.type==="pill"&&t.active,"bg-grayscale-100 text-grayscale-800":e.type==="pill"&&!t.active,"bg-primary-500 text-white":e.type==="segmented"&&t.active,"!text-general-800":e.type==="segmented"&&!t.active,"bg-transparent ":e.type!=="pill"&&!t.active},{"hover:bg-primary-50":e.type==="tab"},"focus-visible:outline-none focus-visible:outline-offset-0",{"focus-visible:border-primary-200 focus-visible:text-primary-400":!t.active},{"pointer-events-none":(a=t.item)==null?void 0:a.disabled,"opacity-60":(n=t.item)==null?void 0:n.disabled},"transition-all duration-200","cursor-pointer select-none text-decoration-none","overflow-hidden","user-select-none","!no-underline","whitespace-nowrap"]}},icon:{class:"mr-2"},inkbar:({props:e})=>({class:["grow border-b-2 border-grayscale-400",{hidden:e.type==="pill"||e.useTrailingLine===!1||e.type==="segmented"}]})}),h("WANGS-INPUT-OTP",{root:{class:["flex items-center","gap-[6px]","w-max"]},input:({props:e,context:t,parent:a})=>({class:["text-[14px] leading-none font-medium",{"flex-1 w-[1%]":a.tagName=="WANGS-INPUT-GROUP"},"text-center","m-0","w-[42px] h-[42px]",{"rounded-md":a.tagName!=="WANGS-INPUT-GROUP"},{"first:rounded-l-md rounded-none last:rounded-r-md":a.tagName=="WANGS-INPUT-GROUP"},{"border-0 border-y border-l last:border-r":a.tagName=="WANGS-INPUT-GROUP"},"text-general-800 dark:text-general-800","placeholder:text-surface-400 dark:placeholder:text-surface-500","bg-white dark:bg-white",{"ring-1":navigator.userAgent.includes("Firefox"),"ring-[0.5px]":!navigator.userAgent.includes("Firefox")},{"ring-general-200 dark:ring-general-200":!e.invalid},{"ring-danger-500 dark:ring-danger-500":e.invalid},{"hover:bg-primary-50/50 hover:ring-primary-500 dark:hover:ring-primary-400":!t.disabled&&!e.invalid,"focus:bg-primary-50/50 focus:ring-primary-500 dark:focus:ring-primary-400":!t.disabled&&!e.invalid,"focus:outline-none focus:outline-offset-0":!t.disabled,"opacity-60 select-none pointer-events-none cursor-default":t.disabled},{filled:a.tagName=="WANGS-FLOAT-LABEL"&&t.filled},"appearance-none","transition-colors duration-200"]})});const c=class c{constructor(){w(this,"_baseUrl","");if(globalThis[c.SINGLETON_KEY])return globalThis[c.SINGLETON_KEY];globalThis[c.SINGLETON_KEY]=this}setNavigationBaseUrl(t){this._baseUrl=this.normalizeBase(t)}getNavigationBaseUrl(){return this._baseUrl}normalizeBase(t){return t.replace(/\/+$/,"").concat("/")}normalizePath(t){if(!t.startsWith("/"))return new URL(t,window.location.href).pathname;const a=this.getNavigationBaseUrl();if(!a)return t;const n=t.slice(1);return`${a}${n}`}stripBase(t,a){return a||(a=this.getNavigationBaseUrl()),a!=="/"&&t.startsWith(a)?"/"+t.slice(a.length).replace(/^\/+/,""):t}push(t,a={},n=""){var x;const i={...a,...history.state??{},current:t,back:(x=history.state)==null?void 0:x.current,forward:void 0,replaced:!1,position:history.length+1};window.history.pushState(i,n,t)}replace(t,a={},n=""){const i={...a,...history.state??{},forward:void 0,current:t,replaced:!0};window.history.replaceState(i,n,t)}dispatchBeforeNavigationEvent(t,a,n){window.dispatchEvent(new CustomEvent("wangs-ui-core:before-navigation-event",{detail:{route:t,mode:a,state:n}}))}dispatchNavigationEvent(t,a,n){window.dispatchEvent(new CustomEvent("wangs-ui-core:navigation-event",{detail:{route:t,mode:a,state:n}}))}navigateToRoute(t,a="push",n=history.state,i=""){if(!t)return;const x=typeof t=="string"?t:t.toString(),u=this.normalizePath(x);if(u===location.pathname)return console.warn("[WangsUIRouter] Navigation aborted: target route is the same as the current route.");this.dispatchBeforeNavigationEvent(u,a,n),a==="push"?this.push(u,n,i):this.replace(u,n,i),this.dispatchNavigationEvent(u,a,n)}};w(c,"SINGLETON_KEY","__WANGS_UI_ROUTER_INSTANCE__");let v=c;new v;const oe=h("WANGS-TAB-MENU",{root:{class:"overflow-x-auto"},menu:({props:e})=>({class:["flex flex-1","list-none","p-0 m-0","text-general-100",{"w-max ring-1 ring-inset ring-general-100 rounded !m-[2px]":e.type==="segmented"}]}),menuitem:{class:"mr-0"},action:({props:e,context:t})=>{var a,n;return{class:["relative","font-medium","text-xs leading-4 tracking-[0.02em]","flex items-center",{"rounded-xl py-1 px-3":e.type==="pill",rounded:e.type==="segmented","p-2 pb-1.5 pt-0.5 !h-6":e.type==="tab","py-[5px] px-3 !h-[26px]":e.type==="segmented","ml-1":e.type==="pill"&&t.index!==0,"gap-1":t.item.icon},{"border-b-2":e.type==="tab"},{"border-primary-700":t.active,"border-grayscale-400":!t.active,"text-grayscale-600":!t.active&&e.type==="tab","text-primary-700":t.active&&e.type==="tab","bg-primary-700 text-white":e.type==="pill"&&t.active,"bg-grayscale-100 text-grayscale-800":e.type==="pill"&&!t.active,"bg-primary-500 text-white shadow-[-2px_2px_2px_rgba(0,0,0,0.25)]":e.type==="segmented"&&t.active,"!text-general-800":e.type==="segmented"&&!t.active,"bg-transparent ":e.type!=="pill"&&!t.active},{"hover:bg-primary-50":e.type==="tab"},"focus-visible:outline-none focus-visible:outline-offset-0",{"focus-visible:border-primary-200 focus-visible:text-primary-400":!t.active},{"pointer-events-none":(a=t.item)==null?void 0:a.disabled,"opacity-60":(n=t.item)==null?void 0:n.disabled},"transition-all duration-200","cursor-pointer select-none text-decoration-none","overflow-hidden","user-select-none","!no-underline","whitespace-nowrap"]}},icon:{class:"mr-2"},inkbar:({props:e})=>({class:["grow border-b-2 border-grayscale-400",{hidden:e.type==="pill"||e.useTrailingLine===!1||e.type==="segmented"}]})}),ce={root:({context:e,props:t})=>({class:["font-medium text-xs tracking-[0.02em]","placeholder:text-general-200 placeholder:!font-light",{"w-full":t.cols==null},{"resize-none":t.autoResize,resize:!t.autoResize},t.inputClass,"m-0","py-1 px-3","rounded","appearance-none",...W,{"!ring-danger-500":e.invalidInput},{"bg-white text-general-800":!e.disabled,"bg-general-50 text-general-200":e.disabled},"focus-visible:outline-none","appearance-none","transition-colors duration-200"],"data-wv-name":"textarea","data-wv-section":"root"})},m=e=>{if(!e)return!0;const t=Object.keys(e);return t.length?t.every(a=>{const n=e[a];return typeof n=="object"?Array.isArray(n)?!n.length||n.every(i=>typeof i=="object"?m(i):i==null):m(n):n==null}):!0},de={root:({props:e})=>({class:["flex flex-col grow","text-xs font-normal text-grayscale-900"]}),event:({props:e,context:t})=>({class:["grid grid-cols-[max-content,1fr] gap-x-[10px] gap-y-1"]}),opposite:({props:e,context:t})=>({class:"hidden"}),separator:({props:e})=>({class:["flex items-center flex-initial",{"flex-col":e.layout==="vertical","flex-row":e.layout==="horizontal"}]}),marker:{class:["w-max","rounded-full","bg-transparent","ring-2 ring-inset ring-primary-400 p-0.5","flex items-center justify-center"]},markerArrow:e=>({class:["w-4 h-4 invisible transition-transform duration-200 ease-in-out text-grayscale-900",{"!visible":e.detail&&!m(e.detail)},{"rotate-180":e.showDetail}],"data-wv-section":"markerArrow"}),markerDot:e=>({class:["hidden w-[6px] h-[6px] m-[3px] rounded-full bg-black",{"!flex":!e.detail||m(e.detail)}],"data-wv-section":"markerDot"}),contentHeader:{class:["leading-5 cursor-pointer truncate !text-xs !font-bold"]},contentDetailKey:{class:["text-general-400 whitespace-nowrap"]},contentDetailValue:{class:["text-xs text-general-800"]},contentDate:{class:["text-xs font-medium"]},connector:({props:e})=>({class:["w-[2px] grow bg-grayscale-900"]}),content:({props:e,context:t})=>({class:["grid grid-rows-[max-content,auto] pb-2.5 gap-1"]})},ue={root:({props:e})=>({class:["w-full max-w-[496px]",{"-translate-x-2/4":e.position=="top-center"||e.position=="bottom-center"}],style:`z-index: ${e.baseZIndex}`}),container:({props:e})=>({class:["border-l-4 mt-6","rounded-[7px] w-full","shadow-lg",{"border-success-500 text-success-500 bg-success-50":e.message.severity==="success","border-danger-500 text-danger-500 bg-danger-50":e.message.severity==="error","border-primary-700 text-primary-700 bg-primary-50":e.message.severity==="info"}],"data-wv-severity":e.message.severity}),content:{class:"flex items-center py-3 px-3 text-inherit gap-2"},icon:{class:"hidden"},text:{class:["text-xs leading-4 font-normal tracking-[0.02em] text-inherit","flex-1"]},summary:{class:"font-medium block"},detail:{class:"text-inherit"},closebutton:({props:e})=>({class:["flex items-center justify-center","w-6 h-6","ml-auto relative","rounded-full","bg-transparent",{"text-success-500 hover:bg-success-100":e.message.severity==="success","text-danger-500 hover:bg-danger-100":e.message.severity==="error","text-primary-700 hover:bg-primary-100":e.message.severity==="info"},"transition duration-200 ease-in-out","overflow-hidden"]}),closeicon:{class:["w-[13px] h-[13px]","shrink-0"]},transition:{enterFromClass:"opacity-0 translate-y-2/4",enterActiveClass:"transition-[transform,opacity] duration-300",leaveFromClass:"max-h-[1000px]",leaveActiveClass:"!transition-[max-height_.45s_cubic-bezier(0,1,0,1),opacity_.3s,margin-bottom_.3s] overflow-hidden",leaveToClass:"max-h-0 opacity-0 mb-0"}},ge={root:{class:["relative","inline-flex","align-bottom","cursor-pointer","select-none"]},box:({props:e})=>({class:["items-center inline-flex flex-1 text-center align-bottom justify-center","px-2.5 py-1.5","text-sm","rounded-md shadow-sm","text-surface-700/80","ring-1 ring-surface-200",{"bg-surface-0 ":!e.modelValue,"bg-surface-100":e.modelValue},"peer-hover:bg-surface-200",{"peer-focus-visible:ring-2 peer-focus-visible:ring-inset peer-focus-visible:ring-primary-700":!e.disabled},"transition-all duration-200",{"cursor-pointer":!e.disabled,"opacity-60 select-none pointer-events-none cursor-default":e.disabled}]}),label:{class:"font-semibold text-center w-full"},input:{class:["peer","w-full ","h-full","absolute","top-0 left-0","z-10","p-0","m-0","opacity-0","rounded-md","outline-none","border border-surface-200","appareance-none","cursor-pointer"]},icon:{class:[" mr-2","text-surface-700/80"]}},fe={root:({context:e,props:t})=>({class:["absolute",{"pb-1":e==null?void 0:e.top,"pt-1":e==null?void 0:e.bottom,"pl-1":e==null?void 0:e.right,"pr-1":e==null?void 0:e.left},"!transition"]}),arrow:{class:"hidden"},text:{class:["rounded-[10px]","bg-primary-50","px-2 py-1","text-xs font-light leading-4 text-left tracking-[0.02em]","text-primary-700","shadow-[-4px_4px_20px_0px_#0000001A]","whitespace-pre-line","break-words"]}},be={root:{class:["relative","w-full h-full","grow overflow-auto","rounded-md","min-h-8"]},loadingOverlay:{class:["flex justify-center items-center absolute z-1 h-full w-full"]},wrapper:{class:["overflow-auto"]},container:{class:["m-0 p-0","list-none overflow-auto"]},node:{class:["p-0","!pl-1","rounded-md","focus:outline-none focus:outline-offset-0"]},content:({context:e,props:t})=>({class:["flex items-start","rounded-md","p-1","text-general-800",{"bg-primary-50 !text-general-800 [&_*]:text-general-800":e.selected&&t.selectionMode==="single"},{"hover:bg-primary-50":(t.selectionMode=="single"||t.selectionMode=="multiple")&&!e.disabled&&!e.exactDisabled},{"!text-general-200":e.disabled&&!e.exactDisabled,"!cursor-default":e.disabled||e.exactDisabled},"transition-shadow duration-200",{"cursor-pointer select-none":t.selectionMode=="single"||t.selectionMode=="multiple"},{"cursor-pointer":!e.disabled}]}),toggler:({context:e})=>({class:["inline-flex items-center justify-center","shrink-0","border-0 rounded-full","w-4 h-4","mr-0.5","!text-general-800","bg-transparent",{invisible:e.leaf},"hover:bg-surface-100","transition duration-200","cursor-pointer select-none !pointer-events-auto"],"data-wv-section":"tree-node-toggler"}),togglericon:{class:["w-4 h-4"]},nodeCheckbox:d,nodeicon:()=>({class:["!hidden"]}),subgroup:{class:["!m-0 list-none p-0 !pl-1"]},filtercontainer:{class:["relative block","mb-2","w-full"]},input:{class:["relative","font-sans leading-6","sm:text-sm","m-0","py-1.5 px-3 pr-10","w-full","rounded-md","text-surface-900","placeholder:text-surface-400","bg-surface-0","ring-1 ring-inset ring-surface-300","hover:border-primary-700","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-700","appearance-none","transition-colors duration-200"]},loadingicon:{class:["text-general-400","absolute text-lg top-[50%] right-[50%] -mt-2 -mr-2 animate-spin"]},searchicon:{class:["absolute top-1/2 -mt-2 right-3","text-surface-600"]},label:({props:e,context:t})=>({class:["inline-flex justify-between items-center gap-2 ml-2","w-full","text-xs font-medium",{"!text-general-200 !cursor-default":t.exactDisabled&&e.node.key!=-1},{"!text-general-800":e.node.isPlacementGroup}]})},me={root:({props:e,state:t})=>({class:["inline-flex","relative","w-full md:w-56","rounded-md","shadow-sm","bg-surface-0",{"ring-1 ring-inset ring-surface-300":!t.focused,"ring-2 ring-inset ring-primary-700":t.focused},"cursor-default","select-none",{"opacity-60":e.disabled,"pointer-events-none":e.disabled}]}),labelContainer:{class:["overflow-hidden flex flex-auto cursor-pointer"]},label:{class:["block leading-5","py-1.5 px-3","text-surface-800/80","transition duration-200","overflow-hidden whitespace-nowrap cursor-pointer overflow-ellipsis"]},trigger:{class:["sm:text-sm","flex items-center justify-center","shrink-0","bg-transparent","text-surface-500","w-12","rounded-tr-md","rounded-br-md"]},panel:{class:["absolute top-0 left-0","mt-2","border-0","rounded-md","shadow-md","bg-surface-0","text-surface-800/80","ring-1 ring-inset ring-surface-300"]},wrapper:{class:["max-h-[200px]","overflow-auto"]},tree:{root:{class:["relative","p-1.5"]},wrapper:{class:["overflow-auto"]},container:{class:["m-0 p-0","list-none overflow-auto"]},node:{class:["p-0","rounded-md","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-700"]},content:({context:e,props:t})=>({class:["flex items-center","rounded-md","p-2","text-surface-700",{"bg-surface-100 text-primary-700":e.selected},{"hover:bg-surface-200":t.selectionMode=="single"||t.selectionMode=="multiple"},"transition-shadow duration-200",{"cursor-pointer select-none":t.selectionMode=="single"||t.selectionMode=="multiple"}]}),toggler:({context:e})=>({class:["inline-flex items-center justify-center","border-0 rounded-full","mr-2","w-6 h-6","mr-2","text-surface-500","bg-transparent",{invisible:e.leaf},"hover:text-surface-700","hover:bg-surface-100","focus:outline-none focus:outline-offset-0 focus:ring-1 focus:ring-inset","focus:ring-primary-700","transition duration-200","cursor-pointer select-none"]}),togglericon:{class:["w-4 h-4","text-surface-500/70"]},nodeCheckbox:{root:{class:["relative","inline-flex","align-bottom","w-4","h-4","mr-2","cursor-default","select-none"]},box:({props:e,context:t})=>({class:["flex","items-center","justify-center","w-4","h-4","rounded","border","text-surface-600",{"border-surface-300 bg-surface-0":!t.checked,"border-primary-700 bg-primary-700":t.checked},{"ring-2 ring-primary-700":!e.disabled&&t.focused,"cursor-default opacity-60":e.disabled},{"peer-focus-visible:ring-2 peer-focus-visible:ring-primary-700":!e.disabled,"cursor-default opacity-60":e.disabled},"transition-colors","duration-200"]}),input:{class:["peer","w-full ","h-full","absolute","top-0 left-0","z-10","p-0","m-0","rounded","border","opacity-0","rounded-md","outline-none","border-2 border-surface-300","appareance-none"]},icon:{class:["text-normal","w-3","h-3","text-white","transition-all","duration-200"]}},nodeicon:{class:["mr-2","text-surface-600/70"]},subgroup:{class:["m-0 list-none p-0 pl-2 mt-1"]},filtercontainer:{class:["relative block","mb-2","w-full"]},input:{class:["relative","font-sans leading-6","sm:text-sm","m-0","py-1.5 px-3 pr-10","w-full","rounded-md","text-surface-900","placeholder:text-surface-400","bg-surface-0","ring-1 ring-inset ring-surface-300","hover:border-primary-700","focus:outline-none focus:outline-offset-0 focus:ring-2 focus:ring-inset focus:ring-primary-700","appearance-none","transition-colors duration-200"]},loadingicon:{class:["text-surface-500","absolute top-[50%] right-[50%] -mt-2 -mr-2 animate-spin"]},searchicon:{class:["absolute top-1/2 -mt-2 right-3","text-surface-600"]}},transition:{enterFromClass:"opacity-0 scale-y-[0.8]",enterActiveClass:"transition-[transform,opacity] duration-[120ms] ease-[cubic-bezier(0,0,0.2,1)]",leaveActiveClass:"transition-opacity duration-100 ease-linear",leaveToClass:"opacity-0"}},xe={root:{class:["relative","w-4 h-4","inline-flex","align-bottom","transition-all","duration-200"]},box:({props:e,context:t})=>({class:["flex","items-center","justify-center","w-full","h-full","rounded","border-2","text-surface-0",{"border-general-100 bg-surface-0":!t.active&&!e.disabled,"border-primary-700 bg-primary-700":t.active&&!e.disabled},{"ring-2 ring-primary-700":!e.disabled&&t.focused,"cursor-default":e.disabled},{"peer-focus-visible:ring-2 peer-focus-visible:ring-offset-1 peer-focus-visible:ring-primary":!e.disabled,"cursor-default bg-general-50 border-general-200":e.disabled&&!t.active,"bg-general-200 border-general-200":e.disabled&&t.active},"transition-colors","duration-200"]}),input:{class:["peer","w-full ","h-full","absolute","top-0 left-0","z-10","p-0","m-0","rounded","border","opacity-0","rounded-md","outline-none","border-2 border-surface-300","appareance-none","cursor-pointer"]},checkicon:{class:["text-normal","w-3","h-3","text-surface-0","transition-all","duration-200"]},uncheckicon:{class:["text-normal","w-3","h-3","text-surface-0","transition-all","duration-200"]}},he={root:{class:["!mt-0 text-danger-500 text-xs font-light tracking-[0.02em]"],"data-wv-name":"validatormessage","data-wv-section":"root"}},ve={root:{class:"flex gap-2 items-center shrink-0","data-wv-name":"buttonbulkaction","data-wv-section":"root"},menu:{id:"bulkaction-overlay-menu",class:"flex gap-2 items-center","data-wv-section":"menu"},selectionmessage:{class:"text-xs text-grayscale-900 cursor-default whitespace-nowrap","data-wv-section":"selectionmessage"},buttonselectall:({context:e})=>({class:["!px-1.5 !py-1 -ml-1.5 -mr-1.5 !text-xs",{"pointer-events-none":e.selectedAll}],"data-wv-section":"buttonselectall"}),bulkactiontoggle:{class:"rounded-full","data-wv-section":"bulkactiontoggle"},dropdownmenu:{root:({props:e,state:t})=>({class:["flex items-center gap-1 transition-all shrink-0","py-[5px] px-3","ring-inset ring-1 ring-primary-700 rounded",{"opacity-60":e.disabled,"pointer-events-none":e.disabled}],"data-wv-section":"dropdownmenu"}),input:({props:e,state:t})=>({class:["w-full h-full transition-transform !text-primary-700 cursor-pointer","text-xs font-medium outline-none tracking-[0.02em] leading-4"]}),trigger:{class:["text-primary-700 [&_i]:w-4 [&_i]:h-4 shrink-0"]},item:()=>""},applybutton:{class:"shrink-0","data-wv-section":"applybutton"},buttonclearselection:{class:"!p-0 !w-6 !h-6 [&_.icon]:!w-5 [&_.icon]:!h-5","data-wv-section":"buttonclearselection"}},we={root:{class:"flex flex-nowrap items-center gap-1","data-wv-name":"badgegroup","data-wv-section":"root"},showmorebutton:{class:"!p-1 !h-auto text-primary-700 !font-medium text-xs leading-4 tracking-[0.02em]","data-wv-section":"showmorebutton"},showmoredialog:{root:{class:[p.root({state:{}}).class,"w-[400px]"],"data-wv-section":"showmoredialog"},title:{class:["text-general-900 text-sm font-semibold leading-5"],"data-wv-section":"showmoredialogtitle"},content:{class:["flex flex-wrap gap-1"],"data-wv-section":"showmoredialogcontent"}}},Ne=s("default",{global:H,directives:{badge:S,ripple:le,tooltip:fe},form:D,filtercontainer:{root:{class:["bg-general-50 rounded-lg [&>*]:w-full [&>*]min-w-0","grid items-end p-3 gap-x-3 gap-y-4"]}},dropdown:R,inputnumber:Q,inputphonenumber:X,inputcurrency:{currency:e=>({class:[...f(e),"!rounded-l !rounded-r-none"],"data-wv-section":"currency"}),value:e=>({class:[...f(e),"!rounded-r !rounded-l-none -ml-[1px]"],"data-wv-section":"value"})},inputtext:k,inputbadge:q,calendar:F,checkbox:d,buttonradio:ie,multiselect:r,togglebutton:ge,toggleswitch:b,inputgroup:J,inputgroupaddon:Z,treeselect:me,tristatecheckbox:xe,textarea:ce,password:re,validatormessage:he,fileupload:{root:{"data-wv-name":"fileupload","data-wv-section":"root"},wrapper:{class:["w-full"],"data-wv-section":"wrapper"},input:({state:e})=>({class:[{"":e.fileName!=null}]}),buttonupload:({props:e})=>({class:[{"mb-[21px]":e.fileExtensions||e.fileRequirements}]}),requirements:{class:"flex justify-start"}},fieldwrapper:{root:{class:["flex flex-col items-start justify-start relative gap-1 w-full shrink-0 overflow-hidden"],"data-wv-name":"fieldwrapper","data-wv-section":"root"},label:({props:e,slots:t})=>({class:[["text-general-900 text-xs flex gap-[2px] font-medium tracking-[0.02em]",e.labelClass],{"w-full":t["label-addon"]}],"data-wv-section":"fieldlabel"}),info:{class:"w-2.5 h-2.5 text-primary-700"},optionaltext:{class:"text-grayscale-700 text-[10px] font-normal leading-4"},arterisksign:{class:"text-danger-500"}},button:T,buttondownload:P,buttonbulkaction:ve,buttonsearch:I,buttonsplit:V,buttonfilter:N,paginator:ne,datatable:G,customcolumn:L,tree:be,timeline:de,changelog:U,accordion:o,card:E,menu:ee,steps:se,breadcrumb:{root:{class:["flex gap-[5px] items-center text-left h-[26px]","text-general-800","text-xs font-medium leading-4 tracking-[0.02em]"],"data-wv-name":"breadcrumb","data-wv-section":"root"},item:({context:e})=>({class:{"font-bold text-general-400":e.lastItem,"text-primary-700":!e.lastItem&&!e.firstItem},"data-wv-section":"breadcrumb-menu"}),itemlink:{class:"cursor-pointer text-primary","data-wv-section":"itemlink"},separator:{content:">","data-wv-section":"separator"}},tabmenu:oe,dialog:p,dialogconfirm:M,dialogform:O,overlaypanel:ae,message:te,inlinemessage:Y,toast:ue,carousel:$,badge:g,badgegroup:we,image:K,loading:{root:{class:["w-screen h-screen fixed top-0 left-0 z-[9999999]","bg-white","flex flex-col items-center justify-center","transition-opacity"]},animation:{class:["w-[700px] h-auto"]}},codesnippet:B,username:{root:{class:"flex items-center gap-1"},displayname:({props:e})=>({class:["text-xs font-medium tracking-[0.02em] cursor-pointer",{"text-primary-700":e.type==="icon"},{"text-general-800":e.type!=="icon"}]}),panel:{background:{class:"bg-algae-green-300 absolute top-0 h-[42px] w-full"},username:{class:"font-semibold text-xs text-center text-balance"},useremail:{class:"text-[9px] font-normal leading-3"},positiondivision:{class:"text-[9px] font-normal leading-3"},userdetaillink:{class:"underline text-primary-700 text-xs leading-4 cursor-pointer hover:text-primary-800 transition-colors duration-100"},contentwrapper:{class:"relative overflow-hidden flex flex-col gap-2 w-[200px] h-max items-center justify-center p-3 rounded-[8px] text-grayscale-900 tracking-[0.02em]"},detailwrapper:{class:"flex flex-col gap-0.5 items-center justify-center"}}},progressbar:{root:({props:e})=>({class:[{"grid items-center gap-2":e.mode==="determinate","grid-cols-[max-content,auto]":e.valuePosition==="left-side","grid-cols-[auto,max-content]":e.valuePosition==="right-side"}],"data-wv-name":"progressbar","data-wv-section":"root"}),container:({props:e})=>({class:["relative overflow-hidden",{"order-2":e.valuePosition==="left-side","order-1":e.valuePosition==="right-side"},{"bg-general-100 m-0 border-0 progressbar-value-animate before:absolute before:top-0 before:left-0 before:bottom-0 before:bg-success-500 after:absolute after:top-0 after:left-0 after:bottom-0 after:bg-inherit after:delay-1000":e.mode==="indeterminate"},"h-3.5","border-0","rounded-sm","bg-general-100"],"data-wv-section":"container"}),value:({props:e})=>({class:["rounded-sm",{"absolute flex items-center justify-center":e.mode!=="indeterminate"},{"bg-warning-500":e.severity==="warning","min-w-[6px] !bg-grayscale-500":+e.value==0,"bg-success-500":e.severity==="success","bg-danger-500":e.severity==="danger","bg-primary-500":e.severity==="primary"},"m-0 h-3.5 w-0","border-0",{"transition-width duration-1000 ease-in-out":e.mode!=="indeterminate","progressbar-value-animate":e.mode==="indeterminate"},{"before:absolute before:top-0 before:left-0 before:bottom-0 before:bg-inherit ":e.mode==="indeterminate","after:absolute after:top-0 after:left-0 after:bottom-0 after:bg-inherit after:delay-1000":e.mode==="indeterminate"}]}),label:({props:e})=>({class:["inline-flex justify-end","font-medium text-[14px] leading-4","leading-none",{"absolute inset-0 mr-1 !text-xs":e.valuePosition==="inside","order-1":e.valuePosition==="left-side","order-2":e.valuePosition==="right-side"}]})}})}}});
@@ -5154,7 +5154,7 @@
5154
5154
  font-family: 'Manrope', sans-serif !important;
5155
5155
  }
5156
5156
 
5157
- h1,
5157
+ h1,
5158
5158
  .heading-1{
5159
5159
  font-size: 22px !important;
5160
5160
  font-weight: 600 !important;
@@ -5162,7 +5162,7 @@ h1,
5162
5162
  letter-spacing: 0.02em;
5163
5163
  }
5164
5164
 
5165
- h2,
5165
+ h2,
5166
5166
  .heading-2{
5167
5167
  font-size: 1.125rem !important;
5168
5168
  font-weight: 600 !important;
@@ -5170,7 +5170,7 @@ h2,
5170
5170
  letter-spacing: 0.02em;
5171
5171
  }
5172
5172
 
5173
- h3,
5173
+ h3,
5174
5174
  .heading-3{
5175
5175
  font-size: 1rem !important;
5176
5176
  font-weight: 500 !important;
@@ -5178,7 +5178,7 @@ h3,
5178
5178
  letter-spacing: 0.02em;
5179
5179
  }
5180
5180
 
5181
- h4,
5181
+ h4,
5182
5182
  .heading-4{
5183
5183
  font-size: 0.875rem !important;
5184
5184
  font-weight: 500 !important;
@@ -5186,7 +5186,7 @@ h4,
5186
5186
  letter-spacing: 0.02em;
5187
5187
  }
5188
5188
 
5189
- p,
5189
+ p,
5190
5190
  .p{
5191
5191
  font-size: 0.75rem !important;
5192
5192
  font-weight: 500 !important;
@@ -5194,7 +5194,7 @@ p,
5194
5194
  letter-spacing: 0.02em;
5195
5195
  }
5196
5196
 
5197
- h5,
5197
+ h5,
5198
5198
  .heading-5{
5199
5199
  font-size: 0.75rem !important;
5200
5200
  font-weight: 600 !important;
@@ -5202,7 +5202,7 @@ h5,
5202
5202
  letter-spacing: 0.02em;
5203
5203
  }
5204
5204
 
5205
- h6,
5205
+ h6,
5206
5206
  .heading-6{
5207
5207
  font-size: 10px !important;
5208
5208
  font-weight: 600 !important;
@@ -5214,12 +5214,12 @@ h6,
5214
5214
  scrollbar-width: none;
5215
5215
  }
5216
5216
 
5217
- .scrollbar-w-thin,
5217
+ .scrollbar-w-thin,
5218
5218
  .p-virtualscroller {
5219
5219
  scrollbar-width: thin;
5220
5220
  }
5221
5221
 
5222
- p,
5222
+ p,
5223
5223
  div{
5224
5224
  font-size: 0.75rem;
5225
5225
  line-height: 1rem;
@@ -8072,4 +8072,4 @@ div{
8072
8072
 
8073
8073
  .\[\&_ul\]\:pl-6 ul{
8074
8074
  padding-left: 1.5rem;
8075
- }
8075
+ }
@@ -4,7 +4,6 @@ declare namespace _default {
4
4
  props: any;
5
5
  }): {
6
6
  class: any[];
7
- style: string;
8
7
  'data-wv-name': string;
9
8
  'data-wv-section': string;
10
9
  };
@@ -18,7 +18,9 @@ exports.default = {
18
18
  // Font
19
19
  'font-medium text-xs tracking-[0.02em]',
20
20
  'placeholder:text-general-200 placeholder:!font-light',
21
- 'w-full',
21
+ {
22
+ 'w-full': props.cols == undefined,
23
+ },
22
24
  {
23
25
  'resize-none': props.autoResize,
24
26
  'resize': !props.autoResize,
@@ -44,7 +46,6 @@ exports.default = {
44
46
  'appearance-none',
45
47
  'transition-colors duration-200',
46
48
  ], false),
47
- 'style': "min-height: ".concat(props.rows * 26, "px"),
48
49
  'data-wv-name': 'textarea',
49
50
  'data-wv-section': 'root',
50
51
  });
@@ -1,77 +1,77 @@
1
- {
2
- "primary-50": "#F8F7EE",
3
- "primary-100": "#EEEBD3",
4
- "primary-200": "#DFD7A9",
5
- "primary-300": "#CDBC77",
6
- "primary-400": "#BDA552",
7
- "primary-500": "#9F7C3C",
8
- "primary-600": "#856732",
9
- "primary-700": "#785930",
10
- "primary-800": "#65492E",
11
- "primary-900": "#583F2B",
12
- "primary-950": "#322116",
13
- "primary-1000": "#695200",
14
-
15
- "danger-50": "#E7C3B6",
16
- "danger-100": "#E7C3B6",
17
- "danger-200": "#DBA592",
18
- "danger-300": "#CF876D",
19
- "danger-400": "#C36948",
20
- "danger-500": "#B74B24",
21
- "danger-600": "#993F1E",
22
- "danger-700": "#7A3218",
23
- "danger-800": "#5C2612",
24
- "danger-900": "#3D190C",
25
- "danger-950": "#1F0D06",
26
-
27
- "warning-50": "#F9EFD9",
28
- "warning-100": "#F3E0B3",
29
- "warning-200": "#EDD08E",
30
- "warning-300": "#E7C068",
31
- "warning-400": "#E1B142",
32
- "warning-500": "#DBA11C",
33
- "warning-600": "#B78617",
34
- "warning-700": "#926B13",
35
- "warning-800": "#6E510E",
36
- "warning-900": "#493609",
37
- "warning-950": "#251B05",
38
-
39
- "success-50": "#D5EDEB",
40
- "success-100": "#AADBD6",
41
- "success-200": "#80C9C2",
42
- "success-300": "#55B7AD",
43
- "success-400": "#2AA599",
44
- "success-500": "#009384",
45
- "success-600": "#007B6E",
46
- "success-700": "#006258",
47
- "success-800": "#004A42",
48
- "success-900": "#00312C",
49
- "success-950": "#001916",
50
- "success-1000": "#00A455",
51
-
52
- "grayscale-50": "#f7f7f7",
53
- "grayscale-100": "#f2f2f2",
54
- "grayscale-200": "#e5e6e6",
55
- "grayscale-300": "#d8d9d9",
56
- "grayscale-400": "#cbcccd",
57
- "grayscale-500": "#bdbebf",
58
- "grayscale-600": "#97999b",
59
- "grayscale-700": "#717374",
60
- "grayscale-800": "#4b4d4e",
61
- "grayscale-900": "#262627",
62
- "grayscale-950": "#121212",
63
-
64
- "general-50": "#EBEAF0",
65
- "general-100": "#DAD9E3",
66
- "general-200": "#B5B3C7",
67
- "general-300": "#908CAB",
68
- "general-400": "#6C688D",
69
- "general-500": "#4E4B66",
70
- "general-600": "#3F3C52",
71
- "general-700": "#2F2D3E",
72
- "general-800": "#201E29",
73
- "general-900": "#100F15",
74
- "general-950": "#070609",
75
-
76
- "link": "#0000EE"
1
+ {
2
+ "primary-50": "#F8F7EE",
3
+ "primary-100": "#EEEBD3",
4
+ "primary-200": "#DFD7A9",
5
+ "primary-300": "#CDBC77",
6
+ "primary-400": "#BDA552",
7
+ "primary-500": "#9F7C3C",
8
+ "primary-600": "#856732",
9
+ "primary-700": "#785930",
10
+ "primary-800": "#65492E",
11
+ "primary-900": "#583F2B",
12
+ "primary-950": "#322116",
13
+ "primary-1000": "#695200",
14
+
15
+ "danger-50": "#E7C3B6",
16
+ "danger-100": "#E7C3B6",
17
+ "danger-200": "#DBA592",
18
+ "danger-300": "#CF876D",
19
+ "danger-400": "#C36948",
20
+ "danger-500": "#B74B24",
21
+ "danger-600": "#993F1E",
22
+ "danger-700": "#7A3218",
23
+ "danger-800": "#5C2612",
24
+ "danger-900": "#3D190C",
25
+ "danger-950": "#1F0D06",
26
+
27
+ "warning-50": "#F9EFD9",
28
+ "warning-100": "#F3E0B3",
29
+ "warning-200": "#EDD08E",
30
+ "warning-300": "#E7C068",
31
+ "warning-400": "#E1B142",
32
+ "warning-500": "#DBA11C",
33
+ "warning-600": "#B78617",
34
+ "warning-700": "#926B13",
35
+ "warning-800": "#6E510E",
36
+ "warning-900": "#493609",
37
+ "warning-950": "#251B05",
38
+
39
+ "success-50": "#D5EDEB",
40
+ "success-100": "#AADBD6",
41
+ "success-200": "#80C9C2",
42
+ "success-300": "#55B7AD",
43
+ "success-400": "#2AA599",
44
+ "success-500": "#009384",
45
+ "success-600": "#007B6E",
46
+ "success-700": "#006258",
47
+ "success-800": "#004A42",
48
+ "success-900": "#00312C",
49
+ "success-950": "#001916",
50
+ "success-1000": "#00A455",
51
+
52
+ "grayscale-50": "#f7f7f7",
53
+ "grayscale-100": "#f2f2f2",
54
+ "grayscale-200": "#e5e6e6",
55
+ "grayscale-300": "#d8d9d9",
56
+ "grayscale-400": "#cbcccd",
57
+ "grayscale-500": "#bdbebf",
58
+ "grayscale-600": "#97999b",
59
+ "grayscale-700": "#717374",
60
+ "grayscale-800": "#4b4d4e",
61
+ "grayscale-900": "#262627",
62
+ "grayscale-950": "#121212",
63
+
64
+ "general-50": "#EBEAF0",
65
+ "general-100": "#DAD9E3",
66
+ "general-200": "#B5B3C7",
67
+ "general-300": "#908CAB",
68
+ "general-400": "#6C688D",
69
+ "general-500": "#4E4B66",
70
+ "general-600": "#3F3C52",
71
+ "general-700": "#2F2D3E",
72
+ "general-800": "#201E29",
73
+ "general-900": "#100F15",
74
+ "general-950": "#070609",
75
+
76
+ "link": "#0000EE"
77
77
  }
@@ -8577,7 +8577,9 @@ const Re = p("WANGS-TAB-MENU", {
8577
8577
  class: [
8578
8578
  // Font
8579
8579
  "font-normal placeholder:text-general-200 placeholder:!font-normal text-xs",
8580
- "w-full",
8580
+ {
8581
+ "w-full": t.cols == null
8582
+ },
8581
8583
  {
8582
8584
  "resize-none": t.autoResize,
8583
8585
  resize: !t.autoResize
@@ -8603,7 +8605,6 @@ const Re = p("WANGS-TAB-MENU", {
8603
8605
  "appearance-none",
8604
8606
  "transition-colors duration-200"
8605
8607
  ],
8606
- style: `min-height: ${t.rows * 26}px`,
8607
8608
  "data-wv-name": "textarea",
8608
8609
  "data-wv-section": "root"
8609
8610
  })