@milaboratories/milaboratories.ui-examples.model 1.0.35 → 1.0.37
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 +17 -17
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +16 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +16 -16
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +2 -2
- package/src/index.ts +19 -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.37 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
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m2.
|
|
14
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m6.
|
|
15
|
-
[32mCJS[39m ⚡️ Build success in
|
|
16
|
-
[32mESM[39m [1mdist/index.js [22m[32m2.
|
|
17
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m6.
|
|
18
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m2.75 KB[39m
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m6.96 KB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 83ms
|
|
16
|
+
[32mESM[39m [1mdist/index.js [22m[32m2.70 KB[39m
|
|
17
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m6.91 KB[39m
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 83ms
|
|
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 866ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m1.68 KB[39m
|
|
22
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.68 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[2m137.
|
|
29
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m146.
|
|
30
|
-
[32m✓ built in
|
|
28
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m137.06 kB[22m[1m[22m[2m │ gzip: 24.12 kB[22m[2m │ map: 292.06 kB[22m
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m146.79 kB[22m[1m[22m[2m │ gzip: 24.56 kB[22m[2m │ map: 293.13 kB[22m
|
|
30
|
+
[32m✓ built in 422ms[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @milaboratories/milaboratories.ui-examples.model
|
|
2
2
|
|
|
3
|
+
## 1.0.37
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ec5be92: Accordion + simple section separator
|
|
8
|
+
|
|
9
|
+
## 1.0.36
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [ade3acf]
|
|
14
|
+
- @platforma-sdk/model@1.10.12
|
|
15
|
+
|
|
3
16
|
## 1.0.35
|
|
4
17
|
|
|
5
18
|
### 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,35 +4613,35 @@
|
|
|
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" },
|
|
4631
|
+
{ type: "link", href: "/form-components", label: "Form Components" },
|
|
4632
4632
|
{ type: "link", href: "/log-view", label: "PlLogView" },
|
|
4633
4633
|
{ type: "link", href: "/modals", label: "Modals" },
|
|
4634
4634
|
{ type: "link", href: "/select-files", label: "Select Files" },
|
|
4635
4635
|
{ type: "link", href: "/inject-env", label: "Inject env" },
|
|
4636
4636
|
{ type: "link", href: "/dropdowns", label: "Dropdowns" },
|
|
4637
4637
|
{ type: "link", href: "/use-watch-fetch", label: "useWatchFetch" },
|
|
4638
|
-
{ type: "link", href: "/form-components", label: "Form Components" },
|
|
4639
4638
|
{ type: "link", href: "/typography", label: "Typography" },
|
|
4640
4639
|
{ type: "link", href: "/ag-grid-vue", label: "AgGridVue" },
|
|
4641
4640
|
{ type: "link", href: "/pl-ag-data-table", label: "PlAgDataTable" },
|
|
4642
4641
|
{ type: "link", href: "/errors", label: "Errors" },
|
|
4643
4642
|
{ type: "link", href: "/text-fields", label: "PlTextField" },
|
|
4644
|
-
{ type: "link", href: "/tabs", label: "PlTabs" }
|
|
4643
|
+
{ type: "link", href: "/tabs", label: "PlTabs" },
|
|
4644
|
+
{ type: "link", href: "/drafts", label: "Drafts" }
|
|
4645
4645
|
];
|
|
4646
4646
|
}).done();
|
|
4647
4647
|
exports2.$BlockArgs = $BlockArgs;
|