JS: regenerate stdlib files from IDL

This commit is contained in:
Alexey Andreev
2016-12-19 19:40:47 +03:00
parent b1561bd9ab
commit de664de0bf
13 changed files with 2332 additions and 4414 deletions
File diff suppressed because it is too large Load Diff
+29 -524
View File
@@ -22,848 +22,353 @@ import org.w3c.xhr.*
public external abstract class CSSStyleDeclaration {
open var cssText: String
get() = noImpl
set(value) = noImpl
open val length: Int
get() = noImpl
open val parentRule: CSSRule?
get() = noImpl
open var cssFloat: String
get() = noImpl
set(value) = noImpl
open var _dashed_attribute: String
get() = noImpl
set(value) = noImpl
open var _camel_cased_attribute: String
get() = noImpl
set(value) = noImpl
open var _webkit_cased_attribute: String
get() = noImpl
set(value) = noImpl
open var alignContent: String
get() = noImpl
set(value) = noImpl
open var alignItems: String
get() = noImpl
set(value) = noImpl
open var alignSelf: String
get() = noImpl
set(value) = noImpl
open var animation: String
get() = noImpl
set(value) = noImpl
open var animationDelay: String
get() = noImpl
set(value) = noImpl
open var animationDirection: String
get() = noImpl
set(value) = noImpl
open var animationDuration: String
get() = noImpl
set(value) = noImpl
open var animationFillMode: String
get() = noImpl
set(value) = noImpl
open var animationIterationCount: String
get() = noImpl
set(value) = noImpl
open var animationName: String
get() = noImpl
set(value) = noImpl
open var animationPlayState: String
get() = noImpl
set(value) = noImpl
open var animationTimingFunction: String
get() = noImpl
set(value) = noImpl
open var backfaceVisibility: String
get() = noImpl
set(value) = noImpl
open var background: String
get() = noImpl
set(value) = noImpl
open var backgroundAttachment: String
get() = noImpl
set(value) = noImpl
open var backgroundClip: String
get() = noImpl
set(value) = noImpl
open var backgroundColor: String
get() = noImpl
set(value) = noImpl
open var backgroundImage: String
get() = noImpl
set(value) = noImpl
open var backgroundOrigin: String
get() = noImpl
set(value) = noImpl
open var backgroundPosition: String
get() = noImpl
set(value) = noImpl
open var backgroundRepeat: String
get() = noImpl
set(value) = noImpl
open var backgroundSize: String
get() = noImpl
set(value) = noImpl
open var border: String
get() = noImpl
set(value) = noImpl
open var borderBottom: String
get() = noImpl
set(value) = noImpl
open var borderBottomColor: String
get() = noImpl
set(value) = noImpl
open var borderBottomLeftRadius: String
get() = noImpl
set(value) = noImpl
open var borderBottomRightRadius: String
get() = noImpl
set(value) = noImpl
open var borderBottomStyle: String
get() = noImpl
set(value) = noImpl
open var borderBottomWidth: String
get() = noImpl
set(value) = noImpl
open var borderCollapse: String
get() = noImpl
set(value) = noImpl
open var borderColor: String
get() = noImpl
set(value) = noImpl
open var borderImage: String
get() = noImpl
set(value) = noImpl
open var borderImageOutset: String
get() = noImpl
set(value) = noImpl
open var borderImageRepeat: String
get() = noImpl
set(value) = noImpl
open var borderImageSlice: String
get() = noImpl
set(value) = noImpl
open var borderImageSource: String
get() = noImpl
set(value) = noImpl
open var borderImageWidth: String
get() = noImpl
set(value) = noImpl
open var borderLeft: String
get() = noImpl
set(value) = noImpl
open var borderLeftColor: String
get() = noImpl
set(value) = noImpl
open var borderLeftStyle: String
get() = noImpl
set(value) = noImpl
open var borderLeftWidth: String
get() = noImpl
set(value) = noImpl
open var borderRadius: String
get() = noImpl
set(value) = noImpl
open var borderRight: String
get() = noImpl
set(value) = noImpl
open var borderRightColor: String
get() = noImpl
set(value) = noImpl
open var borderRightStyle: String
get() = noImpl
set(value) = noImpl
open var borderRightWidth: String
get() = noImpl
set(value) = noImpl
open var borderSpacing: String
get() = noImpl
set(value) = noImpl
open var borderStyle: String
get() = noImpl
set(value) = noImpl
open var borderTop: String
get() = noImpl
set(value) = noImpl
open var borderTopColor: String
get() = noImpl
set(value) = noImpl
open var borderTopLeftRadius: String
get() = noImpl
set(value) = noImpl
open var borderTopRightRadius: String
get() = noImpl
set(value) = noImpl
open var borderTopStyle: String
get() = noImpl
set(value) = noImpl
open var borderTopWidth: String
get() = noImpl
set(value) = noImpl
open var borderWidth: String
get() = noImpl
set(value) = noImpl
open var bottom: String
get() = noImpl
set(value) = noImpl
open var boxDecorationBreak: String
get() = noImpl
set(value) = noImpl
open var boxShadow: String
get() = noImpl
set(value) = noImpl
open var boxSizing: String
get() = noImpl
set(value) = noImpl
open var breakAfter: String
get() = noImpl
set(value) = noImpl
open var breakBefore: String
get() = noImpl
set(value) = noImpl
open var breakInside: String
get() = noImpl
set(value) = noImpl
open var captionSide: String
get() = noImpl
set(value) = noImpl
open var clear: String
get() = noImpl
set(value) = noImpl
open var clip: String
get() = noImpl
set(value) = noImpl
open var color: String
get() = noImpl
set(value) = noImpl
open var columnCount: String
get() = noImpl
set(value) = noImpl
open var columnFill: String
get() = noImpl
set(value) = noImpl
open var columnGap: String
get() = noImpl
set(value) = noImpl
open var columnRule: String
get() = noImpl
set(value) = noImpl
open var columnRuleColor: String
get() = noImpl
set(value) = noImpl
open var columnRuleStyle: String
get() = noImpl
set(value) = noImpl
open var columnRuleWidth: String
get() = noImpl
set(value) = noImpl
open var columnSpan: String
get() = noImpl
set(value) = noImpl
open var columnWidth: String
get() = noImpl
set(value) = noImpl
open var columns: String
get() = noImpl
set(value) = noImpl
open var content: String
get() = noImpl
set(value) = noImpl
open var counterIncrement: String
get() = noImpl
set(value) = noImpl
open var counterReset: String
get() = noImpl
set(value) = noImpl
open var cursor: String
get() = noImpl
set(value) = noImpl
open var direction: String
get() = noImpl
set(value) = noImpl
open var display: String
get() = noImpl
set(value) = noImpl
open var emptyCells: String
get() = noImpl
set(value) = noImpl
open var filter: String
get() = noImpl
set(value) = noImpl
open var flex: String
get() = noImpl
set(value) = noImpl
open var flexBasis: String
get() = noImpl
set(value) = noImpl
open var flexDirection: String
get() = noImpl
set(value) = noImpl
open var flexFlow: String
get() = noImpl
set(value) = noImpl
open var flexGrow: String
get() = noImpl
set(value) = noImpl
open var flexShrink: String
get() = noImpl
set(value) = noImpl
open var flexWrap: String
get() = noImpl
set(value) = noImpl
open var font: String
get() = noImpl
set(value) = noImpl
open var fontFamily: String
get() = noImpl
set(value) = noImpl
open var fontFeatureSettings: String
get() = noImpl
set(value) = noImpl
open var fontKerning: String
get() = noImpl
set(value) = noImpl
open var fontLanguageOverride: String
get() = noImpl
set(value) = noImpl
open var fontSize: String
get() = noImpl
set(value) = noImpl
open var fontSizeAdjust: String
get() = noImpl
set(value) = noImpl
open var fontStretch: String
get() = noImpl
set(value) = noImpl
open var fontStyle: String
get() = noImpl
set(value) = noImpl
open var fontSynthesis: String
get() = noImpl
set(value) = noImpl
open var fontVariant: String
get() = noImpl
set(value) = noImpl
open var fontVariantAlternates: String
get() = noImpl
set(value) = noImpl
open var fontVariantCaps: String
get() = noImpl
set(value) = noImpl
open var fontVariantEastAsian: String
get() = noImpl
set(value) = noImpl
open var fontVariantLigatures: String
get() = noImpl
set(value) = noImpl
open var fontVariantNumeric: String
get() = noImpl
set(value) = noImpl
open var fontVariantPosition: String
get() = noImpl
set(value) = noImpl
open var fontWeight: String
get() = noImpl
set(value) = noImpl
open var hangingPunctuation: String
get() = noImpl
set(value) = noImpl
open var height: String
get() = noImpl
set(value) = noImpl
open var hyphens: String
get() = noImpl
set(value) = noImpl
open var imageOrientation: String
get() = noImpl
set(value) = noImpl
open var imageRendering: String
get() = noImpl
set(value) = noImpl
open var imageResolution: String
get() = noImpl
set(value) = noImpl
open var imeMode: String
get() = noImpl
set(value) = noImpl
open var justifyContent: String
get() = noImpl
set(value) = noImpl
open var left: String
get() = noImpl
set(value) = noImpl
open var letterSpacing: String
get() = noImpl
set(value) = noImpl
open var lineBreak: String
get() = noImpl
set(value) = noImpl
open var lineHeight: String
get() = noImpl
set(value) = noImpl
open var listStyle: String
get() = noImpl
set(value) = noImpl
open var listStyleImage: String
get() = noImpl
set(value) = noImpl
open var listStylePosition: String
get() = noImpl
set(value) = noImpl
open var listStyleType: String
get() = noImpl
set(value) = noImpl
open var margin: String
get() = noImpl
set(value) = noImpl
open var marginBottom: String
get() = noImpl
set(value) = noImpl
open var marginLeft: String
get() = noImpl
set(value) = noImpl
open var marginRight: String
get() = noImpl
set(value) = noImpl
open var marginTop: String
get() = noImpl
set(value) = noImpl
open var mark: String
get() = noImpl
set(value) = noImpl
open var markAfter: String
get() = noImpl
set(value) = noImpl
open var markBefore: String
get() = noImpl
set(value) = noImpl
open var marks: String
get() = noImpl
set(value) = noImpl
open var marqueeDirection: String
get() = noImpl
set(value) = noImpl
open var marqueePlayCount: String
get() = noImpl
set(value) = noImpl
open var marqueeSpeed: String
get() = noImpl
set(value) = noImpl
open var marqueeStyle: String
get() = noImpl
set(value) = noImpl
open var mask: String
get() = noImpl
set(value) = noImpl
open var maskType: String
get() = noImpl
set(value) = noImpl
open var maxHeight: String
get() = noImpl
set(value) = noImpl
open var maxWidth: String
get() = noImpl
set(value) = noImpl
open var minHeight: String
get() = noImpl
set(value) = noImpl
open var minWidth: String
get() = noImpl
set(value) = noImpl
open var navDown: String
get() = noImpl
set(value) = noImpl
open var navIndex: String
get() = noImpl
set(value) = noImpl
open var navLeft: String
get() = noImpl
set(value) = noImpl
open var navRight: String
get() = noImpl
set(value) = noImpl
open var navUp: String
get() = noImpl
set(value) = noImpl
open var objectFit: String
get() = noImpl
set(value) = noImpl
open var objectPosition: String
get() = noImpl
set(value) = noImpl
open var opacity: String
get() = noImpl
set(value) = noImpl
open var order: String
get() = noImpl
set(value) = noImpl
open var orphans: String
get() = noImpl
set(value) = noImpl
open var outline: String
get() = noImpl
set(value) = noImpl
open var outlineColor: String
get() = noImpl
set(value) = noImpl
open var outlineOffset: String
get() = noImpl
set(value) = noImpl
open var outlineStyle: String
get() = noImpl
set(value) = noImpl
open var outlineWidth: String
get() = noImpl
set(value) = noImpl
open var overflowWrap: String
get() = noImpl
set(value) = noImpl
open var overflowX: String
get() = noImpl
set(value) = noImpl
open var overflowY: String
get() = noImpl
set(value) = noImpl
open var padding: String
get() = noImpl
set(value) = noImpl
open var paddingBottom: String
get() = noImpl
set(value) = noImpl
open var paddingLeft: String
get() = noImpl
set(value) = noImpl
open var paddingRight: String
get() = noImpl
set(value) = noImpl
open var paddingTop: String
get() = noImpl
set(value) = noImpl
open var pageBreakAfter: String
get() = noImpl
set(value) = noImpl
open var pageBreakBefore: String
get() = noImpl
set(value) = noImpl
open var pageBreakInside: String
get() = noImpl
set(value) = noImpl
open var perspective: String
get() = noImpl
set(value) = noImpl
open var perspectiveOrigin: String
get() = noImpl
set(value) = noImpl
open var phonemes: String
get() = noImpl
set(value) = noImpl
open var position: String
get() = noImpl
set(value) = noImpl
open var quotes: String
get() = noImpl
set(value) = noImpl
open var resize: String
get() = noImpl
set(value) = noImpl
open var rest: String
get() = noImpl
set(value) = noImpl
open var restAfter: String
get() = noImpl
set(value) = noImpl
open var restBefore: String
get() = noImpl
set(value) = noImpl
open var right: String
get() = noImpl
set(value) = noImpl
open var tabSize: String
get() = noImpl
set(value) = noImpl
open var tableLayout: String
get() = noImpl
set(value) = noImpl
open var textAlign: String
get() = noImpl
set(value) = noImpl
open var textAlignLast: String
get() = noImpl
set(value) = noImpl
open var textCombineUpright: String
get() = noImpl
set(value) = noImpl
open var textDecoration: String
get() = noImpl
set(value) = noImpl
open var textDecorationColor: String
get() = noImpl
set(value) = noImpl
open var textDecorationLine: String
get() = noImpl
set(value) = noImpl
open var textDecorationStyle: String
get() = noImpl
set(value) = noImpl
open var textIndent: String
get() = noImpl
set(value) = noImpl
open var textJustify: String
get() = noImpl
set(value) = noImpl
open var textOrientation: String
get() = noImpl
set(value) = noImpl
open var textOverflow: String
get() = noImpl
set(value) = noImpl
open var textShadow: String
get() = noImpl
set(value) = noImpl
open var textTransform: String
get() = noImpl
set(value) = noImpl
open var textUnderlinePosition: String
get() = noImpl
set(value) = noImpl
open var top: String
get() = noImpl
set(value) = noImpl
open var transform: String
get() = noImpl
set(value) = noImpl
open var transformOrigin: String
get() = noImpl
set(value) = noImpl
open var transformStyle: String
get() = noImpl
set(value) = noImpl
open var transition: String
get() = noImpl
set(value) = noImpl
open var transitionDelay: String
get() = noImpl
set(value) = noImpl
open var transitionDuration: String
get() = noImpl
set(value) = noImpl
open var transitionProperty: String
get() = noImpl
set(value) = noImpl
open var transitionTimingFunction: String
get() = noImpl
set(value) = noImpl
open var unicodeBidi: String
get() = noImpl
set(value) = noImpl
open var verticalAlign: String
get() = noImpl
set(value) = noImpl
open var visibility: String
get() = noImpl
set(value) = noImpl
open var voiceBalance: String
get() = noImpl
set(value) = noImpl
open var voiceDuration: String
get() = noImpl
set(value) = noImpl
open var voicePitch: String
get() = noImpl
set(value) = noImpl
open var voicePitchRange: String
get() = noImpl
set(value) = noImpl
open var voiceRate: String
get() = noImpl
set(value) = noImpl
open var voiceStress: String
get() = noImpl
set(value) = noImpl
open var voiceVolume: String
get() = noImpl
set(value) = noImpl
open var whiteSpace: String
get() = noImpl
set(value) = noImpl
open var widows: String
get() = noImpl
set(value) = noImpl
open var width: String
get() = noImpl
set(value) = noImpl
open var wordBreak: String
get() = noImpl
set(value) = noImpl
open var wordSpacing: String
get() = noImpl
set(value) = noImpl
open var wordWrap: String
get() = noImpl
set(value) = noImpl
open var writingMode: String
get() = noImpl
set(value) = noImpl
open var zIndex: String
get() = noImpl
set(value) = noImpl
fun item(index: Int): String = noImpl
fun item(index: Int): String
@nativeGetter
operator fun get(index: Int): String? = noImpl
fun getPropertyValue(property: String): String = noImpl
fun getPropertyPriority(property: String): String = noImpl
fun setProperty(property: String, value: String, priority: String = ""): Unit = noImpl
fun setPropertyValue(property: String, value: String): Unit = noImpl
fun setPropertyPriority(property: String, priority: String): Unit = noImpl
fun removeProperty(property: String): String = noImpl
operator fun get(index: Int): String?
fun getPropertyValue(property: String): String
fun getPropertyPriority(property: String): String
fun setProperty(property: String, value: String, priority: String = noImpl): Unit
fun setPropertyValue(property: String, value: String): Unit
fun setPropertyPriority(property: String, priority: String): Unit
fun removeProperty(property: String): String
}
public external abstract class MediaList {
open var mediaText: String
get() = noImpl
set(value) = noImpl
open val length: Int
get() = noImpl
fun item(index: Int): String? = noImpl
fun item(index: Int): String?
@nativeGetter
operator fun get(index: Int): String? = noImpl
fun appendMedium(medium: String): Unit = noImpl
fun deleteMedium(medium: String): Unit = noImpl
operator fun get(index: Int): String?
fun appendMedium(medium: String): Unit
fun deleteMedium(medium: String): Unit
}
public external abstract class StyleSheet {
open val type: String
get() = noImpl
open val href: String?
get() = noImpl
open val ownerNode: UnionElementOrProcessingInstruction?
get() = noImpl
open val parentStyleSheet: StyleSheet?
get() = noImpl
open val title: String?
get() = noImpl
open val media: MediaList
get() = noImpl
open var disabled: Boolean
get() = noImpl
set(value) = noImpl
}
public external abstract class CSSStyleSheet : StyleSheet() {
open val ownerRule: CSSRule?
get() = noImpl
open val cssRules: CSSRuleList
get() = noImpl
fun insertRule(rule: String, index: Int): Int = noImpl
fun deleteRule(index: Int): Unit = noImpl
fun insertRule(rule: String, index: Int): Int
fun deleteRule(index: Int): Unit
}
public external abstract class StyleSheetList {
open val length: Int
get() = noImpl
fun item(index: Int): StyleSheet? = noImpl
fun item(index: Int): StyleSheet?
@nativeGetter
operator fun get(index: Int): StyleSheet? = noImpl
operator fun get(index: Int): StyleSheet?
}
public external interface LinkStyle {
val sheet: StyleSheet?
get() = noImpl
}
public external abstract class CSSRuleList {
open val length: Int
get() = noImpl
fun item(index: Int): CSSRule? = noImpl
fun item(index: Int): CSSRule?
@nativeGetter
operator fun get(index: Int): CSSRule? = noImpl
operator fun get(index: Int): CSSRule?
}
public external abstract class CSSRule {
open val type: Short
get() = noImpl
open var cssText: String
get() = noImpl
set(value) = noImpl
open val parentRule: CSSRule?
get() = noImpl
open val parentStyleSheet: CSSStyleSheet?
get() = noImpl
companion object {
val STYLE_RULE: Short = 1
val CHARSET_RULE: Short = 2
val IMPORT_RULE: Short = 3
val MEDIA_RULE: Short = 4
val FONT_FACE_RULE: Short = 5
val PAGE_RULE: Short = 6
val MARGIN_RULE: Short = 9
val NAMESPACE_RULE: Short = 10
val STYLE_RULE: Short
val CHARSET_RULE: Short
val IMPORT_RULE: Short
val MEDIA_RULE: Short
val FONT_FACE_RULE: Short
val PAGE_RULE: Short
val MARGIN_RULE: Short
val NAMESPACE_RULE: Short
}
}
public external abstract class CSSStyleRule : CSSRule() {
open var selectorText: String
get() = noImpl
set(value) = noImpl
open val style: CSSStyleDeclaration
get() = noImpl
}
public external abstract class CSSImportRule : CSSRule() {
open val href: String
get() = noImpl
open val media: MediaList
get() = noImpl
open val styleSheet: CSSStyleSheet
get() = noImpl
}
public external abstract class CSSGroupingRule : CSSRule() {
open val cssRules: CSSRuleList
get() = noImpl
fun insertRule(rule: String, index: Int): Int = noImpl
fun deleteRule(index: Int): Unit = noImpl
fun insertRule(rule: String, index: Int): Int
fun deleteRule(index: Int): Unit
}
public external abstract class CSSMediaRule : CSSGroupingRule() {
open val media: MediaList
get() = noImpl
}
public external abstract class CSSPageRule : CSSGroupingRule() {
open var selectorText: String
get() = noImpl
set(value) = noImpl
open val style: CSSStyleDeclaration
get() = noImpl
}
public external abstract class CSSMarginRule : CSSRule() {
open val name: String
get() = noImpl
open val style: CSSStyleDeclaration
get() = noImpl
}
public external abstract class CSSNamespaceRule : CSSRule() {
open val namespaceURI: String
get() = noImpl
open val prefix: String
get() = noImpl
}
public external interface ElementCSSInlineStyle {
val style: CSSStyleDeclaration
get() = noImpl
}
public external abstract class CSS {
companion object {
fun escape(ident: String): String = noImpl
fun escape(ident: String): String
}
}
@@ -22,14 +22,16 @@ import org.w3c.xhr.*
public external open class UIEvent(type: String, eventInitDict: UIEventInit = noImpl) : Event(type, eventInitDict) {
open val view: Window?
get() = noImpl
open val detail: Int
get() = noImpl
}
public external interface UIEventInit : EventInit {
var view: Window? /* = null */
get() = noImpl
set(value) = noImpl
var detail: Int? /* = 0 */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -47,11 +49,12 @@ public inline fun UIEventInit(view: Window? = null, detail: Int? = 0, bubbles: B
public external open class FocusEvent(type: String, eventInitDict: FocusEventInit = noImpl) : UIEvent(type, eventInitDict) {
open val relatedTarget: EventTarget?
get() = noImpl
}
public external interface FocusEventInit : UIEventInit {
var relatedTarget: EventTarget? /* = null */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -70,48 +73,46 @@ public inline fun FocusEventInit(relatedTarget: EventTarget? = null, view: Windo
public external open class MouseEvent(type: String, eventInitDict: MouseEventInit = noImpl) : UIEvent(type, eventInitDict), UnionElementOrMouseEvent {
open val region: String?
get() = noImpl
open val screenX: Int
get() = noImpl
open val screenY: Int
get() = noImpl
open val pageX: Double
get() = noImpl
open val pageY: Double
get() = noImpl
open val clientX: Int
get() = noImpl
open val clientY: Int
get() = noImpl
open val offsetX: Double
get() = noImpl
open val offsetY: Double
get() = noImpl
open val ctrlKey: Boolean
get() = noImpl
open val shiftKey: Boolean
get() = noImpl
open val altKey: Boolean
get() = noImpl
open val metaKey: Boolean
get() = noImpl
open val button: Short
get() = noImpl
open val buttons: Short
get() = noImpl
open val relatedTarget: EventTarget?
get() = noImpl
fun getModifierState(keyArg: String): Boolean = noImpl
fun getModifierState(keyArg: String): Boolean
}
public external interface MouseEventInit : EventModifierInit {
var screenX: Int? /* = 0 */
get() = noImpl
set(value) = noImpl
var screenY: Int? /* = 0 */
get() = noImpl
set(value) = noImpl
var clientX: Int? /* = 0 */
get() = noImpl
set(value) = noImpl
var clientY: Int? /* = 0 */
get() = noImpl
set(value) = noImpl
var button: Short? /* = 0 */
get() = noImpl
set(value) = noImpl
var buttons: Short? /* = 0 */
get() = noImpl
set(value) = noImpl
var relatedTarget: EventTarget? /* = null */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -150,19 +151,47 @@ public inline fun MouseEventInit(screenX: Int? = 0, screenY: Int? = 0, clientX:
public external interface EventModifierInit : UIEventInit {
var ctrlKey: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var shiftKey: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var altKey: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var metaKey: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var modifierAltGraph: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var modifierCapsLock: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var modifierFn: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var modifierFnLock: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var modifierHyper: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var modifierNumLock: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var modifierScrollLock: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var modifierSuper: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var modifierSymbol: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var modifierSymbolLock: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -194,26 +223,30 @@ public inline fun EventModifierInit(ctrlKey: Boolean? = false, shiftKey: Boolean
public external open class WheelEvent(type: String, eventInitDict: WheelEventInit = noImpl) : MouseEvent(type, eventInitDict) {
open val deltaX: Double
get() = noImpl
open val deltaY: Double
get() = noImpl
open val deltaZ: Double
get() = noImpl
open val deltaMode: Int
get() = noImpl
companion object {
val DOM_DELTA_PIXEL: Int = 0x00
val DOM_DELTA_LINE: Int = 0x01
val DOM_DELTA_PAGE: Int = 0x02
val DOM_DELTA_PIXEL: Int
val DOM_DELTA_LINE: Int
val DOM_DELTA_PAGE: Int
}
}
public external interface WheelEventInit : MouseEventInit {
var deltaX: Double? /* = 0.0 */
get() = noImpl
set(value) = noImpl
var deltaY: Double? /* = 0.0 */
get() = noImpl
set(value) = noImpl
var deltaZ: Double? /* = 0.0 */
get() = noImpl
set(value) = noImpl
var deltaMode: Int? /* = 0 */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -256,14 +289,16 @@ public inline fun WheelEventInit(deltaX: Double? = 0.0, deltaY: Double? = 0.0, d
public external open class InputEvent(type: String, eventInitDict: InputEventInit = noImpl) : UIEvent(type, eventInitDict) {
open val data: String
get() = noImpl
open val isComposing: Boolean
get() = noImpl
}
public external interface InputEventInit : UIEventInit {
var data: String? /* = "" */
get() = noImpl
set(value) = noImpl
var isComposing: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -283,45 +318,43 @@ public inline fun InputEventInit(data: String? = "", isComposing: Boolean? = fal
public external open class KeyboardEvent(type: String, eventInitDict: KeyboardEventInit = noImpl) : UIEvent(type, eventInitDict) {
open val key: String
get() = noImpl
open val code: String
get() = noImpl
open val location: Int
get() = noImpl
open val ctrlKey: Boolean
get() = noImpl
open val shiftKey: Boolean
get() = noImpl
open val altKey: Boolean
get() = noImpl
open val metaKey: Boolean
get() = noImpl
open val repeat: Boolean
get() = noImpl
open val isComposing: Boolean
get() = noImpl
open val charCode: Int
get() = noImpl
open val keyCode: Int
get() = noImpl
open val which: Int
get() = noImpl
fun getModifierState(keyArg: String): Boolean = noImpl
fun getModifierState(keyArg: String): Boolean
companion object {
val DOM_KEY_LOCATION_STANDARD: Int = 0x00
val DOM_KEY_LOCATION_LEFT: Int = 0x01
val DOM_KEY_LOCATION_RIGHT: Int = 0x02
val DOM_KEY_LOCATION_NUMPAD: Int = 0x03
val DOM_KEY_LOCATION_STANDARD: Int
val DOM_KEY_LOCATION_LEFT: Int
val DOM_KEY_LOCATION_RIGHT: Int
val DOM_KEY_LOCATION_NUMPAD: Int
}
}
public external interface KeyboardEventInit : EventModifierInit {
var key: String? /* = "" */
get() = noImpl
set(value) = noImpl
var code: String? /* = "" */
get() = noImpl
set(value) = noImpl
var location: Int? /* = 0 */
get() = noImpl
set(value) = noImpl
var repeat: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var isComposing: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -358,11 +391,12 @@ public inline fun KeyboardEventInit(key: String? = "", code: String? = "", locat
public external open class CompositionEvent(type: String, eventInitDict: CompositionEventInit = noImpl) : UIEvent(type, eventInitDict) {
open val data: String
get() = noImpl
}
public external interface CompositionEventInit : UIEventInit {
var data: String? /* = "" */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -381,48 +415,38 @@ public inline fun CompositionEventInit(data: String? = "", view: Window? = null,
public external open class Event(type: String, eventInitDict: EventInit = noImpl) {
open val type: String
get() = noImpl
open val target: EventTarget?
get() = noImpl
open val currentTarget: EventTarget?
get() = noImpl
open val eventPhase: Short
get() = noImpl
open val bubbles: Boolean
get() = noImpl
open val cancelable: Boolean
get() = noImpl
open val defaultPrevented: Boolean
get() = noImpl
open val composed: Boolean
get() = noImpl
open val isTrusted: Boolean
get() = noImpl
open val timeStamp: Number
get() = noImpl
fun composedPath(): Array<EventTarget> = noImpl
fun stopPropagation(): Unit = noImpl
fun stopImmediatePropagation(): Unit = noImpl
fun preventDefault(): Unit = noImpl
fun initEvent(type: String, bubbles: Boolean, cancelable: Boolean): Unit = noImpl
fun composedPath(): Array<EventTarget>
fun stopPropagation(): Unit
fun stopImmediatePropagation(): Unit
fun preventDefault(): Unit
fun initEvent(type: String, bubbles: Boolean, cancelable: Boolean): Unit
companion object {
val NONE: Short = 0
val CAPTURING_PHASE: Short = 1
val AT_TARGET: Short = 2
val BUBBLING_PHASE: Short = 3
val NONE: Short
val CAPTURING_PHASE: Short
val AT_TARGET: Short
val BUBBLING_PHASE: Short
}
}
public external abstract class EventTarget {
fun addEventListener(type: String, callback: EventListener?, options: dynamic = noImpl): Unit = noImpl
fun addEventListener(type: String, callback: ((Event) -> Unit)?, options: dynamic = noImpl): Unit = noImpl
fun removeEventListener(type: String, callback: EventListener?, options: dynamic = noImpl): Unit = noImpl
fun removeEventListener(type: String, callback: ((Event) -> Unit)?, options: dynamic = noImpl): Unit = noImpl
fun dispatchEvent(event: Event): Boolean = noImpl
fun addEventListener(type: String, callback: EventListener?, options: dynamic = noImpl): Unit
fun addEventListener(type: String, callback: ((Event) -> Unit)?, options: dynamic = noImpl): Unit
fun removeEventListener(type: String, callback: EventListener?, options: dynamic = noImpl): Unit
fun removeEventListener(type: String, callback: ((Event) -> Unit)?, options: dynamic = noImpl): Unit
fun dispatchEvent(event: Event): Boolean
}
public external interface EventListener {
fun handleEvent(event: Event): Unit = noImpl
fun handleEvent(event: Event): Unit
}
File diff suppressed because it is too large Load Diff
@@ -21,10 +21,10 @@ import org.w3c.workers.*
import org.w3c.xhr.*
public external open class DOMParser {
fun parseFromString(str: String, type: dynamic): Document = noImpl
fun parseFromString(str: String, type: dynamic): Document
}
public external open class XMLSerializer {
fun serializeToString(root: Node): String = noImpl
fun serializeToString(root: Node): String
}
+192 -361
View File
@@ -22,23 +22,26 @@ import org.w3c.xhr.*
public external abstract class SVGElement : Element(), ElementCSSInlineStyle, GlobalEventHandlers, SVGElementInstance {
open val dataset: DOMStringMap
get() = noImpl
open val ownerSVGElement: SVGSVGElement?
get() = noImpl
open val viewportElement: SVGElement?
get() = noImpl
open var tabIndex: Int
get() = noImpl
set(value) = noImpl
fun focus(): Unit = noImpl
fun blur(): Unit = noImpl
fun focus(): Unit
fun blur(): Unit
}
public external interface SVGBoundingBoxOptions {
var fill: Boolean? /* = true */
get() = noImpl
set(value) = noImpl
var stroke: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var markers: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var clipped: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -55,305 +58,240 @@ public inline fun SVGBoundingBoxOptions(fill: Boolean? = true, stroke: Boolean?
public external abstract class SVGGraphicsElement : SVGElement(), SVGTests {
open val transform: SVGAnimatedTransformList
get() = noImpl
fun getBBox(options: SVGBoundingBoxOptions = noImpl): DOMRect = noImpl
fun getCTM(): DOMMatrix? = noImpl
fun getScreenCTM(): DOMMatrix? = noImpl
fun getBBox(options: SVGBoundingBoxOptions = noImpl): DOMRect
fun getCTM(): DOMMatrix?
fun getScreenCTM(): DOMMatrix?
}
public external abstract class SVGGeometryElement : SVGGraphicsElement() {
open val pathLength: SVGAnimatedNumber
get() = noImpl
fun isPointInFill(point: DOMPoint): Boolean = noImpl
fun isPointInStroke(point: DOMPoint): Boolean = noImpl
fun getTotalLength(): Float = noImpl
fun getPointAtLength(distance: Float): DOMPoint = noImpl
fun isPointInFill(point: DOMPoint): Boolean
fun isPointInStroke(point: DOMPoint): Boolean
fun getTotalLength(): Float
fun getPointAtLength(distance: Float): DOMPoint
}
public external abstract class SVGNumber {
open var value: Float
get() = noImpl
set(value) = noImpl
}
public external abstract class SVGLength {
open val unitType: Short
get() = noImpl
open var value: Float
get() = noImpl
set(value) = noImpl
open var valueInSpecifiedUnits: Float
get() = noImpl
set(value) = noImpl
open var valueAsString: String
get() = noImpl
set(value) = noImpl
fun newValueSpecifiedUnits(unitType: Short, valueInSpecifiedUnits: Float): Unit = noImpl
fun convertToSpecifiedUnits(unitType: Short): Unit = noImpl
fun newValueSpecifiedUnits(unitType: Short, valueInSpecifiedUnits: Float): Unit
fun convertToSpecifiedUnits(unitType: Short): Unit
companion object {
val SVG_LENGTHTYPE_UNKNOWN: Short = 0
val SVG_LENGTHTYPE_NUMBER: Short = 1
val SVG_LENGTHTYPE_PERCENTAGE: Short = 2
val SVG_LENGTHTYPE_EMS: Short = 3
val SVG_LENGTHTYPE_EXS: Short = 4
val SVG_LENGTHTYPE_PX: Short = 5
val SVG_LENGTHTYPE_CM: Short = 6
val SVG_LENGTHTYPE_MM: Short = 7
val SVG_LENGTHTYPE_IN: Short = 8
val SVG_LENGTHTYPE_PT: Short = 9
val SVG_LENGTHTYPE_PC: Short = 10
val SVG_LENGTHTYPE_UNKNOWN: Short
val SVG_LENGTHTYPE_NUMBER: Short
val SVG_LENGTHTYPE_PERCENTAGE: Short
val SVG_LENGTHTYPE_EMS: Short
val SVG_LENGTHTYPE_EXS: Short
val SVG_LENGTHTYPE_PX: Short
val SVG_LENGTHTYPE_CM: Short
val SVG_LENGTHTYPE_MM: Short
val SVG_LENGTHTYPE_IN: Short
val SVG_LENGTHTYPE_PT: Short
val SVG_LENGTHTYPE_PC: Short
}
}
public external abstract class SVGAngle {
open val unitType: Short
get() = noImpl
open var value: Float
get() = noImpl
set(value) = noImpl
open var valueInSpecifiedUnits: Float
get() = noImpl
set(value) = noImpl
open var valueAsString: String
get() = noImpl
set(value) = noImpl
fun newValueSpecifiedUnits(unitType: Short, valueInSpecifiedUnits: Float): Unit = noImpl
fun convertToSpecifiedUnits(unitType: Short): Unit = noImpl
fun newValueSpecifiedUnits(unitType: Short, valueInSpecifiedUnits: Float): Unit
fun convertToSpecifiedUnits(unitType: Short): Unit
companion object {
val SVG_ANGLETYPE_UNKNOWN: Short = 0
val SVG_ANGLETYPE_UNSPECIFIED: Short = 1
val SVG_ANGLETYPE_DEG: Short = 2
val SVG_ANGLETYPE_RAD: Short = 3
val SVG_ANGLETYPE_GRAD: Short = 4
val SVG_ANGLETYPE_UNKNOWN: Short
val SVG_ANGLETYPE_UNSPECIFIED: Short
val SVG_ANGLETYPE_DEG: Short
val SVG_ANGLETYPE_RAD: Short
val SVG_ANGLETYPE_GRAD: Short
}
}
public external abstract class SVGNameList {
open val length: Int
get() = noImpl
open val numberOfItems: Int
get() = noImpl
fun clear(): Unit = noImpl
fun initialize(newItem: dynamic): dynamic = noImpl
fun getItem(index: Int): dynamic = noImpl
fun clear(): Unit
fun initialize(newItem: dynamic): dynamic
fun getItem(index: Int): dynamic
@nativeGetter
operator fun get(index: Int): dynamic = noImpl
fun insertItemBefore(newItem: dynamic, index: Int): dynamic = noImpl
fun replaceItem(newItem: dynamic, index: Int): dynamic = noImpl
fun removeItem(index: Int): dynamic = noImpl
fun appendItem(newItem: dynamic): dynamic = noImpl
operator fun get(index: Int): dynamic
fun insertItemBefore(newItem: dynamic, index: Int): dynamic
fun replaceItem(newItem: dynamic, index: Int): dynamic
fun removeItem(index: Int): dynamic
fun appendItem(newItem: dynamic): dynamic
@nativeSetter
operator fun set(index: Int, newItem: dynamic): Unit = noImpl
operator fun set(index: Int, newItem: dynamic): Unit
}
public external abstract class SVGNumberList {
open val length: Int
get() = noImpl
open val numberOfItems: Int
get() = noImpl
fun clear(): Unit = noImpl
fun initialize(newItem: SVGNumber): SVGNumber = noImpl
fun getItem(index: Int): SVGNumber = noImpl
fun clear(): Unit
fun initialize(newItem: SVGNumber): SVGNumber
fun getItem(index: Int): SVGNumber
@nativeGetter
operator fun get(index: Int): SVGNumber? = noImpl
fun insertItemBefore(newItem: SVGNumber, index: Int): SVGNumber = noImpl
fun replaceItem(newItem: SVGNumber, index: Int): SVGNumber = noImpl
fun removeItem(index: Int): SVGNumber = noImpl
fun appendItem(newItem: SVGNumber): SVGNumber = noImpl
operator fun get(index: Int): SVGNumber?
fun insertItemBefore(newItem: SVGNumber, index: Int): SVGNumber
fun replaceItem(newItem: SVGNumber, index: Int): SVGNumber
fun removeItem(index: Int): SVGNumber
fun appendItem(newItem: SVGNumber): SVGNumber
@nativeSetter
operator fun set(index: Int, newItem: SVGNumber): Unit = noImpl
operator fun set(index: Int, newItem: SVGNumber): Unit
}
public external abstract class SVGLengthList {
open val length: Int
get() = noImpl
open val numberOfItems: Int
get() = noImpl
fun clear(): Unit = noImpl
fun initialize(newItem: SVGLength): SVGLength = noImpl
fun getItem(index: Int): SVGLength = noImpl
fun clear(): Unit
fun initialize(newItem: SVGLength): SVGLength
fun getItem(index: Int): SVGLength
@nativeGetter
operator fun get(index: Int): SVGLength? = noImpl
fun insertItemBefore(newItem: SVGLength, index: Int): SVGLength = noImpl
fun replaceItem(newItem: SVGLength, index: Int): SVGLength = noImpl
fun removeItem(index: Int): SVGLength = noImpl
fun appendItem(newItem: SVGLength): SVGLength = noImpl
operator fun get(index: Int): SVGLength?
fun insertItemBefore(newItem: SVGLength, index: Int): SVGLength
fun replaceItem(newItem: SVGLength, index: Int): SVGLength
fun removeItem(index: Int): SVGLength
fun appendItem(newItem: SVGLength): SVGLength
@nativeSetter
operator fun set(index: Int, newItem: SVGLength): Unit = noImpl
operator fun set(index: Int, newItem: SVGLength): Unit
}
public external abstract class SVGAnimatedBoolean {
open var baseVal: Boolean
get() = noImpl
set(value) = noImpl
open val animVal: Boolean
get() = noImpl
}
public external abstract class SVGAnimatedEnumeration {
open var baseVal: Short
get() = noImpl
set(value) = noImpl
open val animVal: Short
get() = noImpl
}
public external abstract class SVGAnimatedInteger {
open var baseVal: Int
get() = noImpl
set(value) = noImpl
open val animVal: Int
get() = noImpl
}
public external abstract class SVGAnimatedNumber {
open var baseVal: Float
get() = noImpl
set(value) = noImpl
open val animVal: Float
get() = noImpl
}
public external abstract class SVGAnimatedLength {
open val baseVal: SVGLength
get() = noImpl
open val animVal: SVGLength
get() = noImpl
}
public external abstract class SVGAnimatedAngle {
open val baseVal: SVGAngle
get() = noImpl
open val animVal: SVGAngle
get() = noImpl
}
public external abstract class SVGAnimatedString {
open var baseVal: String
get() = noImpl
set(value) = noImpl
open val animVal: String
get() = noImpl
}
public external abstract class SVGAnimatedRect {
open val baseVal: DOMRect
get() = noImpl
open val animVal: DOMRectReadOnly
get() = noImpl
}
public external abstract class SVGAnimatedNumberList {
open val baseVal: SVGNumberList
get() = noImpl
open val animVal: SVGNumberList
get() = noImpl
}
public external abstract class SVGAnimatedLengthList {
open val baseVal: SVGLengthList
get() = noImpl
open val animVal: SVGLengthList
get() = noImpl
}
public external abstract class SVGStringList {
open val length: Int
get() = noImpl
open val numberOfItems: Int
get() = noImpl
fun clear(): Unit = noImpl
fun initialize(newItem: String): String = noImpl
fun getItem(index: Int): String = noImpl
fun clear(): Unit
fun initialize(newItem: String): String
fun getItem(index: Int): String
@nativeGetter
operator fun get(index: Int): String? = noImpl
fun insertItemBefore(newItem: String, index: Int): String = noImpl
fun replaceItem(newItem: String, index: Int): String = noImpl
fun removeItem(index: Int): String = noImpl
fun appendItem(newItem: String): String = noImpl
operator fun get(index: Int): String?
fun insertItemBefore(newItem: String, index: Int): String
fun replaceItem(newItem: String, index: Int): String
fun removeItem(index: Int): String
fun appendItem(newItem: String): String
@nativeSetter
operator fun set(index: Int, newItem: String): Unit = noImpl
operator fun set(index: Int, newItem: String): Unit
}
public external interface SVGUnitTypes {
companion object {
val SVG_UNIT_TYPE_UNKNOWN: Short = 0
val SVG_UNIT_TYPE_USERSPACEONUSE: Short = 1
val SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: Short = 2
val SVG_UNIT_TYPE_UNKNOWN: Short
val SVG_UNIT_TYPE_USERSPACEONUSE: Short
val SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: Short
}
}
public external interface SVGTests {
val requiredExtensions: SVGStringList
get() = noImpl
val systemLanguage: SVGStringList
get() = noImpl
}
public external interface SVGFitToViewBox {
val viewBox: SVGAnimatedRect
get() = noImpl
val preserveAspectRatio: SVGAnimatedPreserveAspectRatio
get() = noImpl
}
public external interface SVGZoomAndPan {
var zoomAndPan: Short
get() = noImpl
set(value) = noImpl
companion object {
val SVG_ZOOMANDPAN_UNKNOWN: Short = 0
val SVG_ZOOMANDPAN_DISABLE: Short = 1
val SVG_ZOOMANDPAN_MAGNIFY: Short = 2
val SVG_ZOOMANDPAN_UNKNOWN: Short
val SVG_ZOOMANDPAN_DISABLE: Short
val SVG_ZOOMANDPAN_MAGNIFY: Short
}
}
public external interface SVGURIReference {
val href: SVGAnimatedString
get() = noImpl
}
public external abstract class SVGSVGElement : SVGGraphicsElement(), SVGFitToViewBox, SVGZoomAndPan, WindowEventHandlers {
open val x: SVGAnimatedLength
get() = noImpl
open val y: SVGAnimatedLength
get() = noImpl
open val width: SVGAnimatedLength
get() = noImpl
open val height: SVGAnimatedLength
get() = noImpl
open var currentScale: Float
get() = noImpl
set(value) = noImpl
open val currentTranslate: DOMPointReadOnly
get() = noImpl
fun getIntersectionList(rect: DOMRectReadOnly, referenceElement: SVGElement?): NodeList = noImpl
fun getEnclosureList(rect: DOMRectReadOnly, referenceElement: SVGElement?): NodeList = noImpl
fun checkIntersection(element: SVGElement, rect: DOMRectReadOnly): Boolean = noImpl
fun checkEnclosure(element: SVGElement, rect: DOMRectReadOnly): Boolean = noImpl
fun deselectAll(): Unit = noImpl
fun createSVGNumber(): SVGNumber = noImpl
fun createSVGLength(): SVGLength = noImpl
fun createSVGAngle(): SVGAngle = noImpl
fun createSVGPoint(): DOMPoint = noImpl
fun createSVGMatrix(): DOMMatrix = noImpl
fun createSVGRect(): DOMRect = noImpl
fun createSVGTransform(): SVGTransform = noImpl
fun createSVGTransformFromMatrix(matrix: DOMMatrixReadOnly): SVGTransform = noImpl
fun getElementById(elementId: String): Element = noImpl
fun suspendRedraw(maxWaitMilliseconds: Int): Int = noImpl
fun unsuspendRedraw(suspendHandleID: Int): Unit = noImpl
fun unsuspendRedrawAll(): Unit = noImpl
fun forceRedraw(): Unit = noImpl
fun getIntersectionList(rect: DOMRectReadOnly, referenceElement: SVGElement?): NodeList
fun getEnclosureList(rect: DOMRectReadOnly, referenceElement: SVGElement?): NodeList
fun checkIntersection(element: SVGElement, rect: DOMRectReadOnly): Boolean
fun checkEnclosure(element: SVGElement, rect: DOMRectReadOnly): Boolean
fun deselectAll(): Unit
fun createSVGNumber(): SVGNumber
fun createSVGLength(): SVGLength
fun createSVGAngle(): SVGAngle
fun createSVGPoint(): DOMPoint
fun createSVGMatrix(): DOMMatrix
fun createSVGRect(): DOMRect
fun createSVGTransform(): SVGTransform
fun createSVGTransformFromMatrix(matrix: DOMMatrixReadOnly): SVGTransform
fun getElementById(elementId: String): Element
fun suspendRedraw(maxWaitMilliseconds: Int): Int
fun unsuspendRedraw(suspendHandleID: Int): Unit
fun unsuspendRedrawAll(): Unit
fun forceRedraw(): Unit
companion object {
val SVG_ZOOMANDPAN_UNKNOWN: Short = 0
val SVG_ZOOMANDPAN_DISABLE: Short = 1
val SVG_ZOOMANDPAN_MAGNIFY: Short = 2
val SVG_ZOOMANDPAN_UNKNOWN: Short
val SVG_ZOOMANDPAN_DISABLE: Short
val SVG_ZOOMANDPAN_MAGNIFY: Short
}
}
@@ -380,136 +318,113 @@ public external abstract class SVGSymbolElement : SVGGraphicsElement(), SVGFitTo
public external abstract class SVGUseElement : SVGGraphicsElement(), SVGURIReference {
open val x: SVGAnimatedLength
get() = noImpl
open val y: SVGAnimatedLength
get() = noImpl
open val width: SVGAnimatedLength
get() = noImpl
open val height: SVGAnimatedLength
get() = noImpl
open val instanceRoot: SVGElement?
get() = noImpl
open val animatedInstanceRoot: SVGElement?
get() = noImpl
}
public external open class SVGUseElementShadowRoot : ShadowRoot() {
override fun getElementById(elementId: String): Element?
override fun prepend(vararg nodes: dynamic): Unit
override fun append(vararg nodes: dynamic): Unit
override fun querySelector(selectors: String): Element?
override fun querySelectorAll(selectors: String): NodeList
}
public external interface SVGElementInstance {
val correspondingElement: SVGElement?
get() = noImpl
val correspondingUseElement: SVGUseElement?
get() = noImpl
}
public external open class ShadowAnimation(source: dynamic, newTarget: dynamic) {
open val sourceAnimation: dynamic
get() = noImpl
}
public external abstract class SVGSwitchElement : SVGGraphicsElement() {
}
public external interface GetSVGDocument {
fun getSVGDocument(): Document = noImpl
fun getSVGDocument(): Document
}
public external abstract class SVGStyleElement : SVGElement(), LinkStyle {
open var type: String
get() = noImpl
set(value) = noImpl
open var media: String
get() = noImpl
set(value) = noImpl
open var title: String
get() = noImpl
set(value) = noImpl
}
public external abstract class SVGTransform {
open val type: Short
get() = noImpl
open val matrix: DOMMatrix
get() = noImpl
open val angle: Float
get() = noImpl
fun setMatrix(matrix: DOMMatrixReadOnly): Unit = noImpl
fun setTranslate(tx: Float, ty: Float): Unit = noImpl
fun setScale(sx: Float, sy: Float): Unit = noImpl
fun setRotate(angle: Float, cx: Float, cy: Float): Unit = noImpl
fun setSkewX(angle: Float): Unit = noImpl
fun setSkewY(angle: Float): Unit = noImpl
fun setMatrix(matrix: DOMMatrixReadOnly): Unit
fun setTranslate(tx: Float, ty: Float): Unit
fun setScale(sx: Float, sy: Float): Unit
fun setRotate(angle: Float, cx: Float, cy: Float): Unit
fun setSkewX(angle: Float): Unit
fun setSkewY(angle: Float): Unit
companion object {
val SVG_TRANSFORM_UNKNOWN: Short = 0
val SVG_TRANSFORM_MATRIX: Short = 1
val SVG_TRANSFORM_TRANSLATE: Short = 2
val SVG_TRANSFORM_SCALE: Short = 3
val SVG_TRANSFORM_ROTATE: Short = 4
val SVG_TRANSFORM_SKEWX: Short = 5
val SVG_TRANSFORM_SKEWY: Short = 6
val SVG_TRANSFORM_UNKNOWN: Short
val SVG_TRANSFORM_MATRIX: Short
val SVG_TRANSFORM_TRANSLATE: Short
val SVG_TRANSFORM_SCALE: Short
val SVG_TRANSFORM_ROTATE: Short
val SVG_TRANSFORM_SKEWX: Short
val SVG_TRANSFORM_SKEWY: Short
}
}
public external abstract class SVGTransformList {
open val length: Int
get() = noImpl
open val numberOfItems: Int
get() = noImpl
fun clear(): Unit = noImpl
fun initialize(newItem: SVGTransform): SVGTransform = noImpl
fun getItem(index: Int): SVGTransform = noImpl
fun clear(): Unit
fun initialize(newItem: SVGTransform): SVGTransform
fun getItem(index: Int): SVGTransform
@nativeGetter
operator fun get(index: Int): SVGTransform? = noImpl
fun insertItemBefore(newItem: SVGTransform, index: Int): SVGTransform = noImpl
fun replaceItem(newItem: SVGTransform, index: Int): SVGTransform = noImpl
fun removeItem(index: Int): SVGTransform = noImpl
fun appendItem(newItem: SVGTransform): SVGTransform = noImpl
operator fun get(index: Int): SVGTransform?
fun insertItemBefore(newItem: SVGTransform, index: Int): SVGTransform
fun replaceItem(newItem: SVGTransform, index: Int): SVGTransform
fun removeItem(index: Int): SVGTransform
fun appendItem(newItem: SVGTransform): SVGTransform
@nativeSetter
operator fun set(index: Int, newItem: SVGTransform): Unit = noImpl
fun createSVGTransformFromMatrix(matrix: DOMMatrixReadOnly): SVGTransform = noImpl
fun consolidate(): SVGTransform? = noImpl
operator fun set(index: Int, newItem: SVGTransform): Unit
fun createSVGTransformFromMatrix(matrix: DOMMatrixReadOnly): SVGTransform
fun consolidate(): SVGTransform?
}
public external abstract class SVGAnimatedTransformList {
open val baseVal: SVGTransformList
get() = noImpl
open val animVal: SVGTransformList
get() = noImpl
}
public external abstract class SVGPreserveAspectRatio {
open var align: Short
get() = noImpl
set(value) = noImpl
open var meetOrSlice: Short
get() = noImpl
set(value) = noImpl
companion object {
val SVG_PRESERVEASPECTRATIO_UNKNOWN: Short = 0
val SVG_PRESERVEASPECTRATIO_NONE: Short = 1
val SVG_PRESERVEASPECTRATIO_XMINYMIN: Short = 2
val SVG_PRESERVEASPECTRATIO_XMIDYMIN: Short = 3
val SVG_PRESERVEASPECTRATIO_XMAXYMIN: Short = 4
val SVG_PRESERVEASPECTRATIO_XMINYMID: Short = 5
val SVG_PRESERVEASPECTRATIO_XMIDYMID: Short = 6
val SVG_PRESERVEASPECTRATIO_XMAXYMID: Short = 7
val SVG_PRESERVEASPECTRATIO_XMINYMAX: Short = 8
val SVG_PRESERVEASPECTRATIO_XMIDYMAX: Short = 9
val SVG_PRESERVEASPECTRATIO_XMAXYMAX: Short = 10
val SVG_MEETORSLICE_UNKNOWN: Short = 0
val SVG_MEETORSLICE_MEET: Short = 1
val SVG_MEETORSLICE_SLICE: Short = 2
val SVG_PRESERVEASPECTRATIO_UNKNOWN: Short
val SVG_PRESERVEASPECTRATIO_NONE: Short
val SVG_PRESERVEASPECTRATIO_XMINYMIN: Short
val SVG_PRESERVEASPECTRATIO_XMIDYMIN: Short
val SVG_PRESERVEASPECTRATIO_XMAXYMIN: Short
val SVG_PRESERVEASPECTRATIO_XMINYMID: Short
val SVG_PRESERVEASPECTRATIO_XMIDYMID: Short
val SVG_PRESERVEASPECTRATIO_XMAXYMID: Short
val SVG_PRESERVEASPECTRATIO_XMINYMAX: Short
val SVG_PRESERVEASPECTRATIO_XMIDYMAX: Short
val SVG_PRESERVEASPECTRATIO_XMAXYMAX: Short
val SVG_MEETORSLICE_UNKNOWN: Short
val SVG_MEETORSLICE_MEET: Short
val SVG_MEETORSLICE_SLICE: Short
}
}
public external abstract class SVGAnimatedPreserveAspectRatio {
open val baseVal: SVGPreserveAspectRatio
get() = noImpl
open val animVal: SVGPreserveAspectRatio
get() = noImpl
}
public external abstract class SVGPathElement : SVGGeometryElement() {
@@ -517,48 +432,31 @@ public external abstract class SVGPathElement : SVGGeometryElement() {
public external abstract class SVGRectElement : SVGGeometryElement() {
open val x: SVGAnimatedLength
get() = noImpl
open val y: SVGAnimatedLength
get() = noImpl
open val width: SVGAnimatedLength
get() = noImpl
open val height: SVGAnimatedLength
get() = noImpl
open val rx: SVGAnimatedLength
get() = noImpl
open val ry: SVGAnimatedLength
get() = noImpl
}
public external abstract class SVGCircleElement : SVGGeometryElement() {
open val cx: SVGAnimatedLength
get() = noImpl
open val cy: SVGAnimatedLength
get() = noImpl
open val r: SVGAnimatedLength
get() = noImpl
}
public external abstract class SVGEllipseElement : SVGGeometryElement() {
open val cx: SVGAnimatedLength
get() = noImpl
open val cy: SVGAnimatedLength
get() = noImpl
open val rx: SVGAnimatedLength
get() = noImpl
open val ry: SVGAnimatedLength
get() = noImpl
}
public external abstract class SVGLineElement : SVGGeometryElement() {
open val x1: SVGAnimatedLength
get() = noImpl
open val y1: SVGAnimatedLength
get() = noImpl
open val x2: SVGAnimatedLength
get() = noImpl
open val y2: SVGAnimatedLength
get() = noImpl
}
public external abstract class SVGMeshElement : SVGGeometryElement(), SVGURIReference {
@@ -566,27 +464,23 @@ public external abstract class SVGMeshElement : SVGGeometryElement(), SVGURIRefe
public external interface SVGAnimatedPoints {
val points: SVGPointList
get() = noImpl
val animatedPoints: SVGPointList
get() = noImpl
}
public external abstract class SVGPointList {
open val length: Int
get() = noImpl
open val numberOfItems: Int
get() = noImpl
fun clear(): Unit = noImpl
fun initialize(newItem: DOMPoint): DOMPoint = noImpl
fun getItem(index: Int): DOMPoint = noImpl
fun clear(): Unit
fun initialize(newItem: DOMPoint): DOMPoint
fun getItem(index: Int): DOMPoint
@nativeGetter
operator fun get(index: Int): DOMPoint? = noImpl
fun insertItemBefore(newItem: DOMPoint, index: Int): DOMPoint = noImpl
fun replaceItem(newItem: DOMPoint, index: Int): DOMPoint = noImpl
fun removeItem(index: Int): DOMPoint = noImpl
fun appendItem(newItem: DOMPoint): DOMPoint = noImpl
operator fun get(index: Int): DOMPoint?
fun insertItemBefore(newItem: DOMPoint, index: Int): DOMPoint
fun replaceItem(newItem: DOMPoint, index: Int): DOMPoint
fun removeItem(index: Int): DOMPoint
fun appendItem(newItem: DOMPoint): DOMPoint
@nativeSetter
operator fun set(index: Int, newItem: DOMPoint): Unit = noImpl
operator fun set(index: Int, newItem: DOMPoint): Unit
}
public external abstract class SVGPolylineElement : SVGGeometryElement(), SVGAnimatedPoints {
@@ -597,37 +491,30 @@ public external abstract class SVGPolygonElement : SVGGeometryElement(), SVGAnim
public external abstract class SVGTextContentElement : SVGGraphicsElement() {
open val textLength: SVGAnimatedLength
get() = noImpl
open val lengthAdjust: SVGAnimatedEnumeration
get() = noImpl
fun getNumberOfChars(): Int = noImpl
fun getComputedTextLength(): Float = noImpl
fun getSubStringLength(charnum: Int, nchars: Int): Float = noImpl
fun getStartPositionOfChar(charnum: Int): DOMPoint = noImpl
fun getEndPositionOfChar(charnum: Int): DOMPoint = noImpl
fun getExtentOfChar(charnum: Int): DOMRect = noImpl
fun getRotationOfChar(charnum: Int): Float = noImpl
fun getCharNumAtPosition(point: DOMPoint): Int = noImpl
fun selectSubString(charnum: Int, nchars: Int): Unit = noImpl
fun getNumberOfChars(): Int
fun getComputedTextLength(): Float
fun getSubStringLength(charnum: Int, nchars: Int): Float
fun getStartPositionOfChar(charnum: Int): DOMPoint
fun getEndPositionOfChar(charnum: Int): DOMPoint
fun getExtentOfChar(charnum: Int): DOMRect
fun getRotationOfChar(charnum: Int): Float
fun getCharNumAtPosition(point: DOMPoint): Int
fun selectSubString(charnum: Int, nchars: Int): Unit
companion object {
val LENGTHADJUST_UNKNOWN: Short = 0
val LENGTHADJUST_SPACING: Short = 1
val LENGTHADJUST_SPACINGANDGLYPHS: Short = 2
val LENGTHADJUST_UNKNOWN: Short
val LENGTHADJUST_SPACING: Short
val LENGTHADJUST_SPACINGANDGLYPHS: Short
}
}
public external abstract class SVGTextPositioningElement : SVGTextContentElement() {
open val x: SVGAnimatedLengthList
get() = noImpl
open val y: SVGAnimatedLengthList
get() = noImpl
open val dx: SVGAnimatedLengthList
get() = noImpl
open val dy: SVGAnimatedLengthList
get() = noImpl
open val rotate: SVGAnimatedNumberList
get() = noImpl
}
public external abstract class SVGTextElement : SVGTextPositioningElement() {
@@ -638,77 +525,54 @@ public external abstract class SVGTSpanElement : SVGTextPositioningElement() {
public external abstract class SVGTextPathElement : SVGTextContentElement(), SVGURIReference {
open val startOffset: SVGAnimatedLength
get() = noImpl
open val method: SVGAnimatedEnumeration
get() = noImpl
open val spacing: SVGAnimatedEnumeration
get() = noImpl
companion object {
val TEXTPATH_METHODTYPE_UNKNOWN: Short = 0
val TEXTPATH_METHODTYPE_ALIGN: Short = 1
val TEXTPATH_METHODTYPE_STRETCH: Short = 2
val TEXTPATH_SPACINGTYPE_UNKNOWN: Short = 0
val TEXTPATH_SPACINGTYPE_AUTO: Short = 1
val TEXTPATH_SPACINGTYPE_EXACT: Short = 2
val TEXTPATH_METHODTYPE_UNKNOWN: Short
val TEXTPATH_METHODTYPE_ALIGN: Short
val TEXTPATH_METHODTYPE_STRETCH: Short
val TEXTPATH_SPACINGTYPE_UNKNOWN: Short
val TEXTPATH_SPACINGTYPE_AUTO: Short
val TEXTPATH_SPACINGTYPE_EXACT: Short
}
}
public external abstract class SVGImageElement : SVGGraphicsElement(), SVGURIReference, HTMLOrSVGImageElement {
open val x: SVGAnimatedLength
get() = noImpl
open val y: SVGAnimatedLength
get() = noImpl
open val width: SVGAnimatedLength
get() = noImpl
open val height: SVGAnimatedLength
get() = noImpl
open val preserveAspectRatio: SVGAnimatedPreserveAspectRatio
get() = noImpl
open var crossOrigin: String?
get() = noImpl
set(value) = noImpl
}
public external abstract class SVGForeignObjectElement : SVGGraphicsElement() {
open val x: SVGAnimatedLength
get() = noImpl
open val y: SVGAnimatedLength
get() = noImpl
open val width: SVGAnimatedLength
get() = noImpl
open val height: SVGAnimatedLength
get() = noImpl
}
public external abstract class SVGMarkerElement : SVGElement(), SVGFitToViewBox {
open val refX: SVGAnimatedLength
get() = noImpl
open val refY: SVGAnimatedLength
get() = noImpl
open val markerUnits: SVGAnimatedEnumeration
get() = noImpl
open val markerWidth: SVGAnimatedLength
get() = noImpl
open val markerHeight: SVGAnimatedLength
get() = noImpl
open val orientType: SVGAnimatedEnumeration
get() = noImpl
open val orientAngle: SVGAnimatedAngle
get() = noImpl
open var orient: String
get() = noImpl
set(value) = noImpl
fun setOrientToAuto(): Unit = noImpl
fun setOrientToAngle(angle: SVGAngle): Unit = noImpl
fun setOrientToAuto(): Unit
fun setOrientToAngle(angle: SVGAngle): Unit
companion object {
val SVG_MARKERUNITS_UNKNOWN: Short = 0
val SVG_MARKERUNITS_USERSPACEONUSE: Short = 1
val SVG_MARKERUNITS_STROKEWIDTH: Short = 2
val SVG_MARKER_ORIENT_UNKNOWN: Short = 0
val SVG_MARKER_ORIENT_AUTO: Short = 1
val SVG_MARKER_ORIENT_ANGLE: Short = 2
val SVG_MARKERUNITS_UNKNOWN: Short
val SVG_MARKERUNITS_USERSPACEONUSE: Short
val SVG_MARKERUNITS_STROKEWIDTH: Short
val SVG_MARKER_ORIENT_UNKNOWN: Short
val SVG_MARKER_ORIENT_AUTO: Short
val SVG_MARKER_ORIENT_ANGLE: Short
}
}
@@ -717,47 +581,34 @@ public external abstract class SVGSolidcolorElement : SVGElement() {
public external abstract class SVGGradientElement : SVGElement(), SVGURIReference, SVGUnitTypes {
open val gradientUnits: SVGAnimatedEnumeration
get() = noImpl
open val gradientTransform: SVGAnimatedTransformList
get() = noImpl
open val spreadMethod: SVGAnimatedEnumeration
get() = noImpl
companion object {
val SVG_SPREADMETHOD_UNKNOWN: Short = 0
val SVG_SPREADMETHOD_PAD: Short = 1
val SVG_SPREADMETHOD_REFLECT: Short = 2
val SVG_SPREADMETHOD_REPEAT: Short = 3
val SVG_UNIT_TYPE_UNKNOWN: Short = 0
val SVG_UNIT_TYPE_USERSPACEONUSE: Short = 1
val SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: Short = 2
val SVG_SPREADMETHOD_UNKNOWN: Short
val SVG_SPREADMETHOD_PAD: Short
val SVG_SPREADMETHOD_REFLECT: Short
val SVG_SPREADMETHOD_REPEAT: Short
val SVG_UNIT_TYPE_UNKNOWN: Short
val SVG_UNIT_TYPE_USERSPACEONUSE: Short
val SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: Short
}
}
public external abstract class SVGLinearGradientElement : SVGGradientElement() {
open val x1: SVGAnimatedLength
get() = noImpl
open val y1: SVGAnimatedLength
get() = noImpl
open val x2: SVGAnimatedLength
get() = noImpl
open val y2: SVGAnimatedLength
get() = noImpl
}
public external abstract class SVGRadialGradientElement : SVGGradientElement() {
open val cx: SVGAnimatedLength
get() = noImpl
open val cy: SVGAnimatedLength
get() = noImpl
open val r: SVGAnimatedLength
get() = noImpl
open val fx: SVGAnimatedLength
get() = noImpl
open val fy: SVGAnimatedLength
get() = noImpl
open val fr: SVGAnimatedLength
get() = noImpl
}
public external abstract class SVGMeshGradientElement : SVGGradientElement() {
@@ -771,29 +622,21 @@ public external abstract class SVGMeshpatchElement : SVGElement() {
public external abstract class SVGStopElement : SVGElement() {
open val offset: SVGAnimatedNumber
get() = noImpl
}
public external abstract class SVGPatternElement : SVGElement(), SVGFitToViewBox, SVGURIReference, SVGUnitTypes {
open val patternUnits: SVGAnimatedEnumeration
get() = noImpl
open val patternContentUnits: SVGAnimatedEnumeration
get() = noImpl
open val patternTransform: SVGAnimatedTransformList
get() = noImpl
open val x: SVGAnimatedLength
get() = noImpl
open val y: SVGAnimatedLength
get() = noImpl
open val width: SVGAnimatedLength
get() = noImpl
open val height: SVGAnimatedLength
get() = noImpl
companion object {
val SVG_UNIT_TYPE_UNKNOWN: Short = 0
val SVG_UNIT_TYPE_USERSPACEONUSE: Short = 1
val SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: Short = 2
val SVG_UNIT_TYPE_UNKNOWN: Short
val SVG_UNIT_TYPE_USERSPACEONUSE: Short
val SVG_UNIT_TYPE_OBJECTBOUNDINGBOX: Short
}
}
@@ -805,41 +648,29 @@ public external abstract class SVGHatchpathElement : SVGElement() {
public external abstract class SVGCursorElement : SVGElement(), SVGURIReference {
open val x: SVGAnimatedLength
get() = noImpl
open val y: SVGAnimatedLength
get() = noImpl
}
public external abstract class SVGScriptElement : SVGElement(), SVGURIReference, HTMLOrSVGScriptElement {
open var type: String
get() = noImpl
set(value) = noImpl
open var crossOrigin: String?
get() = noImpl
set(value) = noImpl
}
public external abstract class SVGAElement : SVGGraphicsElement(), SVGURIReference {
open val target: SVGAnimatedString
get() = noImpl
open val download: SVGAnimatedString
get() = noImpl
open val rel: SVGAnimatedString
get() = noImpl
open val relList: SVGAnimatedString
get() = noImpl
open val hreflang: SVGAnimatedString
get() = noImpl
open val type: SVGAnimatedString
get() = noImpl
}
public external abstract class SVGViewElement : SVGElement(), SVGFitToViewBox, SVGZoomAndPan {
companion object {
val SVG_ZOOMANDPAN_UNKNOWN: Short = 0
val SVG_ZOOMANDPAN_DISABLE: Short = 1
val SVG_ZOOMANDPAN_MAGNIFY: Short = 2
val SVG_ZOOMANDPAN_UNKNOWN: Short
val SVG_ZOOMANDPAN_DISABLE: Short
val SVG_ZOOMANDPAN_MAGNIFY: Short
}
}
@@ -22,55 +22,33 @@ import org.w3c.xhr.*
public external open class URL(url: String, base: String = noImpl) {
var href: String
get() = noImpl
set(value) = noImpl
open val origin: String
get() = noImpl
var protocol: String
get() = noImpl
set(value) = noImpl
var username: String
get() = noImpl
set(value) = noImpl
var password: String
get() = noImpl
set(value) = noImpl
var host: String
get() = noImpl
set(value) = noImpl
var hostname: String
get() = noImpl
set(value) = noImpl
var port: String
get() = noImpl
set(value) = noImpl
var pathname: String
get() = noImpl
set(value) = noImpl
var search: String
get() = noImpl
set(value) = noImpl
open val searchParams: URLSearchParams
get() = noImpl
var hash: String
get() = noImpl
set(value) = noImpl
companion object {
fun createObjectURL(blob: Blob): String = noImpl
fun createFor(blob: Blob): String = noImpl
fun revokeObjectURL(url: String): Unit = noImpl
fun domainToASCII(domain: String): String = noImpl
fun domainToUnicode(domain: String): String = noImpl
fun createObjectURL(blob: Blob): String
fun createFor(blob: Blob): String
fun revokeObjectURL(url: String): Unit
fun domainToASCII(domain: String): String
fun domainToUnicode(domain: String): String
}
}
public external open class URLSearchParams(init: dynamic = "") {
fun append(name: String, value: String): Unit = noImpl
fun delete(name: String): Unit = noImpl
fun get(name: String): String? = noImpl
fun getAll(name: String): Array<String> = noImpl
fun has(name: String): Boolean = noImpl
fun set(name: String, value: String): Unit = noImpl
public external open class URLSearchParams(init: dynamic = noImpl) {
fun append(name: String, value: String): Unit
fun delete(name: String): Unit
fun get(name: String): String?
fun getAll(name: String): Array<String>
fun has(name: String): Boolean
fun set(name: String, value: String): Unit
}
+57 -38
View File
@@ -21,66 +21,82 @@ import org.w3c.workers.*
import org.w3c.xhr.*
public external open class Headers(init: dynamic = noImpl) {
fun append(name: String, value: String): Unit = noImpl
fun delete(name: String): Unit = noImpl
fun get(name: String): String? = noImpl
fun has(name: String): Boolean = noImpl
fun set(name: String, value: String): Unit = noImpl
fun append(name: String, value: String): Unit
fun delete(name: String): Unit
fun get(name: String): String?
fun has(name: String): Boolean
fun set(name: String, value: String): Unit
}
public external interface Body {
val bodyUsed: Boolean
get() = noImpl
fun arrayBuffer(): dynamic = noImpl
fun blob(): dynamic = noImpl
fun formData(): dynamic = noImpl
fun json(): dynamic = noImpl
fun text(): dynamic = noImpl
fun arrayBuffer(): dynamic
fun blob(): dynamic
fun formData(): dynamic
fun json(): dynamic
fun text(): dynamic
}
public external open class Request(input: dynamic, init: RequestInit = noImpl) : Body {
open val method: String
get() = noImpl
open val url: String
get() = noImpl
open val headers: Headers
get() = noImpl
open val type: String
get() = noImpl
open val destination: String
get() = noImpl
open val referrer: String
get() = noImpl
open val referrerPolicy: dynamic
get() = noImpl
open val mode: String
get() = noImpl
open val credentials: String
get() = noImpl
open val cache: String
get() = noImpl
open val redirect: String
get() = noImpl
open val integrity: String
get() = noImpl
open val keepalive: Boolean
get() = noImpl
fun clone(): Request = noImpl
override val bodyUsed: Boolean
fun clone(): Request
override fun arrayBuffer(): dynamic
override fun blob(): dynamic
override fun formData(): dynamic
override fun json(): dynamic
override fun text(): dynamic
}
public external interface RequestInit {
var method: String?
get() = noImpl
set(value) = noImpl
var headers: dynamic
get() = noImpl
set(value) = noImpl
var body: dynamic
get() = noImpl
set(value) = noImpl
var referrer: String?
get() = noImpl
set(value) = noImpl
var referrerPolicy: dynamic
get() = noImpl
set(value) = noImpl
var mode: String?
get() = noImpl
set(value) = noImpl
var credentials: String?
get() = noImpl
set(value) = noImpl
var cache: String?
get() = noImpl
set(value) = noImpl
var redirect: String?
get() = noImpl
set(value) = noImpl
var integrity: String?
get() = noImpl
set(value) = noImpl
var keepalive: Boolean?
get() = noImpl
set(value) = noImpl
var window: Any?
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -103,37 +119,40 @@ public inline fun RequestInit(method: String?, headers: dynamic, body: dynamic,
return o
}
public external open class Response(body: dynamic = null, init: ResponseInit = noImpl) : Body {
public external open class Response(body: dynamic = noImpl, init: ResponseInit = noImpl) : Body {
open val type: String
get() = noImpl
open val url: String
get() = noImpl
open val redirected: Boolean
get() = noImpl
open val status: Short
get() = noImpl
open val ok: Boolean
get() = noImpl
open val statusText: String
get() = noImpl
open val headers: Headers
get() = noImpl
open val body: dynamic
get() = noImpl
open val trailer: dynamic
get() = noImpl
fun clone(): Response = noImpl
override val bodyUsed: Boolean
fun clone(): Response
override fun arrayBuffer(): dynamic
override fun blob(): dynamic
override fun formData(): dynamic
override fun json(): dynamic
override fun text(): dynamic
companion object {
fun error(): Response = noImpl
fun redirect(url: String, status: Short = 302): Response = noImpl
fun error(): Response
fun redirect(url: String, status: Short = noImpl): Response
}
}
public external interface ResponseInit {
var status: Short? /* = 200 */
get() = noImpl
set(value) = noImpl
var statusText: String? /* = "OK" */
get() = noImpl
set(value) = noImpl
var headers: dynamic
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
+20 -37
View File
@@ -22,17 +22,16 @@ import org.w3c.xhr.*
public external open class Blob(blobParts: Array<dynamic> = noImpl, options: BlobPropertyBag = noImpl) {
open val size: Int
get() = noImpl
open val type: String
get() = noImpl
open val isClosed: Boolean
get() = noImpl
fun slice(start: Int = noImpl, end: Int = noImpl, contentType: String = noImpl): Blob = noImpl
fun close(): Unit = noImpl
fun slice(start: Int = noImpl, end: Int = noImpl, contentType: String = noImpl): Blob
fun close(): Unit
}
public external interface BlobPropertyBag {
var type: String? /* = "" */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -46,13 +45,13 @@ public inline fun BlobPropertyBag(type: String? = ""): BlobPropertyBag {
public external open class File(fileBits: Array<dynamic>, fileName: String, options: FilePropertyBag = noImpl) : Blob(noImpl, options) {
open val name: String
get() = noImpl
open val lastModified: Int
get() = noImpl
}
public external interface FilePropertyBag : BlobPropertyBag {
var lastModified: Int?
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -67,54 +66,38 @@ public inline fun FilePropertyBag(lastModified: Int?, type: String? = ""): FileP
public external abstract class FileList {
open val length: Int
get() = noImpl
fun item(index: Int): File? = noImpl
fun item(index: Int): File?
@nativeGetter
operator fun get(index: Int): File? = noImpl
operator fun get(index: Int): File?
}
public external open class FileReader : EventTarget() {
open val readyState: Short
get() = noImpl
open val result: dynamic
get() = noImpl
open val error: dynamic
get() = noImpl
var onloadstart: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
var onprogress: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
var onload: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
var onabort: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
var onerror: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
var onloadend: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
fun readAsArrayBuffer(blob: Blob): Unit = noImpl
fun readAsBinaryString(blob: Blob): Unit = noImpl
fun readAsText(blob: Blob, label: String = noImpl): Unit = noImpl
fun readAsDataURL(blob: Blob): Unit = noImpl
fun abort(): Unit = noImpl
fun readAsArrayBuffer(blob: Blob): Unit
fun readAsBinaryString(blob: Blob): Unit
fun readAsText(blob: Blob, label: String = noImpl): Unit
fun readAsDataURL(blob: Blob): Unit
fun abort(): Unit
companion object {
val EMPTY: Short = 0
val LOADING: Short = 1
val DONE: Short = 2
val EMPTY: Short
val LOADING: Short
val DONE: Short
}
}
public external open class FileReaderSync {
fun readAsArrayBuffer(blob: Blob): ArrayBuffer = noImpl
fun readAsBinaryString(blob: Blob): String = noImpl
fun readAsText(blob: Blob, label: String = noImpl): String = noImpl
fun readAsDataURL(blob: Blob): String = noImpl
fun readAsArrayBuffer(blob: Blob): ArrayBuffer
fun readAsBinaryString(blob: Blob): String
fun readAsText(blob: Blob, label: String = noImpl): String
fun readAsDataURL(blob: Blob): String
}
@@ -22,79 +22,86 @@ import org.w3c.xhr.*
public external open class Notification(title: String, options: NotificationOptions = noImpl) : EventTarget() {
var onclick: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
var onerror: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open val title: String
get() = noImpl
open val dir: String
get() = noImpl
open val lang: String
get() = noImpl
open val body: String
get() = noImpl
open val tag: String
get() = noImpl
open val image: String
get() = noImpl
open val icon: String
get() = noImpl
open val badge: String
get() = noImpl
open val sound: String
get() = noImpl
open val attribute: dynamic
get() = noImpl
open val vibrate: dynamic
open val timestamp: Number
get() = noImpl
open val renotify: Boolean
get() = noImpl
open val silent: Boolean
get() = noImpl
open val noscreen: Boolean
get() = noImpl
open val requireInteraction: Boolean
get() = noImpl
open val sticky: Boolean
get() = noImpl
open val data: Any?
get() = noImpl
open val NotificationAction: dynamic
get() = noImpl
fun vibrate(): dynamic = noImpl
fun close(): Unit = noImpl
open val actions: dynamic
fun close(): Unit
companion object {
var permission: String
get() = noImpl
set(value) = noImpl
var maxActions: Int
get() = noImpl
set(value) = noImpl
fun requestPermission(deprecatedCallback: (String) -> Unit = noImpl): dynamic = noImpl
fun requestPermission(deprecatedCallback: (String) -> Unit = noImpl): dynamic
}
}
public external interface NotificationOptions {
var dir: String? /* = "auto" */
get() = noImpl
set(value) = noImpl
var lang: String? /* = "" */
get() = noImpl
set(value) = noImpl
var body: String? /* = "" */
get() = noImpl
set(value) = noImpl
var tag: String? /* = "" */
get() = noImpl
set(value) = noImpl
var image: String?
get() = noImpl
set(value) = noImpl
var icon: String?
get() = noImpl
set(value) = noImpl
var badge: String?
get() = noImpl
set(value) = noImpl
var sound: String?
get() = noImpl
set(value) = noImpl
var vibrate: dynamic
get() = noImpl
set(value) = noImpl
var timestamp: Number?
get() = noImpl
set(value) = noImpl
var renotify: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var silent: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var noscreen: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var requireInteraction: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var sticky: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var data: Any? /* = null */
get() = noImpl
set(value) = noImpl
var actions: Array<NotificationAction>? /* = arrayOf() */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -124,8 +131,14 @@ public inline fun NotificationOptions(dir: String? = "auto", lang: String? = "",
public external interface NotificationAction {
var action: String?
get() = noImpl
set(value) = noImpl
var title: String?
get() = noImpl
set(value) = noImpl
var icon: String?
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -141,6 +154,8 @@ public inline fun NotificationAction(action: String?, title: String?, icon: Stri
public external interface GetNotificationOptions {
var tag: String? /* = "" */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -154,14 +169,16 @@ public inline fun GetNotificationOptions(tag: String? = ""): GetNotificationOpti
public external open class NotificationEvent(type: String, eventInitDict: NotificationEventInit) : ExtendableEvent(type, eventInitDict) {
open val notification: Notification
get() = noImpl
open val action: String
get() = noImpl
}
public external interface NotificationEventInit : ExtendableEventInit {
var notification: Notification?
get() = noImpl
set(value) = noImpl
var action: String? /* = "" */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -22,73 +22,47 @@ import org.w3c.xhr.*
public external abstract class Performance : EventTarget() {
open val timing: PerformanceTiming
get() = noImpl
open val navigation: PerformanceNavigation
get() = noImpl
fun now(): Double = noImpl
fun now(): Double
}
public external interface GlobalPerformance {
val performance: Performance
get() = noImpl
}
public external abstract class PerformanceTiming {
open val navigationStart: Int
get() = noImpl
open val unloadEventStart: Int
get() = noImpl
open val unloadEventEnd: Int
get() = noImpl
open val redirectStart: Int
get() = noImpl
open val redirectEnd: Int
get() = noImpl
open val fetchStart: Int
get() = noImpl
open val domainLookupStart: Int
get() = noImpl
open val domainLookupEnd: Int
get() = noImpl
open val connectStart: Int
get() = noImpl
open val connectEnd: Int
get() = noImpl
open val secureConnectionStart: Int
get() = noImpl
open val requestStart: Int
get() = noImpl
open val responseStart: Int
get() = noImpl
open val responseEnd: Int
get() = noImpl
open val domLoading: Int
get() = noImpl
open val domInteractive: Int
get() = noImpl
open val domContentLoadedEventStart: Int
get() = noImpl
open val domContentLoadedEventEnd: Int
get() = noImpl
open val domComplete: Int
get() = noImpl
open val loadEventStart: Int
get() = noImpl
open val loadEventEnd: Int
get() = noImpl
}
public external abstract class PerformanceNavigation {
open val type: Short
get() = noImpl
open val redirectCount: Short
get() = noImpl
companion object {
val TYPE_NAVIGATE: Short = 0
val TYPE_RELOAD: Short = 1
val TYPE_BACK_FORWARD: Short = 2
val TYPE_RESERVED: Short = 255
val TYPE_NAVIGATE: Short
val TYPE_RELOAD: Short
val TYPE_BACK_FORWARD: Short
val TYPE_RESERVED: Short
}
}
+100 -91
View File
@@ -22,88 +22,57 @@ import org.w3c.xhr.*
public external abstract class ServiceWorkerRegistration : EventTarget() {
open val installing: ServiceWorker?
get() = noImpl
open val waiting: ServiceWorker?
get() = noImpl
open val active: ServiceWorker?
get() = noImpl
open val scope: String
get() = noImpl
open var onupdatefound: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open val APISpace: dynamic
get() = noImpl
fun update(): dynamic = noImpl
fun unregister(): dynamic = noImpl
fun methodName(): dynamic = noImpl
fun showNotification(title: String, options: NotificationOptions = noImpl): dynamic = noImpl
fun getNotifications(filter: GetNotificationOptions = noImpl): dynamic = noImpl
fun update(): dynamic
fun unregister(): dynamic
fun methodName(): dynamic
fun showNotification(title: String, options: NotificationOptions = noImpl): dynamic
fun getNotifications(filter: GetNotificationOptions = noImpl): dynamic
}
public external abstract class ServiceWorkerGlobalScope : WorkerGlobalScope() {
open val clients: Clients
get() = noImpl
open val registration: ServiceWorkerRegistration
get() = noImpl
open var oninstall: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open var onactivate: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open var onfetch: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open var onforeignfetch: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open var onmessage: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open var onfunctionalevent: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open var onnotificationclick: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open var onnotificationclose: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
fun skipWaiting(): dynamic = noImpl
fun skipWaiting(): dynamic
}
public external abstract class ServiceWorker : EventTarget(), AbstractWorker, UnionMessagePortOrServiceWorker, UnionClientOrMessagePortOrServiceWorker {
open val scriptURL: String
get() = noImpl
open val state: String
get() = noImpl
open var onstatechange: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
fun postMessage(message: Any?, transfer: Array<dynamic> = noImpl): Unit = noImpl
fun postMessage(message: Any?, transfer: Array<dynamic> = noImpl): Unit
}
public external abstract class ServiceWorkerContainer : EventTarget() {
open val controller: ServiceWorker?
get() = noImpl
open val ready: dynamic
get() = noImpl
open var oncontrollerchange: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open var onmessage: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
fun register(scriptURL: String, options: RegistrationOptions = noImpl): dynamic = noImpl
fun getRegistration(clientURL: String = ""): dynamic = noImpl
fun getRegistrations(): dynamic = noImpl
fun startMessages(): Unit = noImpl
fun register(scriptURL: String, options: RegistrationOptions = noImpl): dynamic
fun getRegistration(clientURL: String = noImpl): dynamic
fun getRegistrations(): dynamic
fun startMessages(): Unit
}
public external interface RegistrationOptions {
var scope: String?
get() = noImpl
set(value) = noImpl
var type: String? /* = "classic" */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -118,23 +87,28 @@ public inline fun RegistrationOptions(scope: String?, type: String? = "classic")
public external open class ServiceWorkerMessageEvent(type: String, eventInitDict: ServiceWorkerMessageEventInit = noImpl) : Event(type, eventInitDict) {
open val data: Any?
get() = noImpl
open val origin: String
get() = noImpl
open val lastEventId: String
get() = noImpl
open val source: UnionMessagePortOrServiceWorker?
get() = noImpl
open val MessagePort: dynamic
get() = noImpl
open val ports: dynamic
}
public external interface ServiceWorkerMessageEventInit : EventInit {
var data: Any?
get() = noImpl
set(value) = noImpl
var origin: String?
get() = noImpl
set(value) = noImpl
var lastEventId: String?
get() = noImpl
set(value) = noImpl
var source: UnionMessagePortOrServiceWorker?
get() = noImpl
set(value) = noImpl
var ports: Array<MessagePort>?
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -155,33 +129,32 @@ public inline fun ServiceWorkerMessageEventInit(data: Any?, origin: String?, las
public external abstract class Client : UnionClientOrMessagePortOrServiceWorker {
open val url: String
get() = noImpl
open val frameType: String
get() = noImpl
open val id: String
get() = noImpl
fun postMessage(message: Any?, transfer: Array<dynamic> = noImpl): Unit = noImpl
fun postMessage(message: Any?, transfer: Array<dynamic> = noImpl): Unit
}
public external abstract class WindowClient : Client() {
open val visibilityState: dynamic
get() = noImpl
open val focused: Boolean
get() = noImpl
fun focus(): dynamic = noImpl
fun navigate(url: String): dynamic = noImpl
fun focus(): dynamic
fun navigate(url: String): dynamic
}
public external abstract class Clients {
fun get(id: String): dynamic = noImpl
fun matchAll(options: ClientQueryOptions = noImpl): dynamic = noImpl
fun openWindow(url: String): dynamic = noImpl
fun claim(): dynamic = noImpl
fun get(id: String): dynamic
fun matchAll(options: ClientQueryOptions = noImpl): dynamic
fun openWindow(url: String): dynamic
fun claim(): dynamic
}
public external interface ClientQueryOptions {
var includeUncontrolled: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var type: String? /* = "window" */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -195,7 +168,7 @@ public inline fun ClientQueryOptions(includeUncontrolled: Boolean? = false, type
}
public external open class ExtendableEvent(type: String, eventInitDict: ExtendableEventInit = noImpl) : Event(type, eventInitDict) {
fun waitUntil(f: dynamic): Unit = noImpl
fun waitUntil(f: dynamic): Unit
}
public external interface ExtendableEventInit : EventInit {
@@ -213,12 +186,16 @@ public inline fun ExtendableEventInit(bubbles: Boolean? = false, cancelable: Boo
}
public external open class InstallEvent(type: String, eventInitDict: ExtendableEventInit = noImpl) : ExtendableEvent(type, eventInitDict) {
fun registerForeignFetch(options: ForeignFetchOptions): Unit = noImpl
fun registerForeignFetch(options: ForeignFetchOptions): Unit
}
public external interface ForeignFetchOptions {
var scopes: Array<String>?
get() = noImpl
set(value) = noImpl
var origins: Array<String>?
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -233,18 +210,21 @@ public inline fun ForeignFetchOptions(scopes: Array<String>?, origins: Array<Str
public external open class FetchEvent(type: String, eventInitDict: FetchEventInit) : ExtendableEvent(type, eventInitDict) {
open val request: Request
get() = noImpl
open val clientId: String?
get() = noImpl
open val isReload: Boolean
get() = noImpl
fun respondWith(r: dynamic): Unit = noImpl
fun respondWith(r: dynamic): Unit
}
public external interface FetchEventInit : ExtendableEventInit {
var request: Request?
get() = noImpl
set(value) = noImpl
var clientId: String? /* = null */
get() = noImpl
set(value) = noImpl
var isReload: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -263,15 +243,17 @@ public inline fun FetchEventInit(request: Request?, clientId: String? = null, is
public external open class ForeignFetchEvent(type: String, eventInitDict: ForeignFetchEventInit) : ExtendableEvent(type, eventInitDict) {
open val request: Request
get() = noImpl
open val origin: String
get() = noImpl
fun respondWith(r: dynamic): Unit = noImpl
fun respondWith(r: dynamic): Unit
}
public external interface ForeignFetchEventInit : ExtendableEventInit {
var request: Request?
get() = noImpl
set(value) = noImpl
var origin: String? /* = "null" */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -289,8 +271,14 @@ public inline fun ForeignFetchEventInit(request: Request?, origin: String? = "nu
public external interface ForeignFetchResponse {
var response: Response?
get() = noImpl
set(value) = noImpl
var origin: String?
get() = noImpl
set(value) = noImpl
var headers: Array<String>?
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -306,23 +294,28 @@ public inline fun ForeignFetchResponse(response: Response?, origin: String?, hea
public external open class ExtendableMessageEvent(type: String, eventInitDict: ExtendableMessageEventInit = noImpl) : ExtendableEvent(type, eventInitDict) {
open val data: Any?
get() = noImpl
open val origin: String
get() = noImpl
open val lastEventId: String
get() = noImpl
open val source: UnionClientOrMessagePortOrServiceWorker?
get() = noImpl
open val MessagePort: dynamic
get() = noImpl
open val ports: dynamic
}
public external interface ExtendableMessageEventInit : ExtendableEventInit {
var data: Any?
get() = noImpl
set(value) = noImpl
var origin: String?
get() = noImpl
set(value) = noImpl
var lastEventId: String?
get() = noImpl
set(value) = noImpl
var source: UnionClientOrMessagePortOrServiceWorker?
get() = noImpl
set(value) = noImpl
var ports: Array<MessagePort>?
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -342,20 +335,28 @@ public inline fun ExtendableMessageEventInit(data: Any?, origin: String?, lastEv
}
public external abstract class Cache {
fun match(request: dynamic, options: CacheQueryOptions = noImpl): dynamic = noImpl
fun matchAll(request: dynamic = noImpl, options: CacheQueryOptions = noImpl): dynamic = noImpl
fun add(request: dynamic): dynamic = noImpl
fun addAll(requests: Array<dynamic>): dynamic = noImpl
fun put(request: dynamic, response: Response): dynamic = noImpl
fun delete(request: dynamic, options: CacheQueryOptions = noImpl): dynamic = noImpl
fun keys(request: dynamic = noImpl, options: CacheQueryOptions = noImpl): dynamic = noImpl
fun match(request: dynamic, options: CacheQueryOptions = noImpl): dynamic
fun matchAll(request: dynamic = noImpl, options: CacheQueryOptions = noImpl): dynamic
fun add(request: dynamic): dynamic
fun addAll(requests: Array<dynamic>): dynamic
fun put(request: dynamic, response: Response): dynamic
fun delete(request: dynamic, options: CacheQueryOptions = noImpl): dynamic
fun keys(request: dynamic = noImpl, options: CacheQueryOptions = noImpl): dynamic
}
public external interface CacheQueryOptions {
var ignoreSearch: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var ignoreMethod: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var ignoreVary: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var cacheName: String?
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -372,9 +373,17 @@ public inline fun CacheQueryOptions(ignoreSearch: Boolean? = false, ignoreMethod
public external interface CacheBatchOperation {
var type: String?
get() = noImpl
set(value) = noImpl
var request: Request?
get() = noImpl
set(value) = noImpl
var response: Response?
get() = noImpl
set(value) = noImpl
var options: CacheQueryOptions?
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")
@@ -390,11 +399,11 @@ public inline fun CacheBatchOperation(type: String?, request: Request?, response
}
public external abstract class CacheStorage {
fun match(request: dynamic, options: CacheQueryOptions = noImpl): dynamic = noImpl
fun has(cacheName: String): dynamic = noImpl
fun open(cacheName: String): dynamic = noImpl
fun delete(cacheName: String): dynamic = noImpl
fun keys(): dynamic = noImpl
fun match(request: dynamic, options: CacheQueryOptions = noImpl): dynamic
fun has(cacheName: String): dynamic
fun open(cacheName: String): dynamic
fun delete(cacheName: String): dynamic
fun keys(): dynamic
}
public external open class FunctionalEvent : ExtendableEvent(noImpl, noImpl) {
+27 -54
View File
@@ -22,26 +22,12 @@ import org.w3c.workers.*
public external abstract class XMLHttpRequestEventTarget : EventTarget() {
open var onloadstart: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open var onprogress: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open var onabort: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open var onerror: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open var onload: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open var ontimeout: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open var onloadend: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
}
public external abstract class XMLHttpRequestUpload : XMLHttpRequestEventTarget() {
@@ -49,75 +35,62 @@ public external abstract class XMLHttpRequestUpload : XMLHttpRequestEventTarget(
public external open class XMLHttpRequest : XMLHttpRequestEventTarget() {
var onreadystatechange: ((Event) -> dynamic)?
get() = noImpl
set(value) = noImpl
open val readyState: Short
get() = noImpl
var timeout: Int
get() = noImpl
set(value) = noImpl
var withCredentials: Boolean
get() = noImpl
set(value) = noImpl
open val upload: XMLHttpRequestUpload
get() = noImpl
open val responseURL: String
get() = noImpl
open val status: Short
get() = noImpl
open val statusText: String
get() = noImpl
var responseType: String
get() = noImpl
set(value) = noImpl
open val response: Any?
get() = noImpl
open val responseText: String
get() = noImpl
open val responseXML: Document?
get() = noImpl
fun open(method: String, url: String): Unit = noImpl
fun open(method: String, url: String, async: Boolean, username: String? = null, password: String? = null): Unit = noImpl
fun setRequestHeader(name: String, value: String): Unit = noImpl
fun send(body: dynamic = null): Unit = noImpl
fun abort(): Unit = noImpl
fun getResponseHeader(name: String): String? = noImpl
fun getAllResponseHeaders(): String = noImpl
fun overrideMimeType(mime: String): Unit = noImpl
fun open(method: String, url: String): Unit
fun open(method: String, url: String, async: Boolean, username: String? = noImpl, password: String? = noImpl): Unit
fun setRequestHeader(name: String, value: String): Unit
fun send(body: dynamic = noImpl): Unit
fun abort(): Unit
fun getResponseHeader(name: String): String?
fun getAllResponseHeaders(): String
fun overrideMimeType(mime: String): Unit
companion object {
val UNSENT: Short = 0
val OPENED: Short = 1
val HEADERS_RECEIVED: Short = 2
val LOADING: Short = 3
val DONE: Short = 4
val UNSENT: Short
val OPENED: Short
val HEADERS_RECEIVED: Short
val LOADING: Short
val DONE: Short
}
}
public external open class FormData(form: HTMLFormElement = noImpl) {
fun append(name: String, value: String): Unit = noImpl
fun append(name: String, value: Blob, filename: String = noImpl): Unit = noImpl
fun delete(name: String): Unit = noImpl
fun get(name: String): dynamic = noImpl
fun getAll(name: String): Array<dynamic> = noImpl
fun has(name: String): Boolean = noImpl
fun set(name: String, value: String): Unit = noImpl
fun set(name: String, value: Blob, filename: String = noImpl): Unit = noImpl
fun append(name: String, value: String): Unit
fun append(name: String, value: Blob, filename: String = noImpl): Unit
fun delete(name: String): Unit
fun get(name: String): dynamic
fun getAll(name: String): Array<dynamic>
fun has(name: String): Boolean
fun set(name: String, value: String): Unit
fun set(name: String, value: Blob, filename: String = noImpl): Unit
}
public external open class ProgressEvent(type: String, eventInitDict: ProgressEventInit = noImpl) : Event(type, eventInitDict) {
open val lengthComputable: Boolean
get() = noImpl
open val loaded: Int
get() = noImpl
open val total: Int
get() = noImpl
}
public external interface ProgressEventInit : EventInit {
var lengthComputable: Boolean? /* = false */
get() = noImpl
set(value) = noImpl
var loaded: Int? /* = 0 */
get() = noImpl
set(value) = noImpl
var total: Int? /* = 0 */
get() = noImpl
set(value) = noImpl
}
@Suppress("NOTHING_TO_INLINE")