iwmlib/lib/bundle.js

135 lines
3.6 KiB
JavaScript
Raw Normal View History

2019-03-21 09:57:27 +01:00
import App from './app.js'
import Doctest from './doctest.js'
import Errors from './errors.js'
import Events from './events.js'
2019-07-30 16:56:29 +02:00
import { DOMFlip, DOMFlippable, CardLoader, PDFLoader, ImageLoader, FrameLoader, HTMLLoader } from './flippable.js'
2019-03-21 09:57:27 +01:00
import Index from './index.js'
import Interface from './interface.js'
2019-05-24 09:53:27 +02:00
import Logging from './logging.js'
2019-03-21 09:57:27 +01:00
import Poppable from './poppable.js'
import PopupMenu from './popupmenu.js'
import Popup from './popup.js'
2019-07-16 09:27:48 +02:00
import { IApp } from './app.js'
import { Capabilities, CapabilitiesTests } from './capabilities.js'
import { EventRecorder } from './events.js'
import { FrameContainer, FrameTarget } from './frames.js'
import { Inspect } from './inspect.js'
2019-07-18 12:26:39 +02:00
import {
PointMap,
InteractionPoints,
Interaction,
IInteractionTarget,
InteractionDelta,
InteractionMapper,
InteractionDelegate,
IInteractionMapperTarget
} from './interaction.js'
import {
ITapDelegate,
ResizeEvent,
DOMScatterContainer,
AbstractScatter,
DOMScatter,
ScatterEvent,
BaseEvent
} from './scatter.js'
import {
Cycle,
Colors,
Elements,
Angle,
Dates,
Points,
Polygon,
Rect,
Sets,
Strings,
isEmpty,
getId,
lerp,
debounce,
randomInt,
randomFloat,
LowPassFilter
} from './utils.js'
2019-03-21 09:57:27 +01:00
import UITest from './uitest.js'
import Card from './card/card.js'
2019-07-16 09:27:48 +02:00
import CardWrapper from './card/wrapper.js'
import Highlight from './card/highlight.js'
2019-07-17 11:03:26 +02:00
import ScatterCard from './card/scatter.js'
import { CardPlugin, CardPluginBase } from './card/plugin.js'
2019-07-16 09:27:48 +02:00
import Theme from './card/theme.js'
2019-07-15 13:32:45 +02:00
2019-03-21 09:57:27 +01:00
/* Needed to ensure that rollup.js includes class definitions and the classes
are visible inside doctests.
*/
window.AbstractScatter = AbstractScatter
window.Angle = Angle
window.App = App
window.BaseEvent = BaseEvent
window.Capabilities = Capabilities
window.CapabilitiesTests = CapabilitiesTests
window.Colors = Colors
window.Cycle = Cycle
window.DOMFlip = DOMFlip
window.DOMFlippable = DOMFlippable
window.CardLoader = CardLoader
window.PDFLoader = PDFLoader
window.HTMLLoader = HTMLLoader
window.ImageLoader = ImageLoader
window.FrameLoader = FrameLoader
window.DOMScatter = DOMScatter
window.DOMScatterContainer = DOMScatterContainer
window.Dates = Dates
window.Doctest = Doctest
window.Elements = Elements
window.Errors = Errors
window.EventRecorder = EventRecorder
window.Events = Events
window.FrameContainer = FrameContainer
window.FrameTarget = FrameTarget
window.IApp = IApp
window.IInteractionMapperTarget = IInteractionMapperTarget
window.IInteractionTarget = IInteractionTarget
2019-07-12 14:50:30 +02:00
window.ITapDelegate = ITapDelegate
2019-03-21 09:57:27 +01:00
window.Index = Index
window.Inspect = Inspect
window.Interaction = Interaction
window.InteractionDelegate = InteractionDelegate
window.InteractionDelta = InteractionDelta
window.InteractionMapper = InteractionMapper
window.InteractionPoints = InteractionPoints
window.Interface = Interface
2019-05-24 09:53:27 +02:00
window.Logging = Logging
window.LowPassFilter = LowPassFilter
2019-03-21 09:57:27 +01:00
window.PointMap = PointMap
window.Rect = Rect
window.Points = Points
window.Polygon = Polygon
window.Poppable = Poppable
window.Popup = Popup
window.PopupMenu = PopupMenu
window.ResizeEvent = ResizeEvent
window.ScatterEvent = ScatterEvent
window.Sets = Sets
window.Strings = Strings
window.UITest = UITest
window.getId = getId
window.isEmpty = isEmpty
window.lerp = lerp
window.debounce = debounce
window.randomInt = randomInt
window.randomFloat = randomFloat
2019-07-12 14:33:15 +02:00
2019-07-15 13:32:45 +02:00
window.CardWrapper = CardWrapper
2019-07-16 09:27:48 +02:00
window.Card = Card
2019-07-17 11:03:26 +02:00
window.CardPlugin = CardPlugin
window.CardPluginBase = CardPluginBase
2019-07-16 10:04:25 +02:00
window.ScatterCard = ScatterCard
2019-07-16 09:27:48 +02:00
window.Highlight = Highlight
window.Theme = Theme