ade38247d8
A few things happening here - Delete our service worker. Turns out that a couple of years back browsers decided that a service worker is no longer required for a PWA so you can just have the manifest and still install on the user's device. - Cache tldraw's assets as part of the dotcom vite asset pipeline. This allows them to participate in the asset coalescing (preserving old versions of asset files so old clients don't stop working when you deploy new versions of things, see https://github.com/tldraw/brivate/pull/3132 for more context). - Add a new 'imports.vite.js' file to the assets package, because we import a bunch of json translation files, and vite imports .json files as parsed json objects instead of string urls, and there's no good way to tell it not to. Even if there was we wouldn't want to impose that config on our users. So another way to tell vite to load any asset as a url string is to append `?url` to the end of the import path. That's what this file does. closes [#2486](https://github.com/tldraw/tldraw/issues/2486) ### Change Type - [x] `minor` — New feature [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version ### Release Notes - Fix 'could not load assets' error that we often see on tldraw.com after a deploy
466 lines
26 KiB
JavaScript
466 lines
26 KiB
JavaScript
// This file is automatically generated by scripts/refresh-assets.ts.
|
|
// Do not edit manually.
|
|
|
|
// eslint-disable-next-line @typescript-eslint/triple-slash-reference
|
|
/// <reference path="./modules.d.ts" />
|
|
import { formatAssetUrl } from './utils.js'
|
|
|
|
import embedIconsCodepen from './embed-icons/codepen.png?url'
|
|
import embedIconsCodesandbox from './embed-icons/codesandbox.png?url'
|
|
import embedIconsExcalidraw from './embed-icons/excalidraw.png?url'
|
|
import embedIconsFelt from './embed-icons/felt.png?url'
|
|
import embedIconsFigma from './embed-icons/figma.png?url'
|
|
import embedIconsGithubGist from './embed-icons/github_gist.png?url'
|
|
import embedIconsGoogleCalendar from './embed-icons/google_calendar.png?url'
|
|
import embedIconsGoogleMaps from './embed-icons/google_maps.png?url'
|
|
import embedIconsGoogleSlides from './embed-icons/google_slides.png?url'
|
|
import embedIconsObservable from './embed-icons/observable.png?url'
|
|
import embedIconsReplit from './embed-icons/replit.png?url'
|
|
import embedIconsScratch from './embed-icons/scratch.png?url'
|
|
import embedIconsSpotify from './embed-icons/spotify.png?url'
|
|
import embedIconsTldraw from './embed-icons/tldraw.png?url'
|
|
import embedIconsValTown from './embed-icons/val_town.png?url'
|
|
import embedIconsVimeo from './embed-icons/vimeo.png?url'
|
|
import embedIconsYoutube from './embed-icons/youtube.png?url'
|
|
import fontsMonospace from './fonts/IBMPlexMono-Medium.woff2?url'
|
|
import fontsSansSerif from './fonts/IBMPlexSans-Medium.woff2?url'
|
|
import fontsSerif from './fonts/IBMPlexSerif-Medium.woff2?url'
|
|
import fontsDraw from './fonts/Shantell_Sans-Tldrawish.woff2?url'
|
|
import iconsAlignBottomCenter from './icons/icon/align-bottom-center.svg?url'
|
|
import iconsAlignBottomLeft from './icons/icon/align-bottom-left.svg?url'
|
|
import iconsAlignBottomRight from './icons/icon/align-bottom-right.svg?url'
|
|
import iconsAlignBottom from './icons/icon/align-bottom.svg?url'
|
|
import iconsAlignCenterCenter from './icons/icon/align-center-center.svg?url'
|
|
import iconsAlignCenterHorizontal from './icons/icon/align-center-horizontal.svg?url'
|
|
import iconsAlignCenterLeft from './icons/icon/align-center-left.svg?url'
|
|
import iconsAlignCenterRight from './icons/icon/align-center-right.svg?url'
|
|
import iconsAlignCenterVertical from './icons/icon/align-center-vertical.svg?url'
|
|
import iconsAlignLeft from './icons/icon/align-left.svg?url'
|
|
import iconsAlignRight from './icons/icon/align-right.svg?url'
|
|
import iconsAlignTopCenter from './icons/icon/align-top-center.svg?url'
|
|
import iconsAlignTopLeft from './icons/icon/align-top-left.svg?url'
|
|
import iconsAlignTopRight from './icons/icon/align-top-right.svg?url'
|
|
import iconsAlignTop from './icons/icon/align-top.svg?url'
|
|
import iconsArrowLeft from './icons/icon/arrow-left.svg?url'
|
|
import iconsArrowheadArrow from './icons/icon/arrowhead-arrow.svg?url'
|
|
import iconsArrowheadBar from './icons/icon/arrowhead-bar.svg?url'
|
|
import iconsArrowheadDiamond from './icons/icon/arrowhead-diamond.svg?url'
|
|
import iconsArrowheadDot from './icons/icon/arrowhead-dot.svg?url'
|
|
import iconsArrowheadNone from './icons/icon/arrowhead-none.svg?url'
|
|
import iconsArrowheadSquare from './icons/icon/arrowhead-square.svg?url'
|
|
import iconsArrowheadTriangleInverted from './icons/icon/arrowhead-triangle-inverted.svg?url'
|
|
import iconsArrowheadTriangle from './icons/icon/arrowhead-triangle.svg?url'
|
|
import iconsAspectRatio from './icons/icon/aspect-ratio.svg?url'
|
|
import iconsAvatar from './icons/icon/avatar.svg?url'
|
|
import iconsBlob from './icons/icon/blob.svg?url'
|
|
import iconsBringForward from './icons/icon/bring-forward.svg?url'
|
|
import iconsBringToFront from './icons/icon/bring-to-front.svg?url'
|
|
import iconsCheck from './icons/icon/check.svg?url'
|
|
import iconsCheckboxChecked from './icons/icon/checkbox-checked.svg?url'
|
|
import iconsCheckboxEmpty from './icons/icon/checkbox-empty.svg?url'
|
|
import iconsChevronDown from './icons/icon/chevron-down.svg?url'
|
|
import iconsChevronLeft from './icons/icon/chevron-left.svg?url'
|
|
import iconsChevronRight from './icons/icon/chevron-right.svg?url'
|
|
import iconsChevronUp from './icons/icon/chevron-up.svg?url'
|
|
import iconsChevronsNe from './icons/icon/chevrons-ne.svg?url'
|
|
import iconsChevronsSw from './icons/icon/chevrons-sw.svg?url'
|
|
import iconsClipboardCopied from './icons/icon/clipboard-copied.svg?url'
|
|
import iconsClipboardCopy from './icons/icon/clipboard-copy.svg?url'
|
|
import iconsCode from './icons/icon/code.svg?url'
|
|
import iconsCollab from './icons/icon/collab.svg?url'
|
|
import iconsColor from './icons/icon/color.svg?url'
|
|
import iconsComment from './icons/icon/comment.svg?url'
|
|
import iconsCross2 from './icons/icon/cross-2.svg?url'
|
|
import iconsCross from './icons/icon/cross.svg?url'
|
|
import iconsDashDashed from './icons/icon/dash-dashed.svg?url'
|
|
import iconsDashDotted from './icons/icon/dash-dotted.svg?url'
|
|
import iconsDashDraw from './icons/icon/dash-draw.svg?url'
|
|
import iconsDashSolid from './icons/icon/dash-solid.svg?url'
|
|
import iconsDiscord from './icons/icon/discord.svg?url'
|
|
import iconsDistributeHorizontal from './icons/icon/distribute-horizontal.svg?url'
|
|
import iconsDistributeVertical from './icons/icon/distribute-vertical.svg?url'
|
|
import iconsDot from './icons/icon/dot.svg?url'
|
|
import iconsDotsHorizontal from './icons/icon/dots-horizontal.svg?url'
|
|
import iconsDotsVertical from './icons/icon/dots-vertical.svg?url'
|
|
import iconsDragHandleDots from './icons/icon/drag-handle-dots.svg?url'
|
|
import iconsDuplicate from './icons/icon/duplicate.svg?url'
|
|
import iconsEdit from './icons/icon/edit.svg?url'
|
|
import iconsExternalLink from './icons/icon/external-link.svg?url'
|
|
import iconsFile from './icons/icon/file.svg?url'
|
|
import iconsFillNone from './icons/icon/fill-none.svg?url'
|
|
import iconsFillPattern from './icons/icon/fill-pattern.svg?url'
|
|
import iconsFillSemi from './icons/icon/fill-semi.svg?url'
|
|
import iconsFillSolid from './icons/icon/fill-solid.svg?url'
|
|
import iconsFollow from './icons/icon/follow.svg?url'
|
|
import iconsFollowing from './icons/icon/following.svg?url'
|
|
import iconsFontDraw from './icons/icon/font-draw.svg?url'
|
|
import iconsFontMono from './icons/icon/font-mono.svg?url'
|
|
import iconsFontSans from './icons/icon/font-sans.svg?url'
|
|
import iconsFontSerif from './icons/icon/font-serif.svg?url'
|
|
import iconsGeoArrowDown from './icons/icon/geo-arrow-down.svg?url'
|
|
import iconsGeoArrowLeft from './icons/icon/geo-arrow-left.svg?url'
|
|
import iconsGeoArrowRight from './icons/icon/geo-arrow-right.svg?url'
|
|
import iconsGeoArrowUp from './icons/icon/geo-arrow-up.svg?url'
|
|
import iconsGeoCheckBox from './icons/icon/geo-check-box.svg?url'
|
|
import iconsGeoCloud from './icons/icon/geo-cloud.svg?url'
|
|
import iconsGeoDiamond from './icons/icon/geo-diamond.svg?url'
|
|
import iconsGeoEllipse from './icons/icon/geo-ellipse.svg?url'
|
|
import iconsGeoHexagon from './icons/icon/geo-hexagon.svg?url'
|
|
import iconsGeoOctagon from './icons/icon/geo-octagon.svg?url'
|
|
import iconsGeoOval from './icons/icon/geo-oval.svg?url'
|
|
import iconsGeoPentagon from './icons/icon/geo-pentagon.svg?url'
|
|
import iconsGeoRectangle from './icons/icon/geo-rectangle.svg?url'
|
|
import iconsGeoRhombus2 from './icons/icon/geo-rhombus-2.svg?url'
|
|
import iconsGeoRhombus from './icons/icon/geo-rhombus.svg?url'
|
|
import iconsGeoStar from './icons/icon/geo-star.svg?url'
|
|
import iconsGeoTrapezoid from './icons/icon/geo-trapezoid.svg?url'
|
|
import iconsGeoTriangle from './icons/icon/geo-triangle.svg?url'
|
|
import iconsGeoXBox from './icons/icon/geo-x-box.svg?url'
|
|
import iconsGithub from './icons/icon/github.svg?url'
|
|
import iconsGroup from './icons/icon/group.svg?url'
|
|
import iconsHidden from './icons/icon/hidden.svg?url'
|
|
import iconsImage from './icons/icon/image.svg?url'
|
|
import iconsInfoCircle from './icons/icon/info-circle.svg?url'
|
|
import iconsLeading from './icons/icon/leading.svg?url'
|
|
import iconsLink from './icons/icon/link.svg?url'
|
|
import iconsLockSmall from './icons/icon/lock-small.svg?url'
|
|
import iconsLock from './icons/icon/lock.svg?url'
|
|
import iconsMenu from './icons/icon/menu.svg?url'
|
|
import iconsMinus from './icons/icon/minus.svg?url'
|
|
import iconsMixed from './icons/icon/mixed.svg?url'
|
|
import iconsPack from './icons/icon/pack.svg?url'
|
|
import iconsPage from './icons/icon/page.svg?url'
|
|
import iconsPlus from './icons/icon/plus.svg?url'
|
|
import iconsQuestionMarkCircle from './icons/icon/question-mark-circle.svg?url'
|
|
import iconsQuestionMark from './icons/icon/question-mark.svg?url'
|
|
import iconsRedo from './icons/icon/redo.svg?url'
|
|
import iconsResetZoom from './icons/icon/reset-zoom.svg?url'
|
|
import iconsRotateCcw from './icons/icon/rotate-ccw.svg?url'
|
|
import iconsRotateCw from './icons/icon/rotate-cw.svg?url'
|
|
import iconsRuler from './icons/icon/ruler.svg?url'
|
|
import iconsSearch from './icons/icon/search.svg?url'
|
|
import iconsSendBackward from './icons/icon/send-backward.svg?url'
|
|
import iconsSendToBack from './icons/icon/send-to-back.svg?url'
|
|
import iconsSettingsHorizontal from './icons/icon/settings-horizontal.svg?url'
|
|
import iconsSettingsVertical1 from './icons/icon/settings-vertical-1.svg?url'
|
|
import iconsSettingsVertical from './icons/icon/settings-vertical.svg?url'
|
|
import iconsShare1 from './icons/icon/share-1.svg?url'
|
|
import iconsShare2 from './icons/icon/share-2.svg?url'
|
|
import iconsSizeExtraLarge from './icons/icon/size-extra-large.svg?url'
|
|
import iconsSizeLarge from './icons/icon/size-large.svg?url'
|
|
import iconsSizeMedium from './icons/icon/size-medium.svg?url'
|
|
import iconsSizeSmall from './icons/icon/size-small.svg?url'
|
|
import iconsSplineCubic from './icons/icon/spline-cubic.svg?url'
|
|
import iconsSplineLine from './icons/icon/spline-line.svg?url'
|
|
import iconsStackHorizontal from './icons/icon/stack-horizontal.svg?url'
|
|
import iconsStackVertical from './icons/icon/stack-vertical.svg?url'
|
|
import iconsStatusOffline from './icons/icon/status-offline.svg?url'
|
|
import iconsStatusOnline from './icons/icon/status-online.svg?url'
|
|
import iconsStretchHorizontal from './icons/icon/stretch-horizontal.svg?url'
|
|
import iconsStretchVertical from './icons/icon/stretch-vertical.svg?url'
|
|
import iconsTextAlignCenter from './icons/icon/text-align-center.svg?url'
|
|
import iconsTextAlignJustify from './icons/icon/text-align-justify.svg?url'
|
|
import iconsTextAlignLeft from './icons/icon/text-align-left.svg?url'
|
|
import iconsTextAlignRight from './icons/icon/text-align-right.svg?url'
|
|
import iconsToolArrow from './icons/icon/tool-arrow.svg?url'
|
|
import iconsToolEmbed from './icons/icon/tool-embed.svg?url'
|
|
import iconsToolEraser from './icons/icon/tool-eraser.svg?url'
|
|
import iconsToolFrame from './icons/icon/tool-frame.svg?url'
|
|
import iconsToolHand from './icons/icon/tool-hand.svg?url'
|
|
import iconsToolHighlight from './icons/icon/tool-highlight.svg?url'
|
|
import iconsToolLaser from './icons/icon/tool-laser.svg?url'
|
|
import iconsToolLine from './icons/icon/tool-line.svg?url'
|
|
import iconsToolMedia from './icons/icon/tool-media.svg?url'
|
|
import iconsToolNote from './icons/icon/tool-note.svg?url'
|
|
import iconsToolPencil from './icons/icon/tool-pencil.svg?url'
|
|
import iconsToolPointer from './icons/icon/tool-pointer.svg?url'
|
|
import iconsToolText from './icons/icon/tool-text.svg?url'
|
|
import iconsTrash from './icons/icon/trash.svg?url'
|
|
import iconsTriangleDown from './icons/icon/triangle-down.svg?url'
|
|
import iconsTriangleUp from './icons/icon/triangle-up.svg?url'
|
|
import iconsTwitter from './icons/icon/twitter.svg?url'
|
|
import iconsUndo from './icons/icon/undo.svg?url'
|
|
import iconsUngroup from './icons/icon/ungroup.svg?url'
|
|
import iconsUnlockSmall from './icons/icon/unlock-small.svg?url'
|
|
import iconsUnlock from './icons/icon/unlock.svg?url'
|
|
import iconsVerticalAlignCenter from './icons/icon/vertical-align-center.svg?url'
|
|
import iconsVerticalAlignEnd from './icons/icon/vertical-align-end.svg?url'
|
|
import iconsVerticalAlignStart from './icons/icon/vertical-align-start.svg?url'
|
|
import iconsVisible from './icons/icon/visible.svg?url'
|
|
import iconsWarningTriangle from './icons/icon/warning-triangle.svg?url'
|
|
import iconsZoomIn from './icons/icon/zoom-in.svg?url'
|
|
import iconsZoomOut from './icons/icon/zoom-out.svg?url'
|
|
import translationsAr from './translations/ar.json?url'
|
|
import translationsCa from './translations/ca.json?url'
|
|
import translationsCs from './translations/cs.json?url'
|
|
import translationsDa from './translations/da.json?url'
|
|
import translationsDe from './translations/de.json?url'
|
|
import translationsEn from './translations/en.json?url'
|
|
import translationsEs from './translations/es.json?url'
|
|
import translationsFa from './translations/fa.json?url'
|
|
import translationsFi from './translations/fi.json?url'
|
|
import translationsFr from './translations/fr.json?url'
|
|
import translationsGl from './translations/gl.json?url'
|
|
import translationsHe from './translations/he.json?url'
|
|
import translationsHiIn from './translations/hi-in.json?url'
|
|
import translationsHu from './translations/hu.json?url'
|
|
import translationsIt from './translations/it.json?url'
|
|
import translationsJa from './translations/ja.json?url'
|
|
import translationsKoKr from './translations/ko-kr.json?url'
|
|
import translationsKu from './translations/ku.json?url'
|
|
import translationsLanguages from './translations/languages.json?url'
|
|
import translationsMain from './translations/main.json?url'
|
|
import translationsMy from './translations/my.json?url'
|
|
import translationsNe from './translations/ne.json?url'
|
|
import translationsNo from './translations/no.json?url'
|
|
import translationsPl from './translations/pl.json?url'
|
|
import translationsPtBr from './translations/pt-br.json?url'
|
|
import translationsPtPt from './translations/pt-pt.json?url'
|
|
import translationsRo from './translations/ro.json?url'
|
|
import translationsRu from './translations/ru.json?url'
|
|
import translationsSv from './translations/sv.json?url'
|
|
import translationsTe from './translations/te.json?url'
|
|
import translationsTh from './translations/th.json?url'
|
|
import translationsTr from './translations/tr.json?url'
|
|
import translationsUk from './translations/uk.json?url'
|
|
import translationsVi from './translations/vi.json?url'
|
|
import translationsZhCn from './translations/zh-cn.json?url'
|
|
import translationsZhTw from './translations/zh-tw.json?url'
|
|
|
|
/**
|
|
* @param {AssetUrlOptions} [opts]
|
|
* @public
|
|
*/
|
|
export function getAssetUrlsByImport(opts) {
|
|
return {
|
|
fonts: {
|
|
monospace: formatAssetUrl(fontsMonospace, opts),
|
|
sansSerif: formatAssetUrl(fontsSansSerif, opts),
|
|
serif: formatAssetUrl(fontsSerif, opts),
|
|
draw: formatAssetUrl(fontsDraw, opts),
|
|
},
|
|
icons: {
|
|
'align-bottom-center': formatAssetUrl(iconsAlignBottomCenter, opts),
|
|
'align-bottom-left': formatAssetUrl(iconsAlignBottomLeft, opts),
|
|
'align-bottom-right': formatAssetUrl(iconsAlignBottomRight, opts),
|
|
'align-bottom': formatAssetUrl(iconsAlignBottom, opts),
|
|
'align-center-center': formatAssetUrl(iconsAlignCenterCenter, opts),
|
|
'align-center-horizontal': formatAssetUrl(iconsAlignCenterHorizontal, opts),
|
|
'align-center-left': formatAssetUrl(iconsAlignCenterLeft, opts),
|
|
'align-center-right': formatAssetUrl(iconsAlignCenterRight, opts),
|
|
'align-center-vertical': formatAssetUrl(iconsAlignCenterVertical, opts),
|
|
'align-left': formatAssetUrl(iconsAlignLeft, opts),
|
|
'align-right': formatAssetUrl(iconsAlignRight, opts),
|
|
'align-top-center': formatAssetUrl(iconsAlignTopCenter, opts),
|
|
'align-top-left': formatAssetUrl(iconsAlignTopLeft, opts),
|
|
'align-top-right': formatAssetUrl(iconsAlignTopRight, opts),
|
|
'align-top': formatAssetUrl(iconsAlignTop, opts),
|
|
'arrow-left': formatAssetUrl(iconsArrowLeft, opts),
|
|
'arrowhead-arrow': formatAssetUrl(iconsArrowheadArrow, opts),
|
|
'arrowhead-bar': formatAssetUrl(iconsArrowheadBar, opts),
|
|
'arrowhead-diamond': formatAssetUrl(iconsArrowheadDiamond, opts),
|
|
'arrowhead-dot': formatAssetUrl(iconsArrowheadDot, opts),
|
|
'arrowhead-none': formatAssetUrl(iconsArrowheadNone, opts),
|
|
'arrowhead-square': formatAssetUrl(iconsArrowheadSquare, opts),
|
|
'arrowhead-triangle-inverted': formatAssetUrl(iconsArrowheadTriangleInverted, opts),
|
|
'arrowhead-triangle': formatAssetUrl(iconsArrowheadTriangle, opts),
|
|
'aspect-ratio': formatAssetUrl(iconsAspectRatio, opts),
|
|
avatar: formatAssetUrl(iconsAvatar, opts),
|
|
blob: formatAssetUrl(iconsBlob, opts),
|
|
'bring-forward': formatAssetUrl(iconsBringForward, opts),
|
|
'bring-to-front': formatAssetUrl(iconsBringToFront, opts),
|
|
check: formatAssetUrl(iconsCheck, opts),
|
|
'checkbox-checked': formatAssetUrl(iconsCheckboxChecked, opts),
|
|
'checkbox-empty': formatAssetUrl(iconsCheckboxEmpty, opts),
|
|
'chevron-down': formatAssetUrl(iconsChevronDown, opts),
|
|
'chevron-left': formatAssetUrl(iconsChevronLeft, opts),
|
|
'chevron-right': formatAssetUrl(iconsChevronRight, opts),
|
|
'chevron-up': formatAssetUrl(iconsChevronUp, opts),
|
|
'chevrons-ne': formatAssetUrl(iconsChevronsNe, opts),
|
|
'chevrons-sw': formatAssetUrl(iconsChevronsSw, opts),
|
|
'clipboard-copied': formatAssetUrl(iconsClipboardCopied, opts),
|
|
'clipboard-copy': formatAssetUrl(iconsClipboardCopy, opts),
|
|
code: formatAssetUrl(iconsCode, opts),
|
|
collab: formatAssetUrl(iconsCollab, opts),
|
|
color: formatAssetUrl(iconsColor, opts),
|
|
comment: formatAssetUrl(iconsComment, opts),
|
|
'cross-2': formatAssetUrl(iconsCross2, opts),
|
|
cross: formatAssetUrl(iconsCross, opts),
|
|
'dash-dashed': formatAssetUrl(iconsDashDashed, opts),
|
|
'dash-dotted': formatAssetUrl(iconsDashDotted, opts),
|
|
'dash-draw': formatAssetUrl(iconsDashDraw, opts),
|
|
'dash-solid': formatAssetUrl(iconsDashSolid, opts),
|
|
discord: formatAssetUrl(iconsDiscord, opts),
|
|
'distribute-horizontal': formatAssetUrl(iconsDistributeHorizontal, opts),
|
|
'distribute-vertical': formatAssetUrl(iconsDistributeVertical, opts),
|
|
dot: formatAssetUrl(iconsDot, opts),
|
|
'dots-horizontal': formatAssetUrl(iconsDotsHorizontal, opts),
|
|
'dots-vertical': formatAssetUrl(iconsDotsVertical, opts),
|
|
'drag-handle-dots': formatAssetUrl(iconsDragHandleDots, opts),
|
|
duplicate: formatAssetUrl(iconsDuplicate, opts),
|
|
edit: formatAssetUrl(iconsEdit, opts),
|
|
'external-link': formatAssetUrl(iconsExternalLink, opts),
|
|
file: formatAssetUrl(iconsFile, opts),
|
|
'fill-none': formatAssetUrl(iconsFillNone, opts),
|
|
'fill-pattern': formatAssetUrl(iconsFillPattern, opts),
|
|
'fill-semi': formatAssetUrl(iconsFillSemi, opts),
|
|
'fill-solid': formatAssetUrl(iconsFillSolid, opts),
|
|
follow: formatAssetUrl(iconsFollow, opts),
|
|
following: formatAssetUrl(iconsFollowing, opts),
|
|
'font-draw': formatAssetUrl(iconsFontDraw, opts),
|
|
'font-mono': formatAssetUrl(iconsFontMono, opts),
|
|
'font-sans': formatAssetUrl(iconsFontSans, opts),
|
|
'font-serif': formatAssetUrl(iconsFontSerif, opts),
|
|
'geo-arrow-down': formatAssetUrl(iconsGeoArrowDown, opts),
|
|
'geo-arrow-left': formatAssetUrl(iconsGeoArrowLeft, opts),
|
|
'geo-arrow-right': formatAssetUrl(iconsGeoArrowRight, opts),
|
|
'geo-arrow-up': formatAssetUrl(iconsGeoArrowUp, opts),
|
|
'geo-check-box': formatAssetUrl(iconsGeoCheckBox, opts),
|
|
'geo-cloud': formatAssetUrl(iconsGeoCloud, opts),
|
|
'geo-diamond': formatAssetUrl(iconsGeoDiamond, opts),
|
|
'geo-ellipse': formatAssetUrl(iconsGeoEllipse, opts),
|
|
'geo-hexagon': formatAssetUrl(iconsGeoHexagon, opts),
|
|
'geo-octagon': formatAssetUrl(iconsGeoOctagon, opts),
|
|
'geo-oval': formatAssetUrl(iconsGeoOval, opts),
|
|
'geo-pentagon': formatAssetUrl(iconsGeoPentagon, opts),
|
|
'geo-rectangle': formatAssetUrl(iconsGeoRectangle, opts),
|
|
'geo-rhombus-2': formatAssetUrl(iconsGeoRhombus2, opts),
|
|
'geo-rhombus': formatAssetUrl(iconsGeoRhombus, opts),
|
|
'geo-star': formatAssetUrl(iconsGeoStar, opts),
|
|
'geo-trapezoid': formatAssetUrl(iconsGeoTrapezoid, opts),
|
|
'geo-triangle': formatAssetUrl(iconsGeoTriangle, opts),
|
|
'geo-x-box': formatAssetUrl(iconsGeoXBox, opts),
|
|
github: formatAssetUrl(iconsGithub, opts),
|
|
group: formatAssetUrl(iconsGroup, opts),
|
|
hidden: formatAssetUrl(iconsHidden, opts),
|
|
image: formatAssetUrl(iconsImage, opts),
|
|
'info-circle': formatAssetUrl(iconsInfoCircle, opts),
|
|
leading: formatAssetUrl(iconsLeading, opts),
|
|
link: formatAssetUrl(iconsLink, opts),
|
|
'lock-small': formatAssetUrl(iconsLockSmall, opts),
|
|
lock: formatAssetUrl(iconsLock, opts),
|
|
menu: formatAssetUrl(iconsMenu, opts),
|
|
minus: formatAssetUrl(iconsMinus, opts),
|
|
mixed: formatAssetUrl(iconsMixed, opts),
|
|
pack: formatAssetUrl(iconsPack, opts),
|
|
page: formatAssetUrl(iconsPage, opts),
|
|
plus: formatAssetUrl(iconsPlus, opts),
|
|
'question-mark-circle': formatAssetUrl(iconsQuestionMarkCircle, opts),
|
|
'question-mark': formatAssetUrl(iconsQuestionMark, opts),
|
|
redo: formatAssetUrl(iconsRedo, opts),
|
|
'reset-zoom': formatAssetUrl(iconsResetZoom, opts),
|
|
'rotate-ccw': formatAssetUrl(iconsRotateCcw, opts),
|
|
'rotate-cw': formatAssetUrl(iconsRotateCw, opts),
|
|
ruler: formatAssetUrl(iconsRuler, opts),
|
|
search: formatAssetUrl(iconsSearch, opts),
|
|
'send-backward': formatAssetUrl(iconsSendBackward, opts),
|
|
'send-to-back': formatAssetUrl(iconsSendToBack, opts),
|
|
'settings-horizontal': formatAssetUrl(iconsSettingsHorizontal, opts),
|
|
'settings-vertical-1': formatAssetUrl(iconsSettingsVertical1, opts),
|
|
'settings-vertical': formatAssetUrl(iconsSettingsVertical, opts),
|
|
'share-1': formatAssetUrl(iconsShare1, opts),
|
|
'share-2': formatAssetUrl(iconsShare2, opts),
|
|
'size-extra-large': formatAssetUrl(iconsSizeExtraLarge, opts),
|
|
'size-large': formatAssetUrl(iconsSizeLarge, opts),
|
|
'size-medium': formatAssetUrl(iconsSizeMedium, opts),
|
|
'size-small': formatAssetUrl(iconsSizeSmall, opts),
|
|
'spline-cubic': formatAssetUrl(iconsSplineCubic, opts),
|
|
'spline-line': formatAssetUrl(iconsSplineLine, opts),
|
|
'stack-horizontal': formatAssetUrl(iconsStackHorizontal, opts),
|
|
'stack-vertical': formatAssetUrl(iconsStackVertical, opts),
|
|
'status-offline': formatAssetUrl(iconsStatusOffline, opts),
|
|
'status-online': formatAssetUrl(iconsStatusOnline, opts),
|
|
'stretch-horizontal': formatAssetUrl(iconsStretchHorizontal, opts),
|
|
'stretch-vertical': formatAssetUrl(iconsStretchVertical, opts),
|
|
'text-align-center': formatAssetUrl(iconsTextAlignCenter, opts),
|
|
'text-align-justify': formatAssetUrl(iconsTextAlignJustify, opts),
|
|
'text-align-left': formatAssetUrl(iconsTextAlignLeft, opts),
|
|
'text-align-right': formatAssetUrl(iconsTextAlignRight, opts),
|
|
'tool-arrow': formatAssetUrl(iconsToolArrow, opts),
|
|
'tool-embed': formatAssetUrl(iconsToolEmbed, opts),
|
|
'tool-eraser': formatAssetUrl(iconsToolEraser, opts),
|
|
'tool-frame': formatAssetUrl(iconsToolFrame, opts),
|
|
'tool-hand': formatAssetUrl(iconsToolHand, opts),
|
|
'tool-highlight': formatAssetUrl(iconsToolHighlight, opts),
|
|
'tool-laser': formatAssetUrl(iconsToolLaser, opts),
|
|
'tool-line': formatAssetUrl(iconsToolLine, opts),
|
|
'tool-media': formatAssetUrl(iconsToolMedia, opts),
|
|
'tool-note': formatAssetUrl(iconsToolNote, opts),
|
|
'tool-pencil': formatAssetUrl(iconsToolPencil, opts),
|
|
'tool-pointer': formatAssetUrl(iconsToolPointer, opts),
|
|
'tool-text': formatAssetUrl(iconsToolText, opts),
|
|
trash: formatAssetUrl(iconsTrash, opts),
|
|
'triangle-down': formatAssetUrl(iconsTriangleDown, opts),
|
|
'triangle-up': formatAssetUrl(iconsTriangleUp, opts),
|
|
twitter: formatAssetUrl(iconsTwitter, opts),
|
|
undo: formatAssetUrl(iconsUndo, opts),
|
|
ungroup: formatAssetUrl(iconsUngroup, opts),
|
|
'unlock-small': formatAssetUrl(iconsUnlockSmall, opts),
|
|
unlock: formatAssetUrl(iconsUnlock, opts),
|
|
'vertical-align-center': formatAssetUrl(iconsVerticalAlignCenter, opts),
|
|
'vertical-align-end': formatAssetUrl(iconsVerticalAlignEnd, opts),
|
|
'vertical-align-start': formatAssetUrl(iconsVerticalAlignStart, opts),
|
|
visible: formatAssetUrl(iconsVisible, opts),
|
|
'warning-triangle': formatAssetUrl(iconsWarningTriangle, opts),
|
|
'zoom-in': formatAssetUrl(iconsZoomIn, opts),
|
|
'zoom-out': formatAssetUrl(iconsZoomOut, opts),
|
|
},
|
|
translations: {
|
|
ar: formatAssetUrl(translationsAr, opts),
|
|
ca: formatAssetUrl(translationsCa, opts),
|
|
cs: formatAssetUrl(translationsCs, opts),
|
|
da: formatAssetUrl(translationsDa, opts),
|
|
de: formatAssetUrl(translationsDe, opts),
|
|
en: formatAssetUrl(translationsEn, opts),
|
|
es: formatAssetUrl(translationsEs, opts),
|
|
fa: formatAssetUrl(translationsFa, opts),
|
|
fi: formatAssetUrl(translationsFi, opts),
|
|
fr: formatAssetUrl(translationsFr, opts),
|
|
gl: formatAssetUrl(translationsGl, opts),
|
|
he: formatAssetUrl(translationsHe, opts),
|
|
'hi-in': formatAssetUrl(translationsHiIn, opts),
|
|
hu: formatAssetUrl(translationsHu, opts),
|
|
it: formatAssetUrl(translationsIt, opts),
|
|
ja: formatAssetUrl(translationsJa, opts),
|
|
'ko-kr': formatAssetUrl(translationsKoKr, opts),
|
|
ku: formatAssetUrl(translationsKu, opts),
|
|
languages: formatAssetUrl(translationsLanguages, opts),
|
|
main: formatAssetUrl(translationsMain, opts),
|
|
my: formatAssetUrl(translationsMy, opts),
|
|
ne: formatAssetUrl(translationsNe, opts),
|
|
no: formatAssetUrl(translationsNo, opts),
|
|
pl: formatAssetUrl(translationsPl, opts),
|
|
'pt-br': formatAssetUrl(translationsPtBr, opts),
|
|
'pt-pt': formatAssetUrl(translationsPtPt, opts),
|
|
ro: formatAssetUrl(translationsRo, opts),
|
|
ru: formatAssetUrl(translationsRu, opts),
|
|
sv: formatAssetUrl(translationsSv, opts),
|
|
te: formatAssetUrl(translationsTe, opts),
|
|
th: formatAssetUrl(translationsTh, opts),
|
|
tr: formatAssetUrl(translationsTr, opts),
|
|
uk: formatAssetUrl(translationsUk, opts),
|
|
vi: formatAssetUrl(translationsVi, opts),
|
|
'zh-cn': formatAssetUrl(translationsZhCn, opts),
|
|
'zh-tw': formatAssetUrl(translationsZhTw, opts),
|
|
},
|
|
embedIcons: {
|
|
codepen: formatAssetUrl(embedIconsCodepen, opts),
|
|
codesandbox: formatAssetUrl(embedIconsCodesandbox, opts),
|
|
excalidraw: formatAssetUrl(embedIconsExcalidraw, opts),
|
|
felt: formatAssetUrl(embedIconsFelt, opts),
|
|
figma: formatAssetUrl(embedIconsFigma, opts),
|
|
github_gist: formatAssetUrl(embedIconsGithubGist, opts),
|
|
google_calendar: formatAssetUrl(embedIconsGoogleCalendar, opts),
|
|
google_maps: formatAssetUrl(embedIconsGoogleMaps, opts),
|
|
google_slides: formatAssetUrl(embedIconsGoogleSlides, opts),
|
|
observable: formatAssetUrl(embedIconsObservable, opts),
|
|
replit: formatAssetUrl(embedIconsReplit, opts),
|
|
scratch: formatAssetUrl(embedIconsScratch, opts),
|
|
spotify: formatAssetUrl(embedIconsSpotify, opts),
|
|
tldraw: formatAssetUrl(embedIconsTldraw, opts),
|
|
val_town: formatAssetUrl(embedIconsValTown, opts),
|
|
vimeo: formatAssetUrl(embedIconsVimeo, opts),
|
|
youtube: formatAssetUrl(embedIconsYoutube, opts),
|
|
},
|
|
}
|
|
}
|