Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7430e35ec2 | ||
|
|
dc13279d44 | ||
|
|
fad61ee007 | ||
|
|
ef23b69d9c | ||
|
|
5b7003d400 | ||
|
|
e592daad57 | ||
|
|
c5aaa19367 | ||
|
|
c2d0dd3a01 | ||
|
|
5f8b203489 | ||
|
|
3f47bfadce | ||
|
|
de20133533 | ||
|
|
9ceada1f59 | ||
|
|
fd2b51cc85 | ||
|
|
a43f27923e | ||
|
|
12e76b7316 | ||
|
|
12d54b3188 |
No files matched your search
@@ -9,7 +9,7 @@ val kotlinBukkitAPIVersion = "0.1.0-SNAPSHOT"
|
||||
val bukkriptVersion = "0.1.0-SNAPSHOT"
|
||||
|
||||
group = "br.com.devsrsouza.kotlinbukkitapi"
|
||||
version = "0.0.2"
|
||||
version = "0.0.5"
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
@@ -27,7 +27,7 @@ dependencies {
|
||||
|
||||
// See https://github.com/JetBrains/gradle-intellij-plugin/
|
||||
intellij {
|
||||
version = "2020.1.2"
|
||||
version = "2020.2.1"
|
||||
|
||||
setPlugins("java", "Kotlin")
|
||||
}
|
||||
@@ -44,7 +44,7 @@ tasks {
|
||||
kotlinOptions.jvmTarget = "1.8"
|
||||
}
|
||||
publishPlugin {
|
||||
token = System.getenv("ORG_GRADLE_PROJECT_intellijPublishToken")
|
||||
token(System.getenv("ORG_GRADLE_PROJECT_intellijPublishToken"))
|
||||
}
|
||||
}
|
||||
tasks.getByName<org.jetbrains.intellij.tasks.PatchPluginXmlTask>("patchPluginXml") {
|
||||
@@ -56,15 +56,13 @@ tasks.getByName<org.jetbrains.intellij.tasks.PatchPluginXmlTask>("patchPluginXml
|
||||
|
||||
<br />
|
||||
|
||||
The KotlinBukkitAPI Tooling is plugin for IntelliJ that helps developers using <a href="https://github.com/DevSrSouza/KotlinBukkitAPI">KotlinBukkitAPI</a> and scripts for <a href="https://github.com/DevSrSouza/Bukkript">Bukkript</a>. This libraries help build extensions for Minecraft Server using Spigot server.
|
||||
The KotlinBukkitAPI Tooling is plugin for IntelliJ that helps
|
||||
<br />
|
||||
developers using <a href="https://github.com/DevSrSouza/KotlinBukkitAPI">KotlinBukkitAPI</a> and scripts for <a href="https://github.com/DevSrSouza/Bukkript">Bukkript</a>.
|
||||
<br />
|
||||
This libraries help build extensions for Minecraft Server using Spigot server.
|
||||
|
||||
<br />
|
||||
|
||||
<img src="https://img.shields.io/static/v1?label=Kotlin&message=${kotlinVersion}&color=Orange&style=for-the-badge" />
|
||||
<a href="https://github.com/DevSrSouza/KotlinBukkitAPI"><img src="https://img.shields.io/static/v1?label=KotlinBukkitAPI&message=${kotlinBukkitAPIVersion}&color=Orange&style=for-the-badge" /></a>
|
||||
<a href="https://github.com/DevSrSouza/Bukkript"><img src="https://img.shields.io/static/v1?label=Bukkript&message=${bukkriptVersion}&color=Orange&style=for-the-badge" /></a>
|
||||
<img src="https://img.shields.io/github/stars/DevSrSouza/KotlinBukkitAPI-Tooling.svg?style=for-the-badge&color=orange&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAADYklEQVR4XuWbvbPNQBiHn9uo6NFT0GEYHa0/QofOR2MojI8xxmh8VFwVf4RaxTB0KOhdPRUF8zPJmdy1J3l3N9ndxDb3zr0n2exzfu/zJjk5G5Qdh5vp35c6jI1SEzfzbgK/gXOljqMkgF3A1wbAXuBHCQglAehdf9wsWr8rDdlHSQCq+0MdBxzJvnqgFADJ752zYAHILsNSABT3Mw4A/S27DEsAaOW30wHwHcguwxIAuvJzyz67DEsA6MrPBaD/ZZVhbgA++bkQssowNwCf/FwAWWWYE8A6+bkAssowJ4A++RWTYU4AffIrJsNcACzyKyLDXAAs8isiwxwArPIrIsMcAELkl12GOQCEyC+7DAUgpj5LXLpPMeemAOwAXgLHp5ih4n2+Ak62JbCnuRmhn//D2ALUmre6DlAClAQlYsnjJ3ACeK1FuhI8CzxZ8uqbu06rG7C+LrBkKf5zpekDsFQp/pUeoBJYjXXnAUuT4kp6bnn3nQgtRYrbpBcCQK9dghR7b7RaToXnLMXB22sWAHOVold6oSXQvn5uUlwrvVgA2m4uUuyVXgqAuUgx6NMliwN8t6rcDzZrOXselF5qArR9rVI0SW8MANpHbVI0S28sADVJMUh6YwKoRYpB0hsbwEHgQ2ED6hg+xR5DTBfoznUDuB47+Ujb6Rhuxu4rFcBH4EDs5CNtp3dfKYgaKQBqiH+76OgySAFQQ/xbANFlkAKghvi3AKLLIBZATfFPKoNYADXFP6kMYgHUFP+kMogBUGP8o8sgBsBY8f8MXGqO/D6wP6qRb98ouBvEAEiNvx6DuwU8BH41x69L7AvANUBPlMSO4G4QCiAl/vpqzDPgKvBtzQp3A3eB0wmP8gedFIUCiI3/G+A88Nb41h4DHgFHja93r0/M1wahAELjr3f6CvC8+W5QyHp0bEqCEqFkWEdQGYQACIm/blI8AG4DqvmUISfIDXKE9dkFcxmEALDG/wVwEfiSsmrPtvsaqKcM+zV3gxAAQ/Fv25oATDkEYKhtmsvACqAv/r62NiUA7dvSNk1lYAXgi7+lrU0Noq9tmsrACsCNf2hbmxqEr22aysACoBv/lLY2NQRf2xwsAwsARUlnb2O1talBdNvmnaEbphYA94CnE7S1qUGobeozzMt9E/0BUX274HXoySkAAAAASUVORK5CYII=" />
|
||||
<img src="https://img.shields.io/badge/license-MIT-blue.svg?color=ORANGE&style=for-the-badge" />
|
||||
|
||||
<br />
|
||||
|
||||
@@ -84,6 +82,28 @@ tasks.getByName<org.jetbrains.intellij.tasks.PatchPluginXmlTask>("patchPluginXml
|
||||
|
||||
<img src="https://i.imgur.com/exlwVUs.gif" width='680' height='390'/>
|
||||
""".trimIndent())
|
||||
|
||||
|
||||
changeNotes("""
|
||||
<h3>0.0.5</h3>
|
||||
<br />
|
||||
|
||||
<ul>
|
||||
<li>Menu Preview support for 1.13+ Material enum.</li>
|
||||
<li>Increase Menu Preview performance</li>
|
||||
</ul>
|
||||
|
||||
<br />
|
||||
|
||||
<h3>0.0.3</h3>
|
||||
<br />
|
||||
|
||||
<ul>
|
||||
<li>KotlinBukkitAPI Project Wizard</li>
|
||||
<li>Menu Preview tab only avaiable on projects that was KotlinBukkitAPI or is a Bukkript script.</li>
|
||||
<li>Custom folder icons for highlight the Bukkript related folders.</li>
|
||||
</ul>
|
||||
""".trimIndent())
|
||||
}
|
||||
|
||||
configurations.all {
|
||||
|
||||
@@ -0,0 +1,124 @@
|
||||
@file:DependsOn("io.ktor:ktor-client-core:1.4.0")
|
||||
@file:DependsOn("io.ktor:ktor-client-core-jvm:1.4.0")
|
||||
@file:DependsOn("io.ktor:ktor-client-apache:1.4.0")
|
||||
@file:DependsOn("io.ktor:ktor-client-json-jvm:1.4.0")
|
||||
@file:DependsOn("io.ktor:ktor-client-gson:1.4.0")
|
||||
|
||||
@file:DependsOn("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9")
|
||||
|
||||
// HTML
|
||||
@file:DependsOn("it.skrape:skrapeit-core:1.0.0-alpha6")
|
||||
@file:DependsOn("io.github.rybalkinsd:kohttp:0.12.0")
|
||||
@file:DependsOn("org.jsoup:jsoup:1.13.1")
|
||||
|
||||
// IMAGE RESIZE
|
||||
@file:DependsOn("com.sksamuel.scrimage:scrimage-core:4.0.6")
|
||||
@file:DependsOn("com.sksamuel.scrimage:scrimage-formats-extra:4.0.6")
|
||||
@file:DependsOn("ar.com.hjg:pngj:2.1.0")
|
||||
@file:DependsOn("com.github.zh79325:open-gif:1.0.4")
|
||||
|
||||
// CODE GENERATIOn
|
||||
@file:DependsOn("com.squareup:kotlinpoet:1.6.0")
|
||||
|
||||
import com.sksamuel.scrimage.ImmutableImage
|
||||
import com.sksamuel.scrimage.ScaleMethod
|
||||
import com.sksamuel.scrimage.nio.PngWriter
|
||||
import com.squareup.kotlinpoet.FileSpec
|
||||
import com.squareup.kotlinpoet.TypeSpec
|
||||
import io.ktor.client.*
|
||||
import io.ktor.client.engine.apache.*
|
||||
import io.ktor.client.request.*
|
||||
import it.skrape.core.htmlDocument
|
||||
import it.skrape.extract
|
||||
import it.skrape.skrape
|
||||
import kotlinx.coroutines.flow.asFlow
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import kotlinx.coroutines.flow.onEach
|
||||
import kotlinx.coroutines.runBlocking
|
||||
import java.awt.Color
|
||||
import java.awt.image.BufferedImage
|
||||
import java.io.File
|
||||
|
||||
data class Item(
|
||||
val id: String,
|
||||
val image: String,
|
||||
)
|
||||
|
||||
var items = skrape {
|
||||
url = "https://www.deadmap.com/idlist"
|
||||
|
||||
extract {
|
||||
htmlDocument {
|
||||
findFirst("#idlist").findAll("tr") {
|
||||
map {
|
||||
val img = it.findFirst("img")
|
||||
.attribute("src")
|
||||
.replace(" ", "%20")
|
||||
|
||||
val id = it.findFirst("i").text
|
||||
|
||||
Item(id.removePrefix("minecraft:"), "https://www.deadmap.com/$img")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
println(items.joinToString("\n"))
|
||||
|
||||
// FIXERS
|
||||
val fixers = mapOf(
|
||||
"staned" to "stained",
|
||||
"dandelion_yellow" to "yellow_dye"
|
||||
)
|
||||
|
||||
items = items.map { it.copy(fixers.entries.fold(it.id) { id, entry -> id.replace(entry.key, entry.value) }) }
|
||||
|
||||
runBlocking {
|
||||
val client = HttpClient(Apache)
|
||||
|
||||
val iconsFolder = File("../src/main/resources/assets/items-13").canonicalFile
|
||||
iconsFolder.mkdirs()
|
||||
|
||||
items
|
||||
.withIndex()
|
||||
.asFlow()
|
||||
.onEach { (index, item) ->
|
||||
val (name, imageUrl) = item
|
||||
println("Downloading item: $name ($index/${items.size - 1})")
|
||||
|
||||
val imageBytes = client.get<ByteArray>(imageUrl)
|
||||
|
||||
val image = ImmutableImage.loader()
|
||||
.type(BufferedImage.TYPE_INT_ARGB)
|
||||
.fromBytes(imageBytes)
|
||||
.run {
|
||||
val tags = metadata.tags()
|
||||
val width = tags.first { it.name.contains("Width") }.rawValue.toInt()
|
||||
val height = tags.first { it.name.contains("Height") }.rawValue.toInt()
|
||||
|
||||
if(width > 32 || height > 32) {
|
||||
scaleTo(32, 32, ScaleMethod.FastScale)
|
||||
} else this
|
||||
}
|
||||
|
||||
image.output(PngWriter.NoCompression, File(iconsFolder, "$name.png"))
|
||||
println("Complete download and resize: $name ($index/${items.size - 1})")
|
||||
}
|
||||
.collect()
|
||||
}
|
||||
|
||||
println("Generating MinecrateItem13 Enumeration")
|
||||
|
||||
FileSpec.builder("br.com.devsrsouza.kotlinbukkitapi.tooling.menu", "MinecraftItem13")
|
||||
.addType(
|
||||
TypeSpec.enumBuilder("MinecraftItem13")
|
||||
.apply {
|
||||
for ((id, _) in items) {
|
||||
addEnumConstant(id.toUpperCase())
|
||||
}
|
||||
}
|
||||
.build()
|
||||
)
|
||||
.build()
|
||||
.writeTo(File("../src/main/kotlin/").canonicalFile)
|
||||
@@ -10,6 +10,9 @@ object Assets {
|
||||
|
||||
private const val assetFolder = "/assets"
|
||||
|
||||
val KotlinBukkitAPIIcon =
|
||||
load("$assetFolder/icons/kotlinbukkitapi-icon.svg")
|
||||
val KotlinBukkitAPIIcon = load("$assetFolder/icons/kotlinbukkitapi-icon.svg")
|
||||
val Bukkript = load("$assetFolder/icons/bukkript.svg")
|
||||
val FolderScript = load("$assetFolder/icons/folderScript.svg")
|
||||
val FolderPlugins = load("$assetFolder/icons/folderPlugins.svg")
|
||||
val FolderBukkript = load("$assetFolder/icons/folderBukkript.svg")
|
||||
}
|
||||
@@ -14,7 +14,7 @@ class BukkriptFileType : LanguageFileType(KotlinLanguage.INSTANCE), FileTypeIden
|
||||
val INSTANCE = BukkriptFileType()
|
||||
}
|
||||
|
||||
override fun getIcon(): Icon? = Assets.KotlinBukkitAPIIcon
|
||||
override fun getIcon(): Icon? = Assets.Bukkript
|
||||
|
||||
override fun getName(): String = BUKKRIPT_FILE
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.bukkript
|
||||
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.Assets
|
||||
import com.intellij.ide.IconProvider
|
||||
import com.intellij.openapi.project.DumbAware
|
||||
import com.intellij.psi.PsiElement
|
||||
@@ -8,8 +9,15 @@ import javax.swing.Icon
|
||||
|
||||
class BukkriptIconProvider : IconProvider(), DumbAware {
|
||||
override fun getIcon(element: PsiElement, flags: Int): Icon? {
|
||||
if(element is PsiFile && element.name.isBukkriptScript()) {
|
||||
return BukkriptFileType.INSTANCE.icon
|
||||
if(element is PsiFile) {
|
||||
val file = element.virtualFile
|
||||
return when {
|
||||
file.isBukkriptScript() -> BukkriptFileType.INSTANCE.icon
|
||||
file.isScriptFolder() -> Assets.FolderScript
|
||||
file.isPluginsFolder() -> Assets.FolderPlugins
|
||||
file.isBukkriptFolder() -> Assets.FolderBukkript
|
||||
else -> null
|
||||
}
|
||||
} else {
|
||||
return null
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.bukkript
|
||||
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.Assets
|
||||
import com.intellij.ide.projectView.PresentationData
|
||||
import com.intellij.ide.projectView.ProjectViewNode
|
||||
import com.intellij.ide.projectView.ProjectViewNodeDecorator
|
||||
import com.intellij.packageDependencies.ui.PackageDependenciesNode
|
||||
import com.intellij.ui.ColoredTreeCellRenderer
|
||||
|
||||
class BukkriptViewNodeDecorator : ProjectViewNodeDecorator {
|
||||
override fun decorate(node: ProjectViewNode<*>, data: PresentationData) {
|
||||
val file = node.virtualFile ?: return
|
||||
|
||||
val icon = when {
|
||||
file.isScriptFolder() -> Assets.FolderScript
|
||||
file.isPluginsFolder() -> Assets.FolderPlugins
|
||||
file.isBukkriptFolder() -> Assets.FolderBukkript
|
||||
else -> null
|
||||
}
|
||||
|
||||
if(icon != null) {
|
||||
node.icon = icon
|
||||
data.setIcon(icon)
|
||||
}
|
||||
}
|
||||
|
||||
override fun decorate(node: PackageDependenciesNode, cellRenderer: ColoredTreeCellRenderer) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,32 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.bukkript
|
||||
|
||||
fun String.isBukkriptScript() = endsWith(".$BUKKRIPT_EXTENSION", true)
|
||||
import com.intellij.openapi.vfs.VirtualFile
|
||||
import java.io.File
|
||||
|
||||
fun String.isBukkriptScript() = endsWith(".$BUKKRIPT_EXTENSION", true)
|
||||
|
||||
fun VirtualFile.isBukkriptScript() = name.isBukkriptScript()
|
||||
|
||||
fun VirtualFile.isScriptFolder(): Boolean {
|
||||
if(name != "scripts") return false
|
||||
|
||||
val bukkriptFodler = parent ?: return false
|
||||
|
||||
return bukkriptFodler.isBukkriptFolder()
|
||||
}
|
||||
|
||||
fun VirtualFile.isPluginsFolder(): Boolean {
|
||||
if(name != "plugins") return false
|
||||
|
||||
val rootServerFolder = parent ?: return false
|
||||
|
||||
return rootServerFolder.children?.find { it.name == "server.properties" } != null
|
||||
}
|
||||
|
||||
fun VirtualFile.isBukkriptFolder(): Boolean {
|
||||
if(name != "Bukkript") return false
|
||||
|
||||
val pluginsFolder = parent ?: return false
|
||||
|
||||
return pluginsFolder.name == "plugins"
|
||||
}
|
||||
@@ -7,8 +7,8 @@ data class MenuDeclaration(
|
||||
)
|
||||
|
||||
data class MenuSlotDeclaration(
|
||||
val line: Int,
|
||||
val slot: Int,
|
||||
val itemId: Int?,
|
||||
val isSelected: Boolean = false
|
||||
val line: Int,
|
||||
val slot: Int,
|
||||
val item: String,
|
||||
val isSelected: Boolean = false
|
||||
)
|
||||
@@ -17,6 +17,7 @@ class InventoryComponent(
|
||||
private val minecraftFontResource = "/assets/fonts/Minecraftia-Regular.ttf"
|
||||
private val spritesFolder = "/assets/sprites"
|
||||
private val itemsSpriteFolder = "/assets/items"
|
||||
private val items13SpriteFolder = "/assets/items-13"
|
||||
|
||||
// the selected-border is 36x36 and not 32x32
|
||||
private val selectedBorderSizeDiff = 2
|
||||
@@ -34,8 +35,20 @@ class InventoryComponent(
|
||||
private val itemsImage = declaration.slots.filter {
|
||||
it.line in 1..declaration.lines && it.slot in 1..9
|
||||
}.keysToMap {
|
||||
ImageLoader.loadFromResource("$itemsSpriteFolder/${it.itemId}-0.png")
|
||||
//?.getScaledInstance(16, 16, Image.SCALE_FAST)
|
||||
// TODO: Support data
|
||||
val item13 = runCatching { MinecraftItem13.valueOf(it.item) }.getOrNull()
|
||||
|
||||
if(item13 != null) {
|
||||
ImageLoader.loadFromResource("$items13SpriteFolder/${item13.name.toLowerCase()}.png")
|
||||
} else {
|
||||
val item = runCatching { MinecraftItem.valueOf(it.item) }.getOrNull()
|
||||
|
||||
if (item != null) {
|
||||
ImageLoader.loadFromResource("$itemsSpriteFolder/${item.id}-0.png")
|
||||
} else {
|
||||
null
|
||||
}
|
||||
}
|
||||
}
|
||||
private val selectionImage = if(declaration.slots.any { it.isSelected })
|
||||
ImageLoader.loadFromResource("$spritesFolder/selected-border.png")
|
||||
|
||||
@@ -24,6 +24,10 @@ class MenuPreviewFileEditor(
|
||||
private val mainEditor: TextEditor
|
||||
) : UserDataHolderBase(), FileEditor {
|
||||
|
||||
companion object {
|
||||
const val REBUILD_DELAY_MILLISECONDS = 200
|
||||
}
|
||||
|
||||
private val mySwingAlarm = Alarm(Alarm.ThreadToUse.SWING_THREAD, this)
|
||||
private val myDocument = FileDocumentManager.getInstance().getDocument(myFile)!!
|
||||
private val myUi = JPanel().apply {
|
||||
@@ -49,7 +53,7 @@ class MenuPreviewFileEditor(
|
||||
override fun documentChanged(event: DocumentEvent) {
|
||||
mySwingAlarm.addRequest({
|
||||
rebuild(currentScroll.viewport.viewPosition)
|
||||
}, 50)
|
||||
}, REBUILD_DELAY_MILLISECONDS)
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
@@ -3,7 +3,9 @@ package br.com.devsrsouza.kotlinbukkitapi.tooling.menu
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.bukkript.BukkriptFileType
|
||||
import com.intellij.openapi.fileEditor.*
|
||||
import com.intellij.openapi.fileEditor.impl.text.TextEditorProvider
|
||||
import com.intellij.openapi.module.ModuleUtilCore
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.roots.ModuleRootManager
|
||||
import com.intellij.openapi.vfs.VirtualFile
|
||||
import org.jetbrains.kotlin.idea.KotlinFileType
|
||||
|
||||
@@ -13,23 +15,35 @@ class MenuPreviewFileEditorProvider : WeighedFileEditorProvider() {
|
||||
const val ID = "kotlinbukkitapi-menu-preview"
|
||||
}
|
||||
|
||||
override fun getEditorTypeId(): String =
|
||||
ID
|
||||
override fun getEditorTypeId(): String = ID
|
||||
|
||||
override fun accept(project: Project, file: VirtualFile): Boolean {
|
||||
|
||||
val type = file.fileType
|
||||
|
||||
if(type != KotlinFileType.INSTANCE && type != BukkriptFileType.INSTANCE) return false
|
||||
if(type == BukkriptFileType.INSTANCE) return true
|
||||
|
||||
return true
|
||||
// return PsiManager.getInstance(project).findFile(file)?.findDescendantOfType<KtCallExpression> {
|
||||
// findMenuDeclaration(it) != null
|
||||
// } != null
|
||||
if(type != KotlinFileType.INSTANCE) return false
|
||||
|
||||
val module = ModuleUtilCore.findModuleForFile(file, project) ?: return false
|
||||
|
||||
val root = ModuleRootManager.getInstance(module)
|
||||
var hasKotlinBukkitAPI = false
|
||||
|
||||
root.orderEntries().withoutSdk().forEachLibrary {
|
||||
if((it.name ?: "").contains("kotlinbukkitapi", true)) {
|
||||
hasKotlinBukkitAPI = true
|
||||
|
||||
false
|
||||
} else {
|
||||
true
|
||||
}
|
||||
}
|
||||
|
||||
return hasKotlinBukkitAPI
|
||||
}
|
||||
|
||||
override fun createEditor(project: Project, file: VirtualFile): FileEditor {
|
||||
println(file.canonicalPath)
|
||||
val editor: TextEditor = TextEditorProvider.getInstance().createEditor(project, file) as TextEditor
|
||||
val preview =
|
||||
MenuPreviewFileEditor(project, file, editor)
|
||||
|
||||
@@ -68,16 +68,12 @@ fun findMenuDeclaration(
|
||||
val typeExpression = materialExpression.selectorExpression as? KtNameReferenceExpression ?: return@mapNotNull null
|
||||
val materialName = typeExpression.text ?: return@mapNotNull null
|
||||
|
||||
val item = runCatching { MinecraftItem.valueOf(materialName) }.getOrNull()
|
||||
|
||||
println("Slot $line, $slot using item: $materialName")
|
||||
|
||||
val isSelected = it.getLineNumber() == currentSelectedLine
|
||||
|
||||
MenuSlotDeclaration(
|
||||
line,
|
||||
slot,
|
||||
item?.id,
|
||||
materialName,
|
||||
isSelected
|
||||
)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard
|
||||
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.utils.addAtGrid
|
||||
import com.intellij.ide.util.projectWizard.*
|
||||
import com.intellij.uiDesigner.core.*
|
||||
import javax.swing.*
|
||||
|
||||
/**
|
||||
* https://github.com/ktorio/ktor-init-tools/blob/master/ktor-intellij-plugin/src/io/ktor/start/intellij/KtorArtifactWizardStep.kt
|
||||
*/
|
||||
class KBAPIArtifactWizard(val config: KBAPIModuleConfig) : ModuleWizardStep() {
|
||||
val groupId: JTextField
|
||||
val artifactId: JTextField
|
||||
val version: JTextField
|
||||
val author: JTextField
|
||||
val website: JTextField
|
||||
val description: JTextField
|
||||
|
||||
val panel = JPanel().apply {
|
||||
layout = GridLayoutManager(8, 2)
|
||||
|
||||
fun addLabelText(name: String, value: String, row: Int): JTextField {
|
||||
val tfield = JTextField(value)
|
||||
addAtGrid(
|
||||
JLabel(name),
|
||||
row = row,
|
||||
column = 0,
|
||||
anchor = GridConstraints.ANCHOR_WEST,
|
||||
fill = GridConstraints.FILL_NONE,
|
||||
HSizePolicy = GridConstraints.SIZEPOLICY_FIXED,
|
||||
VSizePolicy = GridConstraints.SIZEPOLICY_FIXED
|
||||
)
|
||||
addAtGrid(
|
||||
tfield,
|
||||
row = row,
|
||||
column = 1,
|
||||
anchor = GridConstraints.ANCHOR_WEST,
|
||||
fill = GridConstraints.FILL_HORIZONTAL,
|
||||
HSizePolicy = GridConstraints.SIZEPOLICY_CAN_GROW or GridConstraints.SIZEPOLICY_WANT_GROW,
|
||||
VSizePolicy = GridConstraints.SIZEPOLICY_FIXED
|
||||
)
|
||||
return tfield
|
||||
}
|
||||
|
||||
addAtGrid(
|
||||
JLabel(""),
|
||||
row = 0,
|
||||
column = 0,
|
||||
HSizePolicy = GridConstraints.SIZEPOLICY_FIXED,
|
||||
VSizePolicy = GridConstraints.SIZEPOLICY_FIXED
|
||||
)
|
||||
|
||||
artifactId = addLabelText("Plugin Name", config.artifactId, row = 1)
|
||||
groupId = addLabelText("GroupId", config.artifactGroup, row = 2)
|
||||
version = addLabelText("Version", config.artifactVersion, row = 3)
|
||||
author = addLabelText("Author", config.author, row = 4)
|
||||
website = addLabelText("Website", config.author, row = 5)
|
||||
description = addLabelText("Description", config.description, row = 6)
|
||||
|
||||
add(Spacer().apply {}, GridConstraints().apply {
|
||||
colSpan = 2
|
||||
row = 7
|
||||
column = 0
|
||||
fill = GridConstraints.FILL_VERTICAL
|
||||
})
|
||||
}
|
||||
|
||||
override fun updateDataModel() {
|
||||
config.artifactGroup = groupId.text
|
||||
config.artifactId = artifactId.text
|
||||
config.artifactVersion = version.text
|
||||
config.author = author.text
|
||||
config.website = website.text
|
||||
config.description = description.text
|
||||
}
|
||||
|
||||
override fun getComponent() = panel
|
||||
}
|
||||
@@ -0,0 +1,109 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard
|
||||
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.creator.*
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.utils.backgroundTask
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.utils.get
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.utils.invokeLater
|
||||
import com.intellij.codeInsight.actions.ReformatCodeProcessor
|
||||
import com.intellij.ide.actions.ImportModuleAction
|
||||
import com.intellij.ide.util.projectWizard.JavaModuleBuilder
|
||||
import com.intellij.ide.util.projectWizard.WizardContext
|
||||
import com.intellij.openapi.Disposable
|
||||
import com.intellij.openapi.application.ApplicationManager
|
||||
import com.intellij.openapi.application.ModalityState
|
||||
import com.intellij.openapi.project.DumbAwareRunnable
|
||||
import com.intellij.openapi.projectRoots.JavaSdk
|
||||
import com.intellij.openapi.projectRoots.SdkTypeId
|
||||
import com.intellij.openapi.roots.ModifiableRootModel
|
||||
import com.intellij.openapi.roots.ui.configuration.ModulesProvider
|
||||
import com.intellij.openapi.util.Computable
|
||||
import com.intellij.openapi.util.Ref
|
||||
import com.intellij.openapi.util.io.FileUtil
|
||||
import com.intellij.openapi.vfs.LocalFileSystem
|
||||
import com.intellij.openapi.vfs.VirtualFile
|
||||
import com.intellij.projectImport.ProjectImportProvider
|
||||
import java.io.File
|
||||
import java.nio.file.Files
|
||||
import java.nio.file.Path
|
||||
import java.nio.file.Paths
|
||||
import javax.swing.Icon
|
||||
|
||||
class KBAPIModuleBuilder : JavaModuleBuilder() {
|
||||
override fun getPresentableName(): String = KBAPIModuleType.NAME
|
||||
override fun getNodeIcon(): Icon = KBAPIModuleType.ICON
|
||||
override fun getGroupName(): String = KBAPIModuleType.NAME
|
||||
override fun getBuilderId(): String? = "KOTLINBUKKITAPI_MODULE"
|
||||
override fun getWeight() = BUILD_SYSTEM_WEIGHT - 1
|
||||
override fun isSuitableSdkType(sdkType: SdkTypeId?): Boolean = sdkType === JavaSdk.getInstance()
|
||||
|
||||
val config = KBAPIModuleConfig()
|
||||
|
||||
override fun setupRootModel(rootModel: ModifiableRootModel) {
|
||||
val project = rootModel.project
|
||||
val (rootPath, vFile) = createAndGetRoot()
|
||||
val root = rootPath.toFile()
|
||||
rootModel.addContentEntry(vFile)
|
||||
if (moduleJdk != null) rootModel.sdk = moduleJdk
|
||||
|
||||
project.backgroundTask("Setting Up Project") { progress ->
|
||||
progress.text = "Generating Gradle"
|
||||
|
||||
val gradleBuildFile = generateGradleBuildFile(root).createIfNotExists()
|
||||
val gradleSettingFile = generateGradleSettingsFile(root).createIfNotExists()
|
||||
|
||||
gradleBuildFile.appendText(generateGradleBuildFileContent(config))
|
||||
gradleSettingFile.appendText(generateGradleSettingsFileContent(config))
|
||||
|
||||
progress.text = "Generating Plugin Main"
|
||||
|
||||
val pluginMain = generatePluginMainFile(root, config).createIfNotExists()
|
||||
|
||||
pluginMain.appendText(generatePluginMainFileContent(config))
|
||||
|
||||
progress.text = "Configuring project gradle"
|
||||
vFile.refresh(false, true)
|
||||
|
||||
val buildGradle = vFile["build.gradle.kts"]
|
||||
if (buildGradle != null)
|
||||
invokeLater {
|
||||
val provider = ProjectImportProvider.PROJECT_IMPORT_PROVIDER.extensions
|
||||
.firstOrNull { it.canImport(buildGradle, project) }
|
||||
?: return@invokeLater
|
||||
|
||||
val wizard = ImportModuleAction.createImportWizard(
|
||||
project,
|
||||
null,
|
||||
buildGradle,
|
||||
provider
|
||||
)
|
||||
|
||||
if (wizard != null && (wizard.stepCount <= 0 || wizard.showAndGet())) {
|
||||
ImportModuleAction.createFromWizard(project, wizard)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
override fun getParentGroup() = KBAPIModuleType.NAME
|
||||
|
||||
override fun createWizardSteps(wizardContext: WizardContext, modulesProvider: ModulesProvider) = arrayOf(
|
||||
KBAPIArtifactWizard(config)
|
||||
)
|
||||
|
||||
override fun getCustomOptionsStep(context: WizardContext, parentDisposable: Disposable?) =
|
||||
KBAPIWizardStep(config)
|
||||
|
||||
|
||||
private fun createAndGetRoot(): Pair<Path, VirtualFile> {
|
||||
val temp = contentEntryPath ?: throw IllegalStateException("Failed to get content entry path")
|
||||
|
||||
val pathName = FileUtil.toSystemIndependentName(temp)
|
||||
|
||||
val path = Paths.get(pathName)
|
||||
Files.createDirectories(path)
|
||||
val vFile = LocalFileSystem.getInstance().refreshAndFindFileByPath(pathName)
|
||||
?: throw IllegalStateException("Failed to refresh and file file: $path")
|
||||
|
||||
return path to vFile
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard
|
||||
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.bukkit.Plugin
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.bukkit.ServerType
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.bukkit.ServerVersion
|
||||
|
||||
data class KBAPIModuleConfig(
|
||||
var artifactGroup: String = "com.example",
|
||||
var artifactId: String = "MyPlugin",
|
||||
var artifactVersion: String = "0.0.1",
|
||||
var externalPlugins: List<Plugin> = listOf<Plugin>(),
|
||||
var kbAPIVersion: KotlinBukkitAPIVersion = Versions.LAST,
|
||||
var serverVersion: ServerVersion = ServerVersion.v1_8,
|
||||
var serverType: ServerType = ServerType.PAPERMC,
|
||||
var author: String = "",
|
||||
var website: String = "",
|
||||
var description: String = ""
|
||||
)
|
||||
@@ -0,0 +1,22 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard
|
||||
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.Assets
|
||||
import com.intellij.openapi.module.ModuleType
|
||||
import javax.swing.Icon
|
||||
|
||||
class KBAPIModuleType : ModuleType<KBAPIModuleBuilder>("kotlinbukkitapi") {
|
||||
|
||||
companion object {
|
||||
val NAME = "KotlinBukkitAPI"
|
||||
val DESCRIPTION = "KotlinBukkitAPI Quick"
|
||||
val ICON = Assets.KotlinBukkitAPIIcon
|
||||
val INSTANCE = KBAPIModuleType()
|
||||
}
|
||||
|
||||
override fun createModuleBuilder(): KBAPIModuleBuilder = KBAPIModuleBuilder()
|
||||
override fun getName(): String = NAME
|
||||
override fun getDescription(): String = DESCRIPTION
|
||||
override fun getNodeIcon(isOpened: Boolean): Icon = ICON
|
||||
override fun getIcon(): Icon = ICON
|
||||
|
||||
}
|
||||
@@ -0,0 +1,91 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard
|
||||
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.bukkit.*
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.utils.*
|
||||
import com.intellij.ide.util.projectWizard.ModuleWizardStep
|
||||
import com.intellij.openapi.ui.Splitter
|
||||
import com.intellij.ui.IdeBorderFactory
|
||||
import java.awt.BorderLayout
|
||||
import javax.swing.*
|
||||
|
||||
/**
|
||||
* https://github.com/ktorio/ktor-init-tools/blob/master/ktor-intellij-plugin/src/io/ktor/start/intellij/KtorModuleWizardStep.kt
|
||||
*/
|
||||
class KBAPIWizardStep(
|
||||
val config: KBAPIModuleConfig
|
||||
) : ModuleWizardStep() {
|
||||
lateinit var serverApiVersionCB: JComboBox<ServerVersion>
|
||||
lateinit var serverForkCB: JComboBox<ServerType>
|
||||
lateinit var kotlinBukkitAPIVersionCB: JComboBox<KotlinBukkitAPIVersion>
|
||||
lateinit var externalPluginList: PluginCheckboxList
|
||||
|
||||
override fun updateDataModel() {
|
||||
config.serverVersion = serverApiVersionCB.selectedItem as ServerVersion
|
||||
config.externalPlugins = externalPluginList.pluginsToCheckbox.keys.filter { it.isSelected }
|
||||
config.serverType = serverForkCB.selectedItem as ServerType
|
||||
config.kbAPIVersion = kotlinBukkitAPIVersionCB.selectedItem as KotlinBukkitAPIVersion
|
||||
}
|
||||
|
||||
val panel by lazy {
|
||||
JPanel().apply {
|
||||
val description = JPanel().apply {
|
||||
layout = BoxLayout(this, BoxLayout.Y_AXIS)
|
||||
border = IdeBorderFactory.createBorder()
|
||||
}
|
||||
|
||||
externalPluginList = object : PluginCheckboxList(ALL_PLUGINS) {
|
||||
override fun onSelected(feature: Plugin?, node: ThreeStateCheckedTreeNode) {
|
||||
// TODO: Show source link?
|
||||
}
|
||||
override fun onChanged(feature: Plugin, node: ThreeStateCheckedTreeNode) {
|
||||
feature.isSelected = !feature.isSelected
|
||||
|
||||
externalPluginList.repaint()
|
||||
}
|
||||
}
|
||||
|
||||
this.layout = BorderLayout(0, 0)
|
||||
|
||||
add(table {
|
||||
tr(
|
||||
policy = TdSize.FIXED,
|
||||
fill = TdFill.NONE,
|
||||
align = TdAlign.CENTER_LEFT
|
||||
) {
|
||||
td(JLabel("Server API Version:"))
|
||||
td(JComboBox(ServerVersion.values()).apply { serverApiVersionCB = this })
|
||||
td(JLabel("Server:"))
|
||||
td(JComboBox(ServerType.values()).apply { serverForkCB = this })
|
||||
td(JLabel("KotlinBukkitAPI:"))
|
||||
td(JComboBox(Versions.ALL).apply {
|
||||
kotlinBukkitAPIVersionCB = this
|
||||
selectedItem = Versions.LAST
|
||||
})
|
||||
}
|
||||
}, BorderLayout.NORTH)
|
||||
|
||||
add(Splitter(true, 0.8f, 0.2f, 0.8f).apply {
|
||||
this.firstComponent = table {
|
||||
tr(
|
||||
policy = TdSize.FIXED,
|
||||
minHeight = 24,
|
||||
maxHeight = 24,
|
||||
fill = TdFill.NONE,
|
||||
align = TdAlign.CENTER_LEFT
|
||||
) {
|
||||
td(JLabel("Plugins:"))
|
||||
}
|
||||
tr {
|
||||
td(externalPluginList.scrollVertical())
|
||||
}
|
||||
}
|
||||
this.secondComponent = description
|
||||
}, BorderLayout.CENTER)
|
||||
}
|
||||
}
|
||||
|
||||
override fun getComponent(): JComponent {
|
||||
return panel
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard
|
||||
|
||||
const val PLUGIN_YML = "0.3.0"
|
||||
const val SHADOW_PLUGIN = "6.0.0"
|
||||
@@ -0,0 +1,40 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard
|
||||
|
||||
object Versions {
|
||||
val `v0_1_0-SNAPSHOT` = KotlinBukkitAPIVersion("0.1.0-SNAPSHOT")
|
||||
|
||||
val ALL = arrayOf(
|
||||
`v0_1_0-SNAPSHOT`
|
||||
)
|
||||
|
||||
val LAST = `v0_1_0-SNAPSHOT`
|
||||
|
||||
val visitorAll = ALL.associate { it.version to it }
|
||||
|
||||
fun fromString(version: String) = visitorAll[version]
|
||||
}
|
||||
|
||||
data class KotlinBukkitAPIVersion(
|
||||
val version: String,
|
||||
val kotlinVersion: String = "1.4.0"
|
||||
) {
|
||||
override fun toString(): String {
|
||||
return version
|
||||
}
|
||||
|
||||
private val group = "br.com.devsrsouza.kotlinbukkitapi"
|
||||
|
||||
val repositories = listOf(
|
||||
"http://nexus.devsrsouza.com.br/repository/maven-public/",
|
||||
"https://oss.jfrog.org/oss-snapshot-local/",
|
||||
"http://nexus.okkero.com/repository/maven-releases/",
|
||||
"https://repo.codemc.org/repository/maven-public"
|
||||
)
|
||||
|
||||
val dependencies = listOf(
|
||||
"${group}:core:$version",
|
||||
"${group}:serialization:$version",
|
||||
"${group}:plugins:$version",
|
||||
"${group}:exposed:$version",
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.bukkit
|
||||
|
||||
data class Plugin(
|
||||
val name: String,
|
||||
val versions: List<PluginVersion>,
|
||||
val repositories: Set<String>,
|
||||
val displayName: String = name
|
||||
) {
|
||||
var isSelected = false
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.bukkit
|
||||
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.bukkit.ServerVersion.*
|
||||
|
||||
private val worldEdit = "com.sk89q.worldedit"
|
||||
|
||||
// TODO: plotsquared, multiverse
|
||||
|
||||
val ALL_PLUGINS = listOf(
|
||||
Plugin(
|
||||
"Vault",
|
||||
allVersion("1.7") { setOf("com.github.MilkBowl:VaultAPI:$it") },
|
||||
setOf("https://jitpack.io"),
|
||||
),
|
||||
Plugin(
|
||||
"WorldEdit",
|
||||
listOf(v1_8, v1_9, v1_12).asPluginVersion("6.1.5") { setOf("$worldEdit:worldedit-core:$it", "$worldEdit:worldedit-bukkit:$it") }
|
||||
+ listOf(v1_13, v1_14, v1_15, v1_16).asPluginVersion("7.2.0-SNAPSHOT") { setOf("$worldEdit:worldedit-core:$it", "$worldEdit:worldedit-bukkit:$it") }
|
||||
,
|
||||
setOf("http://maven.sk89q.com/repo/")
|
||||
),
|
||||
Plugin(
|
||||
"WorldGuard",
|
||||
listOf(v1_8, v1_9, v1_12).asPluginVersion("6.1") { setOf("com.sk89q:worldguard:$it") }
|
||||
+ listOf(v1_13, v1_14, v1_15, v1_16).asPluginVersion("7.0.4-SNAPSHOT") { setOf("com.sk89q.worldguard:worldguard-core:$it", "com.sk89q.worldguard:worldguard-bukkit:$it") }
|
||||
,
|
||||
setOf("http://maven.sk89q.com/repo/")
|
||||
),
|
||||
Plugin(
|
||||
"Citizens",
|
||||
allVersion("2.0.27-SNAPSHOT") { setOf("net.citizensnpcs:citizensapi:$it", "net.citizensnpcs:citizens:$it") },
|
||||
setOf("http://repo.citizensnpcs.co/")
|
||||
),
|
||||
Plugin(
|
||||
"LuckPerms",
|
||||
allVersion("5.1") { setOf("net.luckperms:api:$it") },
|
||||
setOf() // mavenCentral
|
||||
),
|
||||
Plugin(
|
||||
"ProtocolLib",
|
||||
allVersion("4.5.1") { setOf("com.comphenix.protocol:ProtocolLib:$it") },
|
||||
setOf("http://repo.dmulloy2.net/nexus/repository/public/")
|
||||
),
|
||||
Plugin(
|
||||
"PlaceholderAPI",
|
||||
allVersion("2.9.2") { setOf("me.clip:placeholderapi:$it") },
|
||||
setOf("http://repo.extendedclip.com/content/repositories/placeholderapi/")
|
||||
),
|
||||
Plugin(
|
||||
"MVdWPlaceholderAPI",
|
||||
allVersion("3.1.1") { setOf("be.maximvdw:MVdWPlaceholderAPI:$it") },
|
||||
setOf("http://repo.mvdw-software.be/content/groups/public/")),
|
||||
Plugin(
|
||||
"ActionBarAPI",
|
||||
allVersion("d60c2aedb9") { setOf("com.github.ConnorLinfoot:ActionBarAPI:$it") },
|
||||
setOf("https://jitpack.io")
|
||||
),
|
||||
Plugin(
|
||||
"TitleAPI",
|
||||
allVersion("1.7.6") { setOf("com.github.ConnorLinfoot:TitleAPI:$it") },
|
||||
setOf("https://jitpack.io")),
|
||||
Plugin(
|
||||
"ViaVersion",
|
||||
allVersion("3.1.0") { setOf("us.myles:viaversion-common:$it") },
|
||||
setOf("https://repo.viaversion.com/")
|
||||
),
|
||||
Plugin(
|
||||
"BossBarAPI",
|
||||
allVersion("2.4.2") { setOf("org.inventivetalent:bossbarapi:$it") },
|
||||
setOf("https://repo.inventivetalent.org/content/groups/public/")
|
||||
),
|
||||
Plugin(
|
||||
"HologramAPI",
|
||||
allVersion("1.6.0") { setOf("org.inventivetalent:hologramapi:$it") },
|
||||
setOf("https://repo.inventivetalent.org/content/groups/public/")
|
||||
),
|
||||
)
|
||||
|
||||
inline fun allVersion(version: String, dependencies: (String) -> Set<String>): List<PluginVersion> = ServerVersion.values().map { PluginVersion(version, it, dependencies(version)) }
|
||||
inline fun List<ServerVersion>.asPluginVersion(version: String, dependencies: (String) -> Set<String>): List<PluginVersion> = map { PluginVersion(version, it, dependencies(version)) }
|
||||
@@ -0,0 +1,7 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.bukkit
|
||||
|
||||
class PluginVersion(
|
||||
val version: String,
|
||||
val serverVersion: ServerVersion,
|
||||
val dependencies: Set<String>
|
||||
)
|
||||
@@ -0,0 +1,47 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.bukkit
|
||||
|
||||
data class ServerAPI(
|
||||
val version: ServerVersion,
|
||||
val serverType: ServerType
|
||||
)
|
||||
|
||||
val ServerAPI.dependencies: List<String> get() {
|
||||
|
||||
val versionName = when(version) {
|
||||
ServerVersion.v1_8 -> "1.8.8-R0.1-SNAPSHOT"
|
||||
ServerVersion.v1_9 -> "1.9.4-R0.1-SNAPSHOT"
|
||||
ServerVersion.v1_12 -> "1.12.2-R0.1-SNAPSHOT"
|
||||
ServerVersion.v1_13 -> "1.13.2-R0.1-SNAPSHOT"
|
||||
ServerVersion.v1_14 -> "1.14.4-R0.1-SNAPSHOT"
|
||||
ServerVersion.v1_15 -> "1.15.2-R0.1-SNAPSHOT"
|
||||
ServerVersion.v1_16 -> "1.16.2-R0.1-SNAPSHOT"
|
||||
}
|
||||
|
||||
val dependency = when(serverType) {
|
||||
ServerType.SPIGOT -> "org.spigotmc:spigot-api:$versionName"
|
||||
ServerType.PAPERMC -> {
|
||||
val v17 = "org.github.paperspigot:paperspigot-api"
|
||||
val v19 = "com.destroystokyo.paper:paper-api"
|
||||
|
||||
when(version) {
|
||||
ServerVersion.v1_8 -> "$v17:$versionName"
|
||||
else -> "$v19:$versionName"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return listOf(dependency)
|
||||
}
|
||||
|
||||
val ServerAPI.repositories: List<String> get() {
|
||||
return when(serverType) {
|
||||
ServerType.SPIGOT -> listOf(
|
||||
"https://hub.spigotmc.org/nexus/content/repositories/snapshots/",
|
||||
"https://oss.sonatype.org/content/repositories/snapshots/"
|
||||
)
|
||||
ServerType.PAPERMC -> listOf(
|
||||
"https://papermc.io/repo/repository/maven-public/",
|
||||
"https://oss.sonatype.org/content/repositories/snapshots/"
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.bukkit
|
||||
|
||||
enum class ServerType {
|
||||
SPIGOT, PAPERMC
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.bukkit
|
||||
|
||||
enum class ServerVersion(val displayName: String) {
|
||||
v1_8("1.8"),
|
||||
v1_9("1.9"),
|
||||
v1_12("1.12"),
|
||||
v1_13("1.13"),
|
||||
v1_14("1.14"),
|
||||
v1_15("1.15"),
|
||||
v1_16("1.16");
|
||||
|
||||
override fun toString(): String {
|
||||
return displayName
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,133 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.creator
|
||||
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.KBAPIModuleConfig
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.PLUGIN_YML
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.SHADOW_PLUGIN
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.bukkit.ServerAPI
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.bukkit.dependencies
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.bukkit.repositories
|
||||
import java.io.File
|
||||
|
||||
fun generateGradleBuildFile(
|
||||
root: File
|
||||
): File = File(root, "build.gradle.kts")
|
||||
|
||||
fun generateGradleSettingsFile(
|
||||
root: File
|
||||
): File = File(root, "settings.gradle.kts")
|
||||
|
||||
fun generateGradleBuildFileContent(
|
||||
config: KBAPIModuleConfig
|
||||
): String = with(config) {
|
||||
val kbapiDependencies = kbAPIVersion.dependencies
|
||||
.dependenciesAsGradle(with = ", changing")
|
||||
|
||||
val kbapiRepositories = kbAPIVersion.repositories
|
||||
.repositoriesAsGradle()
|
||||
|
||||
val serverApi = ServerAPI(config.serverVersion, config.serverType)
|
||||
val serverRepositories = serverApi.repositories.repositoriesAsGradle()
|
||||
val serverDependencies = serverApi.dependencies.dependenciesAsGradle()
|
||||
|
||||
val pluginDependencies = "${DEFAULT_INDENTATION}val transitive = Action<ExternalModuleDependency> { isTransitive = false }\n" + externalPlugins
|
||||
.flatMap { it.versions.first { it.serverVersion == serverVersion }.dependencies }
|
||||
.distinct()
|
||||
.dependenciesAsGradle(with = ", transitive")
|
||||
|
||||
val pluginRepositories = externalPlugins
|
||||
.flatMap { it.repositories }
|
||||
.distinct()
|
||||
.repositoriesAsGradle()
|
||||
|
||||
|
||||
val plugins = externalPlugins.joinToString { "\"${it.name}\"" }
|
||||
|
||||
return """
|
||||
|plugins {
|
||||
| kotlin("jvm") version "${kbAPIVersion.kotlinVersion}"
|
||||
| kotlin("plugin.serialization") version "${kbAPIVersion.kotlinVersion}"
|
||||
| id("net.minecrell.plugin-yml.bukkit") version "$PLUGIN_YML"
|
||||
| id("com.github.johnrengelman.shadow") version "$SHADOW_PLUGIN"
|
||||
|}
|
||||
|
|
||||
|group = "$artifactGroup"
|
||||
|version = "$artifactVersion"
|
||||
|
|
||||
|repositories {
|
||||
| jcenter()
|
||||
| // minecraft
|
||||
|$serverRepositories
|
||||
|
|
||||
| //kotlinbukkitapi with backup repo
|
||||
|$kbapiRepositories
|
||||
|
|
||||
| //plugins
|
||||
|$pluginRepositories
|
||||
|}
|
||||
|
|
||||
|dependencies {
|
||||
| compileOnly(kotlin("stdlib-jdk8"))
|
||||
|
|
||||
| //minecraft
|
||||
|$serverDependencies
|
||||
|
|
||||
| //kotlinbukkitapi
|
||||
| val changing = Action<ExternalModuleDependency> { isChanging = true }
|
||||
|$kbapiDependencies
|
||||
|
|
||||
| //plugins
|
||||
|$pluginDependencies
|
||||
|}
|
||||
|
|
||||
|bukkit {
|
||||
| main = "${packageName}.${pluginMainName}"
|
||||
| depend = listOf("KotlinBukkitAPI"${plugins.mapIfNotBlank { ", $it" }})
|
||||
| description = "$description"
|
||||
| author = "$author"
|
||||
| website = "$website"
|
||||
|}
|
||||
|
|
||||
|tasks {
|
||||
| compileKotlin {
|
||||
| kotlinOptions.jvmTarget = "1.8"
|
||||
| kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.time.ExperimentalTime,kotlin.ExperimentalStdlibApi"
|
||||
| }
|
||||
| compileTestKotlin {
|
||||
| kotlinOptions.jvmTarget = "1.8"
|
||||
| kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.time.ExperimentalTime,kotlin.ExperimentalStdlibApi"
|
||||
| }
|
||||
| shadowJar {
|
||||
| classifier = null
|
||||
| }
|
||||
|}
|
||||
|
|
||||
|configurations.all {
|
||||
| resolutionStrategy.cacheChangingModulesFor(120, "seconds")
|
||||
|}
|
||||
""".trimMargin()
|
||||
}
|
||||
|
||||
private inline fun List<String>.dependenciesAsGradle(configuration: String = "compileOnly", with: String = ""): String =
|
||||
joinToString("\n") {
|
||||
"$configuration(\"${it}\"$with)"
|
||||
}.prependIndent(DEFAULT_INDENTATION)
|
||||
|
||||
private inline fun List<String>.repositoriesAsGradle(): String =
|
||||
joinToString("\n") {
|
||||
"maven(\"${it}\")"
|
||||
}.prependIndent(DEFAULT_INDENTATION)
|
||||
|
||||
fun generateGradleSettingsFileContent(
|
||||
config: KBAPIModuleConfig
|
||||
): String = with(config) {
|
||||
return """
|
||||
rootProject.name = "$artifactId"
|
||||
""".trimSource()
|
||||
}
|
||||
|
||||
fun String.trimSource(): String {
|
||||
val lines = lines()
|
||||
val indentation = lines[1].indexOfFirst { !it.isWhitespace() }
|
||||
|
||||
return lines.joinToString("\n") { it.removePrefix(" ".repeat(indentation)) }
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.creator
|
||||
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.KBAPIModuleConfig
|
||||
import java.io.File
|
||||
|
||||
fun generatePluginPackageFolder(
|
||||
root: File,
|
||||
config: KBAPIModuleConfig
|
||||
): File = File(root, "src/main/kotlin/${config.packageName.replace(".", "/")}")
|
||||
|
||||
fun generatePluginMainFile(
|
||||
root: File,
|
||||
config: KBAPIModuleConfig
|
||||
): File = File(generatePluginPackageFolder(root, config), "${config.pluginMainName}.kt")
|
||||
|
||||
fun generatePluginMainFileContent(
|
||||
config: KBAPIModuleConfig
|
||||
): String = with(config) {
|
||||
return """
|
||||
package $packageName
|
||||
|
||||
import br.com.devsrsouza.kotlinbukkitapi.architecture.KotlinPlugin
|
||||
|
||||
class $pluginMainName : KotlinPlugin() {
|
||||
override fun onPluginEnable() {
|
||||
|
||||
}
|
||||
|
||||
override fun onPluginDisable() {
|
||||
|
||||
}
|
||||
}
|
||||
""".trimIndent()
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.creator
|
||||
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.KBAPIModuleConfig
|
||||
import java.io.File
|
||||
|
||||
const val DEFAULT_INDENTATION = " "
|
||||
|
||||
inline fun String.mapIfNotBlank(block: (String) -> String): String =
|
||||
if(isNotBlank())
|
||||
block(this)
|
||||
else
|
||||
this
|
||||
|
||||
fun File.createIfNotExists(): File = apply {
|
||||
if(!exists()) {
|
||||
parentFile.mkdirs()
|
||||
createNewFile()
|
||||
}
|
||||
}
|
||||
|
||||
val KBAPIModuleConfig.packageName get() = "${artifactGroup}.${artifactId.toLowerCase()}"
|
||||
val KBAPIModuleConfig.pluginMainName get() = "${artifactId}Plugin"
|
||||
@@ -0,0 +1,99 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.utils
|
||||
|
||||
import br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.bukkit.Plugin
|
||||
import com.intellij.ui.CheckboxTree
|
||||
import com.intellij.ui.CheckedTreeNode
|
||||
import com.intellij.ui.SimpleTextAttributes
|
||||
import com.intellij.util.ui.ThreeStateCheckBox
|
||||
import com.intellij.util.ui.UIUtil
|
||||
import javax.swing.JTree
|
||||
import javax.swing.tree.DefaultTreeModel
|
||||
import javax.swing.tree.TreePath
|
||||
|
||||
open class ThreeStateCheckedTreeNode : CheckedTreeNode {
|
||||
constructor() : super()
|
||||
constructor(userObject: Any?) : super(userObject)
|
||||
|
||||
var indeterminate = false
|
||||
}
|
||||
|
||||
/**
|
||||
* Based on Ktor FeatureCheckboxList
|
||||
* https://github.com/ktorio/ktor-init-tools/blob/master/ktor-intellij-plugin/src/io/ktor/start/intellij/KtorModuleWizardStep.kt#L175
|
||||
*/
|
||||
abstract class PluginCheckboxList(val plugins: List<Plugin>) : CheckboxTree(
|
||||
object : CheckboxTree.CheckboxTreeCellRenderer() {
|
||||
override fun customizeRenderer(
|
||||
tree: JTree?,
|
||||
value: Any?,
|
||||
selected: Boolean,
|
||||
expanded: Boolean,
|
||||
leaf: Boolean,
|
||||
row: Int,
|
||||
hasFocus: Boolean
|
||||
) {
|
||||
if (value is ThreeStateCheckedTreeNode) {
|
||||
val plugin = value.userObject
|
||||
val tscheckbox = checkbox as ThreeStateCheckBox
|
||||
if (plugin is Plugin) {
|
||||
val style: SimpleTextAttributes = when {
|
||||
value.indeterminate -> SimpleTextAttributes.REGULAR_ITALIC_ATTRIBUTES
|
||||
else -> SimpleTextAttributes.REGULAR_ATTRIBUTES
|
||||
}
|
||||
textRenderer.append(plugin.name, style)
|
||||
textRenderer.isEnabled = true
|
||||
tscheckbox.isVisible = true
|
||||
tscheckbox.state = when {
|
||||
value.indeterminate -> ThreeStateCheckBox.State.DONT_CARE
|
||||
value.isChecked -> ThreeStateCheckBox.State.SELECTED
|
||||
else -> ThreeStateCheckBox.State.NOT_SELECTED
|
||||
}
|
||||
textRenderer.foreground = UIUtil.getTreeForeground()
|
||||
} else if (plugin is String) {
|
||||
textRenderer.append(plugin)
|
||||
textRenderer.isEnabled = false
|
||||
isEnabled = false
|
||||
tscheckbox.isVisible = false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
ThreeStateCheckedTreeNode()
|
||||
) {
|
||||
val CheckedTreeNode?.plugin: Plugin? get() = this?.userObject as? Plugin?
|
||||
|
||||
val pluginsToCheckbox = LinkedHashMap<Plugin, ThreeStateCheckedTreeNode>()
|
||||
val root = (this.model as DefaultTreeModel).root as ThreeStateCheckedTreeNode
|
||||
init {
|
||||
this.model = object : DefaultTreeModel(root) {
|
||||
override fun valueForPathChanged(path: TreePath, newValue: Any) {
|
||||
super.valueForPathChanged(path, newValue)
|
||||
val node = path.lastPathComponent as ThreeStateCheckedTreeNode
|
||||
val plugin = node.plugin
|
||||
if (plugin != null) {
|
||||
onChanged(plugin, node)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
init {
|
||||
for (plugin in plugins) {
|
||||
root.add(ThreeStateCheckedTreeNode(plugin).apply { isChecked = false; pluginsToCheckbox[plugin] = this })
|
||||
}
|
||||
(this.model as DefaultTreeModel).reload(root)
|
||||
|
||||
addTreeSelectionListener { e ->
|
||||
val node = (e.newLeadSelectionPath.lastPathComponent as? ThreeStateCheckedTreeNode)
|
||||
val plugin = node?.userObject as? Plugin?
|
||||
|
||||
if (node != null) {
|
||||
onSelected(plugin, node)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
abstract fun onSelected(feature: Plugin?, node: ThreeStateCheckedTreeNode)
|
||||
open fun onChanged(feature: Plugin, node: ThreeStateCheckedTreeNode) {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.utils
|
||||
|
||||
import com.intellij.openapi.application.ApplicationManager
|
||||
import com.intellij.openapi.application.ModalityState
|
||||
import com.intellij.openapi.progress.ProgressIndicator
|
||||
import com.intellij.openapi.progress.ProgressManager
|
||||
import com.intellij.openapi.progress.Task
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.vfs.VirtualFile
|
||||
|
||||
/**
|
||||
* https://github.com/ktorio/ktor-init-tools/blob/master/ktor-intellij-plugin/src/io/ktor/start/intellij/util/Utils.kt
|
||||
*/
|
||||
|
||||
operator fun VirtualFile?.get(path: String?): VirtualFile? {
|
||||
if (this == null || path == null || path == "" || path == ".") return this
|
||||
val parts = path.split('/', limit = 2)
|
||||
val firstName = parts[0]
|
||||
val lastName = parts.getOrNull(1)
|
||||
val child = this.findChild(firstName)
|
||||
return if (lastName != null) child[lastName] else child
|
||||
}
|
||||
|
||||
|
||||
fun Project.backgroundTask(
|
||||
name: String,
|
||||
indeterminate: Boolean = true,
|
||||
cancellable: Boolean = false,
|
||||
background: Boolean = false,
|
||||
callback: (indicator: ProgressIndicator) -> Unit
|
||||
) {
|
||||
ProgressManager.getInstance().run(object : Task.Backgroundable(this, name, cancellable, { background }) {
|
||||
override fun shouldStartInBackground() = background
|
||||
|
||||
override fun run(indicator: ProgressIndicator) {
|
||||
try {
|
||||
if (indeterminate) indicator.isIndeterminate = true
|
||||
callback(indicator)
|
||||
} catch (e: Throwable) {
|
||||
e.printStackTrace()
|
||||
throw e
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
inline fun invokeLater(crossinline func: () -> Unit) {
|
||||
if (ApplicationManager.getApplication().isDispatchThread) {
|
||||
func()
|
||||
} else {
|
||||
ApplicationManager.getApplication().invokeLater({ func() }, ModalityState.defaultModalityState())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,171 @@
|
||||
package br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.utils
|
||||
|
||||
import com.intellij.ui.ScrollPaneFactory
|
||||
import com.intellij.ui.components.JBScrollPane
|
||||
import com.intellij.uiDesigner.core.*
|
||||
import java.awt.*
|
||||
import javax.swing.*
|
||||
|
||||
data class TdPos(val col: Int, val row: Int)
|
||||
|
||||
@DslMarker
|
||||
annotation class TableTagMarker
|
||||
|
||||
@TableTagMarker
|
||||
class TableBuilder {
|
||||
val items = LinkedHashMap<TdPos, Pair<Component, GridConstraints>>()
|
||||
var row = 0
|
||||
var col = 0
|
||||
|
||||
var fill: TdFill = TdFill.BOTH
|
||||
var anchor: TdAlign = TdAlign.CENTER_CENTER
|
||||
var hpolicy: TdSize = TdSize.CAN_SHRINK_GROW
|
||||
var vpolicy: TdSize = TdSize.CAN_SHRINK_GROW
|
||||
var minWidth: Int? = null
|
||||
var minHeight: Int? = null
|
||||
var maxWidth: Int? = null
|
||||
var maxHeight: Int? = null
|
||||
|
||||
val nrows get() = items.values.map { it.second.row + it.second.rowSpan }.max() ?: 0
|
||||
val ncols get() = items.values.map { it.second.column + it.second.colSpan }.max() ?: 0
|
||||
}
|
||||
|
||||
fun table(callback: TableBuilder.() -> Unit): JPanel {
|
||||
val tb = TableBuilder()
|
||||
tb.callback()
|
||||
val panel = JPanel(GridLayoutManager(tb.nrows, tb.ncols, Insets(0, 0, 0, 0), 0, 0, false, false))
|
||||
for (item in tb.items.values) {
|
||||
panel.add(item.first, item.second)
|
||||
}
|
||||
//add(panel)
|
||||
return panel
|
||||
}
|
||||
|
||||
fun TableBuilder.tr(
|
||||
fill: TdFill = TdFill.BOTH,
|
||||
align: TdAlign = TdAlign.CENTER_CENTER,
|
||||
policy: TdSize = TdSize.CAN_SHRINK_GROW,
|
||||
hpolicy: TdSize = policy,
|
||||
vpolicy: TdSize = policy,
|
||||
minWidth: Int? = null,
|
||||
maxWidth: Int? = null,
|
||||
minHeight: Int? = null,
|
||||
maxHeight: Int? = null,
|
||||
callback: TableBuilder.() -> Unit
|
||||
) {
|
||||
this.fill = fill
|
||||
this.anchor = align
|
||||
this.hpolicy = hpolicy
|
||||
this.vpolicy = vpolicy
|
||||
this.minWidth = minWidth
|
||||
this.maxWidth = maxWidth
|
||||
this.minHeight = minHeight
|
||||
this.maxHeight = maxHeight
|
||||
callback()
|
||||
row++
|
||||
col = 0
|
||||
}
|
||||
|
||||
//fun TableBuilder.td(colspan: Int = 1, rowspan: Int = 1, callback: TableBuilder.() -> Unit) {
|
||||
// GridConstraints()
|
||||
//}
|
||||
|
||||
fun TableBuilder.td(
|
||||
component: Component, colspan: Int = 1, rowspan: Int = 1,
|
||||
fill: TdFill? = null,
|
||||
anchor: TdAlign? = null,
|
||||
hpolicy: TdSize? = null,
|
||||
vpolicy: TdSize? = null,
|
||||
minWidth: Int? = null,
|
||||
maxWidth: Int? = null,
|
||||
minHeight: Int? = null,
|
||||
maxHeight: Int? = null
|
||||
) {
|
||||
items[TdPos(col, row)] = Pair(
|
||||
component, GridConstraints(
|
||||
row, col,
|
||||
rowspan, colspan,
|
||||
(anchor ?: this.anchor).value,
|
||||
(fill ?: this.fill).value,
|
||||
(hpolicy ?: this.hpolicy).value,
|
||||
(vpolicy ?: this.vpolicy).value,
|
||||
Dimension((minWidth ?: this.minWidth) ?: -1, (minHeight ?: this.minHeight) ?: -1),
|
||||
Dimension(-1, -1),
|
||||
Dimension((maxWidth ?: this.maxWidth) ?: -1, (maxHeight ?: this.maxHeight) ?: -1),
|
||||
0,
|
||||
false
|
||||
)
|
||||
)
|
||||
col++
|
||||
}
|
||||
|
||||
enum class TdFill(val value: Int) {
|
||||
NONE(GridConstraints.FILL_NONE),
|
||||
HORIZONTAL(GridConstraints.FILL_HORIZONTAL),
|
||||
VERTICAL(GridConstraints.FILL_VERTICAL),
|
||||
BOTH(GridConstraints.FILL_BOTH)
|
||||
}
|
||||
|
||||
enum class TdAlign(val value: Int) {
|
||||
TOP_LEFT(GridConstraints.ANCHOR_NORTHWEST),
|
||||
TOP_CENTER(GridConstraints.ANCHOR_NORTH),
|
||||
TOP_RIGHT(GridConstraints.ANCHOR_NORTHEAST),
|
||||
|
||||
CENTER_LEFT(GridConstraints.ANCHOR_WEST),
|
||||
CENTER_CENTER(GridConstraints.ANCHOR_CENTER),
|
||||
CENTER_RIGHT(GridConstraints.ANCHOR_EAST),
|
||||
|
||||
BOTTOM_LEFT(GridConstraints.ANCHOR_SOUTHWEST),
|
||||
BOTTOM_CENTER(GridConstraints.ANCHOR_SOUTH),
|
||||
BOTTOM_RIGHT(GridConstraints.ANCHOR_SOUTHEAST),
|
||||
}
|
||||
|
||||
enum class TdSize(val value: Int) {
|
||||
FIXED(GridConstraints.SIZEPOLICY_FIXED),
|
||||
CAN_SHRINK(GridConstraints.SIZEPOLICY_CAN_SHRINK),
|
||||
CAN_GROW(GridConstraints.SIZEPOLICY_CAN_GROW),
|
||||
CAN_SHRINK_GROW(GridConstraints.SIZEPOLICY_CAN_SHRINK or GridConstraints.SIZEPOLICY_CAN_SHRINK),
|
||||
WANT_GROW(GridConstraints.SIZEPOLICY_WANT_GROW),
|
||||
}
|
||||
|
||||
val <T> JComboBox<T>.items get() = (0 until this.itemCount).map { getItemAt(it) }
|
||||
|
||||
/**
|
||||
* API from: https://github.com/ktorio/ktor-init-tools/blob/master/ktor-intellij-plugin/src/io/ktor/start/intellij/util/Utils.kt
|
||||
*/
|
||||
|
||||
fun JPanel.addAtGrid(
|
||||
item: JComponent,
|
||||
row: Int, column: Int,
|
||||
rowSpan: Int = 1, colSpan: Int = 1,
|
||||
anchor: Int = GridConstraints.ANCHOR_CENTER,
|
||||
fill: Int = GridConstraints.FILL_NONE,
|
||||
HSizePolicy: Int = GridConstraints.SIZEPOLICY_CAN_GROW or GridConstraints.SIZEPOLICY_CAN_SHRINK,
|
||||
VSizePolicy: Int = GridConstraints.SIZEPOLICY_CAN_GROW or GridConstraints.SIZEPOLICY_CAN_SHRINK,
|
||||
minimumSize: Dimension = Dimension(-1, -1),
|
||||
preferredSize: Dimension = Dimension(-1, -1),
|
||||
maximumSize: Dimension = Dimension(-1, -1)
|
||||
) {
|
||||
add(
|
||||
item,
|
||||
GridConstraints(
|
||||
row,
|
||||
column,
|
||||
rowSpan,
|
||||
colSpan,
|
||||
anchor,
|
||||
fill,
|
||||
HSizePolicy,
|
||||
VSizePolicy,
|
||||
minimumSize,
|
||||
preferredSize,
|
||||
maximumSize
|
||||
)
|
||||
)
|
||||
}
|
||||
|
||||
fun Component.scrollVertical() = ScrollPaneFactory.createScrollPane(
|
||||
this,
|
||||
JBScrollPane.VERTICAL_SCROLLBAR_ALWAYS,
|
||||
JBScrollPane.HORIZONTAL_SCROLLBAR_NEVER
|
||||
)
|
||||
@@ -7,6 +7,9 @@
|
||||
on how to target different products -->
|
||||
<depends>com.intellij.modules.platform</depends>
|
||||
<depends>org.jetbrains.kotlin</depends>
|
||||
<depends>com.intellij.modules.lang</depends>
|
||||
<depends>com.intellij.modules.externalSystem</depends>
|
||||
<depends>com.intellij.modules.java</depends>
|
||||
|
||||
<extensions defaultExtensionNs="com.intellij">
|
||||
<!-- Add your extensions here -->
|
||||
@@ -16,6 +19,10 @@
|
||||
implementationClass="br.com.devsrsouza.kotlinbukkitapi.tooling.bukkript.BukkriptFileType" />
|
||||
<internalFileTemplate name="Bukkript Script" />
|
||||
<iconProvider implementation="br.com.devsrsouza.kotlinbukkitapi.tooling.bukkript.BukkriptIconProvider" order="first"/>
|
||||
|
||||
<moduleBuilder builderClass="br.com.devsrsouza.kotlinbukkitapi.tooling.wizard.KBAPIModuleBuilder" />
|
||||
|
||||
<projectViewNodeDecorator implementation="br.com.devsrsouza.kotlinbukkitapi.tooling.bukkript.BukkriptViewNodeDecorator" />
|
||||
</extensions>
|
||||
|
||||
<extensions defaultExtensionNs="org.jetbrains.kotlin">
|
||||
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1,189 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16" height="16" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<metadata>
|
||||
<rdf:RDF>
|
||||
<cc:Work rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||
<dc:title/>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs>
|
||||
<style>.cls-1{isolation:isolate;}.cls-2{fill:#797879;}.cls-3{fill:#6d6d6d;}.cls-4{fill:#989999;}.cls-5{fill:#565656;}.cls-6{fill:#525252;}.cls-7{fill:#353535;}.cls-8{opacity:0.65;}.cls-17,.cls-8{mix-blend-mode:multiply;}.cls-9{fill:url(#Gradiente_sem_nome_4);}.cls-10{fill:url(#Gradiente_sem_nome_2);}.cls-11{fill:url(#Gradiente_sem_nome_3);}.cls-12{fill:#979797;}.cls-13{fill:#d8d8d8;}.cls-14{fill:#a8a8a8;}.cls-15{fill:#737373;}.cls-16{fill:#fff;}.cls-17{opacity:0.45;}</style>
|
||||
<linearGradient id="Gradiente_sem_nome_4" x1="196.69" x2="360.57" y1="389.39" y2="225.51" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#0995d3" offset=".1"/>
|
||||
<stop stop-color="#3387c8" offset=".3"/>
|
||||
<stop stop-color="#5876b9" offset=".62"/>
|
||||
<stop stop-color="#6a6eb2" offset=".86"/>
|
||||
<stop stop-color="#716baf" offset="1"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="Gradiente_sem_nome_2" x1="184.43" x2="266.91" y1="194.2" y2="111.72" gradientTransform="matrix(.98 -.21 .21 .98 -180.79 -26.57)" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#0995d3" offset=".12"/>
|
||||
<stop stop-color="#497fc1" offset=".42"/>
|
||||
<stop stop-color="#676fb3" offset=".7"/>
|
||||
<stop stop-color="#716baf" offset=".83"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="Gradiente_sem_nome_3" x1="112.74" x2="392.46" y1="410.17" y2="130.45" gradientTransform="matrix(.98 -.21 .21 .98 -180.79 -26.57)" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#af5ea1" offset=".11"/>
|
||||
<stop stop-color="#d1609b" offset=".21"/>
|
||||
<stop stop-color="#e1725c" offset=".43"/>
|
||||
<stop stop-color="#ef7f30" offset=".6"/>
|
||||
<stop stop-color="#f18519" offset=".74"/>
|
||||
<stop stop-color="#f18816" offset=".82"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient1536" x1="-75.005" x2="96.721" y1="185.97" y2="-29.465" gradientTransform="translate(127.81)" gradientUnits="userSpaceOnUse" xlink:href="#Gradiente_sem_nome_2"/>
|
||||
<linearGradient id="linearGradient3898" x1="334.51" x2="529.45" y1="443.85" y2="151.48" gradientTransform="translate(127.81)" gradientUnits="userSpaceOnUse" xlink:href="#Gradiente_sem_nome_3"/>
|
||||
<linearGradient id="linearGradient3927" x1="184.43" x2="266.91" y1="194.2" y2="111.72" gradientTransform="matrix(.98 -.21 .21 .98 -180.79 -26.57)" gradientUnits="userSpaceOnUse" xlink:href="#Gradiente_sem_nome_2"/>
|
||||
<linearGradient id="linearGradient3929" x1="112.74" x2="392.46" y1="410.17" y2="130.45" gradientTransform="matrix(.98 -.21 .21 .98 -180.79 -26.57)" gradientUnits="userSpaceOnUse" xlink:href="#Gradiente_sem_nome_3"/>
|
||||
</defs>
|
||||
<g transform="matrix(.028891 0 0 .028891 -.34363 .91872)">
|
||||
<g class="cls-1" transform="translate(110)">
|
||||
<g data-name="Camada 1">
|
||||
<rect class="cls-2" x="210.57" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="181.75" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="152.93" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-3" x="124.11" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-4" x="268.21" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-4" x="239.39" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="210.57" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="181.75" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="152.93" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-3" x="124.11" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-3" x="95.29" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-5" x="66.46" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-4" x="297.03" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-4" x="268.21" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-4" x="239.39" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="210.57" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="181.75" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="152.93" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="124.11" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-3" x="95.29" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-5" x="66.46" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-5" x="37.64" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="297.03" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="268.21" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-4" x="239.39" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="210.57" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="181.75" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="152.93" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="124.11" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-3" x="95.29" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="66.46" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="37.64" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="239.39" y="127.29" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="210.57" y="127.29" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="181.75" y="127.29" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="152.93" y="127.29" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="124.11" y="127.29" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="95.29" y="127.29" width="28.82" height="28.82"/>
|
||||
</g>
|
||||
<g id="Camada_2_cópia_cópia" data-name="Camada 2 cópia cópia">
|
||||
<image class="cls-8" transform="scale(.24)" width="1456" height="1563" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABbEAAAYcCAYAAAA8LMeNAAAACXBIWXMAAC4jAAAuIwF4pT92AAAgAElEQVR4Xuy9244j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AAAAAAAAwE24WFpXZ6I9n03mSBb6rNvrsqqvsjOqk6eddJ2I24kYvqLv9ruz3Tupv4vvozkrc31EJJi//reu+9nnq5I6q0hYZ9J6zS3ofbYRimv+Hja8AkhsAAAAAAAAgB/gYmFtlp+LciVb566vsmrtskxKRmJR3V+rkqKVQO16Rdh28rfLru7V/SNr1UdzlFuwb8saoQhs/3kZkXRWhPa3cMYLbC+qvcjeeklmA9wZJDYAAAAAAADAxdxMWEd5NU/6PWuWKXOWTUuRo36uBGyVqRK4O/fMfvp9lXf3Z3wfzV1uybyuK/7WshfYXl5nn7E+qwrrtbrzkcCOZHYkrAHeAiQ2AAAAAAAAwMlcLK2rM9GezyZzJAArORjtdVnVV9kZ1UnTTrZOxe2e7Ky+2+/Odu+k/i5VH83KniXzukZkAngT2b/sUWRXz2cCexXVmbTO9v3nZtJ6/e6Z0A7lNn9KBF4FJDYAAAAAAADAAS4W1mb5uShXsnXu+iqr1i6LZr/nq9tfayJCFblaSdLine truncated
|
||||
<path class="cls-9" transform="translate(-85.56,4.44)" d="m423.94 279.86-152.52-99.39-115.84 179 261.15-56z" fill="url(#Gradiente_sem_nome_4)"/>
|
||||
<polygon class="cls-10" points="7.01 70.05 154.46 38.44 41.14 229.25" fill="url(#linearGradient3927)"/>
|
||||
<polygon class="cls-11" points="300.93 7.04 154.46 38.44 40.3 225.33 70.02 363.96 185.86 184.91" fill="url(#linearGradient3929)"/>
|
||||
</g>
|
||||
<g id="Camada_3_cópia" data-name="Camada 3 cópia">
|
||||
<rect class="cls-12" x="239.39" y="444.32" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="210.57" y="444.32" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="181.75" y="444.32" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="152.93" y="444.32" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="124.11" y="444.32" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="95.29" y="444.32" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="239.39" y="415.49" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="210.57" y="415.49" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="181.75" y="415.49" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="152.93" y="415.49" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="124.11" y="415.49" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="95.29" y="415.49" width="28.82" height="28.82"/>
|
||||
<rect class="cls-15" x="268.21" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="239.39" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="210.57" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="181.75" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="152.93" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-16" x="124.11" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="95.29" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="66.46" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-15" x="268.21" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="239.39" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="210.57" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="181.75" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="152.93" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-16" x="124.11" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="95.29" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="66.46" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-15" x="268.21" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="239.39" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="210.57" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="181.75" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="152.93" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="124.11" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-16" x="95.29" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="66.46" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-15" x="297.03" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="268.21" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="239.39" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="210.57" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="181.75" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="152.93" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="124.11" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-16" x="95.29" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="66.46" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="37.64" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-15" x="297.03" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="268.21" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="239.39" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="95.29" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="66.46" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="37.64" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-15" x="297.03" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="37.64" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="239.39" y="473.14" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="210.57" y="473.14" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="181.75" y="473.14" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="152.93" y="473.14" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="124.11" y="473.14" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="95.29" y="473.14" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="268.21" y="444.32" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="66.46" y="444.32" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="268.21" y="415.49" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="66.46" y="415.49" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="297.03" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="37.64" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="297.03" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="37.64" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="297.03" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="37.64" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="325.85" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="8.82" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="325.85" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="8.82" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="325.85" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="8.82" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="325.85" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="8.82" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="325.85" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="8.82" y="184.93" width="28.82" height="28.82"/>
|
||||
</g>
|
||||
<g id="Camada_5_cópia" data-name="Camada 5 cópia">
|
||||
<image class="cls-17" transform="matrix(.24 0 0 .24 13.56 181.56)" width="1402" height="562" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABXoAAAIyCAYAAAB1mnKOAAAACXBIWXMAAC4jAAAuIwF4pT92AAAgAElEQVR4Xuyd6XLlOK6EoY77/o/c5/6oxhScTiykpLPY+UUwsJLaYRPlnjkej4cJIYQQQgghhBBCCCGE+Fz+6RKEEEIIIYQQQgghhBBCvDdq9AohhBBCCCGEEEIIIcSHo0avEEIIIYQQQgghhBBCfDhq9AohhBBCCCGEEEIIIcSHo0avEEIIIYQQQgghhBBCfDhq9AohhBBCCCGEEEIIIcSHo0avEEIIIYQQQgghhBBCfDhq9AohhBBCCCGEEEIIIcSHo0avEEIIIYQQQgghhBBCfDhq9AohhBBCCCGEEEIIIcSHo0avEEIIIYQQQgghhBBCfDj/1yUIYWZ2HMfR5bwbj8fj0eUIIYQQQgghhBDid6Eeh/ipHHpPfiefWNTuRkVTCCGEEEIIIYT4PNTj+I56HL8TNXp/KCpy16MiKYQQQgghhBBCPB/1OK5HPY6fiRq9H4wK3fugAimEEEIIIYQQQuyjHsf7oB7H56JG7wegYve5qDgKIYQQQgghhBB/UY/jc1GP4/1Ro/fNUMH7+agwCiGEEEIIIYT4DajH8fNRj+O9UKP3xajoCRVFIYQQQgghhBA/AfU4hHocr0WN3iejoic6VBSFEEIIIYQQQnwC6nGIDvU4nosavU/gFxa+O6/3V72wKohCCCGEEEIIId4J9Tgu5Vft+dXjuB81em/ihxS+n3ANzse/6CqIQgghhBBCCCFegXocb8fH9wfU47gHNXov5MMK3yed67P4mI9BBVEIIYQQQgghxJ2ox/HxfEzfQD2O61Cj9yRvXPje9bw+mbf8WFQQhRBCCCGEEEJcgXocv4q37CWox3EONXo3eMPC927n85t4qw9IBVEIIYQQQgghxArqc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EwL1Nm8q86D2Su+yj+NU96tEAohhBBCCCHE1ajHQfUr8iZ25qv8XexZqMcxt1d8lX8ap7xTj+MnNHq7OSsf9mqh2C1CV+m7eRN7189YyUVWXtDVD7krGNPis5O3qp+JMd8kp/NP4994pyIohBBCCCGEEHegHseyvps3sXf9jJVcZGUvvLpH7/b90z7CTt6qfibGfJOczj+Nf+Odehxv0+j9gAI4LT5V7FX6SqzyVf4udjXVi7vyMa8Uk0mxeqa+EpvYma/yT+PfeKdCKIQQQgghhBBXoh7HrfpKrPJV/i52NepxrMUmduar/NP4N96lx/EWjd4fVACv0Lv4Wb2LrfgqPzLNi0xfzpUPt/NNi8wVehc/q+/Yma/yT+PfeJdCKIQQQgghhBBXoR7HF72Ln9W72Iqv8iPTvMh0/7uyJ+986nGs3c+V+DfeocfxqY3eLn/lg90teFVsp6CdjZ/Vmb3im8Suonpppx/1OxW7Lr6auxJjduar/NP4F96hCAohhBBCCCHElajHcUn8rM7sFd8kdhXqcdT6SozZma/yT+NfeIcex8sbvRsF0GzvI5x8zKtFbqLvxKe+lXilT+zMV/kjkxxk8nKufKzdxz8pMDuF6YxvJT7VJ3bmq/xdjPIOhVAIIYQQQgghrkA9jlO+lXilT+zMV/kjkxxksvdd2Yd3+/pJf2CnLine truncated
|
||||
<rect class="cls-7" x="210.57" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="181.75" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="152.93" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="124.11" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="268.21" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="239.39" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="95.29" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="66.46" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="297.03" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="37.64" y="213.75" width="28.82" height="28.82"/>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="scale(.86068 1.1619)" stroke-width="10.176" aria-label="{ }">
|
||||
<path d="m165.25 49.543q-19.538 0-29.714 8.9548-9.7688 8.9548-8.9548 26.05l4.0704 66.754q1.2211 23.201-9.7689 38.261-10.583 15.06-30.935 18.724 20.352 3.6633 30.935 19.131 10.99 15.06 9.7689 37.854l-4.0704 66.754q-0.81407 17.096 8.9548 26.05 10.176 8.9548 29.714 8.9548h18.317v32.563h-18.317q-36.226 0-56.578-17.91-20.352-17.91-18.724-49.658l4.0704-66.754q0.81407-15.06-2.4422-23.608-2.8493-8.9548-11.804-13.025-8.9548-4.0704-26.457-4.0704h-44.774v-32.563h44.774q17.503 0 26.457-4.0704 8.9548-4.0704 11.804-12.618 3.2563-8.5478 2.4422-24.015l-4.0704-66.754q-1.6281-31.749 18.724-49.658 20.352-17.91 56.578-17.91h18.317v32.563z" fill="url(#linearGradient1536)"/>
|
||||
<path d="m672 192.01v32.563h-44.774q-17.503 0-26.457 4.0704-8.9548 4.0704-12.211 13.025-2.8492 8.5478-2.0352 23.608l4.0704 66.754q1.6282 31.749-18.724 49.658t-56.578 17.91h-18.317v-32.563h18.317q19.538 0 29.307-8.9548 10.176-8.9548 9.3618-26.05l-4.0704-66.754q-1.2211-22.794 9.3618-37.854 10.99-15.467 31.342-19.131-20.352-3.6633-31.342-18.724-10.583-15.06-9.3618-38.261l4.0704-66.754q0.81407-17.096-9.3618-26.05-9.7689-8.9548-29.307-8.9548h-18.317v-32.563h18.317q36.226 0 56.578 17.91 20.352 17.91 18.724 49.658l-4.0704 66.754q-0.81407 15.467 2.0352 24.015 3.2563 8.5478 12.211 12.618 8.9548 4.0704 26.457 4.0704z" fill="url(#linearGradient3898)"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 307 KiB |
@@ -0,0 +1,190 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="16" height="16" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<metadata>
|
||||
<rdf:RDF>
|
||||
<cc:Work rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||
<dc:title/>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs>
|
||||
<style>.cls-1{isolation:isolate;}.cls-2{fill:#797879;}.cls-3{fill:#6d6d6d;}.cls-4{fill:#989999;}.cls-5{fill:#565656;}.cls-6{fill:#525252;}.cls-7{fill:#353535;}.cls-8{opacity:0.65;}.cls-17,.cls-8{mix-blend-mode:multiply;}.cls-9{fill:url(#Gradiente_sem_nome_4);}.cls-10{fill:url(#Gradiente_sem_nome_2);}.cls-11{fill:url(#Gradiente_sem_nome_3);}.cls-12{fill:#979797;}.cls-13{fill:#d8d8d8;}.cls-14{fill:#a8a8a8;}.cls-15{fill:#737373;}.cls-16{fill:#fff;}.cls-17{opacity:0.45;}</style>
|
||||
<linearGradient id="Gradiente_sem_nome_4" x1="196.69" x2="360.57" y1="389.39" y2="225.51" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#0995d3" offset=".1"/>
|
||||
<stop stop-color="#3387c8" offset=".3"/>
|
||||
<stop stop-color="#5876b9" offset=".62"/>
|
||||
<stop stop-color="#6a6eb2" offset=".86"/>
|
||||
<stop stop-color="#716baf" offset="1"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="Gradiente_sem_nome_2" x1="184.43" x2="266.91" y1="194.2" y2="111.72" gradientTransform="matrix(.98 -.21 .21 .98 -180.79 -26.57)" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#0995d3" offset=".12"/>
|
||||
<stop stop-color="#497fc1" offset=".42"/>
|
||||
<stop stop-color="#676fb3" offset=".7"/>
|
||||
<stop stop-color="#716baf" offset=".83"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="Gradiente_sem_nome_3" x1="112.74" x2="392.46" y1="410.17" y2="130.45" gradientTransform="matrix(.98 -.21 .21 .98 -180.79 -26.57)" gradientUnits="userSpaceOnUse">
|
||||
<stop stop-color="#af5ea1" offset=".11"/>
|
||||
<stop stop-color="#d1609b" offset=".21"/>
|
||||
<stop stop-color="#e1725c" offset=".43"/>
|
||||
<stop stop-color="#ef7f30" offset=".6"/>
|
||||
<stop stop-color="#f18519" offset=".74"/>
|
||||
<stop stop-color="#f18816" offset=".82"/>
|
||||
</linearGradient>
|
||||
<linearGradient id="linearGradient1536" x1="-75.005" x2="96.721" y1="185.97" y2="-29.465" gradientTransform="translate(127.81)" gradientUnits="userSpaceOnUse" xlink:href="#Gradiente_sem_nome_2"/>
|
||||
<linearGradient id="linearGradient3898" x1="334.51" x2="529.45" y1="443.85" y2="151.48" gradientTransform="translate(127.81)" gradientUnits="userSpaceOnUse" xlink:href="#Gradiente_sem_nome_3"/>
|
||||
<linearGradient id="linearGradient3927" x1="184.43" x2="266.91" y1="194.2" y2="111.72" gradientTransform="matrix(.98 -.21 .21 .98 -180.79 -26.57)" gradientUnits="userSpaceOnUse" xlink:href="#Gradiente_sem_nome_2"/>
|
||||
<linearGradient id="linearGradient3929" x1="112.74" x2="392.46" y1="410.17" y2="130.45" gradientTransform="matrix(.98 -.21 .21 .98 -180.79 -26.57)" gradientUnits="userSpaceOnUse" xlink:href="#Gradiente_sem_nome_3"/>
|
||||
</defs>
|
||||
<path d="m1 13h14v-9h-7.0154l-1.2882-1.2885c-0.47471-0.4259-1.0806-0.67691-1.7174-0.71149h-3.9276c-0.028321 0-0.05128 0.022959-0.05128 0.05128v10.949z" fill="#9AA7B0" fill-opacity=".8" fill-rule="evenodd"/>
|
||||
<g transform="matrix(.022303 0 0 .022303 3.0089 4.6335)">
|
||||
<g class="cls-1" transform="translate(110)">
|
||||
<g data-name="Camada 1">
|
||||
<rect class="cls-2" x="210.57" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="181.75" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="152.93" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-3" x="124.11" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-4" x="268.21" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-4" x="239.39" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="210.57" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="181.75" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="152.93" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-3" x="124.11" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-3" x="95.29" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-5" x="66.46" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-4" x="297.03" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-4" x="268.21" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-4" x="239.39" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="210.57" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="181.75" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="152.93" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="124.11" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-3" x="95.29" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-5" x="66.46" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-5" x="37.64" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="297.03" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="268.21" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-4" x="239.39" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="210.57" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="181.75" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="152.93" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-2" x="124.11" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-3" x="95.29" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="66.46" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="37.64" y="156.11" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="239.39" y="127.29" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="210.57" y="127.29" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="181.75" y="127.29" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="152.93" y="127.29" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="124.11" y="127.29" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="95.29" y="127.29" width="28.82" height="28.82"/>
|
||||
</g>
|
||||
<g id="Camada_2_cópia_cópia" data-name="Camada 2 cópia cópia">
|
||||
<image class="cls-8" transform="scale(.24)" width="1456" height="1563" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABbEAAAYcCAYAAAA8LMeNAAAACXBIWXMAAC4jAAAuIwF4pT92AAAgAElEQVR4Xuy9244jyQ4ly6yZ///h6ew6D7XjtIvFy2JclCHJDCCcXO6hUgjoF4Mj++v3798GAAAAAAAAAAAAAHBHfnUHAAAAAAAAAAAAAAB+CiQ2AAAAAAAAAAAAANwWJDYAAAAAAAAAAAAA3BYkNgAAAAAAAAAAAADcFiQ2AAAAAAAAAAAAANwWJDYAAAAAAAAAAAAA3BY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wb8saoQhs/3kZkXRWhPa3cMYLbC+qvcjeeklmA9wZJDYAAAAAAADAxdxMWEd5NU/6PWuWKXOWTUuRo36uBGyVqRK4O/fMfvp9lXf3Z3wfzV1uybyuK/7WshfYXl5nn7E+qwrrtbrzkcCOZHYkrAHeAiQ2AAAAAAAAwMlcLK2rM9GezyZzJAArORjtdVnVV9kZ1UnTTrZOxe2e7Ky+2+/Odu+k/i5VH83KniXzukZkAngT2b/sUWRXz2cCexXVmbTO9v3nZtJ6/e6Z0A7lNn9KBF4FJDYAAAAAAADAAS4W1mb5uShXsnXu+iqr1i6LZr/nq9tfayJCFblaSdLine truncated
|
||||
<path class="cls-9" transform="translate(-85.56,4.44)" d="m423.94 279.86-152.52-99.39-115.84 179 261.15-56z" fill="url(#Gradiente_sem_nome_4)"/>
|
||||
<polygon class="cls-10" points="7.01 70.05 154.46 38.44 41.14 229.25" fill="url(#linearGradient3927)"/>
|
||||
<polygon class="cls-11" points="70.02 363.96 185.86 184.91 300.93 7.04 154.46 38.44 40.3 225.33" fill="url(#linearGradient3929)"/>
|
||||
</g>
|
||||
<g id="Camada_3_cópia" data-name="Camada 3 cópia">
|
||||
<rect class="cls-12" x="239.39" y="444.32" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="210.57" y="444.32" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="181.75" y="444.32" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="152.93" y="444.32" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="124.11" y="444.32" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="95.29" y="444.32" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="239.39" y="415.49" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="210.57" y="415.49" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="181.75" y="415.49" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="152.93" y="415.49" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="124.11" y="415.49" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="95.29" y="415.49" width="28.82" height="28.82"/>
|
||||
<rect class="cls-15" x="268.21" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="239.39" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="210.57" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="181.75" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="152.93" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-16" x="124.11" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="95.29" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="66.46" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-15" x="268.21" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="239.39" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="210.57" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="181.75" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="152.93" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-16" x="124.11" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="95.29" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="66.46" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-15" x="268.21" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="239.39" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="210.57" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="181.75" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="152.93" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="124.11" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-16" x="95.29" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="66.46" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-15" x="297.03" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="268.21" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="239.39" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="210.57" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="181.75" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-14" x="152.93" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="124.11" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-16" x="95.29" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="66.46" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="37.64" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-15" x="297.03" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="268.21" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-12" x="239.39" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="95.29" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="66.46" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="37.64" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-15" x="297.03" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-13" x="37.64" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="239.39" y="473.14" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="210.57" y="473.14" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="181.75" y="473.14" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="152.93" y="473.14" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="124.11" y="473.14" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="95.29" y="473.14" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="268.21" y="444.32" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="66.46" y="444.32" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="268.21" y="415.49" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="66.46" y="415.49" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="297.03" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="37.64" y="386.67" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="297.03" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="37.64" y="357.85" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="297.03" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="37.64" y="329.03" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="325.85" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="8.82" y="300.21" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="325.85" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="8.82" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="325.85" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="8.82" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="325.85" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-6" x="8.82" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="325.85" y="184.93" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="8.82" y="184.93" width="28.82" height="28.82"/>
|
||||
</g>
|
||||
<g id="Camada_5_cópia" data-name="Camada 5 cópia">
|
||||
<image class="cls-17" transform="matrix(.24 0 0 .24 13.56 181.56)" width="1402" height="562" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABXoAAAIyCAYAAA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czj+Nf+Odehxv0+j9gAI4LT5V7FX6SqzyVf4udjXVi7vyMa8Uk0mxeqa+EpvYma/yT+PfeKdCKIQQQgghhBBXoh7HrfpKrPJV/i52NepxrMUmduar/NP4N96lx/EWjd4fVACv0Lv4Wb2LrfgqPzLNi0xfzpUPt/NNi8wVehc/q+/Yma/yT+PfeJdCKIQQQgghhBBXoR7HF72Ln9W72Iqv8iPTvMh0/7uyJ+986nGs3c+V+DfeocfxqY3eLn/lg90teFVsp6CdjZ/Vmb3im8Suonpppx/1OxW7Lr6auxJjduar/NP4F96hCAohhBBCCCHElajHcUn8rM7sFd8kdhXqcdT6SozZma/yT+NfeIcex8sbvRsF0GzvI5x8zKtFbqLvxKe+lXilT+zMV/kjkxxk8nKufKzdxz8pMDuF6YxvJT7VJ3bmq/xdjPIOhVAIIYQQQgghrkA9jlO+lXilT+zMV/kjkxxksvdd2Yd3+/pJf2CnLine truncated
|
||||
<rect class="cls-7" x="210.57" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="181.75" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="152.93" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="124.11" y="271.39" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="268.21" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="239.39" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="95.29" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="66.46" y="242.57" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="297.03" y="213.75" width="28.82" height="28.82"/>
|
||||
<rect class="cls-7" x="37.64" y="213.75" width="28.82" height="28.82"/>
|
||||
</g>
|
||||
</g>
|
||||
<g transform="scale(.86068 1.1619)" stroke-width="10.176" aria-label="{ }">
|
||||
<path d="m165.25 49.543q-19.538 0-29.714 8.9548-9.7688 8.9548-8.9548 26.05l4.0704 66.754q1.2211 23.201-9.7689 38.261-10.583 15.06-30.935 18.724 20.352 3.6633 30.935 19.131 10.99 15.06 9.7689 37.854l-4.0704 66.754q-0.81407 17.096 8.9548 26.05 10.176 8.9548 29.714 8.9548h18.317v32.563h-18.317q-36.226 0-56.578-17.91-20.352-17.91-18.724-49.658l4.0704-66.754q0.81407-15.06-2.4422-23.608-2.8493-8.9548-11.804-13.025-8.9548-4.0704-26.457-4.0704h-44.774v-32.563h44.774q17.503 0 26.457-4.0704 8.9548-4.0704 11.804-12.618 3.2563-8.5478 2.4422-24.015l-4.0704-66.754q-1.6281-31.749 18.724-49.658 20.352-17.91 56.578-17.91h18.317v32.563z" fill="url(#linearGradient1536)"/>
|
||||
<path d="m672 192.01v32.563h-44.774q-17.503 0-26.457 4.0704-8.9548 4.0704-12.211 13.025-2.8492 8.5478-2.0352 23.608l4.0704 66.754q1.6282 31.749-18.724 49.658t-56.578 17.91h-18.317v-32.563h18.317q19.538 0 29.307-8.9548 10.176-8.9548 9.3618-26.05l-4.0704-66.754q-1.2211-22.794 9.3618-37.854 10.99-15.467 31.342-19.131-20.352-3.6633-31.342-18.724-10.583-15.06-9.3618-38.261l4.0704-66.754q0.81407-17.096-9.3618-26.05-9.7689-8.9548-29.307-8.9548h-18.317v-32.563h18.317q36.226 0 56.578 17.91 20.352 17.91 18.724 49.658l-4.0704 66.754q-0.81407 15.467 2.0352 24.015 3.2563 8.5478 12.211 12.618 8.9548 4.0704 26.457 4.0704z" fill="url(#linearGradient3898)"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 307 KiB |
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
inkscape:version="1.0 (4035a4fb49, 2020-05-01)"
|
||||
sodipodi:docname="folder.svg"
|
||||
id="svg3167"
|
||||
version="1.1"
|
||||
viewBox="0 0 16 16"
|
||||
height="16"
|
||||
width="16">
|
||||
<metadata
|
||||
id="metadata3173">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs3171" />
|
||||
<sodipodi:namedview
|
||||
inkscape:current-layer="svg3167"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:window-y="50"
|
||||
inkscape:window-x="50"
|
||||
inkscape:cy="8"
|
||||
inkscape:cx="8"
|
||||
inkscape:zoom="52.4375"
|
||||
showgrid="false"
|
||||
id="namedview3169"
|
||||
inkscape:window-height="1030"
|
||||
inkscape:window-width="1870"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:pageopacity="0"
|
||||
guidetolerance="10"
|
||||
gridtolerance="10"
|
||||
objecttolerance="10"
|
||||
borderopacity="1"
|
||||
bordercolor="#666666"
|
||||
pagecolor="#ffffff" />
|
||||
<path
|
||||
style="fill:#c4a000"
|
||||
id="path3165"
|
||||
d="M1,13 L15,13 L15,4 L7.98457,4 L6.69633,2.71149 C6.22161957,2.28559443 5.61570121,2.03457993 4.97888,2 L1.05128,2 C1.02295884,2 1,2.02295884 1,2.05128 L1,13 Z"
|
||||
fill-rule="evenodd"
|
||||
fill-opacity=".8"
|
||||
fill="#9AA7B0" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.7 KiB |
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
|
||||
<path fill="#40B6E0" fill-opacity=".6" fill-rule="evenodd" d="M1,13 L15,13 L15,4 L7.98457,4 L6.69633,2.71149 C6.22161957,2.28559443 5.63665337,2.03457993 4.99983215,2 L1,2 L1,13 Z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 276 B |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |
|
After Width: | Height: | Size: 4.1 KiB |