@milaboratories/milaboratories.ui-examples.model 1.0.24 → 1.0.25
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 -14
- package/CHANGELOG.md +6 -0
- package/dist/bundle.js +3 -2
- package/dist/bundle.js.map +1 -1
- package/dist/index.cjs +3 -2
- 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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/model.json +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -1
package/dist/index.cjs
CHANGED
|
@@ -9,7 +9,7 @@ var $BlockArgs = zod.z.object({
|
|
|
9
9
|
});
|
|
10
10
|
var platforma = model.BlockModel.create("Heavy").initialArgs({ numbers: [] }).output(
|
|
11
11
|
"numbers",
|
|
12
|
-
(ctx) => ctx.
|
|
12
|
+
(ctx) => ctx.outputs?.resolve("numbers")?.getDataAsJson()
|
|
13
13
|
).sections((ctx) => {
|
|
14
14
|
return [
|
|
15
15
|
{ type: "link", href: "/", label: "PlLogView" },
|
|
@@ -20,7 +20,8 @@ var platforma = model.BlockModel.create("Heavy").initialArgs({ numbers: [] }).ou
|
|
|
20
20
|
{ type: "link", href: "/use-watch-fetch", label: "useWatchFetch" },
|
|
21
21
|
{ type: "link", href: "/form-components", label: "Form Components" },
|
|
22
22
|
{ type: "link", href: "/typography", label: "Typography" },
|
|
23
|
-
{ type: "link", href: "/ag-grid-vue", label: "AgGridVue" }
|
|
23
|
+
{ type: "link", href: "/ag-grid-vue", label: "AgGridVue" },
|
|
24
|
+
{ type: "link", href: "/errors", label: "Errors" }
|
|
24
25
|
];
|
|
25
26
|
}).done();
|
|
26
27
|
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":["z","BlockModel"],"mappings":";;;;;;AAGa,IAAA,UAAA,GAAaA,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A,IACvD,EAAE,IAAM,EAAA,MAAA,EAAQ,IAAM,EAAA,kBAAA,EAAoB,OAAO,eAAgB,EAAA;AAAA,IACjE,EAAE,IAAM,EAAA,MAAA,EAAQ,IAAM,EAAA,kBAAA,EAAoB,OAAO,iBAAkB,EAAA;AAAA,IACnE,EAAE,IAAM,EAAA,MAAA,EAAQ,IAAM,EAAA,aAAA,EAAe,OAAO,YAAa,EAAA;AAAA,IACzD,EAAE,IAAM,EAAA,MAAA,EAAQ,IAAM,EAAA,cAAA,EAAgB,OAAO,WAAY,EAAA;AAAA,IACzD,EAAE,IAAM,EAAA,MAAA,EAAQ,IAAM,EAAA,SAAA,EAAW,OAAO,QAAS,EAAA;AAAA,GACnD,CAAA;AACF,CAAC,EAEA,IAAK","file":"index.cjs","sourcesContent":["import { BlockModel, InferHrefType, InferOutputsType } from '@platforma-sdk/model';\nimport {z} from 'zod';\n\nexport const $BlockArgs = z.object({\n numbers: z.array(z.coerce.number())\n});\n\nexport type BlockArgs = z.infer<typeof $BlockArgs>;\n\nexport const platforma = BlockModel.create<BlockArgs>('Heavy')\n\n .initialArgs({ numbers: [] })\n\n .output('numbers', (ctx) =>\n ctx.outputs?.resolve('numbers')?.getDataAsJson<number[]>()\n )\n\n .sections((ctx) => {\n return [\n { type: 'link', href: '/', label: 'PlLogView' }, \n { type: 'link', href: '/modals', label: 'Modals' },\n { type: 'link', href: '/select-files', label: 'Select Files' },\n { type: 'link', href: '/inject-env', label: 'Inject env' },\n { type: 'link', href: '/dropdowns', label: 'Dropdowns' },\n { type: 'link', href: '/use-watch-fetch', label: 'useWatchFetch' },\n { type: 'link', href: '/form-components', label: 'Form Components' },\n { type: 'link', href: '/typography', label: 'Typography' },\n { type: 'link', href: '/ag-grid-vue', label: 'AgGridVue' },\n { type: 'link', href: '/errors', label: 'Errors' },\n ];\n })\n\n .done();\n\nexport type BlockOutputs = InferOutputsType<typeof platforma>;\nexport type Href = InferHrefType<typeof platforma>;\n"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -14,7 +14,7 @@ declare const platforma: _platforma_sdk_model.Platforma<{
|
|
|
14
14
|
numbers: number[];
|
|
15
15
|
}, {
|
|
16
16
|
numbers: _platforma_sdk_model.ValueOrErrors<number[] | undefined>;
|
|
17
|
-
}, undefined, "/" | "/modals" | "/select-files" | "/inject-env" | "/dropdowns" | "/use-watch-fetch" | "/form-components" | "/typography" | "/ag-grid-vue">;
|
|
17
|
+
}, undefined, "/" | "/modals" | "/select-files" | "/inject-env" | "/dropdowns" | "/use-watch-fetch" | "/form-components" | "/typography" | "/ag-grid-vue" | "/errors">;
|
|
18
18
|
type BlockOutputs = InferOutputsType<typeof platforma>;
|
|
19
19
|
type Href = InferHrefType<typeof platforma>;
|
|
20
20
|
|
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ declare const platforma: _platforma_sdk_model.Platforma<{
|
|
|
14
14
|
numbers: number[];
|
|
15
15
|
}, {
|
|
16
16
|
numbers: _platforma_sdk_model.ValueOrErrors<number[] | undefined>;
|
|
17
|
-
}, undefined, "/" | "/modals" | "/select-files" | "/inject-env" | "/dropdowns" | "/use-watch-fetch" | "/form-components" | "/typography" | "/ag-grid-vue">;
|
|
17
|
+
}, undefined, "/" | "/modals" | "/select-files" | "/inject-env" | "/dropdowns" | "/use-watch-fetch" | "/form-components" | "/typography" | "/ag-grid-vue" | "/errors">;
|
|
18
18
|
type BlockOutputs = InferOutputsType<typeof platforma>;
|
|
19
19
|
type Href = InferHrefType<typeof platforma>;
|
|
20
20
|
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ var $BlockArgs = z.object({
|
|
|
7
7
|
});
|
|
8
8
|
var platforma = BlockModel.create("Heavy").initialArgs({ numbers: [] }).output(
|
|
9
9
|
"numbers",
|
|
10
|
-
(ctx) => ctx.
|
|
10
|
+
(ctx) => ctx.outputs?.resolve("numbers")?.getDataAsJson()
|
|
11
11
|
).sections((ctx) => {
|
|
12
12
|
return [
|
|
13
13
|
{ type: "link", href: "/", label: "PlLogView" },
|
|
@@ -18,7 +18,8 @@ var platforma = BlockModel.create("Heavy").initialArgs({ numbers: [] }).output(
|
|
|
18
18
|
{ type: "link", href: "/use-watch-fetch", label: "useWatchFetch" },
|
|
19
19
|
{ type: "link", href: "/form-components", label: "Form Components" },
|
|
20
20
|
{ type: "link", href: "/typography", label: "Typography" },
|
|
21
|
-
{ type: "link", href: "/ag-grid-vue", label: "AgGridVue" }
|
|
21
|
+
{ type: "link", href: "/ag-grid-vue", label: "AgGridVue" },
|
|
22
|
+
{ type: "link", href: "/errors", label: "Errors" }
|
|
22
23
|
];
|
|
23
24
|
}).done();
|
|
24
25
|
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;AAGa,IAAA,UAAA,GAAa,EAAE,MAAO,CAAA;AAAA,EACjC,SAAS,CAAE,CAAA,KAAA,CAAM,CAAE,CAAA,MAAA,CAAO,QAAQ,CAAA;AACpC,CAAC,EAAA;AAIY,IAAA,SAAA,GAAY,UAAW,CAAA,MAAA,CAAkB,OAAO,CAAA,CAE1D,WAAY,CAAA,EAAE,OAAS,EAAA,EAAG,EAAC,CAE3B,CAAA,MAAA;AAAA,EAAO,SAAA;AAAA,EAAW,CAAC,
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;AAGa,IAAA,UAAA,GAAa,EAAE,MAAO,CAAA;AAAA,EACjC,SAAS,CAAE,CAAA,KAAA,CAAM,CAAE,CAAA,MAAA,CAAO,QAAQ,CAAA;AACpC,CAAC,EAAA;AAIY,IAAA,SAAA,GAAY,UAAW,CAAA,MAAA,CAAkB,OAAO,CAAA,CAE1D,WAAY,CAAA,EAAE,OAAS,EAAA,EAAG,EAAC,CAE3B,CAAA,MAAA;AAAA,EAAO,SAAA;AAAA,EAAW,CAAC,GAClB,KAAA,GAAA,CAAI,SAAS,OAAQ,CAAA,SAAS,GAAG,aAAwB,EAAA;AAC3D,CAEC,CAAA,QAAA,CAAS,CAAC,GAAQ,KAAA;AACjB,EAAO,OAAA;AAAA,IACL,EAAE,IAAM,EAAA,MAAA,EAAQ,IAAM,EAAA,GAAA,EAAK,OAAO,WAAY,EAAA;AAAA,IAC9C,EAAE,IAAM,EAAA,MAAA,EAAQ,IAAM,EAAA,SAAA,EAAW,OAAO,QAAS,EAAA;AAAA,IACjD,EAAE,IAAM,EAAA,MAAA,EAAQ,IAAM,EAAA,eAAA,EAAiB,OAAO,cAAe,EAAA;AAAA,IAC7D,EAAE,IAAM,EAAA,MAAA,EAAQ,IAAM,EAAA,aAAA,EAAe,OAAO,YAAa,EAAA;AAAA,IACzD,EAAE,IAAM,EAAA,MAAA,EAAQ,IAAM,EAAA,YAAA,EAAc,OAAO,WAAY,EAAA;AAAA,IACvD,EAAE,IAAM,EAAA,MAAA,EAAQ,IAAM,EAAA,kBAAA,EAAoB,OAAO,eAAgB,EAAA;AAAA,IACjE,EAAE,IAAM,EAAA,MAAA,EAAQ,IAAM,EAAA,kBAAA,EAAoB,OAAO,iBAAkB,EAAA;AAAA,IACnE,EAAE,IAAM,EAAA,MAAA,EAAQ,IAAM,EAAA,aAAA,EAAe,OAAO,YAAa,EAAA;AAAA,IACzD,EAAE,IAAM,EAAA,MAAA,EAAQ,IAAM,EAAA,cAAA,EAAgB,OAAO,WAAY,EAAA;AAAA,IACzD,EAAE,IAAM,EAAA,MAAA,EAAQ,IAAM,EAAA,SAAA,EAAW,OAAO,QAAS,EAAA;AAAA,GACnD,CAAA;AACF,CAAC,EAEA,IAAK","file":"index.js","sourcesContent":["import { BlockModel, InferHrefType, InferOutputsType } from '@platforma-sdk/model';\nimport {z} from 'zod';\n\nexport const $BlockArgs = z.object({\n numbers: z.array(z.coerce.number())\n});\n\nexport type BlockArgs = z.infer<typeof $BlockArgs>;\n\nexport const platforma = BlockModel.create<BlockArgs>('Heavy')\n\n .initialArgs({ numbers: [] })\n\n .output('numbers', (ctx) =>\n ctx.outputs?.resolve('numbers')?.getDataAsJson<number[]>()\n )\n\n .sections((ctx) => {\n return [\n { type: 'link', href: '/', label: 'PlLogView' }, \n { type: 'link', href: '/modals', label: 'Modals' },\n { type: 'link', href: '/select-files', label: 'Select Files' },\n { type: 'link', href: '/inject-env', label: 'Inject env' },\n { type: 'link', href: '/dropdowns', label: 'Dropdowns' },\n { type: 'link', href: '/use-watch-fetch', label: 'useWatchFetch' },\n { type: 'link', href: '/form-components', label: 'Form Components' },\n { type: 'link', href: '/typography', label: 'Typography' },\n { type: 'link', href: '/ag-grid-vue', label: 'AgGridVue' },\n { type: 'link', href: '/errors', label: 'Errors' },\n ];\n })\n\n .done();\n\nexport type BlockOutputs = InferOutputsType<typeof platforma>;\nexport type Href = InferHrefType<typeof platforma>;\n"]}
|