@milaboratories/milaboratories.ui-examples.model 1.0.25 → 1.0.27
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/.turbo/turbo-build.log +13 -13
- package/CHANGELOG.md +12 -0
- package/dist/bundle.js +34 -1
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +33 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -3
- package/dist/index.d.ts +21 -3
- package/dist/index.js +34 -2
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +2 -2
- package/src/index.ts +76 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @milaboratories/milaboratories.ui-examples.model@1.0.
|
|
2
|
+
> @milaboratories/milaboratories.ui-examples.model@1.0.27 build /home/runner/work/platforma/platforma/etc/block-components/ui-examples/model
|
|
3
3
|
> tsup && vite build && block-tools build-model
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -10,21 +10,21 @@
|
|
|
10
10
|
[34mCLI[39m Cleaning output folder
|
|
11
11
|
[34mCJS[39m Build start
|
|
12
12
|
[34mESM[39m Build start
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
16
|
-
[
|
|
17
|
-
[
|
|
18
|
-
[
|
|
13
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m2.56 KB[39m
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m6.52 KB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 113ms
|
|
16
|
+
[32mESM[39m [1mdist/index.js [22m[32m2.51 KB[39m
|
|
17
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m6.46 KB[39m
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 113ms
|
|
19
19
|
[34mDTS[39m Build start
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[
|
|
22
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 1068ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m1.64 KB[39m
|
|
22
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.64 KB[39m
|
|
23
23
|
[36mvite v5.4.10 [32mbuilding for production...[36m[39m
|
|
24
24
|
transforming...
|
|
25
25
|
[32m✓[39m 4 modules transformed.
|
|
26
26
|
rendering chunks...
|
|
27
27
|
computing gzip size...
|
|
28
|
-
[2mdist/[22m[36mbundle.js [39m[1m[
|
|
29
|
-
[2mdist/[22m[36mbundle.js [39m[1m[
|
|
30
|
-
[32m✓ built in
|
|
28
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m131.65 kB[22m[1m[22m[2m │ gzip: 22.98 kB[22m[2m │ map: 279.09 kB[22m
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m141.03 kB[22m[1m[22m[2m │ gzip: 23.41 kB[22m[2m │ map: 280.14 kB[22m
|
|
30
|
+
[32m✓ built in 438ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @milaboratories/milaboratories.ui-examples.model
|
|
2
2
|
|
|
3
|
+
## 1.0.27
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c16492e: Update icon-set
|
|
8
|
+
|
|
9
|
+
## 1.0.26
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- f341244: AgGrid: migrate to the Theming Api
|
|
14
|
+
|
|
3
15
|
## 1.0.25
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -4421,9 +4421,41 @@
|
|
|
4421
4421
|
var _a, _b;
|
|
4422
4422
|
return (_b = (_a = ctx.outputs) == null ? void 0 : _a.resolve("numbers")) == null ? void 0 : _b.getDataAsJson();
|
|
4423
4423
|
}
|
|
4424
|
-
).
|
|
4424
|
+
).output("pFrame", (ctx) => {
|
|
4425
|
+
const collection = ctx.resultPool.getData();
|
|
4426
|
+
if (collection === void 0 || !collection.isComplete) return void 0;
|
|
4427
|
+
const valueTypes = ["Int", "Long", "Float", "Double", "String", "Bytes"];
|
|
4428
|
+
const columns = collection.entries.map(({ obj }) => obj).filter(x$1).filter((column) => valueTypes.find((valueType) => valueType === column.spec.valueType));
|
|
4429
|
+
try {
|
|
4430
|
+
return ctx.createPFrame(columns);
|
|
4431
|
+
} catch (err) {
|
|
4432
|
+
return void 0;
|
|
4433
|
+
}
|
|
4434
|
+
}).output("pTable", (ctx) => {
|
|
4435
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
4436
|
+
const join = (_c = (_b = (_a = ctx.uiState) == null ? void 0 : _a.dataTableState) == null ? void 0 : _b.tableState.pTableParams) == null ? void 0 : _c.join;
|
|
4437
|
+
if (!join) return void 0;
|
|
4438
|
+
const collection = ctx.resultPool.getData();
|
|
4439
|
+
if (!collection || !collection.isComplete) return void 0;
|
|
4440
|
+
const columns = collection.entries.map(({ obj }) => obj).filter(x$1);
|
|
4441
|
+
if (columns.length === 0) return void 0;
|
|
4442
|
+
try {
|
|
4443
|
+
return ctx.createPTable({
|
|
4444
|
+
src: i(join, (idAndSpec) => {
|
|
4445
|
+
const column = columns.find((it) => it.id === idAndSpec.columnId);
|
|
4446
|
+
if (!column) throw Error(`column '${column}' not ready`);
|
|
4447
|
+
return column;
|
|
4448
|
+
}),
|
|
4449
|
+
filters: ((_e = (_d = ctx.uiState.dataTableState) == null ? void 0 : _d.tableState.pTableParams) == null ? void 0 : _e.filters) ?? [],
|
|
4450
|
+
sorting: ((_g = (_f = ctx.uiState.dataTableState) == null ? void 0 : _f.tableState.pTableParams) == null ? void 0 : _g.sorting) ?? []
|
|
4451
|
+
});
|
|
4452
|
+
} catch (err) {
|
|
4453
|
+
return void 0;
|
|
4454
|
+
}
|
|
4455
|
+
}).sections((ctx) => {
|
|
4425
4456
|
return [
|
|
4426
4457
|
{ type: "link", href: "/", label: "PlLogView" },
|
|
4458
|
+
{ type: "link", href: "/icons", label: "Icons/Masks" },
|
|
4427
4459
|
{ type: "link", href: "/modals", label: "Modals" },
|
|
4428
4460
|
{ type: "link", href: "/select-files", label: "Select Files" },
|
|
4429
4461
|
{ type: "link", href: "/inject-env", label: "Inject env" },
|
|
@@ -4432,6 +4464,7 @@
|
|
|
4432
4464
|
{ type: "link", href: "/form-components", label: "Form Components" },
|
|
4433
4465
|
{ type: "link", href: "/typography", label: "Typography" },
|
|
4434
4466
|
{ type: "link", href: "/ag-grid-vue", label: "AgGridVue" },
|
|
4467
|
+
{ type: "link", href: "/pl-ag-data-table", label: "PlAgDataTable" },
|
|
4435
4468
|
{ type: "link", href: "/errors", label: "Errors" }
|
|
4436
4469
|
];
|
|
4437
4470
|
}).done();
|