@milaboratories/milaboratories.ui-examples.model 1.1.31 → 1.1.32
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 +6 -0
- package/dist/bundle.js +13 -2
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +13 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.js +13 -4
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +1 -1
- package/src/index.ts +19 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
WARN Issue while reading "/opt/actions-runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
2
|
|
|
3
|
-
> @milaboratories/milaboratories.ui-examples.model@1.1.
|
|
3
|
+
> @milaboratories/milaboratories.ui-examples.model@1.1.32 build /opt/actions-runner/_work/platforma/platforma/etc/blocks/ui-examples/model
|
|
4
4
|
> tsup && vite build && block-tools build-model
|
|
5
5
|
|
|
6
6
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -11,21 +11,21 @@
|
|
|
11
11
|
[34mCLI[39m Cleaning output folder
|
|
12
12
|
[34mCJS[39m Build start
|
|
13
13
|
[34mESM[39m Build start
|
|
14
|
-
[32mESM[39m [1mdist/index.js [22m[32m4.
|
|
15
|
-
[32mESM[39m [1mdist/index.js.map [22m[
|
|
16
|
-
[32mESM[39m ⚡️ Build success in
|
|
17
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m4.
|
|
18
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[
|
|
19
|
-
[32mCJS[39m ⚡️ Build success in
|
|
14
|
+
[32mESM[39m [1mdist/index.js [22m[32m4.74 KB[39m
|
|
15
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m11.23 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 76ms
|
|
17
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m4.88 KB[39m
|
|
18
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m11.28 KB[39m
|
|
19
|
+
[32mCJS[39m ⚡️ Build success in 76ms
|
|
20
20
|
[34mDTS[39m Build start
|
|
21
|
-
[32mDTS[39m ⚡️ Build success in
|
|
22
|
-
[32mDTS[39m [1mdist/index.d.cts [22m[
|
|
23
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[
|
|
21
|
+
[32mDTS[39m ⚡️ Build success in 748ms
|
|
22
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m2.40 KB[39m
|
|
23
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m2.40 KB[39m
|
|
24
24
|
[36mvite v5.4.11 [32mbuilding for production...[36m[39m
|
|
25
25
|
transforming...
|
|
26
26
|
[32m✓[39m 6 modules transformed.
|
|
27
27
|
rendering chunks...
|
|
28
28
|
computing gzip size...
|
|
29
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m172.
|
|
30
|
-
[2mdist/[22m[36mbundle.js [39m[1m[2m184.
|
|
31
|
-
[32m✓ built in
|
|
29
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m172.88 kB[22m[1m[22m[2m │ gzip: 33.08 kB[22m[2m │ map: 370.29 kB[22m
|
|
30
|
+
[2mdist/[22m[36mbundle.js [39m[1m[2m184.89 kB[22m[1m[22m[2m │ gzip: 33.69 kB[22m[2m │ map: 371.68 kB[22m
|
|
31
|
+
[32m✓ built in 395ms[39m
|
package/CHANGELOG.md
CHANGED
package/dist/bundle.js
CHANGED
|
@@ -5603,6 +5603,9 @@
|
|
|
5603
5603
|
sorting: ((m$1 = n == null ? void 0 : n.pTableParams) == null ? void 0 : m$1.sorting) ?? []
|
|
5604
5604
|
});
|
|
5605
5605
|
}
|
|
5606
|
+
const ImportFileHandleSchema = z$2.string().optional().refine(
|
|
5607
|
+
(_a) => true
|
|
5608
|
+
);
|
|
5606
5609
|
function* range(from, to, step = 1) {
|
|
5607
5610
|
for (let i = from; i < to; i += step) {
|
|
5608
5611
|
yield i;
|
|
@@ -5620,9 +5623,10 @@
|
|
|
5620
5623
|
}
|
|
5621
5624
|
const $BlockArgs = z$2.object({
|
|
5622
5625
|
tableNumRows: z$2.number().default(100),
|
|
5623
|
-
numbers: z$2.array(z$2.coerce.number())
|
|
5626
|
+
numbers: z$2.array(z$2.coerce.number()),
|
|
5627
|
+
handles: z$2.array(ImportFileHandleSchema)
|
|
5624
5628
|
});
|
|
5625
|
-
const platforma = _.create("Heavy").withArgs({ numbers: [1, 2, 3, 4], tableNumRows: 100 }).withUiState({ dataTableState: void 0, dynamicSections: [] }).argsValid((ctx) => {
|
|
5629
|
+
const platforma = _.create("Heavy").withArgs({ numbers: [1, 2, 3, 4], tableNumRows: 100, handles: [] }).withUiState({ dataTableState: void 0, dynamicSections: [] }).argsValid((ctx) => {
|
|
5626
5630
|
if (ctx.args.numbers.length === 5) {
|
|
5627
5631
|
throw new Error("argsValid: test error");
|
|
5628
5632
|
}
|
|
@@ -5630,6 +5634,11 @@
|
|
|
5630
5634
|
}).output("numbers", (ctx) => {
|
|
5631
5635
|
var _a, _b;
|
|
5632
5636
|
return (_b = (_a = ctx.outputs) == null ? void 0 : _a.resolve("numbers")) == null ? void 0 : _b.getDataAsJson();
|
|
5637
|
+
}).output("progresses", (ctx) => {
|
|
5638
|
+
var _a;
|
|
5639
|
+
const m2 = (_a = ctx.outputs) == null ? void 0 : _a.resolve("progresses");
|
|
5640
|
+
const progresses = m2 == null ? void 0 : m2.mapFields((name, val) => [name, val == null ? void 0 : val.getImportProgress()]);
|
|
5641
|
+
return Object.fromEntries(progresses ?? []);
|
|
5633
5642
|
}).output("pt", (ctx) => {
|
|
5634
5643
|
var _a, _b, _c, _d, _e2;
|
|
5635
5644
|
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;
|
|
@@ -5709,6 +5718,7 @@
|
|
|
5709
5718
|
{ type: "link", href: "/use-watch-fetch", label: "useWatchFetch" },
|
|
5710
5719
|
{ type: "link", href: "/typography", label: "Typography" },
|
|
5711
5720
|
{ type: "link", href: "/ag-grid-vue", label: "AgGridVue" },
|
|
5721
|
+
{ type: "link", href: "/ag-grid-vue-with-builder", label: "AgGridVue with builder" },
|
|
5712
5722
|
{ type: "link", href: "/pl-ag-data-table", label: "PlAgDataTable" },
|
|
5713
5723
|
{ type: "link", href: "/pl-splash-page", label: "PlSplashPage" },
|
|
5714
5724
|
{ type: "link", href: "/errors", label: "Errors" },
|
|
@@ -5733,6 +5743,7 @@
|
|
|
5733
5743
|
];
|
|
5734
5744
|
}).done();
|
|
5735
5745
|
exports2.$BlockArgs = $BlockArgs;
|
|
5746
|
+
exports2.ImportFileHandleSchema = ImportFileHandleSchema;
|
|
5736
5747
|
exports2.platforma = platforma;
|
|
5737
5748
|
exports2.range = range;
|
|
5738
5749
|
exports2.times = times;
|