@fieldia/core 0.15.0 → 0.17.0

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.
Files changed (38) hide show
  1. package/package.json +1 -1
  2. package/schema/page.schema.json +413 -66
  3. package/src/lib/format/layout.d.mts +950 -39
  4. package/src/lib/format/layout.d.ts +950 -39
  5. package/src/lib/format/layout.js +96 -29
  6. package/src/lib/format/layout.js.map +1 -1
  7. package/src/lib/format/layout.mjs +95 -28
  8. package/src/lib/format/layout.mjs.map +1 -1
  9. package/src/lib/format/page.d.mts +17 -0
  10. package/src/lib/format/page.d.ts +17 -0
  11. package/src/lib/format/references.d.mts +11 -0
  12. package/src/lib/format/references.d.ts +11 -0
  13. package/src/lib/format/references.js +138 -20
  14. package/src/lib/format/references.js.map +1 -1
  15. package/src/lib/format/references.mjs +138 -20
  16. package/src/lib/format/references.mjs.map +1 -1
  17. package/src/lib/format/translate.js +8 -2
  18. package/src/lib/format/translate.js.map +1 -1
  19. package/src/lib/format/translate.mjs +8 -2
  20. package/src/lib/format/translate.mjs.map +1 -1
  21. package/src/lib/record/data-source.d.mts +10 -0
  22. package/src/lib/record/data-source.d.ts +10 -0
  23. package/src/lib/record/data-source.js.map +1 -1
  24. package/src/lib/record/data-source.mjs.map +1 -1
  25. package/src/lib/record/filter.d.mts +6 -0
  26. package/src/lib/record/filter.d.ts +6 -0
  27. package/src/lib/record/filter.js +26 -14
  28. package/src/lib/record/filter.js.map +1 -1
  29. package/src/lib/record/filter.mjs +25 -14
  30. package/src/lib/record/filter.mjs.map +1 -1
  31. package/src/lib/record/memory-data-source.js +4 -1
  32. package/src/lib/record/memory-data-source.js.map +1 -1
  33. package/src/lib/record/memory-data-source.mjs +5 -2
  34. package/src/lib/record/memory-data-source.mjs.map +1 -1
  35. package/src/runtime.d.mts +1 -1
  36. package/src/runtime.d.ts +1 -1
  37. package/src/runtime.js.map +1 -1
  38. package/src/runtime.mjs.map +1 -1
@@ -382,6 +382,122 @@ export interface FormNode {
382
382
  /** Every field inside is read-only while this holds. */
383
383
  readonly?: Modifier;
384
384
  }
385
+ /** A line along the roads between a map's layers: from one place to another, or through a layer's lines in their order. */
386
+ export interface MapRoute {
387
+ /** The layer it starts at: a place, or the reader's own. */
388
+ from: string;
389
+ /** The layer it ends at. */
390
+ to?: string;
391
+ /** A layer of lines it goes through, in their order: a delivery round's stops. */
392
+ through?: string;
393
+ /** How it is travelled: by car unless said. */
394
+ mode?: 'car' | 'bike' | 'foot';
395
+ /** The part already travelled fades as `from` moves along it, and the time and distance left are kept up to date. */
396
+ progress?: boolean;
397
+ /** Fields of the record its numbers go into: the seconds and metres left, and its line as GeoJSON. */
398
+ write?: {
399
+ seconds?: string;
400
+ metres?: string;
401
+ line?: string;
402
+ };
403
+ }
404
+ /**
405
+ * One layer of a form's map: the record's own place (`point`, or `latitude`
406
+ * and `longitude`), a place for each of its lines (`lines`, the place in the
407
+ * line's fields), a route between layers, or the reader's own place.
408
+ */
409
+ export interface MapLayer {
410
+ id: string;
411
+ /** What it is, in words: its pins are named by it ("Courier, 4 min"). */
412
+ label?: string;
413
+ point?: string;
414
+ latitude?: string;
415
+ longitude?: string;
416
+ /** A field of lines (one2many): a pin for each line. */
417
+ lines?: string;
418
+ pin?: Pin;
419
+ card?: MapCard;
420
+ /**
421
+ * A place that moves as its fields change: its pin glides there. Without
422
+ * news for `staleAfter` seconds it says when it was last seen; `follow`
423
+ * keeps it in view until the person moves the map.
424
+ */
425
+ live?: {
426
+ staleAfter?: number;
427
+ follow?: boolean;
428
+ };
429
+ route?: MapRoute;
430
+ /** The reader's own place, from the browser once they allow it. */
431
+ myLocation?: boolean;
432
+ /** Areas shaded by colour; a click on one writes its key into `choose`. */
433
+ regions?: MapRegions & {
434
+ choose?: string;
435
+ };
436
+ /** The area within a few minutes' travel of a place, as the map's provider works it out. */
437
+ reachable?: MapReach;
438
+ invisible?: Modifier;
439
+ }
440
+ /** A tool a map offers under its zoom: the satellite's images, full screen, measuring a way; on a list's map, its records nearest first. */
441
+ export type MapTool = 'satellite' | 'fullscreen' | 'measure' | 'nearest';
442
+ /**
443
+ * Areas shaded by colour: districts, zones, municipalities. Their borders come
444
+ * from the app, never from Fieldia: its maps' `regions`, a set of GeoJSON
445
+ * borders by name. Each border is known by one of its properties (`key`), the
446
+ * value a record keeps, and named by another.
447
+ */
448
+ export interface MapRegions {
449
+ /** The app's set of borders, by the name its maps' settings give it. */
450
+ from: string;
451
+ /** The property of each border that is its key: what a record's field holds. */
452
+ key: string;
453
+ /** The property of each border that names it: its key unless said. */
454
+ name?: string;
455
+ /** What shades an area: on a list's map, `count` (its records: the default there), or a number among each border's properties. */
456
+ shade?: string;
457
+ /** A legend of the shades over the map: on unless false. */
458
+ legend?: boolean;
459
+ }
460
+ /** The area within `minutes` of a layer's place, by car unless said. */
461
+ export interface MapReach {
462
+ /** The layer it is worked out from: a place, or the reader's own. */
463
+ from: string;
464
+ minutes: number;
465
+ mode?: 'car' | 'bike' | 'foot';
466
+ }
467
+ /**
468
+ * A fence on a form's map: when a layer's place goes into an area, or comes
469
+ * out of it, the page's steps run, as a button's do ("the courier is near:
470
+ * tell the customer"). The area is a field holding one (`area`, as an area
471
+ * field keeps it) or a reachable area of the map (`within`, a layer's id).
472
+ */
473
+ export interface MapFence {
474
+ /** The layer whose place is watched: one that moves. */
475
+ layer: string;
476
+ area?: string;
477
+ within?: string;
478
+ when: 'enter' | 'leave';
479
+ steps: ActionStep[];
480
+ }
481
+ /** A map on a form: the record's places, its lines' places, the routes between them, and the reader's own place, as layers. */
482
+ export interface MapNode {
483
+ type: 'map';
484
+ id: string;
485
+ /** Its name, over it and for a screen reader. */
486
+ label?: string;
487
+ layers: MapLayer[];
488
+ /** Height in pixels: 360 unless said. */
489
+ height?: number;
490
+ /** The tools under its zoom: satellite, fullscreen, measure. */
491
+ tools?: Exclude<MapTool, 'nearest'>[];
492
+ /** Steps run when a layer's place goes into an area or comes out of it. */
493
+ fences?: MapFence[];
494
+ /** Grid columns it spans inside a section. */
495
+ colspan?: number;
496
+ invisible?: Modifier;
497
+ roles?: Roles;
498
+ /** Hidden at these widths of the form, such as a phone's: `["narrow"]`. */
499
+ hideOn?: ScreenWidth[];
500
+ }
385
501
  /** A named place the app fills with its own content, such as an activity feed. */
386
502
  export interface SlotNode {
387
503
  type: 'slot';
@@ -780,9 +896,19 @@ export interface ListMap {
780
896
  view?: 'list' | 'map' | 'both';
781
897
  /** How many records the map shows at most: 500 unless said. */
782
898
  limit?: number;
899
+ /** The tools under its zoom: satellite, fullscreen, measure, nearest (the records nearest the reader first). */
900
+ tools?: MapTool[];
901
+ /** Areas shaded by their records (or a number of their own); `field` is the records' field holding an area's key. A click on one searches for its records. */
902
+ regions?: MapRegions & {
903
+ field: string;
904
+ };
905
+ /** The records as a heat map while the map is far out, each weighing one unless `weight` names a number field; their pins come back close in, at the streets. */
906
+ heat?: boolean | {
907
+ weight?: string;
908
+ };
783
909
  }
784
910
  /** Anything that can sit inside a section, tab, step or sheet. */
785
- export type LayoutNode = FieldNode | ButtonNode | TextNode | SlotNode | SectionNode | TabsNode | DividerNode | SpacerNode | ImageNode | FormNode;
911
+ export type LayoutNode = FieldNode | ButtonNode | TextNode | SlotNode | SectionNode | TabsNode | DividerNode | SpacerNode | ImageNode | FormNode | MapNode;
786
912
  /** What a page's `layout` can be: the four page layouts. */
787
913
  export type RootLayout = SheetNode | SectionsNode | TabsNode | WizardNode | ListNode;
788
914
  export declare const ModifierSchema: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
@@ -1220,6 +1346,540 @@ export declare const ImageNodeSchema: z.ZodObject<{
1220
1346
  wide: "wide";
1221
1347
  }>>>;
1222
1348
  }, z.core.$strict>;
1349
+ /**
1350
+ * What a pin on a map shows, from its record's fields: a pin, an icon (a
1351
+ * fixed one or one a field names), a round photo, words alone, or a dot; its
1352
+ * words; its colour by condition; its turn, for a car facing its way; or the
1353
+ * app's own widget, which draws it from the record.
1354
+ */
1355
+ export declare const PinSchema: z.ZodObject<{
1356
+ look: z.ZodOptional<z.ZodEnum<{
1357
+ label: "label";
1358
+ pin: "pin";
1359
+ icon: "icon";
1360
+ photo: "photo";
1361
+ dot: "dot";
1362
+ }>>;
1363
+ icon: z.ZodOptional<z.ZodString>;
1364
+ iconField: z.ZodOptional<z.ZodString>;
1365
+ image: z.ZodOptional<z.ZodString>;
1366
+ label: z.ZodOptional<z.ZodString>;
1367
+ tones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1368
+ tone: z.ZodEnum<{
1369
+ success: "success";
1370
+ info: "info";
1371
+ warning: "warning";
1372
+ danger: "danger";
1373
+ muted: "muted";
1374
+ }>;
1375
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
1376
+ }, z.core.$strict>>>;
1377
+ turn: z.ZodOptional<z.ZodString>;
1378
+ widget: z.ZodOptional<z.ZodString>;
1379
+ }, z.core.$strict>;
1380
+ /** The card a pin opens: its record's title, a picture, a few of its fields, and a way to open it. */
1381
+ export declare const MapCardSchema: z.ZodObject<{
1382
+ title: z.ZodOptional<z.ZodString>;
1383
+ image: z.ZodOptional<z.ZodString>;
1384
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
1385
+ open: z.ZodOptional<z.ZodBoolean>;
1386
+ }, z.core.$strict>;
1387
+ /** A line along the roads between a map's layers: from one place to another, through a layer's lines in their order. */
1388
+ export declare const MapRouteSchema: z.ZodObject<{
1389
+ from: z.ZodString;
1390
+ to: z.ZodOptional<z.ZodString>;
1391
+ through: z.ZodOptional<z.ZodString>;
1392
+ mode: z.ZodOptional<z.ZodEnum<{
1393
+ car: "car";
1394
+ bike: "bike";
1395
+ foot: "foot";
1396
+ }>>;
1397
+ progress: z.ZodOptional<z.ZodBoolean>;
1398
+ write: z.ZodOptional<z.ZodObject<{
1399
+ seconds: z.ZodOptional<z.ZodString>;
1400
+ metres: z.ZodOptional<z.ZodString>;
1401
+ line: z.ZodOptional<z.ZodString>;
1402
+ }, z.core.$strict>>;
1403
+ }, z.core.$strict>;
1404
+ /** Areas shaded by colour, their borders from the app's set by name, each known by a property of its own. */
1405
+ export declare const MapRegionsSchema: z.ZodObject<{
1406
+ from: z.ZodString;
1407
+ key: z.ZodString;
1408
+ name: z.ZodOptional<z.ZodString>;
1409
+ shade: z.ZodOptional<z.ZodString>;
1410
+ legend: z.ZodOptional<z.ZodBoolean>;
1411
+ }, z.core.$strict>;
1412
+ /** The area within some minutes' travel of a layer's place. */
1413
+ export declare const MapReachSchema: z.ZodObject<{
1414
+ from: z.ZodString;
1415
+ minutes: z.ZodNumber;
1416
+ mode: z.ZodOptional<z.ZodEnum<{
1417
+ car: "car";
1418
+ bike: "bike";
1419
+ foot: "foot";
1420
+ }>>;
1421
+ }, z.core.$strict>;
1422
+ /** Steps run when a layer's place goes into an area, or comes out of it. */
1423
+ export declare const MapFenceSchema: z.ZodObject<{
1424
+ layer: z.ZodString;
1425
+ area: z.ZodOptional<z.ZodString>;
1426
+ within: z.ZodOptional<z.ZodString>;
1427
+ when: z.ZodEnum<{
1428
+ enter: "enter";
1429
+ leave: "leave";
1430
+ }>;
1431
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1432
+ do: z.ZodLiteral<"open">;
1433
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1434
+ page: z.ZodString;
1435
+ version: z.ZodOptional<z.ZodInt>;
1436
+ as: z.ZodOptional<z.ZodEnum<{
1437
+ page: "page";
1438
+ dialog: "dialog";
1439
+ panel: "panel";
1440
+ }>>;
1441
+ side: z.ZodOptional<z.ZodEnum<{
1442
+ end: "end";
1443
+ start: "start";
1444
+ right: "right";
1445
+ left: "left";
1446
+ top: "top";
1447
+ bottom: "bottom";
1448
+ }>>;
1449
+ title: z.ZodOptional<z.ZodString>;
1450
+ record: z.ZodOptional<z.ZodString>;
1451
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1452
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1453
+ field: z.ZodString;
1454
+ op: z.ZodEnum<{
1455
+ set: "set";
1456
+ "=": "=";
1457
+ "!=": "!=";
1458
+ "<": "<";
1459
+ ">": ">";
1460
+ "<=": "<=";
1461
+ ">=": ">=";
1462
+ in: "in";
1463
+ "not in": "not in";
1464
+ like: "like";
1465
+ ilike: "ilike";
1466
+ startswith: "startswith";
1467
+ endswith: "endswith";
1468
+ notset: "notset";
1469
+ between: "between";
1470
+ contains: "contains";
1471
+ "not contains": "not contains";
1472
+ "=?": "=?";
1473
+ within: "within";
1474
+ }>;
1475
+ value: z.ZodOptional<z.ZodJSONSchema>;
1476
+ valueFrom: z.ZodOptional<z.ZodString>;
1477
+ }, z.core.$strict>, z.ZodObject<{
1478
+ any: z.ZodArray<typeof FilterItemSchema>;
1479
+ }, z.core.$strict>, z.ZodObject<{
1480
+ all: z.ZodArray<typeof FilterItemSchema>;
1481
+ }, z.core.$strict>]>>>;
1482
+ into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1483
+ then: z.ZodOptional<z.ZodArray<typeof import("./actions.mjs").ActionStepSchema>>;
1484
+ }, z.core.$strict>, z.ZodObject<{
1485
+ do: z.ZodLiteral<"set">;
1486
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1487
+ field: z.ZodString;
1488
+ value: z.ZodString;
1489
+ }, z.core.$strict>, z.ZodObject<{
1490
+ do: z.ZodLiteral<"clear">;
1491
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1492
+ field: z.ZodString;
1493
+ }, z.core.$strict>, z.ZodObject<{
1494
+ do: z.ZodLiteral<"addLine">;
1495
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1496
+ field: z.ZodString;
1497
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1498
+ }, z.core.$strict>, z.ZodObject<{
1499
+ do: z.ZodLiteral<"check">;
1500
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1501
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
1502
+ }, z.core.$strict>, z.ZodObject<{
1503
+ do: z.ZodLiteral<"save">;
1504
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1505
+ }, z.core.$strict>, z.ZodObject<{
1506
+ do: z.ZodLiteral<"reset">;
1507
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1508
+ }, z.core.$strict>, z.ZodObject<{
1509
+ do: z.ZodLiteral<"goTo">;
1510
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1511
+ target: z.ZodString;
1512
+ }, z.core.$strict>, z.ZodObject<{
1513
+ do: z.ZodLiteral<"say">;
1514
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1515
+ message: z.ZodString;
1516
+ tone: z.ZodOptional<z.ZodEnum<{
1517
+ success: "success";
1518
+ info: "info";
1519
+ warning: "warning";
1520
+ danger: "danger";
1521
+ muted: "muted";
1522
+ }>>;
1523
+ }, z.core.$strict>, z.ZodObject<{
1524
+ do: z.ZodLiteral<"ask">;
1525
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1526
+ message: z.ZodString;
1527
+ }, z.core.$strict>, z.ZodObject<{
1528
+ do: z.ZodLiteral<"call">;
1529
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1530
+ action: z.ZodString;
1531
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
1532
+ }, z.core.$strict>, z.ZodObject<{
1533
+ do: z.ZodLiteral<"close">;
1534
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1535
+ }, z.core.$strict>, z.ZodObject<{
1536
+ do: z.ZodLiteral<"reload">;
1537
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1538
+ }, z.core.$strict>, z.ZodObject<{
1539
+ do: z.ZodLiteral<"openUrl">;
1540
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1541
+ url: z.ZodString;
1542
+ newTab: z.ZodOptional<z.ZodBoolean>;
1543
+ }, z.core.$strict>, z.ZodObject<{
1544
+ do: z.ZodLiteral<"archive">;
1545
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1546
+ }, z.core.$strict>, z.ZodObject<{
1547
+ do: z.ZodLiteral<"unarchive">;
1548
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1549
+ }, z.core.$strict>, z.ZodObject<{
1550
+ do: z.ZodLiteral<"duplicate">;
1551
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1552
+ }, z.core.$strict>, z.ZodObject<{
1553
+ do: z.ZodLiteral<"delete">;
1554
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1555
+ }, z.core.$strict>, z.ZodObject<{
1556
+ do: z.ZodLiteral<"post">;
1557
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1558
+ message: z.ZodString;
1559
+ kind: z.ZodOptional<z.ZodEnum<{
1560
+ message: "message";
1561
+ note: "note";
1562
+ }>>;
1563
+ }, z.core.$strict>], "do">>;
1564
+ }, z.core.$strict>;
1565
+ /** One layer of a form's map: the record's own place, a place for each of its lines, a route, or the reader's own place. */
1566
+ export declare const MapLayerSchema: z.ZodObject<{
1567
+ id: z.ZodString;
1568
+ label: z.ZodOptional<z.ZodString>;
1569
+ point: z.ZodOptional<z.ZodString>;
1570
+ latitude: z.ZodOptional<z.ZodString>;
1571
+ longitude: z.ZodOptional<z.ZodString>;
1572
+ lines: z.ZodOptional<z.ZodString>;
1573
+ pin: z.ZodOptional<z.ZodObject<{
1574
+ look: z.ZodOptional<z.ZodEnum<{
1575
+ label: "label";
1576
+ pin: "pin";
1577
+ icon: "icon";
1578
+ photo: "photo";
1579
+ dot: "dot";
1580
+ }>>;
1581
+ icon: z.ZodOptional<z.ZodString>;
1582
+ iconField: z.ZodOptional<z.ZodString>;
1583
+ image: z.ZodOptional<z.ZodString>;
1584
+ label: z.ZodOptional<z.ZodString>;
1585
+ tones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1586
+ tone: z.ZodEnum<{
1587
+ success: "success";
1588
+ info: "info";
1589
+ warning: "warning";
1590
+ danger: "danger";
1591
+ muted: "muted";
1592
+ }>;
1593
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
1594
+ }, z.core.$strict>>>;
1595
+ turn: z.ZodOptional<z.ZodString>;
1596
+ widget: z.ZodOptional<z.ZodString>;
1597
+ }, z.core.$strict>>;
1598
+ card: z.ZodOptional<z.ZodObject<{
1599
+ title: z.ZodOptional<z.ZodString>;
1600
+ image: z.ZodOptional<z.ZodString>;
1601
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
1602
+ open: z.ZodOptional<z.ZodBoolean>;
1603
+ }, z.core.$strict>>;
1604
+ live: z.ZodOptional<z.ZodObject<{
1605
+ staleAfter: z.ZodOptional<z.ZodInt>;
1606
+ follow: z.ZodOptional<z.ZodBoolean>;
1607
+ }, z.core.$strict>>;
1608
+ route: z.ZodOptional<z.ZodObject<{
1609
+ from: z.ZodString;
1610
+ to: z.ZodOptional<z.ZodString>;
1611
+ through: z.ZodOptional<z.ZodString>;
1612
+ mode: z.ZodOptional<z.ZodEnum<{
1613
+ car: "car";
1614
+ bike: "bike";
1615
+ foot: "foot";
1616
+ }>>;
1617
+ progress: z.ZodOptional<z.ZodBoolean>;
1618
+ write: z.ZodOptional<z.ZodObject<{
1619
+ seconds: z.ZodOptional<z.ZodString>;
1620
+ metres: z.ZodOptional<z.ZodString>;
1621
+ line: z.ZodOptional<z.ZodString>;
1622
+ }, z.core.$strict>>;
1623
+ }, z.core.$strict>>;
1624
+ myLocation: z.ZodOptional<z.ZodBoolean>;
1625
+ regions: z.ZodOptional<z.ZodObject<{
1626
+ from: z.ZodString;
1627
+ key: z.ZodString;
1628
+ name: z.ZodOptional<z.ZodString>;
1629
+ shade: z.ZodOptional<z.ZodString>;
1630
+ legend: z.ZodOptional<z.ZodBoolean>;
1631
+ choose: z.ZodOptional<z.ZodString>;
1632
+ }, z.core.$strict>>;
1633
+ reachable: z.ZodOptional<z.ZodObject<{
1634
+ from: z.ZodString;
1635
+ minutes: z.ZodNumber;
1636
+ mode: z.ZodOptional<z.ZodEnum<{
1637
+ car: "car";
1638
+ bike: "bike";
1639
+ foot: "foot";
1640
+ }>>;
1641
+ }, z.core.$strict>>;
1642
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1643
+ }, z.core.$strict>;
1644
+ export declare const MapNodeSchema: z.ZodObject<{
1645
+ type: z.ZodLiteral<"map">;
1646
+ id: z.ZodString;
1647
+ label: z.ZodOptional<z.ZodString>;
1648
+ layers: z.ZodArray<z.ZodObject<{
1649
+ id: z.ZodString;
1650
+ label: z.ZodOptional<z.ZodString>;
1651
+ point: z.ZodOptional<z.ZodString>;
1652
+ latitude: z.ZodOptional<z.ZodString>;
1653
+ longitude: z.ZodOptional<z.ZodString>;
1654
+ lines: z.ZodOptional<z.ZodString>;
1655
+ pin: z.ZodOptional<z.ZodObject<{
1656
+ look: z.ZodOptional<z.ZodEnum<{
1657
+ label: "label";
1658
+ pin: "pin";
1659
+ icon: "icon";
1660
+ photo: "photo";
1661
+ dot: "dot";
1662
+ }>>;
1663
+ icon: z.ZodOptional<z.ZodString>;
1664
+ iconField: z.ZodOptional<z.ZodString>;
1665
+ image: z.ZodOptional<z.ZodString>;
1666
+ label: z.ZodOptional<z.ZodString>;
1667
+ tones: z.ZodOptional<z.ZodArray<z.ZodObject<{
1668
+ tone: z.ZodEnum<{
1669
+ success: "success";
1670
+ info: "info";
1671
+ warning: "warning";
1672
+ danger: "danger";
1673
+ muted: "muted";
1674
+ }>;
1675
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
1676
+ }, z.core.$strict>>>;
1677
+ turn: z.ZodOptional<z.ZodString>;
1678
+ widget: z.ZodOptional<z.ZodString>;
1679
+ }, z.core.$strict>>;
1680
+ card: z.ZodOptional<z.ZodObject<{
1681
+ title: z.ZodOptional<z.ZodString>;
1682
+ image: z.ZodOptional<z.ZodString>;
1683
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
1684
+ open: z.ZodOptional<z.ZodBoolean>;
1685
+ }, z.core.$strict>>;
1686
+ live: z.ZodOptional<z.ZodObject<{
1687
+ staleAfter: z.ZodOptional<z.ZodInt>;
1688
+ follow: z.ZodOptional<z.ZodBoolean>;
1689
+ }, z.core.$strict>>;
1690
+ route: z.ZodOptional<z.ZodObject<{
1691
+ from: z.ZodString;
1692
+ to: z.ZodOptional<z.ZodString>;
1693
+ through: z.ZodOptional<z.ZodString>;
1694
+ mode: z.ZodOptional<z.ZodEnum<{
1695
+ car: "car";
1696
+ bike: "bike";
1697
+ foot: "foot";
1698
+ }>>;
1699
+ progress: z.ZodOptional<z.ZodBoolean>;
1700
+ write: z.ZodOptional<z.ZodObject<{
1701
+ seconds: z.ZodOptional<z.ZodString>;
1702
+ metres: z.ZodOptional<z.ZodString>;
1703
+ line: z.ZodOptional<z.ZodString>;
1704
+ }, z.core.$strict>>;
1705
+ }, z.core.$strict>>;
1706
+ myLocation: z.ZodOptional<z.ZodBoolean>;
1707
+ regions: z.ZodOptional<z.ZodObject<{
1708
+ from: z.ZodString;
1709
+ key: z.ZodString;
1710
+ name: z.ZodOptional<z.ZodString>;
1711
+ shade: z.ZodOptional<z.ZodString>;
1712
+ legend: z.ZodOptional<z.ZodBoolean>;
1713
+ choose: z.ZodOptional<z.ZodString>;
1714
+ }, z.core.$strict>>;
1715
+ reachable: z.ZodOptional<z.ZodObject<{
1716
+ from: z.ZodString;
1717
+ minutes: z.ZodNumber;
1718
+ mode: z.ZodOptional<z.ZodEnum<{
1719
+ car: "car";
1720
+ bike: "bike";
1721
+ foot: "foot";
1722
+ }>>;
1723
+ }, z.core.$strict>>;
1724
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1725
+ }, z.core.$strict>>;
1726
+ height: z.ZodOptional<z.ZodInt>;
1727
+ tools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1728
+ satellite: "satellite";
1729
+ fullscreen: "fullscreen";
1730
+ measure: "measure";
1731
+ }>>>;
1732
+ fences: z.ZodOptional<z.ZodArray<z.ZodObject<{
1733
+ layer: z.ZodString;
1734
+ area: z.ZodOptional<z.ZodString>;
1735
+ within: z.ZodOptional<z.ZodString>;
1736
+ when: z.ZodEnum<{
1737
+ enter: "enter";
1738
+ leave: "leave";
1739
+ }>;
1740
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1741
+ do: z.ZodLiteral<"open">;
1742
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1743
+ page: z.ZodString;
1744
+ version: z.ZodOptional<z.ZodInt>;
1745
+ as: z.ZodOptional<z.ZodEnum<{
1746
+ page: "page";
1747
+ dialog: "dialog";
1748
+ panel: "panel";
1749
+ }>>;
1750
+ side: z.ZodOptional<z.ZodEnum<{
1751
+ end: "end";
1752
+ start: "start";
1753
+ right: "right";
1754
+ left: "left";
1755
+ top: "top";
1756
+ bottom: "bottom";
1757
+ }>>;
1758
+ title: z.ZodOptional<z.ZodString>;
1759
+ record: z.ZodOptional<z.ZodString>;
1760
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1761
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1762
+ field: z.ZodString;
1763
+ op: z.ZodEnum<{
1764
+ set: "set";
1765
+ "=": "=";
1766
+ "!=": "!=";
1767
+ "<": "<";
1768
+ ">": ">";
1769
+ "<=": "<=";
1770
+ ">=": ">=";
1771
+ in: "in";
1772
+ "not in": "not in";
1773
+ like: "like";
1774
+ ilike: "ilike";
1775
+ startswith: "startswith";
1776
+ endswith: "endswith";
1777
+ notset: "notset";
1778
+ between: "between";
1779
+ contains: "contains";
1780
+ "not contains": "not contains";
1781
+ "=?": "=?";
1782
+ within: "within";
1783
+ }>;
1784
+ value: z.ZodOptional<z.ZodJSONSchema>;
1785
+ valueFrom: z.ZodOptional<z.ZodString>;
1786
+ }, z.core.$strict>, z.ZodObject<{
1787
+ any: z.ZodArray<typeof FilterItemSchema>;
1788
+ }, z.core.$strict>, z.ZodObject<{
1789
+ all: z.ZodArray<typeof FilterItemSchema>;
1790
+ }, z.core.$strict>]>>>;
1791
+ into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1792
+ then: z.ZodOptional<z.ZodArray<typeof import("./actions.mjs").ActionStepSchema>>;
1793
+ }, z.core.$strict>, z.ZodObject<{
1794
+ do: z.ZodLiteral<"set">;
1795
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1796
+ field: z.ZodString;
1797
+ value: z.ZodString;
1798
+ }, z.core.$strict>, z.ZodObject<{
1799
+ do: z.ZodLiteral<"clear">;
1800
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1801
+ field: z.ZodString;
1802
+ }, z.core.$strict>, z.ZodObject<{
1803
+ do: z.ZodLiteral<"addLine">;
1804
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1805
+ field: z.ZodString;
1806
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1807
+ }, z.core.$strict>, z.ZodObject<{
1808
+ do: z.ZodLiteral<"check">;
1809
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1810
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
1811
+ }, z.core.$strict>, z.ZodObject<{
1812
+ do: z.ZodLiteral<"save">;
1813
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1814
+ }, z.core.$strict>, z.ZodObject<{
1815
+ do: z.ZodLiteral<"reset">;
1816
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1817
+ }, z.core.$strict>, z.ZodObject<{
1818
+ do: z.ZodLiteral<"goTo">;
1819
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1820
+ target: z.ZodString;
1821
+ }, z.core.$strict>, z.ZodObject<{
1822
+ do: z.ZodLiteral<"say">;
1823
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1824
+ message: z.ZodString;
1825
+ tone: z.ZodOptional<z.ZodEnum<{
1826
+ success: "success";
1827
+ info: "info";
1828
+ warning: "warning";
1829
+ danger: "danger";
1830
+ muted: "muted";
1831
+ }>>;
1832
+ }, z.core.$strict>, z.ZodObject<{
1833
+ do: z.ZodLiteral<"ask">;
1834
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1835
+ message: z.ZodString;
1836
+ }, z.core.$strict>, z.ZodObject<{
1837
+ do: z.ZodLiteral<"call">;
1838
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1839
+ action: z.ZodString;
1840
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
1841
+ }, z.core.$strict>, z.ZodObject<{
1842
+ do: z.ZodLiteral<"close">;
1843
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1844
+ }, z.core.$strict>, z.ZodObject<{
1845
+ do: z.ZodLiteral<"reload">;
1846
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1847
+ }, z.core.$strict>, z.ZodObject<{
1848
+ do: z.ZodLiteral<"openUrl">;
1849
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1850
+ url: z.ZodString;
1851
+ newTab: z.ZodOptional<z.ZodBoolean>;
1852
+ }, z.core.$strict>, z.ZodObject<{
1853
+ do: z.ZodLiteral<"archive">;
1854
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1855
+ }, z.core.$strict>, z.ZodObject<{
1856
+ do: z.ZodLiteral<"unarchive">;
1857
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1858
+ }, z.core.$strict>, z.ZodObject<{
1859
+ do: z.ZodLiteral<"duplicate">;
1860
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1861
+ }, z.core.$strict>, z.ZodObject<{
1862
+ do: z.ZodLiteral<"delete">;
1863
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1864
+ }, z.core.$strict>, z.ZodObject<{
1865
+ do: z.ZodLiteral<"post">;
1866
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1867
+ message: z.ZodString;
1868
+ kind: z.ZodOptional<z.ZodEnum<{
1869
+ message: "message";
1870
+ note: "note";
1871
+ }>>;
1872
+ }, z.core.$strict>], "do">>;
1873
+ }, z.core.$strict>>>;
1874
+ colspan: z.ZodOptional<z.ZodInt>;
1875
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
1876
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
1877
+ hideOn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
1878
+ narrow: "narrow";
1879
+ medium: "medium";
1880
+ wide: "wide";
1881
+ }>>>;
1882
+ }, z.core.$strict>;
1223
1883
  export declare const SlotNodeSchema: z.ZodObject<{
1224
1884
  type: z.ZodLiteral<"slot">;
1225
1885
  id: z.ZodString;
@@ -1770,6 +2430,244 @@ export declare const LayoutNodeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1770
2430
  wide: "wide";
1771
2431
  }>>>;
1772
2432
  readonly: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2433
+ }, z.core.$strict>, z.ZodObject<{
2434
+ type: z.ZodLiteral<"map">;
2435
+ id: z.ZodString;
2436
+ label: z.ZodOptional<z.ZodString>;
2437
+ layers: z.ZodArray<z.ZodObject<{
2438
+ id: z.ZodString;
2439
+ label: z.ZodOptional<z.ZodString>;
2440
+ point: z.ZodOptional<z.ZodString>;
2441
+ latitude: z.ZodOptional<z.ZodString>;
2442
+ longitude: z.ZodOptional<z.ZodString>;
2443
+ lines: z.ZodOptional<z.ZodString>;
2444
+ pin: z.ZodOptional<z.ZodObject<{
2445
+ look: z.ZodOptional<z.ZodEnum<{
2446
+ label: "label";
2447
+ pin: "pin";
2448
+ icon: "icon";
2449
+ photo: "photo";
2450
+ dot: "dot";
2451
+ }>>;
2452
+ icon: z.ZodOptional<z.ZodString>;
2453
+ iconField: z.ZodOptional<z.ZodString>;
2454
+ image: z.ZodOptional<z.ZodString>;
2455
+ label: z.ZodOptional<z.ZodString>;
2456
+ tones: z.ZodOptional<z.ZodArray<z.ZodObject<{
2457
+ tone: z.ZodEnum<{
2458
+ success: "success";
2459
+ info: "info";
2460
+ warning: "warning";
2461
+ danger: "danger";
2462
+ muted: "muted";
2463
+ }>;
2464
+ when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
2465
+ }, z.core.$strict>>>;
2466
+ turn: z.ZodOptional<z.ZodString>;
2467
+ widget: z.ZodOptional<z.ZodString>;
2468
+ }, z.core.$strict>>;
2469
+ card: z.ZodOptional<z.ZodObject<{
2470
+ title: z.ZodOptional<z.ZodString>;
2471
+ image: z.ZodOptional<z.ZodString>;
2472
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
2473
+ open: z.ZodOptional<z.ZodBoolean>;
2474
+ }, z.core.$strict>>;
2475
+ live: z.ZodOptional<z.ZodObject<{
2476
+ staleAfter: z.ZodOptional<z.ZodInt>;
2477
+ follow: z.ZodOptional<z.ZodBoolean>;
2478
+ }, z.core.$strict>>;
2479
+ route: z.ZodOptional<z.ZodObject<{
2480
+ from: z.ZodString;
2481
+ to: z.ZodOptional<z.ZodString>;
2482
+ through: z.ZodOptional<z.ZodString>;
2483
+ mode: z.ZodOptional<z.ZodEnum<{
2484
+ car: "car";
2485
+ bike: "bike";
2486
+ foot: "foot";
2487
+ }>>;
2488
+ progress: z.ZodOptional<z.ZodBoolean>;
2489
+ write: z.ZodOptional<z.ZodObject<{
2490
+ seconds: z.ZodOptional<z.ZodString>;
2491
+ metres: z.ZodOptional<z.ZodString>;
2492
+ line: z.ZodOptional<z.ZodString>;
2493
+ }, z.core.$strict>>;
2494
+ }, z.core.$strict>>;
2495
+ myLocation: z.ZodOptional<z.ZodBoolean>;
2496
+ regions: z.ZodOptional<z.ZodObject<{
2497
+ from: z.ZodString;
2498
+ key: z.ZodString;
2499
+ name: z.ZodOptional<z.ZodString>;
2500
+ shade: z.ZodOptional<z.ZodString>;
2501
+ legend: z.ZodOptional<z.ZodBoolean>;
2502
+ choose: z.ZodOptional<z.ZodString>;
2503
+ }, z.core.$strict>>;
2504
+ reachable: z.ZodOptional<z.ZodObject<{
2505
+ from: z.ZodString;
2506
+ minutes: z.ZodNumber;
2507
+ mode: z.ZodOptional<z.ZodEnum<{
2508
+ car: "car";
2509
+ bike: "bike";
2510
+ foot: "foot";
2511
+ }>>;
2512
+ }, z.core.$strict>>;
2513
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2514
+ }, z.core.$strict>>;
2515
+ height: z.ZodOptional<z.ZodInt>;
2516
+ tools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2517
+ satellite: "satellite";
2518
+ fullscreen: "fullscreen";
2519
+ measure: "measure";
2520
+ }>>>;
2521
+ fences: z.ZodOptional<z.ZodArray<z.ZodObject<{
2522
+ layer: z.ZodString;
2523
+ area: z.ZodOptional<z.ZodString>;
2524
+ within: z.ZodOptional<z.ZodString>;
2525
+ when: z.ZodEnum<{
2526
+ enter: "enter";
2527
+ leave: "leave";
2528
+ }>;
2529
+ steps: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
2530
+ do: z.ZodLiteral<"open">;
2531
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2532
+ page: z.ZodString;
2533
+ version: z.ZodOptional<z.ZodInt>;
2534
+ as: z.ZodOptional<z.ZodEnum<{
2535
+ page: "page";
2536
+ dialog: "dialog";
2537
+ panel: "panel";
2538
+ }>>;
2539
+ side: z.ZodOptional<z.ZodEnum<{
2540
+ end: "end";
2541
+ start: "start";
2542
+ right: "right";
2543
+ left: "left";
2544
+ top: "top";
2545
+ bottom: "bottom";
2546
+ }>>;
2547
+ title: z.ZodOptional<z.ZodString>;
2548
+ record: z.ZodOptional<z.ZodString>;
2549
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2550
+ filter: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2551
+ field: z.ZodString;
2552
+ op: z.ZodEnum<{
2553
+ set: "set";
2554
+ "=": "=";
2555
+ "!=": "!=";
2556
+ "<": "<";
2557
+ ">": ">";
2558
+ "<=": "<=";
2559
+ ">=": ">=";
2560
+ in: "in";
2561
+ "not in": "not in";
2562
+ like: "like";
2563
+ ilike: "ilike";
2564
+ startswith: "startswith";
2565
+ endswith: "endswith";
2566
+ notset: "notset";
2567
+ between: "between";
2568
+ contains: "contains";
2569
+ "not contains": "not contains";
2570
+ "=?": "=?";
2571
+ within: "within";
2572
+ }>;
2573
+ value: z.ZodOptional<z.ZodJSONSchema>;
2574
+ valueFrom: z.ZodOptional<z.ZodString>;
2575
+ }, z.core.$strict>, z.ZodObject<{
2576
+ any: z.ZodArray<typeof FilterItemSchema>;
2577
+ }, z.core.$strict>, z.ZodObject<{
2578
+ all: z.ZodArray<typeof FilterItemSchema>;
2579
+ }, z.core.$strict>]>>>;
2580
+ into: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2581
+ then: z.ZodOptional<z.ZodArray<typeof import("./actions.mjs").ActionStepSchema>>;
2582
+ }, z.core.$strict>, z.ZodObject<{
2583
+ do: z.ZodLiteral<"set">;
2584
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2585
+ field: z.ZodString;
2586
+ value: z.ZodString;
2587
+ }, z.core.$strict>, z.ZodObject<{
2588
+ do: z.ZodLiteral<"clear">;
2589
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2590
+ field: z.ZodString;
2591
+ }, z.core.$strict>, z.ZodObject<{
2592
+ do: z.ZodLiteral<"addLine">;
2593
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2594
+ field: z.ZodString;
2595
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2596
+ }, z.core.$strict>, z.ZodObject<{
2597
+ do: z.ZodLiteral<"check">;
2598
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2599
+ fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
2600
+ }, z.core.$strict>, z.ZodObject<{
2601
+ do: z.ZodLiteral<"save">;
2602
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2603
+ }, z.core.$strict>, z.ZodObject<{
2604
+ do: z.ZodLiteral<"reset">;
2605
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2606
+ }, z.core.$strict>, z.ZodObject<{
2607
+ do: z.ZodLiteral<"goTo">;
2608
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2609
+ target: z.ZodString;
2610
+ }, z.core.$strict>, z.ZodObject<{
2611
+ do: z.ZodLiteral<"say">;
2612
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2613
+ message: z.ZodString;
2614
+ tone: z.ZodOptional<z.ZodEnum<{
2615
+ success: "success";
2616
+ info: "info";
2617
+ warning: "warning";
2618
+ danger: "danger";
2619
+ muted: "muted";
2620
+ }>>;
2621
+ }, z.core.$strict>, z.ZodObject<{
2622
+ do: z.ZodLiteral<"ask">;
2623
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2624
+ message: z.ZodString;
2625
+ }, z.core.$strict>, z.ZodObject<{
2626
+ do: z.ZodLiteral<"call">;
2627
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2628
+ action: z.ZodString;
2629
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
2630
+ }, z.core.$strict>, z.ZodObject<{
2631
+ do: z.ZodLiteral<"close">;
2632
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2633
+ }, z.core.$strict>, z.ZodObject<{
2634
+ do: z.ZodLiteral<"reload">;
2635
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2636
+ }, z.core.$strict>, z.ZodObject<{
2637
+ do: z.ZodLiteral<"openUrl">;
2638
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2639
+ url: z.ZodString;
2640
+ newTab: z.ZodOptional<z.ZodBoolean>;
2641
+ }, z.core.$strict>, z.ZodObject<{
2642
+ do: z.ZodLiteral<"archive">;
2643
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2644
+ }, z.core.$strict>, z.ZodObject<{
2645
+ do: z.ZodLiteral<"unarchive">;
2646
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2647
+ }, z.core.$strict>, z.ZodObject<{
2648
+ do: z.ZodLiteral<"duplicate">;
2649
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2650
+ }, z.core.$strict>, z.ZodObject<{
2651
+ do: z.ZodLiteral<"delete">;
2652
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2653
+ }, z.core.$strict>, z.ZodObject<{
2654
+ do: z.ZodLiteral<"post">;
2655
+ when: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2656
+ message: z.ZodString;
2657
+ kind: z.ZodOptional<z.ZodEnum<{
2658
+ message: "message";
2659
+ note: "note";
2660
+ }>>;
2661
+ }, z.core.$strict>], "do">>;
2662
+ }, z.core.$strict>>>;
2663
+ colspan: z.ZodOptional<z.ZodInt>;
2664
+ invisible: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
2665
+ roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
2666
+ hideOn: z.ZodOptional<z.ZodArray<z.ZodEnum<{
2667
+ narrow: "narrow";
2668
+ medium: "medium";
2669
+ wide: "wide";
2670
+ }>>>;
1773
2671
  }, z.core.$strict>], "type">;
1774
2672
  export declare const StepNodeSchema: z.ZodObject<{
1775
2673
  type: z.ZodLiteral<"step">;
@@ -3896,44 +4794,6 @@ export declare const SheetNodeSchema: z.ZodObject<{
3896
4794
  }>>>;
3897
4795
  }, z.core.$strict>>>;
3898
4796
  }, z.core.$strict>;
3899
- /**
3900
- * What a pin on a map shows, from its record's fields: a pin, an icon (a
3901
- * fixed one or one a field names), a round photo, words alone, or a dot; its
3902
- * words; its colour by condition; its turn, for a car facing its way; or the
3903
- * app's own widget, which draws it from the record.
3904
- */
3905
- export declare const PinSchema: z.ZodObject<{
3906
- look: z.ZodOptional<z.ZodEnum<{
3907
- label: "label";
3908
- pin: "pin";
3909
- icon: "icon";
3910
- photo: "photo";
3911
- dot: "dot";
3912
- }>>;
3913
- icon: z.ZodOptional<z.ZodString>;
3914
- iconField: z.ZodOptional<z.ZodString>;
3915
- image: z.ZodOptional<z.ZodString>;
3916
- label: z.ZodOptional<z.ZodString>;
3917
- tones: z.ZodOptional<z.ZodArray<z.ZodObject<{
3918
- tone: z.ZodEnum<{
3919
- success: "success";
3920
- info: "info";
3921
- warning: "warning";
3922
- danger: "danger";
3923
- muted: "muted";
3924
- }>;
3925
- when: z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>;
3926
- }, z.core.$strict>>>;
3927
- turn: z.ZodOptional<z.ZodString>;
3928
- widget: z.ZodOptional<z.ZodString>;
3929
- }, z.core.$strict>;
3930
- /** The card a pin opens: its record's title, a picture, a few of its fields, and a way to open it. */
3931
- export declare const MapCardSchema: z.ZodObject<{
3932
- title: z.ZodOptional<z.ZodString>;
3933
- image: z.ZodOptional<z.ZodString>;
3934
- fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
3935
- open: z.ZodOptional<z.ZodBoolean>;
3936
- }, z.core.$strict>;
3937
4797
  /** A list's records on a map, beside it or instead of it: where each is (a point, or a latitude and a longitude), its pin, its card. */
3938
4798
  export declare const ListMapSchema: z.ZodObject<{
3939
4799
  point: z.ZodOptional<z.ZodString>;
@@ -3977,6 +4837,23 @@ export declare const ListMapSchema: z.ZodObject<{
3977
4837
  both: "both";
3978
4838
  }>>;
3979
4839
  limit: z.ZodOptional<z.ZodInt>;
4840
+ tools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
4841
+ satellite: "satellite";
4842
+ fullscreen: "fullscreen";
4843
+ measure: "measure";
4844
+ nearest: "nearest";
4845
+ }>>>;
4846
+ regions: z.ZodOptional<z.ZodObject<{
4847
+ from: z.ZodString;
4848
+ key: z.ZodString;
4849
+ name: z.ZodOptional<z.ZodString>;
4850
+ shade: z.ZodOptional<z.ZodString>;
4851
+ legend: z.ZodOptional<z.ZodBoolean>;
4852
+ field: z.ZodString;
4853
+ }, z.core.$strict>>;
4854
+ heat: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
4855
+ weight: z.ZodOptional<z.ZodString>;
4856
+ }, z.core.$strict>]>>;
3980
4857
  }, z.core.$strict>;
3981
4858
  export declare const ListNodeSchema: z.ZodObject<{
3982
4859
  type: z.ZodLiteral<"list">;
@@ -4223,6 +5100,23 @@ export declare const ListNodeSchema: z.ZodObject<{
4223
5100
  both: "both";
4224
5101
  }>>;
4225
5102
  limit: z.ZodOptional<z.ZodInt>;
5103
+ tools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
5104
+ satellite: "satellite";
5105
+ fullscreen: "fullscreen";
5106
+ measure: "measure";
5107
+ nearest: "nearest";
5108
+ }>>>;
5109
+ regions: z.ZodOptional<z.ZodObject<{
5110
+ from: z.ZodString;
5111
+ key: z.ZodString;
5112
+ name: z.ZodOptional<z.ZodString>;
5113
+ shade: z.ZodOptional<z.ZodString>;
5114
+ legend: z.ZodOptional<z.ZodBoolean>;
5115
+ field: z.ZodString;
5116
+ }, z.core.$strict>>;
5117
+ heat: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
5118
+ weight: z.ZodOptional<z.ZodString>;
5119
+ }, z.core.$strict>]>>;
4226
5120
  }, z.core.$strict>>;
4227
5121
  }, z.core.$strict>;
4228
5122
  export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -6099,5 +6993,22 @@ export declare const RootLayoutSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6099
6993
  both: "both";
6100
6994
  }>>;
6101
6995
  limit: z.ZodOptional<z.ZodInt>;
6996
+ tools: z.ZodOptional<z.ZodArray<z.ZodEnum<{
6997
+ satellite: "satellite";
6998
+ fullscreen: "fullscreen";
6999
+ measure: "measure";
7000
+ nearest: "nearest";
7001
+ }>>>;
7002
+ regions: z.ZodOptional<z.ZodObject<{
7003
+ from: z.ZodString;
7004
+ key: z.ZodString;
7005
+ name: z.ZodOptional<z.ZodString>;
7006
+ shade: z.ZodOptional<z.ZodString>;
7007
+ legend: z.ZodOptional<z.ZodBoolean>;
7008
+ field: z.ZodString;
7009
+ }, z.core.$strict>>;
7010
+ heat: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodObject<{
7011
+ weight: z.ZodOptional<z.ZodString>;
7012
+ }, z.core.$strict>]>>;
6102
7013
  }, z.core.$strict>>;
6103
7014
  }, z.core.$strict>], "type">;