@milaboratories/milaboratories.ui-examples.model 1.0.34 → 1.0.36
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 +11 -11
- package/CHANGELOG.md +14 -0
- package/dist/bundle.js +14 -15
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +13 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -14
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +2 -2
- package/src/index.ts +18 -17
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.36 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,14 +10,14 @@
|
|
|
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.70 KB[39m
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m6.83 KB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 80ms
|
|
16
|
+
[32mESM[39m [1mdist/index.js [22m[32m2.65 KB[39m
|
|
17
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m6.78 KB[39m
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 80ms
|
|
19
19
|
[34mDTS[39m Build start
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 831ms
|
|
21
21
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m1.67 KB[39m
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.67 KB[39m
|
|
23
23
|
[36mvite v5.4.11 [32mbuilding for production...[36m[39m
|
|
@@ -25,6 +25,6 @@ transforming...
|
|
|
25
25
|
[32m✓[39m 4 modules transformed.
|
|
26
26
|
rendering chunks...
|
|
27
27
|
computing gzip size...
|
|
28
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m137.
|
|
29
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m146.
|
|
30
|
-
[32m✓ built in
|
|
28
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m137.00 kB[22m[1m[22m[2m │ gzip: 24.12 kB[22m[2m │ map: 291.96 kB[22m
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m146.73 kB[22m[1m[22m[2m │ gzip: 24.56 kB[22m[2m │ map: 293.02 kB[22m
|
|
30
|
+
[32m✓ built in 370ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @milaboratories/milaboratories.ui-examples.model
|
|
2
2
|
|
|
3
|
+
## 1.0.36
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [ade3acf]
|
|
8
|
+
- @platforma-sdk/model@1.10.12
|
|
9
|
+
|
|
10
|
+
## 1.0.35
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [8187ba2]
|
|
15
|
+
- @platforma-sdk/model@1.10.2
|
|
16
|
+
|
|
3
17
|
## 1.0.34
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -4402,7 +4402,7 @@
|
|
|
4402
4402
|
return this.ctx.getCurrentUnstableMarker();
|
|
4403
4403
|
}
|
|
4404
4404
|
}
|
|
4405
|
-
const b = "1.10.
|
|
4405
|
+
const b = "1.10.12";
|
|
4406
4406
|
function Z(e) {
|
|
4407
4407
|
return e.__renderLambda === true;
|
|
4408
4408
|
}
|
|
@@ -4592,7 +4592,7 @@
|
|
|
4592
4592
|
const $BlockArgs = z.object({
|
|
4593
4593
|
numbers: z.array(z.coerce.number())
|
|
4594
4594
|
});
|
|
4595
|
-
const platforma = p.create("Heavy").withArgs({ numbers: [] }).withUiState({ dataTableState: void 0 }).output("numbers", (ctx) => {
|
|
4595
|
+
const platforma = p.create("Heavy").withArgs({ numbers: [1, 2, 3] }).withUiState({ dataTableState: void 0 }).output("numbers", (ctx) => {
|
|
4596
4596
|
var _a, _b;
|
|
4597
4597
|
return (_b = (_a = ctx.outputs) == null ? void 0 : _a.resolve("numbers")) == null ? void 0 : _b.getDataAsJson();
|
|
4598
4598
|
}).output("pFrame", (ctx) => {
|
|
@@ -4613,19 +4613,18 @@
|
|
|
4613
4613
|
if (!collection || !collection.isComplete) return void 0;
|
|
4614
4614
|
const columns = collection.entries.map(({ obj }) => obj).filter(x$1);
|
|
4615
4615
|
if (columns.length === 0) return void 0;
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
}
|
|
4616
|
+
let columnMissing = false;
|
|
4617
|
+
const src = i(join, (idAndSpec) => {
|
|
4618
|
+
const column = columns.find((it) => it.id === idAndSpec.columnId);
|
|
4619
|
+
if (!column) columnMissing = true;
|
|
4620
|
+
return column;
|
|
4621
|
+
});
|
|
4622
|
+
if (columnMissing) return void 0;
|
|
4623
|
+
return ctx.createPTable({
|
|
4624
|
+
src,
|
|
4625
|
+
filters: ((_e = (_d = ctx.uiState.dataTableState) == null ? void 0 : _d.tableState.pTableParams) == null ? void 0 : _e.filters) ?? [],
|
|
4626
|
+
sorting: ((_g = (_f = ctx.uiState.dataTableState) == null ? void 0 : _f.tableState.pTableParams) == null ? void 0 : _g.sorting) ?? []
|
|
4627
|
+
});
|
|
4629
4628
|
}).sections((ctx) => {
|
|
4630
4629
|
return [
|
|
4631
4630
|
{ type: "link", href: "/", label: "Icons/Masks" },
|