@elaraai/east-ui 1.0.93 → 1.0.95
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/contracts/index.d.ts +1 -1
- package/dist/src/contracts/index.d.ts.map +1 -1
- package/dist/src/contracts/index.js +1 -1
- package/dist/src/contracts/index.js.map +1 -1
- package/dist/src/contracts/source.d.ts +118 -12
- package/dist/src/contracts/source.d.ts.map +1 -1
- package/dist/src/contracts/source.js +88 -20
- package/dist/src/contracts/source.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -1
- package/dist/src/internal.d.ts +2 -1
- package/dist/src/internal.d.ts.map +1 -1
- package/dist/src/internal.js +2 -1
- package/dist/src/internal.js.map +1 -1
- package/dist/src/platform/slice/index.d.ts +23 -0
- package/dist/src/platform/slice/index.d.ts.map +1 -1
- package/dist/src/platform/slice/index.js +29 -1
- package/dist/src/platform/slice/index.js.map +1 -1
- package/dist/src/platform/slice/record-chrome.d.ts +298 -1
- package/dist/src/platform/slice/record-chrome.d.ts.map +1 -1
- package/dist/src/platform/slice/record-chrome.js +45 -1
- package/dist/src/platform/slice/record-chrome.js.map +1 -1
- package/dist/src/platform/slice/record-sources.d.ts +98 -0
- package/dist/src/platform/slice/record-sources.d.ts.map +1 -0
- package/dist/src/platform/slice/record-sources.js +100 -0
- package/dist/src/platform/slice/record-sources.js.map +1 -0
- package/dist/src/platform/slice/record-types.d.ts +889 -29
- package/dist/src/platform/slice/record-types.d.ts.map +1 -1
- package/dist/src/platform/slice/record-types.js +62 -6
- package/dist/src/platform/slice/record-types.js.map +1 -1
- package/dist/src/platform/slice/record.d.ts +1 -1
- package/dist/src/platform/slice/record.d.ts.map +1 -1
- package/dist/src/platform/slice/record.js +6 -0
- package/dist/src/platform/slice/record.js.map +1 -1
- package/dist/src/runtime/record-slice-source.d.ts +6 -1
- package/dist/src/runtime/record-slice-source.d.ts.map +1 -1
- package/dist/src/runtime/record-slice-source.js +21 -3
- package/dist/src/runtime/record-slice-source.js.map +1 -1
- package/dist/src/runtime/record-slice.d.ts +15 -0
- package/dist/src/runtime/record-slice.d.ts.map +1 -1
- package/dist/src/runtime/record-slice.js +20 -1
- package/dist/src/runtime/record-slice.js.map +1 -1
- package/dist/src/runtime/slice.d.ts +1 -0
- package/dist/src/runtime/slice.d.ts.map +1 -1
- package/dist/src/runtime/slice.js +3 -1
- package/dist/src/runtime/slice.js.map +1 -1
- package/dist/src/slice/index.d.ts +6 -0
- package/dist/src/slice/index.d.ts.map +1 -1
- package/dist/src/slice/record/index.d.ts +8 -0
- package/dist/src/slice/record/index.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -248,6 +248,7 @@ export type RecordSliceDomainType = typeof RecordSliceDomainType;
|
|
|
248
248
|
* @property retry - Retry failed reads against the current record revision.
|
|
249
249
|
* @property sourceId - Stable record identity for a shared editing session.
|
|
250
250
|
* @property contains - Exact indexed membership of a primary identity in a captured narrowing; internal editing integration.
|
|
251
|
+
* @property containsRow - Exact indexed membership of an entry whose row the caller holds at the record's current revision — a Save's: the row its request began from, or the one its confirmation read back — its maintained keys sought without reading the row again; internal editing integration.
|
|
251
252
|
* @property readEntry - Confirm an entry by primary identity: outer none is pending, inner none is confirmed absent. Internal editing integration.
|
|
252
253
|
*/
|
|
253
254
|
export declare const RecordSliceBindType: StructType<{
|
|
@@ -398,10 +399,22 @@ export declare const RecordSliceBindType: StructType<{
|
|
|
398
399
|
}>;
|
|
399
400
|
readonly prefix: StringType;
|
|
400
401
|
}>>, StringType], OptionType<BooleanType>>;
|
|
402
|
+
readonly containsRow: FunctionType<[DictType<StringType, VariantType<{
|
|
403
|
+
readonly values: ArrayType<StringType>;
|
|
404
|
+
readonly range: StructType<{
|
|
405
|
+
readonly from: StringType;
|
|
406
|
+
readonly to: StringType;
|
|
407
|
+
}>;
|
|
408
|
+
readonly prefix: StringType;
|
|
409
|
+
}>>, StringType, BlobType], OptionType<BooleanType>>;
|
|
401
410
|
}>;
|
|
402
411
|
export type RecordSliceBindType = typeof RecordSliceBindType;
|
|
403
412
|
/**
|
|
404
413
|
* Typed authoring handle; `data` preserves the narrowed window type through $.let.
|
|
414
|
+
* @remarks `data` is a live source (#1354): one per binding, whatever the
|
|
415
|
+
* narrowing, its reads reading the narrowing as it stands when they run and
|
|
416
|
+
* its `query` naming it — so a component built over it is not built again when
|
|
417
|
+
* a choice changes.
|
|
405
418
|
* @typeParam C - The collection type one narrowed window serves.
|
|
406
419
|
* @param collection - Window type.
|
|
407
420
|
* @returns The typed record Slice handle.
|
|
@@ -429,6 +442,7 @@ export declare function RecordSliceHandleType<C extends EastType | string>(colle
|
|
|
429
442
|
}>>>>;
|
|
430
443
|
readonly revision: FunctionType<[], OptionType<StringType>>;
|
|
431
444
|
readonly refresh: FunctionType<[OptionType<StringType>], NullType>;
|
|
445
|
+
readonly query: FunctionType<[], StringType>;
|
|
432
446
|
}>;
|
|
433
447
|
/** Read a captured narrowing without replacing the shared controls' state. */
|
|
434
448
|
readonly pageWhere: FunctionType<[DictType<StringType, VariantType<{
|
|
@@ -586,6 +600,781 @@ export declare function RecordSliceHandleType<C extends EastType | string>(colle
|
|
|
586
600
|
}>;
|
|
587
601
|
readonly prefix: StringType;
|
|
588
602
|
}>>, StringType], OptionType<BooleanType>>;
|
|
603
|
+
readonly containsRow: FunctionType<[DictType<StringType, VariantType<{
|
|
604
|
+
readonly values: ArrayType<StringType>;
|
|
605
|
+
readonly range: StructType<{
|
|
606
|
+
readonly from: StringType;
|
|
607
|
+
readonly to: StringType;
|
|
608
|
+
}>;
|
|
609
|
+
readonly prefix: StringType;
|
|
610
|
+
}>>, StringType, BlobType], OptionType<BooleanType>>;
|
|
611
|
+
}>;
|
|
612
|
+
/**
|
|
613
|
+
* One source of a Slice over several records: its name, how the rail names it, and its controls.
|
|
614
|
+
* @property source - The source's name (`lanes`), what `Slice.rows(slice, source)` names.
|
|
615
|
+
* @property label - How the rail names it (`Bays`); none, the host's noun for it.
|
|
616
|
+
* @property icon - Its icon on the rail, a Font Awesome solid icon; none, the rail's own.
|
|
617
|
+
* @property slice - Its record Slice's controls, a part like any other.
|
|
618
|
+
*/
|
|
619
|
+
export declare const RecordSlicePartType: StructType<{
|
|
620
|
+
readonly source: StringType;
|
|
621
|
+
readonly label: OptionType<StringType>;
|
|
622
|
+
readonly icon: OptionType<StructType<{
|
|
623
|
+
readonly name: StringType;
|
|
624
|
+
readonly prefix: StringType;
|
|
625
|
+
readonly label: OptionType<StringType>;
|
|
626
|
+
readonly style: OptionType<StructType<{
|
|
627
|
+
readonly size: OptionType<VariantType<{
|
|
628
|
+
readonly xs: NullType;
|
|
629
|
+
readonly sm: NullType;
|
|
630
|
+
readonly md: NullType;
|
|
631
|
+
readonly lg: NullType;
|
|
632
|
+
readonly xl: NullType;
|
|
633
|
+
readonly "2xl": NullType;
|
|
634
|
+
}>>;
|
|
635
|
+
readonly variant: OptionType<VariantType<{
|
|
636
|
+
readonly solid: NullType;
|
|
637
|
+
}>>;
|
|
638
|
+
readonly color: OptionType<StringType>;
|
|
639
|
+
readonly background: OptionType<StringType>;
|
|
640
|
+
readonly colorPalette: OptionType<VariantType<{
|
|
641
|
+
readonly brand: NullType;
|
|
642
|
+
readonly gray: NullType;
|
|
643
|
+
readonly red: NullType;
|
|
644
|
+
readonly orange: NullType;
|
|
645
|
+
readonly yellow: NullType;
|
|
646
|
+
readonly green: NullType;
|
|
647
|
+
readonly teal: NullType;
|
|
648
|
+
readonly blue: NullType;
|
|
649
|
+
readonly cyan: NullType;
|
|
650
|
+
readonly purple: NullType;
|
|
651
|
+
readonly pink: NullType;
|
|
652
|
+
readonly success: NullType;
|
|
653
|
+
readonly warning: NullType;
|
|
654
|
+
readonly danger: NullType;
|
|
655
|
+
readonly info: NullType;
|
|
656
|
+
readonly neutral: NullType;
|
|
657
|
+
}>>;
|
|
658
|
+
readonly opacity: OptionType<import("@elaraai/east").FloatType>;
|
|
659
|
+
readonly borderRadius: OptionType<StringType>;
|
|
660
|
+
readonly overflow: OptionType<VariantType<{
|
|
661
|
+
readonly visible: NullType;
|
|
662
|
+
readonly hidden: NullType;
|
|
663
|
+
readonly scroll: NullType;
|
|
664
|
+
readonly auto: NullType;
|
|
665
|
+
}>>;
|
|
666
|
+
readonly overflowX: OptionType<VariantType<{
|
|
667
|
+
readonly visible: NullType;
|
|
668
|
+
readonly hidden: NullType;
|
|
669
|
+
readonly scroll: NullType;
|
|
670
|
+
readonly auto: NullType;
|
|
671
|
+
}>>;
|
|
672
|
+
readonly overflowY: OptionType<VariantType<{
|
|
673
|
+
readonly visible: NullType;
|
|
674
|
+
readonly hidden: NullType;
|
|
675
|
+
readonly scroll: NullType;
|
|
676
|
+
readonly auto: NullType;
|
|
677
|
+
}>>;
|
|
678
|
+
readonly width: OptionType<StringType>;
|
|
679
|
+
readonly height: OptionType<StringType>;
|
|
680
|
+
readonly minWidth: OptionType<StringType>;
|
|
681
|
+
readonly minHeight: OptionType<StringType>;
|
|
682
|
+
readonly maxWidth: OptionType<StringType>;
|
|
683
|
+
readonly maxHeight: OptionType<StringType>;
|
|
684
|
+
readonly padding: OptionType<StructType<{
|
|
685
|
+
readonly top: OptionType<StringType>;
|
|
686
|
+
readonly right: OptionType<StringType>;
|
|
687
|
+
readonly bottom: OptionType<StringType>;
|
|
688
|
+
readonly left: OptionType<StringType>;
|
|
689
|
+
}>>;
|
|
690
|
+
readonly margin: OptionType<StructType<{
|
|
691
|
+
readonly top: OptionType<StringType>;
|
|
692
|
+
readonly right: OptionType<StringType>;
|
|
693
|
+
readonly bottom: OptionType<StringType>;
|
|
694
|
+
readonly left: OptionType<StringType>;
|
|
695
|
+
}>>;
|
|
696
|
+
}>>;
|
|
697
|
+
}>>;
|
|
698
|
+
readonly slice: StructType<{
|
|
699
|
+
readonly key: StringType;
|
|
700
|
+
readonly config: StructType<{
|
|
701
|
+
readonly fields: ArrayType<StructType<{
|
|
702
|
+
readonly fieldId: StringType;
|
|
703
|
+
readonly label: StringType;
|
|
704
|
+
readonly kind: StringType;
|
|
705
|
+
readonly optional: BooleanType;
|
|
706
|
+
readonly multiple: BooleanType;
|
|
707
|
+
readonly set: BooleanType;
|
|
708
|
+
readonly values: ArrayType<StructType<{
|
|
709
|
+
readonly value: StringType;
|
|
710
|
+
readonly label: StringType;
|
|
711
|
+
}>>;
|
|
712
|
+
readonly format: OptionType<VariantType<{
|
|
713
|
+
readonly number: NullType;
|
|
714
|
+
readonly currency: StructType<{
|
|
715
|
+
readonly code: StringType;
|
|
716
|
+
readonly compact: BooleanType;
|
|
717
|
+
}>;
|
|
718
|
+
readonly percent: NullType;
|
|
719
|
+
readonly compact: NullType;
|
|
720
|
+
readonly date: StringType;
|
|
721
|
+
readonly time: StringType;
|
|
722
|
+
readonly datetime: StringType;
|
|
723
|
+
}>>;
|
|
724
|
+
}>>;
|
|
725
|
+
readonly indexes: ArrayType<StructType<{
|
|
726
|
+
readonly name: StringType;
|
|
727
|
+
readonly fields: ArrayType<StringType>;
|
|
728
|
+
readonly sets: SetType<StringType>;
|
|
729
|
+
readonly structured: BooleanType;
|
|
730
|
+
readonly interval: OptionType<StructType<{
|
|
731
|
+
readonly from: StringType;
|
|
732
|
+
readonly to: StringType;
|
|
733
|
+
readonly optional: BooleanType;
|
|
734
|
+
}>>;
|
|
735
|
+
}>>;
|
|
736
|
+
readonly range: OptionType<StringType>;
|
|
737
|
+
readonly search: ArrayType<StringType>;
|
|
738
|
+
readonly presets: ArrayType<StructType<{
|
|
739
|
+
readonly id: StringType;
|
|
740
|
+
readonly name: StringType;
|
|
741
|
+
readonly where: DictType<StringType, VariantType<{
|
|
742
|
+
readonly values: ArrayType<StringType>;
|
|
743
|
+
readonly range: StructType<{
|
|
744
|
+
readonly from: StringType;
|
|
745
|
+
readonly to: StringType;
|
|
746
|
+
}>;
|
|
747
|
+
readonly prefix: StringType;
|
|
748
|
+
}>>;
|
|
749
|
+
}>>;
|
|
750
|
+
}>;
|
|
751
|
+
readonly read: FunctionType<[], StructType<{
|
|
752
|
+
readonly where: DictType<StringType, VariantType<{
|
|
753
|
+
readonly values: ArrayType<StringType>;
|
|
754
|
+
readonly range: StructType<{
|
|
755
|
+
readonly from: StringType;
|
|
756
|
+
readonly to: StringType;
|
|
757
|
+
}>;
|
|
758
|
+
readonly prefix: StringType;
|
|
759
|
+
}>>;
|
|
760
|
+
readonly preset: OptionType<StringType>;
|
|
761
|
+
readonly resolution: OptionType<VariantType<{
|
|
762
|
+
readonly auto: NullType;
|
|
763
|
+
readonly hour: NullType;
|
|
764
|
+
readonly day: NullType;
|
|
765
|
+
readonly week: NullType;
|
|
766
|
+
readonly month: NullType;
|
|
767
|
+
readonly quarter: NullType;
|
|
768
|
+
readonly year: NullType;
|
|
769
|
+
}>>;
|
|
770
|
+
}>>;
|
|
771
|
+
readonly write: FunctionType<[StructType<{
|
|
772
|
+
readonly where: DictType<StringType, VariantType<{
|
|
773
|
+
readonly values: ArrayType<StringType>;
|
|
774
|
+
readonly range: StructType<{
|
|
775
|
+
readonly from: StringType;
|
|
776
|
+
readonly to: StringType;
|
|
777
|
+
}>;
|
|
778
|
+
readonly prefix: StringType;
|
|
779
|
+
}>>;
|
|
780
|
+
readonly preset: OptionType<StringType>;
|
|
781
|
+
readonly resolution: OptionType<VariantType<{
|
|
782
|
+
readonly auto: NullType;
|
|
783
|
+
readonly hour: NullType;
|
|
784
|
+
readonly day: NullType;
|
|
785
|
+
readonly week: NullType;
|
|
786
|
+
readonly month: NullType;
|
|
787
|
+
readonly quarter: NullType;
|
|
788
|
+
readonly year: NullType;
|
|
789
|
+
}>>;
|
|
790
|
+
}>], NullType>;
|
|
791
|
+
readonly choose: FunctionType<[StringType, ArrayType<StringType>], NullType>;
|
|
792
|
+
readonly range: FunctionType<[StringType, StringType, StringType], NullType>;
|
|
793
|
+
readonly prefix: FunctionType<[StringType, StringType], NullType>;
|
|
794
|
+
readonly clear: FunctionType<[StringType], NullType>;
|
|
795
|
+
readonly clearAll: FunctionType<[], NullType>;
|
|
796
|
+
readonly count: FunctionType<[], OptionType<IntegerType>>;
|
|
797
|
+
readonly countWhere: FunctionType<[DictType<StringType, VariantType<{
|
|
798
|
+
readonly values: ArrayType<StringType>;
|
|
799
|
+
readonly range: StructType<{
|
|
800
|
+
readonly from: StringType;
|
|
801
|
+
readonly to: StringType;
|
|
802
|
+
}>;
|
|
803
|
+
readonly prefix: StringType;
|
|
804
|
+
}>>], OptionType<IntegerType>>;
|
|
805
|
+
readonly total: FunctionType<[], OptionType<IntegerType>>;
|
|
806
|
+
readonly domain: FunctionType<[StringType], OptionType<StructType<{
|
|
807
|
+
readonly from: StringType;
|
|
808
|
+
readonly to: StringType;
|
|
809
|
+
}>>>;
|
|
810
|
+
readonly values: FunctionType<[StringType], ArrayType<StructType<{
|
|
811
|
+
readonly value: StringType;
|
|
812
|
+
readonly label: StringType;
|
|
813
|
+
readonly count: OptionType<IntegerType>;
|
|
814
|
+
readonly selected: BooleanType;
|
|
815
|
+
readonly error: OptionType<StringType>;
|
|
816
|
+
}>>>;
|
|
817
|
+
readonly suggest: FunctionType<[StringType, StringType], OptionType<ArrayType<StructType<{
|
|
818
|
+
readonly value: StringType;
|
|
819
|
+
readonly label: StringType;
|
|
820
|
+
readonly count: OptionType<IntegerType>;
|
|
821
|
+
readonly selected: BooleanType;
|
|
822
|
+
readonly error: OptionType<StringType>;
|
|
823
|
+
}>>>>;
|
|
824
|
+
readonly replaces: FunctionType<[StringType], ArrayType<StringType>>;
|
|
825
|
+
readonly togglePreset: FunctionType<[StringType], NullType>;
|
|
826
|
+
readonly setResolution: FunctionType<[OptionType<VariantType<{
|
|
827
|
+
readonly auto: NullType;
|
|
828
|
+
readonly hour: NullType;
|
|
829
|
+
readonly day: NullType;
|
|
830
|
+
readonly week: NullType;
|
|
831
|
+
readonly month: NullType;
|
|
832
|
+
readonly quarter: NullType;
|
|
833
|
+
readonly year: NullType;
|
|
834
|
+
}>>], NullType>;
|
|
835
|
+
readonly retry: FunctionType<[], NullType>;
|
|
836
|
+
readonly sourceId: StringType;
|
|
837
|
+
readonly readEntry: FunctionType<[StringType], OptionType<OptionType<BlobType>>>;
|
|
838
|
+
readonly contains: FunctionType<[DictType<StringType, VariantType<{
|
|
839
|
+
readonly values: ArrayType<StringType>;
|
|
840
|
+
readonly range: StructType<{
|
|
841
|
+
readonly from: StringType;
|
|
842
|
+
readonly to: StringType;
|
|
843
|
+
}>;
|
|
844
|
+
readonly prefix: StringType;
|
|
845
|
+
}>>, StringType], OptionType<BooleanType>>;
|
|
846
|
+
readonly containsRow: FunctionType<[DictType<StringType, VariantType<{
|
|
847
|
+
readonly values: ArrayType<StringType>;
|
|
848
|
+
readonly range: StructType<{
|
|
849
|
+
readonly from: StringType;
|
|
850
|
+
readonly to: StringType;
|
|
851
|
+
}>;
|
|
852
|
+
readonly prefix: StringType;
|
|
853
|
+
}>>, StringType, BlobType], OptionType<BooleanType>>;
|
|
854
|
+
}>;
|
|
855
|
+
}>;
|
|
856
|
+
export type RecordSlicePartType = typeof RecordSlicePartType;
|
|
857
|
+
/**
|
|
858
|
+
* A named narrowing over several sources, selected as one.
|
|
859
|
+
* @property id - Stable preset identity, shared by each part's preset.
|
|
860
|
+
* @property name - Display name.
|
|
861
|
+
*/
|
|
862
|
+
export declare const RecordSlicesPresetType: StructType<{
|
|
863
|
+
readonly id: StringType;
|
|
864
|
+
readonly name: StringType;
|
|
865
|
+
}>;
|
|
866
|
+
export type RecordSlicesPresetType = typeof RecordSlicesPresetType;
|
|
867
|
+
/**
|
|
868
|
+
* A Slice over several records' non-generic handle: the product of one record
|
|
869
|
+
* Slice per source, safe to embed in component IR.
|
|
870
|
+
* @remarks No index relates two records, so a choice in one part never changes
|
|
871
|
+
* another's result or counts. The product keeps no state of its own: its state
|
|
872
|
+
* is each part's.
|
|
873
|
+
* @property key - Store identity; each part's is `${key}.${source}`.
|
|
874
|
+
* @property parts - Each source's controls, in source order.
|
|
875
|
+
* @property presets - Narrowings over several sources; a part holds each as a preset of the same id.
|
|
876
|
+
* @property clearAll - Clear every part.
|
|
877
|
+
* @property togglePreset - Select a preset in every part, or clear every part when each already has it.
|
|
878
|
+
*/
|
|
879
|
+
export declare const RecordSlicesBindType: StructType<{
|
|
880
|
+
readonly key: StringType;
|
|
881
|
+
readonly parts: ArrayType<StructType<{
|
|
882
|
+
readonly source: StringType;
|
|
883
|
+
readonly label: OptionType<StringType>;
|
|
884
|
+
readonly icon: OptionType<StructType<{
|
|
885
|
+
readonly name: StringType;
|
|
886
|
+
readonly prefix: StringType;
|
|
887
|
+
readonly label: OptionType<StringType>;
|
|
888
|
+
readonly style: OptionType<StructType<{
|
|
889
|
+
readonly size: OptionType<VariantType<{
|
|
890
|
+
readonly xs: NullType;
|
|
891
|
+
readonly sm: NullType;
|
|
892
|
+
readonly md: NullType;
|
|
893
|
+
readonly lg: NullType;
|
|
894
|
+
readonly xl: NullType;
|
|
895
|
+
readonly "2xl": NullType;
|
|
896
|
+
}>>;
|
|
897
|
+
readonly variant: OptionType<VariantType<{
|
|
898
|
+
readonly solid: NullType;
|
|
899
|
+
}>>;
|
|
900
|
+
readonly color: OptionType<StringType>;
|
|
901
|
+
readonly background: OptionType<StringType>;
|
|
902
|
+
readonly colorPalette: OptionType<VariantType<{
|
|
903
|
+
readonly brand: NullType;
|
|
904
|
+
readonly gray: NullType;
|
|
905
|
+
readonly red: NullType;
|
|
906
|
+
readonly orange: NullType;
|
|
907
|
+
readonly yellow: NullType;
|
|
908
|
+
readonly green: NullType;
|
|
909
|
+
readonly teal: NullType;
|
|
910
|
+
readonly blue: NullType;
|
|
911
|
+
readonly cyan: NullType;
|
|
912
|
+
readonly purple: NullType;
|
|
913
|
+
readonly pink: NullType;
|
|
914
|
+
readonly success: NullType;
|
|
915
|
+
readonly warning: NullType;
|
|
916
|
+
readonly danger: NullType;
|
|
917
|
+
readonly info: NullType;
|
|
918
|
+
readonly neutral: NullType;
|
|
919
|
+
}>>;
|
|
920
|
+
readonly opacity: OptionType<import("@elaraai/east").FloatType>;
|
|
921
|
+
readonly borderRadius: OptionType<StringType>;
|
|
922
|
+
readonly overflow: OptionType<VariantType<{
|
|
923
|
+
readonly visible: NullType;
|
|
924
|
+
readonly hidden: NullType;
|
|
925
|
+
readonly scroll: NullType;
|
|
926
|
+
readonly auto: NullType;
|
|
927
|
+
}>>;
|
|
928
|
+
readonly overflowX: OptionType<VariantType<{
|
|
929
|
+
readonly visible: NullType;
|
|
930
|
+
readonly hidden: NullType;
|
|
931
|
+
readonly scroll: NullType;
|
|
932
|
+
readonly auto: NullType;
|
|
933
|
+
}>>;
|
|
934
|
+
readonly overflowY: OptionType<VariantType<{
|
|
935
|
+
readonly visible: NullType;
|
|
936
|
+
readonly hidden: NullType;
|
|
937
|
+
readonly scroll: NullType;
|
|
938
|
+
readonly auto: NullType;
|
|
939
|
+
}>>;
|
|
940
|
+
readonly width: OptionType<StringType>;
|
|
941
|
+
readonly height: OptionType<StringType>;
|
|
942
|
+
readonly minWidth: OptionType<StringType>;
|
|
943
|
+
readonly minHeight: OptionType<StringType>;
|
|
944
|
+
readonly maxWidth: OptionType<StringType>;
|
|
945
|
+
readonly maxHeight: OptionType<StringType>;
|
|
946
|
+
readonly padding: OptionType<StructType<{
|
|
947
|
+
readonly top: OptionType<StringType>;
|
|
948
|
+
readonly right: OptionType<StringType>;
|
|
949
|
+
readonly bottom: OptionType<StringType>;
|
|
950
|
+
readonly left: OptionType<StringType>;
|
|
951
|
+
}>>;
|
|
952
|
+
readonly margin: OptionType<StructType<{
|
|
953
|
+
readonly top: OptionType<StringType>;
|
|
954
|
+
readonly right: OptionType<StringType>;
|
|
955
|
+
readonly bottom: OptionType<StringType>;
|
|
956
|
+
readonly left: OptionType<StringType>;
|
|
957
|
+
}>>;
|
|
958
|
+
}>>;
|
|
959
|
+
}>>;
|
|
960
|
+
readonly slice: StructType<{
|
|
961
|
+
readonly key: StringType;
|
|
962
|
+
readonly config: StructType<{
|
|
963
|
+
readonly fields: ArrayType<StructType<{
|
|
964
|
+
readonly fieldId: StringType;
|
|
965
|
+
readonly label: StringType;
|
|
966
|
+
readonly kind: StringType;
|
|
967
|
+
readonly optional: BooleanType;
|
|
968
|
+
readonly multiple: BooleanType;
|
|
969
|
+
readonly set: BooleanType;
|
|
970
|
+
readonly values: ArrayType<StructType<{
|
|
971
|
+
readonly value: StringType;
|
|
972
|
+
readonly label: StringType;
|
|
973
|
+
}>>;
|
|
974
|
+
readonly format: OptionType<VariantType<{
|
|
975
|
+
readonly number: NullType;
|
|
976
|
+
readonly currency: StructType<{
|
|
977
|
+
readonly code: StringType;
|
|
978
|
+
readonly compact: BooleanType;
|
|
979
|
+
}>;
|
|
980
|
+
readonly percent: NullType;
|
|
981
|
+
readonly compact: NullType;
|
|
982
|
+
readonly date: StringType;
|
|
983
|
+
readonly time: StringType;
|
|
984
|
+
readonly datetime: StringType;
|
|
985
|
+
}>>;
|
|
986
|
+
}>>;
|
|
987
|
+
readonly indexes: ArrayType<StructType<{
|
|
988
|
+
readonly name: StringType;
|
|
989
|
+
readonly fields: ArrayType<StringType>;
|
|
990
|
+
readonly sets: SetType<StringType>;
|
|
991
|
+
readonly structured: BooleanType;
|
|
992
|
+
readonly interval: OptionType<StructType<{
|
|
993
|
+
readonly from: StringType;
|
|
994
|
+
readonly to: StringType;
|
|
995
|
+
readonly optional: BooleanType;
|
|
996
|
+
}>>;
|
|
997
|
+
}>>;
|
|
998
|
+
readonly range: OptionType<StringType>;
|
|
999
|
+
readonly search: ArrayType<StringType>;
|
|
1000
|
+
readonly presets: ArrayType<StructType<{
|
|
1001
|
+
readonly id: StringType;
|
|
1002
|
+
readonly name: StringType;
|
|
1003
|
+
readonly where: DictType<StringType, VariantType<{
|
|
1004
|
+
readonly values: ArrayType<StringType>;
|
|
1005
|
+
readonly range: StructType<{
|
|
1006
|
+
readonly from: StringType;
|
|
1007
|
+
readonly to: StringType;
|
|
1008
|
+
}>;
|
|
1009
|
+
readonly prefix: StringType;
|
|
1010
|
+
}>>;
|
|
1011
|
+
}>>;
|
|
1012
|
+
}>;
|
|
1013
|
+
readonly read: FunctionType<[], StructType<{
|
|
1014
|
+
readonly where: DictType<StringType, VariantType<{
|
|
1015
|
+
readonly values: ArrayType<StringType>;
|
|
1016
|
+
readonly range: StructType<{
|
|
1017
|
+
readonly from: StringType;
|
|
1018
|
+
readonly to: StringType;
|
|
1019
|
+
}>;
|
|
1020
|
+
readonly prefix: StringType;
|
|
1021
|
+
}>>;
|
|
1022
|
+
readonly preset: OptionType<StringType>;
|
|
1023
|
+
readonly resolution: OptionType<VariantType<{
|
|
1024
|
+
readonly auto: NullType;
|
|
1025
|
+
readonly hour: NullType;
|
|
1026
|
+
readonly day: NullType;
|
|
1027
|
+
readonly week: NullType;
|
|
1028
|
+
readonly month: NullType;
|
|
1029
|
+
readonly quarter: NullType;
|
|
1030
|
+
readonly year: NullType;
|
|
1031
|
+
}>>;
|
|
1032
|
+
}>>;
|
|
1033
|
+
readonly write: FunctionType<[StructType<{
|
|
1034
|
+
readonly where: DictType<StringType, VariantType<{
|
|
1035
|
+
readonly values: ArrayType<StringType>;
|
|
1036
|
+
readonly range: StructType<{
|
|
1037
|
+
readonly from: StringType;
|
|
1038
|
+
readonly to: StringType;
|
|
1039
|
+
}>;
|
|
1040
|
+
readonly prefix: StringType;
|
|
1041
|
+
}>>;
|
|
1042
|
+
readonly preset: OptionType<StringType>;
|
|
1043
|
+
readonly resolution: OptionType<VariantType<{
|
|
1044
|
+
readonly auto: NullType;
|
|
1045
|
+
readonly hour: NullType;
|
|
1046
|
+
readonly day: NullType;
|
|
1047
|
+
readonly week: NullType;
|
|
1048
|
+
readonly month: NullType;
|
|
1049
|
+
readonly quarter: NullType;
|
|
1050
|
+
readonly year: NullType;
|
|
1051
|
+
}>>;
|
|
1052
|
+
}>], NullType>;
|
|
1053
|
+
readonly choose: FunctionType<[StringType, ArrayType<StringType>], NullType>;
|
|
1054
|
+
readonly range: FunctionType<[StringType, StringType, StringType], NullType>;
|
|
1055
|
+
readonly prefix: FunctionType<[StringType, StringType], NullType>;
|
|
1056
|
+
readonly clear: FunctionType<[StringType], NullType>;
|
|
1057
|
+
readonly clearAll: FunctionType<[], NullType>;
|
|
1058
|
+
readonly count: FunctionType<[], OptionType<IntegerType>>;
|
|
1059
|
+
readonly countWhere: FunctionType<[DictType<StringType, VariantType<{
|
|
1060
|
+
readonly values: ArrayType<StringType>;
|
|
1061
|
+
readonly range: StructType<{
|
|
1062
|
+
readonly from: StringType;
|
|
1063
|
+
readonly to: StringType;
|
|
1064
|
+
}>;
|
|
1065
|
+
readonly prefix: StringType;
|
|
1066
|
+
}>>], OptionType<IntegerType>>;
|
|
1067
|
+
readonly total: FunctionType<[], OptionType<IntegerType>>;
|
|
1068
|
+
readonly domain: FunctionType<[StringType], OptionType<StructType<{
|
|
1069
|
+
readonly from: StringType;
|
|
1070
|
+
readonly to: StringType;
|
|
1071
|
+
}>>>;
|
|
1072
|
+
readonly values: FunctionType<[StringType], ArrayType<StructType<{
|
|
1073
|
+
readonly value: StringType;
|
|
1074
|
+
readonly label: StringType;
|
|
1075
|
+
readonly count: OptionType<IntegerType>;
|
|
1076
|
+
readonly selected: BooleanType;
|
|
1077
|
+
readonly error: OptionType<StringType>;
|
|
1078
|
+
}>>>;
|
|
1079
|
+
readonly suggest: FunctionType<[StringType, StringType], OptionType<ArrayType<StructType<{
|
|
1080
|
+
readonly value: StringType;
|
|
1081
|
+
readonly label: StringType;
|
|
1082
|
+
readonly count: OptionType<IntegerType>;
|
|
1083
|
+
readonly selected: BooleanType;
|
|
1084
|
+
readonly error: OptionType<StringType>;
|
|
1085
|
+
}>>>>;
|
|
1086
|
+
readonly replaces: FunctionType<[StringType], ArrayType<StringType>>;
|
|
1087
|
+
readonly togglePreset: FunctionType<[StringType], NullType>;
|
|
1088
|
+
readonly setResolution: FunctionType<[OptionType<VariantType<{
|
|
1089
|
+
readonly auto: NullType;
|
|
1090
|
+
readonly hour: NullType;
|
|
1091
|
+
readonly day: NullType;
|
|
1092
|
+
readonly week: NullType;
|
|
1093
|
+
readonly month: NullType;
|
|
1094
|
+
readonly quarter: NullType;
|
|
1095
|
+
readonly year: NullType;
|
|
1096
|
+
}>>], NullType>;
|
|
1097
|
+
readonly retry: FunctionType<[], NullType>;
|
|
1098
|
+
readonly sourceId: StringType;
|
|
1099
|
+
readonly readEntry: FunctionType<[StringType], OptionType<OptionType<BlobType>>>;
|
|
1100
|
+
readonly contains: FunctionType<[DictType<StringType, VariantType<{
|
|
1101
|
+
readonly values: ArrayType<StringType>;
|
|
1102
|
+
readonly range: StructType<{
|
|
1103
|
+
readonly from: StringType;
|
|
1104
|
+
readonly to: StringType;
|
|
1105
|
+
}>;
|
|
1106
|
+
readonly prefix: StringType;
|
|
1107
|
+
}>>, StringType], OptionType<BooleanType>>;
|
|
1108
|
+
readonly containsRow: FunctionType<[DictType<StringType, VariantType<{
|
|
1109
|
+
readonly values: ArrayType<StringType>;
|
|
1110
|
+
readonly range: StructType<{
|
|
1111
|
+
readonly from: StringType;
|
|
1112
|
+
readonly to: StringType;
|
|
1113
|
+
}>;
|
|
1114
|
+
readonly prefix: StringType;
|
|
1115
|
+
}>>, StringType, BlobType], OptionType<BooleanType>>;
|
|
1116
|
+
}>;
|
|
1117
|
+
}>>;
|
|
1118
|
+
readonly presets: ArrayType<StructType<{
|
|
1119
|
+
readonly id: StringType;
|
|
1120
|
+
readonly name: StringType;
|
|
1121
|
+
}>>;
|
|
1122
|
+
readonly clearAll: FunctionType<[], NullType>;
|
|
1123
|
+
readonly togglePreset: FunctionType<[StringType], NullType>;
|
|
1124
|
+
}>;
|
|
1125
|
+
export type RecordSlicesBindType = typeof RecordSlicesBindType;
|
|
1126
|
+
/**
|
|
1127
|
+
* Typed authoring handle over several records; `sources` keeps each part's typed handle through $.let.
|
|
1128
|
+
* @typeParam S - Each source's typed record Slice handle type, by name.
|
|
1129
|
+
* @param sources - The handle types.
|
|
1130
|
+
* @returns The typed handle type.
|
|
1131
|
+
*/
|
|
1132
|
+
export declare function RecordSlicesHandleType<S extends Record<string, EastType>>(sources: S): StructType<{
|
|
1133
|
+
readonly sources: StructType<S>;
|
|
1134
|
+
readonly key: StringType;
|
|
1135
|
+
readonly parts: ArrayType<StructType<{
|
|
1136
|
+
readonly source: StringType;
|
|
1137
|
+
readonly label: OptionType<StringType>;
|
|
1138
|
+
readonly icon: OptionType<StructType<{
|
|
1139
|
+
readonly name: StringType;
|
|
1140
|
+
readonly prefix: StringType;
|
|
1141
|
+
readonly label: OptionType<StringType>;
|
|
1142
|
+
readonly style: OptionType<StructType<{
|
|
1143
|
+
readonly size: OptionType<VariantType<{
|
|
1144
|
+
readonly xs: NullType;
|
|
1145
|
+
readonly sm: NullType;
|
|
1146
|
+
readonly md: NullType;
|
|
1147
|
+
readonly lg: NullType;
|
|
1148
|
+
readonly xl: NullType;
|
|
1149
|
+
readonly "2xl": NullType;
|
|
1150
|
+
}>>;
|
|
1151
|
+
readonly variant: OptionType<VariantType<{
|
|
1152
|
+
readonly solid: NullType;
|
|
1153
|
+
}>>;
|
|
1154
|
+
readonly color: OptionType<StringType>;
|
|
1155
|
+
readonly background: OptionType<StringType>;
|
|
1156
|
+
readonly colorPalette: OptionType<VariantType<{
|
|
1157
|
+
readonly brand: NullType;
|
|
1158
|
+
readonly gray: NullType;
|
|
1159
|
+
readonly red: NullType;
|
|
1160
|
+
readonly orange: NullType;
|
|
1161
|
+
readonly yellow: NullType;
|
|
1162
|
+
readonly green: NullType;
|
|
1163
|
+
readonly teal: NullType;
|
|
1164
|
+
readonly blue: NullType;
|
|
1165
|
+
readonly cyan: NullType;
|
|
1166
|
+
readonly purple: NullType;
|
|
1167
|
+
readonly pink: NullType;
|
|
1168
|
+
readonly success: NullType;
|
|
1169
|
+
readonly warning: NullType;
|
|
1170
|
+
readonly danger: NullType;
|
|
1171
|
+
readonly info: NullType;
|
|
1172
|
+
readonly neutral: NullType;
|
|
1173
|
+
}>>;
|
|
1174
|
+
readonly opacity: OptionType<import("@elaraai/east").FloatType>;
|
|
1175
|
+
readonly borderRadius: OptionType<StringType>;
|
|
1176
|
+
readonly overflow: OptionType<VariantType<{
|
|
1177
|
+
readonly visible: NullType;
|
|
1178
|
+
readonly hidden: NullType;
|
|
1179
|
+
readonly scroll: NullType;
|
|
1180
|
+
readonly auto: NullType;
|
|
1181
|
+
}>>;
|
|
1182
|
+
readonly overflowX: OptionType<VariantType<{
|
|
1183
|
+
readonly visible: NullType;
|
|
1184
|
+
readonly hidden: NullType;
|
|
1185
|
+
readonly scroll: NullType;
|
|
1186
|
+
readonly auto: NullType;
|
|
1187
|
+
}>>;
|
|
1188
|
+
readonly overflowY: OptionType<VariantType<{
|
|
1189
|
+
readonly visible: NullType;
|
|
1190
|
+
readonly hidden: NullType;
|
|
1191
|
+
readonly scroll: NullType;
|
|
1192
|
+
readonly auto: NullType;
|
|
1193
|
+
}>>;
|
|
1194
|
+
readonly width: OptionType<StringType>;
|
|
1195
|
+
readonly height: OptionType<StringType>;
|
|
1196
|
+
readonly minWidth: OptionType<StringType>;
|
|
1197
|
+
readonly minHeight: OptionType<StringType>;
|
|
1198
|
+
readonly maxWidth: OptionType<StringType>;
|
|
1199
|
+
readonly maxHeight: OptionType<StringType>;
|
|
1200
|
+
readonly padding: OptionType<StructType<{
|
|
1201
|
+
readonly top: OptionType<StringType>;
|
|
1202
|
+
readonly right: OptionType<StringType>;
|
|
1203
|
+
readonly bottom: OptionType<StringType>;
|
|
1204
|
+
readonly left: OptionType<StringType>;
|
|
1205
|
+
}>>;
|
|
1206
|
+
readonly margin: OptionType<StructType<{
|
|
1207
|
+
readonly top: OptionType<StringType>;
|
|
1208
|
+
readonly right: OptionType<StringType>;
|
|
1209
|
+
readonly bottom: OptionType<StringType>;
|
|
1210
|
+
readonly left: OptionType<StringType>;
|
|
1211
|
+
}>>;
|
|
1212
|
+
}>>;
|
|
1213
|
+
}>>;
|
|
1214
|
+
readonly slice: StructType<{
|
|
1215
|
+
readonly key: StringType;
|
|
1216
|
+
readonly config: StructType<{
|
|
1217
|
+
readonly fields: ArrayType<StructType<{
|
|
1218
|
+
readonly fieldId: StringType;
|
|
1219
|
+
readonly label: StringType;
|
|
1220
|
+
readonly kind: StringType;
|
|
1221
|
+
readonly optional: BooleanType;
|
|
1222
|
+
readonly multiple: BooleanType;
|
|
1223
|
+
readonly set: BooleanType;
|
|
1224
|
+
readonly values: ArrayType<StructType<{
|
|
1225
|
+
readonly value: StringType;
|
|
1226
|
+
readonly label: StringType;
|
|
1227
|
+
}>>;
|
|
1228
|
+
readonly format: OptionType<VariantType<{
|
|
1229
|
+
readonly number: NullType;
|
|
1230
|
+
readonly currency: StructType<{
|
|
1231
|
+
readonly code: StringType;
|
|
1232
|
+
readonly compact: BooleanType;
|
|
1233
|
+
}>;
|
|
1234
|
+
readonly percent: NullType;
|
|
1235
|
+
readonly compact: NullType;
|
|
1236
|
+
readonly date: StringType;
|
|
1237
|
+
readonly time: StringType;
|
|
1238
|
+
readonly datetime: StringType;
|
|
1239
|
+
}>>;
|
|
1240
|
+
}>>;
|
|
1241
|
+
readonly indexes: ArrayType<StructType<{
|
|
1242
|
+
readonly name: StringType;
|
|
1243
|
+
readonly fields: ArrayType<StringType>;
|
|
1244
|
+
readonly sets: SetType<StringType>;
|
|
1245
|
+
readonly structured: BooleanType;
|
|
1246
|
+
readonly interval: OptionType<StructType<{
|
|
1247
|
+
readonly from: StringType;
|
|
1248
|
+
readonly to: StringType;
|
|
1249
|
+
readonly optional: BooleanType;
|
|
1250
|
+
}>>;
|
|
1251
|
+
}>>;
|
|
1252
|
+
readonly range: OptionType<StringType>;
|
|
1253
|
+
readonly search: ArrayType<StringType>;
|
|
1254
|
+
readonly presets: ArrayType<StructType<{
|
|
1255
|
+
readonly id: StringType;
|
|
1256
|
+
readonly name: StringType;
|
|
1257
|
+
readonly where: DictType<StringType, VariantType<{
|
|
1258
|
+
readonly values: ArrayType<StringType>;
|
|
1259
|
+
readonly range: StructType<{
|
|
1260
|
+
readonly from: StringType;
|
|
1261
|
+
readonly to: StringType;
|
|
1262
|
+
}>;
|
|
1263
|
+
readonly prefix: StringType;
|
|
1264
|
+
}>>;
|
|
1265
|
+
}>>;
|
|
1266
|
+
}>;
|
|
1267
|
+
readonly read: FunctionType<[], StructType<{
|
|
1268
|
+
readonly where: DictType<StringType, VariantType<{
|
|
1269
|
+
readonly values: ArrayType<StringType>;
|
|
1270
|
+
readonly range: StructType<{
|
|
1271
|
+
readonly from: StringType;
|
|
1272
|
+
readonly to: StringType;
|
|
1273
|
+
}>;
|
|
1274
|
+
readonly prefix: StringType;
|
|
1275
|
+
}>>;
|
|
1276
|
+
readonly preset: OptionType<StringType>;
|
|
1277
|
+
readonly resolution: OptionType<VariantType<{
|
|
1278
|
+
readonly auto: NullType;
|
|
1279
|
+
readonly hour: NullType;
|
|
1280
|
+
readonly day: NullType;
|
|
1281
|
+
readonly week: NullType;
|
|
1282
|
+
readonly month: NullType;
|
|
1283
|
+
readonly quarter: NullType;
|
|
1284
|
+
readonly year: NullType;
|
|
1285
|
+
}>>;
|
|
1286
|
+
}>>;
|
|
1287
|
+
readonly write: FunctionType<[StructType<{
|
|
1288
|
+
readonly where: DictType<StringType, VariantType<{
|
|
1289
|
+
readonly values: ArrayType<StringType>;
|
|
1290
|
+
readonly range: StructType<{
|
|
1291
|
+
readonly from: StringType;
|
|
1292
|
+
readonly to: StringType;
|
|
1293
|
+
}>;
|
|
1294
|
+
readonly prefix: StringType;
|
|
1295
|
+
}>>;
|
|
1296
|
+
readonly preset: OptionType<StringType>;
|
|
1297
|
+
readonly resolution: OptionType<VariantType<{
|
|
1298
|
+
readonly auto: NullType;
|
|
1299
|
+
readonly hour: NullType;
|
|
1300
|
+
readonly day: NullType;
|
|
1301
|
+
readonly week: NullType;
|
|
1302
|
+
readonly month: NullType;
|
|
1303
|
+
readonly quarter: NullType;
|
|
1304
|
+
readonly year: NullType;
|
|
1305
|
+
}>>;
|
|
1306
|
+
}>], NullType>;
|
|
1307
|
+
readonly choose: FunctionType<[StringType, ArrayType<StringType>], NullType>;
|
|
1308
|
+
readonly range: FunctionType<[StringType, StringType, StringType], NullType>;
|
|
1309
|
+
readonly prefix: FunctionType<[StringType, StringType], NullType>;
|
|
1310
|
+
readonly clear: FunctionType<[StringType], NullType>;
|
|
1311
|
+
readonly clearAll: FunctionType<[], NullType>;
|
|
1312
|
+
readonly count: FunctionType<[], OptionType<IntegerType>>;
|
|
1313
|
+
readonly countWhere: FunctionType<[DictType<StringType, VariantType<{
|
|
1314
|
+
readonly values: ArrayType<StringType>;
|
|
1315
|
+
readonly range: StructType<{
|
|
1316
|
+
readonly from: StringType;
|
|
1317
|
+
readonly to: StringType;
|
|
1318
|
+
}>;
|
|
1319
|
+
readonly prefix: StringType;
|
|
1320
|
+
}>>], OptionType<IntegerType>>;
|
|
1321
|
+
readonly total: FunctionType<[], OptionType<IntegerType>>;
|
|
1322
|
+
readonly domain: FunctionType<[StringType], OptionType<StructType<{
|
|
1323
|
+
readonly from: StringType;
|
|
1324
|
+
readonly to: StringType;
|
|
1325
|
+
}>>>;
|
|
1326
|
+
readonly values: FunctionType<[StringType], ArrayType<StructType<{
|
|
1327
|
+
readonly value: StringType;
|
|
1328
|
+
readonly label: StringType;
|
|
1329
|
+
readonly count: OptionType<IntegerType>;
|
|
1330
|
+
readonly selected: BooleanType;
|
|
1331
|
+
readonly error: OptionType<StringType>;
|
|
1332
|
+
}>>>;
|
|
1333
|
+
readonly suggest: FunctionType<[StringType, StringType], OptionType<ArrayType<StructType<{
|
|
1334
|
+
readonly value: StringType;
|
|
1335
|
+
readonly label: StringType;
|
|
1336
|
+
readonly count: OptionType<IntegerType>;
|
|
1337
|
+
readonly selected: BooleanType;
|
|
1338
|
+
readonly error: OptionType<StringType>;
|
|
1339
|
+
}>>>>;
|
|
1340
|
+
readonly replaces: FunctionType<[StringType], ArrayType<StringType>>;
|
|
1341
|
+
readonly togglePreset: FunctionType<[StringType], NullType>;
|
|
1342
|
+
readonly setResolution: FunctionType<[OptionType<VariantType<{
|
|
1343
|
+
readonly auto: NullType;
|
|
1344
|
+
readonly hour: NullType;
|
|
1345
|
+
readonly day: NullType;
|
|
1346
|
+
readonly week: NullType;
|
|
1347
|
+
readonly month: NullType;
|
|
1348
|
+
readonly quarter: NullType;
|
|
1349
|
+
readonly year: NullType;
|
|
1350
|
+
}>>], NullType>;
|
|
1351
|
+
readonly retry: FunctionType<[], NullType>;
|
|
1352
|
+
readonly sourceId: StringType;
|
|
1353
|
+
readonly readEntry: FunctionType<[StringType], OptionType<OptionType<BlobType>>>;
|
|
1354
|
+
readonly contains: FunctionType<[DictType<StringType, VariantType<{
|
|
1355
|
+
readonly values: ArrayType<StringType>;
|
|
1356
|
+
readonly range: StructType<{
|
|
1357
|
+
readonly from: StringType;
|
|
1358
|
+
readonly to: StringType;
|
|
1359
|
+
}>;
|
|
1360
|
+
readonly prefix: StringType;
|
|
1361
|
+
}>>, StringType], OptionType<BooleanType>>;
|
|
1362
|
+
readonly containsRow: FunctionType<[DictType<StringType, VariantType<{
|
|
1363
|
+
readonly values: ArrayType<StringType>;
|
|
1364
|
+
readonly range: StructType<{
|
|
1365
|
+
readonly from: StringType;
|
|
1366
|
+
readonly to: StringType;
|
|
1367
|
+
}>;
|
|
1368
|
+
readonly prefix: StringType;
|
|
1369
|
+
}>>, StringType, BlobType], OptionType<BooleanType>>;
|
|
1370
|
+
}>;
|
|
1371
|
+
}>>;
|
|
1372
|
+
readonly presets: ArrayType<StructType<{
|
|
1373
|
+
readonly id: StringType;
|
|
1374
|
+
readonly name: StringType;
|
|
1375
|
+
}>>;
|
|
1376
|
+
readonly clearAll: FunctionType<[], NullType>;
|
|
1377
|
+
readonly togglePreset: FunctionType<[StringType], NullType>;
|
|
589
1378
|
}>;
|
|
590
1379
|
/** New record-arm bind; local slice_bind remains byte-for-byte unchanged. @internal */
|
|
591
1380
|
export declare const recordSliceBindPlatform: import("@elaraai/east").GenericPlatformDefinition<readonly ["S", "C"], readonly [StringType, "S", StructType<{
|
|
@@ -680,6 +1469,7 @@ export declare const recordSliceBindPlatform: import("@elaraai/east").GenericPla
|
|
|
680
1469
|
}>>>>;
|
|
681
1470
|
readonly revision: FunctionType<[], OptionType<StringType>>;
|
|
682
1471
|
readonly refresh: FunctionType<[OptionType<StringType>], NullType>;
|
|
1472
|
+
readonly query: FunctionType<[], StringType>;
|
|
683
1473
|
}>;
|
|
684
1474
|
/** Read a captured narrowing without replacing the shared controls' state. */
|
|
685
1475
|
readonly pageWhere: FunctionType<[DictType<StringType, VariantType<{
|
|
@@ -837,8 +1627,22 @@ export declare const recordSliceBindPlatform: import("@elaraai/east").GenericPla
|
|
|
837
1627
|
}>;
|
|
838
1628
|
readonly prefix: StringType;
|
|
839
1629
|
}>>, StringType], OptionType<BooleanType>>;
|
|
1630
|
+
readonly containsRow: FunctionType<[DictType<StringType, VariantType<{
|
|
1631
|
+
readonly values: ArrayType<StringType>;
|
|
1632
|
+
readonly range: StructType<{
|
|
1633
|
+
readonly from: StringType;
|
|
1634
|
+
readonly to: StringType;
|
|
1635
|
+
}>;
|
|
1636
|
+
readonly prefix: StringType;
|
|
1637
|
+
}>>, StringType, BlobType], OptionType<BooleanType>>;
|
|
840
1638
|
}>>;
|
|
841
|
-
/**
|
|
1639
|
+
/**
|
|
1640
|
+
* Serializable operations carrying the binding descriptor, including after decode.
|
|
1641
|
+
* @remarks The narrowed data's reads (`dataPage`, `dataSeek`, `dataQuery`) read
|
|
1642
|
+
* the binding's narrowing when they run, so its handle captures none (#1354);
|
|
1643
|
+
* its total is `count`.
|
|
1644
|
+
* @internal
|
|
1645
|
+
*/
|
|
842
1646
|
export declare const RecordSlicePrimitives: {
|
|
843
1647
|
read: import("@elaraai/east").GenericPlatformDefinition<readonly ["S", "C"], readonly [StringType, "S", StructType<{
|
|
844
1648
|
readonly fields: ArrayType<StructType<{
|
|
@@ -2028,7 +2832,7 @@ export declare const RecordSlicePrimitives: {
|
|
|
2028
2832
|
readonly quarter: NullType;
|
|
2029
2833
|
readonly year: NullType;
|
|
2030
2834
|
}>>], NullType>;
|
|
2031
|
-
|
|
2835
|
+
pageWhere: import("@elaraai/east").GenericPlatformDefinition<readonly ["S", "C"], readonly [StringType, "S", StructType<{
|
|
2032
2836
|
readonly fields: ArrayType<StructType<{
|
|
2033
2837
|
readonly fieldId: StringType;
|
|
2034
2838
|
readonly label: StringType;
|
|
@@ -2105,7 +2909,7 @@ export declare const RecordSlicePrimitives: {
|
|
|
2105
2909
|
}>;
|
|
2106
2910
|
readonly prefix: StringType;
|
|
2107
2911
|
}>>, IntegerType, IntegerType], OptionType<string>>;
|
|
2108
|
-
|
|
2912
|
+
dataPage: import("@elaraai/east").GenericPlatformDefinition<readonly ["S", "C"], readonly [StringType, "S", StructType<{
|
|
2109
2913
|
readonly fields: ArrayType<StructType<{
|
|
2110
2914
|
readonly fieldId: StringType;
|
|
2111
2915
|
readonly label: StringType;
|
|
@@ -2174,15 +2978,8 @@ export declare const RecordSlicePrimitives: {
|
|
|
2174
2978
|
readonly quarter: NullType;
|
|
2175
2979
|
readonly year: NullType;
|
|
2176
2980
|
}>>;
|
|
2177
|
-
}>,
|
|
2178
|
-
|
|
2179
|
-
readonly range: StructType<{
|
|
2180
|
-
readonly from: StringType;
|
|
2181
|
-
readonly to: StringType;
|
|
2182
|
-
}>;
|
|
2183
|
-
readonly prefix: StringType;
|
|
2184
|
-
}>>, IntegerType, IntegerType], OptionType<string>>;
|
|
2185
|
-
seek: import("@elaraai/east").GenericPlatformDefinition<readonly ["S", "C"], readonly [StringType, "S", StructType<{
|
|
2981
|
+
}>, IntegerType, IntegerType], OptionType<string>>;
|
|
2982
|
+
dataSeek: import("@elaraai/east").GenericPlatformDefinition<readonly ["S", "C"], readonly [StringType, "S", StructType<{
|
|
2186
2983
|
readonly fields: ArrayType<StructType<{
|
|
2187
2984
|
readonly fieldId: StringType;
|
|
2188
2985
|
readonly label: StringType;
|
|
@@ -2251,14 +3048,7 @@ export declare const RecordSlicePrimitives: {
|
|
|
2251
3048
|
readonly quarter: NullType;
|
|
2252
3049
|
readonly year: NullType;
|
|
2253
3050
|
}>>;
|
|
2254
|
-
}>,
|
|
2255
|
-
readonly values: ArrayType<StringType>;
|
|
2256
|
-
readonly range: StructType<{
|
|
2257
|
-
readonly from: StringType;
|
|
2258
|
-
readonly to: StringType;
|
|
2259
|
-
}>;
|
|
2260
|
-
readonly prefix: StringType;
|
|
2261
|
-
}>>, VariantType<{
|
|
3051
|
+
}>, VariantType<{
|
|
2262
3052
|
readonly key: StringType;
|
|
2263
3053
|
readonly prefix: StringType;
|
|
2264
3054
|
readonly fields: StructType<{
|
|
@@ -2274,7 +3064,7 @@ export declare const RecordSlicePrimitives: {
|
|
|
2274
3064
|
readonly row: IntegerType;
|
|
2275
3065
|
readonly count: IntegerType;
|
|
2276
3066
|
}>>>;
|
|
2277
|
-
|
|
3067
|
+
dataQuery: import("@elaraai/east").GenericPlatformDefinition<readonly ["S", "C"], readonly [StringType, "S", StructType<{
|
|
2278
3068
|
readonly fields: ArrayType<StructType<{
|
|
2279
3069
|
readonly fieldId: StringType;
|
|
2280
3070
|
readonly label: StringType;
|
|
@@ -2343,14 +3133,7 @@ export declare const RecordSlicePrimitives: {
|
|
|
2343
3133
|
readonly quarter: NullType;
|
|
2344
3134
|
readonly year: NullType;
|
|
2345
3135
|
}>>;
|
|
2346
|
-
}
|
|
2347
|
-
readonly values: ArrayType<StringType>;
|
|
2348
|
-
readonly range: StructType<{
|
|
2349
|
-
readonly from: StringType;
|
|
2350
|
-
readonly to: StringType;
|
|
2351
|
-
}>;
|
|
2352
|
-
readonly prefix: StringType;
|
|
2353
|
-
}>>], OptionType<IntegerType>>;
|
|
3136
|
+
}>], StringType>;
|
|
2354
3137
|
revision: import("@elaraai/east").GenericPlatformDefinition<readonly ["S", "C"], readonly [StringType, "S", StructType<{
|
|
2355
3138
|
readonly fields: ArrayType<StructType<{
|
|
2356
3139
|
readonly fieldId: StringType;
|
|
@@ -2708,6 +3491,83 @@ export declare const RecordSlicePrimitives: {
|
|
|
2708
3491
|
}>;
|
|
2709
3492
|
readonly prefix: StringType;
|
|
2710
3493
|
}>>, StringType], OptionType<BooleanType>>;
|
|
3494
|
+
containsRow: import("@elaraai/east").GenericPlatformDefinition<readonly ["S", "C"], readonly [StringType, "S", StructType<{
|
|
3495
|
+
readonly fields: ArrayType<StructType<{
|
|
3496
|
+
readonly fieldId: StringType;
|
|
3497
|
+
readonly label: StringType;
|
|
3498
|
+
readonly kind: StringType;
|
|
3499
|
+
readonly optional: BooleanType;
|
|
3500
|
+
readonly multiple: BooleanType;
|
|
3501
|
+
readonly set: BooleanType;
|
|
3502
|
+
readonly values: ArrayType<StructType<{
|
|
3503
|
+
readonly value: StringType;
|
|
3504
|
+
readonly label: StringType;
|
|
3505
|
+
}>>;
|
|
3506
|
+
readonly format: OptionType<VariantType<{
|
|
3507
|
+
readonly number: NullType;
|
|
3508
|
+
readonly currency: StructType<{
|
|
3509
|
+
readonly code: StringType;
|
|
3510
|
+
readonly compact: BooleanType;
|
|
3511
|
+
}>;
|
|
3512
|
+
readonly percent: NullType;
|
|
3513
|
+
readonly compact: NullType;
|
|
3514
|
+
readonly date: StringType;
|
|
3515
|
+
readonly time: StringType;
|
|
3516
|
+
readonly datetime: StringType;
|
|
3517
|
+
}>>;
|
|
3518
|
+
}>>;
|
|
3519
|
+
readonly indexes: ArrayType<StructType<{
|
|
3520
|
+
readonly name: StringType;
|
|
3521
|
+
readonly fields: ArrayType<StringType>;
|
|
3522
|
+
readonly sets: SetType<StringType>;
|
|
3523
|
+
readonly structured: BooleanType;
|
|
3524
|
+
readonly interval: OptionType<StructType<{
|
|
3525
|
+
readonly from: StringType;
|
|
3526
|
+
readonly to: StringType;
|
|
3527
|
+
readonly optional: BooleanType;
|
|
3528
|
+
}>>;
|
|
3529
|
+
}>>;
|
|
3530
|
+
readonly range: OptionType<StringType>;
|
|
3531
|
+
readonly search: ArrayType<StringType>;
|
|
3532
|
+
readonly presets: ArrayType<StructType<{
|
|
3533
|
+
readonly id: StringType;
|
|
3534
|
+
readonly name: StringType;
|
|
3535
|
+
readonly where: DictType<StringType, VariantType<{
|
|
3536
|
+
readonly values: ArrayType<StringType>;
|
|
3537
|
+
readonly range: StructType<{
|
|
3538
|
+
readonly from: StringType;
|
|
3539
|
+
readonly to: StringType;
|
|
3540
|
+
}>;
|
|
3541
|
+
readonly prefix: StringType;
|
|
3542
|
+
}>>;
|
|
3543
|
+
}>>;
|
|
3544
|
+
}>, StructType<{
|
|
3545
|
+
readonly where: DictType<StringType, VariantType<{
|
|
3546
|
+
readonly values: ArrayType<StringType>;
|
|
3547
|
+
readonly range: StructType<{
|
|
3548
|
+
readonly from: StringType;
|
|
3549
|
+
readonly to: StringType;
|
|
3550
|
+
}>;
|
|
3551
|
+
readonly prefix: StringType;
|
|
3552
|
+
}>>;
|
|
3553
|
+
readonly preset: OptionType<StringType>;
|
|
3554
|
+
readonly resolution: OptionType<VariantType<{
|
|
3555
|
+
readonly auto: NullType;
|
|
3556
|
+
readonly hour: NullType;
|
|
3557
|
+
readonly day: NullType;
|
|
3558
|
+
readonly week: NullType;
|
|
3559
|
+
readonly month: NullType;
|
|
3560
|
+
readonly quarter: NullType;
|
|
3561
|
+
readonly year: NullType;
|
|
3562
|
+
}>>;
|
|
3563
|
+
}>, DictType<StringType, VariantType<{
|
|
3564
|
+
readonly values: ArrayType<StringType>;
|
|
3565
|
+
readonly range: StructType<{
|
|
3566
|
+
readonly from: StringType;
|
|
3567
|
+
readonly to: StringType;
|
|
3568
|
+
}>;
|
|
3569
|
+
readonly prefix: StringType;
|
|
3570
|
+
}>>, StringType, BlobType], OptionType<BooleanType>>;
|
|
2711
3571
|
};
|
|
2712
3572
|
/**
|
|
2713
3573
|
* Read one active indexed result incrementally in the renderer's read scope.
|