@milaboratories/milaboratories.ui-examples.model 1.1.10 → 1.1.12
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 +13 -0
- package/dist/bundle.js +22 -5
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +21 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +21 -4
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/eslint.config.mjs +7 -0
- package/package.json +5 -4
- package/src/index.ts +40 -16
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.12 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,21 +10,21 @@
|
|
|
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[
|
|
14
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[
|
|
15
|
-
[32mCJS[39m ⚡️ Build success in
|
|
16
|
-
[32mESM[39m [1mdist/index.js [22m[
|
|
17
|
-
[32mESM[39m [1mdist/index.js.map [22m[
|
|
18
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m3.08 KB[39m
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m7.29 KB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 81ms
|
|
16
|
+
[32mESM[39m [1mdist/index.js [22m[32m3.04 KB[39m
|
|
17
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m7.25 KB[39m
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 81ms
|
|
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 861ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m1.45 KB[39m
|
|
22
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.45 KB[39m
|
|
23
23
|
[36mvite v5.4.11 [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[2m144.
|
|
29
|
-
[2mdist/[22m[36mbundle.js [39m[1m[
|
|
30
|
-
[32m✓ built in
|
|
28
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m144.78 kB[22m[1m[22m[2m │ gzip: 26.39 kB[22m[2m │ map: 316.80 kB[22m
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m155.02 kB[22m[1m[22m[2m │ gzip: 26.89 kB[22m[2m │ map: 317.92 kB[22m
|
|
30
|
+
[32m✓ built in 483ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @milaboratories/milaboratories.ui-examples.model
|
|
2
2
|
|
|
3
|
+
## 1.1.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9b5a692: [sdk/ui-vue] Histogram
|
|
8
|
+
|
|
9
|
+
## 1.1.11
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 32966e6: [desktop] Custom design for “+ add graph“ etc. sections
|
|
14
|
+
- @platforma-sdk/model@1.21.20
|
|
15
|
+
|
|
3
16
|
## 1.1.10
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/bundle.js
CHANGED
|
@@ -4578,7 +4578,7 @@
|
|
|
4578
4578
|
return this.ctx.getCurrentUnstableMarker();
|
|
4579
4579
|
}
|
|
4580
4580
|
}
|
|
4581
|
-
const T = "1.21.
|
|
4581
|
+
const T = "1.21.20";
|
|
4582
4582
|
function Le(n) {
|
|
4583
4583
|
return n.__renderLambda === true;
|
|
4584
4584
|
}
|
|
@@ -4824,7 +4824,7 @@
|
|
|
4824
4824
|
const $BlockArgs = z.object({
|
|
4825
4825
|
numbers: z.array(z.coerce.number())
|
|
4826
4826
|
});
|
|
4827
|
-
const platforma = v.create("Heavy").withArgs({ numbers: [1, 2, 3] }).withUiState({ dataTableState: void 0 }).output("numbers", (ctx) => {
|
|
4827
|
+
const platforma = v.create("Heavy").withArgs({ numbers: [1, 2, 3, 4] }).withUiState({ dataTableState: void 0, dynamicSections: [] }).output("numbers", (ctx) => {
|
|
4828
4828
|
var _a, _b;
|
|
4829
4829
|
return (_b = (_a = ctx.outputs) == null ? void 0 : _a.resolve("numbers")) == null ? void 0 : _b.getDataAsJson();
|
|
4830
4830
|
}).output("pt", (ctx) => {
|
|
@@ -4856,10 +4856,15 @@
|
|
|
4856
4856
|
]
|
|
4857
4857
|
}
|
|
4858
4858
|
], ctx.uiState.dataTableState.tableState, [
|
|
4859
|
-
...(_d = ctx.uiState.dataTableState.tableState.pTableParams) == null ? void 0 : _d.filters,
|
|
4859
|
+
...((_d = ctx.uiState.dataTableState.tableState.pTableParams) == null ? void 0 : _d.filters) ?? [],
|
|
4860
4860
|
...((_e = ctx.uiState.dataTableState.filterModel) == null ? void 0 : _e.filters) ?? []
|
|
4861
4861
|
]);
|
|
4862
4862
|
}).sections((ctx) => {
|
|
4863
|
+
const dynamicSections = (ctx.uiState.dynamicSections ?? []).map((it2) => ({
|
|
4864
|
+
type: "link",
|
|
4865
|
+
href: `/section?id=${it2.id}`,
|
|
4866
|
+
label: it2.label
|
|
4867
|
+
}));
|
|
4863
4868
|
return [
|
|
4864
4869
|
{ type: "link", href: "/loaders", label: "Loaders" },
|
|
4865
4870
|
{ type: "link", href: "/", label: "Icons/Masks" },
|
|
@@ -4877,10 +4882,22 @@
|
|
|
4877
4882
|
{ type: "link", href: "/errors", label: "Errors" },
|
|
4878
4883
|
{ type: "link", href: "/text-fields", label: "PlTextField" },
|
|
4879
4884
|
{ type: "link", href: "/tabs", label: "PlTabs" },
|
|
4880
|
-
{ type: "link", href: "/drafts", label: "Drafts" },
|
|
4881
4885
|
{ type: "link", href: "/stacked-bar", label: "PlChartStackedBar" },
|
|
4886
|
+
{ type: "link", href: "/histogram", label: "PlChartHistogram" },
|
|
4882
4887
|
{ type: "link", href: "/buttons", label: "ButtonsPage" },
|
|
4883
|
-
{ type: "link", href: "/notifications", label: "Notifications" }
|
|
4888
|
+
{ type: "link", href: "/notifications", label: "Notifications" },
|
|
4889
|
+
{ type: "link", href: "/drafts", label: "Drafts" },
|
|
4890
|
+
...dynamicSections.length ? [
|
|
4891
|
+
{ type: "delimiter" },
|
|
4892
|
+
...dynamicSections,
|
|
4893
|
+
{ type: "delimiter" }
|
|
4894
|
+
] : [],
|
|
4895
|
+
{
|
|
4896
|
+
type: "link",
|
|
4897
|
+
href: "/add-section",
|
|
4898
|
+
appearance: "add-section",
|
|
4899
|
+
label: "New Dynamic section"
|
|
4900
|
+
}
|
|
4884
4901
|
];
|
|
4885
4902
|
}).done();
|
|
4886
4903
|
exports2.$BlockArgs = $BlockArgs;
|