@hhgtech/hhg-components 1.20.75 → 1.20.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/babyGrowth.js +1 -1
- package/build/care.js +1 -1
- package/build/components.js +1 -1
- package/build/core.js +1 -1
- package/build/esm/babyGrowth.js +1 -1
- package/build/esm/care.js +1 -1
- package/build/esm/components.js +1 -1
- package/build/esm/core.js +1 -1
- package/build/esm/{index-896df045.js → index-3b96358a.js} +1 -1
- package/build/esm/{index-4e232f37.js → index-5a0cd96d.js} +1 -1
- package/build/esm/{index-d009b597.js → index-642d36c8.js} +1 -1
- package/build/esm/{index-4a4bb772.js → index-7719205a.js} +1 -1
- package/build/esm/index-7a537be1.js +1 -0
- package/build/esm/{index-0d69362e.js → index-93d22d63.js} +1 -1
- package/build/esm/{index-084a495c.js → index-96499193.js} +1 -1
- package/build/esm/{index-7bf9e09f.js → index-9d455074.js} +1 -1
- package/build/esm/index-f8e043bf.js +1 -0
- package/build/esm/index.js +1 -1
- package/build/esm/{index.styled-a87311b3.js → index.styled-af005aa4.js} +1 -1
- package/build/esm/{index.styled-b9f4b7d1.js → index.styled-faeac279.js} +1 -1
- package/build/esm/mantine.js +1 -1
- package/build/esm/misc.js +1 -1
- package/build/esm/navigation.js +1 -1
- package/build/esm/navigationLayout_deprecated.js +1 -1
- package/build/esm/screenSizeContext-12f741e1.js +1 -0
- package/build/esm/together.js +1 -1
- package/build/esm/{types-363c3848.js → types-b34b9782.js} +1 -1
- package/build/esm/{types-da2036b3.js → types-dad90f5a.js} +1 -1
- package/build/esm/{utils-53a64f38.js → utils-8a152ba4.js} +1 -1
- package/build/{index-ccb7ff0e.js → index-027da064.js} +1 -1
- package/build/{index-79ca5c8f.js → index-06ae8f3a.js} +1 -1
- package/build/{index-31adaffe.js → index-248b43de.js} +1 -1
- package/build/{index-d4fecb21.js → index-40476a4b.js} +1 -1
- package/build/{index-f257f4ad.js → index-4a843199.js} +1 -1
- package/build/index-5d420cf1.js +1 -0
- package/build/{index-c2b118f9.js → index-eb84390c.js} +1 -1
- package/build/{index-b0b1dce7.js → index-ef8759f0.js} +1 -1
- package/build/{index-6bdf7dbd.js → index-fb3b1c3b.js} +1 -1
- package/build/index.js +1 -1
- package/build/{index.styled-6d954724.js → index.styled-03c4dedb.js} +1 -1
- package/build/{index.styled-26e09df8.js → index.styled-43c202d4.js} +1 -1
- package/build/mantine.js +1 -1
- package/build/misc.js +1 -1
- package/build/navigation.js +1 -1
- package/build/navigationLayout_deprecated.js +1 -1
- package/build/{screenSizeContext-6726a3b5.js → screenSizeContext-60cc891b.js} +1 -1
- package/build/together.js +1 -1
- package/build/{types-93f5f4a9.js → types-3a421c51.js} +1 -1
- package/build/{types-615bcf79.js → types-bb1e1f83.js} +1 -1
- package/build/{utils-e2a4fdad.js → utils-3a287420.js} +1 -1
- package/package.json +1 -1
- package/build/esm/index-c9da804a.js +0 -1
- package/build/esm/index-fe9820b2.js +0 -1
- package/build/esm/screenSizeContext-d6e9a094.js +0 -1
- package/build/index-86fb3a3a.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e as n,_ as t}from"./tslib.es6-5532bd7b.js";import{keyframes as r}from"styled-components";import a from"vanilla-lazyload";import i,{createContext as e,useState as o,useEffect as s,useMemo as d}from"react";import{throttle as m}from"lodash";var l,c,_,f,E,B,O,I,p,u=function(n){var t=Object.keys(n);return t.length?"?"+t.map((function(t){return"".concat(t,"=").concat(n[t])})).join("&"):""},T=function(n,t,r){void 0===t&&(t=1),void 0===r&&(r="page");var a=n.split("?"),i=a[0],e=a[1],o=new URLSearchParams(e||""),s={};return o.forEach((function(n,t){n&&(s[t]=n)})),Number(t)>1?s[r]=String(t):delete s[r],i+u(s)},A=function(n){"undefined"!=typeof window&&(document.documentElement.style.overflow=n?"hidden":"")},L={BREAK_POINT_SMALL_MOBILE:481,BREAK_POINT_MOBILE:768,BREAK_POINT_TABLET:1024,BREAK_POINT_PC:1200},P={smbDown:"@media (max-width: ".concat(L.BREAK_POINT_SMALL_MOBILE-1,"px)"),smbUp:"@media (min-width: ".concat(L.BREAK_POINT_SMALL_MOBILE,"px)"),mbDown:"@media (max-width: ".concat(L.BREAK_POINT_MOBILE-1,"px)"),mbOnly:"@media (min-width: ".concat(L.BREAK_POINT_SMALL_MOBILE,"px) and (max-width: ").concat(L.BREAK_POINT_MOBILE-1,"px)"),mbUp:"@media (min-width: ".concat(L.BREAK_POINT_MOBILE,"px)"),tdDown:"@media (max-width: ".concat(L.BREAK_POINT_TABLET-1,"px)"),tdOnly:"@media (min-width: ".concat(L.BREAK_POINT_MOBILE,"px) and (max-width: ").concat(L.BREAK_POINT_TABLET-1,"px)"),tdUp:"@media (min-width: ".concat(L.BREAK_POINT_TABLET,"px)"),pcUp:"@media (min-width: ".concat(L.BREAK_POINT_PC,"px)"),pcOnly:"@media (min-width: ".concat(L.BREAK_POINT_TABLET,"px) and (max-width: ").concat(L.BREAK_POINT_PC-1,"px)"),pcDown:"@media (max-width: ".concat(L.BREAK_POINT_PC-1,"px)")},w=function(n){switch(n){case"smbDown":return[0,L.BREAK_POINT_SMALL_MOBILE-1];case"smbUp":return[L.BREAK_POINT_SMALL_MOBILE,0];case"mbDown":return[0,L.BREAK_POINT_MOBILE-1];case"mbOnly":return[L.BREAK_POINT_SMALL_MOBILE,L.BREAK_POINT_MOBILE-1];case"mbUp":return[L.BREAK_POINT_MOBILE,0];case"tdDown":return[0,L.BREAK_POINT_TABLET-1];case"tdOnly":return[L.BREAK_POINT_MOBILE,L.BREAK_POINT_TABLET-1];case"tdUp":return[L.BREAK_POINT_TABLET,0];case"pcUp":return[L.BREAK_POINT_PC,0];case"pcOnly":return[L.BREAK_POINT_TABLET,L.BREAK_POINT_PC-1];case"pcDown":return[0,L.BREAK_POINT_PC-1]}},b=function(){if("undefined"==typeof document)return null;var n="hhg-comp-popup-wrapper";if(!document.querySelector("#"+n)){var t=document.createElement("div");t.id=n,document.body.appendChild(t)}return document.querySelector("#"+n)},v=function(n){return n.replace(/\w\S*/g,(function(n){return n.charAt(0).toUpperCase()+n.substr(1).toLowerCase()}))},h=r(l||(l=n(["\nfrom {\n transform: translate3d(0, 100%, 0);\n visibility: visible;\n}\n\nto {\n transform: translate3d(0, 0, 0);\n}\n"],["\nfrom {\n transform: translate3d(0, 100%, 0);\n visibility: visible;\n}\n\nto {\n transform: translate3d(0, 0, 0);\n}\n"]))),N=r(c||(c=n(["\nfrom {\n transform: translate3d(0, -100%, 0);\n visibility: visible;\n }\n\n to {\n transform: translate3d(0, 0, 0);\n }\n"],["\nfrom {\n transform: translate3d(0, -100%, 0);\n visibility: visible;\n }\n\n to {\n transform: translate3d(0, 0, 0);\n }\n"]))),R=r(_||(_=n(["\n from {\n transform: translate3d(-100%, 0, 0);\n visibility: visible;\n }\n\n to {\n transform: translate3d(0, 0, 0);\n }\n"],["\n from {\n transform: translate3d(-100%, 0, 0);\n visibility: visible;\n }\n\n to {\n transform: translate3d(0, 0, 0);\n }\n"]))),K=r(f||(f=n(["\n from {\n transform: translate3d(100%, 0, 0);\n visibility: visible;\n }\n\n to {\n transform: translate3d(0, 0, 0);\n }\n"],["\n from {\n transform: translate3d(100%, 0, 0);\n visibility: visible;\n }\n\n to {\n transform: translate3d(0, 0, 0);\n }\n"]))),y=r(E||(E=n(["\nfrom {\n transform: translate3d(0, 0, 0);\n}\n\nto {\n visibility: hidden;\n transform: translate3d(0, 100%, 0);\n}\n"],["\nfrom {\n transform: translate3d(0, 0, 0);\n}\n\nto {\n visibility: hidden;\n transform: translate3d(0, 100%, 0);\n}\n"]))),M=r(B||(B=n(["\nfrom {\n transform: translate3d(0, 0, 0);\n}\n\nto {\n visibility: hidden;\n transform: translate3d(-100%, 0, 0);\n}\n"],["\nfrom {\n transform: translate3d(0, 0, 0);\n}\n\nto {\n visibility: hidden;\n transform: translate3d(-100%, 0, 0);\n}\n"]))),x=r(O||(O=n(["\nfrom {\n transform: translate3d(0, 0, 0);\n}\n\nto {\n visibility: hidden;\n transform: translate3d(100%, 0, 0);\n}\n"],["\nfrom {\n transform: translate3d(0, 0, 0);\n}\n\nto {\n visibility: hidden;\n transform: translate3d(100%, 0, 0);\n}\n"]))),S=r(I||(I=n(["\n from {\n transform: translate3d(0, 0, 0);\n }\n\n to {\n visibility: hidden;\n transform: translate3d(0, -100%, 0);\n }\n"],["\n from {\n transform: translate3d(0, 0, 0);\n }\n\n to {\n visibility: hidden;\n transform: translate3d(0, -100%, 0);\n }\n"]))),C=r(p||(p=n(["\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n"],["\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n"]))),U=null;"undefined"==typeof window||U||(U=new a);var g=e({isInit:!0}),D=function(n){var t=function(n){return"number"==typeof n?n:"undefined"!=typeof window&&window.innerWidth||0}(n);return{smallMobile:t<L.BREAK_POINT_SMALL_MOBILE,mobile:t>=L.BREAK_POINT_SMALL_MOBILE&&t<L.BREAK_POINT_MOBILE,tablet:t>=L.BREAK_POINT_MOBILE&&t<L.BREAK_POINT_TABLET,pc:t>=L.BREAK_POINT_TABLET&&t<L.BREAK_POINT_PC,xl:t>=L.BREAK_POINT_PC}},j=function(n){var r=n.children,a=o((function(){return{isInit:!0}})),e=a[0],l=a[1];s((function(){var n=m((function(){l({width:window.innerWidth,height:window.innerHeight,isInit:!1})}),200);return window.addEventListener("resize",n,{passive:!0}),function(){window.removeEventListener("resize",n)}}),[]);var c=d((function(){return D(e.width)}),[e.width]);return i.createElement(g.Provider,{value:t(t({},e),{sizeGroups:c})},r)};export{L as B,P as M,g as S,N as a,R as b,K as c,S as d,y as e,M as f,x as g,C as h,T as i,w as j,b as k,U as l,u as m,v as n,D as o,j as p,h as s,A as t};
|
package/build/esm/together.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{C as CardLink,r as CardPost,s as CardPostPopoverMore,b as CardReactions,v as CardReply,w as CardReplyPopover,f as CreateNewPostContent,g as CreatePostDescription,h as CreatePostTitle,n as ImagePreviewPopup,I as InputCommentBar,d as LabelPin,L as LabelSortPin,e as LabelSorting,x as PopoverMenu,P as PopupDanger,j as PopupFrame,m as PostContent,p as PostImagePreview,o as PostSingleImageViewPopup,l as ShareBox,S as SharePopup,q as SocialLinkPreview,k as SubmitReportForm,c as TagTopic,T as TogetherAuthConfigContext,a as TogetherAuthConfigContextProvider,t as TogetherTypes,i as TopicSelectList,u as useTogetherAuthRequiredAction}from"./types-
|
|
1
|
+
export{C as CardLink,r as CardPost,s as CardPostPopoverMore,b as CardReactions,v as CardReply,w as CardReplyPopover,f as CreateNewPostContent,g as CreatePostDescription,h as CreatePostTitle,n as ImagePreviewPopup,I as InputCommentBar,d as LabelPin,L as LabelSortPin,e as LabelSorting,x as PopoverMenu,P as PopupDanger,j as PopupFrame,m as PostContent,p as PostImagePreview,o as PostSingleImageViewPopup,l as ShareBox,S as SharePopup,q as SocialLinkPreview,k as SubmitReportForm,c as TagTopic,T as TogetherAuthConfigContext,a as TogetherAuthConfigContextProvider,t as TogetherTypes,i as TopicSelectList,u as useTogetherAuthRequiredAction}from"./types-b34b9782.js";export{C as CardAuthor,L as Loading,a as PopupDoctor,P as PopupExpert,b as PopupHospital,d as TogetherDataTransforms,U as UserAvatar}from"./index-3b96358a.js";export{D as DefaultComponentGlobalContextData,G as GlobalData,T as TogetherComponentGlobalContext,a as TogetherComponentGlobalContextProvider,c as TogetherConstants}from"./utils-8a152ba4.js";import"react";import"./index.styled-faeac279.js";import"./tslib.es6-5532bd7b.js";import"styled-components";import"./theme-a50a1aa5.js";import"./screenSizeContext-12f741e1.js";import"vanilla-lazyload";import"lodash";import"./translationsContext-d658f58d.js";import"string-format";import"./index-93d22d63.js";import"./useTranslations-ad4d9d26.js";import"./en-PH-ca0683d7.js";import"innertext";import"react-range";import"date-fns";import"./index-58ae0705.js";import"./Locale-69030fff.js";import"react-dom";import"lodash/debounce";import"./index-642d36c8.js";import"react-contenteditable";import"./index-7a537be1.js";import"./cookieHelper-0e8521c3.js";import"./index-f8e043bf.js";import"date-fns/locale/en-US";import"date-fns/locale/hi";import"date-fns/locale/id";import"date-fns/locale/ms";import"date-fns/locale/th";import"date-fns/locale/vi";import"date-fns/locale/zh-TW";import"react-id-generator";import"slugify";
|