@milaboratories/milaboratories.ui-examples.model 1.1.18 → 1.1.20
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 +12 -0
- package/dist/bundle.js +42 -26
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +41 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +41 -25
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +3 -3
- package/src/index.ts +42 -26
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @milaboratories/milaboratories.ui-examples.model@1.1.
|
|
2
|
+
> @milaboratories/milaboratories.ui-examples.model@1.1.20 build /home/runner/work/platforma/platforma/etc/blocks/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
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m3.
|
|
14
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m7.
|
|
15
|
-
[32mCJS[39m ⚡️ Build success in
|
|
16
|
-
[32mESM[39m [1mdist/index.js [22m[32m3.
|
|
17
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m7.
|
|
18
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m3.48 KB[39m
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m7.97 KB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 81ms
|
|
16
|
+
[32mESM[39m [1mdist/index.js [22m[32m3.44 KB[39m
|
|
17
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m7.93 KB[39m
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 81ms
|
|
19
19
|
[34mDTS[39m Build start
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 830ms
|
|
21
21
|
[32mDTS[39m [1mdist/index.d.cts [22m[32m1.45 KB[39m
|
|
22
22
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.45 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[2m145.
|
|
29
|
-
[2mdist/[22m[36mbundle.js [39m[1m[
|
|
30
|
-
[32m✓ built in
|
|
28
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m145.78 kB[22m[1m[22m[2m │ gzip: 26.73 kB[22m[2m │ map: 318.56 kB[22m
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m156.05 kB[22m[1m[22m[2m │ gzip: 27.24 kB[22m[2m │ map: 319.69 kB[22m
|
|
30
|
+
[32m✓ built in 401ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @milaboratories/milaboratories.ui-examples.model
|
|
2
2
|
|
|
3
|
+
## 1.1.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @platforma-sdk/model@1.22.59
|
|
8
|
+
|
|
9
|
+
## 1.1.19
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 7ac5190: PlTableFilter support 'pl7.app/discreteValues' annotation
|
|
14
|
+
|
|
3
15
|
## 1.1.18
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -4583,7 +4583,7 @@
|
|
|
4583
4583
|
return this.ctx.getCurrentUnstableMarker();
|
|
4584
4584
|
}
|
|
4585
4585
|
}
|
|
4586
|
-
const T = "1.22.
|
|
4586
|
+
const T = "1.22.59";
|
|
4587
4587
|
function Ee(t) {
|
|
4588
4588
|
return t.__renderLambda === true;
|
|
4589
4589
|
}
|
|
@@ -4829,35 +4829,51 @@
|
|
|
4829
4829
|
}).output("pt", (ctx) => {
|
|
4830
4830
|
var _a, _b, _c, _d, _e;
|
|
4831
4831
|
if (!((_c = (_b = (_a = ctx.uiState) == null ? void 0 : _a.dataTableState) == null ? void 0 : _b.tableState.pTableParams) == null ? void 0 : _c.filters)) return void 0;
|
|
4832
|
-
return wt(
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4832
|
+
return wt(
|
|
4833
|
+
ctx,
|
|
4834
|
+
[
|
|
4835
|
+
{
|
|
4836
|
+
id: "example",
|
|
4837
|
+
spec: {
|
|
4838
|
+
kind: "PColumn",
|
|
4839
|
+
valueType: "String",
|
|
4840
|
+
name: "example",
|
|
4841
|
+
annotations: {
|
|
4842
|
+
"pl7.app/label": "String column",
|
|
4843
|
+
"pl7.app/discreteValues": '["up","down"]'
|
|
4844
|
+
},
|
|
4845
|
+
axesSpec: [
|
|
4846
|
+
{
|
|
4847
|
+
type: "Int",
|
|
4848
|
+
name: "index",
|
|
4849
|
+
annotations: {
|
|
4850
|
+
"pl7.app/label": "Int axis",
|
|
4851
|
+
"pl7.app/discreteValues": "[1,2]"
|
|
4852
|
+
}
|
|
4853
|
+
},
|
|
4854
|
+
{
|
|
4855
|
+
type: "Float",
|
|
4856
|
+
name: "value",
|
|
4857
|
+
annotations: {
|
|
4858
|
+
"pl7.app/label": "Float axis"
|
|
4859
|
+
}
|
|
4848
4860
|
}
|
|
4849
|
-
|
|
4861
|
+
]
|
|
4862
|
+
},
|
|
4863
|
+
data: [
|
|
4864
|
+
{ key: [1, 1.1], val: "1" },
|
|
4865
|
+
{ key: [2, 2.2], val: "2" }
|
|
4850
4866
|
]
|
|
4851
|
-
}
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4867
|
+
}
|
|
4868
|
+
],
|
|
4869
|
+
ctx.uiState.dataTableState.tableState,
|
|
4870
|
+
{
|
|
4871
|
+
filters: [
|
|
4872
|
+
...((_d = ctx.uiState.dataTableState.tableState.pTableParams) == null ? void 0 : _d.filters) ?? [],
|
|
4873
|
+
...((_e = ctx.uiState.dataTableState.filterModel) == null ? void 0 : _e.filters) ?? []
|
|
4855
4874
|
]
|
|
4856
4875
|
}
|
|
4857
|
-
|
|
4858
|
-
...((_d = ctx.uiState.dataTableState.tableState.pTableParams) == null ? void 0 : _d.filters) ?? [],
|
|
4859
|
-
...((_e = ctx.uiState.dataTableState.filterModel) == null ? void 0 : _e.filters) ?? []
|
|
4860
|
-
]);
|
|
4876
|
+
);
|
|
4861
4877
|
}).sections((ctx) => {
|
|
4862
4878
|
const dynamicSections = (ctx.uiState.dynamicSections ?? []).map((it2) => ({
|
|
4863
4879
|
type: "link",
|