@fewangsit/wangsvue-presets 1.0.104-alpha.5 → 1.0.104-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2574,11 +2574,7 @@ const _ = {
2574
2574
  { "rounded-full": e.rounded },
2575
2575
  { "rounded-lg": !e.rounded },
2576
2576
  e.class,
2577
- {
2578
- "w-[30px] h-[30px]": e.size === "small",
2579
- "w-[80px] h-[80px]": e.size === "medium",
2580
- "w-[125px] h-[125px]": !e.size && !e.width
2581
- }
2577
+ "w-max h-max"
2582
2578
  ],
2583
2579
  style: !e.size && e.width ? {
2584
2580
  width: `${e.width}px`,
@@ -2926,14 +2922,14 @@ const _ = {
2926
2922
  ], X = {
2927
2923
  dialcode: {
2928
2924
  root: (e) => ({
2929
- class: [...g(e), "rounded-l rounded-r-none"]
2925
+ class: [...g(e), "!rounded-l !rounded-r-none"]
2930
2926
  }),
2931
2927
  dropdownicon: ({ state: e }) => r.dropdownicon({ state: e })
2932
2928
  },
2933
2929
  input: (e) => ({
2934
2930
  class: [
2935
2931
  ...g(e),
2936
- "rounded-r rounded-l-none -ml-[1px]",
2932
+ "!rounded-r !rounded-l-none -ml-[1px]",
2937
2933
  "focus:bg-none",
2938
2934
  "focus:ring-primary-700",
2939
2935
  "focus:ring-1"
@@ -5382,11 +5378,11 @@ const oe = x("WANGS-TAB-MENU", {
5382
5378
  }
5383
5379
  }, pe = {
5384
5380
  currency: (e) => ({
5385
- class: [...g(e), "rounded-l rounded-r-none"],
5381
+ class: [...g(e), "!rounded-l !rounded-r-none"],
5386
5382
  "data-wv-section": "currency"
5387
5383
  }),
5388
5384
  value: (e) => ({
5389
- class: [...g(e), "rounded-r rounded-l-none -ml-[1px]"],
5385
+ class: [...g(e), "!rounded-r !rounded-l-none -ml-[1px]"],
5390
5386
  "data-wv-section": "value"
5391
5387
  })
5392
5388
  }, ke = {
@@ -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
- `},Y={root:({props:e})=>({class:["relative inline-block","shrink-0",{"rounded-full":e.rounded},{"rounded-lg":!e.rounded},e.class,{"w-[30px] h-[30px]":e.size==="small","w-[80px] h-[80px]":e.size==="medium","w-[125px] h-[125px]":!e.size&&!e.width}],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"}},H={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"}}},Pe=s("default",{global:K,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:O,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:N,buttonbulkaction:ve,buttonsearch:I,buttonsplit:V,buttonfilter:P,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:R,dialogform:M,overlaypanel:ae,message:te,inlinemessage:H,toast:ue,carousel:$,badge:g,badgegroup:we,image:Y,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
+ `},Y={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"}},H={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"}}},Pe=s("default",{global:K,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:O,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:N,buttonbulkaction:ve,buttonsearch:I,buttonsplit:V,buttonfilter:P,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:R,dialogform:M,overlaypanel:ae,message:te,inlinemessage:H,toast:ue,carousel:$,badge:g,badgegroup:we,image:Y,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"}]})}})}}});
@@ -12,11 +12,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  var inputphonenumber_1 = require("../inputphonenumber");
13
13
  exports.default = {
14
14
  currency: function (ctx) { return ({
15
- 'class': __spreadArray(__spreadArray([], (0, inputphonenumber_1.commonClasses)(ctx), true), ['rounded-l rounded-r-none'], false),
15
+ 'class': __spreadArray(__spreadArray([], (0, inputphonenumber_1.commonClasses)(ctx), true), ['!rounded-l !rounded-r-none'], false),
16
16
  'data-wv-section': 'currency',
17
17
  }); },
18
18
  value: function (ctx) { return ({
19
- 'class': __spreadArray(__spreadArray([], (0, inputphonenumber_1.commonClasses)(ctx), true), ['rounded-r rounded-l-none -ml-[1px]'], false),
19
+ 'class': __spreadArray(__spreadArray([], (0, inputphonenumber_1.commonClasses)(ctx), true), ['!rounded-r !rounded-l-none -ml-[1px]'], false),
20
20
  'data-wv-section': 'value',
21
21
  }); },
22
22
  };
@@ -29,7 +29,7 @@ exports.commonClasses = commonClasses;
29
29
  exports.default = {
30
30
  dialcode: {
31
31
  root: function (ctx) { return ({
32
- class: __spreadArray(__spreadArray([], (0, exports.commonClasses)(ctx), true), ['rounded-l rounded-r-none'], false),
32
+ class: __spreadArray(__spreadArray([], (0, exports.commonClasses)(ctx), true), ['!rounded-l !rounded-r-none'], false),
33
33
  }); },
34
34
  dropdownicon: function (_a) {
35
35
  var state = _a.state;
@@ -38,7 +38,7 @@ exports.default = {
38
38
  },
39
39
  input: function (ctx) { return ({
40
40
  class: __spreadArray(__spreadArray([], (0, exports.commonClasses)(ctx), true), [
41
- 'rounded-r rounded-l-none -ml-[1px]',
41
+ '!rounded-r !rounded-l-none -ml-[1px]',
42
42
  'focus:bg-none',
43
43
  'focus:ring-primary-700',
44
44
  'focus:ring-1',
@@ -1554,10 +1554,6 @@
1554
1554
  height: 10px;
1555
1555
  }
1556
1556
 
1557
- .h-\[125px\]{
1558
- height: 125px;
1559
- }
1560
-
1561
1557
  .h-\[13px\]{
1562
1558
  height: 13px;
1563
1559
  }
@@ -1598,10 +1594,6 @@
1598
1594
  height: 6px;
1599
1595
  }
1600
1596
 
1601
- .h-\[80px\]{
1602
- height: 80px;
1603
- }
1604
-
1605
1597
  .h-\[calc\(100\%\+12px\)\]{
1606
1598
  height: calc(100% + 12px);
1607
1599
  }
@@ -1808,10 +1800,6 @@
1808
1800
  width: 10px;
1809
1801
  }
1810
1802
 
1811
- .w-\[125px\]{
1812
- width: 125px;
1813
- }
1814
-
1815
1803
  .w-\[13px\]{
1816
1804
  width: 13px;
1817
1805
  }
@@ -1892,10 +1880,6 @@
1892
1880
  width: 800px;
1893
1881
  }
1894
1882
 
1895
- .w-\[80px\]{
1896
- width: 80px;
1897
- }
1898
-
1899
1883
  .w-\[calc\(100\%\+12px\)\]{
1900
1884
  width: calc(100% + 12px);
1901
1885
  }
@@ -2702,6 +2686,26 @@
2702
2686
  border-end-end-radius: 9999px !important;
2703
2687
  }
2704
2688
 
2689
+ .\!rounded-l{
2690
+ border-top-left-radius: 0.25rem !important;
2691
+ border-bottom-left-radius: 0.25rem !important;
2692
+ }
2693
+
2694
+ .\!rounded-l-none{
2695
+ border-top-left-radius: 0px !important;
2696
+ border-bottom-left-radius: 0px !important;
2697
+ }
2698
+
2699
+ .\!rounded-r{
2700
+ border-top-right-radius: 0.25rem !important;
2701
+ border-bottom-right-radius: 0.25rem !important;
2702
+ }
2703
+
2704
+ .\!rounded-r-none{
2705
+ border-top-right-radius: 0px !important;
2706
+ border-bottom-right-radius: 0px !important;
2707
+ }
2708
+
2705
2709
  .\!rounded-s-full{
2706
2710
  border-start-start-radius: 9999px !important;
2707
2711
  border-end-start-radius: 9999px !important;
@@ -2717,11 +2721,6 @@
2717
2721
  border-bottom-left-radius: 0.375rem;
2718
2722
  }
2719
2723
 
2720
- .rounded-l{
2721
- border-top-left-radius: 0.25rem;
2722
- border-bottom-left-radius: 0.25rem;
2723
- }
2724
-
2725
2724
  .rounded-l-full{
2726
2725
  border-top-left-radius: 9999px;
2727
2726
  border-bottom-left-radius: 9999px;
@@ -2732,11 +2731,6 @@
2732
2731
  border-bottom-left-radius: 0px;
2733
2732
  }
2734
2733
 
2735
- .rounded-r{
2736
- border-top-right-radius: 0.25rem;
2737
- border-bottom-right-radius: 0.25rem;
2738
- }
2739
-
2740
2734
  .rounded-r-full{
2741
2735
  border-top-right-radius: 9999px;
2742
2736
  border-bottom-right-radius: 9999px;
@@ -7,14 +7,10 @@ exports.default = {
7
7
  class: [
8
8
  'relative inline-block',
9
9
  'shrink-0',
10
+ 'w-max h-max',
10
11
  { 'rounded-full': props.rounded },
11
12
  { 'rounded-lg': !props.rounded },
12
13
  props.class,
13
- {
14
- 'w-[30px] h-[30px]': props.size === 'small',
15
- 'w-[80px] h-[80px]': props.size === 'medium',
16
- 'w-[125px] h-[125px]': !props.size && !props.width,
17
- },
18
14
  ],
19
15
  style: !props.size && props.width
20
16
  ? {