@hhgtech/hhg-components 1.21.98 → 1.22.0

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.
Files changed (72) hide show
  1. package/build/babyGrowth.js +1 -1
  2. package/build/care.js +1 -1
  3. package/build/components/mantine/input/password.d.ts +3 -6
  4. package/build/components.js +1 -1
  5. package/build/constants.js +1 -1
  6. package/build/ecom.js +1 -1
  7. package/build/esm/babyGrowth.js +1 -1
  8. package/build/esm/care.js +1 -1
  9. package/build/esm/components.js +1 -1
  10. package/build/esm/constants.js +1 -1
  11. package/build/esm/ecom.js +1 -1
  12. package/build/esm/footer.js +1 -1
  13. package/build/esm/gAssets.js +1 -1
  14. package/build/esm/{getDynamicHealthTool-4c380ba0.js → getDynamicHealthTool-be4f9753.js} +1 -1
  15. package/build/esm/{getSocialList-8f93036b.js → getSocialList-72c3eb4c.js} +0 -0
  16. package/build/esm/hooks.js +1 -1
  17. package/build/esm/{index-ef9fe72c.js → index-018c49c5.js} +1 -1
  18. package/build/esm/index-2cf746a8.js +1 -0
  19. package/build/esm/{index-26ab9771.js → index-37ba6c72.js} +0 -0
  20. package/build/esm/{index-e3e8f5c5.js → index-649fc75a.js} +1 -1
  21. package/build/esm/{index-3fe4d70d.js → index-ac8e911f.js} +1 -1
  22. package/build/esm/{index-bdfe552b.js → index-c014ea04.js} +1 -1
  23. package/build/esm/index-d87f080b.js +1 -0
  24. package/build/esm/{index-33f3fcf1.js → index-f8c330c6.js} +0 -0
  25. package/build/esm/{index-e3efa1e6.js → index-fd2807f2.js} +1 -1
  26. package/build/esm/index.js +1 -1
  27. package/build/esm/mantine.js +1 -1
  28. package/build/esm/misc.js +1 -1
  29. package/build/esm/navigation.js +1 -1
  30. package/build/esm/pwg.js +1 -1
  31. package/build/esm/{routing-2d333f69.js → routing-03bdf8e6.js} +1 -1
  32. package/build/esm/together.js +1 -1
  33. package/build/esm/types-3e765464.js +1 -0
  34. package/build/esm/{types-5ca85f5d.js → types-d1fd7d11.js} +1 -1
  35. package/build/esm/useHealthToolCache-4416dcd1.js +1 -0
  36. package/build/footer.js +1 -1
  37. package/build/gAssets.js +1 -1
  38. package/build/{getDynamicHealthTool-4685189a.js → getDynamicHealthTool-04d91381.js} +1 -1
  39. package/build/{getSocialList-d9421b94.js → getSocialList-2ed6dad4.js} +0 -0
  40. package/build/hooks.js +1 -1
  41. package/build/index-04b29b8d.js +1 -0
  42. package/build/{index-ab02a46f.js → index-21c5ec1d.js} +1 -1
  43. package/build/{index-373e0e66.js → index-2bf458c4.js} +0 -0
  44. package/build/{index-c187ea20.js → index-2ddadb2b.js} +1 -1
  45. package/build/{index-aa563fcc.js → index-4b65b38e.js} +1 -1
  46. package/build/index-66fcfd20.js +1 -0
  47. package/build/{index-060b92fc.js → index-6a4ab611.js} +0 -0
  48. package/build/{index-7cbbf88a.js → index-de78a526.js} +1 -1
  49. package/build/index.js +1 -1
  50. package/build/interfaces/constants/index.d.ts +1 -0
  51. package/build/interfaces/constants/site.d.ts +26 -0
  52. package/build/mantine.js +1 -1
  53. package/build/misc.js +1 -1
  54. package/build/navigation.js +1 -1
  55. package/build/pwg.js +1 -1
  56. package/build/{routing-5f59e486.js → routing-a1ce2d90.js} +1 -1
  57. package/build/together/components/atoms/tagTopic/index.d.ts +3 -1
  58. package/build/together/components/molecules/popupHospital/index.d.ts +2 -1
  59. package/build/together/components/molecules/shareBox/index.styled.d.ts +1 -0
  60. package/build/together.js +1 -1
  61. package/build/{types-5202b322.js → types-643498e8.js} +1 -1
  62. package/build/types-65d0b1f2.js +1 -0
  63. package/build/useHealthToolCache-7866f415.js +1 -0
  64. package/package.json +1 -1
  65. package/build/esm/index-9dd60ba6.js +0 -1
  66. package/build/esm/index-a6369e9b.js +0 -1
  67. package/build/esm/types-8932e93d.js +0 -1
  68. package/build/esm/useHealthToolCache-20e4615f.js +0 -1
  69. package/build/index-c983ae80.js +0 -1
  70. package/build/index-d28c27ca.js +0 -1
  71. package/build/types-f9a34d57.js +0 -1
  72. package/build/useHealthToolCache-9f85e97a.js +0 -1
@@ -0,0 +1 @@
1
+ import{_ as e,c as a}from"./tslib.es6-2fa94e2c.js";import t,{useState as r,useEffect as n,forwardRef as o}from"react";import{createEmotionCache as i,FileInput as s,NumberInput as m,PasswordInput as l,TextInput as Y}from"@mantine/core";import{useDebouncedValue as u}from"@mantine/hooks";import{L as c}from"./Locale-69030fff.js";import{CommonGAssets as p}from"./gAssets.js";var d,g=300,f=i({key:"mantine",prepend:!1}),M=((d={})[c.Vietnam]={dateFormat:"DD/MM/YYYY",separator:","},d[c.Cambodia]={dateFormat:"DD/MM/YYYY",separator:"."},d[c.India]={dateFormat:"DD/MM/YYYY",separator:"."},d[c.Indonesia]={dateFormat:"DD/MM/YYYY",separator:","},d[c.Malaysia]={dateFormat:"DD/MM/YYYY",separator:"."},d[c.Thailand]={dateFormat:"DD/MM/YYYY",separator:"."},d[c.Taiwan]={dateFormat:"YYYY/MM/DD",separator:","},d[c.PhilippinesTagalog]={dateFormat:"MM/DD/YYYY",separator:"."},d[c.PhilippinesEnglish]={dateFormat:"MM/DD/YYYY",separator:"."},d[c.Myanmar]={dateFormat:"DD/MM/YYYY",separator:","},d),v=p.getAssetPath("EyeVisible.svg"),D=p.getAssetPath("EyeHidden.svg"),h=o((function(r,n){var o=r.size,i=void 0===o?"md":o,s=r.visibilityToggleIcon,m=r.styles,Y=a(r,["size","visibilityToggleIcon","styles"]),u=s||function(e){var a=e.reveal,r=e.size;return a?t.createElement("img",{src:v,width:r}):t.createElement("img",{src:D,width:r})};return t.createElement(l,e({ref:n,size:i,visibilityToggleIcon:u,styles:e({rightSection:{pointerEvents:"initial"}},m)},Y))})),y=function(o){var i=o.value,s=o.onChange,m=a(o,["value","onChange"]),l=r(i||""),c=l[0],p=l[1],d=u(c,300)[0];return n((function(){null==s||s(d)}),[d]),n((function(){p(i)}),[i]),t.createElement(Y,e({size:"md",onChange:function(e){return p(e.currentTarget.value)},value:c},m))};y.File=function(a){return t.createElement(s,e({size:"md"},a))},y.Password=h,y.Number=function(o){var i=o.value,s=o.onChange,l=a(o,["value","onChange"]),Y=r(i||0),c=Y[0],p=Y[1],d=u(c,300)[0];return n((function(){null==s||s(d)}),[d]),n((function(){p(i)}),[i]),t.createElement(m,e({size:"md",stepHoldDelay:500,stepHoldInterval:function(e){return Math.max(1e3/Math.pow(e,2),25)},onChange:p,hideControls:!0,min:0,formatter:function(e){return 0===Number(e)?"":e||""},removeTrailingZeros:!0,value:c},l))};export{g as D,y as I,M as a,f as e};