dinocollab-shared 1.1.3 → 1.1.5
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/dist/auth/profile.js +1 -1
- package/dist/auth/profile.js.map +1 -1
- package/dist/auth/widget.js +1 -1
- package/dist/auth/widget.js.map +1 -1
- package/dist/cart/cart-store.js +1 -1
- package/dist/cart/cart-store.js.map +1 -1
- package/dist/cart/styled.js +1 -1
- package/dist/cart/styled.js.map +1 -1
- package/dist/cart/widget.js +1 -1
- package/dist/cart/widget.js.map +1 -1
- package/dist/layout-global/animated-tabs.units.js +1 -1
- package/dist/layout-global/animated-tabs.units.js.map +1 -1
- package/dist/layout-global/app-footer.js +1 -1
- package/dist/layout-global/app-footer.js.map +1 -1
- package/dist/layout-global/app-footer.styled.js +1 -1
- package/dist/layout-global/app-footer.styled.js.map +1 -1
- package/dist/layout-global/app-header.js +1 -1
- package/dist/layout-global/app-header.js.map +1 -1
- package/dist/layout-global/app-header.nav.js +1 -1
- package/dist/layout-global/app-header.nav.js.map +1 -1
- package/dist/layout-global/app-header.styled.js +1 -1
- package/dist/layout-global/app-header.styled.js.map +1 -1
- package/dist/layout-global/app-theme-provider.js +1 -1
- package/dist/layout-global/app-theme-provider.js.map +1 -1
- package/dist/layout-global/configs.js +1 -1
- package/dist/layout-global/configs.js.map +1 -1
- package/dist/layout-global/index.js +1 -1
- package/dist/layout-global/mobile-menu.styled.js +1 -1
- package/dist/layout-global/mobile-menu.styled.js.map +1 -1
- package/dist/layout-global/sub-menu.js +1 -1
- package/dist/layout-global/sub-menu.js.map +1 -1
- package/dist/layout-global/sub-menu.styled.js +1 -1
- package/dist/layout-global/sub-menu.styled.js.map +1 -1
- package/dist/layout-global/types.js.map +1 -1
- package/dist/layout-global/ui.units.js.map +1 -1
- package/dist/types/auth/profile.d.ts.map +1 -1
- package/dist/types/auth/types.d.ts +4 -0
- package/dist/types/auth/types.d.ts.map +1 -1
- package/dist/types/auth/widget.d.ts +6 -5
- package/dist/types/auth/widget.d.ts.map +1 -1
- package/dist/types/cart/cart-store.d.ts.map +1 -1
- package/dist/types/cart/styled.d.ts.map +1 -1
- package/dist/types/cart/widget.d.ts +4 -0
- package/dist/types/cart/widget.d.ts.map +1 -1
- package/dist/types/layout-global/app-footer.d.ts +5 -0
- package/dist/types/layout-global/app-footer.d.ts.map +1 -1
- package/dist/types/layout-global/app-footer.styled.d.ts +4 -0
- package/dist/types/layout-global/app-footer.styled.d.ts.map +1 -1
- package/dist/types/layout-global/app-header.d.ts +8 -1
- package/dist/types/layout-global/app-header.d.ts.map +1 -1
- package/dist/types/layout-global/app-header.nav.d.ts +8 -1
- package/dist/types/layout-global/app-header.nav.d.ts.map +1 -1
- package/dist/types/layout-global/app-header.styled.d.ts +4 -0
- package/dist/types/layout-global/app-header.styled.d.ts.map +1 -1
- package/dist/types/layout-global/app-theme-provider.d.ts +7 -5
- package/dist/types/layout-global/app-theme-provider.d.ts.map +1 -1
- package/dist/types/layout-global/configs.d.ts.map +1 -1
- package/dist/types/layout-global/index.d.ts +6 -0
- package/dist/types/layout-global/index.d.ts.map +1 -1
- package/dist/types/layout-global/mobile-menu.styled.d.ts.map +1 -1
- package/dist/types/layout-global/sub-menu.styled.d.ts +1 -0
- package/dist/types/layout-global/sub-menu.styled.d.ts.map +1 -1
- package/dist/types/layout-global/types.d.ts +6 -0
- package/dist/types/layout-global/types.d.ts.map +1 -1
- package/dist/types/layout-global/ui.units.d.ts +9 -3
- package/dist/types/layout-global/ui.units.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sub-menu.styled.js","sources":["../../src/layout-global/sub-menu.styled.ts"],"sourcesContent":["import { alpha, Menu, styled } from '@mui/material'\r\nimport type { ComponentType } from 'react'\r\nimport type { MenuProps, Theme } from '@mui/material'\r\n\r\nexport const subMenuClasses = {\r\n root: 'SubMenu-root',\r\n group: 'SubMenu-group',\r\n title: 'SubMenu-title',\r\n item: 'SubMenu-item',\r\n itemContent: 'SubMenu-itemContent',\r\n itemIcon: 'SubMenu-itemIcon',\r\n itemText: 'SubMenu-itemText'\r\n}\r\n\r\nconst getClasses = (key: keyof typeof subMenuClasses, options?: { prefix?: string; suffix?: string }) => {\r\n return `${options?.prefix || ''}.${subMenuClasses[key]}${options?.suffix || ''}`\r\n}\r\n\r\nexport const MenuStyled: ComponentType<MenuProps> = styled(Menu)(({ theme }: { theme: Theme }) => ({\r\n '--bg-divider': 'linear-gradient(45deg, rgb(211, 47, 47) 0%, rgb(249, 169, 37) 70%, rgb(211, 47, 47) 100%) 0% 0% / 200%',\r\n '--size-icon': '24px',\r\n marginTop: '45px',\r\n '.MuiPaper-root': {\r\n overflow: 'visible',\r\n backgroundColor: '#323234',\r\n borderRadius: theme.shape.borderRadius,\r\n minWidth: '280px',\r\n maxWidth: '550px',\r\n boxShadow: `0 1px 1px rgba(0, 0, 0, 0.05), 0 2px 2px rgba(0, 0, 0, 0.2), 0 4px 4px rgba(0, 0, 0, 0.15), 0 8px 8px rgba(0, 0, 0, 0.05)`,\r\n animation: 'fadeInDown 0.3s ease-out',\r\n marginTop: '8px',\r\n color: theme.palette.common.white,\r\n\r\n '@keyframes fadeInDown': {\r\n '0%': { opacity: 0, transform: 'translateY(-10px)' },\r\n '100%': { opacity: 1, transform: 'translateY(0)' }\r\n },\r\n\r\n '&::before': {\r\n content: '\"\"',\r\n position: 'absolute',\r\n backgroundColor: '#323234',\r\n width: '10px',\r\n height: '10px',\r\n top: '-4px',\r\n right: theme.spacing(1.5),\r\n transform: 'translateX(-50%) rotate(45deg)',\r\n zIndex: 0\r\n }\r\n },\r\n '.MuiBackdrop-root': { backgroundColor: 'transparent' },\r\n '.MuiList-root': { padding: 0 },\r\n\r\n [getClasses('root')]: {\r\n display: 'flex',\r\n padding: theme.spacing(1, 0),\r\n [theme.breakpoints.down('md')]: {\r\n flexDirection: 'column',\r\n padding: theme.spacing(1, 0)\r\n },\r\n '&:hover': {\r\n '--color-text-sub-menu': theme.palette.grey[500],\r\n '--filter-icon': 'invert(1) brightness(0.6) opacity(0.7)'\r\n }\r\n },\r\n\r\n [getClasses('group')]: {\r\n borderRight: `1px solid ${alpha(theme.palette.common.white, 0.1)}`,\r\n padding: theme.spacing(0, 1),\r\n '&:last-of-type': {\r\n borderRight: 'none'\r\n },\r\n [theme.breakpoints.down('md')]: {\r\n borderRight: 'none',\r\n padding: theme.spacing(0, 0, 0, 1)\r\n }\r\n },\r\n\r\n [getClasses('title')]: {\r\n padding: theme.spacing(0.5, 1.25),\r\n color:
|
|
1
|
+
{"version":3,"file":"sub-menu.styled.js","sources":["../../src/layout-global/sub-menu.styled.ts"],"sourcesContent":["import { alpha, Menu, styled } from '@mui/material'\r\nimport type { ComponentType } from 'react'\r\nimport type { MenuProps, Theme } from '@mui/material'\r\n\r\nexport const subMenuClasses = {\r\n root: 'SubMenu-root',\r\n group: 'SubMenu-group',\r\n title: 'SubMenu-title',\r\n item: 'SubMenu-item',\r\n itemContent: 'SubMenu-itemContent',\r\n itemIcon: 'SubMenu-itemIcon',\r\n itemText: 'SubMenu-itemText',\r\n socialText: 'SubMenu-socialText'\r\n}\r\n\r\nconst getClasses = (key: keyof typeof subMenuClasses, options?: { prefix?: string; suffix?: string }) => {\r\n return `${options?.prefix || ''}.${subMenuClasses[key]}${options?.suffix || ''}`\r\n}\r\n\r\nexport const MenuStyled: ComponentType<MenuProps> = styled(Menu)(({ theme }: { theme: Theme }) => ({\r\n '--bg-divider': 'linear-gradient(45deg, rgb(211, 47, 47) 0%, rgb(249, 169, 37) 70%, rgb(211, 47, 47) 100%) 0% 0% / 200%',\r\n '--size-icon': '24px',\r\n marginTop: '45px',\r\n '.MuiPaper-root': {\r\n overflow: 'visible',\r\n backgroundColor: '#323234',\r\n borderRadius: theme.shape.borderRadius,\r\n minWidth: '280px',\r\n maxWidth: '550px',\r\n boxShadow: `0 1px 1px rgba(0, 0, 0, 0.05), 0 2px 2px rgba(0, 0, 0, 0.2), 0 4px 4px rgba(0, 0, 0, 0.15), 0 8px 8px rgba(0, 0, 0, 0.05)`,\r\n animation: 'fadeInDown 0.3s ease-out',\r\n marginTop: '8px',\r\n color: theme.palette.common.white,\r\n\r\n '@keyframes fadeInDown': {\r\n '0%': { opacity: 0, transform: 'translateY(-10px)' },\r\n '100%': { opacity: 1, transform: 'translateY(0)' }\r\n },\r\n\r\n '&::before': {\r\n content: '\"\"',\r\n position: 'absolute',\r\n backgroundColor: '#323234',\r\n width: '10px',\r\n height: '10px',\r\n top: '-4px',\r\n right: theme.spacing(1.5),\r\n transform: 'translateX(-50%) rotate(45deg)',\r\n zIndex: 0\r\n }\r\n },\r\n '.MuiBackdrop-root': { backgroundColor: 'transparent' },\r\n '.MuiList-root': { padding: 0 },\r\n\r\n [getClasses('root')]: {\r\n display: 'flex',\r\n padding: theme.spacing(1, 0),\r\n [theme.breakpoints.down('md')]: {\r\n flexDirection: 'column',\r\n padding: theme.spacing(1, 0)\r\n },\r\n '&:hover': {\r\n '--color-text-sub-menu': theme.palette.grey[500],\r\n '--filter-icon': 'invert(1) brightness(0.6) opacity(0.7)'\r\n }\r\n },\r\n\r\n [getClasses('group')]: {\r\n borderRight: `1px solid ${alpha(theme.palette.common.white, 0.1)}`,\r\n padding: theme.spacing(0, 1),\r\n '&:last-of-type': {\r\n borderRight: 'none'\r\n },\r\n [theme.breakpoints.down('md')]: {\r\n borderRight: 'none',\r\n padding: theme.spacing(0, 0, 0, 1)\r\n }\r\n },\r\n\r\n [getClasses('title')]: {\r\n padding: theme.spacing(0.5, 1.25),\r\n color: 'var(--color-text, #ffffff)',\r\n fontWeight: 500,\r\n marginBottom: theme.spacing(1.25)\r\n },\r\n\r\n [getClasses('item')]: {\r\n position: 'relative',\r\n transition: 'all 0.35s ease',\r\n padding: theme.spacing(1.5, 3.5, 1.5, 1.5),\r\n backgroundColor: 'var(--bg-nav-item, transparent)',\r\n borderRadius: theme.shape.borderRadius,\r\n\r\n [getClasses('itemContent')]: {\r\n display: 'flex',\r\n alignItems: 'center'\r\n },\r\n\r\n [getClasses('itemText')]: {\r\n color: `var(--color-text-sub-menu, ${theme.palette.grey[100]})`,\r\n textDecoration: 'none',\r\n display: 'block',\r\n width: '100%',\r\n transition: 'all 0.3s ease',\r\n span: {\r\n display: 'inline-block'\r\n }\r\n },\r\n\r\n [getClasses('itemIcon')]: {\r\n display: 'flex',\r\n alignItems: 'center',\r\n flexShrink: 0,\r\n transition: 'transform var(--timing-medium) var(--easing-bounce)',\r\n transformOrigin: 'left bottom',\r\n position: 'relative',\r\n marginRight: theme.spacing(1),\r\n 'img, svg, .icon-img': { width: 'var(--size-icon)', height: 'var(--size-icon)' },\r\n '.icon-img': {\r\n backgroundImage: `var(--mask-url)`,\r\n backgroundSize: 'cover',\r\n backgroundPosition: 'center',\r\n display: 'block',\r\n borderRadius: 4,\r\n transition: 'filter 0.3s',\r\n position: 'relative',\r\n zIndex: 1,\r\n filter: 'var(--filter-icon, invert(1) brightness(0.9) opacity(1))'\r\n }\r\n },\r\n\r\n [getClasses('socialText')]: {\r\n color: 'var(--color-text-secondary, #9da1a5)'\r\n },\r\n\r\n '&::before': {\r\n content: '\"\"',\r\n position: 'absolute',\r\n left: '14px',\r\n top: '50%',\r\n transform: 'translateY(-50%)',\r\n width: 0,\r\n transition: 'all 0.4s',\r\n background: 'var(--bg-divider)',\r\n height: '2px'\r\n },\r\n\r\n '&:hover': {\r\n '--color-text-sub-menu': theme.palette.common.white,\r\n '--filter-icon': 'invert(1) brightness(1) opacity(1)',\r\n padding: theme.spacing(1.5, 1.5, 1.5, 3.5),\r\n backgroundColor: 'var(--bg-nav-item-hover, rgba(249, 169, 37, 0.1))',\r\n '&::before': {\r\n width: theme.spacing(1.125),\r\n marginRight: theme.spacing(1)\r\n }\r\n }\r\n }\r\n}))\r\nMenuStyled.displayName = 'MenuStyled'\r\n"],"names":["subMenuClasses","root","group","title","item","itemContent","itemIcon","itemText","socialText","getClasses","key","options","concat","MenuStyled","styled","Menu","_ref","theme","_defineProperty","marginTop","overflow","backgroundColor","borderRadius","shape","minWidth","maxWidth","boxShadow","animation","color","palette","common","white","opacity","transform","content","position","width","height","top","right","spacing","zIndex","padding","display","breakpoints","down","flexDirection","grey","borderRight","alpha","fontWeight","marginBottom","transition","alignItems","textDecoration","span","flexShrink","transformOrigin","marginRight","backgroundImage","backgroundSize","backgroundPosition","filter","left","background","displayName"],"mappings":"sIAIO,IAAMA,EAAiB,CAC5BC,KAAM,eACNC,MAAO,gBACPC,MAAO,gBACPC,KAAM,eACNC,YAAa,sBACbC,SAAU,mBACVC,SAAU,mBACVC,WAAY,sBAGRC,EAAa,SAACC,EAAkCC,GACpD,MAAA,GAAAC,OAA6B,QAAEA,OAAIZ,EAAeU,IAAIE,OAAsB,GAC9E,EAEaC,EAAuCC,EAAOC,EAAPD,CAAa,SAAAE,GAAA,IAAGC,EAAKD,EAALC,MAAK,OAAAC,EAAAA,EAAAA,EAAAA,EAAA,CACvE,eAAgB,yGAChB,cAAe,OACfC,UAAW,OACX,iBAAkB,CAChBC,SAAU,UACVC,gBAAiB,UACjBC,aAAcL,EAAMM,MAAMD,aAC1BE,SAAU,QACVC,SAAU,QACVC,UAAsI,4HACtIC,UAAW,2BACXR,UAAW,MACXS,MAAOX,EAAMY,QAAQC,OAAOC,MAE5B,wBAAyB,CACvB,KAAM,CAAEC,QAAS,EAAGC,UAAW,qBAC/B,OAAQ,CAAED,QAAS,EAAGC,UAAW,kBAGnC,YAAa,CACXC,QAAS,KACTC,SAAU,WACVd,gBAAiB,UACjBe,MAAO,OACPC,OAAQ,OACRC,IAAK,OACLC,MAAOtB,EAAMuB,QAAQ,KACrBP,UAAW,iCACXQ,OAAQ,IAGZ,oBAAqB,CAAEpB,gBAAiB,eACxC,gBAAiB,CAAEqB,QAAS,IAE3BjC,EAAW,QAAOS,EAAAA,EAAA,CACjByB,QAAS,OACTD,QAASzB,EAAMuB,QAAQ,EAAG,IACzBvB,EAAM2B,YAAYC,KAAK,MAA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EAAW,cAAgB,CAC1BmB,MAAO,yCAGT,YAAa,CACXM,QAAS,KACTC,SAAU,WACV4B,KAAM,OACNzB,IAAK,MACLL,UAAW,mBACXG,MAAO,EACPgB,WAAY,WACZY,WAAY,oBACZ3B,OAAQ,QAGV,UAAW,CACT,wBAAyBpB,EAAMY,QAAQC,OAAOC,MAC9C,gBAAiB,qCACjBW,QAASzB,EAAMuB,QAAQ,IAAK,IAAK,IAAK,KACtCnB,gBAAiB,oDACjB,YAAa,CACXe,MAAOnB,EAAMuB,QAAQ,OACrBkB,YAAazC,EAAMuB,QAAQ,MAE9B,GAGL3B,EAAWoD,YAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sources":["../../src/layout-global/types.ts"],"sourcesContent":["import type { ReactNode } from 'react'\r\nimport type { SxProps, Theme } from '@mui/material'\r\nimport type { AppSite } from 'dinocollab-core/mfe-shared'\r\nimport type { IButtonAnimationProps } from './animated-tabs.units'\r\n\r\nexport enum ENavKey {\r\n Home = 'home',\r\n Pricing = 'pricing',\r\n SubmitMedia = 'submit-media',\r\n Faqs = 'faqs',\r\n Videos = 'videos',\r\n Audios = 'audios',\r\n Privacy = 'privacy',\r\n Terms = 'terms',\r\n About = 'about',\r\n CreateAccount = 'create-account',\r\n ContactUs = 'contact-us',\r\n PurchaseLicenses = 'purchase-licenses'\r\n}\r\n\r\nexport interface IAuthData {\r\n userId?: string\r\n displayName?: string\r\n userAvatar?: string\r\n isAuthenticated?: boolean\r\n profilePath?: string\r\n registerPath?: string\r\n loginPath?: string\r\n logoutPath?: string\r\n isFirstLogin?: boolean\r\n}\r\n\r\nexport interface IAppSocial {\r\n link: string\r\n icon: ReactNode\r\n color?: string\r\n sx?: SxProps<Theme>\r\n}\r\n\r\nexport type INavLink = {\r\n /** App site key */\r\n site: AppSite\r\n /** Link URL */\r\n href: string\r\n /** Router path for internal routing (Next.js/React Router) */\r\n routerPath?: string\r\n /** Link target */\r\n target?: '_blank' | '_self'\r\n}\r\n\r\nexport type NavItemClickFunction = (event: React.MouseEvent<HTMLAnchorElement | HTMLDivElement, MouseEvent>, item: INavLink) => void\r\n\r\nexport interface IAppNavDef {\r\n navLink?: INavLink\r\n options?: Partial<IButtonAnimationProps>\r\n}\r\n\r\nexport interface IAppMenuItem extends Omit<IAppNavDef, 'options'> {\r\n title: string\r\n icon?: ReactNode\r\n}\r\n\r\nexport interface IAppMenu {\r\n title: string\r\n icon?: ReactNode\r\n items?: IAppMenuItem[]\r\n}\r\n\r\nexport interface IAppNav extends IAppNavDef {\r\n title: string\r\n menu?: IAppMenu | IAppMenu[]\r\n}\r\n\r\nexport type OnRouterUrlGetter = (site: AppSite, path: string) => string\r\n"],"names":["ENavKey"],"mappings":"IAKYA,GAAZ,SAAYA,GACVA,EAAA,KAAA,OACAA,EAAA,QAAA,UACAA,EAAA,YAAA,eACAA,EAAA,KAAA,OACAA,EAAA,OAAA,SACAA,EAAA,OAAA,SACAA,EAAA,QAAA,UACAA,EAAA,MAAA,QACAA,EAAA,MAAA,QACAA,EAAA,cAAA,iBACAA,EAAA,UAAA,aACAA,EAAA,iBAAA,mBACD,CAbD,CAAYA,IAAAA,EAaX,CAAA"}
|
|
1
|
+
{"version":3,"file":"types.js","sources":["../../src/layout-global/types.ts"],"sourcesContent":["import type { ReactNode } from 'react'\r\nimport type { SxProps, Theme } from '@mui/material'\r\nimport type { AppSite } from 'dinocollab-core/mfe-shared'\r\nimport type { IButtonAnimationProps } from './animated-tabs.units'\r\n\r\nexport enum ENavKey {\r\n Home = 'home',\r\n Pricing = 'pricing',\r\n SubmitMedia = 'submit-media',\r\n Faqs = 'faqs',\r\n Videos = 'videos',\r\n Audios = 'audios',\r\n Privacy = 'privacy',\r\n Terms = 'terms',\r\n About = 'about',\r\n CreateAccount = 'create-account',\r\n ContactUs = 'contact-us',\r\n PurchaseLicenses = 'purchase-licenses'\r\n}\r\n\r\nexport interface IAuthData {\r\n userId?: string\r\n displayName?: string\r\n userAvatar?: string\r\n isAuthenticated?: boolean\r\n profilePath?: string\r\n registerPath?: string\r\n loginPath?: string\r\n logoutPath?: string\r\n isFirstLogin?: boolean\r\n}\r\n\r\nexport interface IAppSocial {\r\n link: string\r\n icon: ReactNode\r\n color?: string\r\n sx?: SxProps<Theme>\r\n}\r\n\r\nexport interface INavLinkOptions {\r\n tabKey?: 'video' | 'audio'\r\n toLocate?: 'home' | 'faqs' | 'about' | 'contact' | 'pricing'\r\n}\r\n\r\nexport type INavLink = {\r\n /** App site key */\r\n site: AppSite\r\n /** Link URL */\r\n href: string\r\n /** Router path for internal routing (Next.js/React Router) */\r\n routerPath?: string\r\n /** Link target */\r\n target?: '_blank' | '_self'\r\n /** This field is used for UI handling and some other non-critical tasks */\r\n options?: string\r\n}\r\n\r\nexport type NavItemClickFunction = (event: React.MouseEvent<HTMLAnchorElement | HTMLDivElement, MouseEvent>, item: INavLink) => void\r\n\r\nexport interface IAppNavDef {\r\n navLink?: INavLink\r\n options?: Partial<IButtonAnimationProps>\r\n}\r\n\r\nexport interface IAppMenuItem extends Omit<IAppNavDef, 'options'> {\r\n title: string\r\n icon?: ReactNode\r\n}\r\n\r\nexport interface IAppMenu {\r\n title: string\r\n icon?: ReactNode\r\n items?: IAppMenuItem[]\r\n}\r\n\r\nexport interface IAppNav extends IAppNavDef {\r\n title: string\r\n menu?: IAppMenu | IAppMenu[]\r\n}\r\n\r\nexport type OnRouterUrlGetter = (site: AppSite, path: string) => string\r\n"],"names":["ENavKey"],"mappings":"IAKYA,GAAZ,SAAYA,GACVA,EAAA,KAAA,OACAA,EAAA,QAAA,UACAA,EAAA,YAAA,eACAA,EAAA,KAAA,OACAA,EAAA,OAAA,SACAA,EAAA,OAAA,SACAA,EAAA,QAAA,UACAA,EAAA,MAAA,QACAA,EAAA,MAAA,QACAA,EAAA,cAAA,iBACAA,EAAA,UAAA,aACAA,EAAA,iBAAA,mBACD,CAbD,CAAYA,IAAAA,EAaX,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.units.js","sources":["../../src/layout-global/ui.units.tsx"],"sourcesContent":["import { ComponentType, FC, Fragment } from 'react'\r\nimport { Button, IconButton, styled } from '@mui/material'\r\nimport { type IconButtonProps, type ButtonProps } from '@mui/material'\r\n\r\nexport const TextLineBreak: FC<{ children?: string }> = (props) => {\r\n const texts = props.children?.split('\\n').filter((x) => !!x)\r\n return (\r\n <Fragment>\r\n {texts?.map((x, i) => (\r\n <Fragment key={i}>\r\n {x}\r\n {i < texts.length - 1 && <br />}\r\n </Fragment>\r\n ))}\r\n </Fragment>\r\n )\r\n}\r\n\r\nexport const AppButtonOrange: ComponentType<ButtonProps> = styled(Button)({\r\n color: '#fff',\r\n padding: '6px 16px',\r\n borderRadius: '6px',\r\n border: 'none',\r\n minWidth: '120px',\r\n height: '36px',\r\n boxShadow: '0 2px 8px rgba(27, 25, 24, 0.2)',\r\n background: 'linear-gradient(45deg, #d32f2f 0%, #f9a925 70%, #d32f2f 100%)',\r\n backgroundSize: '200% auto',\r\n transition: 'background-position 0.5s ease, box-shadow 0.3s ease, color 0.25s ease',\r\n '&, .MuiTypography-root': {\r\n fontSize: '0.9rem',\r\n lineHeight: 1,\r\n fontWeight: 500,\r\n textTransform: 'unset'\r\n },\r\n '&:hover': {\r\n backgroundPosition: '100% 0',\r\n boxShadow: '0 4px 16px rgba(252, 228, 19, 0.23)'\r\n },\r\n '&:not(:hover).animate-bounce': {\r\n animation: 'gentleBounceY 3s cubic-bezier(0.4, 0.8, 0.4, 1) infinite'\r\n },\r\n '@keyframes gentleBounceY': {\r\n '0%': { transform: 'translateY(0) scale(1)' },\r\n '5%': { transform: 'translateY(0) scale(1)' },\r\n '20%': { transform: 'translateY(-3px) scale(1.02)' },\r\n '30%': { transform: 'translateY(-2px) scale(1.01)' },\r\n '40%': { transform: 'translateY(-3px) scale(1.02)' },\r\n '50%': { transform: 'translateY(-2px) scale(1.01)' },\r\n '75%': { transform: 'translateY(0) scale(1)' },\r\n '100%': { transform: 'translateY(0) scale(1)' }\r\n }\r\n})\r\n\r\nexport const AppIconButtonOrange: ComponentType<IconButtonProps> = styled(IconButton)({\r\n color: '#fff',\r\n border: 'none',\r\n boxShadow: '0 2px 8px rgba(27, 25, 24, 0.2)',\r\n background: 'linear-gradient(45deg, #d32f2f 0%, #fbc02d 70%, #d32f2f 100%)',\r\n backgroundSize: '165% auto',\r\n transition: 'background-position 0.5s ease, box-shadow 0.3s ease',\r\n '&:hover': {\r\n backgroundPosition: '100% 0',\r\n boxShadow: '0 4px 16px rgba(252, 228, 19, 0.23)'\r\n }\r\n})\r\nAppIconButtonOrange.displayName = 'AppIconButtonOrange'\r\n\r\nexport const AppIconButtonDark: ComponentType<IconButtonProps> = styled(IconButton)({\r\n color: '#fff',\r\n border: 'none',\r\n boxShadow: '0 2px 8px rgba(27, 25, 24, 0.2)',\r\n background: 'linear-gradient(45deg, #333 0%, #555 70%, #333 100%)',\r\n backgroundSize: '165% auto',\r\n transition: 'background-position 0.5s ease, box-shadow 0.3s ease',\r\n '&:hover': {\r\n backgroundPosition: '100% 0',\r\n boxShadow: '0 4px 16px rgba(85, 85, 85, 0.23)'\r\n }\r\n})\r\nAppIconButtonDark.displayName = 'AppIconButtonDark'\r\n"],"names":["TextLineBreak","props","_props$children","texts","children","split","filter","x","_jsx","Fragment","map","i","_jsxs","length","AppButtonOrange","styled","Button","color","padding","borderRadius","border","minWidth","height","boxShadow","background","backgroundSize","transition","fontSize","lineHeight","fontWeight","textTransform","backgroundPosition","animation","transform","AppIconButtonOrange","IconButton","displayName","AppIconButtonDark"],"mappings":"0JAIaA,EAA2C,SAACC,GAAS,IAAAC,EAC1DC,UAAKD,EAAGD,EAAMG,gBAAQ,IAAAF,OAAA,EAAdA,EAAgBG,MAAM,MAAMC,OAAO,SAACC,GAAC,QAAOA,IAC1D,OACEC,EAACC,EACE,CAAAL,SAAAD,aAAAA,EAAAA,EAAOO,IAAI,SAACH,EAAGI,GAAC,OACfC,EAACH,EACE,CAAAL,SAAA,CAAAG,EACAI,EAAIR,EAAMU,OAAS,GAAKL,EAAA,KAAA,MAFZG,EAIhB,IAGP,EAEaG,
|
|
1
|
+
{"version":3,"file":"ui.units.js","sources":["../../src/layout-global/ui.units.tsx"],"sourcesContent":["import { ComponentType, FC, Fragment } from 'react'\r\nimport { Button, IconButton, styled } from '@mui/material'\r\nimport { type IconButtonProps, type ButtonProps } from '@mui/material'\r\n\r\nexport const TextLineBreak: FC<{ children?: string }> = (props) => {\r\n const texts = props.children?.split('\\n').filter((x) => !!x)\r\n return (\r\n <Fragment>\r\n {texts?.map((x, i) => (\r\n <Fragment key={i}>\r\n {x}\r\n {i < texts.length - 1 && <br />}\r\n </Fragment>\r\n ))}\r\n </Fragment>\r\n )\r\n}\r\n\r\nexport const AppButtonOrange: ComponentType<ButtonProps & { [key: string]: any }> = styled(Button)({\r\n color: '#fff',\r\n padding: '6px 16px',\r\n borderRadius: '6px',\r\n border: 'none',\r\n minWidth: '120px',\r\n height: '36px',\r\n boxShadow: '0 2px 8px rgba(27, 25, 24, 0.2)',\r\n background: 'linear-gradient(45deg, #d32f2f 0%, #f9a925 70%, #d32f2f 100%)',\r\n backgroundSize: '200% auto',\r\n transition: 'background-position 0.5s ease, box-shadow 0.3s ease, color 0.25s ease',\r\n '&, .MuiTypography-root': {\r\n fontSize: '0.9rem',\r\n lineHeight: 1,\r\n fontWeight: 500,\r\n textTransform: 'unset'\r\n },\r\n '&:hover': {\r\n backgroundPosition: '100% 0',\r\n boxShadow: '0 4px 16px rgba(252, 228, 19, 0.23)'\r\n },\r\n '&:not(:hover).animate-bounce': {\r\n animation: 'gentleBounceY 3s cubic-bezier(0.4, 0.8, 0.4, 1) infinite'\r\n },\r\n '@keyframes gentleBounceY': {\r\n '0%': { transform: 'translateY(0) scale(1)' },\r\n '5%': { transform: 'translateY(0) scale(1)' },\r\n '20%': { transform: 'translateY(-3px) scale(1.02)' },\r\n '30%': { transform: 'translateY(-2px) scale(1.01)' },\r\n '40%': { transform: 'translateY(-3px) scale(1.02)' },\r\n '50%': { transform: 'translateY(-2px) scale(1.01)' },\r\n '75%': { transform: 'translateY(0) scale(1)' },\r\n '100%': { transform: 'translateY(0) scale(1)' }\r\n }\r\n})\r\n\r\nexport const AppIconButtonOrange: ComponentType<IconButtonProps & { [key: string]: any }> = styled(IconButton)({\r\n color: '#fff',\r\n border: 'none',\r\n boxShadow: '0 2px 8px rgba(27, 25, 24, 0.2)',\r\n background: 'linear-gradient(45deg, #d32f2f 0%, #fbc02d 70%, #d32f2f 100%)',\r\n backgroundSize: '165% auto',\r\n transition: 'background-position 0.5s ease, box-shadow 0.3s ease',\r\n '&:hover': {\r\n backgroundPosition: '100% 0',\r\n boxShadow: '0 4px 16px rgba(252, 228, 19, 0.23)'\r\n }\r\n})\r\nAppIconButtonOrange.displayName = 'AppIconButtonOrange'\r\n\r\nexport const AppIconButtonDark: ComponentType<IconButtonProps & { [key: string]: any }> = styled(IconButton)({\r\n color: '#fff',\r\n border: 'none',\r\n boxShadow: '0 2px 8px rgba(27, 25, 24, 0.2)',\r\n background: 'linear-gradient(45deg, #333 0%, #555 70%, #333 100%)',\r\n backgroundSize: '165% auto',\r\n transition: 'background-position 0.5s ease, box-shadow 0.3s ease',\r\n '&:hover': {\r\n backgroundPosition: '100% 0',\r\n boxShadow: '0 4px 16px rgba(85, 85, 85, 0.23)'\r\n }\r\n})\r\nAppIconButtonDark.displayName = 'AppIconButtonDark'\r\n"],"names":["TextLineBreak","props","_props$children","texts","children","split","filter","x","_jsx","Fragment","map","i","_jsxs","length","AppButtonOrange","styled","Button","color","padding","borderRadius","border","minWidth","height","boxShadow","background","backgroundSize","transition","fontSize","lineHeight","fontWeight","textTransform","backgroundPosition","animation","transform","AppIconButtonOrange","IconButton","displayName","AppIconButtonDark"],"mappings":"0JAIaA,EAA2C,SAACC,GAAS,IAAAC,EAC1DC,UAAKD,EAAGD,EAAMG,gBAAQ,IAAAF,OAAA,EAAdA,EAAgBG,MAAM,MAAMC,OAA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AI,CAAA;CAC5B;AAED,qBAAa,OAAQ,SAAQ,SAAS,CAAC,kBAAkB,EAAE,kBAAkB,CAAC;gBAChE,KAAK,EAAE,kBAAkB;IAQrC,MAAM,aAAsD;IAE5D,WAAW,UAAW,gBAAgB,CAAC,WAAW,CAAC,UAElD;IAED,WAAW,aAEV;IAED,MAAM;CAyDP;AACD,eAAe,OAAO,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BoxProps } from '@mui/material';
|
|
1
2
|
import type { ReactNode } from 'react';
|
|
2
3
|
export interface IProfile {
|
|
3
4
|
UserName: string;
|
|
@@ -13,6 +14,9 @@ export interface IMenuConfig {
|
|
|
13
14
|
icon: ReactNode;
|
|
14
15
|
href?: string;
|
|
15
16
|
onClick?: (event: React.MouseEvent<HTMLAnchorElement | HTMLDivElement, MouseEvent>) => void;
|
|
17
|
+
buttonProps?: BoxProps & {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
};
|
|
16
20
|
}
|
|
17
21
|
export type IIMenuConfigs = IMenuConfig[];
|
|
18
22
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/auth/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,QAAQ,GAAG,IAAI,CAAA;IACxB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,SAAS,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,GAAG,cAAc,EAAE,UAAU,CAAC,KAAK,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/auth/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,QAAQ,GAAG,IAAI,CAAA;IACxB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,SAAS,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,GAAG,cAAc,EAAE,UAAU,CAAC,KAAK,IAAI,CAAA;IAC3F,WAAW,CAAC,EAAE,QAAQ,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAA;CAChD;AAED,MAAM,MAAM,aAAa,GAAG,WAAW,EAAE,CAAA"}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import
|
|
2
|
+
import { ButtonProps } from '@mui/material';
|
|
3
3
|
import type { IAppSiteBaseUrl } from '../types';
|
|
4
|
+
import type { IAuthState, IIMenuConfigs } from './types';
|
|
4
5
|
export interface ICreateAuthBase {
|
|
5
6
|
baseUrl: IAppSiteBaseUrl;
|
|
6
|
-
hrefProfile?: string;
|
|
7
|
-
onProfileClick?: (e: React.MouseEvent<HTMLAnchorElement | HTMLDivElement, MouseEvent>) => void;
|
|
8
7
|
hrefLogin?: string;
|
|
9
8
|
onLoginClick?: (e: React.MouseEvent<HTMLAnchorElement | HTMLDivElement, MouseEvent>) => void;
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
buttonLoginProps?: ButtonProps & {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
12
|
+
menu?: IIMenuConfigs;
|
|
12
13
|
}
|
|
13
14
|
export interface IAuthWidgetProps extends IAuthState, ICreateAuthBase {
|
|
14
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget.d.ts","sourceRoot":"","sources":["../../../src/auth/widget.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"widget.d.ts","sourceRoot":"","sources":["../../../src/auth/widget.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAW,MAAM,OAAO,CAAA;AACnC,OAAO,EAAE,WAAW,EAAc,MAAM,eAAe,CAAA;AAKvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAC/C,OAAO,KAAK,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAIxD,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,eAAe,CAAA;IAExB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,GAAG,cAAc,EAAE,UAAU,CAAC,KAAK,IAAI,CAAA;IAC5F,gBAAgB,CAAC,EAAE,WAAW,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAA;IAEvD,IAAI,CAAC,EAAE,aAAa,CAAA;CACrB;AAED,MAAM,WAAW,gBAAiB,SAAQ,UAAU,EAAE,eAAe;CAAG;AAExE,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,gBAAgB,CA2C3C,CAAA;AACD,eAAe,UAAU,CAAA;AAEzB,eAAO,MAAM,gBAAgB,WAAY,eAAe,0CAIvD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart-store.d.ts","sourceRoot":"","sources":["../../../src/cart/cart-store.ts"],"names":[],"mappings":";AAAA,OAAO,YAAY,MAAM,QAAQ,CAAA;AAEjC,MAAM,MAAM,SAAS,CAAC,CAAC,GAAG,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAA;AAEpD,KAAK,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAEhC,UAAU,aAAa;IACrB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,CAAC;QAAE,KAAK,EAAE,KAAK,CAAC;QAAC,OAAO,CAAC,EAAE,aAAa,CAAA;KAAE,CAAC,CAAA;IACxD,YAAY,EAAE,CAAC;QAAE,OAAO,CAAC,EAAE,aAAa,CAAA;KAAE,CAAC,CAAA;CAC5C;AAED,qBAAa,cAAe,SAAQ,YAAY,CAAC,iBAAiB,CAAC;;IAIjE;;;;;OAKG;IACH,mBAAmB,0BAA2B,GAAG,EAAE,KAAK,IAAI,kBACtC,GAAG,EAAE,UAO1B;IACD,SAAS,CAAC,CAAC,SAAS,MAAM,iBAAiB,EACzC,SAAS,EAAE,CAAC,EACZ,QAAQ,EAAE,CAAC,SAAS,MAAM,iBAAiB,GAAG,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,OAAO,EAAE,GAAG,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC,CAAC,CAAC,KAAK,IAAI,GAAG,KAAK,CAAC,GAAG,KAAK,EAChJ,KAAK,GAAE,OAAc;CAQxB;AAED,wBAAgB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"cart-store.d.ts","sourceRoot":"","sources":["../../../src/cart/cart-store.ts"],"names":[],"mappings":";A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,GAAG,EAAE,SAAS,GAAE,OAAe;IASzC,OAAO,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE,SAAS,GAAE,OAAe;IAWhD,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,GAAG,CAAC;IAY7C,MAAM,CAAC,EAAE,EAAE,MAAM;IASjB,KAAK;IAKL,QAAQ,IAAI,KAAK;IAIjB,QAAQ,IAAI,GAAG,EAAE;IAMjB,OAAO,CAAC,oBAAoB;IAU5B,OAAO,CAAC,kBAAkB;CAU3B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/cart/styled.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAExD,eAAO,MAAM,UAAU,EAAE,aAAa,CAAC,SAAS,CAyC7C,CAAA;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;CAW9B,CAAA;AAMD,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"styled.d.ts","sourceRoot":"","sources":["../../../src/cart/styled.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAExD,eAAO,MAAM,UAAU,EAAE,aAAa,CAAC,SAAS,CAyC7C,CAAA;AAEH,eAAO,MAAM,kBAAkB;;;;;;;;;;;CAW9B,CAAA;AAMD,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,QAAQ,CAuEnD,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
|
+
import { ButtonProps } from '@mui/material';
|
|
2
3
|
import type { FC } from 'react';
|
|
3
4
|
import { ICartItem } from './types';
|
|
4
5
|
import { IAppSiteBaseUrl } from '../types';
|
|
@@ -6,6 +7,9 @@ interface ICartWidgetProps {
|
|
|
6
7
|
baseUrl: IAppSiteBaseUrl;
|
|
7
8
|
carts?: ICartItem[];
|
|
8
9
|
hrefCart?: string;
|
|
10
|
+
buttonMoveToCartProps?: ButtonProps & {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
9
13
|
storageKey?: string;
|
|
10
14
|
onRemoveCart?: (item: ICartItem) => void;
|
|
11
15
|
onCartClick?: (e: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement, MouseEvent>) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"widget.d.ts","sourceRoot":"","sources":["../../../src/cart/widget.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"widget.d.ts","sourceRoot":"","sources":["../../../src/cart/widget.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAY,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAsB,WAAW,EAAmC,MAAM,eAAe,CAAA;AAChG,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAI/B,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAGnC,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAG1C,UAAU,gBAAgB;IACxB,OAAO,EAAE,eAAe,CAAA;IACxB,KAAK,CAAC,EAAE,SAAS,EAAE,CAAA;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,qBAAqB,CAAC,EAAE,WAAW,GAAG;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAA;IAC5D,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAA;IACxC,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,GAAG,iBAAiB,EAAE,UAAU,CAAC,KAAK,IAAI,CAAA;CAC/F;AAED,UAAU,gBAAgB;IACxB,QAAQ,EAAE,WAAW,GAAG,IAAI,CAAA;IAC5B,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED,qBAAa,UAAW,SAAQ,SAAS,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;gBAC/D,KAAK,EAAE,gBAAgB;IAKnC,IAAI,KAAK,qBAER;IAED,iBAAiB;IAKjB,MAAM,gDAmBL;IAED,aAAa,gDAuCZ;IAED,UAAU,SAAU,SAAS,6CA2B5B;IAED,MAAM,WAAY,WAAW,UAE5B;IAED,OAAO,aAEN;CACF;AAED,eAAO,MAAM,gBAAgB,WAAY,gBAAgB,kCAIxD,CAAA"}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { Component, FC } from 'react';
|
|
2
|
+
import { IAppThemeProviderProps } from './app-theme-provider';
|
|
2
3
|
import type { INavLink, NavItemClickFunction } from './types';
|
|
3
4
|
import type { IAppSiteBaseUrl } from '../types';
|
|
5
|
+
export interface IAppFooterSlots {
|
|
6
|
+
themeProps?: Partial<IAppThemeProviderProps>;
|
|
7
|
+
}
|
|
4
8
|
export interface IAppFooterProps {
|
|
5
9
|
baseUrl: IAppSiteBaseUrl;
|
|
6
10
|
onNavItemClick?: NavItemClickFunction;
|
|
11
|
+
slots?: IAppFooterSlots;
|
|
7
12
|
}
|
|
8
13
|
export declare class AppFooter extends Component<IAppFooterProps> {
|
|
9
14
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-footer.d.ts","sourceRoot":"","sources":["../../../src/layout-global/app-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"app-footer.d.ts","sourceRoot":"","sources":["../../../src/layout-global/app-footer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAKrC,OAAO,EAAoB,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAG/E,OAAO,KAAK,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAC7D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAE/C,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC,sBAAsB,CAAC,CAAA;CAC7C;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,eAAe,CAAA;IACxB,cAAc,CAAC,EAAE,oBAAoB,CAAA;IACrC,KAAK,CAAC,EAAE,eAAe,CAAA;CACxB;AAED,qBAAa,SAAU,SAAQ,SAAS,CAAC,eAAe,CAAC;IACvD,MAAM;IA0EN,kBAAkB,UAAW,gBAAgB,CAAC,iBAAiB,EAAE,UAAU,CAAC,SAAS,QAAQ,UAG5F;CACF;AACD,eAAe,SAAS,CAAA;AAExB,eAAO,MAAM,eAAe,WAAY,eAAe,KAAG,GAAG,QAAQ,eAAe,CAAC,CAIpF,CAAA"}
|
|
@@ -13,6 +13,10 @@ export declare const appFooterClasses: {
|
|
|
13
13
|
navItem: string;
|
|
14
14
|
navItemText: string;
|
|
15
15
|
};
|
|
16
|
+
export declare const getAppFooterClasses: (key: keyof typeof appFooterClasses, options?: {
|
|
17
|
+
prefix?: string;
|
|
18
|
+
suffix?: string;
|
|
19
|
+
}) => string;
|
|
16
20
|
export declare const FooterStyled: ComponentType<BoxProps>;
|
|
17
21
|
export declare const AppFooterNav: ComponentType<BoxProps>;
|
|
18
22
|
//# sourceMappingURL=app-footer.styled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-footer.styled.d.ts","sourceRoot":"","sources":["../../../src/layout-global/app-footer.styled.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAE7C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;CAY5B,CAAA;
|
|
1
|
+
{"version":3,"file":"app-footer.styled.d.ts","sourceRoot":"","sources":["../../../src/layout-global/app-footer.styled.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAA;AAE7C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;CAY5B,CAAA;AAED,eAAO,MAAM,mBAAmB,QAAS,MAAM,uBAAuB,YAAY;IAAE,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,WAErH,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC,QAAQ,CAqF9C,CAAA;AAEH,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC,QAAQ,CAsC9C,CAAA"}
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
2
|
import type { ComponentType, ReactNode } from 'react';
|
|
3
|
-
import
|
|
3
|
+
import { IAppThemeProviderProps } from './app-theme-provider';
|
|
4
4
|
import { NavItemClickFunction } from './types';
|
|
5
|
+
import type { IAppSiteBaseUrl } from '../types';
|
|
6
|
+
import type { IAppHeaderNavSlots } from './app-header.nav';
|
|
7
|
+
export interface IAppHeaderSlots {
|
|
8
|
+
navItem?: IAppHeaderNavSlots;
|
|
9
|
+
themeProps?: Partial<IAppThemeProviderProps>;
|
|
10
|
+
}
|
|
5
11
|
export interface IAppHeaderProps {
|
|
6
12
|
baseUrl: IAppSiteBaseUrl;
|
|
7
13
|
onNavItemClick?: NavItemClickFunction;
|
|
8
14
|
actions?: ReactNode;
|
|
15
|
+
slots?: IAppHeaderSlots;
|
|
9
16
|
}
|
|
10
17
|
export declare class AppHeader extends Component<IAppHeaderProps> {
|
|
11
18
|
private configs;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-header.d.ts","sourceRoot":"","sources":["../../../src/layout-global/app-header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAM,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"app-header.d.ts","sourceRoot":"","sources":["../../../src/layout-global/app-header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,KAAK,EAAE,aAAa,EAAM,SAAS,EAAE,MAAM,OAAO,CAAA;AAEzD,OAAO,EAAoB,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAC/E,OAAO,EAAW,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAGvD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAC/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAI1D,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,kBAAkB,CAAA;IAC5B,UAAU,CAAC,EAAE,OAAO,CAAC,sBAAsB,CAAC,CAAA;CAC7C;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,eAAe,CAAA;IACxB,cAAc,CAAC,EAAE,oBAAoB,CAAA;IACrC,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,KAAK,CAAC,EAAE,eAAe,CAAA;CACxB;AAED,qBAAa,SAAU,SAAQ,SAAS,CAAC,eAAe,CAAC;IACvD,OAAO,CAAC,OAAO,CAAW;gBACd,KAAK,EAAE,eAAe;IAKlC,MAAM;CAiCP;AACD,eAAe,SAAS,CAAA;AAExB,eAAO,MAAM,eAAe,WAAY,eAAe,KAAG,cAAc,QAAQ,eAAe,CAAC,CAM/F,CAAA"}
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
2
|
import type { SxProps, Theme } from '@mui/material';
|
|
3
3
|
import type { MouseEvent as RMouseEvent, ReactNode } from 'react';
|
|
4
|
+
import { IButtonAnimationProps } from './animated-tabs.units';
|
|
4
5
|
import type { IAppNav, NavItemClickFunction } from './types';
|
|
5
|
-
interface
|
|
6
|
+
export interface IAppHeaderNavSlots {
|
|
7
|
+
buttonNavProps?: IButtonAnimationProps;
|
|
8
|
+
buttonNavPropsGetter?: (item: IAppNav) => Partial<IButtonAnimationProps>;
|
|
9
|
+
}
|
|
10
|
+
export interface IHeaderNavProps {
|
|
6
11
|
configs: IAppNav[];
|
|
7
12
|
sx?: SxProps<Theme>;
|
|
8
13
|
onNavItemClick?: NavItemClickFunction;
|
|
14
|
+
slots?: IAppHeaderNavSlots;
|
|
9
15
|
}
|
|
10
16
|
interface IHeaderNavState {
|
|
11
17
|
anchorEl: HTMLElement | null;
|
|
@@ -14,6 +20,7 @@ interface IHeaderNavState {
|
|
|
14
20
|
declare class AppHeaderNav extends Component<IHeaderNavProps, IHeaderNavState> {
|
|
15
21
|
constructor(props: IHeaderNavProps);
|
|
16
22
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
getButtonNavProps: (item: IAppNav) => Partial<IButtonAnimationProps>;
|
|
17
24
|
renderItemIcon: (nav: IAppNav) => ReactNode;
|
|
18
25
|
getItemClasses: (nav: IAppNav) => string;
|
|
19
26
|
onClickNavItemHandler: (e: RMouseEvent<HTMLAnchorElement, MouseEvent>, nav: IAppNav) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-header.nav.d.ts","sourceRoot":"","sources":["../../../src/layout-global/app-header.nav.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACjC,OAAO,KAAK,EAAE,OAAO,EAA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,qBAAqB,MAAO,YAAY,iBAAiB,EAAE,UAAU,CAAC,OAAO,OAAO,UAUnF;IAED,kBAAkB,aAEjB;CACF;AACD,eAAe,YAAY,CAAA"}
|
|
@@ -15,6 +15,10 @@ export declare const appHeaderClasses: {
|
|
|
15
15
|
subNavItemIcon: string;
|
|
16
16
|
subNavItemText: string;
|
|
17
17
|
};
|
|
18
|
+
export declare const getAppHeaderClasses: (key: keyof typeof appHeaderClasses, options?: {
|
|
19
|
+
prefix?: string;
|
|
20
|
+
suffix?: string;
|
|
21
|
+
}) => string;
|
|
18
22
|
export declare const HeaderStyled: ComponentType<BoxProps>;
|
|
19
23
|
export type HeaderStyledType = typeof HeaderStyled;
|
|
20
24
|
export declare const NavStyled: ComponentType<BoxProps>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-header.styled.d.ts","sourceRoot":"","sources":["../../../src/layout-global/app-header.styled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,QAAQ,EAAU,MAAM,eAAe,CAAA;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE1C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;CAc5B,CAAA;
|
|
1
|
+
{"version":3,"file":"app-header.styled.d.ts","sourceRoot":"","sources":["../../../src/layout-global/app-header.styled.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,QAAQ,EAAU,MAAM,eAAe,CAAA;AACrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAE1C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;CAc5B,CAAA;AAED,eAAO,MAAM,mBAAmB,QAAS,MAAM,uBAAuB,YAAY;IAAE,MAAM,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,WAErH,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC,QAAQ,CA6B9C,CAAA;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,YAAY,CAAA;AAGlD,eAAO,MAAM,SAAS,EAAE,aAAa,CAAC,QAAQ,CAqC3C,CAAA"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
export declare const getLightTheme: (
|
|
3
|
-
export
|
|
2
|
+
export declare const getLightTheme: (primary: string, secondary: string, fontScale?: number) => import("@mui/material").Theme;
|
|
3
|
+
export interface IAppThemeProviderProps {
|
|
4
4
|
children: ReactNode;
|
|
5
|
-
primaryVar?: string
|
|
6
|
-
secondaryVar?: string
|
|
7
|
-
|
|
5
|
+
primaryVar?: string;
|
|
6
|
+
secondaryVar?: string;
|
|
7
|
+
fontScale?: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const AppThemeProvider: (props: IAppThemeProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
10
|
//# sourceMappingURL=app-theme-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-theme-provider.d.ts","sourceRoot":"","sources":["../../../src/layout-global/app-theme-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"app-theme-provider.d.ts","sourceRoot":"","sources":["../../../src/layout-global/app-theme-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAQjC,eAAO,MAAM,aAAa,YAAa,MAAM,aAAa,MAAM,cAAa,MAAM,kCA0ClF,CAAA;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,SAAS,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,eAAO,MAAM,gBAAgB,UAAW,sBAAsB,4CAS7D,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configs.d.ts","sourceRoot":"","sources":["../../../src/layout-global/configs.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,
|
|
1
|
+
{"version":3,"file":"configs.d.ts","sourceRoot":"","sources":["../../../src/layout-global/configs.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,QAAQ,EAAmB,MAAM,SAAS,CAAA;AAC3F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAE/C,eAAO,MAAM,UAAU,qBAAqB,CAAA;AAC5C,eAAO,MAAM,aAAa,SAAU,eAAe,WAA6B,CAAA;AAEhF,eAAO,MAAM,WAAW,0BAA0B,CAAA;AAClD,eAAO,MAAM,cAAc,SAAU,eAAe,WAA8B,CAAA;AAElF,eAAO,MAAM,gBAAgB,EAAE,UAAU,EAMxC,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,OAAO,EAAE,MAAM,CAahD,CAAA;AAMD,eAAO,MAAM,WAAW,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,MAAM,CAAC,OAAO,EAAE,QAAQ,CAa9E,CAAA;AAEF,eAAO,MAAM,oBAAoB,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,QAAQ,EA6BxE,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,OAAO,EAWtE,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,OAAO,EAcpE,CAAA;AAED,eAAO,MAAM,iBAAiB,uLAAuL,CAAA;AAErN,eAAO,MAAM,aAAa,QAA+G,CAAA;AAEzI,eAAO,MAAM,sBAAsB,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,OAAO,EAMzE,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,OAAO,EAAE,EAkBxE,CAAA"}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
export * from './app-header';
|
|
2
|
+
export type { IAppHeaderNavSlots } from './app-header.nav';
|
|
3
|
+
export { appHeaderClasses, getAppHeaderClasses } from './app-header.styled';
|
|
2
4
|
export * from './app-footer';
|
|
5
|
+
export { appFooterClasses, getAppFooterClasses } from './app-footer.styled';
|
|
3
6
|
export * from './app-logo';
|
|
7
|
+
export type { IAppNav, INavLink, INavLinkOptions, NavItemClickFunction } from './types';
|
|
8
|
+
export { ButtonAnimation } from './animated-tabs.units';
|
|
9
|
+
export type { IButtonAnimationProps } from './animated-tabs.units';
|
|
4
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout-global/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout-global/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAC1D,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE3E,cAAc,cAAc,CAAA;AAC5B,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE3E,cAAc,YAAY,CAAA;AAE1B,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAEvF,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,YAAY,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mobile-menu.styled.d.ts","sourceRoot":"","sources":["../../../src/layout-global/mobile-menu.styled.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAS,MAAM,eAAe,CAAA;AAIxE,eAAO,MAAM,iBAAiB;;;;;;;;;CAS7B,CAAA;AAMD,eAAO,MAAM,gBAAgB,EAAE,aAAa,CAAC,eAAe,CAWzD,CAAA;AAGH,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"mobile-menu.styled.d.ts","sourceRoot":"","sources":["../../../src/layout-global/mobile-menu.styled.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAS,MAAM,eAAe,CAAA;AAIxE,eAAO,MAAM,iBAAiB;;;;;;;;;CAS7B,CAAA;AAMD,eAAO,MAAM,gBAAgB,EAAE,aAAa,CAAC,eAAe,CAWzD,CAAA;AAGH,eAAO,MAAM,YAAY,EAAE,aAAa,CAAC,WAAW,CAsEjD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sub-menu.styled.d.ts","sourceRoot":"","sources":["../../../src/layout-global/sub-menu.styled.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAS,MAAM,eAAe,CAAA;AAErD,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"sub-menu.styled.d.ts","sourceRoot":"","sources":["../../../src/layout-global/sub-menu.styled.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAA;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAS,MAAM,eAAe,CAAA;AAErD,eAAO,MAAM,cAAc;;;;;;;;;CAS1B,CAAA;AAMD,eAAO,MAAM,UAAU,EAAE,aAAa,CAAC,SAAS,CA2I7C,CAAA"}
|
|
@@ -33,6 +33,10 @@ export interface IAppSocial {
|
|
|
33
33
|
color?: string;
|
|
34
34
|
sx?: SxProps<Theme>;
|
|
35
35
|
}
|
|
36
|
+
export interface INavLinkOptions {
|
|
37
|
+
tabKey?: 'video' | 'audio';
|
|
38
|
+
toLocate?: 'home' | 'faqs' | 'about' | 'contact' | 'pricing';
|
|
39
|
+
}
|
|
36
40
|
export type INavLink = {
|
|
37
41
|
/** App site key */
|
|
38
42
|
site: AppSite;
|
|
@@ -42,6 +46,8 @@ export type INavLink = {
|
|
|
42
46
|
routerPath?: string;
|
|
43
47
|
/** Link target */
|
|
44
48
|
target?: '_blank' | '_self';
|
|
49
|
+
/** This field is used for UI handling and some other non-critical tasks */
|
|
50
|
+
options?: string;
|
|
45
51
|
};
|
|
46
52
|
export type NavItemClickFunction = (event: React.MouseEvent<HTMLAnchorElement | HTMLDivElement, MouseEvent>, item: INavLink) => void;
|
|
47
53
|
export interface IAppNavDef {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/layout-global/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AACtC,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAA;AAElE,oBAAY,OAAO;IACjB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,WAAW,iBAAiB;IAC5B,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,KAAK,UAAU;IACf,aAAa,mBAAmB;IAChC,SAAS,eAAe;IACxB,gBAAgB,sBAAsB;CACvC;AAED,M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AAEpI,MAAM,WAAW,UAAU;IACzB,OAAO,CAAC,EAAE,QAAQ,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,CAAA;CACzC;AAED,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC;IAC/D,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,SAAS,CAAA;CACjB;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,YAAY,EAAE,CAAA;CACvB;AAED,MAAM,WAAW,OAAQ,SAAQ,UAAU;IACzC,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,QAAQ,GAAG,QAAQ,EAAE,CAAA;CAC7B;AAED,MAAM,MAAM,iBAAiB,GAAG,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,MAAM,CAAA"}
|
|
@@ -3,7 +3,13 @@ import { type IconButtonProps, type ButtonProps } from '@mui/material';
|
|
|
3
3
|
export declare const TextLineBreak: FC<{
|
|
4
4
|
children?: string;
|
|
5
5
|
}>;
|
|
6
|
-
export declare const AppButtonOrange: ComponentType<ButtonProps
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
export declare const AppButtonOrange: ComponentType<ButtonProps & {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const AppIconButtonOrange: ComponentType<IconButtonProps & {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}>;
|
|
12
|
+
export declare const AppIconButtonDark: ComponentType<IconButtonProps & {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}>;
|
|
9
15
|
//# sourceMappingURL=ui.units.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ui.units.d.ts","sourceRoot":"","sources":["../../../src/layout-global/ui.units.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,EAAE,EAAY,MAAM,OAAO,CAAA;AAEnD,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAA;AAEtE,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,CAYnD,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,aAAa,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"ui.units.d.ts","sourceRoot":"","sources":["../../../src/layout-global/ui.units.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,EAAE,EAAY,MAAM,OAAO,CAAA;AAEnD,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAA;AAEtE,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,CAYnD,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,aAAa,CAAC,WAAW,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAkC9E,CAAA;AAEF,eAAO,MAAM,mBAAmB,EAAE,aAAa,CAAC,eAAe,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAWtF,CAAA;AAGF,eAAO,MAAM,iBAAiB,EAAE,aAAa,CAAC,eAAe,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAWpF,CAAA"}
|