@elaraai/e3-ui 1.0.83 → 1.0.85
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/dist/src/bind/data.d.ts +4 -3
- package/dist/src/bind/data.d.ts.map +1 -1
- package/dist/src/bind/data.js +4 -3
- package/dist/src/bind/data.js.map +1 -1
- package/dist/src/bind/record.d.ts +234 -6
- package/dist/src/bind/record.d.ts.map +1 -1
- package/dist/src/bind/record.js +250 -7
- package/dist/src/bind/record.js.map +1 -1
- package/dist/src/bind/sources.d.ts +148 -0
- package/dist/src/bind/sources.d.ts.map +1 -0
- package/dist/src/bind/sources.js +116 -0
- package/dist/src/bind/sources.js.map +1 -0
- package/dist/src/index.d.ts +4 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +9 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal.d.ts +4 -1
- package/dist/src/internal.d.ts.map +1 -1
- package/dist/src/internal.js +11 -1
- package/dist/src/internal.js.map +1 -1
- package/dist/src/query/builder.d.ts +3257 -0
- package/dist/src/query/builder.d.ts.map +1 -0
- package/dist/src/query/builder.js +126 -0
- package/dist/src/query/builder.js.map +1 -0
- package/dist/src/query/index.d.ts +108 -0
- package/dist/src/query/index.d.ts.map +1 -0
- package/dist/src/query/index.js +76 -0
- package/dist/src/query/index.js.map +1 -0
- package/dist/src/query/library.d.ts +3241 -0
- package/dist/src/query/library.d.ts.map +1 -0
- package/dist/src/query/library.js +114 -0
- package/dist/src/query/library.js.map +1 -0
- package/dist/src/query/queries.d.ts +4696 -0
- package/dist/src/query/queries.d.ts.map +1 -0
- package/dist/src/query/queries.js +129 -0
- package/dist/src/query/queries.js.map +1 -0
- package/dist/src/query/saved.d.ts +72 -0
- package/dist/src/query/saved.d.ts.map +1 -0
- package/dist/src/query/saved.js +84 -0
- package/dist/src/query/saved.js.map +1 -0
- package/dist/src/query/steps.d.ts +613 -0
- package/dist/src/query/steps.d.ts.map +1 -0
- package/dist/src/query/steps.js +316 -0
- package/dist/src/query/steps.js.map +1 -0
- package/dist/src/query/types.d.ts +444 -0
- package/dist/src/query/types.d.ts.map +1 -0
- package/dist/src/query/types.js +113 -0
- package/dist/src/query/types.js.map +1 -0
- package/dist/src/studio/builder.d.ts +3123 -0
- package/dist/src/studio/builder.d.ts.map +1 -0
- package/dist/src/studio/builder.js +115 -0
- package/dist/src/studio/builder.js.map +1 -0
- package/dist/src/studio/canvas.d.ts +83 -0
- package/dist/src/studio/canvas.d.ts.map +1 -0
- package/dist/src/studio/canvas.js +71 -0
- package/dist/src/studio/canvas.js.map +1 -0
- package/dist/src/studio/component.d.ts +178 -0
- package/dist/src/studio/component.d.ts.map +1 -0
- package/dist/src/studio/component.js +189 -0
- package/dist/src/studio/component.js.map +1 -0
- package/dist/src/studio/index.d.ts +104 -0
- package/dist/src/studio/index.d.ts.map +1 -0
- package/dist/src/studio/index.js +75 -0
- package/dist/src/studio/index.js.map +1 -0
- package/dist/src/studio/inspector.d.ts +208 -0
- package/dist/src/studio/inspector.d.ts.map +1 -0
- package/dist/src/studio/inspector.js +155 -0
- package/dist/src/studio/inspector.js.map +1 -0
- package/dist/src/studio/library.d.ts +3506 -0
- package/dist/src/studio/library.d.ts.map +1 -0
- package/dist/src/studio/library.js +245 -0
- package/dist/src/studio/library.js.map +1 -0
- package/dist/src/studio/page.d.ts +305 -0
- package/dist/src/studio/page.d.ts.map +1 -0
- package/dist/src/studio/page.js +105 -0
- package/dist/src/studio/page.js.map +1 -0
- package/dist/src/studio/pages.d.ts +10929 -0
- package/dist/src/studio/pages.d.ts.map +1 -0
- package/dist/src/studio/pages.js +502 -0
- package/dist/src/studio/pages.js.map +1 -0
- package/dist/src/studio/palette.d.ts +179 -0
- package/dist/src/studio/palette.d.ts.map +1 -0
- package/dist/src/studio/palette.js +120 -0
- package/dist/src/studio/palette.js.map +1 -0
- package/dist/src/studio/publish.d.ts +397 -0
- package/dist/src/studio/publish.d.ts.map +1 -0
- package/dist/src/studio/publish.js +198 -0
- package/dist/src/studio/publish.js.map +1 -0
- package/dist/src/ui.d.ts +16 -3
- package/dist/src/ui.d.ts.map +1 -1
- package/dist/src/ui.js +21 -1
- package/dist/src/ui.js.map +1 -1
- package/dist/test/bind/data/data.examples.d.ts +76 -1
- package/dist/test/bind/data/data.examples.d.ts.map +1 -1
- package/dist/test/bind/data/data.examples.js +176 -3
- package/dist/test/bind/data/data.examples.js.map +1 -1
- package/dist/test/bind/func/func.examples.d.ts +8 -0
- package/dist/test/bind/func/func.examples.d.ts.map +1 -1
- package/dist/test/bind/func/func.examples.js +4 -3
- package/dist/test/bind/func/func.examples.js.map +1 -1
- package/dist/test/bind/record/record.examples.d.ts +65 -1
- package/dist/test/bind/record/record.examples.d.ts.map +1 -1
- package/dist/test/bind/record/record.examples.js +21 -3
- package/dist/test/bind/record/record.examples.js.map +1 -1
- package/dist/test/query/query.examples.d.ts +5022 -0
- package/dist/test/query/query.examples.d.ts.map +1 -0
- package/dist/test/query/query.examples.js +467 -0
- package/dist/test/query/query.examples.js.map +1 -0
- package/dist/test/studio/component.examples.d.ts +7 -0
- package/dist/test/studio/component.examples.d.ts.map +1 -0
- package/dist/test/studio/component.examples.js +46 -0
- package/dist/test/studio/component.examples.js.map +1 -0
- package/dist/test/studio/page.examples.d.ts +7 -0
- package/dist/test/studio/page.examples.d.ts.map +1 -0
- package/dist/test/studio/page.examples.js +64 -0
- package/dist/test/studio/page.examples.js.map +1 -0
- package/dist/test/studio/studio.examples.d.ts +1766 -0
- package/dist/test/studio/studio.examples.d.ts.map +1 -0
- package/dist/test/studio/studio.examples.js +354 -0
- package/dist/test/studio/studio.examples.js.map +1 -0
- package/package.json +9 -8
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) 2025 Elara AI Pty Ltd
|
|
3
|
+
* Dual-licensed under AGPL-3.0 and commercial license. See LICENSE for details.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Bound data sources (#935) — the datasets a component may read, as the page
|
|
7
|
+
* that holds it binds them: each a name, the binding's descriptor, and the
|
|
8
|
+
* value's East type, read off the handle.
|
|
9
|
+
*
|
|
10
|
+
* A component handed `datasets={{ orders, customers, bom }}` reads exactly
|
|
11
|
+
* those, by those names. The bindings are already in the `ui()` task's
|
|
12
|
+
* manifest — `Data.bind` under `paths`, `Data.bindPaged` under `pages`,
|
|
13
|
+
* `Record.bind` under `records` — so scope needs nothing new, and each name's
|
|
14
|
+
* type is known before any request.
|
|
15
|
+
*
|
|
16
|
+
* @packageDocumentation
|
|
17
|
+
*/
|
|
18
|
+
import { ArrayType, East, EastTypeType, Expr, StringType, StructType, VariantType, toEastTypeValue, variant, } from "@elaraai/east";
|
|
19
|
+
import { TreePathType } from "@elaraai/e3-types";
|
|
20
|
+
/**
|
|
21
|
+
* A data source a component may read: the name it reads it by, the binding it
|
|
22
|
+
* is, and its value's type.
|
|
23
|
+
*
|
|
24
|
+
* @property name - The name it is read by — a query's root field: `orders` for `.orders`
|
|
25
|
+
* @property source - The binding:
|
|
26
|
+
* - `paged` — a `Data.bindPaged` handle's `id`: its dataset's path, printed;
|
|
27
|
+
* - `record` — a `Record.bind` handle's record name;
|
|
28
|
+
* - `value` — a `Data.bind` handle's dataset path
|
|
29
|
+
* @property type - The value's East type, from the handle's own type
|
|
30
|
+
*/
|
|
31
|
+
export const DataSourceType = StructType({
|
|
32
|
+
name: StringType,
|
|
33
|
+
source: VariantType({
|
|
34
|
+
paged: StringType,
|
|
35
|
+
record: StringType,
|
|
36
|
+
value: TreePathType,
|
|
37
|
+
}),
|
|
38
|
+
type: EastTypeType,
|
|
39
|
+
});
|
|
40
|
+
/** A name a jq program can read as a root field: `.orders`. */
|
|
41
|
+
const IDENTIFIER = /^[A-Za-z_][A-Za-z0-9_]*$/;
|
|
42
|
+
/**
|
|
43
|
+
* Refuses a data source's name that a jq program can't read as a root field.
|
|
44
|
+
*
|
|
45
|
+
* @param component - The component or function, for the message (`"Query.Builder"`)
|
|
46
|
+
* @param name - The data source's name
|
|
47
|
+
* @throws {Error} When the name is not letters, digits and `_`, not starting
|
|
48
|
+
* with a digit, naming it
|
|
49
|
+
*/
|
|
50
|
+
export function assertRootField(component, name) {
|
|
51
|
+
if (!IDENTIFIER.test(name)) {
|
|
52
|
+
throw new Error(`${component}: the data source "${name}" can't be read as a root field — name it with letters, digits and _, not starting with a digit`);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
/** The fields of a handle's East struct. */
|
|
56
|
+
function handleFields(handle) {
|
|
57
|
+
const type = Expr.type(handle);
|
|
58
|
+
if (type.type !== "Struct")
|
|
59
|
+
throw new Error("Not a Data.bind, Data.bindPaged or Record.bind handle");
|
|
60
|
+
return type.fields;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* The data sources a component reads, from the bindings it is handed, in the
|
|
64
|
+
* order they are given.
|
|
65
|
+
*
|
|
66
|
+
* @remarks
|
|
67
|
+
* Each binding's kind is told by its handle's East struct: a `page` field is a
|
|
68
|
+
* `Data.bindPaged` handle, a `mutate` field a `Record.bind` handle, and any
|
|
69
|
+
* other a `Data.bind` handle. The descriptor is read off the handle as an East
|
|
70
|
+
* expression — `id`, `binding.name` or `binding.source` — and the value type
|
|
71
|
+
* is written as a literal from the handle's type: `read`'s output, or the
|
|
72
|
+
* element of `page`'s `Option`.
|
|
73
|
+
*
|
|
74
|
+
* @param component - The component, for the messages (`"Query.Builder"`)
|
|
75
|
+
* @param sources - Each data source's name and binding
|
|
76
|
+
* @returns An East expression of the data sources
|
|
77
|
+
* @throws {Error} When a name is not a jq identifier — letters, digits and
|
|
78
|
+
* `_`, not starting with a digit — naming it; when no source is given; and
|
|
79
|
+
* when a binding is not a `Data.bind`, `Data.bindPaged` or `Record.bind`
|
|
80
|
+
* handle
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* ```ts
|
|
84
|
+
* const orders = $.let(Data.bindPaged(d.orders));
|
|
85
|
+
* const customers = $.let(Data.bind(d.customers));
|
|
86
|
+
* const sources = dataSources("Query.Builder", { orders, customers });
|
|
87
|
+
* // [{ name: "orders", source: paged(".inputs.orders"), type: … },
|
|
88
|
+
* // { name: "customers", source: value([inputs, customers]), type: … }]
|
|
89
|
+
* ```
|
|
90
|
+
*/
|
|
91
|
+
export function dataSources(component, sources) {
|
|
92
|
+
const entries = Object.entries(sources);
|
|
93
|
+
if (entries.length === 0) {
|
|
94
|
+
throw new Error(`${component}: datasets is empty — bind at least one data source for it to read`);
|
|
95
|
+
}
|
|
96
|
+
return East.value(entries.map(([name, handle]) => {
|
|
97
|
+
assertRootField(component, name);
|
|
98
|
+
const fields = handleFields(handle);
|
|
99
|
+
if (fields["page"] !== undefined) {
|
|
100
|
+
// `page(offset, limit)` returns `Option<T>`: the source's type is `T`.
|
|
101
|
+
const page = fields["page"];
|
|
102
|
+
const paged = handle;
|
|
103
|
+
return { name, source: variant("paged", paged.id), type: toEastTypeValue(page.output.cases.some) };
|
|
104
|
+
}
|
|
105
|
+
const read = fields["read"];
|
|
106
|
+
if (read === undefined)
|
|
107
|
+
throw new Error(`${component}: the data source "${name}" is not a Data.bind, Data.bindPaged or Record.bind handle`);
|
|
108
|
+
if (fields["mutate"] !== undefined) {
|
|
109
|
+
const record = handle;
|
|
110
|
+
return { name, source: variant("record", record.binding.name), type: toEastTypeValue(read.output) };
|
|
111
|
+
}
|
|
112
|
+
const value = handle;
|
|
113
|
+
return { name, source: variant("value", value.binding.source), type: toEastTypeValue(read.output) };
|
|
114
|
+
}), ArrayType(DataSourceType));
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=sources.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sources.js","sourceRoot":"","sources":["../../../src/bind/sources.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AAEH,OAAO,EACH,SAAS,EACT,IAAI,EACJ,YAAY,EACZ,IAAI,EACJ,UAAU,EACV,UA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CAAC,CAAC,CAAC;AACnC,CAAC"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -26,10 +26,13 @@
|
|
|
26
26
|
*/
|
|
27
27
|
export { Data, DataBindModeType, type DataBindModeLiteral, DiffBindingType, type BoundValue, DataBindHandleType, type DataBindOptions, bindPlatformFn, DataPagedHandleType, type PagedValue, type IndexWindowType, type BindPagedIndexOptions, bindPagedPlatformFn, bindPagedPinnedPlatformFn, } from './bind/data.js';
|
|
28
28
|
export { Func, FuncStatusType, FuncErrorType, FuncBindingType, FuncBindHandleType, type BoundFunc, funcBindPlatformFn, } from './bind/func.js';
|
|
29
|
-
export { Record, RecordMutateStatusType, RecordErrorType, RecordBindingType, RecordBindHandleType, type BoundRecord, recordBindPlatformFn, } from './bind/record.js';
|
|
29
|
+
export { Record, RecordMutateStatusType, RecordErrorType, RecordBindingType, RecordBindHandleType, RecordOutcomeType, type BoundRecord, type RecordApplyOptions, type RecordApplyInsideOptions, recordBindPlatformFn, } from './bind/record.js';
|
|
30
30
|
export { DataManifestType, type DataManifest } from './utils/manifest.js';
|
|
31
31
|
export { deriveManifest } from './utils/derive.js';
|
|
32
32
|
export { ui } from './ui.js';
|
|
33
|
+
export { Studio, StudioComponentType, StudioFrameType, StudioCellType, StudioEntryType, StudioKeyType, StudioLiveType, StudioPageEntryType, StudioPageType, StudioPagesType, StudioVersionType, fingerprintOf, type StudioNamespace, type StudioTypes, type StudioComponentMeta, type StudioFrameLiteral, type StudioPagesHandle, type StudioPageOptions, type StudioVersionLiteral, type StudioBuilderOptions, type StudioLibraryOptions, } from './studio/index.js';
|
|
34
|
+
export { Query, QueryAggregateFunctionType, QueryAggregateType, QueryComparisonType, QueryConditionType, QueryDatePartType, QueryGroupByType, QueryInputType, QueryMatchType, QueryPickFieldType, QueryResultType, QueryRootEntryType, QuerySortDirectionType, QueryStepInputType, QueryStepType, QueryStepValueType, QueryStepsType, SavedQueriesType, SavedQueryType, type QueriesHandle, type QueryBuilderOptions, type QueryLibraryOptions, type QueryNamespace, type QueryTypes, type SavedQueryInput, } from './query/index.js';
|
|
35
|
+
export { DataSourceType, type BoundSource } from './bind/sources.js';
|
|
33
36
|
export { Diff } from './runtime/diff.js';
|
|
34
37
|
export { DiffPayloadType, DiffStyleType, type DiffOptions, } from './diff/index.js';
|
|
35
38
|
export { Ontology } from './runtime/ontology.js';
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EACH,IAAI,EACJ,gBAAgB,EAChB,KAAK,mBAAmB,EACxB,eAAe,EACf,KAAK,UAAU,EACf,kBAAkB,EAClB,KAAK,eAAe,EACpB,cAAc,EACd,mBAAmB,EACnB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,mBAAmB,EACnB,yBAAyB,GAC5B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,IAAI,EACJ,cAAc,EACd,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,KAAK,SAAS,EACd,kBAAkB,GACrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,MAAM,EACN,sBAAsB,EACtB,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,KAAK,WAAW,EAChB,oBAAoB,GACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,EAAE,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EACH,IAAI,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Aa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,GAC9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,YAAY,EACZ,sBAAsB,EACtB,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,KAAK,cAAc,EACnB,KAAK,mBAAmB,GAC3B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,uBAAuB,CAAC"}
|
package/dist/src/index.js
CHANGED
|
@@ -26,10 +26,18 @@
|
|
|
26
26
|
*/
|
|
27
27
|
export { Data, DataBindModeType, DiffBindingType, DataBindHandleType, bindPlatformFn, DataPagedHandleType, bindPagedPlatformFn, bindPagedPinnedPlatformFn, } from './bind/data.js';
|
|
28
28
|
export { Func, FuncStatusType, FuncErrorType, FuncBindingType, FuncBindHandleType, funcBindPlatformFn, } from './bind/func.js';
|
|
29
|
-
export { Record, RecordMutateStatusType, RecordErrorType, RecordBindingType, RecordBindHandleType, recordBindPlatformFn, } from './bind/record.js';
|
|
29
|
+
export { Record, RecordMutateStatusType, RecordErrorType, RecordBindingType, RecordBindHandleType, RecordOutcomeType, recordBindPlatformFn, } from './bind/record.js';
|
|
30
30
|
export { DataManifestType } from './utils/manifest.js';
|
|
31
31
|
export { deriveManifest } from './utils/derive.js';
|
|
32
32
|
export { ui } from './ui.js';
|
|
33
|
+
// The Studio (#787): components as code, the pages record operators build, and
|
|
34
|
+
// the components a solution mounts — the builder, the page library, one page.
|
|
35
|
+
export { Studio, StudioComponentType, StudioFrameType, StudioCellType, StudioEntryType, StudioKeyType, StudioLiveType, StudioPageEntryType, StudioPageType, StudioPagesType, StudioVersionType, fingerprintOf, } from './studio/index.js';
|
|
36
|
+
// The query builder (#875): the component a solution mounts, the saved
|
|
37
|
+
// queries record it declares and the queries it ships in it, and a query as
|
|
38
|
+
// the steps the builder edits.
|
|
39
|
+
export { Query, QueryAggregateFunctionType, QueryAggregateType, QueryComparisonType, QueryConditionType, QueryDatePartType, QueryGroupByType, QueryInputType, QueryMatchType, QueryPickFieldType, QueryResultType, QueryRootEntryType, QuerySortDirectionType, QueryStepInputType, QueryStepType, QueryStepValueType, QueryStepsType, SavedQueriesType, SavedQueryType, } from './query/index.js';
|
|
40
|
+
export { DataSourceType } from './bind/sources.js';
|
|
33
41
|
// e3 `<Diff>` tag + its types
|
|
34
42
|
export { Diff } from './runtime/diff.js';
|
|
35
43
|
export { DiffPayloadType, DiffStyleType, } from './diff/index.js';
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EACH,IAAI,EACJ,gBAAgB,EAEhB,eAAe,EAEf,kBAAkB,EAElB,cAAc,EACd,mBAAmB,EAInB,mBAAmB,EACnB,yBAAyB,GAC5B,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,IAAI,EACJ,cAAc,EACd,aAAa,EACb,eAAe,EACf,kBAAkB,EAElB,kBAAkB,GACrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,MAAM,EACN,sBAAsB,EACtB,eAAe,EACf,iBAAiB,EACjB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,OAAO,EACH,IAAI,EACJ,gBAAgB,EAEhB,eAAe,EAEf,kBAAkB,EAElB,cAAc,EACd,mBAAmB,EAInB,mBAAmB,EACnB,yBAAyB,GAC5B,MAAM,gBAAgB,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,iBAAiB,EAEjB,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,oBAAoB,EACpB,YAAY,EAEZ,gBAAgB,GAEnB,MAAM,qBAAqB,CAAC;AAE7B,+EAA+E;AAC/E,4EAA4E;AAC5E,+EAA+E;AAC/E,+EAA+E;AAC/E,mCAAmC;AACnC,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EACH,qBAAqB,GAGxB,MAAM,uBAAuB,CAAC;AAE/B,oCAAoC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EACH,YAAY,EACZ,kBAAkB,EAClB,WAAW,EAEX,eAAe,EAEf,YAAY,EACZ,UAAU,EAEV,WAAW,EACX,aAAa,EACb,kBAAkB,EAClB,sBAAsB,EACtB,UAAU,EACV,SAAS,EACT,kBAAkB,GAQrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,YAAY,EACZ,sBAAsB,EACtB,kBAAkB,EAClB,qBAAqB,EACrB,eAAe,EACf,cAAc,GAGjB,MAAM,oBAAoB,CAAC;AAC5B,0DAA0D;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAA6B,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAA+B,MAAM,uBAAuB,CAAC"}
|
package/dist/src/internal.d.ts
CHANGED
|
@@ -17,9 +17,12 @@
|
|
|
17
17
|
*/
|
|
18
18
|
export { Data, DataBindModeType, type DataBindModeLiteral, DiffBindingType, type BoundValue, DataBindHandleType, type DataBindOptions, bindPlatformFn, DataBindPrimitives, DataPagedHandleType, type PagedValue, type IndexWindowType, type BindPagedIndexOptions, bindPagedPlatformFn, bindPagedPinnedPlatformFn, DataPagedPrimitives, } from './bind/data.js';
|
|
19
19
|
export { Func, FuncStatusType, FuncErrorType, FuncBindingType, FuncBindHandleType, type BoundFunc, funcBindPlatformFn, FuncBindPrimitives, } from './bind/func.js';
|
|
20
|
-
export { Record, RecordMutateStatusType, RecordErrorType, RecordBindingType, RecordBindHandleType, type BoundRecord, recordBindPlatformFn, RecordBindPrimitives, } from './bind/record.js';
|
|
20
|
+
export { Record, RecordMutateStatusType, RecordErrorType, RecordBindingType, RecordBindHandleType, RecordOutcomeType, type BoundRecord, type RecordApplyOptions, type RecordApplyInsideOptions, recordBindPlatformFn, RecordBindPrimitives, } from './bind/record.js';
|
|
21
21
|
export { DataManifestType, type DataManifest } from './utils/manifest.js';
|
|
22
22
|
export { deriveManifest } from './utils/derive.js';
|
|
23
|
+
export { StudioInternal as Studio, StudioComponentType, StudioFrameType, StudioCellChangeType, StudioCellType, StudioChangeType, StudioEntryType, StudioKeyType, StudioLiveType, StudioPageEntryType, StudioPageType, StudioPagesHandleType, StudioPagesType, StudioStatusType, StudioVersionType, fingerprintOf, saveCells, type StudioNamespace, type StudioInternalNamespace, type StudioTypes, type StudioComponentMeta, type StudioFrameLiteral, type StudioPagesHandle, type StudioPageOptions, type StudioVersionLiteral, type StudioBuilderOptions, type StudioLibraryOptions, StudioPageComponent, StudioPagePayloadType, StudioBuilderComponent, StudioBuilderPayloadType, StudioLibraryComponent, StudioLibraryPayloadType, StudioLibraryPageType, StudioLibraryTemplateType, libraryProjects, libraryPages, libraryTemplates, layoutSummary, nameWriteRefusal, builderKeys, paletteCards, palettePages, PaletteCardType, PalettePageType, canvasTiles, CanvasTileType, StudioSaveTemplatePayloadType, inspectorSelection, InspectorLayoutType, InspectorSelectionType, StudioInspectorPayloadType, PublishChangeType, PublishStandingType, PublishSummaryType, StudioPublishPayloadType, publishSummary, publishRefusal, } from './studio/index.js';
|
|
24
|
+
export { QueryInternal as Query, QueryAggregateFunctionType, QueryAggregateType, QueryBuilder, QueryBuilderComponent, QueryBuilderPayloadType, QueryLibrary, QueryLibraryComponent, QueryLibraryPayloadType, QueryComparisonType, QueryConditionType, QueryDatePartType, QueryGroupByType, QueryInputType, QueryMatchType, QueryPickFieldType, QueryResultType, QueryRootBoundType, QueryRootEntryType, QuerySortDirectionType, QueryStepInputType, QueryStepType, QueryStepValueType, QueryStepsType, QueriesHandleType, SavedQueriesPatchType, SavedQueriesType, SavedQueryType, queryKeys, rootBound, saveQuery, savedQueriesValue, type QueriesHandle, type QueryBuilderOptions, type QueryInternalNamespace, type QueryLibraryOptions, type QueryNamespace, type QueryTypes, type SavedQueryInput, } from './query/index.js';
|
|
25
|
+
export { DataSourceType, dataSources, type BoundSource } from './bind/sources.js';
|
|
23
26
|
export { Diff, DiffComponent, DiffPayloadType, DiffStyleType, type DiffOptions, } from './diff/index.js';
|
|
24
27
|
export { Ontology, OntologyComponent, OntologyPayloadType, OntologyStyleType, type OntologyOptions, NodeKindType, LinkKindType, NodeType, LinkType, OntologyMetadataType, OntologyType, type OntologyStructType, OntologyViewType, type OntologyViewLiteral, } from './ontology/index.js';
|
|
25
28
|
export { Experiment, ExperimentComponent } from './experiment/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../src/internal.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AAEH,OAAO,EACH,IAAI,EACJ,gBAAgB,EAChB,KAAK,mBAAmB,EACxB,eAAe,EACf,KAAK,UAAU,EACf,kBAAkB,EAClB,KAAK,eAAe,EACpB,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,GACtB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,IAAI,EACJ,cAAc,EACd,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,KAAK,SAAS,EACd,kBAAkB,EAClB,kBAAkB,GACrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,MAAM,EACN,sBAAsB,EACtB,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,KAAK,WAAW,EAChB,oBAAoB,EACpB,oBAAoB,GACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../src/internal.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AAEH,OAAO,EACH,IAAI,EACJ,gBAAgB,EAChB,KAAK,mBAAmB,EACxB,eAAe,EACf,KAAK,UAAU,EACf,kBAAkB,EAClB,KAAK,eAAe,EACpB,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,KAAK,UAAU,EACf,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,GACtB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,IAAI,EACJ,cAAc,EACd,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,KAAK,SAAS,EACd,kBAAkB,EAClB,kBAAkB,GACrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,MAAM,EACN,sBAAsB,EACtB,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,oBAAoB,EACpB,oBAAoB,GACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAKnD,OAAO,EACH,cAAc,IAAI,MAAM,EACxB,mBAAmB,EACnB,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EAC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O,EACH,aAAa,EACb,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,KAAK,oBAAoB,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACH,eAAe,EACf,wBAAwB,EACxB,0BAA0B,EAC1B,KAAK,sBAAsB,GAC9B,MAAM,uBAAuB,CAAC"}
|
package/dist/src/internal.js
CHANGED
|
@@ -17,9 +17,19 @@
|
|
|
17
17
|
*/
|
|
18
18
|
export { Data, DataBindModeType, DiffBindingType, DataBindHandleType, bindPlatformFn, DataBindPrimitives, DataPagedHandleType, bindPagedPlatformFn, bindPagedPinnedPlatformFn, DataPagedPrimitives, } from './bind/data.js';
|
|
19
19
|
export { Func, FuncStatusType, FuncErrorType, FuncBindingType, FuncBindHandleType, funcBindPlatformFn, FuncBindPrimitives, } from './bind/func.js';
|
|
20
|
-
export { Record, RecordMutateStatusType, RecordErrorType, RecordBindingType, RecordBindHandleType, recordBindPlatformFn, RecordBindPrimitives, } from './bind/record.js';
|
|
20
|
+
export { Record, RecordMutateStatusType, RecordErrorType, RecordBindingType, RecordBindHandleType, RecordOutcomeType, recordBindPlatformFn, RecordBindPrimitives, } from './bind/record.js';
|
|
21
21
|
export { DataManifestType } from './utils/manifest.js';
|
|
22
22
|
export { deriveManifest } from './utils/derive.js';
|
|
23
|
+
// The Studio (#787): its components' factories and carriers, the payloads the
|
|
24
|
+
// renderers take, and the East the renderers call. `Studio` here is the
|
|
25
|
+
// internal namespace — the public one, and the page functions.
|
|
26
|
+
export { StudioInternal as Studio, StudioComponentType, StudioFrameType, StudioCellChangeType, StudioCellType, StudioChangeType, StudioEntryType, StudioKeyType, StudioLiveType, StudioPageEntryType, StudioPageType, StudioPagesHandleType, StudioPagesType, StudioStatusType, StudioVersionType, fingerprintOf, saveCells, StudioPageComponent, StudioPagePayloadType, StudioBuilderComponent, StudioBuilderPayloadType, StudioLibraryComponent, StudioLibraryPayloadType, StudioLibraryPageType, StudioLibraryTemplateType, libraryProjects, libraryPages, libraryTemplates, layoutSummary, nameWriteRefusal, builderKeys, paletteCards, palettePages, PaletteCardType, PalettePageType, canvasTiles, CanvasTileType, StudioSaveTemplatePayloadType, inspectorSelection, InspectorLayoutType, InspectorSelectionType, StudioInspectorPayloadType, PublishChangeType, PublishStandingType, PublishSummaryType, StudioPublishPayloadType, publishSummary, publishRefusal, } from './studio/index.js';
|
|
27
|
+
// The query builder and the query library (#875): their factories and
|
|
28
|
+
// carriers, the payloads the renderers take, the East they call, and the types
|
|
29
|
+
// the step functions take. `Query` here is the internal namespace — the public
|
|
30
|
+
// one, and the saved queries' East.
|
|
31
|
+
export { QueryInternal as Query, QueryAggregateFunctionType, QueryAggregateType, QueryBuilder, QueryBuilderComponent, QueryBuilderPayloadType, QueryLibrary, QueryLibraryComponent, QueryLibraryPayloadType, QueryComparisonType, QueryConditionType, QueryDatePartType, QueryGroupByType, QueryInputType, QueryMatchType, QueryPickFieldType, QueryResultType, QueryRootBoundType, QueryRootEntryType, QuerySortDirectionType, QueryStepInputType, QueryStepType, QueryStepValueType, QueryStepsType, QueriesHandleType, SavedQueriesPatchType, SavedQueriesType, SavedQueryType, queryKeys, rootBound, saveQuery, savedQueriesValue, } from './query/index.js';
|
|
32
|
+
export { DataSourceType, dataSources } from './bind/sources.js';
|
|
23
33
|
export { Diff, DiffComponent, DiffPayloadType, DiffStyleType, } from './diff/index.js';
|
|
24
34
|
export { Ontology, OntologyComponent, OntologyPayloadType, OntologyStyleType, NodeKindType, LinkKindType, NodeType, LinkType, OntologyMetadataType, OntologyType, OntologyViewType, } from './ontology/index.js';
|
|
25
35
|
// Experiment factory + component carrier for renderers/tests. The value types
|
package/dist/src/internal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../src/internal.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AAEH,OAAO,EACH,IAAI,EACJ,gBAAgB,EAEhB,eAAe,EAEf,kBAAkB,EAElB,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EAInB,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,GACtB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,IAAI,EACJ,cAAc,EACd,aAAa,EACb,eAAe,EACf,kBAAkB,EAElB,kBAAkB,EAClB,kBAAkB,GACrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,MAAM,EACN,sBAAsB,EACtB,eAAe,EACf,iBAAiB,EACjB,oBAAoB,
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../../src/internal.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;GAYG;AAEH,OAAO,EACH,IAAI,EACJ,gBAAgB,EAEhB,eAAe,EAEf,kBAAkB,EAElB,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EAInB,mBAAmB,EACnB,yBAAyB,EACzB,mBAAmB,GACtB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,IAAI,EACJ,cAAc,EACd,aAAa,EACb,eAAe,EACf,kBAAkB,EAElB,kBAAkB,EAClB,kBAAkB,GACrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACH,MAAM,EACN,sBAAsB,EACtB,eAAe,EACf,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EAIjB,oBAAoB,EACpB,oBAAoB,GACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAqB,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,8EAA8E;AAC9E,wEAAwE;AACxE,+DAA+D;AAC/D,OAAO,EACH,cAAc,IAAI,MAAM,EACxB,mBAAmB,EACnB,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,gBAAgB,EAChB,eAAe,EACf,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,cAAc,EACd,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,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