@loaders.gl/schema 4.0.0-beta.2 → 4.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dist.dev.js +1745 -0
- package/dist/index.cjs +1692 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -0
- package/dist/index.js.map +1 -0
- package/dist/{esm/lib → lib}/mesh/convert-mesh.js +1 -1
- package/dist/lib/mesh/convert-mesh.js.map +1 -0
- package/dist/{esm/lib → lib}/mesh/deduce-mesh-schema.js +1 -1
- package/dist/lib/mesh/deduce-mesh-schema.js.map +1 -0
- package/dist/lib/mesh/mesh-to-arrow-table.js.map +1 -0
- package/dist/lib/mesh/mesh-utils.js.map +1 -0
- package/dist/{esm/lib → lib}/table/arrow-api/arrow-like-field.js +5 -6
- package/dist/lib/table/arrow-api/arrow-like-field.js.map +1 -0
- package/dist/{esm/lib → lib}/table/arrow-api/arrow-like-schema.js +3 -4
- package/dist/lib/table/arrow-api/arrow-like-schema.js.map +1 -0
- package/dist/{esm/lib → lib}/table/arrow-api/arrow-like-table.js +7 -8
- package/dist/lib/table/arrow-api/arrow-like-table.js.map +1 -0
- package/dist/lib/table/arrow-api/arrow-like-type.d.ts +1 -1
- package/dist/lib/table/arrow-api/arrow-like-type.d.ts.map +1 -1
- package/dist/{esm/lib → lib}/table/arrow-api/arrow-like-type.js +22 -23
- package/dist/lib/table/arrow-api/arrow-like-type.js.map +1 -0
- package/dist/lib/table/arrow-api/enum.js.map +1 -0
- package/dist/{esm/lib → lib}/table/arrow-api/get-type-info.js +1 -1
- package/dist/lib/table/arrow-api/get-type-info.js.map +1 -0
- package/dist/lib/table/arrow-api/index.js +5 -0
- package/dist/lib/table/arrow-api/index.js.map +1 -0
- package/dist/{esm/lib → lib}/table/batches/base-table-batch-aggregator.js +6 -7
- package/dist/lib/table/batches/base-table-batch-aggregator.js.map +1 -0
- package/dist/{esm/lib → lib}/table/batches/columnar-table-batch-aggregator.js +4 -5
- package/dist/lib/table/batches/columnar-table-batch-aggregator.js.map +1 -0
- package/dist/{esm/lib → lib}/table/batches/row-table-batch-aggregator.js +8 -9
- package/dist/lib/table/batches/row-table-batch-aggregator.js.map +1 -0
- package/dist/lib/table/batches/table-batch-aggregator.js.map +1 -0
- package/dist/{esm/lib → lib}/table/batches/table-batch-builder.js +14 -15
- package/dist/lib/table/batches/table-batch-builder.js.map +1 -0
- package/dist/{esm/lib → lib}/table/simple-table/convert-table.js +3 -3
- package/dist/lib/table/simple-table/convert-table.js.map +1 -0
- package/dist/lib/table/simple-table/data-type.js.map +1 -0
- package/dist/{esm/lib → lib}/table/simple-table/make-table.js +1 -1
- package/dist/lib/table/simple-table/make-table.js.map +1 -0
- package/dist/lib/table/simple-table/row-utils.js.map +1 -0
- package/dist/{esm/lib → lib}/table/simple-table/table-accessors.js +2 -2
- package/dist/lib/table/simple-table/table-accessors.js.map +1 -0
- package/dist/{esm/lib → lib}/table/simple-table/table-column.js +1 -1
- package/dist/lib/table/simple-table/table-column.js.map +1 -0
- package/dist/{esm/lib → lib}/table/simple-table/table-schema.js +1 -1
- package/dist/lib/table/simple-table/table-schema.js.map +1 -0
- package/dist/lib/utils/assert.js.map +1 -0
- package/dist/{esm/lib → lib}/utils/async-queue.js +3 -4
- package/dist/lib/utils/async-queue.js.map +1 -0
- package/dist/types/batch.d.ts +3 -2
- package/dist/types/batch.d.ts.map +1 -1
- package/dist/types/batch.js.map +1 -0
- package/dist/types/binary-geometries.js.map +1 -0
- package/dist/types/category-gis.js.map +1 -0
- package/dist/types/category-image.js.map +1 -0
- package/dist/types/category-mesh.js.map +1 -0
- package/dist/types/category-table.js.map +1 -0
- package/dist/types/category-texture.js.map +1 -0
- package/dist/types/flat-geometries.js.map +1 -0
- package/dist/types/schema.js.map +1 -0
- package/dist/types/types.d.ts +1 -1
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/types.js.map +1 -0
- package/package.json +14 -6
- package/src/index.ts +0 -1
- package/src/lib/table/arrow-api/arrow-like-type.ts +0 -2
- package/src/types/batch.ts +4 -2
- package/src/types/types.ts +0 -2
- package/dist/bundle.d.ts +0 -2
- package/dist/bundle.d.ts.map +0 -1
- package/dist/dist.min.js +0 -13204
- package/dist/es5/bundle.js +0 -6
- package/dist/es5/bundle.js.map +0 -1
- package/dist/es5/index.js +0 -413
- package/dist/es5/index.js.map +0 -1
- package/dist/es5/lib/mesh/convert-mesh.js +0 -34
- package/dist/es5/lib/mesh/convert-mesh.js.map +0 -1
- package/dist/es5/lib/mesh/deduce-mesh-schema.js +0 -56
- package/dist/es5/lib/mesh/deduce-mesh-schema.js.map +0 -1
- package/dist/es5/lib/mesh/mesh-to-arrow-table.js +0 -2
- package/dist/es5/lib/mesh/mesh-to-arrow-table.js.map +0 -1
- package/dist/es5/lib/mesh/mesh-utils.js +0 -40
- package/dist/es5/lib/mesh/mesh-utils.js.map +0 -1
- package/dist/es5/lib/table/arrow/arrow-type-utils.js +0 -30
- package/dist/es5/lib/table/arrow/arrow-type-utils.js.map +0 -1
- package/dist/es5/lib/table/arrow/convert-schema-arrow.js +0 -179
- package/dist/es5/lib/table/arrow/convert-schema-arrow.js.map +0 -1
- package/dist/es5/lib/table/arrow/convert-table-to-arrow.js +0 -2
- package/dist/es5/lib/table/arrow/convert-table-to-arrow.js.map +0 -1
- package/dist/es5/lib/table/arrow-api/arrow-like-field.js +0 -49
- package/dist/es5/lib/table/arrow-api/arrow-like-field.js.map +0 -1
- package/dist/es5/lib/table/arrow-api/arrow-like-schema.js +0 -118
- package/dist/es5/lib/table/arrow-api/arrow-like-schema.js.map +0 -1
- package/dist/es5/lib/table/arrow-api/arrow-like-table.js +0 -81
- package/dist/es5/lib/table/arrow-api/arrow-like-table.js.map +0 -1
- package/dist/es5/lib/table/arrow-api/arrow-like-type.js +0 -740
- package/dist/es5/lib/table/arrow-api/arrow-like-type.js.map +0 -1
- package/dist/es5/lib/table/arrow-api/enum.js +0 -55
- package/dist/es5/lib/table/arrow-api/enum.js.map +0 -1
- package/dist/es5/lib/table/arrow-api/get-type-info.js +0 -27
- package/dist/es5/lib/table/arrow-api/get-type-info.js.map +0 -1
- package/dist/es5/lib/table/arrow-api/index.js +0 -44
- package/dist/es5/lib/table/arrow-api/index.js.map +0 -1
- package/dist/es5/lib/table/batches/base-table-batch-aggregator.js +0 -78
- package/dist/es5/lib/table/batches/base-table-batch-aggregator.js.map +0 -1
- package/dist/es5/lib/table/batches/columnar-table-batch-aggregator.js +0 -106
- package/dist/es5/lib/table/batches/columnar-table-batch-aggregator.js.map +0 -1
- package/dist/es5/lib/table/batches/row-table-batch-aggregator.js +0 -96
- package/dist/es5/lib/table/batches/row-table-batch-aggregator.js.map +0 -1
- package/dist/es5/lib/table/batches/table-batch-aggregator.js +0 -2
- package/dist/es5/lib/table/batches/table-batch-aggregator.js.map +0 -1
- package/dist/es5/lib/table/batches/table-batch-builder.js +0 -173
- package/dist/es5/lib/table/batches/table-batch-builder.js.map +0 -1
- package/dist/es5/lib/table/simple-table/convert-table.js +0 -106
- package/dist/es5/lib/table/simple-table/convert-table.js.map +0 -1
- package/dist/es5/lib/table/simple-table/data-type.js +0 -94
- package/dist/es5/lib/table/simple-table/data-type.js.map +0 -1
- package/dist/es5/lib/table/simple-table/make-table.js +0 -60
- package/dist/es5/lib/table/simple-table/make-table.js.map +0 -1
- package/dist/es5/lib/table/simple-table/row-utils.js +0 -34
- package/dist/es5/lib/table/simple-table/row-utils.js.map +0 -1
- package/dist/es5/lib/table/simple-table/table-accessors.js +0 -370
- package/dist/es5/lib/table/simple-table/table-accessors.js.map +0 -1
- package/dist/es5/lib/table/simple-table/table-column.js +0 -12
- package/dist/es5/lib/table/simple-table/table-column.js.map +0 -1
- package/dist/es5/lib/table/simple-table/table-schema.js +0 -85
- package/dist/es5/lib/table/simple-table/table-schema.js.map +0 -1
- package/dist/es5/lib/utils/assert.js +0 -12
- package/dist/es5/lib/utils/assert.js.map +0 -1
- package/dist/es5/lib/utils/async-queue.js +0 -169
- package/dist/es5/lib/utils/async-queue.js.map +0 -1
- package/dist/es5/types/batch.js +0 -2
- package/dist/es5/types/batch.js.map +0 -1
- package/dist/es5/types/binary-geometries.js +0 -2
- package/dist/es5/types/binary-geometries.js.map +0 -1
- package/dist/es5/types/category-gis.js +0 -2
- package/dist/es5/types/category-gis.js.map +0 -1
- package/dist/es5/types/category-image.js +0 -2
- package/dist/es5/types/category-image.js.map +0 -1
- package/dist/es5/types/category-mesh.js +0 -2
- package/dist/es5/types/category-mesh.js.map +0 -1
- package/dist/es5/types/category-table.js +0 -2
- package/dist/es5/types/category-table.js.map +0 -1
- package/dist/es5/types/category-texture.js +0 -2
- package/dist/es5/types/category-texture.js.map +0 -1
- package/dist/es5/types/flat-geometries.js +0 -2
- package/dist/es5/types/flat-geometries.js.map +0 -1
- package/dist/es5/types/schema.js +0 -2
- package/dist/es5/types/schema.js.map +0 -1
- package/dist/es5/types/types.js +0 -2
- package/dist/es5/types/types.js.map +0 -1
- package/dist/esm/bundle.js +0 -4
- package/dist/esm/bundle.js.map +0 -1
- package/dist/esm/index.js +0 -17
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/lib/mesh/convert-mesh.js.map +0 -1
- package/dist/esm/lib/mesh/deduce-mesh-schema.js.map +0 -1
- package/dist/esm/lib/mesh/mesh-to-arrow-table.js.map +0 -1
- package/dist/esm/lib/mesh/mesh-utils.js.map +0 -1
- package/dist/esm/lib/table/arrow/arrow-type-utils.js +0 -24
- package/dist/esm/lib/table/arrow/arrow-type-utils.js.map +0 -1
- package/dist/esm/lib/table/arrow/convert-schema-arrow.js +0 -158
- package/dist/esm/lib/table/arrow/convert-schema-arrow.js.map +0 -1
- package/dist/esm/lib/table/arrow/convert-table-to-arrow.js +0 -2
- package/dist/esm/lib/table/arrow/convert-table-to-arrow.js.map +0 -1
- package/dist/esm/lib/table/arrow-api/arrow-like-field.js.map +0 -1
- package/dist/esm/lib/table/arrow-api/arrow-like-schema.js.map +0 -1
- package/dist/esm/lib/table/arrow-api/arrow-like-table.js.map +0 -1
- package/dist/esm/lib/table/arrow-api/arrow-like-type.js.map +0 -1
- package/dist/esm/lib/table/arrow-api/enum.js.map +0 -1
- package/dist/esm/lib/table/arrow-api/get-type-info.js.map +0 -1
- package/dist/esm/lib/table/arrow-api/index.js +0 -5
- package/dist/esm/lib/table/arrow-api/index.js.map +0 -1
- package/dist/esm/lib/table/batches/base-table-batch-aggregator.js.map +0 -1
- package/dist/esm/lib/table/batches/columnar-table-batch-aggregator.js.map +0 -1
- package/dist/esm/lib/table/batches/row-table-batch-aggregator.js.map +0 -1
- package/dist/esm/lib/table/batches/table-batch-aggregator.js.map +0 -1
- package/dist/esm/lib/table/batches/table-batch-builder.js.map +0 -1
- package/dist/esm/lib/table/simple-table/convert-table.js.map +0 -1
- package/dist/esm/lib/table/simple-table/data-type.js.map +0 -1
- package/dist/esm/lib/table/simple-table/make-table.js.map +0 -1
- package/dist/esm/lib/table/simple-table/row-utils.js.map +0 -1
- package/dist/esm/lib/table/simple-table/table-accessors.js.map +0 -1
- package/dist/esm/lib/table/simple-table/table-column.js.map +0 -1
- package/dist/esm/lib/table/simple-table/table-schema.js.map +0 -1
- package/dist/esm/lib/utils/assert.js.map +0 -1
- package/dist/esm/lib/utils/async-queue.js.map +0 -1
- package/dist/esm/types/batch.js.map +0 -1
- package/dist/esm/types/binary-geometries.js.map +0 -1
- package/dist/esm/types/category-gis.js.map +0 -1
- package/dist/esm/types/category-image.js.map +0 -1
- package/dist/esm/types/category-mesh.js.map +0 -1
- package/dist/esm/types/category-table.js.map +0 -1
- package/dist/esm/types/category-texture.js.map +0 -1
- package/dist/esm/types/flat-geometries.js.map +0 -1
- package/dist/esm/types/schema.js.map +0 -1
- package/dist/esm/types/types.js.map +0 -1
- package/dist/lib/table/arrow/arrow-type-utils.d.ts +0 -4
- package/dist/lib/table/arrow/arrow-type-utils.d.ts.map +0 -1
- package/dist/lib/table/arrow/convert-schema-arrow.d.ts +0 -13
- package/dist/lib/table/arrow/convert-schema-arrow.d.ts.map +0 -1
- package/dist/lib/table/arrow/convert-table-to-arrow.d.ts +0 -42
- package/dist/lib/table/arrow/convert-table-to-arrow.d.ts.map +0 -1
- package/src/bundle.ts +0 -4
- package/src/lib/table/arrow/arrow-type-utils.ts +0 -71
- package/src/lib/table/arrow/convert-schema-arrow.ts +0 -232
- package/src/lib/table/arrow/convert-table-to-arrow.ts +0 -59
- /package/dist/{esm/lib → lib}/mesh/mesh-to-arrow-table.js +0 -0
- /package/dist/{esm/lib → lib}/mesh/mesh-utils.js +0 -0
- /package/dist/{esm/lib → lib}/table/arrow-api/enum.js +0 -0
- /package/dist/{esm/lib → lib}/table/batches/table-batch-aggregator.js +0 -0
- /package/dist/{esm/lib → lib}/table/simple-table/data-type.js +0 -0
- /package/dist/{esm/lib → lib}/table/simple-table/row-utils.js +0 -0
- /package/dist/{esm/lib → lib}/utils/assert.js +0 -0
- /package/dist/{esm/types → types}/batch.js +0 -0
- /package/dist/{esm/types → types}/binary-geometries.js +0 -0
- /package/dist/{esm/types → types}/category-gis.js +0 -0
- /package/dist/{esm/types → types}/category-image.js +0 -0
- /package/dist/{esm/types → types}/category-mesh.js +0 -0
- /package/dist/{esm/types → types}/category-table.js +0 -0
- /package/dist/{esm/types → types}/category-texture.js +0 -0
- /package/dist/{esm/types → types}/flat-geometries.js +0 -0
- /package/dist/{esm/types → types}/schema.js +0 -0
- /package/dist/{esm/types → types}/types.js +0 -0
package/dist/es5/bundle.js
DELETED
package/dist/es5/bundle.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bundle.js","names":["moduleExports","require","globalThis","loaders","module","exports","Object","assign"],"sources":["../../src/bundle.ts"],"sourcesContent":["// @ts-nocheck\nconst moduleExports = require('./index');\nglobalThis.loaders = globalThis.loaders || {};\nmodule.exports = Object.assign(globalThis.loaders, moduleExports);\n"],"mappings":";;AACA,IAAMA,aAAa,GAAGC,OAAO,CAAC,SAAS,CAAC;AACxCC,UAAU,CAACC,OAAO,GAAGD,UAAU,CAACC,OAAO,IAAI,CAAC,CAAC;AAC7CC,MAAM,CAACC,OAAO,GAAGC,MAAM,CAACC,MAAM,CAACL,UAAU,CAACC,OAAO,EAAEH,aAAa,CAAC"}
|
package/dist/es5/index.js
DELETED
|
@@ -1,413 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
Object.defineProperty(exports, "ArrowLikeDataType", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function get() {
|
|
10
|
-
return _arrowApi.DataType;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "ArrowLikeField", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function get() {
|
|
16
|
-
return _arrowApi.Field;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports, "ArrowLikeSchema", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function get() {
|
|
22
|
-
return _arrowApi.Schema;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
Object.defineProperty(exports, "ArrowLikeTable", {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function get() {
|
|
28
|
-
return _arrowLikeTable.ArrowLikeTable;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
Object.defineProperty(exports, "AsyncQueue", {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function get() {
|
|
34
|
-
return _asyncQueue.default;
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
Object.defineProperty(exports, "Binary", {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
get: function get() {
|
|
40
|
-
return _arrowApi.Binary;
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
Object.defineProperty(exports, "Bool", {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function get() {
|
|
46
|
-
return _arrowApi.Bool;
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(exports, "ColumnarTableBatchAggregator", {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function get() {
|
|
52
|
-
return _columnarTableBatchAggregator.ColumnarTableBatchAggregator;
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
Object.defineProperty(exports, "Date", {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
get: function get() {
|
|
58
|
-
return _arrowApi.Date;
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
Object.defineProperty(exports, "DateDay", {
|
|
62
|
-
enumerable: true,
|
|
63
|
-
get: function get() {
|
|
64
|
-
return _arrowApi.DateDay;
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
Object.defineProperty(exports, "DateMillisecond", {
|
|
68
|
-
enumerable: true,
|
|
69
|
-
get: function get() {
|
|
70
|
-
return _arrowApi.DateMillisecond;
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
Object.defineProperty(exports, "FixedSizeList", {
|
|
74
|
-
enumerable: true,
|
|
75
|
-
get: function get() {
|
|
76
|
-
return _arrowApi.FixedSizeList;
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
Object.defineProperty(exports, "Float", {
|
|
80
|
-
enumerable: true,
|
|
81
|
-
get: function get() {
|
|
82
|
-
return _arrowApi.Float;
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
Object.defineProperty(exports, "Float16", {
|
|
86
|
-
enumerable: true,
|
|
87
|
-
get: function get() {
|
|
88
|
-
return _arrowApi.Float16;
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
Object.defineProperty(exports, "Float32", {
|
|
92
|
-
enumerable: true,
|
|
93
|
-
get: function get() {
|
|
94
|
-
return _arrowApi.Float32;
|
|
95
|
-
}
|
|
96
|
-
});
|
|
97
|
-
Object.defineProperty(exports, "Float64", {
|
|
98
|
-
enumerable: true,
|
|
99
|
-
get: function get() {
|
|
100
|
-
return _arrowApi.Float64;
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
Object.defineProperty(exports, "Int", {
|
|
104
|
-
enumerable: true,
|
|
105
|
-
get: function get() {
|
|
106
|
-
return _arrowApi.Int;
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
Object.defineProperty(exports, "Int16", {
|
|
110
|
-
enumerable: true,
|
|
111
|
-
get: function get() {
|
|
112
|
-
return _arrowApi.Int16;
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
Object.defineProperty(exports, "Int32", {
|
|
116
|
-
enumerable: true,
|
|
117
|
-
get: function get() {
|
|
118
|
-
return _arrowApi.Int32;
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
Object.defineProperty(exports, "Int64", {
|
|
122
|
-
enumerable: true,
|
|
123
|
-
get: function get() {
|
|
124
|
-
return _arrowApi.Int64;
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
Object.defineProperty(exports, "Int8", {
|
|
128
|
-
enumerable: true,
|
|
129
|
-
get: function get() {
|
|
130
|
-
return _arrowApi.Int8;
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
Object.defineProperty(exports, "Interval", {
|
|
134
|
-
enumerable: true,
|
|
135
|
-
get: function get() {
|
|
136
|
-
return _arrowApi.Interval;
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
Object.defineProperty(exports, "IntervalDayTime", {
|
|
140
|
-
enumerable: true,
|
|
141
|
-
get: function get() {
|
|
142
|
-
return _arrowApi.IntervalDayTime;
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
Object.defineProperty(exports, "IntervalYearMonth", {
|
|
146
|
-
enumerable: true,
|
|
147
|
-
get: function get() {
|
|
148
|
-
return _arrowApi.IntervalYearMonth;
|
|
149
|
-
}
|
|
150
|
-
});
|
|
151
|
-
Object.defineProperty(exports, "Null", {
|
|
152
|
-
enumerable: true,
|
|
153
|
-
get: function get() {
|
|
154
|
-
return _arrowApi.Null;
|
|
155
|
-
}
|
|
156
|
-
});
|
|
157
|
-
Object.defineProperty(exports, "RowTableBatchAggregator", {
|
|
158
|
-
enumerable: true,
|
|
159
|
-
get: function get() {
|
|
160
|
-
return _rowTableBatchAggregator.RowTableBatchAggregator;
|
|
161
|
-
}
|
|
162
|
-
});
|
|
163
|
-
Object.defineProperty(exports, "Struct", {
|
|
164
|
-
enumerable: true,
|
|
165
|
-
get: function get() {
|
|
166
|
-
return _arrowApi.Struct;
|
|
167
|
-
}
|
|
168
|
-
});
|
|
169
|
-
Object.defineProperty(exports, "TableBatchBuilder", {
|
|
170
|
-
enumerable: true,
|
|
171
|
-
get: function get() {
|
|
172
|
-
return _tableBatchBuilder.TableBatchBuilder;
|
|
173
|
-
}
|
|
174
|
-
});
|
|
175
|
-
Object.defineProperty(exports, "Time", {
|
|
176
|
-
enumerable: true,
|
|
177
|
-
get: function get() {
|
|
178
|
-
return _arrowApi.Time;
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
|
-
Object.defineProperty(exports, "TimeMillisecond", {
|
|
182
|
-
enumerable: true,
|
|
183
|
-
get: function get() {
|
|
184
|
-
return _arrowApi.TimeMillisecond;
|
|
185
|
-
}
|
|
186
|
-
});
|
|
187
|
-
Object.defineProperty(exports, "TimeSecond", {
|
|
188
|
-
enumerable: true,
|
|
189
|
-
get: function get() {
|
|
190
|
-
return _arrowApi.TimeSecond;
|
|
191
|
-
}
|
|
192
|
-
});
|
|
193
|
-
Object.defineProperty(exports, "Timestamp", {
|
|
194
|
-
enumerable: true,
|
|
195
|
-
get: function get() {
|
|
196
|
-
return _arrowApi.Timestamp;
|
|
197
|
-
}
|
|
198
|
-
});
|
|
199
|
-
Object.defineProperty(exports, "TimestampMicrosecond", {
|
|
200
|
-
enumerable: true,
|
|
201
|
-
get: function get() {
|
|
202
|
-
return _arrowApi.TimestampMicrosecond;
|
|
203
|
-
}
|
|
204
|
-
});
|
|
205
|
-
Object.defineProperty(exports, "TimestampMillisecond", {
|
|
206
|
-
enumerable: true,
|
|
207
|
-
get: function get() {
|
|
208
|
-
return _arrowApi.TimestampMillisecond;
|
|
209
|
-
}
|
|
210
|
-
});
|
|
211
|
-
Object.defineProperty(exports, "TimestampNanosecond", {
|
|
212
|
-
enumerable: true,
|
|
213
|
-
get: function get() {
|
|
214
|
-
return _arrowApi.TimestampNanosecond;
|
|
215
|
-
}
|
|
216
|
-
});
|
|
217
|
-
Object.defineProperty(exports, "TimestampSecond", {
|
|
218
|
-
enumerable: true,
|
|
219
|
-
get: function get() {
|
|
220
|
-
return _arrowApi.TimestampSecond;
|
|
221
|
-
}
|
|
222
|
-
});
|
|
223
|
-
Object.defineProperty(exports, "Uint16", {
|
|
224
|
-
enumerable: true,
|
|
225
|
-
get: function get() {
|
|
226
|
-
return _arrowApi.Uint16;
|
|
227
|
-
}
|
|
228
|
-
});
|
|
229
|
-
Object.defineProperty(exports, "Uint32", {
|
|
230
|
-
enumerable: true,
|
|
231
|
-
get: function get() {
|
|
232
|
-
return _arrowApi.Uint32;
|
|
233
|
-
}
|
|
234
|
-
});
|
|
235
|
-
Object.defineProperty(exports, "Uint64", {
|
|
236
|
-
enumerable: true,
|
|
237
|
-
get: function get() {
|
|
238
|
-
return _arrowApi.Uint64;
|
|
239
|
-
}
|
|
240
|
-
});
|
|
241
|
-
Object.defineProperty(exports, "Uint8", {
|
|
242
|
-
enumerable: true,
|
|
243
|
-
get: function get() {
|
|
244
|
-
return _arrowApi.Uint8;
|
|
245
|
-
}
|
|
246
|
-
});
|
|
247
|
-
Object.defineProperty(exports, "Utf8", {
|
|
248
|
-
enumerable: true,
|
|
249
|
-
get: function get() {
|
|
250
|
-
return _arrowApi.Utf8;
|
|
251
|
-
}
|
|
252
|
-
});
|
|
253
|
-
Object.defineProperty(exports, "convertTable", {
|
|
254
|
-
enumerable: true,
|
|
255
|
-
get: function get() {
|
|
256
|
-
return _convertTable.convertTable;
|
|
257
|
-
}
|
|
258
|
-
});
|
|
259
|
-
Object.defineProperty(exports, "convertToArrayRow", {
|
|
260
|
-
enumerable: true,
|
|
261
|
-
get: function get() {
|
|
262
|
-
return _rowUtils.convertToArrayRow;
|
|
263
|
-
}
|
|
264
|
-
});
|
|
265
|
-
Object.defineProperty(exports, "convertToObjectRow", {
|
|
266
|
-
enumerable: true,
|
|
267
|
-
get: function get() {
|
|
268
|
-
return _rowUtils.convertToObjectRow;
|
|
269
|
-
}
|
|
270
|
-
});
|
|
271
|
-
Object.defineProperty(exports, "deduceMeshField", {
|
|
272
|
-
enumerable: true,
|
|
273
|
-
get: function get() {
|
|
274
|
-
return _deduceMeshSchema.deduceMeshField;
|
|
275
|
-
}
|
|
276
|
-
});
|
|
277
|
-
Object.defineProperty(exports, "deduceMeshSchema", {
|
|
278
|
-
enumerable: true,
|
|
279
|
-
get: function get() {
|
|
280
|
-
return _deduceMeshSchema.deduceMeshSchema;
|
|
281
|
-
}
|
|
282
|
-
});
|
|
283
|
-
Object.defineProperty(exports, "deduceTableSchema", {
|
|
284
|
-
enumerable: true,
|
|
285
|
-
get: function get() {
|
|
286
|
-
return _tableSchema.deduceTableSchema;
|
|
287
|
-
}
|
|
288
|
-
});
|
|
289
|
-
Object.defineProperty(exports, "getArrowType", {
|
|
290
|
-
enumerable: true,
|
|
291
|
-
get: function get() {
|
|
292
|
-
return _arrowTypeUtils.getArrowType;
|
|
293
|
-
}
|
|
294
|
-
});
|
|
295
|
-
Object.defineProperty(exports, "getDataTypeFromArray", {
|
|
296
|
-
enumerable: true,
|
|
297
|
-
get: function get() {
|
|
298
|
-
return _dataType.getDataTypeFromArray;
|
|
299
|
-
}
|
|
300
|
-
});
|
|
301
|
-
Object.defineProperty(exports, "getMeshBoundingBox", {
|
|
302
|
-
enumerable: true,
|
|
303
|
-
get: function get() {
|
|
304
|
-
return _meshUtils.getMeshBoundingBox;
|
|
305
|
-
}
|
|
306
|
-
});
|
|
307
|
-
Object.defineProperty(exports, "getMeshSize", {
|
|
308
|
-
enumerable: true,
|
|
309
|
-
get: function get() {
|
|
310
|
-
return _meshUtils.getMeshSize;
|
|
311
|
-
}
|
|
312
|
-
});
|
|
313
|
-
Object.defineProperty(exports, "getTableCell", {
|
|
314
|
-
enumerable: true,
|
|
315
|
-
get: function get() {
|
|
316
|
-
return _tableAccessors.getTableCell;
|
|
317
|
-
}
|
|
318
|
-
});
|
|
319
|
-
Object.defineProperty(exports, "getTableColumnIndex", {
|
|
320
|
-
enumerable: true,
|
|
321
|
-
get: function get() {
|
|
322
|
-
return _tableAccessors.getTableColumnIndex;
|
|
323
|
-
}
|
|
324
|
-
});
|
|
325
|
-
Object.defineProperty(exports, "getTableColumnName", {
|
|
326
|
-
enumerable: true,
|
|
327
|
-
get: function get() {
|
|
328
|
-
return _tableAccessors.getTableColumnName;
|
|
329
|
-
}
|
|
330
|
-
});
|
|
331
|
-
Object.defineProperty(exports, "getTableLength", {
|
|
332
|
-
enumerable: true,
|
|
333
|
-
get: function get() {
|
|
334
|
-
return _tableAccessors.getTableLength;
|
|
335
|
-
}
|
|
336
|
-
});
|
|
337
|
-
Object.defineProperty(exports, "getTableNumCols", {
|
|
338
|
-
enumerable: true,
|
|
339
|
-
get: function get() {
|
|
340
|
-
return _tableAccessors.getTableNumCols;
|
|
341
|
-
}
|
|
342
|
-
});
|
|
343
|
-
Object.defineProperty(exports, "getTableRowAsArray", {
|
|
344
|
-
enumerable: true,
|
|
345
|
-
get: function get() {
|
|
346
|
-
return _tableAccessors.getTableRowAsArray;
|
|
347
|
-
}
|
|
348
|
-
});
|
|
349
|
-
Object.defineProperty(exports, "getTableRowAsObject", {
|
|
350
|
-
enumerable: true,
|
|
351
|
-
get: function get() {
|
|
352
|
-
return _tableAccessors.getTableRowAsObject;
|
|
353
|
-
}
|
|
354
|
-
});
|
|
355
|
-
Object.defineProperty(exports, "getTableRowShape", {
|
|
356
|
-
enumerable: true,
|
|
357
|
-
get: function get() {
|
|
358
|
-
return _tableAccessors.getTableRowShape;
|
|
359
|
-
}
|
|
360
|
-
});
|
|
361
|
-
Object.defineProperty(exports, "getTypeInfo", {
|
|
362
|
-
enumerable: true,
|
|
363
|
-
get: function get() {
|
|
364
|
-
return _getTypeInfo.getTypeInfo;
|
|
365
|
-
}
|
|
366
|
-
});
|
|
367
|
-
Object.defineProperty(exports, "makeArrayRowIterator", {
|
|
368
|
-
enumerable: true,
|
|
369
|
-
get: function get() {
|
|
370
|
-
return _tableAccessors.makeArrayRowIterator;
|
|
371
|
-
}
|
|
372
|
-
});
|
|
373
|
-
Object.defineProperty(exports, "makeMeshAttributeMetadata", {
|
|
374
|
-
enumerable: true,
|
|
375
|
-
get: function get() {
|
|
376
|
-
return _deduceMeshSchema.makeMeshAttributeMetadata;
|
|
377
|
-
}
|
|
378
|
-
});
|
|
379
|
-
Object.defineProperty(exports, "makeObjectRowIterator", {
|
|
380
|
-
enumerable: true,
|
|
381
|
-
get: function get() {
|
|
382
|
-
return _tableAccessors.makeObjectRowIterator;
|
|
383
|
-
}
|
|
384
|
-
});
|
|
385
|
-
Object.defineProperty(exports, "makeRowIterator", {
|
|
386
|
-
enumerable: true,
|
|
387
|
-
get: function get() {
|
|
388
|
-
return _tableAccessors.makeRowIterator;
|
|
389
|
-
}
|
|
390
|
-
});
|
|
391
|
-
Object.defineProperty(exports, "makeTableFromData", {
|
|
392
|
-
enumerable: true,
|
|
393
|
-
get: function get() {
|
|
394
|
-
return _makeTable.makeTableFromData;
|
|
395
|
-
}
|
|
396
|
-
});
|
|
397
|
-
var _tableBatchBuilder = require("./lib/table/batches/table-batch-builder");
|
|
398
|
-
var _rowTableBatchAggregator = require("./lib/table/batches/row-table-batch-aggregator");
|
|
399
|
-
var _columnarTableBatchAggregator = require("./lib/table/batches/columnar-table-batch-aggregator");
|
|
400
|
-
var _tableAccessors = require("./lib/table/simple-table/table-accessors");
|
|
401
|
-
var _arrowLikeTable = require("./lib/table/arrow-api/arrow-like-table");
|
|
402
|
-
var _makeTable = require("./lib/table/simple-table/make-table");
|
|
403
|
-
var _convertTable = require("./lib/table/simple-table/convert-table");
|
|
404
|
-
var _tableSchema = require("./lib/table/simple-table/table-schema");
|
|
405
|
-
var _rowUtils = require("./lib/table/simple-table/row-utils");
|
|
406
|
-
var _dataType = require("./lib/table/simple-table/data-type");
|
|
407
|
-
var _meshUtils = require("./lib/mesh/mesh-utils");
|
|
408
|
-
var _deduceMeshSchema = require("./lib/mesh/deduce-mesh-schema");
|
|
409
|
-
var _arrowApi = require("./lib/table/arrow-api");
|
|
410
|
-
var _getTypeInfo = require("./lib/table/arrow-api/get-type-info");
|
|
411
|
-
var _arrowTypeUtils = require("./lib/table/arrow/arrow-type-utils");
|
|
412
|
-
var _asyncQueue = _interopRequireDefault(require("./lib/utils/async-queue"));
|
|
413
|
-
//# sourceMappingURL=index.js.map
|
package/dist/es5/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["_tableBatchBuilder","require","_rowTableBatchAggregator","_columnarTableBatchAggregator","_tableAccessors","_arrowLikeTable","_makeTable","_convertTable","_tableSchema","_rowUtils","_dataType","_meshUtils","_deduceMeshSchema","_arrowApi","_getTypeInfo","_arrowTypeUtils","_asyncQueue","_interopRequireDefault"],"sources":["../../src/index.ts"],"sourcesContent":["// COMMON CATEGORY\nexport type {\n TypedArray,\n BigTypedArray,\n TypedArrayConstructor,\n BigTypedArrayConstructor,\n NumberArray,\n ArrayType,\n AnyArray\n} from './types/types';\n\nexport type {Schema, Field, DataType, SchemaMetadata, FieldMetadata} from './types/schema';\n\nexport type {Batch} from './types/batch';\n\n// TABLE CATEGORY TYPES\nexport type {\n Table,\n RowTable,\n ArrayRowTable,\n ObjectRowTable,\n GeoJSONTable,\n ColumnarTable,\n ArrowTable,\n Tables\n} from './types/category-table';\nexport type {\n TableBatch,\n ArrayRowTableBatch,\n ObjectRowTableBatch,\n GeoJSONTableBatch,\n ColumnarTableBatch,\n ArrowTableBatch\n} from './types/category-table';\n\n// TABLE CATEGORY UTILS\nexport {TableBatchBuilder} from './lib/table/batches/table-batch-builder';\nexport type {TableBatchAggregator} from './lib/table/batches/table-batch-aggregator';\nexport {RowTableBatchAggregator} from './lib/table/batches/row-table-batch-aggregator';\nexport {ColumnarTableBatchAggregator} from './lib/table/batches/columnar-table-batch-aggregator';\n\nexport {\n getTableLength,\n getTableNumCols,\n getTableCell,\n getTableRowShape,\n getTableColumnIndex,\n getTableColumnName,\n getTableRowAsObject,\n getTableRowAsArray,\n makeRowIterator,\n makeArrayRowIterator,\n makeObjectRowIterator\n} from './lib/table/simple-table/table-accessors';\n\nexport {ArrowLikeTable} from './lib/table/arrow-api/arrow-like-table';\n\nexport {makeTableFromData} from './lib/table/simple-table/make-table';\nexport {convertTable} from './lib/table/simple-table/convert-table';\nexport {deduceTableSchema} from './lib/table/simple-table/table-schema';\nexport {convertToObjectRow, convertToArrayRow} from './lib/table/simple-table/row-utils';\nexport {getDataTypeFromArray} from './lib/table/simple-table/data-type';\n\n// MESH CATEGORY\nexport type {\n MeshTable,\n MeshArrowTable,\n Mesh,\n MeshGeometry,\n MeshAttribute,\n MeshAttributes\n} from './types/category-mesh';\n\nexport {getMeshSize, getMeshBoundingBox} from './lib/mesh/mesh-utils';\n// Commented out due to https://github.com/visgl/deck.gl/issues/6906 and https://github.com/visgl/loaders.gl/issues/2177\n// export {convertMesh} from './category/mesh/convert-mesh';\nexport {\n deduceMeshSchema,\n deduceMeshField,\n makeMeshAttributeMetadata\n} from './lib/mesh/deduce-mesh-schema';\n\n// TEXTURES\nexport type {TextureLevel, GPUTextureFormat} from './types/category-texture';\n\n// IMAGES\nexport type {ImageDataType, ImageType, ImageTypeEnum} from './types/category-image';\n\n// TYPES\n// GIS CATEGORY - GEOJSON\nexport type {\n GeoJSON,\n Feature,\n FeatureCollection,\n Geometry,\n Position,\n GeoJsonProperties,\n Point,\n MultiPoint,\n LineString,\n MultiLineString,\n Polygon,\n MultiPolygon,\n GeometryCollection\n} from './types/category-gis';\n\nexport type {GeojsonGeometryInfo} from './types/category-gis';\n\n// GIS CATEGORY - FLAT GEOJSON\nexport type {\n FlatFeature,\n FlatIndexedGeometry,\n FlatGeometry,\n FlatGeometryType,\n FlatPoint,\n FlatLineString,\n FlatPolygon\n} from './types/category-gis';\n\n// GIS CATEGORY - BINARY\nexport type {\n BinaryGeometryType,\n BinaryGeometry,\n BinaryPointGeometry,\n BinaryLineGeometry,\n BinaryPolygonGeometry,\n BinaryAttribute\n} from './types/category-gis';\nexport type {\n BinaryFeatureCollection,\n BinaryFeature,\n BinaryPointFeature,\n BinaryLineFeature,\n BinaryPolygonFeature\n} from './types/category-gis';\n\n// SCHEMA\nexport {\n Schema as ArrowLikeSchema,\n Field as ArrowLikeField,\n DataType as ArrowLikeDataType,\n Null,\n Binary,\n Bool,\n Int,\n Int8,\n Int16,\n Int32,\n Int64,\n Uint8,\n Uint16,\n Uint32,\n Uint64,\n Float,\n Float16,\n Float32,\n Float64,\n Utf8,\n Date,\n DateDay,\n DateMillisecond,\n Time,\n TimeMillisecond,\n TimeSecond,\n Timestamp,\n TimestampSecond,\n TimestampMillisecond,\n TimestampMicrosecond,\n TimestampNanosecond,\n Interval,\n IntervalDayTime,\n IntervalYearMonth,\n FixedSizeList,\n Struct\n} from './lib/table/arrow-api';\n\n// EXPERIMENTAL APIs\n\n// SCHEMA UTILS\nexport {getTypeInfo} from './lib/table/arrow-api/get-type-info';\nexport {getArrowType} from './lib/table/arrow/arrow-type-utils';\n\nexport {default as AsyncQueue} from './lib/utils/async-queue';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,IAAAA,kBAAA,GAAAC,OAAA;AAEA,IAAAC,wBAAA,GAAAD,OAAA;AACA,IAAAE,6BAAA,GAAAF,OAAA;AAEA,IAAAG,eAAA,GAAAH,OAAA;AAcA,IAAAI,eAAA,GAAAJ,OAAA;AAEA,IAAAK,UAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAN,OAAA;AACA,IAAAO,YAAA,GAAAP,OAAA;AACA,IAAAQ,SAAA,GAAAR,OAAA;AACA,IAAAS,SAAA,GAAAT,OAAA;AAYA,IAAAU,UAAA,GAAAV,OAAA;AAGA,IAAAW,iBAAA,GAAAX,OAAA;AA6DA,IAAAY,SAAA,GAAAZ,OAAA;AA0CA,IAAAa,YAAA,GAAAb,OAAA;AACA,IAAAc,eAAA,GAAAd,OAAA;AAEA,IAAAe,WAAA,GAAAC,sBAAA,CAAAhB,OAAA"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
exports.convertMesh = convertMesh;
|
|
8
|
-
exports.convertMeshToColumnarTable = convertMeshToColumnarTable;
|
|
9
|
-
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
|
-
function convertMesh(mesh, shape, options) {
|
|
11
|
-
switch (shape || 'mesh') {
|
|
12
|
-
case 'mesh':
|
|
13
|
-
return mesh;
|
|
14
|
-
case 'columnar-table':
|
|
15
|
-
return convertMeshToColumnarTable(mesh);
|
|
16
|
-
default:
|
|
17
|
-
throw new Error("Unsupported shape ".concat(options === null || options === void 0 ? void 0 : options.shape));
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
function convertMeshToColumnarTable(mesh) {
|
|
21
|
-
var columns = {};
|
|
22
|
-
for (var _i = 0, _Object$entries = Object.entries(mesh.attributes); _i < _Object$entries.length; _i++) {
|
|
23
|
-
var _Object$entries$_i = (0, _slicedToArray2.default)(_Object$entries[_i], 2),
|
|
24
|
-
columnName = _Object$entries$_i[0],
|
|
25
|
-
attribute = _Object$entries$_i[1];
|
|
26
|
-
columns[columnName] = attribute.value;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
shape: 'columnar-table',
|
|
30
|
-
schema: mesh.schema,
|
|
31
|
-
data: columns
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
//# sourceMappingURL=convert-mesh.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"convert-mesh.js","names":["convertMesh","mesh","shape","options","convertMeshToColumnarTable","Error","concat","columns","_i","_Object$entries","Object","entries","attributes","length","_Object$entries$_i","_slicedToArray2","default","columnName","attribute","value","schema","data"],"sources":["../../../../src/lib/mesh/convert-mesh.ts"],"sourcesContent":["// loaders.gl, MIT license\n\nimport type {Mesh} from '../../types/category-mesh';\nimport type {ColumnarTable, ArrowTable} from '../../types/category-table';\n// import {convertMeshToArrowTable} from './mesh-to-arrow-table';\n\ntype TargetShape = 'mesh' | 'columnar-table' | 'arrow-table';\n\n/**\n * Convert a mesh to a specific shape\n */\nexport function convertMesh(\n mesh: Mesh,\n shape: TargetShape,\n options?: any\n): Mesh | ColumnarTable | ArrowTable {\n switch (shape || 'mesh') {\n case 'mesh':\n return mesh;\n case 'columnar-table':\n return convertMeshToColumnarTable(mesh);\n // case 'arrow-table':\n // return {\n // shape: 'arrow-table',\n // data: convertMeshToArrowTable(mesh)\n // };\n default:\n throw new Error(`Unsupported shape ${options?.shape}`);\n }\n}\n\n/**\n * Convert a loaders.gl Mesh to a Columnar Table\n * @param mesh\n * @returns\n */\nexport function convertMeshToColumnarTable(mesh: Mesh): ColumnarTable {\n const columns = {};\n\n for (const [columnName, attribute] of Object.entries(mesh.attributes)) {\n columns[columnName] = attribute.value;\n }\n\n return {\n shape: 'columnar-table',\n schema: mesh.schema,\n data: columns\n };\n}\n"],"mappings":";;;;;;;;;AAWO,SAASA,WAAWA,CACzBC,IAAU,EACVC,KAAkB,EAClBC,OAAa,EACsB;EACnC,QAAQD,KAAK,IAAI,MAAM;IACrB,KAAK,MAAM;MACT,OAAOD,IAAI;IACb,KAAK,gBAAgB;MACnB,OAAOG,0BAA0B,CAACH,IAAI,CAAC;IAMzC;MACE,MAAM,IAAII,KAAK,sBAAAC,MAAA,CAAsBH,OAAO,aAAPA,OAAO,uBAAPA,OAAO,CAAED,KAAK,CAAE,CAAC;EAC1D;AACF;AAOO,SAASE,0BAA0BA,CAACH,IAAU,EAAiB;EACpE,IAAMM,OAAO,GAAG,CAAC,CAAC;EAElB,SAAAC,EAAA,MAAAC,eAAA,GAAsCC,MAAM,CAACC,OAAO,CAACV,IAAI,CAACW,UAAU,CAAC,EAAAJ,EAAA,GAAAC,eAAA,CAAAI,MAAA,EAAAL,EAAA,IAAE;IAAlE,IAAAM,kBAAA,OAAAC,eAAA,CAAAC,OAAA,EAAAP,eAAA,CAAAD,EAAA;MAAOS,UAAU,GAAAH,kBAAA;MAAEI,SAAS,GAAAJ,kBAAA;IAC/BP,OAAO,CAACU,UAAU,CAAC,GAAGC,SAAS,CAACC,KAAK;EACvC;EAEA,OAAO;IACLjB,KAAK,EAAE,gBAAgB;IACvBkB,MAAM,EAAEnB,IAAI,CAACmB,MAAM;IACnBC,IAAI,EAAEd;EACR,CAAC;AACH"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.deduceMeshField = deduceMeshField;
|
|
7
|
-
exports.deduceMeshSchema = deduceMeshSchema;
|
|
8
|
-
exports.makeMeshAttributeMetadata = makeMeshAttributeMetadata;
|
|
9
|
-
var _dataType = require("../table/simple-table/data-type");
|
|
10
|
-
function deduceMeshSchema(attributes) {
|
|
11
|
-
var metadata = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
12
|
-
var fields = deduceMeshFields(attributes);
|
|
13
|
-
return {
|
|
14
|
-
fields: fields,
|
|
15
|
-
metadata: metadata
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
function deduceMeshField(name, attribute, optionalMetadata) {
|
|
19
|
-
var type = (0, _dataType.getDataTypeFromTypedArray)(attribute.value);
|
|
20
|
-
var metadata = optionalMetadata ? optionalMetadata : makeMeshAttributeMetadata(attribute);
|
|
21
|
-
return {
|
|
22
|
-
name: name,
|
|
23
|
-
type: {
|
|
24
|
-
type: 'fixed-size-list',
|
|
25
|
-
listSize: attribute.size,
|
|
26
|
-
children: [{
|
|
27
|
-
name: 'value',
|
|
28
|
-
type: type
|
|
29
|
-
}]
|
|
30
|
-
},
|
|
31
|
-
nullable: false,
|
|
32
|
-
metadata: metadata
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
function deduceMeshFields(attributes) {
|
|
36
|
-
var fields = [];
|
|
37
|
-
for (var attributeName in attributes) {
|
|
38
|
-
var attribute = attributes[attributeName];
|
|
39
|
-
fields.push(deduceMeshField(attributeName, attribute));
|
|
40
|
-
}
|
|
41
|
-
return fields;
|
|
42
|
-
}
|
|
43
|
-
function makeMeshAttributeMetadata(attribute) {
|
|
44
|
-
var result = {};
|
|
45
|
-
if ('byteOffset' in attribute) {
|
|
46
|
-
result.byteOffset = attribute.byteOffset.toString(10);
|
|
47
|
-
}
|
|
48
|
-
if ('byteStride' in attribute) {
|
|
49
|
-
result.byteStride = attribute.byteStride.toString(10);
|
|
50
|
-
}
|
|
51
|
-
if ('normalized' in attribute) {
|
|
52
|
-
result.normalized = attribute.normalized.toString();
|
|
53
|
-
}
|
|
54
|
-
return result;
|
|
55
|
-
}
|
|
56
|
-
//# sourceMappingURL=deduce-mesh-schema.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deduce-mesh-schema.js","names":["_dataType","require","deduceMeshSchema","attributes","metadata","arguments","length","undefined","fields","deduceMeshFields","deduceMeshField","name","attribute","optionalMetadata","type","getDataTypeFromTypedArray","value","makeMeshAttributeMetadata","listSize","size","children","nullable","attributeName","push","result","byteOffset","toString","byteStride","normalized"],"sources":["../../../../src/lib/mesh/deduce-mesh-schema.ts"],"sourcesContent":["// loaders.gl, MIT license\n\nimport {MeshAttribute, MeshAttributes} from '../../types/category-mesh';\nimport {Schema, Field} from '../../types/schema';\nimport {getDataTypeFromTypedArray} from '../table/simple-table/data-type';\n\n/**\n * Create a schema for mesh attributes data\n * @param attributes\n * @param metadata\n * @returns\n */\nexport function deduceMeshSchema(\n attributes: MeshAttributes,\n metadata: Record<string, string> = {}\n): Schema {\n const fields = deduceMeshFields(attributes);\n return {fields, metadata};\n}\n\n/**\n * Create arrow-like schema field for mesh attribute\n * @param attributeName\n * @param attribute\n * @param optionalMetadata\n * @returns\n */\nexport function deduceMeshField(\n name: string,\n attribute: MeshAttribute,\n optionalMetadata?: Record<string, string>\n): Field {\n const type = getDataTypeFromTypedArray(attribute.value);\n const metadata = optionalMetadata ? optionalMetadata : makeMeshAttributeMetadata(attribute);\n return {\n name,\n type: {type: 'fixed-size-list', listSize: attribute.size, children: [{name: 'value', type}]},\n nullable: false,\n metadata\n };\n}\n\n/**\n * Create fields array for mesh attributes\n * @param attributes\n * @returns\n */\nfunction deduceMeshFields(attributes: MeshAttributes): Field[] {\n const fields: Field[] = [];\n for (const attributeName in attributes) {\n const attribute: MeshAttribute = attributes[attributeName];\n fields.push(deduceMeshField(attributeName, attribute));\n }\n return fields;\n}\n\n/**\n * Make metadata by mesh attribute properties\n * @param attribute\n * @returns\n */\nexport function makeMeshAttributeMetadata(attribute: MeshAttribute): Record<string, string> {\n const result: Record<string, string> = {};\n if ('byteOffset' in attribute) {\n result.byteOffset = attribute.byteOffset!.toString(10);\n }\n if ('byteStride' in attribute) {\n result.byteStride = attribute.byteStride!.toString(10);\n }\n if ('normalized' in attribute) {\n result.normalized = attribute.normalized!.toString();\n }\n return result;\n}\n"],"mappings":";;;;;;;;AAIA,IAAAA,SAAA,GAAAC,OAAA;AAQO,SAASC,gBAAgBA,CAC9BC,UAA0B,EAElB;EAAA,IADRC,QAAgC,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,QAAAE,SAAA,GAAAF,SAAA,MAAG,CAAC,CAAC;EAErC,IAAMG,MAAM,GAAGC,gBAAgB,CAACN,UAAU,CAAC;EAC3C,OAAO;IAACK,MAAM,EAANA,MAAM;IAAEJ,QAAQ,EAARA;EAAQ,CAAC;AAC3B;AASO,SAASM,eAAeA,CAC7BC,IAAY,EACZC,SAAwB,EACxBC,gBAAyC,EAClC;EACP,IAAMC,IAAI,GAAG,IAAAC,mCAAyB,EAACH,SAAS,CAACI,KAAK,CAAC;EACvD,IAAMZ,QAAQ,GAAGS,gBAAgB,GAAGA,gBAAgB,GAAGI,yBAAyB,CAACL,SAAS,CAAC;EAC3F,OAAO;IACLD,IAAI,EAAJA,IAAI;IACJG,IAAI,EAAE;MAACA,IAAI,EAAE,iBAAiB;MAAEI,QAAQ,EAAEN,SAAS,CAACO,IAAI;MAAEC,QAAQ,EAAE,CAAC;QAACT,IAAI,EAAE,OAAO;QAAEG,IAAI,EAAJA;MAAI,CAAC;IAAC,CAAC;IAC5FO,QAAQ,EAAE,KAAK;IACfjB,QAAQ,EAARA;EACF,CAAC;AACH;AAOA,SAASK,gBAAgBA,CAACN,UAA0B,EAAW;EAC7D,IAAMK,MAAe,GAAG,EAAE;EAC1B,KAAK,IAAMc,aAAa,IAAInB,UAAU,EAAE;IACtC,IAAMS,SAAwB,GAAGT,UAAU,CAACmB,aAAa,CAAC;IAC1Dd,MAAM,CAACe,IAAI,CAACb,eAAe,CAACY,aAAa,EAAEV,SAAS,CAAC,CAAC;EACxD;EACA,OAAOJ,MAAM;AACf;AAOO,SAASS,yBAAyBA,CAACL,SAAwB,EAA0B;EAC1F,IAAMY,MAA8B,GAAG,CAAC,CAAC;EACzC,IAAI,YAAY,IAAIZ,SAAS,EAAE;IAC7BY,MAAM,CAACC,UAAU,GAAGb,SAAS,CAACa,UAAU,CAAEC,QAAQ,CAAC,EAAE,CAAC;EACxD;EACA,IAAI,YAAY,IAAId,SAAS,EAAE;IAC7BY,MAAM,CAACG,UAAU,GAAGf,SAAS,CAACe,UAAU,CAAED,QAAQ,CAAC,EAAE,CAAC;EACxD;EACA,IAAI,YAAY,IAAId,SAAS,EAAE;IAC7BY,MAAM,CAACI,UAAU,GAAGhB,SAAS,CAACgB,UAAU,CAAEF,QAAQ,CAAC,CAAC;EACtD;EACA,OAAOF,MAAM;AACf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mesh-to-arrow-table.js","names":[],"sources":["../../../../src/lib/mesh/mesh-to-arrow-table.ts"],"sourcesContent":["/* Problem with arrow dependency...\nimport {\n Table,\n Schema,\n RecordBatch,\n FixedSizeList,\n Field,\n Data,\n FixedSizeListVector\n} from 'apache-arrow';\nimport {AbstractVector} from 'apache-arrow/vector';\nimport {getArrowType, getArrowVector} from '../table/arrow/arrow-type-utils';\nimport type {Mesh} from './mesh-types';\nimport {makeMeshAttributeMetadata} from './deduce-mesh-schema';\n\n/**\n * * Convert a loaders.gl Mesh to an Apache Arrow Table\n * @param mesh\n * @param metadata\n * @param batchSize\n * @returns\n *\nexport function convertMeshToArrowTable(mesh: Mesh, batchSize?: number): Table {\n const vectors: AbstractVector[] = [];\n const fields: Field[] = [];\n for (const attributeKey in mesh.attributes) {\n const attribute = mesh.attributes[attributeKey];\n const {value, size = 1} = attribute;\n const type = getArrowType(value);\n const vector = getArrowVector(value);\n const listType = new FixedSizeList(size, new Field('value', type));\n const field = new Field(attributeKey, listType, false, makeMeshAttributeMetadata(attribute));\n const data = new Data(listType, 0, value.length / size, 0, undefined, [vector]);\n const listVector = new FixedSizeListVector(data);\n vectors.push(listVector);\n fields.push(field);\n }\n const schema = new Schema(fields, mesh?.schema?.metadata || new Map<string, string>());\n const recordBatch = new RecordBatch(schema, vectors[0].length, vectors);\n const table = new Table(schema, recordBatch);\n return table;\n}\n*/\n"],"mappings":""}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.getMeshBoundingBox = getMeshBoundingBox;
|
|
7
|
-
exports.getMeshSize = getMeshSize;
|
|
8
|
-
function getMeshSize(attributes) {
|
|
9
|
-
var size = 0;
|
|
10
|
-
for (var attributeName in attributes) {
|
|
11
|
-
var attribute = attributes[attributeName];
|
|
12
|
-
if (ArrayBuffer.isView(attribute)) {
|
|
13
|
-
size += attribute.byteLength * attribute.BYTES_PER_ELEMENT;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return size;
|
|
17
|
-
}
|
|
18
|
-
function getMeshBoundingBox(attributes) {
|
|
19
|
-
var minX = Infinity;
|
|
20
|
-
var minY = Infinity;
|
|
21
|
-
var minZ = Infinity;
|
|
22
|
-
var maxX = -Infinity;
|
|
23
|
-
var maxY = -Infinity;
|
|
24
|
-
var maxZ = -Infinity;
|
|
25
|
-
var positions = attributes.POSITION ? attributes.POSITION.value : [];
|
|
26
|
-
var len = positions && positions.length;
|
|
27
|
-
for (var i = 0; i < len; i += 3) {
|
|
28
|
-
var x = positions[i];
|
|
29
|
-
var y = positions[i + 1];
|
|
30
|
-
var z = positions[i + 2];
|
|
31
|
-
minX = x < minX ? x : minX;
|
|
32
|
-
minY = y < minY ? y : minY;
|
|
33
|
-
minZ = z < minZ ? z : minZ;
|
|
34
|
-
maxX = x > maxX ? x : maxX;
|
|
35
|
-
maxY = y > maxY ? y : maxY;
|
|
36
|
-
maxZ = z > maxZ ? z : maxZ;
|
|
37
|
-
}
|
|
38
|
-
return [[minX, minY, minZ], [maxX, maxY, maxZ]];
|
|
39
|
-
}
|
|
40
|
-
//# sourceMappingURL=mesh-utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mesh-utils.js","names":["getMeshSize","attributes","size","attributeName","attribute","ArrayBuffer","isView","byteLength","BYTES_PER_ELEMENT","getMeshBoundingBox","minX","Infinity","minY","minZ","maxX","maxY","maxZ","positions","POSITION","value","len","length","i","x","y","z"],"sources":["../../../../src/lib/mesh/mesh-utils.ts"],"sourcesContent":["// Mesh category utilities\n// TODO - move to mesh category module, or to math.gl/geometry module\nimport {TypedArray} from '../../types/types';\nimport {MeshAttributes} from '../../types/category-mesh';\n\ntype TypedArrays = {[key: string]: TypedArray};\n\n/**\n * Holds an axis aligned bounding box\n * TODO - make sure AxisAlignedBoundingBox in math.gl/culling understands this format (or change this format)\n */\ntype BoundingBox = [[number, number, number], [number, number, number]];\n\n/**\n * Get number of vertices in mesh\n * @param attributes\n */\nexport function getMeshSize(attributes: TypedArrays): number {\n let size = 0;\n for (const attributeName in attributes) {\n const attribute = attributes[attributeName];\n if (ArrayBuffer.isView(attribute)) {\n // @ts-ignore DataView doesn't have BYTES_PER_ELEMENT\n size += attribute.byteLength * attribute.BYTES_PER_ELEMENT;\n }\n }\n return size;\n}\n\n/**\n * Get the (axis aligned) bounding box of a mesh\n * @param attributes\n * @returns array of two vectors representing the axis aligned bounding box\n */\n// eslint-disable-next-line complexity\nexport function getMeshBoundingBox(attributes: MeshAttributes): BoundingBox {\n let minX = Infinity;\n let minY = Infinity;\n let minZ = Infinity;\n let maxX = -Infinity;\n let maxY = -Infinity;\n let maxZ = -Infinity;\n\n const positions = attributes.POSITION ? attributes.POSITION.value : [];\n const len = positions && positions.length;\n\n for (let i = 0; i < len; i += 3) {\n const x = positions[i];\n const y = positions[i + 1];\n const z = positions[i + 2];\n\n minX = x < minX ? x : minX;\n minY = y < minY ? y : minY;\n minZ = z < minZ ? z : minZ;\n\n maxX = x > maxX ? x : maxX;\n maxY = y > maxY ? y : maxY;\n maxZ = z > maxZ ? z : maxZ;\n }\n return [\n [minX, minY, minZ],\n [maxX, maxY, maxZ]\n ];\n}\n"],"mappings":";;;;;;;AAiBO,SAASA,WAAWA,CAACC,UAAuB,EAAU;EAC3D,IAAIC,IAAI,GAAG,CAAC;EACZ,KAAK,IAAMC,aAAa,IAAIF,UAAU,EAAE;IACtC,IAAMG,SAAS,GAAGH,UAAU,CAACE,aAAa,CAAC;IAC3C,IAAIE,WAAW,CAACC,MAAM,CAACF,SAAS,CAAC,EAAE;MAEjCF,IAAI,IAAIE,SAAS,CAACG,UAAU,GAAGH,SAAS,CAACI,iBAAiB;IAC5D;EACF;EACA,OAAON,IAAI;AACb;AAQO,SAASO,kBAAkBA,CAACR,UAA0B,EAAe;EAC1E,IAAIS,IAAI,GAAGC,QAAQ;EACnB,IAAIC,IAAI,GAAGD,QAAQ;EACnB,IAAIE,IAAI,GAAGF,QAAQ;EACnB,IAAIG,IAAI,GAAG,CAACH,QAAQ;EACpB,IAAII,IAAI,GAAG,CAACJ,QAAQ;EACpB,IAAIK,IAAI,GAAG,CAACL,QAAQ;EAEpB,IAAMM,SAAS,GAAGhB,UAAU,CAACiB,QAAQ,GAAGjB,UAAU,CAACiB,QAAQ,CAACC,KAAK,GAAG,EAAE;EACtE,IAAMC,GAAG,GAAGH,SAAS,IAAIA,SAAS,CAACI,MAAM;EAEzC,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGF,GAAG,EAAEE,CAAC,IAAI,CAAC,EAAE;IAC/B,IAAMC,CAAC,GAAGN,SAAS,CAACK,CAAC,CAAC;IACtB,IAAME,CAAC,GAAGP,SAAS,CAACK,CAAC,GAAG,CAAC,CAAC;IAC1B,IAAMG,CAAC,GAAGR,SAAS,CAACK,CAAC,GAAG,CAAC,CAAC;IAE1BZ,IAAI,GAAGa,CAAC,GAAGb,IAAI,GAAGa,CAAC,GAAGb,IAAI;IAC1BE,IAAI,GAAGY,CAAC,GAAGZ,IAAI,GAAGY,CAAC,GAAGZ,IAAI;IAC1BC,IAAI,GAAGY,CAAC,GAAGZ,IAAI,GAAGY,CAAC,GAAGZ,IAAI;IAE1BC,IAAI,GAAGS,CAAC,GAAGT,IAAI,GAAGS,CAAC,GAAGT,IAAI;IAC1BC,IAAI,GAAGS,CAAC,GAAGT,IAAI,GAAGS,CAAC,GAAGT,IAAI;IAC1BC,IAAI,GAAGS,CAAC,GAAGT,IAAI,GAAGS,CAAC,GAAGT,IAAI;EAC5B;EACA,OAAO,CACL,CAACN,IAAI,EAAEE,IAAI,EAAEC,IAAI,CAAC,EAClB,CAACC,IAAI,EAAEC,IAAI,EAAEC,IAAI,CAAC,CACnB;AACH"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.getArrowType = getArrowType;
|
|
7
|
-
var _apacheArrow = require("apache-arrow");
|
|
8
|
-
function getArrowType(array) {
|
|
9
|
-
switch (array.constructor) {
|
|
10
|
-
case Int8Array:
|
|
11
|
-
return new _apacheArrow.Int8();
|
|
12
|
-
case Uint8Array:
|
|
13
|
-
return new _apacheArrow.Uint8();
|
|
14
|
-
case Int16Array:
|
|
15
|
-
return new _apacheArrow.Int16();
|
|
16
|
-
case Uint16Array:
|
|
17
|
-
return new _apacheArrow.Uint16();
|
|
18
|
-
case Int32Array:
|
|
19
|
-
return new _apacheArrow.Int32();
|
|
20
|
-
case Uint32Array:
|
|
21
|
-
return new _apacheArrow.Uint32();
|
|
22
|
-
case Float32Array:
|
|
23
|
-
return new _apacheArrow.Float32();
|
|
24
|
-
case Float64Array:
|
|
25
|
-
return new _apacheArrow.Float64();
|
|
26
|
-
default:
|
|
27
|
-
throw new Error('array type not supported');
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=arrow-type-utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"arrow-type-utils.js","names":["_apacheArrow","require","getArrowType","array","constructor","Int8Array","Int8","Uint8Array","Uint8","Int16Array","Int16","Uint16Array","Uint16","Int32Array","Int32","Uint32Array","Uint32","Float32Array","Float32","Float64Array","Float64","Error"],"sources":["../../../../../src/lib/table/arrow/arrow-type-utils.ts"],"sourcesContent":["// loaders.gl, MIT license\n\nimport type {TypedArray} from '../../../types/types';\nimport {\n DataType,\n Float32,\n Float64,\n Int16,\n Int32,\n Int8,\n Uint16,\n Uint32,\n Uint8\n // Int8Vector,\n // Uint8Vector,\n // Int16Vector,\n // Uint16Vector,\n // Int32Vector,\n // Uint32Vector,\n // Float32Vector,\n // Float64Vector\n} from 'apache-arrow';\n// import {AbstractVector} from 'apache-arrow/vector';\n\nexport function getArrowType(array: TypedArray): DataType {\n switch (array.constructor) {\n case Int8Array:\n return new Int8();\n case Uint8Array:\n return new Uint8();\n case Int16Array:\n return new Int16();\n case Uint16Array:\n return new Uint16();\n case Int32Array:\n return new Int32();\n case Uint32Array:\n return new Uint32();\n case Float32Array:\n return new Float32();\n case Float64Array:\n return new Float64();\n default:\n throw new Error('array type not supported');\n }\n}\n\n/*\nexport function getArrowVector(array: TypedArray): AbstractVector {\n switch (array.constructor) {\n case Int8Array:\n return Int8Vector.from(array);\n case Uint8Array:\n return Uint8Vector.from(array);\n case Int16Array:\n return Int16Vector.from(array);\n case Uint16Array:\n return Uint16Vector.from(array);\n case Int32Array:\n return Int32Vector.from(array);\n case Uint32Array:\n return Uint32Vector.from(array);\n case Float32Array:\n return Float32Vector.from(array);\n case Float64Array:\n return Float64Vector.from(array);\n default:\n throw new Error('array type not supported');\n }\n}\n*/\n"],"mappings":";;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAqBO,SAASC,YAAYA,CAACC,KAAiB,EAAY;EACxD,QAAQA,KAAK,CAACC,WAAW;IACvB,KAAKC,SAAS;MACZ,OAAO,IAAIC,iBAAI,CAAC,CAAC;IACnB,KAAKC,UAAU;MACb,OAAO,IAAIC,kBAAK,CAAC,CAAC;IACpB,KAAKC,UAAU;MACb,OAAO,IAAIC,kBAAK,CAAC,CAAC;IACpB,KAAKC,WAAW;MACd,OAAO,IAAIC,mBAAM,CAAC,CAAC;IACrB,KAAKC,UAAU;MACb,OAAO,IAAIC,kBAAK,CAAC,CAAC;IACpB,KAAKC,WAAW;MACd,OAAO,IAAIC,mBAAM,CAAC,CAAC;IACrB,KAAKC,YAAY;MACf,OAAO,IAAIC,oBAAO,CAAC,CAAC;IACtB,KAAKC,YAAY;MACf,OAAO,IAAIC,oBAAO,CAAC,CAAC;IACtB;MACE,MAAM,IAAIC,KAAK,CAAC,0BAA0B,CAAC;EAC/C;AACF"}
|