From b99f5628b3ecdb190e42d10e8686e25a34b7e533 Mon Sep 17 00:00:00 2001 From: Nikita Klimenko Date: Thu, 23 Oct 2025 16:24:39 +0300 Subject: [PATCH 1/5] Update createDataFrame.md with compiler-plugin friendly examples --- .../kotlinx/dataframe/samples/api/Create.kt | 76 ++- ...es.api.Create.createDataFrameWithFill.html | 580 ++++++++++++++++ ...pi.Create.createNestedRandomDataFrame.html | 626 ++++++++++++++++++ ...ples.api.Create.createRandomDataFrame.html | 574 ++++++++++++++++ ...es.api.Create.readDataFrameFromObject.html | 572 ++++++++++++++++ docs/StardustDocs/topics/_shadow_resources.md | 4 + docs/StardustDocs/topics/createDataFrame.md | 97 ++- 7 files changed, 2498 insertions(+), 31 deletions(-) create mode 100644 docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createDataFrameWithFill.html create mode 100644 docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createNestedRandomDataFrame.html create mode 100644 docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createRandomDataFrame.html create mode 100644 docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.readDataFrameFromObject.html diff --git a/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt b/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt index fe6a56a4b8..0aa6977688 100644 --- a/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt +++ b/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt @@ -4,6 +4,7 @@ package org.jetbrains.kotlinx.dataframe.samples.api import io.kotest.matchers.shouldBe import org.jetbrains.kotlinx.dataframe.AnyFrame +import org.jetbrains.kotlinx.dataframe.DataColumn import org.jetbrains.kotlinx.dataframe.DataFrame import org.jetbrains.kotlinx.dataframe.api.DynamicDataFrameBuilder import org.jetbrains.kotlinx.dataframe.api.Infer @@ -31,6 +32,7 @@ import org.jetbrains.kotlinx.dataframe.kind import org.jetbrains.kotlinx.dataframe.type import org.junit.Test import java.io.File +import kotlin.random.Random as KotlinRandom import kotlin.reflect.typeOf class Create : TestBase() { @@ -222,6 +224,70 @@ class Create : TestBase() { // SampleEnd } + @Test + @TransformDataFrameExpressions + fun createRandomDataFrame() { + // stable random + clean examples + @Suppress("LocalVariableName") + val Random = KotlinRandom(42) + fun List.random() = this.random(Random) + // SampleStart + val categories = listOf("Electronics", "Books", "Clothing") + // DataFrame with 4 columns and 7 rows + (0 until 7).toDataFrame { + "productId" from { "P${1000 + it}" } + "category" from { categories.random() } + "price" from { Random.nextDouble(10.0, 500.0) } + "inStock" from { Random.nextInt(0, 100) } + } + // SampleEnd + } + + @Test + @TransformDataFrameExpressions + fun createNestedRandomDataFrame() { + // stable random + clean examples + @Suppress("LocalVariableName") + val Random = KotlinRandom(42) + fun List.random() = this.random(Random) + // SampleStart + val categories = listOf("Electronics", "Books", "Clothing") + // DataFrame with 5 columns and 7 rows + (0 until 7).toDataFrame { + "productId" from { "P${1000 + it}" } + "category" from { categories.random() } + "price" from { Random.nextDouble(10.0, 500.0) } + + // Column Group + "manufacturer" { + "country" from { listOf("USA", "China", "Germany", "Japan").random() } + "yearEstablished" from { Random.nextInt(1950, 2020) } + } + + // Frame Column + "reviews" from { + val reviewCount = Random.nextInt(0, 8) + (0 until reviewCount).toDataFrame { + val ratings: DataColumn = expr { Random.nextInt(1, 6) } + val comments = ratings.map { + when (it) { + 5 -> listOf("Amazing quality!", "Best purchase ever!", "Highly recommend!", "Absolutely perfect!") + 4 -> listOf("Great product!", "Very satisfied", "Good value for money", "Would buy again") + 3 -> listOf("It's okay", "Does the job", "Average quality", "Neither good nor bad") + 2 -> listOf("Could be better", "Disappointed", "Not what I expected", "Poor quality") + else -> listOf("Terrible!", "Not worth the price", "Complete waste of money", "Do not buy!") + }.random() + } + + "author" from { "User${Random.nextInt(1000, 9999)}" } + ratings into "rating" + comments into "comment" + } + } + } + // SampleEnd + } + @Test @TransformDataFrameExpressions fun createDataFrameOfPairs() { @@ -254,7 +320,11 @@ class Create : TestBase() { fun createDataFrameWithFill() { // SampleStart // Multiplication table - dataFrameOf(1..10) { x -> (1..10).map { x * it } } + (1..10).toDataFrame { + (1..10).forEach { x -> + "$x" from { x * it } + } + } // SampleEnd } @@ -330,10 +400,6 @@ class Create : TestBase() { val df = persons.toDataFrame() // SampleEnd - df.columnsCount() shouldBe 2 - df.rowsCount() shouldBe 3 - df["name"].type() shouldBe typeOf() - df["age"].type() shouldBe typeOf() } @Test diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createDataFrameWithFill.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createDataFrameWithFill.html new file mode 100644 index 0000000000..4453d94172 --- /dev/null +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createDataFrameWithFill.html @@ -0,0 +1,580 @@ + + + + + +
+ +

+ + + diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createNestedRandomDataFrame.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createNestedRandomDataFrame.html new file mode 100644 index 0000000000..c18c29b07c --- /dev/null +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createNestedRandomDataFrame.html @@ -0,0 +1,626 @@ + + + + + +
+ +

+ + + diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createRandomDataFrame.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createRandomDataFrame.html new file mode 100644 index 0000000000..a0124adbf7 --- /dev/null +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createRandomDataFrame.html @@ -0,0 +1,574 @@ + + + + + +
+ +

+ + + diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.readDataFrameFromObject.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.readDataFrameFromObject.html new file mode 100644 index 0000000000..efba21b302 --- /dev/null +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.readDataFrameFromObject.html @@ -0,0 +1,572 @@ + + + + + +
+ +

+ + + diff --git a/docs/StardustDocs/topics/_shadow_resources.md b/docs/StardustDocs/topics/_shadow_resources.md index 360f6acda0..156f590420 100644 --- a/docs/StardustDocs/topics/_shadow_resources.md +++ b/docs/StardustDocs/topics/_shadow_resources.md @@ -201,3 +201,7 @@ + + + + diff --git a/docs/StardustDocs/topics/createDataFrame.md b/docs/StardustDocs/topics/createDataFrame.md index f4eef28140..2313d3eeb9 100644 --- a/docs/StardustDocs/topics/createDataFrame.md +++ b/docs/StardustDocs/topics/createDataFrame.md @@ -73,56 +73,100 @@ val df = dataFrameOf("name", "age")( - +### toDataFrame + +#### `DataFrame` from `Map>`: + + ```kotlin -// Multiplication table -dataFrameOf(1..10) { x -> (1..10).map { x * it } } +val map = mapOf("name" to listOf("Alice", "Bob", "Charlie"), "age" to listOf(15, 20, 22)) + +// DataFrame with 2 columns +map.toDataFrame() ``` + - +#### `DataFrame` from random data: -```kotlin -// 5 columns filled with 7 random double values: -val names = (1..5).map { "column$it" } -dataFrameOf(names).randomDouble(7) +Use `IntRange` to generate rows filled with random values: -// 5 columns filled with 7 random double values between 0 and 1 (inclusive) -dataFrameOf(names).randomDouble(7, 0.0..1.0).print() + -// 5 columns filled with 7 random int values between 0 and 100 (inclusive) -dataFrameOf(names).randomInt(7, 0..100).print() +```kotlin +val categories = listOf("Electronics", "Books", "Clothing") +// DataFrame with 4 columns and 7 rows +(0 until 7).toDataFrame { + "productId" from { "P${1000 + it}" } + "category" from { categories.random() } + "price" from { Random.nextDouble(10.0, 500.0) } + "inStock" from { Random.nextInt(0, 100) } +} ``` + - +Generate DataFrame with nested ColumnGroup and FrameColumn: + + ```kotlin -val names = listOf("first", "second", "third") +val categories = listOf("Electronics", "Books", "Clothing") +// DataFrame with 5 columns and 7 rows +(0 until 7).toDataFrame { + "productId" from { "P${1000 + it}" } + "category" from { categories.random() } + "price" from { Random.nextDouble(10.0, 500.0) } + + // Column Group + "manufacturer" { + "country" from { listOf("USA", "China", "Germany", "Japan").random() } + "yearEstablished" from { Random.nextInt(1950, 2020) } + } -// DataFrame with 3 columns, fill each column with 15 `true` values -val df = dataFrameOf(names).fill(15, true) + // Frame Column + "reviews" from { + val reviewCount = Random.nextInt(0, 8) + (0 until reviewCount).toDataFrame { + val ratings: DataColumn = expr { Random.nextInt(1, 6) } + val comments = ratings.map { + when (it) { + 5 -> listOf("Amazing quality!", "Best purchase ever!", "Highly recommend!", "Absolutely perfect!") + 4 -> listOf("Great product!", "Very satisfied", "Good value for money", "Would buy again") + 3 -> listOf("It's okay", "Does the job", "Average quality", "Neither good nor bad") + 2 -> listOf("Could be better", "Disappointed", "Not what I expected", "Poor quality") + else -> listOf("Terrible!", "Not worth the price", "Complete waste of money", "Do not buy!") + }.random() + } + + "author" from { "User${Random.nextInt(1000, 9999)}" } + ratings into "rating" + comments into "comment" + } + } +} ``` + -### toDataFrame - -#### `DataFrame` from `Map>`: +Use `from` in combination with loops to generate DataFrame: - + ```kotlin -val map = mapOf("name" to listOf("Alice", "Bob", "Charlie"), "age" to listOf(15, 20, 22)) - -// DataFrame with 2 columns -map.toDataFrame() +// Multiplication table +(1..10).toDataFrame { + (1..10).forEach { x -> + "$x" from { x * it } + } +} ``` - + #### `DataFrame` from [`Iterable`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/) of [basic types](https://kotlinlang.org/docs/basic-types.html) (except arrays): @@ -184,7 +228,7 @@ lines.chunked(4) { it.take(3) }.toDataFrame(header = listOf("n", "timestamp", "t -#### [`DataFrame`](DataFrame.md) from [`Iterable`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/): +#### [`DataFrame`](DataFrame.md) from `Iterable`: @@ -196,6 +240,7 @@ val persons = listOf(Person("Alice", 15), Person("Bob", 20), Person("Charlie", 2 val df = persons.toDataFrame() ``` + Scans object properties using reflection and creates a [ValueColumn](DataColumn.md#valuecolumn) for every property. From 27264bcc9486b8338cf6b1ecca242e57f4c48ecc Mon Sep 17 00:00:00 2001 From: Nikita Klimenko Date: Thu, 23 Oct 2025 16:29:21 +0300 Subject: [PATCH 2/5] Fix single-table examples --- .../kotlinx/dataframe/explainer/SamplesRenderingUtils.kt | 8 ++++++-- ...brains.kotlinx.dataframe.samples.api.Access.byRow.html | 8 ++++++-- ...linx.dataframe.samples.api.Access.columnSelectors.html | 8 ++++++-- ....dataframe.samples.api.Access.columnSelectorsMisc.html | 8 ++++++-- ...frame.samples.api.Access.columnSelectorsModifySet.html | 8 ++++++-- ...ataframe.samples.api.Access.columnSelectorsUsages.html | 8 ++++++-- ...frame.samples.api.Access.columnsSelectorByIndices.html | 8 ++++++-- ...ins.kotlinx.dataframe.samples.api.Access.distinct.html | 8 ++++++-- ...s.kotlinx.dataframe.samples.api.Access.distinctBy.html | 8 ++++++-- ...linx.dataframe.samples.api.Access.distinctColumns.html | 8 ++++++-- ...tbrains.kotlinx.dataframe.samples.api.Access.drop.html | 8 ++++++-- ...ins.kotlinx.dataframe.samples.api.Access.dropLast.html | 8 ++++++-- ...rains.kotlinx.dataframe.samples.api.Access.dropNA.html | 8 ++++++-- ...ins.kotlinx.dataframe.samples.api.Access.dropNaNs.html | 8 ++++++-- ...ns.kotlinx.dataframe.samples.api.Access.dropNulls.html | 8 ++++++-- ...ns.kotlinx.dataframe.samples.api.Access.dropWhere.html | 8 ++++++-- ...ns.kotlinx.dataframe.samples.api.Access.dropWhile.html | 8 ++++++-- ...rains.kotlinx.dataframe.samples.api.Access.filter.html | 8 ++++++-- ...inx.dataframe.samples.api.Access.getColumnsByName.html | 8 ++++++-- ...nx.dataframe.samples.api.Access.getRowByCondition.html | 8 ++++++-- ...otlinx.dataframe.samples.api.Access.getRowByIndex.html | 8 ++++++-- ...aframe.samples.api.Access.getSeveralRowsByIndices.html | 8 ++++++-- ...taframe.samples.api.Access.getSeveralRowsByRanges.html | 8 ++++++-- ...rains.kotlinx.dataframe.samples.api.Access.select.html | 8 ++++++-- ...tbrains.kotlinx.dataframe.samples.api.Access.take.html | 8 ++++++-- ...ins.kotlinx.dataframe.samples.api.Access.takeLast.html | 8 ++++++-- ...ns.kotlinx.dataframe.samples.api.Access.takeWhile.html | 8 ++++++-- ...jetbrains.kotlinx.dataframe.samples.api.Access.xs.html | 8 ++++++-- ....kotlinx.dataframe.samples.api.Analyze.columnsFor.html | 8 ++++++-- ...nx.dataframe.samples.api.Analyze.countAggregation.html | 8 ++++++-- ...ns.kotlinx.dataframe.samples.api.Analyze.describe.html | 8 ++++++-- ...inx.dataframe.samples.api.Analyze.describeColumns.html | 8 ++++++-- ...ins.kotlinx.dataframe.samples.api.Analyze.groupBy.html | 8 ++++++-- ...e.samples.api.Analyze.groupByAggregateWithoutInto.html | 8 ++++++-- ...dataframe.samples.api.Analyze.groupByAggregations.html | 8 ++++++-- ...kotlinx.dataframe.samples.api.Analyze.groupByExpr.html | 8 ++++++-- ...nx.dataframe.samples.api.Analyze.groupByMoveToTop.html | 8 ++++++-- ...taframe.samples.api.Analyze.groupByMoveToTopFalse.html | 8 ++++++-- ...linx.dataframe.samples.api.Analyze.groupByToFrame.html | 8 ++++++-- ...ame.samples.api.Analyze.groupByWithoutAggregation.html | 8 ++++++-- ...brains.kotlinx.dataframe.samples.api.Analyze.head.html | 8 ++++++-- ...aframe.samples.api.Analyze.meanAggregationsSkipNA.html | 8 ++++++-- ...rains.kotlinx.dataframe.samples.api.Analyze.pivot.html | 8 ++++++-- ...ains.kotlinx.dataframe.samples.api.Analyze.pivot2.html | 8 ++++++-- ...linx.dataframe.samples.api.Analyze.pivotAggregate.html | 8 ++++++-- ...inx.dataframe.samples.api.Analyze.pivotAggregate1.html | 8 ++++++-- ...taframe.samples.api.Analyze.pivotAsDataRowOrFrame.html | 8 ++++++-- ...frame.samples.api.Analyze.pivotCommonAggregations.html | 8 ++++++-- ...kotlinx.dataframe.samples.api.Analyze.pivotCounts.html | 8 ++++++-- ...otlinx.dataframe.samples.api.Analyze.pivotDefault.html | 8 ++++++-- ...tlinx.dataframe.samples.api.Analyze.pivotDefault1.html | 8 ++++++-- ...otlinx.dataframe.samples.api.Analyze.pivotGroupBy.html | 8 ++++++-- ...x.dataframe.samples.api.Analyze.pivotGroupByOther.html | 8 ++++++-- ...nx.dataframe.samples.api.Analyze.pivotInAggregate.html | 8 ++++++-- ...kotlinx.dataframe.samples.api.Analyze.pivotInward.html | 8 ++++++-- ...otlinx.dataframe.samples.api.Analyze.pivotMatches.html | 8 ++++++-- ...tlinx.dataframe.samples.api.Analyze.schemaGroupBy.html | 8 ++++++-- ...ataframe.samples.api.Analyze.statisticGroupByMany.html | 8 ++++++-- ...aframe.samples.api.Analyze.statisticGroupBySingle.html | 8 ++++++-- ...e.samples.api.Analyze.statisticGroupBySingleNamed.html | 8 ++++++-- ....dataframe.samples.api.Analyze.statisticPivotMany.html | 8 ++++++-- ...me.samples.api.Analyze.statisticPivotManySeparate.html | 8 ++++++-- ...ataframe.samples.api.Analyze.statisticPivotSingle.html | 8 ++++++-- ...kotlinx.dataframe.samples.api.Analyze.valueCounts.html | 8 ++++++-- ...nx.dataframe.samples.api.Create.columnAccessorMap.html | 8 ++++++-- ...taframe.samples.api.Create.createDataFrameFromMap.html | 8 ++++++-- ...nx.dataframe.samples.api.Create.duplicatedColumns.html | 8 ++++++-- ...nx.dataframe.samples.api.Create.toDataFrameColumn.html | 8 ++++++-- ...inx.dataframe.samples.api.Create.toDataFrameLists.html | 8 ++++++-- ...tlinx.dataframe.samples.api.DataRowApi.conditions.html | 8 ++++++-- ...linx.dataframe.samples.api.DataRowApi.expressions.html | 8 ++++++-- ...jetbrains.kotlinx.dataframe.samples.api.Join.join.html | 8 ++++++-- ...ns.kotlinx.dataframe.samples.api.Join.joinDefault.html | 8 ++++++-- ...ns.kotlinx.dataframe.samples.api.Join.joinSpecial.html | 8 ++++++-- ....kotlinx.dataframe.samples.api.Join.joinWithMatch.html | 8 ++++++-- ...etbrains.kotlinx.dataframe.samples.api.Modify.add.html | 8 ++++++-- ...otlinx.dataframe.samples.api.Modify.addDataFrames.html | 8 ++++++-- ....kotlinx.dataframe.samples.api.Modify.addExisting.html | 8 ++++++-- ...ains.kotlinx.dataframe.samples.api.Modify.addMany.html | 8 ++++++-- ...kotlinx.dataframe.samples.api.Modify.addRecurrent.html | 8 ++++++-- ...otlinx.dataframe.samples.api.Modify.concatGroupBy.html | 8 ++++++-- ...ains.kotlinx.dataframe.samples.api.Modify.convert.html | 8 ++++++-- ...linx.dataframe.samples.api.Modify.convertAsColumn.html | 8 ++++++-- ...tlinx.dataframe.samples.api.Modify.convertAsFrame.html | 8 ++++++-- ...ns.kotlinx.dataframe.samples.api.Modify.convertTo.html | 8 ++++++-- ...otlinx.dataframe.samples.api.Modify.convertToEnum.html | 8 ++++++-- ....dataframe.samples.api.Modify.convertToValueClass.html | 8 ++++++-- ...rains.kotlinx.dataframe.samples.api.Modify.fillNA.html | 8 ++++++-- ...ins.kotlinx.dataframe.samples.api.Modify.fillNaNs.html | 8 ++++++-- ...ns.kotlinx.dataframe.samples.api.Modify.fillNulls.html | 8 ++++++-- ...ains.kotlinx.dataframe.samples.api.Modify.flatten.html | 8 ++++++-- ...s.kotlinx.dataframe.samples.api.Modify.flattenAll.html | 8 ++++++-- ...rains.kotlinx.dataframe.samples.api.Modify.gather.html | 8 ++++++-- ....kotlinx.dataframe.samples.api.Modify.gatherNames.html | 8 ++++++-- ...brains.kotlinx.dataframe.samples.api.Modify.group.html | 8 ++++++-- ...ains.kotlinx.dataframe.samples.api.Modify.implode.html | 8 ++++++-- ...rains.kotlinx.dataframe.samples.api.Modify.insert.html | 8 ++++++-- ...kotlinx.dataframe.samples.api.Modify.insertColumn.html | 8 ++++++-- ...ains.kotlinx.dataframe.samples.api.Modify.mapMany.html | 8 ++++++-- ...brains.kotlinx.dataframe.samples.api.Modify.merge.html | 8 ++++++-- ...kotlinx.dataframe.samples.api.Modify.mergeDefault.html | 8 ++++++-- ...x.dataframe.samples.api.Modify.mergeDifferentWith.html | 8 ++++++-- ...otlinx.dataframe.samples.api.Modify.mergeIntoList.html | 8 ++++++-- ...otlinx.dataframe.samples.api.Modify.mergeSameWith.html | 8 ++++++-- ...tbrains.kotlinx.dataframe.samples.api.Modify.move.html | 8 ++++++-- ...ins.kotlinx.dataframe.samples.api.Modify.parseAll.html | 8 ++++++-- ...ns.kotlinx.dataframe.samples.api.Modify.parseSome.html | 8 ++++++-- ...inx.dataframe.samples.api.Modify.parseWithOptions.html | 8 ++++++-- ...rains.kotlinx.dataframe.samples.api.Modify.remove.html | 8 ++++++-- ...rains.kotlinx.dataframe.samples.api.Modify.rename.html | 8 ++++++-- ...inx.dataframe.samples.api.Modify.renameExpression.html | 8 ++++++-- ...ains.kotlinx.dataframe.samples.api.Modify.reorder.html | 8 ++++++-- ...tlinx.dataframe.samples.api.Modify.reorderInGroup.html | 8 ++++++-- ...ains.kotlinx.dataframe.samples.api.Modify.replace.html | 8 ++++++-- ...ains.kotlinx.dataframe.samples.api.Modify.reverse.html | 8 ++++++-- ...ains.kotlinx.dataframe.samples.api.Modify.shuffle.html | 8 ++++++-- ...rains.kotlinx.dataframe.samples.api.Modify.sortBy.html | 8 ++++++-- ...s.kotlinx.dataframe.samples.api.Modify.sortByDesc.html | 8 ++++++-- ...ins.kotlinx.dataframe.samples.api.Modify.sortWith.html | 8 ++++++-- ...brains.kotlinx.dataframe.samples.api.Modify.split.html | 8 ++++++-- ...rains.kotlinx.dataframe.samples.api.Modify.split1.html | 8 ++++++-- ...kotlinx.dataframe.samples.api.Modify.splitInplace.html | 8 ++++++-- ...otlinx.dataframe.samples.api.Modify.splitIntoRows.html | 8 ++++++-- ...s.kotlinx.dataframe.samples.api.Modify.splitRegex.html | 8 ++++++-- ....kotlinx.dataframe.samples.api.Modify.splitRegex1.html | 8 ++++++-- ...ains.kotlinx.dataframe.samples.api.Modify.ungroup.html | 8 ++++++-- ...rains.kotlinx.dataframe.samples.api.Modify.update.html | 8 ++++++-- ...otlinx.dataframe.samples.api.Modify.updateAsFrame.html | 8 ++++++-- ...linx.dataframe.samples.api.Modify.updatePerRowCol.html | 8 ++++++-- ...s.kotlinx.dataframe.samples.api.Modify.updateWith.html | 8 ++++++-- ...linx.dataframe.samples.api.Modify.updateWithConst.html | 8 ++++++-- 131 files changed, 786 insertions(+), 262 deletions(-) diff --git a/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/explainer/SamplesRenderingUtils.kt b/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/explainer/SamplesRenderingUtils.kt index 0c697c89c4..9aee2ff34b 100644 --- a/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/explainer/SamplesRenderingUtils.kt +++ b/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/explainer/SamplesRenderingUtils.kt @@ -37,7 +37,7 @@ val WritersideStyle = DataFrameHtmlData( function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -46,6 +46,8 @@ function sendHeight() { } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -99,11 +101,13 @@ function isElementVisible(el) { function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.byRow.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.byRow.html index cdf56d0ea5..8c2c2be8db 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.byRow.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.byRow.html @@ -516,7 +516,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -525,6 +525,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -578,11 +580,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnSelectors.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnSelectors.html index 970d6859fd..189fd2e15f 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnSelectors.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnSelectors.html @@ -616,7 +616,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -625,6 +625,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -678,11 +680,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnSelectorsMisc.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnSelectorsMisc.html index 32e25b5553..29b25d457e 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnSelectorsMisc.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnSelectorsMisc.html @@ -764,7 +764,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -773,6 +773,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -826,11 +828,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnSelectorsModifySet.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnSelectorsModifySet.html index 51719d24a4..6e771246f5 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnSelectorsModifySet.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnSelectorsModifySet.html @@ -568,7 +568,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -577,6 +577,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -630,11 +632,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnSelectorsUsages.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnSelectorsUsages.html index 47a3e74ce2..51c29593cc 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnSelectorsUsages.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnSelectorsUsages.html @@ -586,7 +586,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -595,6 +595,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -648,11 +650,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnsSelectorByIndices.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnsSelectorByIndices.html index d5c0e04cbf..4237b6021a 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnsSelectorByIndices.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.columnsSelectorByIndices.html @@ -504,7 +504,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -513,6 +513,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -566,11 +568,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.distinct.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.distinct.html index 5bfaee2a8a..cfd98995eb 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.distinct.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.distinct.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.distinctBy.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.distinctBy.html index 127e526ec2..31c043b5c3 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.distinctBy.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.distinctBy.html @@ -494,7 +494,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -503,6 +503,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -556,11 +558,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.distinctColumns.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.distinctColumns.html index 283dde5466..6f49b405ce 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.distinctColumns.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.distinctColumns.html @@ -494,7 +494,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -503,6 +503,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -556,11 +558,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.drop.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.drop.html index eb077b4dfd..b457727b57 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.drop.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.drop.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropLast.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropLast.html index 1eef28bce9..8052e7e6d2 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropLast.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropLast.html @@ -488,7 +488,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -497,6 +497,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -550,11 +552,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropNA.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropNA.html index 2cb8c7eb1f..c8fca9bb08 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropNA.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropNA.html @@ -536,7 +536,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -545,6 +545,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -598,11 +600,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropNaNs.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropNaNs.html index 97e5439c1a..81d6ee3ba7 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropNaNs.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropNaNs.html @@ -536,7 +536,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -545,6 +545,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -598,11 +600,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropNulls.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropNulls.html index abc25516fc..6c77b5225f 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropNulls.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropNulls.html @@ -536,7 +536,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -545,6 +545,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -598,11 +600,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropWhere.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropWhere.html index 4f38efadd3..0d0e5f1364 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropWhere.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropWhere.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropWhile.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropWhile.html index 5bfaee2a8a..cfd98995eb 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropWhile.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.dropWhile.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.filter.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.filter.html index dedc0bf180..99cdfc97a8 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.filter.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.filter.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getColumnsByName.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getColumnsByName.html index 318a6f6f15..b80007f85b 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getColumnsByName.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getColumnsByName.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getRowByCondition.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getRowByCondition.html index ffbb2f5d83..8020787464 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getRowByCondition.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getRowByCondition.html @@ -536,7 +536,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -545,6 +545,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -598,11 +600,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getRowByIndex.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getRowByIndex.html index 66cf9e0e32..f0b54163ab 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getRowByIndex.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getRowByIndex.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getSeveralRowsByIndices.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getSeveralRowsByIndices.html index 71152043bb..585856c2fc 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getSeveralRowsByIndices.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getSeveralRowsByIndices.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getSeveralRowsByRanges.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getSeveralRowsByRanges.html index e1090e0715..e6926b68c5 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getSeveralRowsByRanges.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.getSeveralRowsByRanges.html @@ -488,7 +488,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -497,6 +497,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -550,11 +552,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.select.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.select.html index 318a6f6f15..b80007f85b 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.select.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.select.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.take.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.take.html index 692b0a6efd..174767c01b 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.take.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.take.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.takeLast.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.takeLast.html index fe16e969df..9a29078ceb 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.takeLast.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.takeLast.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.takeWhile.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.takeWhile.html index c5f8bfd692..59a5b7f0b6 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.takeWhile.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.takeWhile.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.xs.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.xs.html index b4b416211e..85bd6e0ebc 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.xs.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Access.xs.html @@ -488,7 +488,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -497,6 +497,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -550,11 +552,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.columnsFor.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.columnsFor.html index a8fa769c9f..6e4775fe6f 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.columnsFor.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.columnsFor.html @@ -536,7 +536,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -545,6 +545,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -598,11 +600,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.countAggregation.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.countAggregation.html index 8f74a8f1b6..3add1f0587 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.countAggregation.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.countAggregation.html @@ -528,7 +528,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -537,6 +537,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -590,11 +592,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.describe.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.describe.html index b41065af3a..14db2c2cee 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.describe.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.describe.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.describeColumns.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.describeColumns.html index 7ffba48fc4..cd2e33e99b 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.describeColumns.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.describeColumns.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupBy.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupBy.html index 4f96bd5b17..7ac643e21e 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupBy.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupBy.html @@ -504,7 +504,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -513,6 +513,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -566,11 +568,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByAggregateWithoutInto.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByAggregateWithoutInto.html index 8ba4f04a5b..c4ce2fccb3 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByAggregateWithoutInto.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByAggregateWithoutInto.html @@ -474,7 +474,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -483,6 +483,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -536,11 +538,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByAggregations.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByAggregations.html index 00e1b3ed25..e958e3c1e9 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByAggregations.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByAggregations.html @@ -474,7 +474,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -483,6 +483,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -536,11 +538,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByExpr.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByExpr.html index c384ead1b8..54de85d97e 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByExpr.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByExpr.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByMoveToTop.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByMoveToTop.html index b150983b2e..38b91b5669 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByMoveToTop.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByMoveToTop.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByMoveToTopFalse.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByMoveToTopFalse.html index 683b64c8f3..45570b9461 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByMoveToTopFalse.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByMoveToTopFalse.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByToFrame.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByToFrame.html index 0b41bee432..bf112e5aec 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByToFrame.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByToFrame.html @@ -474,7 +474,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -483,6 +483,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -536,11 +538,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByWithoutAggregation.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByWithoutAggregation.html index 07628e671b..2f0be587ba 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByWithoutAggregation.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.groupByWithoutAggregation.html @@ -522,7 +522,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -531,6 +531,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -584,11 +586,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.head.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.head.html index f8a6afbc14..ca111583c3 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.head.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.head.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.meanAggregationsSkipNA.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.meanAggregationsSkipNA.html index ded915f70e..20b9d7ca16 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.meanAggregationsSkipNA.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.meanAggregationsSkipNA.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivot.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivot.html index a9afeef368..b02ebf827f 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivot.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivot.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivot2.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivot2.html index e4757d224a..b6274a3821 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivot2.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivot2.html @@ -488,7 +488,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -497,6 +497,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -550,11 +552,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotAggregate.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotAggregate.html index 65094a7aba..8e2053ed25 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotAggregate.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotAggregate.html @@ -474,7 +474,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -483,6 +483,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -536,11 +538,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotAggregate1.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotAggregate1.html index 1e10e2428a..80c6691af4 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotAggregate1.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotAggregate1.html @@ -480,7 +480,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -489,6 +489,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -542,11 +544,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotAsDataRowOrFrame.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotAsDataRowOrFrame.html index 1338a148e0..82b0b45fd8 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotAsDataRowOrFrame.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotAsDataRowOrFrame.html @@ -506,7 +506,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -515,6 +515,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -568,11 +570,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotCommonAggregations.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotCommonAggregations.html index 6a5f22a99a..bbb3d8e03b 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotCommonAggregations.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotCommonAggregations.html @@ -506,7 +506,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -515,6 +515,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -568,11 +570,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotCounts.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotCounts.html index 792c348dcc..2bcdbba012 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotCounts.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotCounts.html @@ -574,7 +574,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -583,6 +583,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -636,11 +638,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotDefault.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotDefault.html index ec8055ea40..b4ba297bb4 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotDefault.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotDefault.html @@ -518,7 +518,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -527,6 +527,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -580,11 +582,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotDefault1.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotDefault1.html index f17769b557..216680d7b1 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotDefault1.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotDefault1.html @@ -480,7 +480,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -489,6 +489,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -542,11 +544,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotGroupBy.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotGroupBy.html index f1b457dfe4..7b3a9c3ced 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotGroupBy.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotGroupBy.html @@ -500,7 +500,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -509,6 +509,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -562,11 +564,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotGroupByOther.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotGroupByOther.html index d72d05e88e..3a69e17ce6 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotGroupByOther.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotGroupByOther.html @@ -474,7 +474,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -483,6 +483,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -536,11 +538,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotInAggregate.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotInAggregate.html index f0cc84458d..e996fc5d64 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotInAggregate.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotInAggregate.html @@ -474,7 +474,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -483,6 +483,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -536,11 +538,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotInward.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotInward.html index e942e1a938..b614fef54e 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotInward.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotInward.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotMatches.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotMatches.html index 507a0ffa61..58c3e8dca0 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotMatches.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.pivotMatches.html @@ -574,7 +574,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -583,6 +583,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -636,11 +638,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.schemaGroupBy.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.schemaGroupBy.html index 2e484fa9cc..de6f1ad14e 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.schemaGroupBy.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.schemaGroupBy.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticGroupByMany.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticGroupByMany.html index 1d2968f507..5cc1c03d8c 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticGroupByMany.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticGroupByMany.html @@ -500,7 +500,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -509,6 +509,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -562,11 +564,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticGroupBySingle.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticGroupBySingle.html index 25b2cb1406..14f0657f17 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticGroupBySingle.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticGroupBySingle.html @@ -500,7 +500,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -509,6 +509,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -562,11 +564,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticGroupBySingleNamed.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticGroupBySingleNamed.html index e0652a0a58..d2400cbbd2 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticGroupBySingleNamed.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticGroupBySingleNamed.html @@ -500,7 +500,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -509,6 +509,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -562,11 +564,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticPivotMany.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticPivotMany.html index 8b3842788b..1b979d8da6 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticPivotMany.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticPivotMany.html @@ -512,7 +512,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -521,6 +521,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -574,11 +576,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticPivotManySeparate.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticPivotManySeparate.html index a26a447d46..0d09deadf0 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticPivotManySeparate.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticPivotManySeparate.html @@ -512,7 +512,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -521,6 +521,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -574,11 +576,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticPivotSingle.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticPivotSingle.html index efa727af8b..f58401df2e 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticPivotSingle.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.statisticPivotSingle.html @@ -512,7 +512,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -521,6 +521,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -574,11 +576,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.valueCounts.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.valueCounts.html index cb0d957474..e8f152906d 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.valueCounts.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Analyze.valueCounts.html @@ -488,7 +488,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -497,6 +497,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -550,11 +552,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.columnAccessorMap.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.columnAccessorMap.html index 7e6d0c2047..146734208d 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.columnAccessorMap.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.columnAccessorMap.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createDataFrameFromMap.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createDataFrameFromMap.html index 6d4c81ccdf..efba21b302 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createDataFrameFromMap.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createDataFrameFromMap.html @@ -459,7 +459,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -468,6 +468,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -521,11 +523,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.duplicatedColumns.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.duplicatedColumns.html index 6f90dbd5a6..5a1e9eaa2a 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.duplicatedColumns.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.duplicatedColumns.html @@ -459,7 +459,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -468,6 +468,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -521,11 +523,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.toDataFrameColumn.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.toDataFrameColumn.html index 9c8c268c9d..346c62ccf3 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.toDataFrameColumn.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.toDataFrameColumn.html @@ -459,7 +459,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -468,6 +468,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -521,11 +523,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.toDataFrameLists.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.toDataFrameLists.html index 5f38d13afb..7ae564c3f1 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.toDataFrameLists.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.toDataFrameLists.html @@ -459,7 +459,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -468,6 +468,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -521,11 +523,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.DataRowApi.conditions.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.DataRowApi.conditions.html index 43fa7239b7..d1df3ecceb 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.DataRowApi.conditions.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.DataRowApi.conditions.html @@ -516,7 +516,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -525,6 +525,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -578,11 +580,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.DataRowApi.expressions.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.DataRowApi.expressions.html index 49f10a8706..5bdff76103 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.DataRowApi.expressions.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.DataRowApi.expressions.html @@ -522,7 +522,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -531,6 +531,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -584,11 +586,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Join.join.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Join.join.html index 1cefe88ce0..47a39afd27 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Join.join.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Join.join.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Join.joinDefault.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Join.joinDefault.html index 1cefe88ce0..47a39afd27 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Join.joinDefault.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Join.joinDefault.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Join.joinSpecial.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Join.joinSpecial.html index c8caf0be84..0cea92bb97 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Join.joinSpecial.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Join.joinSpecial.html @@ -536,7 +536,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -545,6 +545,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -598,11 +600,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Join.joinWithMatch.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Join.joinWithMatch.html index 7637c598c4..c6f0861832 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Join.joinWithMatch.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Join.joinWithMatch.html @@ -526,7 +526,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -535,6 +535,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -588,11 +590,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.add.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.add.html index 465d851950..b374c4cfcb 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.add.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.add.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.addDataFrames.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.addDataFrames.html index 8fffc5b34c..8e3159e5c2 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.addDataFrames.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.addDataFrames.html @@ -504,7 +504,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -513,6 +513,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -566,11 +568,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.addExisting.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.addExisting.html index fafcabbd56..bd87f6de96 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.addExisting.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.addExisting.html @@ -488,7 +488,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -497,6 +497,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -550,11 +552,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.addMany.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.addMany.html index e63288b092..65713ff59a 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.addMany.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.addMany.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.addRecurrent.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.addRecurrent.html index 349b73f998..8a8534c536 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.addRecurrent.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.addRecurrent.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.concatGroupBy.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.concatGroupBy.html index fad54e0ab2..7a7e575835 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.concatGroupBy.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.concatGroupBy.html @@ -474,7 +474,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -483,6 +483,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -536,11 +538,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convert.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convert.html index 4e7091b319..5fbb65a12a 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convert.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convert.html @@ -496,7 +496,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -505,6 +505,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -558,11 +560,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertAsColumn.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertAsColumn.html index 83ffdce30b..5771044d5a 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertAsColumn.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertAsColumn.html @@ -472,7 +472,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -481,6 +481,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -534,11 +536,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertAsFrame.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertAsFrame.html index 7eb27be993..985bbc8aaf 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertAsFrame.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertAsFrame.html @@ -472,7 +472,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -481,6 +481,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -534,11 +536,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertTo.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertTo.html index b4d6cdeb1d..42874d0214 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertTo.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertTo.html @@ -536,7 +536,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -545,6 +545,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -598,11 +600,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertToEnum.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertToEnum.html index 53f521cd7f..353ca8c046 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertToEnum.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertToEnum.html @@ -472,7 +472,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -481,6 +481,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -534,11 +536,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertToValueClass.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertToValueClass.html index 6c2f379e17..a8eb74ba11 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertToValueClass.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.convertToValueClass.html @@ -472,7 +472,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -481,6 +481,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -534,11 +536,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.fillNA.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.fillNA.html index 8aaf3d5c72..2acbd82dd7 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.fillNA.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.fillNA.html @@ -474,7 +474,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -483,6 +483,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -536,11 +538,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.fillNaNs.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.fillNaNs.html index 5341aba2ae..7f0430da40 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.fillNaNs.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.fillNaNs.html @@ -474,7 +474,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -483,6 +483,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -536,11 +538,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.fillNulls.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.fillNulls.html index 458a2e13c1..10d384ef0a 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.fillNulls.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.fillNulls.html @@ -506,7 +506,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -515,6 +515,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -568,11 +570,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.flatten.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.flatten.html index b513cfaca3..ce323ae69a 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.flatten.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.flatten.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.flattenAll.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.flattenAll.html index b513cfaca3..ce323ae69a 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.flattenAll.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.flattenAll.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.gather.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.gather.html index 00acd46616..04b2c9e65d 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.gather.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.gather.html @@ -500,7 +500,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -509,6 +509,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -562,11 +564,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.gatherNames.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.gatherNames.html index b1fdf69db2..a903b48b45 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.gatherNames.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.gatherNames.html @@ -512,7 +512,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -521,6 +521,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -574,11 +576,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.group.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.group.html index f652716d8c..d2e72cbbe2 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.group.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.group.html @@ -488,7 +488,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -497,6 +497,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -550,11 +552,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.implode.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.implode.html index d4e25a7e29..161036e4df 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.implode.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.implode.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.insert.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.insert.html index 51d7cbeaaf..e72abab114 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.insert.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.insert.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.insertColumn.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.insertColumn.html index 1c68518be7..efe7e7352e 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.insertColumn.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.insertColumn.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mapMany.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mapMany.html index 0fc2ab22c5..a13ba593b2 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mapMany.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mapMany.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.merge.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.merge.html index 26b8c601a6..5dce6927ea 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.merge.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.merge.html @@ -474,7 +474,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -483,6 +483,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -536,11 +538,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mergeDefault.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mergeDefault.html index 47d2f0587f..aadf02e9c8 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mergeDefault.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mergeDefault.html @@ -474,7 +474,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -483,6 +483,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -536,11 +538,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mergeDifferentWith.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mergeDifferentWith.html index 97f28827ff..93bb9bb20b 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mergeDifferentWith.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mergeDifferentWith.html @@ -474,7 +474,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -483,6 +483,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -536,11 +538,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mergeIntoList.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mergeIntoList.html index 0cb2a06cce..b553e6e7a7 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mergeIntoList.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mergeIntoList.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mergeSameWith.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mergeSameWith.html index 58a51d7a5f..27f5dac3aa 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mergeSameWith.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.mergeSameWith.html @@ -474,7 +474,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -483,6 +483,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -536,11 +538,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.move.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.move.html index 93cbafab89..345b2f0ba3 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.move.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.move.html @@ -600,7 +600,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -609,6 +609,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -662,11 +664,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.parseAll.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.parseAll.html index 5bfaee2a8a..cfd98995eb 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.parseAll.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.parseAll.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.parseSome.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.parseSome.html index 5bfaee2a8a..cfd98995eb 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.parseSome.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.parseSome.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.parseWithOptions.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.parseWithOptions.html index 5bfaee2a8a..cfd98995eb 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.parseWithOptions.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.parseWithOptions.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.remove.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.remove.html index 90f7a5ea20..ecd37ffcd6 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.remove.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.remove.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.rename.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.rename.html index 01a3cbe2f5..f4ad9437e2 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.rename.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.rename.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.renameExpression.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.renameExpression.html index eb1a0f0ba8..f03aaaad4c 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.renameExpression.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.renameExpression.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.reorder.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.reorder.html index d62a3d4fa0..ec34450542 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.reorder.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.reorder.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.reorderInGroup.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.reorderInGroup.html index 2fc891e84a..4e1af1ffc8 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.reorderInGroup.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.reorderInGroup.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.replace.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.replace.html index 380b5cd9f4..fac7e888eb 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.replace.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.replace.html @@ -504,7 +504,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -513,6 +513,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -566,11 +568,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.reverse.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.reverse.html index 235f39834c..f64a1162cc 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.reverse.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.reverse.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.shuffle.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.shuffle.html index 85fda3f471..dd5eb1153b 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.shuffle.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.shuffle.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.sortBy.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.sortBy.html index fa61a2579b..11fb3a1427 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.sortBy.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.sortBy.html @@ -504,7 +504,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -513,6 +513,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -566,11 +568,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.sortByDesc.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.sortByDesc.html index 7a17d74fa7..9f339fc02f 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.sortByDesc.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.sortByDesc.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.sortWith.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.sortWith.html index d66ff023cd..083357b6c5 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.sortWith.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.sortWith.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.split.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.split.html index 69d278896a..e62bbc81ae 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.split.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.split.html @@ -480,7 +480,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -489,6 +489,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -542,11 +544,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.split1.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.split1.html index fcf7166b9b..1878921572 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.split1.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.split1.html @@ -486,7 +486,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -495,6 +495,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -548,11 +550,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.splitInplace.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.splitInplace.html index 7eb6021c42..c5306ecf64 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.splitInplace.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.splitInplace.html @@ -480,7 +480,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -489,6 +489,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -542,11 +544,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.splitIntoRows.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.splitIntoRows.html index acd8100610..f73f7583f6 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.splitIntoRows.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.splitIntoRows.html @@ -512,7 +512,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -521,6 +521,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -574,11 +576,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.splitRegex.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.splitRegex.html index b843dd7dfe..bbfc7547c8 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.splitRegex.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.splitRegex.html @@ -474,7 +474,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -483,6 +483,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -536,11 +538,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.splitRegex1.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.splitRegex1.html index cd85d43d11..61049808a0 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.splitRegex1.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.splitRegex1.html @@ -480,7 +480,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -489,6 +489,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -542,11 +544,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.ungroup.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.ungroup.html index b513cfaca3..ce323ae69a 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.ungroup.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.ungroup.html @@ -468,7 +468,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -477,6 +477,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -530,11 +532,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.update.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.update.html index 623f05c4b7..4840cb7215 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.update.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.update.html @@ -556,7 +556,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -565,6 +565,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -618,11 +620,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.updateAsFrame.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.updateAsFrame.html index d5ebab9ec6..e79abdae6b 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.updateAsFrame.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.updateAsFrame.html @@ -494,7 +494,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -503,6 +503,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -556,11 +558,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.updatePerRowCol.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.updatePerRowCol.html index e08413aa6a..cfce0076a6 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.updatePerRowCol.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.updatePerRowCol.html @@ -474,7 +474,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -483,6 +483,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -536,11 +538,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.updateWith.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.updateWith.html index edca61ac14..5c9ba98e65 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.updateWith.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.updateWith.html @@ -474,7 +474,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -483,6 +483,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -536,11 +538,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.updateWithConst.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.updateWithConst.html index a4ee7d9677..ec597a22e3 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.updateWithConst.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Modify.updateWithConst.html @@ -480,7 +480,7 @@ function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -489,6 +489,8 @@ } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -542,11 +544,13 @@ function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); From b51f36aaf0b3d388e64f14c5a03e9d3249754377 Mon Sep 17 00:00:00 2001 From: Nikita Klimenko Date: Thu, 23 Oct 2025 16:46:04 +0300 Subject: [PATCH 3/5] Fix table display for remaining toDataFrame examples --- .../kotlinx/dataframe/samples/api/Create.kt | 15 - ...pi.Create.readDataFrameFromDeepObject.html | 587 ++++++++++++++++++ ...eadDataFrameFromDeepObjectWithExclude.html | 587 ++++++++++++++++++ docs/StardustDocs/topics/_shadow_resources.md | 2 + docs/StardustDocs/topics/createDataFrame.md | 2 + 5 files changed, 1178 insertions(+), 15 deletions(-) create mode 100644 docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.readDataFrameFromDeepObject.html create mode 100644 docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.readDataFrameFromDeepObjectWithExclude.html diff --git a/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt b/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt index 0aa6977688..cc580ad58c 100644 --- a/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt +++ b/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt @@ -26,14 +26,10 @@ import org.jetbrains.kotlinx.dataframe.api.toColumn import org.jetbrains.kotlinx.dataframe.api.toColumnOf import org.jetbrains.kotlinx.dataframe.api.toDataFrame import org.jetbrains.kotlinx.dataframe.api.value -import org.jetbrains.kotlinx.dataframe.columns.ColumnKind import org.jetbrains.kotlinx.dataframe.explainer.TransformDataFrameExpressions -import org.jetbrains.kotlinx.dataframe.kind -import org.jetbrains.kotlinx.dataframe.type import org.junit.Test import java.io.File import kotlin.random.Random as KotlinRandom -import kotlin.reflect.typeOf class Create : TestBase() { @@ -419,11 +415,6 @@ class Create : TestBase() { val df = students.toDataFrame(maxDepth = 1) // SampleEnd - df.columnsCount() shouldBe 3 - df.rowsCount() shouldBe 2 - df["name"].kind shouldBe ColumnKind.Group - df["name"]["firstName"].type() shouldBe typeOf() - df["scores"].kind shouldBe ColumnKind.Frame } @Test @@ -458,12 +449,6 @@ class Create : TestBase() { } } // SampleEnd - df.columnsCount() shouldBe 5 - df.rowsCount() shouldBe 2 - df["name"].kind shouldBe ColumnKind.Value - df["name"].type shouldBe typeOf() - df["scores"].kind shouldBe ColumnKind.Frame - df["summary"]["min score"].values() shouldBe listOf(3, 5) } @Test diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.readDataFrameFromDeepObject.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.readDataFrameFromDeepObject.html new file mode 100644 index 0000000000..b3641c623c --- /dev/null +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.readDataFrameFromDeepObject.html @@ -0,0 +1,587 @@ + + + + + +
+ +

+ + + diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.readDataFrameFromDeepObjectWithExclude.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.readDataFrameFromDeepObjectWithExclude.html new file mode 100644 index 0000000000..4d73d39e9d --- /dev/null +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.readDataFrameFromDeepObjectWithExclude.html @@ -0,0 +1,587 @@ + + + + + +
+ +

+ + + diff --git a/docs/StardustDocs/topics/_shadow_resources.md b/docs/StardustDocs/topics/_shadow_resources.md index 156f590420..352525ba4b 100644 --- a/docs/StardustDocs/topics/_shadow_resources.md +++ b/docs/StardustDocs/topics/_shadow_resources.md @@ -205,3 +205,5 @@ + + diff --git a/docs/StardustDocs/topics/createDataFrame.md b/docs/StardustDocs/topics/createDataFrame.md index 2313d3eeb9..6d0a3b459c 100644 --- a/docs/StardustDocs/topics/createDataFrame.md +++ b/docs/StardustDocs/topics/createDataFrame.md @@ -267,6 +267,7 @@ val students = listOf( val df = students.toDataFrame(maxDepth = 1) ``` + For detailed control over object graph transformations, use the configuration DSL. @@ -294,6 +295,7 @@ val df = students.toDataFrame { } ``` + ### DynamicDataFrameBuilder From e5fa24004933ed728bd33e47a0d5766f1b39cd86 Mon Sep 17 00:00:00 2001 From: Nikita Klimenko Date: Wed, 5 Nov 2025 15:49:59 +0200 Subject: [PATCH 4/5] Update examples to use nextInt(IntRange) --- .../kotlinx/dataframe/samples/api/Create.kt | 11 ++++++----- ...api.Create.createNestedRandomDataFrame.html | 18 +++++++++--------- ...mples.api.Create.createRandomDataFrame.html | 2 +- docs/StardustDocs/topics/createDataFrame.md | 10 +++++----- 4 files changed, 21 insertions(+), 20 deletions(-) diff --git a/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt b/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt index cc580ad58c..7f446ac718 100644 --- a/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt +++ b/core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt @@ -29,6 +29,7 @@ import org.jetbrains.kotlinx.dataframe.api.value import org.jetbrains.kotlinx.dataframe.explainer.TransformDataFrameExpressions import org.junit.Test import java.io.File +import kotlin.random.nextInt import kotlin.random.Random as KotlinRandom class Create : TestBase() { @@ -234,7 +235,7 @@ class Create : TestBase() { "productId" from { "P${1000 + it}" } "category" from { categories.random() } "price" from { Random.nextDouble(10.0, 500.0) } - "inStock" from { Random.nextInt(0, 100) } + "inStock" from { Random.nextInt(0..100) } } // SampleEnd } @@ -257,14 +258,14 @@ class Create : TestBase() { // Column Group "manufacturer" { "country" from { listOf("USA", "China", "Germany", "Japan").random() } - "yearEstablished" from { Random.nextInt(1950, 2020) } + "yearEstablished" from { Random.nextInt(1950..2020) } } // Frame Column "reviews" from { - val reviewCount = Random.nextInt(0, 8) + val reviewCount = Random.nextInt(0..7) (0 until reviewCount).toDataFrame { - val ratings: DataColumn = expr { Random.nextInt(1, 6) } + val ratings: DataColumn = expr { Random.nextInt(1..5) } val comments = ratings.map { when (it) { 5 -> listOf("Amazing quality!", "Best purchase ever!", "Highly recommend!", "Absolutely perfect!") @@ -275,7 +276,7 @@ class Create : TestBase() { }.random() } - "author" from { "User${Random.nextInt(1000, 9999)}" } + "author" from { "User${Random.nextInt(1000..10000)}" } ratings into "rating" comments into "comment" } diff --git a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createNestedRandomDataFrame.html b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createNestedRandomDataFrame.html index c18c29b07c..cf8dc39d34 100644 --- a/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createNestedRandomDataFrame.html +++ b/docs/StardustDocs/resources/snippets/org.jetbrains.kotlinx.dataframe.samples.api.Create.createNestedRandomDataFrame.html @@ -565,56 +565,56 @@ { name: "category", children: [], rightAlign: false, values: ["Clothing","Electronics","Clothing","Clothing","Books","Electronics","Books"] }, { name: "price", children: [], rightAlign: true, values: ["489.054329","41.332037","339.555785","367.194829","471.963710","65.576163","103.849144"] }, { name: "country", children: [], rightAlign: false, values: ["China","Japan","China","China","China","China","Germany"] }, -{ name: "yearEstablished", children: [], rightAlign: true, values: ["1986","1986","2006","1981","2015","2008","1987"] }, -{ name: "\">manufacturer", children: [3, 4], rightAlign: false, values: ["{ country: China, yearEstablished: ... }","{ country: Japan, yearEstablished: ... }","{ country: China, yearEstablished: ... }","{ country: China, yearEstablished: ... }","{ country: China, yearEstablished: ... }","{ country: China, yearEstablished: ... }","{ country: Germany, yearEstablished... }"] }, +{ name: "yearEstablished", children: [], rightAlign: true, values: ["1951","1998","2012","1972","1984","1997","1995"] }, +{ name: "\">manufacturer", children: [3, 4], rightAlign: false, values: ["{ country: China, yearEstablished: ... }","{ country: Japan, yearEstablished: ... }","{ country: China, yearEstablished: ... }","{ country: China, yearEstablished: ... }","{ country: China, yearEstablished: ... }","{ country: China, yearEstablished: ... }","{ country: Germany, yearEstablished... }"] }, { name: "\">reviews", children: [], rightAlign: false, values: [{ frameId: 1, value: "DataFrame 7 x 3" },{ frameId: 2, value: "DataFrame 1 x 3" },{ frameId: 3, value: "DataFrame 3 x 3" },{ frameId: 4, value: "DataFrame 1 x 3" },{ frameId: 5, value: "DataFrame 1 x 3" },{ frameId: 6, value: "DataFrame 5 x 3" },{ frameId: 7, value: "DataFrame 4 x 3" }] }, ], id: 0, rootId: 0, totalRows: 7 } ) }); /*-->*/ /**/ /**/ /**/ /**/ /**/ /**/ /**/ diff --git a/docs/StardustDocs/topics/createDataFrame.md b/docs/StardustDocs/topics/createDataFrame.md index 6d0a3b459c..8fd6c22cde 100644 --- a/docs/StardustDocs/topics/createDataFrame.md +++ b/docs/StardustDocs/topics/createDataFrame.md @@ -102,7 +102,7 @@ val categories = listOf("Electronics", "Books", "Clothing") "productId" from { "P${1000 + it}" } "category" from { categories.random() } "price" from { Random.nextDouble(10.0, 500.0) } - "inStock" from { Random.nextInt(0, 100) } + "inStock" from { Random.nextInt(0..100) } } ``` @@ -124,14 +124,14 @@ val categories = listOf("Electronics", "Books", "Clothing") // Column Group "manufacturer" { "country" from { listOf("USA", "China", "Germany", "Japan").random() } - "yearEstablished" from { Random.nextInt(1950, 2020) } + "yearEstablished" from { Random.nextInt(1950..2020) } } // Frame Column "reviews" from { - val reviewCount = Random.nextInt(0, 8) + val reviewCount = Random.nextInt(0..7) (0 until reviewCount).toDataFrame { - val ratings: DataColumn = expr { Random.nextInt(1, 6) } + val ratings: DataColumn = expr { Random.nextInt(1..5) } val comments = ratings.map { when (it) { 5 -> listOf("Amazing quality!", "Best purchase ever!", "Highly recommend!", "Absolutely perfect!") @@ -142,7 +142,7 @@ val categories = listOf("Electronics", "Books", "Clothing") }.random() } - "author" from { "User${Random.nextInt(1000, 9999)}" } + "author" from { "User${Random.nextInt(1000..10000)}" } ratings into "rating" comments into "comment" } From 576aa9987c40d206be0fe46510b508649609d151 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 5 Nov 2025 13:58:07 +0000 Subject: [PATCH 5/5] Update generated sources with recent changes --- .../explainer/SamplesRenderingUtils.kt | 8 +- .../kotlinx/dataframe/samples/api/Create.kt | 92 +++++++++++++++---- 2 files changed, 78 insertions(+), 22 deletions(-) diff --git a/core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/explainer/SamplesRenderingUtils.kt b/core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/explainer/SamplesRenderingUtils.kt index 0c697c89c4..9aee2ff34b 100644 --- a/core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/explainer/SamplesRenderingUtils.kt +++ b/core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/explainer/SamplesRenderingUtils.kt @@ -37,7 +37,7 @@ val WritersideStyle = DataFrameHtmlData( function sendHeight() { let totalHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { totalHeight += getElementHeight(element.querySelector(':scope > summary')); @@ -46,6 +46,8 @@ function sendHeight() { } } else if (element.tagName === 'BR') { totalHeight += getElementHeight(element); + } else if (element.tagName === 'TABLE') { + totalHeight += getElementHeight(element); } }); @@ -99,11 +101,13 @@ function isElementVisible(el) { function sendInitialHeight() { let initialHeight = 0; - document.querySelectorAll('body > details, body > br').forEach(element => { + document.querySelectorAll('body > details, body > br, body > table').forEach(element => { if (element.tagName === 'DETAILS') { initialHeight += getElementHeight(element.querySelector(':scope > summary')); } else if (element.tagName === 'BR') { initialHeight += getElementHeight(element); + } else if (element.tagName === `TABLE`) { + initialHeight += getElementHeight(element); } }); diff --git a/core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt b/core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt index fe6a56a4b8..7f446ac718 100644 --- a/core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt +++ b/core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/samples/api/Create.kt @@ -4,6 +4,7 @@ package org.jetbrains.kotlinx.dataframe.samples.api import io.kotest.matchers.shouldBe import org.jetbrains.kotlinx.dataframe.AnyFrame +import org.jetbrains.kotlinx.dataframe.DataColumn import org.jetbrains.kotlinx.dataframe.DataFrame import org.jetbrains.kotlinx.dataframe.api.DynamicDataFrameBuilder import org.jetbrains.kotlinx.dataframe.api.Infer @@ -25,13 +26,11 @@ import org.jetbrains.kotlinx.dataframe.api.toColumn import org.jetbrains.kotlinx.dataframe.api.toColumnOf import org.jetbrains.kotlinx.dataframe.api.toDataFrame import org.jetbrains.kotlinx.dataframe.api.value -import org.jetbrains.kotlinx.dataframe.columns.ColumnKind import org.jetbrains.kotlinx.dataframe.explainer.TransformDataFrameExpressions -import org.jetbrains.kotlinx.dataframe.kind -import org.jetbrains.kotlinx.dataframe.type import org.junit.Test import java.io.File -import kotlin.reflect.typeOf +import kotlin.random.nextInt +import kotlin.random.Random as KotlinRandom class Create : TestBase() { @@ -222,6 +221,70 @@ class Create : TestBase() { // SampleEnd } + @Test + @TransformDataFrameExpressions + fun createRandomDataFrame() { + // stable random + clean examples + @Suppress("LocalVariableName") + val Random = KotlinRandom(42) + fun List.random() = this.random(Random) + // SampleStart + val categories = listOf("Electronics", "Books", "Clothing") + // DataFrame with 4 columns and 7 rows + (0 until 7).toDataFrame { + "productId" from { "P${1000 + it}" } + "category" from { categories.random() } + "price" from { Random.nextDouble(10.0, 500.0) } + "inStock" from { Random.nextInt(0..100) } + } + // SampleEnd + } + + @Test + @TransformDataFrameExpressions + fun createNestedRandomDataFrame() { + // stable random + clean examples + @Suppress("LocalVariableName") + val Random = KotlinRandom(42) + fun List.random() = this.random(Random) + // SampleStart + val categories = listOf("Electronics", "Books", "Clothing") + // DataFrame with 5 columns and 7 rows + (0 until 7).toDataFrame { + "productId" from { "P${1000 + it}" } + "category" from { categories.random() } + "price" from { Random.nextDouble(10.0, 500.0) } + + // Column Group + "manufacturer" { + "country" from { listOf("USA", "China", "Germany", "Japan").random() } + "yearEstablished" from { Random.nextInt(1950..2020) } + } + + // Frame Column + "reviews" from { + val reviewCount = Random.nextInt(0..7) + (0 until reviewCount).toDataFrame { + val ratings: DataColumn = expr { Random.nextInt(1..5) } + val comments = ratings.map { + when (it) { + 5 -> listOf("Amazing quality!", "Best purchase ever!", "Highly recommend!", "Absolutely perfect!") + 4 -> listOf("Great product!", "Very satisfied", "Good value for money", "Would buy again") + 3 -> listOf("It's okay", "Does the job", "Average quality", "Neither good nor bad") + 2 -> listOf("Could be better", "Disappointed", "Not what I expected", "Poor quality") + else -> listOf("Terrible!", "Not worth the price", "Complete waste of money", "Do not buy!") + }.random() + } + + "author" from { "User${Random.nextInt(1000..10000)}" } + ratings into "rating" + comments into "comment" + } + } + } + // SampleEnd + } + @Test @TransformDataFrameExpressions fun createDataFrameOfPairs() { @@ -254,7 +317,11 @@ class Create : TestBase() { fun createDataFrameWithFill() { // SampleStart // Multiplication table - dataFrameOf(1..10) { x -> (1..10).map { x * it } } + (1..10).toDataFrame { + (1..10).forEach { x -> + "$x" from { x * it } + } + } // SampleEnd } @@ -330,10 +397,6 @@ class Create : TestBase() { val df = persons.toDataFrame() // SampleEnd - df.columnsCount() shouldBe 2 - df.rowsCount() shouldBe 3 - df["name"].type() shouldBe typeOf() - df["age"].type() shouldBe typeOf() } @Test @@ -353,11 +416,6 @@ class Create : TestBase() { val df = students.toDataFrame(maxDepth = 1) // SampleEnd - df.columnsCount() shouldBe 3 - df.rowsCount() shouldBe 2 - df["name"].kind shouldBe ColumnKind.Group - df["name"]["firstName"].type() shouldBe typeOf() - df["scores"].kind shouldBe ColumnKind.Frame } @Test @@ -392,12 +450,6 @@ class Create : TestBase() { } } // SampleEnd - df.columnsCount() shouldBe 5 - df.rowsCount() shouldBe 2 - df["name"].kind shouldBe ColumnKind.Value - df["name"].type shouldBe typeOf() - df["scores"].kind shouldBe ColumnKind.Frame - df["summary"]["min score"].values() shouldBe listOf(3, 5) } @Test