@elaraai/e3-ui 1.0.85 → 1.0.87
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-indexed.d.ts +159 -0
- package/dist/src/bind/data-indexed.d.ts.map +1 -0
- package/dist/src/bind/data-indexed.js +105 -0
- package/dist/src/bind/data-indexed.js.map +1 -0
- package/dist/src/bind/data.d.ts +5 -3
- package/dist/src/bind/data.d.ts.map +1 -1
- package/dist/src/bind/data.js +6 -0
- package/dist/src/bind/data.js.map +1 -1
- package/dist/src/bind/record.d.ts +34 -23
- package/dist/src/bind/record.d.ts.map +1 -1
- package/dist/src/bind/record.js +46 -19
- package/dist/src/bind/record.js.map +1 -1
- package/dist/src/calendar/index.d.ts +2923 -0
- package/dist/src/calendar/index.d.ts.map +1 -0
- package/dist/src/calendar/index.js +135 -0
- package/dist/src/calendar/index.js.map +1 -0
- package/dist/src/decision/queue.d.ts +3 -3
- package/dist/src/decision/queue.d.ts.map +1 -1
- package/dist/src/decision/queue.js +2 -2
- package/dist/src/decision/queue.js.map +1 -1
- package/dist/src/decision/types.d.ts +4 -0
- package/dist/src/decision/types.d.ts.map +1 -1
- package/dist/src/decision/types.js +4 -0
- package/dist/src/decision/types.js.map +1 -1
- package/dist/src/flowchart/canvas.d.ts +114 -0
- package/dist/src/flowchart/canvas.d.ts.map +1 -0
- package/dist/src/flowchart/canvas.js +84 -0
- package/dist/src/flowchart/canvas.js.map +1 -0
- package/dist/src/flowchart/flowchart.d.ts +79 -0
- package/dist/src/flowchart/flowchart.d.ts.map +1 -0
- package/dist/src/flowchart/flowchart.js +9 -0
- package/dist/src/flowchart/flowchart.js.map +1 -0
- package/dist/src/flowchart/index.d.ts +305 -0
- package/dist/src/flowchart/index.d.ts.map +1 -0
- package/dist/src/flowchart/index.js +267 -0
- package/dist/src/flowchart/index.js.map +1 -0
- package/dist/src/flowchart/library.d.ts +720 -0
- package/dist/src/flowchart/library.d.ts.map +1 -0
- package/dist/src/flowchart/library.js +611 -0
- package/dist/src/flowchart/library.js.map +1 -0
- package/dist/src/flowchart/over.d.ts +234 -0
- package/dist/src/flowchart/over.d.ts.map +1 -0
- package/dist/src/flowchart/over.js +220 -0
- package/dist/src/flowchart/over.js.map +1 -0
- package/dist/src/flowchart/patch.d.ts +64 -0
- package/dist/src/flowchart/patch.d.ts.map +1 -0
- package/dist/src/flowchart/patch.js +67 -0
- package/dist/src/flowchart/patch.js.map +1 -0
- package/dist/src/flowchart/payload.d.ts +8220 -0
- package/dist/src/flowchart/payload.d.ts.map +1 -0
- package/dist/src/flowchart/payload.js +521 -0
- package/dist/src/flowchart/payload.js.map +1 -0
- package/dist/src/flowchart/types.d.ts +393 -0
- package/dist/src/flowchart/types.d.ts.map +1 -0
- package/dist/src/flowchart/types.js +216 -0
- package/dist/src/flowchart/types.js.map +1 -0
- package/dist/src/flowchart/values.d.ts +267 -0
- package/dist/src/flowchart/values.d.ts.map +1 -0
- package/dist/src/flowchart/values.js +216 -0
- package/dist/src/flowchart/values.js.map +1 -0
- package/dist/src/flowchart/window.d.ts +521 -0
- package/dist/src/flowchart/window.d.ts.map +1 -0
- package/dist/src/flowchart/window.js +69 -0
- package/dist/src/flowchart/window.js.map +1 -0
- package/dist/src/index.d.ts +25 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +48 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal.d.ts +35 -3
- package/dist/src/internal.d.ts.map +1 -1
- package/dist/src/internal.js +72 -3
- package/dist/src/internal.js.map +1 -1
- package/dist/src/plan/assemble.d.ts +2224 -0
- package/dist/src/plan/assemble.d.ts.map +1 -0
- package/dist/src/plan/assemble.js +210 -0
- package/dist/src/plan/assemble.js.map +1 -0
- package/dist/src/plan/builders.d.ts +790 -0
- package/dist/src/plan/builders.d.ts.map +1 -0
- package/dist/src/plan/builders.js +749 -0
- package/dist/src/plan/builders.js.map +1 -0
- package/dist/src/plan/event-rows.d.ts +2565 -0
- package/dist/src/plan/event-rows.d.ts.map +1 -0
- package/dist/src/plan/event-rows.js +689 -0
- package/dist/src/plan/event-rows.js.map +1 -0
- package/dist/src/plan/factories.d.ts +458 -0
- package/dist/src/plan/factories.d.ts.map +1 -0
- package/dist/src/plan/factories.js +484 -0
- package/dist/src/plan/factories.js.map +1 -0
- package/dist/src/plan/index.d.ts +672 -0
- package/dist/src/plan/index.d.ts.map +1 -0
- package/dist/src/plan/index.js +532 -0
- package/dist/src/plan/index.js.map +1 -0
- package/dist/src/plan/ir.d.ts +2594 -0
- package/dist/src/plan/ir.d.ts.map +1 -0
- package/dist/src/plan/ir.js +78 -0
- package/dist/src/plan/ir.js.map +1 -0
- package/dist/src/plan/library.d.ts +772 -0
- package/dist/src/plan/library.d.ts.map +1 -0
- package/dist/src/plan/library.js +424 -0
- package/dist/src/plan/library.js.map +1 -0
- package/dist/src/plan/ordered-source.d.ts +27 -0
- package/dist/src/plan/ordered-source.d.ts.map +1 -0
- package/dist/src/plan/ordered-source.js +48 -0
- package/dist/src/plan/ordered-source.js.map +1 -0
- package/dist/src/plan/over.d.ts +247 -0
- package/dist/src/plan/over.d.ts.map +1 -0
- package/dist/src/plan/over.js +266 -0
- package/dist/src/plan/over.js.map +1 -0
- package/dist/src/plan/pick.d.ts +78 -0
- package/dist/src/plan/pick.d.ts.map +1 -0
- package/dist/src/plan/pick.js +146 -0
- package/dist/src/plan/pick.js.map +1 -0
- package/dist/src/plan/plan.d.ts +11611 -0
- package/dist/src/plan/plan.d.ts.map +1 -0
- package/dist/src/plan/plan.js +428 -0
- package/dist/src/plan/plan.js.map +1 -0
- package/dist/src/plan/refs.d.ts +218 -0
- package/dist/src/plan/refs.d.ts.map +1 -0
- package/dist/src/plan/refs.js +226 -0
- package/dist/src/plan/refs.js.map +1 -0
- package/dist/src/plan/root.d.ts +290 -0
- package/dist/src/plan/root.d.ts.map +1 -0
- package/dist/src/plan/root.js +463 -0
- package/dist/src/plan/root.js.map +1 -0
- package/dist/src/plan/series.d.ts +13554 -0
- package/dist/src/plan/series.d.ts.map +1 -0
- package/dist/src/plan/series.js +1921 -0
- package/dist/src/plan/series.js.map +1 -0
- package/dist/src/plan/types.d.ts +12400 -0
- package/dist/src/plan/types.d.ts.map +1 -0
- package/dist/src/plan/types.js +1335 -0
- package/dist/src/plan/types.js.map +1 -0
- package/dist/src/roster/coverage.d.ts +240 -0
- package/dist/src/roster/coverage.d.ts.map +1 -0
- package/dist/src/roster/coverage.js +109 -0
- package/dist/src/roster/coverage.js.map +1 -0
- package/dist/src/roster/index.d.ts +4028 -0
- package/dist/src/roster/index.d.ts.map +1 -0
- package/dist/src/roster/index.js +115 -0
- package/dist/src/roster/index.js.map +1 -0
- package/dist/src/roster/library.d.ts +106 -0
- package/dist/src/roster/library.d.ts.map +1 -0
- package/dist/src/roster/library.js +78 -0
- package/dist/src/roster/library.js.map +1 -0
- package/dist/src/roster/people.d.ts +50 -0
- package/dist/src/roster/people.d.ts.map +1 -0
- package/dist/src/roster/people.js +32 -0
- package/dist/src/roster/people.js.map +1 -0
- package/dist/src/roster/rules.d.ts +275 -0
- package/dist/src/roster/rules.d.ts.map +1 -0
- package/dist/src/roster/rules.js +162 -0
- package/dist/src/roster/rules.js.map +1 -0
- package/dist/src/roster/types.d.ts +672 -0
- package/dist/src/roster/types.d.ts.map +1 -0
- package/dist/src/roster/types.js +248 -0
- package/dist/src/roster/types.js.map +1 -0
- package/dist/src/roster/visibility.d.ts +66 -0
- package/dist/src/roster/visibility.d.ts.map +1 -0
- package/dist/src/roster/visibility.js +25 -0
- package/dist/src/roster/visibility.js.map +1 -0
- package/dist/src/schedule/days.d.ts +54 -0
- package/dist/src/schedule/days.d.ts.map +1 -0
- package/dist/src/schedule/days.js +68 -0
- package/dist/src/schedule/days.js.map +1 -0
- package/dist/src/schedule/events.d.ts +433 -0
- package/dist/src/schedule/events.d.ts.map +1 -0
- package/dist/src/schedule/events.js +851 -0
- package/dist/src/schedule/events.js.map +1 -0
- package/dist/src/schedule/index.d.ts +150 -0
- package/dist/src/schedule/index.d.ts.map +1 -0
- package/dist/src/schedule/index.js +132 -0
- package/dist/src/schedule/index.js.map +1 -0
- package/dist/src/schedule/library.d.ts +70 -0
- package/dist/src/schedule/library.d.ts.map +1 -0
- package/dist/src/schedule/library.js +102 -0
- package/dist/src/schedule/library.js.map +1 -0
- package/dist/src/schedule/patch.d.ts +74 -0
- package/dist/src/schedule/patch.d.ts.map +1 -0
- package/dist/src/schedule/patch.js +68 -0
- package/dist/src/schedule/patch.js.map +1 -0
- package/dist/src/schedule/record-window.d.ts +189 -0
- package/dist/src/schedule/record-window.d.ts.map +1 -0
- package/dist/src/schedule/record-window.js +95 -0
- package/dist/src/schedule/record-window.js.map +1 -0
- package/dist/src/schedule/resources.d.ts +165 -0
- package/dist/src/schedule/resources.d.ts.map +1 -0
- package/dist/src/schedule/resources.js +234 -0
- package/dist/src/schedule/resources.js.map +1 -0
- package/dist/src/schedule/templates.d.ts +47 -0
- package/dist/src/schedule/templates.d.ts.map +1 -0
- package/dist/src/schedule/templates.js +61 -0
- package/dist/src/schedule/templates.js.map +1 -0
- package/dist/src/schedule/types.d.ts +1677 -0
- package/dist/src/schedule/types.d.ts.map +1 -0
- package/dist/src/schedule/types.js +374 -0
- package/dist/src/schedule/types.js.map +1 -0
- package/dist/src/schedule/window.d.ts +154 -0
- package/dist/src/schedule/window.d.ts.map +1 -0
- package/dist/src/schedule/window.js +363 -0
- package/dist/src/schedule/window.js.map +1 -0
- package/dist/src/sheet/bridge.d.ts +385 -0
- package/dist/src/sheet/bridge.d.ts.map +1 -0
- package/dist/src/sheet/bridge.js +809 -0
- package/dist/src/sheet/bridge.js.map +1 -0
- package/dist/src/sheet/columns.d.ts +410 -0
- package/dist/src/sheet/columns.d.ts.map +1 -0
- package/dist/src/sheet/columns.js +99 -0
- package/dist/src/sheet/columns.js.map +1 -0
- package/dist/src/sheet/context-bridge.d.ts +48 -0
- package/dist/src/sheet/context-bridge.d.ts.map +1 -0
- package/dist/src/sheet/context-bridge.js +216 -0
- package/dist/src/sheet/context-bridge.js.map +1 -0
- package/dist/src/sheet/draft-bridge.d.ts +37 -0
- package/dist/src/sheet/draft-bridge.d.ts.map +1 -0
- package/dist/src/sheet/draft-bridge.js +153 -0
- package/dist/src/sheet/draft-bridge.js.map +1 -0
- package/dist/src/sheet/drafts.d.ts +14 -0
- package/dist/src/sheet/drafts.d.ts.map +1 -0
- package/dist/src/sheet/drafts.js +14 -0
- package/dist/src/sheet/drafts.js.map +1 -0
- package/dist/src/sheet/editing-bridge.d.ts +40 -0
- package/dist/src/sheet/editing-bridge.d.ts.map +1 -0
- package/dist/src/sheet/editing-bridge.js +231 -0
- package/dist/src/sheet/editing-bridge.js.map +1 -0
- package/dist/src/sheet/editing-types.d.ts +268 -0
- package/dist/src/sheet/editing-types.d.ts.map +1 -0
- package/dist/src/sheet/editing-types.js +34 -0
- package/dist/src/sheet/editing-types.js.map +1 -0
- package/dist/src/sheet/edits.d.ts +37 -0
- package/dist/src/sheet/edits.d.ts.map +1 -0
- package/dist/src/sheet/edits.js +31 -0
- package/dist/src/sheet/edits.js.map +1 -0
- package/dist/src/sheet/fields.d.ts +693 -0
- package/dist/src/sheet/fields.d.ts.map +1 -0
- package/dist/src/sheet/fields.js +280 -0
- package/dist/src/sheet/fields.js.map +1 -0
- package/dist/src/sheet/group.d.ts +165 -0
- package/dist/src/sheet/group.d.ts.map +1 -0
- package/dist/src/sheet/group.js +52 -0
- package/dist/src/sheet/group.js.map +1 -0
- package/dist/src/sheet/index.d.ts +542 -0
- package/dist/src/sheet/index.d.ts.map +1 -0
- package/dist/src/sheet/index.js +387 -0
- package/dist/src/sheet/index.js.map +1 -0
- package/dist/src/sheet/library.d.ts +284 -0
- package/dist/src/sheet/library.d.ts.map +1 -0
- package/dist/src/sheet/library.js +259 -0
- package/dist/src/sheet/library.js.map +1 -0
- package/dist/src/sheet/link.d.ts +398 -0
- package/dist/src/sheet/link.d.ts.map +1 -0
- package/dist/src/sheet/link.js +228 -0
- package/dist/src/sheet/link.js.map +1 -0
- package/dist/src/sheet/record.d.ts +75 -0
- package/dist/src/sheet/record.d.ts.map +1 -0
- package/dist/src/sheet/record.js +128 -0
- package/dist/src/sheet/record.js.map +1 -0
- package/dist/src/sheet/registers.d.ts +681 -0
- package/dist/src/sheet/registers.d.ts.map +1 -0
- package/dist/src/sheet/registers.js +671 -0
- package/dist/src/sheet/registers.js.map +1 -0
- package/dist/src/sheet/root.d.ts +329 -0
- package/dist/src/sheet/root.d.ts.map +1 -0
- package/dist/src/sheet/root.js +511 -0
- package/dist/src/sheet/root.js.map +1 -0
- package/dist/src/sheet/seed-bridge.d.ts +14 -0
- package/dist/src/sheet/seed-bridge.d.ts.map +1 -0
- package/dist/src/sheet/seed-bridge.js +51 -0
- package/dist/src/sheet/seed-bridge.js.map +1 -0
- package/dist/src/sheet/sheet.d.ts +11819 -0
- package/dist/src/sheet/sheet.d.ts.map +1 -0
- package/dist/src/sheet/sheet.js +236 -0
- package/dist/src/sheet/sheet.js.map +1 -0
- package/dist/src/sheet/sub-rows.d.ts +299 -0
- package/dist/src/sheet/sub-rows.d.ts.map +1 -0
- package/dist/src/sheet/sub-rows.js +272 -0
- package/dist/src/sheet/sub-rows.js.map +1 -0
- package/dist/src/sheet/templates.d.ts +161 -0
- package/dist/src/sheet/templates.d.ts.map +1 -0
- package/dist/src/sheet/templates.js +122 -0
- package/dist/src/sheet/templates.js.map +1 -0
- package/dist/src/sheet/transactions.d.ts +76 -0
- package/dist/src/sheet/transactions.d.ts.map +1 -0
- package/dist/src/sheet/transactions.js +40 -0
- package/dist/src/sheet/transactions.js.map +1 -0
- package/dist/src/sheet/types.d.ts +15226 -0
- package/dist/src/sheet/types.d.ts.map +1 -0
- package/dist/src/sheet/types.js +1070 -0
- package/dist/src/sheet/types.js.map +1 -0
- package/dist/src/sheet/views.d.ts +29 -0
- package/dist/src/sheet/views.d.ts.map +1 -0
- package/dist/src/sheet/views.js +43 -0
- package/dist/src/sheet/views.js.map +1 -0
- package/dist/src/studio/component.d.ts.map +1 -1
- package/dist/src/studio/component.js +11 -8
- package/dist/src/studio/component.js.map +1 -1
- package/dist/src/utils/derive.d.ts +134 -8
- package/dist/src/utils/derive.d.ts.map +1 -1
- package/dist/src/utils/derive.js +409 -7
- package/dist/src/utils/derive.js.map +1 -1
- package/dist/src/utils/ordered-source.d.ts +38 -0
- package/dist/src/utils/ordered-source.d.ts.map +1 -0
- package/dist/src/utils/ordered-source.js +45 -0
- package/dist/src/utils/ordered-source.js.map +1 -0
- package/dist/src/utils/row-inspector.d.ts +36 -0
- package/dist/src/utils/row-inspector.d.ts.map +1 -0
- package/dist/src/utils/row-inspector.js +49 -0
- package/dist/src/utils/row-inspector.js.map +1 -0
- package/dist/test/bind/data/data.examples.d.ts +21 -19
- package/dist/test/bind/data/data.examples.d.ts.map +1 -1
- package/dist/test/bind/data/data.examples.js +122 -122
- package/dist/test/bind/data/data.examples.js.map +1 -1
- package/dist/test/bind/record/record.examples.d.ts.map +1 -1
- package/dist/test/bind/record/record.examples.js +9 -9
- package/dist/test/bind/record/record.examples.js.map +1 -1
- package/dist/test/calendar/calendar-records.examples.d.ts +228 -0
- package/dist/test/calendar/calendar-records.examples.d.ts.map +1 -0
- package/dist/test/calendar/calendar-records.examples.js +91 -0
- package/dist/test/calendar/calendar-records.examples.js.map +1 -0
- package/dist/test/calendar/calendar.examples.d.ts +776 -0
- package/dist/test/calendar/calendar.examples.d.ts.map +1 -0
- package/dist/test/calendar/calendar.examples.js +336 -0
- package/dist/test/calendar/calendar.examples.js.map +1 -0
- package/dist/test/decision/journal.examples.d.ts +28 -28
- package/dist/test/decision/journal.examples.d.ts.map +1 -1
- package/dist/test/decision/journal.examples.js +4 -4
- package/dist/test/decision/journal.examples.js.map +1 -1
- package/dist/test/decision/queue.examples.d.ts.map +1 -1
- package/dist/test/decision/queue.examples.js +5 -7
- package/dist/test/decision/queue.examples.js.map +1 -1
- package/dist/test/flowchart/flowchart.examples.d.ts +3713 -0
- package/dist/test/flowchart/flowchart.examples.d.ts.map +1 -0
- package/dist/test/flowchart/flowchart.examples.js +465 -0
- package/dist/test/flowchart/flowchart.examples.js.map +1 -0
- package/dist/test/plan/plan-events.examples.d.ts +3666 -0
- package/dist/test/plan/plan-events.examples.d.ts.map +1 -0
- package/dist/test/plan/plan-events.examples.js +773 -0
- package/dist/test/plan/plan-events.examples.js.map +1 -0
- package/dist/test/plan/plan-records.examples.d.ts +3 -0
- package/dist/test/plan/plan-records.examples.d.ts.map +1 -0
- package/dist/test/plan/plan-records.examples.js +45 -0
- package/dist/test/plan/plan-records.examples.js.map +1 -0
- package/dist/test/plan/plan-windows.examples.d.ts +588 -0
- package/dist/test/plan/plan-windows.examples.d.ts.map +1 -0
- package/dist/test/plan/plan-windows.examples.js +170 -0
- package/dist/test/plan/plan-windows.examples.js.map +1 -0
- package/dist/test/plan/plan.examples.d.ts +8095 -0
- package/dist/test/plan/plan.examples.d.ts.map +1 -0
- package/dist/test/plan/plan.examples.js +2500 -0
- package/dist/test/plan/plan.examples.js.map +1 -0
- package/dist/test/roster/domain.examples.d.ts +367 -0
- package/dist/test/roster/domain.examples.d.ts.map +1 -0
- package/dist/test/roster/domain.examples.js +72 -0
- package/dist/test/roster/domain.examples.js.map +1 -0
- package/dist/test/roster/roster-records.examples.d.ts +729 -0
- package/dist/test/roster/roster-records.examples.d.ts.map +1 -0
- package/dist/test/roster/roster-records.examples.js +86 -0
- package/dist/test/roster/roster-records.examples.js.map +1 -0
- package/dist/test/roster/roster.examples.d.ts +750 -0
- package/dist/test/roster/roster.examples.d.ts.map +1 -0
- package/dist/test/roster/roster.examples.js +198 -0
- package/dist/test/roster/roster.examples.js.map +1 -0
- package/dist/test/roster/warehouse.d.ts +87 -0
- package/dist/test/roster/warehouse.d.ts.map +1 -0
- package/dist/test/roster/warehouse.js +883 -0
- package/dist/test/roster/warehouse.js.map +1 -0
- package/dist/test/sheet/sheet-link.examples.d.ts +7 -0
- package/dist/test/sheet/sheet-link.examples.d.ts.map +1 -0
- package/dist/test/sheet/sheet-link.examples.js +41 -0
- package/dist/test/sheet/sheet-link.examples.js.map +1 -0
- package/dist/test/sheet/sheet-records.examples.d.ts +421 -0
- package/dist/test/sheet/sheet-records.examples.d.ts.map +1 -0
- package/dist/test/sheet/sheet-records.examples.js +79 -0
- package/dist/test/sheet/sheet-records.examples.js.map +1 -0
- package/dist/test/sheet/sheet-transactions.examples.d.ts +7 -0
- package/dist/test/sheet/sheet-transactions.examples.d.ts.map +1 -0
- package/dist/test/sheet/sheet-transactions.examples.js +58 -0
- package/dist/test/sheet/sheet-transactions.examples.js.map +1 -0
- package/dist/test/sheet/sheet.examples.d.ts +5562 -0
- package/dist/test/sheet/sheet.examples.d.ts.map +1 -0
- package/dist/test/sheet/sheet.examples.js +1178 -0
- package/dist/test/sheet/sheet.examples.js.map +1 -0
- package/dist/test/studio/studio.examples.d.ts.map +1 -1
- package/dist/test/studio/studio.examples.js +11 -11
- package/dist/test/studio/studio.examples.js.map +1 -1
- package/package.json +12 -9
|
@@ -0,0 +1,693 @@
|
|
|
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
|
+
* The Sheet's inspector forms (#1188, `Sheet Builder Spec.md` §5.3,
|
|
7
|
+
* SB10): every field of a row — a grouped sheet's line — and of a group,
|
|
8
|
+
* resolved through `Fields`, each column's kind its field's default hint and
|
|
9
|
+
* an explicit hint (`fields`, `groupFields`) winning.
|
|
10
|
+
*
|
|
11
|
+
* | The field's column | Its editor |
|
|
12
|
+
* |---|---|
|
|
13
|
+
* | `text` | Text |
|
|
14
|
+
* | `custom` | Text — the column's own `print` shows it, its `parse` reads it |
|
|
15
|
+
* | `date` | The date field, at the row's date level (the renderer sets its precision) |
|
|
16
|
+
* | `quantity`, `integer` | The number field — a quantity in the driver's unit |
|
|
17
|
+
* | `lookup`, `reference`, `enum` | A select over the register's members (`reference` of the register) |
|
|
18
|
+
* | `set`, `link` | Read only here: the renderer draws the members, and edits them in the grid |
|
|
19
|
+
* | `stamped`, a `value` projection, `editable: false` | Read only |
|
|
20
|
+
* | No column | By its type, as `Fields.specs` resolves it |
|
|
21
|
+
*
|
|
22
|
+
* A field with a column is read and written through it: its spec names the
|
|
23
|
+
* column (or the band cell, on a group), and an edit in the inspector is the
|
|
24
|
+
* cell's write, as typing in it is (SB52). A field with none is the draft's
|
|
25
|
+
* own. A hint may label a column's field, give it a help line, make it read
|
|
26
|
+
* only or hide it; an editor hint must fit the field's type, and a read-only
|
|
27
|
+
* column takes none. Each form carries the cells a patch of its struct sets
|
|
28
|
+
* (`encode`) — the projection the copilot's proposals and the templates go
|
|
29
|
+
* through — so a whole-row write (a custom inspector's `update`, SB58) lands
|
|
30
|
+
* on the cells as the grid would write them.
|
|
31
|
+
*
|
|
32
|
+
* @packageDocumentation
|
|
33
|
+
*/
|
|
34
|
+
import { ArrayType, BlobType, FunctionType, OptionType, StringType, StructType, type ExprType } from "@elaraai/east";
|
|
35
|
+
import { type SheetBridge, type SheetColumnMeta } from "./bridge.js";
|
|
36
|
+
/**
|
|
37
|
+
* One field of an inspector form on the wire.
|
|
38
|
+
*
|
|
39
|
+
* @property spec - What the form draws — `Fields`' spec
|
|
40
|
+
* @property column - The column it is read and written through, by key (on a group, the band cell's key); `none` for a field the draft holds alone
|
|
41
|
+
*/
|
|
42
|
+
export declare const SheetFieldType: StructType<{
|
|
43
|
+
readonly spec: StructType<{
|
|
44
|
+
readonly path: ArrayType<StringType>;
|
|
45
|
+
readonly label: StringType;
|
|
46
|
+
readonly help: OptionType<StringType>;
|
|
47
|
+
readonly group: OptionType<StringType>;
|
|
48
|
+
readonly type: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
49
|
+
readonly Never: import("@elaraai/east").NullType;
|
|
50
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
51
|
+
readonly Boolean: import("@elaraai/east").NullType;
|
|
52
|
+
readonly Integer: import("@elaraai/east").NullType;
|
|
53
|
+
readonly Float: import("@elaraai/east").NullType;
|
|
54
|
+
readonly String: import("@elaraai/east").NullType;
|
|
55
|
+
readonly DateTime: import("@elaraai/east").NullType;
|
|
56
|
+
readonly Blob: import("@elaraai/east").NullType;
|
|
57
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
58
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
59
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
60
|
+
readonly Dict: StructType<{
|
|
61
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
62
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
63
|
+
}>;
|
|
64
|
+
readonly Struct: ArrayType<StructType<{
|
|
65
|
+
readonly name: StringType;
|
|
66
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
67
|
+
}>>;
|
|
68
|
+
readonly Variant: ArrayType<StructType<{
|
|
69
|
+
readonly name: StringType;
|
|
70
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
71
|
+
}>>;
|
|
72
|
+
readonly Recursive: import("@elaraai/east").VariantType<{
|
|
73
|
+
readonly ref: import("@elaraai/east").IntegerType;
|
|
74
|
+
readonly wrapper: StructType<{
|
|
75
|
+
readonly id: import("@elaraai/east").IntegerType;
|
|
76
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
77
|
+
}>;
|
|
78
|
+
}>;
|
|
79
|
+
readonly Function: StructType<{
|
|
80
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
81
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
82
|
+
}>;
|
|
83
|
+
readonly AsyncFunction: StructType<{
|
|
84
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
85
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
86
|
+
}>;
|
|
87
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
88
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
89
|
+
}>>;
|
|
90
|
+
readonly optional: import("@elaraai/east").BooleanType;
|
|
91
|
+
readonly editor: import("@elaraai/east").VariantType<{
|
|
92
|
+
readonly text: StructType<{
|
|
93
|
+
readonly placeholder: OptionType<StringType>;
|
|
94
|
+
}>;
|
|
95
|
+
readonly number: StructType<{
|
|
96
|
+
readonly unit: OptionType<StringType>;
|
|
97
|
+
readonly step: OptionType<import("@elaraai/east").FloatType>;
|
|
98
|
+
readonly min: OptionType<import("@elaraai/east").FloatType>;
|
|
99
|
+
readonly max: OptionType<import("@elaraai/east").FloatType>;
|
|
100
|
+
}>;
|
|
101
|
+
readonly checkbox: import("@elaraai/east").NullType;
|
|
102
|
+
readonly datetime: StructType<{
|
|
103
|
+
readonly precision: OptionType<import("@elaraai/east").VariantType<{
|
|
104
|
+
readonly date: import("@elaraai/east").NullType;
|
|
105
|
+
readonly time: import("@elaraai/east").NullType;
|
|
106
|
+
readonly datetime: import("@elaraai/east").NullType;
|
|
107
|
+
}>>;
|
|
108
|
+
}>;
|
|
109
|
+
readonly select: ArrayType<StructType<{
|
|
110
|
+
readonly case: StringType;
|
|
111
|
+
readonly label: StringType;
|
|
112
|
+
}>>;
|
|
113
|
+
readonly tags: StructType<{
|
|
114
|
+
readonly options: ArrayType<StringType>;
|
|
115
|
+
}>;
|
|
116
|
+
readonly checklist: StructType<{
|
|
117
|
+
readonly text: StringType;
|
|
118
|
+
readonly done: StringType;
|
|
119
|
+
}>;
|
|
120
|
+
readonly reference: StructType<{
|
|
121
|
+
readonly of: StringType;
|
|
122
|
+
}>;
|
|
123
|
+
readonly readonly: import("@elaraai/east").NullType;
|
|
124
|
+
}>;
|
|
125
|
+
}>;
|
|
126
|
+
readonly column: OptionType<StringType>;
|
|
127
|
+
}>;
|
|
128
|
+
/** Type representing {@link SheetFieldType}. */
|
|
129
|
+
export type SheetFieldType = typeof SheetFieldType;
|
|
130
|
+
/**
|
|
131
|
+
* One inspector form on the wire: the struct it edits, its fields in the
|
|
132
|
+
* form's order, and the cells a patch of the struct sets.
|
|
133
|
+
*
|
|
134
|
+
* @property type - The struct the form edits — the row (a grouped sheet's line), or the group
|
|
135
|
+
* @property fields - Its fields: the hinted first, in hint order, then the rest in declared order
|
|
136
|
+
* @property columns - The struct's fields its editable columns write — a column's own, a link's other half — whatever the form shows: a whole-row write sets these through `encode`
|
|
137
|
+
* @property readonly - The struct's fields its read-only columns show — a stamped code, a `value` projection, a column `editable: false` — which a whole-row write leaves as they are, as the grid does; every other field a whole-row write sets on the draft
|
|
138
|
+
* @property encode - A `Sheet.Types.Patch` of the struct, encoded (beast2) → the cells it sets through the sheet's editable columns (or the band's cells)
|
|
139
|
+
*/
|
|
140
|
+
export declare const SheetFormType: StructType<{
|
|
141
|
+
readonly type: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
142
|
+
readonly Never: import("@elaraai/east").NullType;
|
|
143
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
144
|
+
readonly Boolean: import("@elaraai/east").NullType;
|
|
145
|
+
readonly Integer: import("@elaraai/east").NullType;
|
|
146
|
+
readonly Float: import("@elaraai/east").NullType;
|
|
147
|
+
readonly String: import("@elaraai/east").NullType;
|
|
148
|
+
readonly DateTime: import("@elaraai/east").NullType;
|
|
149
|
+
readonly Blob: import("@elaraai/east").NullType;
|
|
150
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
151
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
152
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
153
|
+
readonly Dict: StructType<{
|
|
154
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
155
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
156
|
+
}>;
|
|
157
|
+
readonly Struct: ArrayType<StructType<{
|
|
158
|
+
readonly name: StringType;
|
|
159
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
160
|
+
}>>;
|
|
161
|
+
readonly Variant: ArrayType<StructType<{
|
|
162
|
+
readonly name: StringType;
|
|
163
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
164
|
+
}>>;
|
|
165
|
+
readonly Recursive: import("@elaraai/east").VariantType<{
|
|
166
|
+
readonly ref: import("@elaraai/east").IntegerType;
|
|
167
|
+
readonly wrapper: StructType<{
|
|
168
|
+
readonly id: import("@elaraai/east").IntegerType;
|
|
169
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
170
|
+
}>;
|
|
171
|
+
}>;
|
|
172
|
+
readonly Function: StructType<{
|
|
173
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
174
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
175
|
+
}>;
|
|
176
|
+
readonly AsyncFunction: StructType<{
|
|
177
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
178
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
179
|
+
}>;
|
|
180
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
181
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
182
|
+
}>>;
|
|
183
|
+
readonly fields: ArrayType<StructType<{
|
|
184
|
+
readonly spec: StructType<{
|
|
185
|
+
readonly path: ArrayType<StringType>;
|
|
186
|
+
readonly label: StringType;
|
|
187
|
+
readonly help: OptionType<StringType>;
|
|
188
|
+
readonly group: OptionType<StringType>;
|
|
189
|
+
readonly type: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
190
|
+
readonly Never: import("@elaraai/east").NullType;
|
|
191
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
192
|
+
readonly Boolean: import("@elaraai/east").NullType;
|
|
193
|
+
readonly Integer: import("@elaraai/east").NullType;
|
|
194
|
+
readonly Float: import("@elaraai/east").NullType;
|
|
195
|
+
readonly String: import("@elaraai/east").NullType;
|
|
196
|
+
readonly DateTime: import("@elaraai/east").NullType;
|
|
197
|
+
readonly Blob: import("@elaraai/east").NullType;
|
|
198
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
199
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
200
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
201
|
+
readonly Dict: StructType<{
|
|
202
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
203
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
204
|
+
}>;
|
|
205
|
+
readonly Struct: ArrayType<StructType<{
|
|
206
|
+
readonly name: StringType;
|
|
207
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
208
|
+
}>>;
|
|
209
|
+
readonly Variant: ArrayType<StructType<{
|
|
210
|
+
readonly name: StringType;
|
|
211
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
212
|
+
}>>;
|
|
213
|
+
readonly Recursive: import("@elaraai/east").VariantType<{
|
|
214
|
+
readonly ref: import("@elaraai/east").IntegerType;
|
|
215
|
+
readonly wrapper: StructType<{
|
|
216
|
+
readonly id: import("@elaraai/east").IntegerType;
|
|
217
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
218
|
+
}>;
|
|
219
|
+
}>;
|
|
220
|
+
readonly Function: StructType<{
|
|
221
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
222
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
223
|
+
}>;
|
|
224
|
+
readonly AsyncFunction: StructType<{
|
|
225
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
226
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
227
|
+
}>;
|
|
228
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
229
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
230
|
+
}>>;
|
|
231
|
+
readonly optional: import("@elaraai/east").BooleanType;
|
|
232
|
+
readonly editor: import("@elaraai/east").VariantType<{
|
|
233
|
+
readonly text: StructType<{
|
|
234
|
+
readonly placeholder: OptionType<StringType>;
|
|
235
|
+
}>;
|
|
236
|
+
readonly number: StructType<{
|
|
237
|
+
readonly unit: OptionType<StringType>;
|
|
238
|
+
readonly step: OptionType<import("@elaraai/east").FloatType>;
|
|
239
|
+
readonly min: OptionType<import("@elaraai/east").FloatType>;
|
|
240
|
+
readonly max: OptionType<import("@elaraai/east").FloatType>;
|
|
241
|
+
}>;
|
|
242
|
+
readonly checkbox: import("@elaraai/east").NullType;
|
|
243
|
+
readonly datetime: StructType<{
|
|
244
|
+
readonly precision: OptionType<import("@elaraai/east").VariantType<{
|
|
245
|
+
readonly date: import("@elaraai/east").NullType;
|
|
246
|
+
readonly time: import("@elaraai/east").NullType;
|
|
247
|
+
readonly datetime: import("@elaraai/east").NullType;
|
|
248
|
+
}>>;
|
|
249
|
+
}>;
|
|
250
|
+
readonly select: ArrayType<StructType<{
|
|
251
|
+
readonly case: StringType;
|
|
252
|
+
readonly label: StringType;
|
|
253
|
+
}>>;
|
|
254
|
+
readonly tags: StructType<{
|
|
255
|
+
readonly options: ArrayType<StringType>;
|
|
256
|
+
}>;
|
|
257
|
+
readonly checklist: StructType<{
|
|
258
|
+
readonly text: StringType;
|
|
259
|
+
readonly done: StringType;
|
|
260
|
+
}>;
|
|
261
|
+
readonly reference: StructType<{
|
|
262
|
+
readonly of: StringType;
|
|
263
|
+
}>;
|
|
264
|
+
readonly readonly: import("@elaraai/east").NullType;
|
|
265
|
+
}>;
|
|
266
|
+
}>;
|
|
267
|
+
readonly column: OptionType<StringType>;
|
|
268
|
+
}>>;
|
|
269
|
+
readonly columns: ArrayType<StringType>;
|
|
270
|
+
readonly readonly: ArrayType<StringType>;
|
|
271
|
+
readonly encode: FunctionType<[BlobType], import("@elaraai/east").DictType<StringType, import("@elaraai/east").VariantType<{
|
|
272
|
+
readonly Invalid: StringType;
|
|
273
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
274
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
275
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
276
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
277
|
+
readonly String: StringType;
|
|
278
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
279
|
+
readonly Link: StructType<{
|
|
280
|
+
readonly from: ArrayType<import("@elaraai/east").VariantType<{
|
|
281
|
+
readonly identified: StructType<{
|
|
282
|
+
readonly key: StringType;
|
|
283
|
+
}>;
|
|
284
|
+
readonly range: StructType<{
|
|
285
|
+
readonly from: StringType;
|
|
286
|
+
readonly to: StringType;
|
|
287
|
+
}>;
|
|
288
|
+
readonly counted: StructType<{
|
|
289
|
+
readonly n: import("@elaraai/east").IntegerType;
|
|
290
|
+
readonly key: StringType;
|
|
291
|
+
}>;
|
|
292
|
+
readonly placeholder: import("@elaraai/east").NullType;
|
|
293
|
+
readonly text: StringType;
|
|
294
|
+
}>>;
|
|
295
|
+
readonly to: ArrayType<import("@elaraai/east").VariantType<{
|
|
296
|
+
readonly identified: StructType<{
|
|
297
|
+
readonly key: StringType;
|
|
298
|
+
}>;
|
|
299
|
+
readonly range: StructType<{
|
|
300
|
+
readonly from: StringType;
|
|
301
|
+
readonly to: StringType;
|
|
302
|
+
}>;
|
|
303
|
+
readonly counted: StructType<{
|
|
304
|
+
readonly n: import("@elaraai/east").IntegerType;
|
|
305
|
+
readonly key: StringType;
|
|
306
|
+
}>;
|
|
307
|
+
readonly placeholder: import("@elaraai/east").NullType;
|
|
308
|
+
readonly text: StringType;
|
|
309
|
+
}>>;
|
|
310
|
+
}>;
|
|
311
|
+
}>>>;
|
|
312
|
+
}>;
|
|
313
|
+
/** Type representing {@link SheetFormType}. */
|
|
314
|
+
export type SheetFormType = typeof SheetFormType;
|
|
315
|
+
/**
|
|
316
|
+
* The inspector's forms on the wire.
|
|
317
|
+
*
|
|
318
|
+
* @property row - A row's — a grouped sheet's line's
|
|
319
|
+
* @property group - A group's own fields, on a grouped sheet
|
|
320
|
+
*/
|
|
321
|
+
export declare const SheetFormsType: StructType<{
|
|
322
|
+
readonly row: StructType<{
|
|
323
|
+
readonly type: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
324
|
+
readonly Never: import("@elaraai/east").NullType;
|
|
325
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
326
|
+
readonly Boolean: import("@elaraai/east").NullType;
|
|
327
|
+
readonly Integer: import("@elaraai/east").NullType;
|
|
328
|
+
readonly Float: import("@elaraai/east").NullType;
|
|
329
|
+
readonly String: import("@elaraai/east").NullType;
|
|
330
|
+
readonly DateTime: import("@elaraai/east").NullType;
|
|
331
|
+
readonly Blob: import("@elaraai/east").NullType;
|
|
332
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
333
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
334
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
335
|
+
readonly Dict: StructType<{
|
|
336
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
337
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
338
|
+
}>;
|
|
339
|
+
readonly Struct: ArrayType<StructType<{
|
|
340
|
+
readonly name: StringType;
|
|
341
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
342
|
+
}>>;
|
|
343
|
+
readonly Variant: ArrayType<StructType<{
|
|
344
|
+
readonly name: StringType;
|
|
345
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
346
|
+
}>>;
|
|
347
|
+
readonly Recursive: import("@elaraai/east").VariantType<{
|
|
348
|
+
readonly ref: import("@elaraai/east").IntegerType;
|
|
349
|
+
readonly wrapper: StructType<{
|
|
350
|
+
readonly id: import("@elaraai/east").IntegerType;
|
|
351
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
352
|
+
}>;
|
|
353
|
+
}>;
|
|
354
|
+
readonly Function: StructType<{
|
|
355
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
356
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
357
|
+
}>;
|
|
358
|
+
readonly AsyncFunction: StructType<{
|
|
359
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
360
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
361
|
+
}>;
|
|
362
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
363
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
364
|
+
}>>;
|
|
365
|
+
readonly fields: ArrayType<StructType<{
|
|
366
|
+
readonly spec: StructType<{
|
|
367
|
+
readonly path: ArrayType<StringType>;
|
|
368
|
+
readonly label: StringType;
|
|
369
|
+
readonly help: OptionType<StringType>;
|
|
370
|
+
readonly group: OptionType<StringType>;
|
|
371
|
+
readonly type: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
372
|
+
readonly Never: import("@elaraai/east").NullType;
|
|
373
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
374
|
+
readonly Boolean: import("@elaraai/east").NullType;
|
|
375
|
+
readonly Integer: import("@elaraai/east").NullType;
|
|
376
|
+
readonly Float: import("@elaraai/east").NullType;
|
|
377
|
+
readonly String: import("@elaraai/east").NullType;
|
|
378
|
+
readonly DateTime: import("@elaraai/east").NullType;
|
|
379
|
+
readonly Blob: import("@elaraai/east").NullType;
|
|
380
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
381
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
382
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
383
|
+
readonly Dict: StructType<{
|
|
384
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
385
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
386
|
+
}>;
|
|
387
|
+
readonly Struct: ArrayType<StructType<{
|
|
388
|
+
readonly name: StringType;
|
|
389
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
390
|
+
}>>;
|
|
391
|
+
readonly Variant: ArrayType<StructType<{
|
|
392
|
+
readonly name: StringType;
|
|
393
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
394
|
+
}>>;
|
|
395
|
+
readonly Recursive: import("@elaraai/east").VariantType<{
|
|
396
|
+
readonly ref: import("@elaraai/east").IntegerType;
|
|
397
|
+
readonly wrapper: StructType<{
|
|
398
|
+
readonly id: import("@elaraai/east").IntegerType;
|
|
399
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
400
|
+
}>;
|
|
401
|
+
}>;
|
|
402
|
+
readonly Function: StructType<{
|
|
403
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
404
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
405
|
+
}>;
|
|
406
|
+
readonly AsyncFunction: StructType<{
|
|
407
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
408
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
409
|
+
}>;
|
|
410
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
411
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
412
|
+
}>>;
|
|
413
|
+
readonly optional: import("@elaraai/east").BooleanType;
|
|
414
|
+
readonly editor: import("@elaraai/east").VariantType<{
|
|
415
|
+
readonly text: StructType<{
|
|
416
|
+
readonly placeholder: OptionType<StringType>;
|
|
417
|
+
}>;
|
|
418
|
+
readonly number: StructType<{
|
|
419
|
+
readonly unit: OptionType<StringType>;
|
|
420
|
+
readonly step: OptionType<import("@elaraai/east").FloatType>;
|
|
421
|
+
readonly min: OptionType<import("@elaraai/east").FloatType>;
|
|
422
|
+
readonly max: OptionType<import("@elaraai/east").FloatType>;
|
|
423
|
+
}>;
|
|
424
|
+
readonly checkbox: import("@elaraai/east").NullType;
|
|
425
|
+
readonly datetime: StructType<{
|
|
426
|
+
readonly precision: OptionType<import("@elaraai/east").VariantType<{
|
|
427
|
+
readonly date: import("@elaraai/east").NullType;
|
|
428
|
+
readonly time: import("@elaraai/east").NullType;
|
|
429
|
+
readonly datetime: import("@elaraai/east").NullType;
|
|
430
|
+
}>>;
|
|
431
|
+
}>;
|
|
432
|
+
readonly select: ArrayType<StructType<{
|
|
433
|
+
readonly case: StringType;
|
|
434
|
+
readonly label: StringType;
|
|
435
|
+
}>>;
|
|
436
|
+
readonly tags: StructType<{
|
|
437
|
+
readonly options: ArrayType<StringType>;
|
|
438
|
+
}>;
|
|
439
|
+
readonly checklist: StructType<{
|
|
440
|
+
readonly text: StringType;
|
|
441
|
+
readonly done: StringType;
|
|
442
|
+
}>;
|
|
443
|
+
readonly reference: StructType<{
|
|
444
|
+
readonly of: StringType;
|
|
445
|
+
}>;
|
|
446
|
+
readonly readonly: import("@elaraai/east").NullType;
|
|
447
|
+
}>;
|
|
448
|
+
}>;
|
|
449
|
+
readonly column: OptionType<StringType>;
|
|
450
|
+
}>>;
|
|
451
|
+
readonly columns: ArrayType<StringType>;
|
|
452
|
+
readonly readonly: ArrayType<StringType>;
|
|
453
|
+
readonly encode: FunctionType<[BlobType], import("@elaraai/east").DictType<StringType, import("@elaraai/east").VariantType<{
|
|
454
|
+
readonly Invalid: StringType;
|
|
455
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
456
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
457
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
458
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
459
|
+
readonly String: StringType;
|
|
460
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
461
|
+
readonly Link: StructType<{
|
|
462
|
+
readonly from: ArrayType<import("@elaraai/east").VariantType<{
|
|
463
|
+
readonly identified: StructType<{
|
|
464
|
+
readonly key: StringType;
|
|
465
|
+
}>;
|
|
466
|
+
readonly range: StructType<{
|
|
467
|
+
readonly from: StringType;
|
|
468
|
+
readonly to: StringType;
|
|
469
|
+
}>;
|
|
470
|
+
readonly counted: StructType<{
|
|
471
|
+
readonly n: import("@elaraai/east").IntegerType;
|
|
472
|
+
readonly key: StringType;
|
|
473
|
+
}>;
|
|
474
|
+
readonly placeholder: import("@elaraai/east").NullType;
|
|
475
|
+
readonly text: StringType;
|
|
476
|
+
}>>;
|
|
477
|
+
readonly to: ArrayType<import("@elaraai/east").VariantType<{
|
|
478
|
+
readonly identified: StructType<{
|
|
479
|
+
readonly key: StringType;
|
|
480
|
+
}>;
|
|
481
|
+
readonly range: StructType<{
|
|
482
|
+
readonly from: StringType;
|
|
483
|
+
readonly to: StringType;
|
|
484
|
+
}>;
|
|
485
|
+
readonly counted: StructType<{
|
|
486
|
+
readonly n: import("@elaraai/east").IntegerType;
|
|
487
|
+
readonly key: StringType;
|
|
488
|
+
}>;
|
|
489
|
+
readonly placeholder: import("@elaraai/east").NullType;
|
|
490
|
+
readonly text: StringType;
|
|
491
|
+
}>>;
|
|
492
|
+
}>;
|
|
493
|
+
}>>>;
|
|
494
|
+
}>;
|
|
495
|
+
readonly group: OptionType<StructType<{
|
|
496
|
+
readonly type: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
497
|
+
readonly Never: import("@elaraai/east").NullType;
|
|
498
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
499
|
+
readonly Boolean: import("@elaraai/east").NullType;
|
|
500
|
+
readonly Integer: import("@elaraai/east").NullType;
|
|
501
|
+
readonly Float: import("@elaraai/east").NullType;
|
|
502
|
+
readonly String: import("@elaraai/east").NullType;
|
|
503
|
+
readonly DateTime: import("@elaraai/east").NullType;
|
|
504
|
+
readonly Blob: import("@elaraai/east").NullType;
|
|
505
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
506
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
507
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
508
|
+
readonly Dict: StructType<{
|
|
509
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
510
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
511
|
+
}>;
|
|
512
|
+
readonly Struct: ArrayType<StructType<{
|
|
513
|
+
readonly name: StringType;
|
|
514
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
515
|
+
}>>;
|
|
516
|
+
readonly Variant: ArrayType<StructType<{
|
|
517
|
+
readonly name: StringType;
|
|
518
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
519
|
+
}>>;
|
|
520
|
+
readonly Recursive: import("@elaraai/east").VariantType<{
|
|
521
|
+
readonly ref: import("@elaraai/east").IntegerType;
|
|
522
|
+
readonly wrapper: StructType<{
|
|
523
|
+
readonly id: import("@elaraai/east").IntegerType;
|
|
524
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
525
|
+
}>;
|
|
526
|
+
}>;
|
|
527
|
+
readonly Function: StructType<{
|
|
528
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
529
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
530
|
+
}>;
|
|
531
|
+
readonly AsyncFunction: StructType<{
|
|
532
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
533
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
534
|
+
}>;
|
|
535
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
536
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
537
|
+
}>>;
|
|
538
|
+
readonly fields: ArrayType<StructType<{
|
|
539
|
+
readonly spec: StructType<{
|
|
540
|
+
readonly path: ArrayType<StringType>;
|
|
541
|
+
readonly label: StringType;
|
|
542
|
+
readonly help: OptionType<StringType>;
|
|
543
|
+
readonly group: OptionType<StringType>;
|
|
544
|
+
readonly type: import("@elaraai/east").RecursiveType<import("@elaraai/east").VariantType<{
|
|
545
|
+
readonly Never: import("@elaraai/east").NullType;
|
|
546
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
547
|
+
readonly Boolean: import("@elaraai/east").NullType;
|
|
548
|
+
readonly Integer: import("@elaraai/east").NullType;
|
|
549
|
+
readonly Float: import("@elaraai/east").NullType;
|
|
550
|
+
readonly String: import("@elaraai/east").NullType;
|
|
551
|
+
readonly DateTime: import("@elaraai/east").NullType;
|
|
552
|
+
readonly Blob: import("@elaraai/east").NullType;
|
|
553
|
+
readonly Ref: import("@elaraai/east").RecursiveTypeMarker;
|
|
554
|
+
readonly Array: import("@elaraai/east").RecursiveTypeMarker;
|
|
555
|
+
readonly Set: import("@elaraai/east").RecursiveTypeMarker;
|
|
556
|
+
readonly Dict: StructType<{
|
|
557
|
+
readonly key: import("@elaraai/east").RecursiveTypeMarker;
|
|
558
|
+
readonly value: import("@elaraai/east").RecursiveTypeMarker;
|
|
559
|
+
}>;
|
|
560
|
+
readonly Struct: ArrayType<StructType<{
|
|
561
|
+
readonly name: StringType;
|
|
562
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
563
|
+
}>>;
|
|
564
|
+
readonly Variant: ArrayType<StructType<{
|
|
565
|
+
readonly name: StringType;
|
|
566
|
+
readonly type: import("@elaraai/east").RecursiveTypeMarker;
|
|
567
|
+
}>>;
|
|
568
|
+
readonly Recursive: import("@elaraai/east").VariantType<{
|
|
569
|
+
readonly ref: import("@elaraai/east").IntegerType;
|
|
570
|
+
readonly wrapper: StructType<{
|
|
571
|
+
readonly id: import("@elaraai/east").IntegerType;
|
|
572
|
+
readonly inner: import("@elaraai/east").RecursiveTypeMarker;
|
|
573
|
+
}>;
|
|
574
|
+
}>;
|
|
575
|
+
readonly Function: StructType<{
|
|
576
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
577
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
578
|
+
}>;
|
|
579
|
+
readonly AsyncFunction: StructType<{
|
|
580
|
+
readonly inputs: ArrayType<import("@elaraai/east").RecursiveTypeMarker>;
|
|
581
|
+
readonly output: import("@elaraai/east").RecursiveTypeMarker;
|
|
582
|
+
}>;
|
|
583
|
+
readonly Vector: import("@elaraai/east").RecursiveTypeMarker;
|
|
584
|
+
readonly Matrix: import("@elaraai/east").RecursiveTypeMarker;
|
|
585
|
+
}>>;
|
|
586
|
+
readonly optional: import("@elaraai/east").BooleanType;
|
|
587
|
+
readonly editor: import("@elaraai/east").VariantType<{
|
|
588
|
+
readonly text: StructType<{
|
|
589
|
+
readonly placeholder: OptionType<StringType>;
|
|
590
|
+
}>;
|
|
591
|
+
readonly number: StructType<{
|
|
592
|
+
readonly unit: OptionType<StringType>;
|
|
593
|
+
readonly step: OptionType<import("@elaraai/east").FloatType>;
|
|
594
|
+
readonly min: OptionType<import("@elaraai/east").FloatType>;
|
|
595
|
+
readonly max: OptionType<import("@elaraai/east").FloatType>;
|
|
596
|
+
}>;
|
|
597
|
+
readonly checkbox: import("@elaraai/east").NullType;
|
|
598
|
+
readonly datetime: StructType<{
|
|
599
|
+
readonly precision: OptionType<import("@elaraai/east").VariantType<{
|
|
600
|
+
readonly date: import("@elaraai/east").NullType;
|
|
601
|
+
readonly time: import("@elaraai/east").NullType;
|
|
602
|
+
readonly datetime: import("@elaraai/east").NullType;
|
|
603
|
+
}>>;
|
|
604
|
+
}>;
|
|
605
|
+
readonly select: ArrayType<StructType<{
|
|
606
|
+
readonly case: StringType;
|
|
607
|
+
readonly label: StringType;
|
|
608
|
+
}>>;
|
|
609
|
+
readonly tags: StructType<{
|
|
610
|
+
readonly options: ArrayType<StringType>;
|
|
611
|
+
}>;
|
|
612
|
+
readonly checklist: StructType<{
|
|
613
|
+
readonly text: StringType;
|
|
614
|
+
readonly done: StringType;
|
|
615
|
+
}>;
|
|
616
|
+
readonly reference: StructType<{
|
|
617
|
+
readonly of: StringType;
|
|
618
|
+
}>;
|
|
619
|
+
readonly readonly: import("@elaraai/east").NullType;
|
|
620
|
+
}>;
|
|
621
|
+
}>;
|
|
622
|
+
readonly column: OptionType<StringType>;
|
|
623
|
+
}>>;
|
|
624
|
+
readonly columns: ArrayType<StringType>;
|
|
625
|
+
readonly readonly: ArrayType<StringType>;
|
|
626
|
+
readonly encode: FunctionType<[BlobType], import("@elaraai/east").DictType<StringType, import("@elaraai/east").VariantType<{
|
|
627
|
+
readonly Invalid: StringType;
|
|
628
|
+
readonly Null: import("@elaraai/east").NullType;
|
|
629
|
+
readonly Boolean: import("@elaraai/east").BooleanType;
|
|
630
|
+
readonly Integer: import("@elaraai/east").IntegerType;
|
|
631
|
+
readonly Float: import("@elaraai/east").FloatType;
|
|
632
|
+
readonly String: StringType;
|
|
633
|
+
readonly DateTime: import("@elaraai/east").DateTimeType;
|
|
634
|
+
readonly Link: StructType<{
|
|
635
|
+
readonly from: ArrayType<import("@elaraai/east").VariantType<{
|
|
636
|
+
readonly identified: StructType<{
|
|
637
|
+
readonly key: StringType;
|
|
638
|
+
}>;
|
|
639
|
+
readonly range: StructType<{
|
|
640
|
+
readonly from: StringType;
|
|
641
|
+
readonly to: StringType;
|
|
642
|
+
}>;
|
|
643
|
+
readonly counted: StructType<{
|
|
644
|
+
readonly n: import("@elaraai/east").IntegerType;
|
|
645
|
+
readonly key: StringType;
|
|
646
|
+
}>;
|
|
647
|
+
readonly placeholder: import("@elaraai/east").NullType;
|
|
648
|
+
readonly text: StringType;
|
|
649
|
+
}>>;
|
|
650
|
+
readonly to: ArrayType<import("@elaraai/east").VariantType<{
|
|
651
|
+
readonly identified: StructType<{
|
|
652
|
+
readonly key: StringType;
|
|
653
|
+
}>;
|
|
654
|
+
readonly range: StructType<{
|
|
655
|
+
readonly from: StringType;
|
|
656
|
+
readonly to: StringType;
|
|
657
|
+
}>;
|
|
658
|
+
readonly counted: StructType<{
|
|
659
|
+
readonly n: import("@elaraai/east").IntegerType;
|
|
660
|
+
readonly key: StringType;
|
|
661
|
+
}>;
|
|
662
|
+
readonly placeholder: import("@elaraai/east").NullType;
|
|
663
|
+
readonly text: StringType;
|
|
664
|
+
}>>;
|
|
665
|
+
}>;
|
|
666
|
+
}>>>;
|
|
667
|
+
}>>;
|
|
668
|
+
}>;
|
|
669
|
+
/** Type representing {@link SheetFormsType}. */
|
|
670
|
+
export type SheetFormsType = typeof SheetFormsType;
|
|
671
|
+
/**
|
|
672
|
+
* Builds the inspector's forms (SB10): a row's (a grouped sheet's line's) and,
|
|
673
|
+
* on a grouped sheet, a group's.
|
|
674
|
+
*
|
|
675
|
+
* @param bridge - The sheet's bridge, as its root compiled it
|
|
676
|
+
* @param metas - The declared columns, described against the row (or line) type
|
|
677
|
+
* @param hints - `fields`: the author's hints for the row's fields
|
|
678
|
+
* @param groupHints - `groupFields`: the author's hints for the group's own fields
|
|
679
|
+
* @param idField - The rows' identity field, which the form leaves to the header
|
|
680
|
+
* @param registers - The sheet's registers' names, the driver's among them: what a `reference` hint may name
|
|
681
|
+
* @returns The forms on the wire
|
|
682
|
+
* @throws Error naming the prop: `groupFields` on a flat sheet, and each refusal of a hint
|
|
683
|
+
* @internal
|
|
684
|
+
*/
|
|
685
|
+
export declare function buildForms(bridge: SheetBridge, metas: readonly SheetColumnMeta[], hints: Readonly<Record<string, unknown>> | undefined, groupHints: Readonly<Record<string, unknown>> | undefined, idField: string | undefined, registers: readonly string[]): ExprType<SheetFormsType>;
|
|
686
|
+
/**
|
|
687
|
+
* `Sheet.field` — the inspector's hints, `Fields`' own (#1147): a label, a
|
|
688
|
+
* help line, an editor for a field the inspector shows by its type, a field
|
|
689
|
+
* read only or hidden. A column's field takes a label, a help line, read only
|
|
690
|
+
* or hidden, and an editor that fits its type when its column is written.
|
|
691
|
+
*/
|
|
692
|
+
export declare const SheetField: import("@elaraai/east-ui/internal").FieldsNamespace;
|
|
693
|
+
//# sourceMappingURL=fields.d.ts.map
|