@hhgtech/hhg-components 1.18.61 → 1.18.63

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 (71) hide show
  1. package/build/cache/core.d.ts +7 -0
  2. package/build/cache/index.d.ts +1 -0
  3. package/build/cache.js +2 -0
  4. package/build/cache.js.map +1 -0
  5. package/build/care/components/organisms/bookingSearchBar/index.styled.d.ts +1 -1
  6. package/build/care.js +1 -1
  7. package/build/components/atoms/input/index.d.ts +3 -12
  8. package/build/components/molecules/dropdownSearch/index.styled.d.ts +1 -1
  9. package/build/components/organisms/index.d.ts +1 -1
  10. package/build/components/organisms/navigationV2/index.d.ts +1 -0
  11. package/build/components.js +1 -1
  12. package/build/cookieHelper-292a21a6.js +2 -0
  13. package/build/{cookieHelper-d9cedc66.js.map → cookieHelper-292a21a6.js.map} +1 -1
  14. package/build/core-8fcc56eb.js +2 -0
  15. package/build/core-8fcc56eb.js.map +1 -0
  16. package/build/esm/cache/core.d.ts +7 -0
  17. package/build/esm/cache/index.d.ts +1 -0
  18. package/build/esm/cache.js +2 -0
  19. package/build/esm/cache.js.map +1 -0
  20. package/build/esm/care/components/organisms/bookingSearchBar/index.styled.d.ts +1 -1
  21. package/build/esm/care.js +1 -1
  22. package/build/esm/components/atoms/input/index.d.ts +3 -12
  23. package/build/esm/components/molecules/dropdownSearch/index.styled.d.ts +1 -1
  24. package/build/esm/components/organisms/index.d.ts +1 -1
  25. package/build/esm/components/organisms/navigationV2/index.d.ts +1 -0
  26. package/build/esm/components.js +1 -1
  27. package/build/esm/cookieHelper-3c199921.js +2 -0
  28. package/build/esm/cookieHelper-3c199921.js.map +1 -0
  29. package/build/esm/core-3d8a3f90.js +2 -0
  30. package/build/esm/core-3d8a3f90.js.map +1 -0
  31. package/build/esm/index-335ef676.js +2 -0
  32. package/build/esm/{index-8bba4dbd.js.map → index-335ef676.js.map} +1 -1
  33. package/build/esm/{index-c905e326.js → index-6dc161c2.js} +2 -2
  34. package/build/esm/{index-c905e326.js.map → index-6dc161c2.js.map} +1 -1
  35. package/build/esm/{index-24e1621c.js → index-773ec0fc.js} +2 -2
  36. package/build/esm/{index-24e1621c.js.map → index-773ec0fc.js.map} +1 -1
  37. package/build/esm/index-ec347944.js +2 -0
  38. package/build/esm/{index-988cceb6.js.map → index-ec347944.js.map} +1 -1
  39. package/build/esm/index.js +1 -1
  40. package/build/esm/{index.styled-00c7c3b5.js → index.styled-e833993c.js} +2 -2
  41. package/build/esm/{index.styled-00c7c3b5.js.map → index.styled-e833993c.js.map} +1 -1
  42. package/build/esm/navigation.js +1 -1
  43. package/build/esm/together.js +1 -1
  44. package/build/esm/{types-cf21f773.js → types-57296778.js} +2 -2
  45. package/build/esm/{types-cf21f773.js.map → types-57296778.js.map} +1 -1
  46. package/build/esm/{types-6320767b.js → types-ef2ebe22.js} +2 -2
  47. package/build/esm/{types-6320767b.js.map → types-ef2ebe22.js.map} +1 -1
  48. package/build/{index-aa743579.js → index-7bfe3e4b.js} +2 -2
  49. package/build/{index-aa743579.js.map → index-7bfe3e4b.js.map} +1 -1
  50. package/build/{index-2e98ae64.js → index-7d955e63.js} +2 -2
  51. package/build/{index-2e98ae64.js.map → index-7d955e63.js.map} +1 -1
  52. package/build/index-a439fdab.js +2 -0
  53. package/build/{index-7bd6af8c.js.map → index-a439fdab.js.map} +1 -1
  54. package/build/{index-4c2c8cce.js → index-b30cc5ed.js} +2 -2
  55. package/build/{index-4c2c8cce.js.map → index-b30cc5ed.js.map} +1 -1
  56. package/build/index.js +1 -1
  57. package/build/{index.styled-4b2cda82.js → index.styled-be645089.js} +2 -2
  58. package/build/{index.styled-4b2cda82.js.map → index.styled-be645089.js.map} +1 -1
  59. package/build/navigation.js +1 -1
  60. package/build/together.js +1 -1
  61. package/build/{types-da66dc60.js → types-1e27b2a5.js} +2 -2
  62. package/build/{types-da66dc60.js.map → types-1e27b2a5.js.map} +1 -1
  63. package/build/{types-4ac7c027.js → types-6be2db53.js} +2 -2
  64. package/build/{types-4ac7c027.js.map → types-6be2db53.js.map} +1 -1
  65. package/package.json +1 -1
  66. package/build/cookieHelper-d9cedc66.js +0 -2
  67. package/build/esm/cookieHelper-9743f6dd.js +0 -2
  68. package/build/esm/cookieHelper-9743f6dd.js.map +0 -1
  69. package/build/esm/index-8bba4dbd.js +0 -2
  70. package/build/esm/index-988cceb6.js +0 -2
  71. package/build/index-7bd6af8c.js +0 -2
@@ -0,0 +1,2 @@
1
+ "use strict";var e=require("./tslib.es6-f7929e76.js"),t={},a=function(e){if("undefined"!=typeof window){var a=void 0;try{a=JSON.parse(localStorage.getItem("hhg-cache-"+e)||"{}")}catch(e){}return a||{}}return t[e]},r=function(e,a){try{"undefined"!=typeof window?localStorage.setItem("hhg-cache-"+e,JSON.stringify({data:a,time:Date.now()})):t[e]={data:a,time:Date.now()}}catch(e){}};exports.getCachedItem=a,exports.getDataWithCache=function(t,n,i,o){return void 0===o&&(o=9e5),e.__awaiter(void 0,void 0,void 0,(function(){var c,s;return e.__generator(this,(function(e){switch(e.label){case 0:return(c=a(t))&&c.data&&c.time&&Date.now()-c.time<o?[2,c.data]:[3,1];case 1:return n?[4,n()]:[3,3];case 2:return s=e.sent(),i&&!i(s)||r(t,s),[2,s];case 3:return[2,null]}}))}))},exports.setCachedItem=r;
2
+ //# sourceMappingURL=core-8fcc56eb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core-8fcc56eb.js","sources":["../src/cache/core.ts"],"sourcesContent":["export type CacheItem<T = any> = {\n data: T\n time: number\n}\n\nconst ServerCache: { [key: string]: CacheItem } = {}\nexport const getCachedItem = <T>(key: string): CacheItem<T> => {\n if (typeof window !== 'undefined') {\n let res\n try {\n res = JSON.parse(localStorage.getItem('hhg-cache-' + key) || '{}')\n } catch {}\n return res || {}\n } else {\n return ServerCache[key]\n }\n}\nexport const setCachedItem = (key: string, value: any) => {\n try {\n if (typeof window !== 'undefined') {\n localStorage.setItem(\n 'hhg-cache-' + key,\n JSON.stringify({ data: value, time: Date.now() }),\n )\n } else {\n ServerCache[key] = { data: value, time: Date.now() }\n }\n } catch {}\n}\nexport const getDataWithCache = async <T>(\n key: string,\n dataGetter?: () => Promise<T> | T,\n validator?: (data: T) => boolean,\n cacheTime = 1000 * 60 * 15,\n): Promise<T | null | undefined> => {\n const persistData = getCachedItem<T>(key)\n if (\n persistData &&\n persistData.data &&\n persistData.time &&\n Date.now() - persistData.time < cacheTime\n ) {\n return persistData.data\n } else if (dataGetter) {\n const data = await dataGetter()\n if (!validator || validator(data)) {\n setCachedItem(key, data)\n }\n return data\n }\n return null\n}\n"],"names":["ServerCache","getCachedItem","key","window","res","JSON","parse","localStorage","getItem","_a","setCachedItem","value","setItem","stringify","data","time","Date","now","dataGetter","validator","cacheTime","persistData","sent"],"mappings":"sDAKMA,EAA4C,GACrCC,EAAgB,SAAIC,GAC/B,GAAsB,oBAAXC,OAAwB,CACjC,IAAIC,SACJ,IACEA,EAAMC,KAAKC,MAAMC,aAAaC,QAAQ,aAAeN,IAAQ,MAC7D,MAAAO,IACF,OAAOL,GAAO,GAEd,OAAOJ,EAAYE,IAGVQ,EAAgB,SAACR,EAAaS,GACzC,IACwB,oBAAXR,OACTI,aAAaK,QACX,aAAeV,EACfG,KAAKQ,UAAU,CAAEC,KAAMH,EAAOI,KAAMC,KAAKC,SAG3CjB,EAAYE,GAAO,CAAEY,KAAMH,EAAOI,KAAMC,KAAKC,OAE/C,MAAAR,uDAE4B,SAC9BP,EACAgB,EACAC,EACAC,eAAA,IAAAA,IAAAA,EAAY,wHAIV,OAFIC,EAAcpB,EAAiBC,KAGnCmB,EAAYP,MACZO,EAAYN,MACZC,KAAKC,MAAQI,EAAYN,KAAOK,EAEzB,CAAA,EAAAC,EAAYP,MAFsB,CAAA,EAAA,UAGhC,OAAAI,EACU,CAAA,EAAAA,KADA,CAAA,EAAA,UAKnB,OAJMJ,EAAOL,EAAkBa,OAC1BH,IAAaA,EAAUL,IAC1BJ,EAAcR,EAAKY,GAErB,CAAA,EAAOA,GAET,KAAA,EAAA,MAAA,CAAA,EAAO"}
@@ -0,0 +1,7 @@
1
+ export declare type CacheItem<T = any> = {
2
+ data: T;
3
+ time: number;
4
+ };
5
+ export declare const getCachedItem: <T>(key: string) => CacheItem<T>;
6
+ export declare const setCachedItem: (key: string, value: any) => void;
7
+ export declare const getDataWithCache: <T>(key: string, dataGetter?: () => T | Promise<T>, validator?: (data: T) => boolean, cacheTime?: number) => Promise<T>;
@@ -0,0 +1 @@
1
+ export * from './core';
@@ -0,0 +1,2 @@
1
+ export{a as getCachedItem,g as getDataWithCache,s as setCachedItem}from"./core-3d8a3f90.js";import"./tslib.es6-fd0a5c98.js";
2
+ //# sourceMappingURL=cache.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cache.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -3,5 +3,5 @@ export declare const StyledSearchBarWrapper: import("styled-components").StyledC
3
3
  export declare const StyledSearchBarMobileWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
4
4
  export declare const StyledSearchBarMobileModalHeader: import("styled-components").StyledComponent<"section", any, {}, never>;
5
5
  export declare const StyledHiddenInputMobile: import("styled-components").StyledComponent<"input", any, {}, never>;
6
- export declare const StyledInput: import("styled-components").StyledComponent<({ name, value, errorMessage, isNumerousKeyboard, actionIcon: ActionIcon, displayIcon: DisplayIcon, onActionClick, label, placeholder, className, onChange, onKeyPress, onKeyDown, onFocus, onBlur, isDisabled, CustomInput, size, style, autoComplete, type, inputClassName, trackingAttributes, readOnly: readonly, enterKeyHint, }: import("../../../../components/atoms/input").Props) => JSX.Element, any, {}, never>;
6
+ export declare const StyledInput: import("styled-components").StyledComponent<({ name, value, errorMessage, isNumerousKeyboard, actionIcon: ActionIcon, displayIcon: DisplayIcon, onActionClick, label, className, onChange, isDisabled, CustomInput, size, style, autoComplete, type, inputClassName, trackingAttributes, enterKeyHint, ...rest }: import("../../../../components/atoms/input").Props) => JSX.Element, any, {}, never>;
7
7
  export declare const CareSearchGlobalStyles: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
package/build/esm/care.js CHANGED
@@ -1,2 +1,2 @@
1
- export{B as BookingSearchBar,t as CareTypes}from"./types-6320767b.js";export{c as CareConstants}from"./constants-dc22740c.js";import"./tslib.es6-fd0a5c98.js";import"react";import"./theme-d85b3a33.js";import"./cookieHelper-9743f6dd.js";import"styled-components";import"./useTranslations-5638eb68.js";import"./translationsContext-977d7bc4.js";import"lodash/debounce";import"react-range";import"react-loading-skeleton";import"react-id-generator";import"lodash/shuffle";
1
+ export{B as BookingSearchBar,t as CareTypes}from"./types-ef2ebe22.js";export{c as CareConstants}from"./constants-dc22740c.js";import"./tslib.es6-fd0a5c98.js";import"react";import"./theme-d85b3a33.js";import"./cookieHelper-3c199921.js";import"styled-components";import"./useTranslations-5638eb68.js";import"./translationsContext-977d7bc4.js";import"lodash/debounce";import"react-range";import"react-loading-skeleton";import"react-id-generator";import"lodash/shuffle";
2
2
  //# sourceMappingURL=care.js.map
@@ -1,7 +1,6 @@
1
- import React from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import { GATrackingCode } from 'care/components/organisms/bookingSearchBar/types';
3
- import { CSSProperties } from 'styled-components';
4
- export declare type Props = {
3
+ export declare type Props = Omit<HTMLAttributes<HTMLInputElement>, 'onChange' | 'type' | 'value'> & {
5
4
  value: string;
6
5
  name: string;
7
6
  size: 'lg' | 'md' | 'sm';
@@ -12,21 +11,13 @@ export declare type Props = {
12
11
  onActionClick?: () => void;
13
12
  displayIcon?: JSX.Element;
14
13
  label?: string | JSX.Element;
15
- placeholder?: string;
16
- className?: string;
17
14
  onChange?: (v: string) => void;
18
- onKeyPress?: (e: React.KeyboardEvent) => void;
19
- onKeyDown?: (e: React.KeyboardEvent) => void;
20
- onFocus?: (e: React.FocusEvent) => void;
21
- onBlur?: (e: React.FocusEvent) => void;
22
15
  isDisabled?: boolean;
23
16
  CustomInput?: JSX.Element;
24
- style?: CSSProperties;
25
17
  type?: 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search' | 'number';
26
18
  inputClassName?: string;
27
19
  trackingAttributes?: GATrackingCode;
28
- readOnly?: boolean;
29
20
  enterKeyHint?: React.InputHTMLAttributes<HTMLInputElement>['enterKeyHint'];
30
21
  };
31
- declare const Input: ({ name, value, errorMessage, isNumerousKeyboard, actionIcon: ActionIcon, displayIcon: DisplayIcon, onActionClick, label, placeholder, className, onChange, onKeyPress, onKeyDown, onFocus, onBlur, isDisabled, CustomInput, size, style, autoComplete, type, inputClassName, trackingAttributes, readOnly: readonly, enterKeyHint, }: Props) => JSX.Element;
22
+ declare const Input: ({ name, value, errorMessage, isNumerousKeyboard, actionIcon: ActionIcon, displayIcon: DisplayIcon, onActionClick, label, className, onChange, isDisabled, CustomInput, size, style, autoComplete, type, inputClassName, trackingAttributes, enterKeyHint, ...rest }: Props) => JSX.Element;
32
23
  export { Input };
@@ -5,4 +5,4 @@ export declare const StyledDropdownName: import("styled-components").StyledCompo
5
5
  export declare const StyledDropdownList: import("styled-components").StyledComponent<"ul", any, {}, never>;
6
6
  export declare const StyledDropdownOption: import("styled-components").StyledComponent<"li", any, {}, never>;
7
7
  export declare const StyledIcon: import("styled-components").StyledComponent<"div", any, {}, never>;
8
- export declare const StyledPureInput: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("../../atoms/pureInput/index").Props, "children" | "form" | "slot" | "style" | "title" | "pattern" | "contextMenu" | "dir" | "key" | "className" | "src" | "color" | "onClick" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "name" | "checked" | "value" | "height" | "width" | "readOnly" | "accept" | "alt" | "autoFocus" | "capture" | "crossOrigin" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "list" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "required" | "step" | keyof import("../../atoms/pureInput/index").CustomInputProps> & import("react").RefAttributes<HTMLInputElement>>, any, {}, never>;
8
+ export declare const StyledPureInput: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("../../atoms/pureInput/index").Props, "children" | "form" | "slot" | "style" | "title" | "pattern" | "contextMenu" | "dir" | "key" | "className" | "src" | "color" | "onClick" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "name" | "checked" | "value" | "height" | "width" | "accept" | "alt" | "autoFocus" | "capture" | "crossOrigin" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "list" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "readOnly" | "required" | "step" | keyof import("../../atoms/pureInput/index").CustomInputProps> & import("react").RefAttributes<HTMLInputElement>>, any, {}, never>;
@@ -1,5 +1,5 @@
1
1
  export { NavigationLayout } from './navigationLayout/languageWrapper';
2
- export { NavigationV2, Props as NavigationV2Props, getNavMenuContent, NavMenuContentType, } from './navigationV2';
2
+ export { NavigationV2, Props as NavigationV2Props, getNavMenuContent, getNavMenuContentWithCache, NavMenuContentType, } from './navigationV2';
3
3
  export { Layout } from './navigationLayout/layout';
4
4
  export { SiteWide } from './navigationLayout/siteWide';
5
5
  export { NavigationBar } from './navigationLayout/navigationBar';
@@ -55,4 +55,5 @@ export declare type Props = {
55
55
  };
56
56
  declare const NavigationV2: (props: Props) => JSX.Element;
57
57
  export declare const getNavMenuContent: (locale: any) => Promise<NavMenuContentType>;
58
+ export declare const getNavMenuContentWithCache: (locale?: string) => Promise<NavMenuContentType>;
58
59
  export { NavigationV2 };
@@ -1,2 +1,2 @@
1
- export{A as Alert,w as AmpNextPage,g as ArticleCard,B as Badge,a as BorderHeading,h as Breadcrumbs,o as Carousel,i as CategoryCard,C as Checkbox,j as CheckboxGroup,u as CookieAcceptConfirm,D as DatePicker,F as FileDropdown,t as FloatButtonGroup,E as Footer,G as Grid,I as Icon,k as IconText,L as Layout,M as Modal,y as NavigationBar,N as NavigationLayout,P as Pagination,f as Progress,l as ProgressBar,R as Radio,m as RadioGroup,e as RateStars,v as SeoHead,S as Shadow,n as SideMenu,x as SiteWide,b as Slider,p as StatisticCard,z as StickySponsoredBy,s as SurveyThankyouCard,q as Table,r as Tabs,T as Tag,c as Toggle,U as UnderlinedLink,d as Uploader}from"./index-8bba4dbd.js";export{A as Avatar,B as Button,H as Heading,P as Popup}from"./index.styled-00c7c3b5.js";export{D as Divider,a as Dropdown}from"./index-c905e326.js";export{D as DoctorInfo,F as Flag,L as LanguageSwitcher,M as MobileBottomNavigation,b as MobileBottomNavigationIcon,f as NavigationLogoutPopup,h as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,S as ScrollList,a as SurveyQuestionCard,U as UserProfileNavigation,c as UserProfileNavigationHeader,e as UserProfileNavigationStats,d as defaultTranslation,g as getNavMenuContent}from"./index-988cceb6.js";export{C as Container,I as Input,L as Label,a as Logo,P as PureInput,T as Text,b as TextArea,c as TextDivider}from"./cookieHelper-9743f6dd.js";import"react";import"./tslib.es6-fd0a5c98.js";import"./useTranslations-5638eb68.js";import"styled-components";import"./translationsContext-977d7bc4.js";import"react-range";import"./theme-d85b3a33.js";import"react-id-generator";import"date-fns";import"react-day-picker/DayPickerInput";import"./useScrollbarSize-99db33e1.js";import"lodash/debounce";import"react-dom";import"lodash";import"./constants-dc22740c.js";import"react-loading-skeleton";import"./translationsProvider-94e1d5d1.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"smoothscroll-polyfill";
1
+ export{A as Alert,w as AmpNextPage,g as ArticleCard,B as Badge,a as BorderHeading,h as Breadcrumbs,o as Carousel,i as CategoryCard,C as Checkbox,j as CheckboxGroup,u as CookieAcceptConfirm,D as DatePicker,F as FileDropdown,t as FloatButtonGroup,E as Footer,G as Grid,I as Icon,k as IconText,L as Layout,M as Modal,y as NavigationBar,N as NavigationLayout,P as Pagination,f as Progress,l as ProgressBar,R as Radio,m as RadioGroup,e as RateStars,v as SeoHead,S as Shadow,n as SideMenu,x as SiteWide,b as Slider,p as StatisticCard,z as StickySponsoredBy,s as SurveyThankyouCard,q as Table,r as Tabs,T as Tag,c as Toggle,U as UnderlinedLink,d as Uploader}from"./index-335ef676.js";export{A as Avatar,B as Button,H as Heading,P as Popup}from"./index.styled-e833993c.js";export{D as Divider,a as Dropdown}from"./index-6dc161c2.js";export{D as DoctorInfo,F as Flag,L as LanguageSwitcher,M as MobileBottomNavigation,b as MobileBottomNavigationIcon,h as NavigationLogoutPopup,i as NavigationProfileButton,N as NavigationV2,P as ProfilePopup,S as ScrollList,a as SurveyQuestionCard,U as UserProfileNavigation,e as UserProfileNavigationHeader,f as UserProfileNavigationStats,d as defaultTranslation,g as getNavMenuContent,c as getNavMenuContentWithCache}from"./index-ec347944.js";export{C as Container,I as Input,L as Label,a as Logo,P as PureInput,T as Text,b as TextArea,c as TextDivider}from"./cookieHelper-3c199921.js";import"react";import"./tslib.es6-fd0a5c98.js";import"./useTranslations-5638eb68.js";import"styled-components";import"./translationsContext-977d7bc4.js";import"react-range";import"./theme-d85b3a33.js";import"react-id-generator";import"date-fns";import"react-day-picker/DayPickerInput";import"./useScrollbarSize-99db33e1.js";import"lodash/debounce";import"react-dom";import"lodash";import"./constants-dc22740c.js";import"react-loading-skeleton";import"./translationsProvider-94e1d5d1.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"./core-3d8a3f90.js";import"smoothscroll-polyfill";
2
2
  //# sourceMappingURL=components.js.map