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