UNPKG

@mikezimm/fps-core-v7

Version:

Library of reusable core interfaces, types and constants migrated from fps-library-v2

73 lines 7.24 kB
/** * 2024-09-06: Migrated to fps-core-v7\src\components\atoms\easy-pages\functions\ */ // import { IRepoLinks } from "../../../../components/atoms/Links/CreateLinks"; // import { IEasyLink } from "../components/componentPage"; import { EasyPagesDevTab, EasyPagesRepoTab } from "../interfaces/epTypes"; import { baseDevDocsEnUs, baseFPSCoreV7, baseFPSLibraryV2, baseFPSStyles, baseGitContReact, CSSGridDocsUrl, CSSGridGenUrl, FliconIOUrl, JSONViewerUrl, Regex101ComUrl, TypeScriptPlayGroundUrl, WikimediaCommonThumb } from "../../Links/CommonDevUrls"; const SPFXParkLogo = `https://ih0.redbubble.net/image.815755990.6275/bg,f8f8f8-flat,750x,075,f-pad,750x1000,f8f8f8.jpg`; const MSFTLogo = `https://img-prod-cms-rt-microsoft-com.akamaized.net/cms/api/am/imageFileData/RE1Mu3b?ver=5c31`; const TheCKLogo = `https://0.gravatar.com/avatar/942805b409854696f15a519a39a2cedb?s=256&d=retro&r=PG`; export const EasyDevTypescript = { title: 'Typescript Playground', description: `Experiment with interfaces here - ${EasyPagesDevTab}`, url: TypeScriptPlayGroundUrl, imageUrl: 'https://cdn.jsdelivr.net/gh/gilbarbara/logos@02e637e09b55966e802dfe0bc93595594e0214bb/logos/typescript-icon.svg', type: 'current', tabs: [EasyPagesDevTab] }; export const EasyDevGridDocs = { title: 'CSS Grid Docs', description: `Official Docs - ${EasyPagesDevTab}`, url: CSSGridDocsUrl, imageUrl: 'https://miro.medium.com/max/770/1*RtAMWbxdwW2ujyrurU9plw.png', type: 'current', tabs: [EasyPagesDevTab] }; export const EasyDevGridGen = { title: 'CSS Grid Sandbox', description: `grid.layoutit.com - ${EasyPagesDevTab}`, url: CSSGridGenUrl, imageUrl: 'https://miro.medium.com/max/770/1*RtAMWbxdwW2ujyrurU9plw.png', type: 'current', tabs: [EasyPagesDevTab] }; export const EasyDevJSON = { title: 'JSON Editor', description: ` - ${EasyPagesDevTab}`, url: JSONViewerUrl, imageUrl: 'https://codebeautify.org/img/slogo.webp', type: 'current', tabs: [EasyPagesDevTab] }; export const EasyDevPnpJS = { title: 'Pnpjs.io', description: ` - ${EasyPagesDevTab}`, url: 'https://pnp.github.io/pnpjs/packages/#sp', imageUrl: 'https://pbs.twimg.com/profile_images/1260661706231087112/CvjfDhAm_400x400.jpg', type: 'current', tabs: [EasyPagesDevTab] }; export const EasyDevRegex = { title: 'Regex 101', description: `Test regex - ${EasyPagesDevTab}`, url: Regex101ComUrl, imageUrl: `${WikimediaCommonThumb}/d/d3/Toolbaricon_RegEx.svg/240px-Toolbaricon_RegEx.svg.png`, type: 'current', tabs: [EasyPagesDevTab] }; export const EasyDevSPFxReact = { title: `SPFx React Controls - Github - ${EasyPagesDevTab}`, description: '', url: `${baseGitContReact}/tree/master/src/controls/`, imageUrl: SPFXParkLogo, type: 'current', tabs: [EasyPagesDevTab] }; export const EasyDevSPFxReactIO = { title: `SPFx React Controls - IO - ${EasyPagesDevTab}`, description: '', url: baseGitContReact, imageUrl: SPFXParkLogo, type: 'current', tabs: [EasyPagesDevTab] }; export const EasyDevFluent = { title: `Fluent UI`, description: `${EasyPagesDevTab}`, url: `${baseDevDocsEnUs}fluentui#/controls/web`, imageUrl: MSFTLogo, type: 'current', tabs: [EasyPagesDevTab] }; export const EasyDevFliconIO = { title: `Flicon.io`, description: `Fluent Icons - ${EasyPagesDevTab}`, url: FliconIOUrl, imageUrl: TheCKLogo, type: 'current', tabs: [EasyPagesDevTab] }; export const EasyDevPages = [EasyDevTypescript, EasyDevJSON, EasyDevGridDocs, EasyDevGridGen, EasyDevPnpJS, EasyDevRegex, EasyDevSPFxReact, EasyDevSPFxReactIO, EasyDevFluent, EasyDevFliconIO ]; // export const EasyDevFPSReact: IEasyLink = { title: 'FPS-React', description: `fps-react contains react based components for reuse - ${EasyPagesDevTab}`, // url: 'https://github.com/mikezimm/fps-React/issues' , imageUrl: 'https://www.pinpng.com/pngs/m/675-6758716_react-native-logo-svg-hd-png-download.png' , type: 'current', tabs: [ EasyPagesDevTab ] } as any; export const EasyDevFPSStyles = { title: 'FPS-Styles', description: `fps-styles contains JS based functions, interfaces and constants for reuse - ${EasyPagesDevTab}`, url: `${baseFPSStyles}/issues`, imageUrl: `${WikimediaCommonThumb}/a/ab/Official_CSS_Logo.svg/240px-Official_CSS_Logo.svg.png`, type: 'current', tabs: [EasyPagesDevTab] }; export const EasyDevFPSLibraryV2 = { title: 'FPS-Library-v2', description: `fps-library-v2 contains react based banner for reuse - ${EasyPagesDevTab}`, url: `${baseFPSLibraryV2}/issues`, imageUrl: `${WikimediaCommonThumb}/a/a7/React-icon.svg/270px-React-icon.svg.png`, type: 'current', tabs: [EasyPagesDevTab] }; export const EasyDevFPSCoreV7 = { title: 'FPS-Core-v7', description: `fps-lcore-v7 contains core functions and interfaces with no dependencies - ${EasyPagesDevTab}`, url: `${baseFPSCoreV7}/issues`, imageUrl: 'https://logospng.org/download/typescript/typescript-4096.png', type: 'current', tabs: [EasyPagesDevTab] }; // export const EasyDevFPSPnp2: IEasyLink = { title: 'FPS-Pnp2', description: `fps-pnp2 contains services and functions related to pnpv2 library - ${EasyPagesDevTab}`, // url: 'https://github.com/mikezimm/fps-Pnp2/issues' , imageUrl: 'https://th.bing.com/th/id/OIP.cVFWUghT4GBYXb6XogqVegAAAA?pid=ImgDet&rs=1' , type: 'current', tabs: [ EasyPagesDevTab ] } as any; export function getZGitLinks(repo) { const links = []; /** * 2022-11-14 * Comment on github filtering, if more than one filter, need to always add + label filter * If the filter is to NOT include a label, then you must use +-label:labelName * +- is required in that case. */ const openIssuePriority = `/issues?q=is:issue++is:open++label:priority`; const openIssueComplete = `/issues?q=is:issue+is:open++label:complete`; links.push({ title: `Issues`, description: `${repo.desc}/issues`, url: `${repo.href}/issues`, imageUrl: TheCKLogo, type: 'current', tabs: [EasyPagesRepoTab] }); links.push({ title: `Open Priority Issues`, description: `${repo.desc}/issues`, url: `${repo.href}${openIssuePriority}`, imageUrl: TheCKLogo, type: 'current', tabs: [EasyPagesRepoTab] }); links.push({ title: `Open Priority Issues - NOT Complete`, description: `${repo.desc}/issues`, url: `${repo.href}${openIssuePriority}+-label:complete`, imageUrl: TheCKLogo, type: 'current', tabs: [EasyPagesRepoTab] }); links.push({ title: `Open Priority Issues - Completed`, description: `${repo.desc}/issues`, url: `${repo.href}${openIssueComplete}++label:priority`, imageUrl: TheCKLogo, type: 'current', tabs: [EasyPagesRepoTab] }); links.push({ title: `Closed Issues`, description: `${repo.desc}/issues`, url: `${repo.href}/issues?q=is:issue++is:closed`, imageUrl: TheCKLogo, type: 'current', tabs: [EasyPagesRepoTab] }); links.push({ title: `Open Issues - Completed`, description: `${repo.desc}/issues`, url: `${repo.href}${openIssueComplete}`, imageUrl: TheCKLogo, type: 'current', tabs: [EasyPagesRepoTab] }); // links.push( EasyDevFPSReact ); links.push(EasyDevFPSCoreV7); links.push(EasyDevFPSLibraryV2); links.push(EasyDevFPSStyles); // links.push( EasyDevFPSPnp2 ); return links; } //# sourceMappingURL=devLinks.js.map