Remove deprecated JQuery

This commit is contained in:
Abduqodiri Qurbonzoda
2021-04-06 04:20:33 +03:00
parent 6ab38c1ff8
commit 46338224e1
13 changed files with 0 additions and 1470 deletions
-82
View File
@@ -1,82 +0,0 @@
/*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
@file: Suppress("DEPRECATION_ERROR")
package jquery
import org.w3c.dom.Element
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
public external class JQuery() {
public fun addClass(className: String): JQuery
public fun addClass(f: (Int, String) -> String): JQuery
public fun attr(attrName: String): String
public fun attr(attrName: String, value: String): JQuery
public fun html(): String
public fun html(s: String): JQuery
public fun html(f: (Int, String) -> String): JQuery
public fun hasClass(className: String): Boolean
public fun removeClass(className: String): JQuery
public fun height(): Number
public fun width(): Number
public fun click(): JQuery
public fun mousedown(handler: (MouseEvent) -> Unit): JQuery
public fun mouseup(handler: (MouseEvent) -> Unit): JQuery
public fun mousemove(handler: (MouseEvent) -> Unit): JQuery
public fun dblclick(handler: (MouseClickEvent) -> Unit): JQuery
public fun click(handler: (MouseClickEvent) -> Unit): JQuery
public fun load(handler: () -> Unit): JQuery
public fun change(handler: () -> Unit): JQuery
public fun append(str: String): JQuery
public fun ready(handler: () -> Unit): JQuery
public fun text(text: String): JQuery
public fun slideUp(): JQuery
public fun hover(handlerInOut: () -> Unit): JQuery
public fun hover(handlerIn: () -> Unit, handlerOut: () -> Unit): JQuery
public fun next(): JQuery
public fun parent(): JQuery
public fun `val`(): String?
}
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
open public external class MouseEvent() {
public val pageX: Double
public val pageY: Double
public fun preventDefault()
public fun isDefaultPrevented(): Boolean
}
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
public external class MouseClickEvent() : MouseEvent {
public val which: Int
}
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
@JsName("$")
public external fun jq(selector: String): JQuery
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
@JsName("$")
public external fun jq(selector: String, context: Element): JQuery
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
@JsName("$")
public external fun jq(callback: () -> Unit): JQuery
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
@JsName("$")
public external fun jq(obj: JQuery): JQuery
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
@JsName("$")
public external fun jq(el: Element): JQuery
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
@JsName("$")
public external fun jq(): JQuery
-42
View File
@@ -1,42 +0,0 @@
/*
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
@file: Suppress("DEPRECATION_ERROR")
package jquery.ui
//jquery UI
import jquery.JQuery
import kotlin.js.Json
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
public inline fun JQuery.buttonset(): JQuery = asDynamic().buttonset()
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
public inline fun JQuery.dialog(): JQuery = asDynamic().dialog()
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
public inline fun JQuery.dialog(params: Json): JQuery = asDynamic().dialog(params)
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
public inline fun JQuery.dialog(mode: String, param: String): Any? = asDynamic().dialog(mode, param)
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
public inline fun JQuery.dialog(mode: String): JQuery = asDynamic().dialog(mode)
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
public inline fun JQuery.dialog(mode: String, param: String, value: Any?): JQuery = asDynamic().dialog(mode, param, value)
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
public inline fun JQuery.button(): JQuery = asDynamic().button()
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
public inline fun JQuery.accordion(): JQuery = asDynamic().accordion()
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
public inline fun JQuery.draggable(params: Json): JQuery = asDynamic().draggable(params)
@Deprecated("Use declarations from 'https://maven.pkg.jetbrains.space/kotlin/p/kotlin/js-externals/kotlin/js/externals/kotlin-js-jquery/' package instead.", level = DeprecationLevel.ERROR)
public inline fun JQuery.selectable(): JQuery = asDynamic().selectable()