@milaboratories/milaboratories.ui-examples.model 1.1.25 → 1.1.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 +14 -14
- package/CHANGELOG.md +15 -0
- package/dist/bundle.js +31 -7
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +30 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +28 -7
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +3 -3
- package/src/index.ts +32 -5
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
|
|
2
|
-
> @milaboratories/milaboratories.ui-examples.model@1.1.
|
|
2
|
+
> @milaboratories/milaboratories.ui-examples.model@1.1.27 build /opt/actions-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
|
|
6
6
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
7
|
[34mCLI[39m tsup v8.3.5
|
|
8
|
-
[34mCLI[39m Using tsup config: /
|
|
8
|
+
[34mCLI[39m Using tsup config: /opt/actions-runner/_work/platforma/platforma/etc/blocks/ui-examples/model/package.json
|
|
9
9
|
[34mCLI[39m Target: es2022
|
|
10
10
|
[34mCLI[39m Cleaning output folder
|
|
11
11
|
[34mCJS[39m Build start
|
|
12
12
|
[34mESM[39m Build start
|
|
13
|
-
[32mESM[39m [1mdist/index.js [22m[
|
|
14
|
-
[32mESM[39m [1mdist/index.js.map [22m[
|
|
15
|
-
[32mESM[39m ⚡️ Build success in
|
|
16
|
-
[32mCJS[39m [1mdist/index.cjs [22m[
|
|
17
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[
|
|
18
|
-
[32mCJS[39m ⚡️ Build success in
|
|
13
|
+
[32mESM[39m [1mdist/index.js [22m[32m4.29 KB[39m
|
|
14
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m10.11 KB[39m
|
|
15
|
+
[32mESM[39m ⚡️ Build success in 67ms
|
|
16
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m4.39 KB[39m
|
|
17
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m10.15 KB[39m
|
|
18
|
+
[32mCJS[39m ⚡️ Build success in 67ms
|
|
19
19
|
[34mDTS[39m Build start
|
|
20
|
-
[32mDTS[39m ⚡️ Build success in
|
|
21
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[32m1.
|
|
22
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 643ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m1.82 KB[39m
|
|
22
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.82 KB[39m
|
|
23
23
|
[36mvite v5.4.11 [32mbuilding for production...[36m[39m
|
|
24
24
|
transforming...
|
|
25
25
|
[32m✓[39m 6 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[2m155.30 kB[22m[1m[22m[2m │ gzip: 29.26 kB[22m[2m │ map: 338.93 kB[22m
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m166.23 kB[22m[1m[22m[2m │ gzip: 29.80 kB[22m[2m │ map: 340.19 kB[22m
|
|
30
|
+
[32m✓ built in 360ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @milaboratories/milaboratories.ui-examples.model
|
|
2
2
|
|
|
3
|
+
## 1.1.27
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5f0fb1d: [sdk/ui-vue] PlAgDataTable hidden columns are shown as visible after selecting empty dataset
|
|
8
|
+
- Updated dependencies [5f0fb1d]
|
|
9
|
+
- @platforma-sdk/model@1.24.9
|
|
10
|
+
|
|
11
|
+
## 1.1.26
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [a505bdb]
|
|
16
|
+
- @platforma-sdk/model@1.24.5
|
|
17
|
+
|
|
3
18
|
## 1.1.25
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -4847,7 +4847,7 @@
|
|
|
4847
4847
|
return this.ctx.getCurrentUnstableMarker();
|
|
4848
4848
|
}
|
|
4849
4849
|
}
|
|
4850
|
-
const L = "1.24.
|
|
4850
|
+
const L = "1.24.9";
|
|
4851
4851
|
function Je(t) {
|
|
4852
4852
|
return t.__renderLambda === true;
|
|
4853
4853
|
}
|
|
@@ -5084,10 +5084,26 @@
|
|
|
5084
5084
|
sorting: ((g2 = n == null ? void 0 : n.pTableParams) == null ? void 0 : g2.sorting) ?? []
|
|
5085
5085
|
});
|
|
5086
5086
|
}
|
|
5087
|
+
function* range(from, to, step = 1) {
|
|
5088
|
+
for (let i = from; i < to; i += step) {
|
|
5089
|
+
yield i;
|
|
5090
|
+
}
|
|
5091
|
+
}
|
|
5092
|
+
function toList(iterable) {
|
|
5093
|
+
const lst = [];
|
|
5094
|
+
for (const it of iterable) {
|
|
5095
|
+
lst.push(it);
|
|
5096
|
+
}
|
|
5097
|
+
return lst;
|
|
5098
|
+
}
|
|
5099
|
+
function times(n, cb) {
|
|
5100
|
+
return toList(range(0, n)).map(cb);
|
|
5101
|
+
}
|
|
5087
5102
|
const $BlockArgs = z$2.object({
|
|
5103
|
+
tableNumRows: z$2.number().default(100),
|
|
5088
5104
|
numbers: z$2.array(z$2.coerce.number())
|
|
5089
5105
|
});
|
|
5090
|
-
const platforma = w.create("Heavy").withArgs({ numbers: [1, 2, 3, 4] }).withUiState({ dataTableState: void 0, dynamicSections: [] }).argsValid((ctx) => {
|
|
5106
|
+
const platforma = w.create("Heavy").withArgs({ numbers: [1, 2, 3, 4], tableNumRows: 100 }).withUiState({ dataTableState: void 0, dynamicSections: [] }).argsValid((ctx) => {
|
|
5091
5107
|
if (ctx.args.numbers.length === 5) {
|
|
5092
5108
|
throw new Error("argsValid: test error");
|
|
5093
5109
|
}
|
|
@@ -5098,6 +5114,13 @@
|
|
|
5098
5114
|
}).output("pt", (ctx) => {
|
|
5099
5115
|
var _a, _b, _c, _d, _e2;
|
|
5100
5116
|
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;
|
|
5117
|
+
const data = times(ctx.args.tableNumRows ?? 0, (i) => {
|
|
5118
|
+
const v = i + 1;
|
|
5119
|
+
return {
|
|
5120
|
+
key: [v, v + 0.1],
|
|
5121
|
+
val: v.toString()
|
|
5122
|
+
};
|
|
5123
|
+
});
|
|
5101
5124
|
return Dt(
|
|
5102
5125
|
ctx,
|
|
5103
5126
|
[
|
|
@@ -5124,15 +5147,13 @@
|
|
|
5124
5147
|
type: "Float",
|
|
5125
5148
|
name: "value",
|
|
5126
5149
|
annotations: {
|
|
5127
|
-
"pl7.app/label": "Float axis"
|
|
5150
|
+
"pl7.app/label": "Float axis",
|
|
5151
|
+
"pl7.app/table/visibility": "optional"
|
|
5128
5152
|
}
|
|
5129
5153
|
}
|
|
5130
5154
|
]
|
|
5131
5155
|
},
|
|
5132
|
-
data
|
|
5133
|
-
{ key: [1, 1.1], val: "1" },
|
|
5134
|
-
{ key: [2, 2.2], val: "2" }
|
|
5135
|
-
]
|
|
5156
|
+
data
|
|
5136
5157
|
}
|
|
5137
5158
|
],
|
|
5138
5159
|
ctx.uiState.dataTableState.tableState,
|
|
@@ -5194,6 +5215,9 @@
|
|
|
5194
5215
|
}).done();
|
|
5195
5216
|
exports2.$BlockArgs = $BlockArgs;
|
|
5196
5217
|
exports2.platforma = platforma;
|
|
5218
|
+
exports2.range = range;
|
|
5219
|
+
exports2.times = times;
|
|
5220
|
+
exports2.toList = toList;
|
|
5197
5221
|
Object.defineProperty(exports2, Symbol.toStringTag, { value: "Module" });
|
|
5198
5222
|
});
|
|
5199
5223
|
//# sourceMappingURL=bundle.js.map
|