UNPKG

@zohodesk/dot

Version:

In this Library, we Provide Some Basic Components to Build Your Application

221 lines 10.3 kB
import { LIBRARY_COMPONENT, LIBRARY_DOT, LIBRARY_SVG, THEME_APPEARANCE_DARK, THEME_APPEARANCE_LIGHT, THEME_APPEARANCE_PURE_DARK, THEME_COLOR_BLUE, THEME_COLOR_GREEN, THEME_COLOR_ORANGE, THEME_COLOR_RED, THEME_COLOR_YELLOW } from "./constants"; export const themeColorImports = { Lib_Blue_Light_Component: () => import( /* webpackChunkName: 'Lib_Blue_Light_Component' */ "../libraryChunks/themes/component/blue/Blue_Light_Component"), Lib_Blue_Dark_Component: () => import( /* webpackChunkName: 'Lib_Blue_Dark_Component' */ "../libraryChunks/themes/component/blue/Blue_Dark_Component"), Lib_Blue_PureDark_Component: () => import( /* webpackChunkName: 'Lib_Blue_PureDark_Component' */ "../libraryChunks/themes/component/blue/Blue_PureDark_Component"), Lib_Green_Light_Component: () => import( /* webpackChunkName: 'Lib_Green_Light_Component' */ "../libraryChunks/themes/component/green/Green_Light_Component"), Lib_Green_Dark_Component: () => import( /* webpackChunkName: 'Lib_Green_Dark_Component' */ "../libraryChunks/themes/component/green/Green_Dark_Component"), Lib_Green_PureDark_Component: () => import( /* webpackChunkName: 'Lib_Green_PureDark_Component' */ "../libraryChunks/themes/component/green/Green_PureDark_Component"), Lib_Orange_Light_Component: () => import( /* webpackChunkName: 'Lib_Orange_Light_Component' */ "../libraryChunks/themes/component/orange/Orange_Light_Component"), Lib_Orange_Dark_Component: () => import( /* webpackChunkName: 'Lib_Orange_Dark_Component' */ "../libraryChunks/themes/component/orange/Orange_Dark_Component"), Lib_Orange_PureDark_Component: () => import( /* webpackChunkName: 'Lib_Orange_PureDark_Component' */ "../libraryChunks/themes/component/orange/Orange_PureDark_Component"), Lib_Red_Light_Component: () => import( /* webpackChunkName: 'Lib_Red_Light_Component' */ "../libraryChunks/themes/component/red/Red_Light_Component"), Lib_Red_Dark_Component: () => import( /* webpackChunkName: 'Lib_Red_Dark_Component' */ "../libraryChunks/themes/component/red/Red_Dark_Component"), Lib_Red_PureDark_Component: () => import( /* webpackChunkName: 'Lib_Red_PureDark_Component' */ "../libraryChunks/themes/component/red/Red_PureDark_Component"), Lib_Yellow_Light_Component: () => import( /* webpackChunkName: 'Lib_Yellow_Light_Component' */ "../libraryChunks/themes/component/yellow/Yellow_Light_Component"), Lib_Yellow_Dark_Component: () => import( /* webpackChunkName: 'Lib_Yellow_Dark_Component' */ "../libraryChunks/themes/component/yellow/Yellow_Dark_Component"), Lib_Yellow_PureDark_Component: () => import( /* webpackChunkName: 'Lib_Yellow_PureDark_Component' */ "../libraryChunks/themes/component/yellow/Yellow_PureDark_Component"), Lib_Blue_Light_Dot: () => import( /* webpackChunkName: 'Lib_Blue_Light_Dot' */ "../libraryChunks/themes/dot/blue/Blue_Light_Dot"), Lib_Blue_Dark_Dot: () => import( /* webpackChunkName: 'Lib_Blue_Dark_Dot' */ "../libraryChunks/themes/dot/blue/Blue_Dark_Dot"), Lib_Blue_PureDark_Dot: () => import( /* webpackChunkName: 'Lib_Blue_PureDark_Dot' */ "../libraryChunks/themes/dot/blue/Blue_PureDark_Dot"), Lib_Green_Light_Dot: () => import( /* webpackChunkName: 'Lib_Green_Light_Dot' */ "../libraryChunks/themes/dot/green/Green_Light_Dot"), Lib_Green_Dark_Dot: () => import( /* webpackChunkName: 'Lib_Green_Dark_Dot' */ "../libraryChunks/themes/dot/green/Green_Dark_Dot"), Lib_Green_PureDark_Dot: () => import( /* webpackChunkName: 'Lib_Green_PureDark_Dot' */ "../libraryChunks/themes/dot/green/Green_PureDark_Dot"), Lib_Orange_Light_Dot: () => import( /* webpackChunkName: 'Lib_Orange_Light_Dot' */ "../libraryChunks/themes/dot/orange/Orange_Light_Dot"), Lib_Orange_Dark_Dot: () => import( /* webpackChunkName: 'Lib_Orange_Dark_Dot' */ "../libraryChunks/themes/dot/orange/Orange_Dark_Dot"), Lib_Orange_PureDark_Dot: () => import( /* webpackChunkName: 'Lib_Orange_PureDark_Dot' */ "../libraryChunks/themes/dot/orange/Orange_PureDark_Dot"), Lib_Red_Light_Dot: () => import( /* webpackChunkName: 'Lib_Red_Light_Dot' */ "../libraryChunks/themes/dot/red/Red_Light_Dot"), Lib_Red_Dark_Dot: () => import( /* webpackChunkName: 'Lib_Red_Dark_Dot' */ "../libraryChunks/themes/dot/red/Red_Dark_Dot"), Lib_Red_PureDark_Dot: () => import( /* webpackChunkName: 'Lib_Red_PureDark_Dot' */ "../libraryChunks/themes/dot/red/Red_PureDark_Dot"), Lib_Yellow_Light_Dot: () => import( /* webpackChunkName: 'Lib_Yellow_Light_Dot' */ "../libraryChunks/themes/dot/yellow/Yellow_Light_Dot"), Lib_Yellow_Dark_Dot: () => import( /* webpackChunkName: 'Lib_Yellow_Dark_Dot' */ "../libraryChunks/themes/dot/yellow/Yellow_Dark_Dot"), Lib_Yellow_PureDark_Dot: () => import( /* webpackChunkName: 'Lib_Yellow_PureDark_Dot' */ "../libraryChunks/themes/dot/yellow/Yellow_PureDark_Dot"), Lib_Blue_Light_SVG: () => import( /* webpackChunkName: 'Lib_Blue_Light_SVG' */ "../libraryChunks/themes/svg/blue/Blue_Light_SVG"), Lib_Blue_Dark_SVG: () => import( /* webpackChunkName: 'Lib_Blue_Dark_SVG' */ "../libraryChunks/themes/svg/blue/Blue_Dark_SVG"), Lib_Blue_PureDark_SVG: () => import( /* webpackChunkName: 'Lib_Blue_PureDark_SVG' */ "../libraryChunks/themes/svg/blue/Blue_PureDark_SVG"), Lib_Green_Light_SVG: () => import( /* webpackChunkName: 'Lib_Green_Light_SVG' */ "../libraryChunks/themes/svg/green/Green_Light_SVG"), Lib_Green_Dark_SVG: () => import( /* webpackChunkName: 'Lib_Green_Dark_SVG' */ "../libraryChunks/themes/svg/green/Green_Dark_SVG"), Lib_Green_PureDark_SVG: () => import( /* webpackChunkName: 'Lib_Green_PureDark_SVG' */ "../libraryChunks/themes/svg/green/Green_PureDark_SVG"), Lib_Orange_Light_SVG: () => import( /* webpackChunkName: 'Lib_Orange_Light_SVG' */ "../libraryChunks/themes/svg/orange/Orange_Light_SVG"), Lib_Orange_Dark_SVG: () => import( /* webpackChunkName: 'Lib_Orange_Dark_SVG' */ "../libraryChunks/themes/svg/orange/Orange_Dark_SVG"), Lib_Orange_PureDark_SVG: () => import( /* webpackChunkName: 'Lib_Orange_PureDark_SVG' */ "../libraryChunks/themes/svg/orange/Orange_PureDark_SVG"), Lib_Red_Light_SVG: () => import( /* webpackChunkName: 'Lib_Red_Light_SVG' */ "../libraryChunks/themes/svg/red/Red_Light_SVG"), Lib_Red_Dark_SVG: () => import( /* webpackChunkName: 'Lib_Red_Dark_SVG' */ "../libraryChunks/themes/svg/red/Red_Dark_SVG"), Lib_Red_PureDark_SVG: () => import( /* webpackChunkName: 'Lib_Red_PureDark_SVG' */ "../libraryChunks/themes/svg/red/Red_PureDark_SVG"), Lib_Yellow_Light_SVG: () => import( /* webpackChunkName: 'Lib_Yellow_Light_SVG' */ "../libraryChunks/themes/svg/yellow/Yellow_Light_SVG"), Lib_Yellow_Dark_SVG: () => import( /* webpackChunkName: 'Lib_Yellow_Dark_SVG' */ "../libraryChunks/themes/svg/yellow/Yellow_Dark_SVG"), Lib_Yellow_PureDark_SVG: () => import( /* webpackChunkName: 'Lib_Yellow_PureDark_SVG' */ "../libraryChunks/themes/svg/yellow/Yellow_PureDark_SVG") }; export const themeColorMapping = { [LIBRARY_COMPONENT]: { [THEME_COLOR_BLUE]: { [THEME_APPEARANCE_LIGHT]: 'Lib_Blue_Light_Component', [THEME_APPEARANCE_DARK]: 'Lib_Blue_Dark_Component', [THEME_APPEARANCE_PURE_DARK]: 'Lib_Blue_PureDark_Component' }, [THEME_COLOR_GREEN]: { [THEME_APPEARANCE_LIGHT]: 'Lib_Green_Light_Component', [THEME_APPEARANCE_DARK]: 'Lib_Green_Dark_Component', [THEME_APPEARANCE_PURE_DARK]: 'Lib_Green_PureDark_Component' }, [THEME_COLOR_ORANGE]: { [THEME_APPEARANCE_LIGHT]: 'Lib_Orange_Light_Component', [THEME_APPEARANCE_DARK]: 'Lib_Orange_Dark_Component', [THEME_APPEARANCE_PURE_DARK]: 'Lib_Orange_PureDark_Component' }, [THEME_COLOR_RED]: { [THEME_APPEARANCE_LIGHT]: 'Lib_Red_Light_Component', [THEME_APPEARANCE_DARK]: 'Lib_Red_Dark_Component', [THEME_APPEARANCE_PURE_DARK]: 'Lib_Red_PureDark_Component' }, [THEME_COLOR_YELLOW]: { [THEME_APPEARANCE_LIGHT]: 'Lib_Yellow_Light_Component', [THEME_APPEARANCE_DARK]: 'Lib_Yellow_Dark_Component', [THEME_APPEARANCE_PURE_DARK]: 'Lib_Yellow_PureDark_Component' } }, [LIBRARY_DOT]: { [THEME_COLOR_BLUE]: { [THEME_APPEARANCE_LIGHT]: 'Lib_Blue_Light_Dot', [THEME_APPEARANCE_DARK]: 'Lib_Blue_Dark_Dot', [THEME_APPEARANCE_PURE_DARK]: 'Lib_Blue_PureDark_Dot' }, [THEME_COLOR_GREEN]: { [THEME_APPEARANCE_LIGHT]: 'Lib_Green_Light_Dot', [THEME_APPEARANCE_DARK]: 'Lib_Green_Dark_Dot', [THEME_APPEARANCE_PURE_DARK]: 'Lib_Green_PureDark_Dot' }, [THEME_COLOR_ORANGE]: { [THEME_APPEARANCE_LIGHT]: 'Lib_Orange_Light_Dot', [THEME_APPEARANCE_DARK]: 'Lib_Orange_Dark_Dot', [THEME_APPEARANCE_PURE_DARK]: 'Lib_Orange_PureDark_Dot' }, [THEME_COLOR_RED]: { [THEME_APPEARANCE_LIGHT]: 'Lib_Red_Light_Dot', [THEME_APPEARANCE_DARK]: 'Lib_Red_Dark_Dot', [THEME_APPEARANCE_PURE_DARK]: 'Lib_Red_PureDark_Dot' }, [THEME_COLOR_YELLOW]: { [THEME_APPEARANCE_LIGHT]: 'Lib_Yellow_Light_Dot', [THEME_APPEARANCE_DARK]: 'Lib_Yellow_Dark_Dot', [THEME_APPEARANCE_PURE_DARK]: 'Lib_Yellow_PureDark_Dot' } }, [LIBRARY_SVG]: { [THEME_COLOR_BLUE]: { [THEME_APPEARANCE_LIGHT]: 'Lib_Blue_Light_SVG', [THEME_APPEARANCE_DARK]: 'Lib_Blue_Dark_SVG', [THEME_APPEARANCE_PURE_DARK]: 'Lib_Blue_PureDark_SVG' }, [THEME_COLOR_GREEN]: { [THEME_APPEARANCE_LIGHT]: 'Lib_Green_Light_SVG', [THEME_APPEARANCE_DARK]: 'Lib_Green_Dark_SVG', [THEME_APPEARANCE_PURE_DARK]: 'Lib_Green_PureDark_SVG' }, [THEME_COLOR_ORANGE]: { [THEME_APPEARANCE_LIGHT]: 'Lib_Orange_Light_SVG', [THEME_APPEARANCE_DARK]: 'Lib_Orange_Dark_SVG', [THEME_APPEARANCE_PURE_DARK]: 'Lib_Orange_PureDark_SVG' }, [THEME_COLOR_RED]: { [THEME_APPEARANCE_LIGHT]: 'Lib_Red_Light_SVG', [THEME_APPEARANCE_DARK]: 'Lib_Red_Dark_SVG', [THEME_APPEARANCE_PURE_DARK]: 'Lib_Red_PureDark_SVG' }, [THEME_COLOR_YELLOW]: { [THEME_APPEARANCE_LIGHT]: 'Lib_Yellow_Light_SVG', [THEME_APPEARANCE_DARK]: 'Lib_Yellow_Dark_SVG', [THEME_APPEARANCE_PURE_DARK]: 'Lib_Yellow_PureDark_SVG' } } };