@elaraai/east-ui 1.0.83 → 1.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/dist/src/charts/chart/index.d.ts +7 -4
  2. package/dist/src/charts/chart/index.d.ts.map +1 -1
  3. package/dist/src/charts/chart/index.js +3 -1
  4. package/dist/src/charts/chart/index.js.map +1 -1
  5. package/dist/src/collections/library/index.d.ts +1182 -37
  6. package/dist/src/collections/library/index.d.ts.map +1 -1
  7. package/dist/src/collections/library/index.js +191 -13
  8. package/dist/src/collections/library/index.js.map +1 -1
  9. package/dist/src/collections/library/types.d.ts +376 -180
  10. package/dist/src/collections/library/types.d.ts.map +1 -1
  11. package/dist/src/collections/library/types.js +188 -91
  12. package/dist/src/collections/library/types.js.map +1 -1
  13. package/dist/src/collections/plan/root.d.ts.map +1 -1
  14. package/dist/src/collections/plan/root.js +10 -37
  15. package/dist/src/collections/plan/root.js.map +1 -1
  16. package/dist/src/collections/plan/types.d.ts +1 -1
  17. package/dist/src/collections/plan/types.js +1 -1
  18. package/dist/src/collections/sheet/editing-bridge.js +1 -1
  19. package/dist/src/collections/sheet/editing-bridge.js.map +1 -1
  20. package/dist/src/collections/sheet/root.d.ts +1 -1
  21. package/dist/src/collections/sheet/root.js +1 -1
  22. package/dist/src/collections/sheet/root.js.map +1 -1
  23. package/dist/src/component.d.ts +490 -11
  24. package/dist/src/component.d.ts.map +1 -1
  25. package/dist/src/component.js +17 -3
  26. package/dist/src/component.js.map +1 -1
  27. package/dist/src/contracts/drag.d.ts.map +1 -1
  28. package/dist/src/contracts/drag.js +1 -0
  29. package/dist/src/contracts/drag.js.map +1 -1
  30. package/dist/src/contracts/editing.d.ts +19 -0
  31. package/dist/src/contracts/editing.d.ts.map +1 -1
  32. package/dist/src/contracts/editing.js +31 -1
  33. package/dist/src/contracts/editing.js.map +1 -1
  34. package/dist/src/contracts/index.d.ts +1 -1
  35. package/dist/src/contracts/index.d.ts.map +1 -1
  36. package/dist/src/contracts/pick.js +4 -4
  37. package/dist/src/contracts/pick.js.map +1 -1
  38. package/dist/src/contracts/source.d.ts +87 -131
  39. package/dist/src/contracts/source.d.ts.map +1 -1
  40. package/dist/src/contracts/source.js +153 -368
  41. package/dist/src/contracts/source.js.map +1 -1
  42. package/dist/src/display/bar-strip/index.d.ts +39 -6
  43. package/dist/src/display/bar-strip/index.d.ts.map +1 -1
  44. package/dist/src/display/bar-strip/index.js +16 -38
  45. package/dist/src/display/bar-strip/index.js.map +1 -1
  46. package/dist/src/display/bar-strip/types.d.ts +17 -1
  47. package/dist/src/display/bar-strip/types.d.ts.map +1 -1
  48. package/dist/src/display/bar-strip/types.js.map +1 -1
  49. package/dist/src/feedback/status/index.d.ts +10 -2
  50. package/dist/src/feedback/status/index.d.ts.map +1 -1
  51. package/dist/src/feedback/status/index.js +8 -3
  52. package/dist/src/feedback/status/index.js.map +1 -1
  53. package/dist/src/index.d.ts +3 -2
  54. package/dist/src/index.d.ts.map +1 -1
  55. package/dist/src/index.js +3 -4
  56. package/dist/src/index.js.map +1 -1
  57. package/dist/src/internal.d.ts +2 -1
  58. package/dist/src/internal.d.ts.map +1 -1
  59. package/dist/src/internal.js +3 -2
  60. package/dist/src/internal.js.map +1 -1
  61. package/dist/src/layout/dock/index.d.ts +58 -16
  62. package/dist/src/layout/dock/index.d.ts.map +1 -1
  63. package/dist/src/layout/dock/index.js +48 -13
  64. package/dist/src/layout/dock/index.js.map +1 -1
  65. package/dist/src/layout/dock/types.d.ts +62 -10
  66. package/dist/src/layout/dock/types.d.ts.map +1 -1
  67. package/dist/src/layout/dock/types.js +21 -4
  68. package/dist/src/layout/dock/types.js.map +1 -1
  69. package/dist/src/layout/index.d.ts +1 -0
  70. package/dist/src/layout/index.d.ts.map +1 -1
  71. package/dist/src/layout/index.js +1 -0
  72. package/dist/src/layout/index.js.map +1 -1
  73. package/dist/src/layout/snap-grid/index.d.ts +1291 -0
  74. package/dist/src/layout/snap-grid/index.d.ts.map +1 -0
  75. package/dist/src/layout/snap-grid/index.js +510 -0
  76. package/dist/src/layout/snap-grid/index.js.map +1 -0
  77. package/dist/src/layout/snap-grid/types.d.ts +1046 -0
  78. package/dist/src/layout/snap-grid/types.d.ts.map +1 -0
  79. package/dist/src/layout/snap-grid/types.js +371 -0
  80. package/dist/src/layout/snap-grid/types.js.map +1 -0
  81. package/dist/src/navigation/app/index.d.ts +15 -0
  82. package/dist/src/navigation/app/index.d.ts.map +1 -1
  83. package/dist/src/navigation/app/index.js +2 -2
  84. package/dist/src/navigation/app/index.js.map +1 -1
  85. package/dist/src/navigation/nav-list/index.d.ts +5 -3
  86. package/dist/src/navigation/nav-list/index.d.ts.map +1 -1
  87. package/dist/src/navigation/nav-list/index.js +5 -3
  88. package/dist/src/navigation/nav-list/index.js.map +1 -1
  89. package/dist/src/overlays/action-bar/index.d.ts +9 -0
  90. package/dist/src/overlays/action-bar/index.d.ts.map +1 -1
  91. package/dist/src/overlays/action-bar/index.js +11 -1
  92. package/dist/src/overlays/action-bar/index.js.map +1 -1
  93. package/dist/src/overlays/action-bar/types.d.ts +11 -7
  94. package/dist/src/overlays/action-bar/types.d.ts.map +1 -1
  95. package/dist/src/overlays/action-bar/types.js +8 -1
  96. package/dist/src/overlays/action-bar/types.js.map +1 -1
  97. package/dist/src/overlays/dialog/index.d.ts +16 -0
  98. package/dist/src/overlays/dialog/index.d.ts.map +1 -1
  99. package/dist/src/overlays/dialog/index.js +18 -0
  100. package/dist/src/overlays/dialog/index.js.map +1 -1
  101. package/dist/src/overlays/dialog/types.d.ts +18 -11
  102. package/dist/src/overlays/dialog/types.d.ts.map +1 -1
  103. package/dist/src/overlays/dialog/types.js +12 -0
  104. package/dist/src/overlays/dialog/types.js.map +1 -1
  105. package/dist/src/overlays/drawer/index.d.ts +12 -0
  106. package/dist/src/overlays/drawer/index.d.ts.map +1 -1
  107. package/dist/src/overlays/drawer/index.js +14 -0
  108. package/dist/src/overlays/drawer/index.js.map +1 -1
  109. package/dist/src/overlays/drawer/types.d.ts +13 -1
  110. package/dist/src/overlays/drawer/types.d.ts.map +1 -1
  111. package/dist/src/overlays/drawer/types.js +12 -0
  112. package/dist/src/overlays/drawer/types.js.map +1 -1
  113. package/dist/src/overlays/hover-card/index.d.ts +9 -0
  114. package/dist/src/overlays/hover-card/index.d.ts.map +1 -1
  115. package/dist/src/overlays/hover-card/index.js +12 -1
  116. package/dist/src/overlays/hover-card/index.js.map +1 -1
  117. package/dist/src/overlays/hover-card/types.d.ts +9 -1
  118. package/dist/src/overlays/hover-card/types.d.ts.map +1 -1
  119. package/dist/src/overlays/hover-card/types.js +8 -0
  120. package/dist/src/overlays/hover-card/types.js.map +1 -1
  121. package/dist/src/overlays/popover/index.d.ts +15 -0
  122. package/dist/src/overlays/popover/index.d.ts.map +1 -1
  123. package/dist/src/overlays/popover/index.js +19 -1
  124. package/dist/src/overlays/popover/index.js.map +1 -1
  125. package/dist/src/overlays/popover/types.d.ts +19 -5
  126. package/dist/src/overlays/popover/types.d.ts.map +1 -1
  127. package/dist/src/overlays/popover/types.js +14 -0
  128. package/dist/src/overlays/popover/types.js.map +1 -1
  129. package/dist/src/overlays/toggle-tip/index.d.ts +9 -0
  130. package/dist/src/overlays/toggle-tip/index.d.ts.map +1 -1
  131. package/dist/src/overlays/toggle-tip/index.js +12 -1
  132. package/dist/src/overlays/toggle-tip/index.js.map +1 -1
  133. package/dist/src/overlays/toggle-tip/types.d.ts +9 -1
  134. package/dist/src/overlays/toggle-tip/types.d.ts.map +1 -1
  135. package/dist/src/overlays/toggle-tip/types.js +8 -0
  136. package/dist/src/overlays/toggle-tip/types.js.map +1 -1
  137. package/dist/src/runtime/collections/library.d.ts +10 -6
  138. package/dist/src/runtime/collections/library.d.ts.map +1 -1
  139. package/dist/src/runtime/collections/library.js +10 -6
  140. package/dist/src/runtime/collections/library.js.map +1 -1
  141. package/dist/src/runtime/display/bar-strip.d.ts +38 -10
  142. package/dist/src/runtime/display/bar-strip.d.ts.map +1 -1
  143. package/dist/src/runtime/display/bar-strip.js +12 -34
  144. package/dist/src/runtime/display/bar-strip.js.map +1 -1
  145. package/dist/src/runtime/feedback/status.d.ts +4 -2
  146. package/dist/src/runtime/feedback/status.d.ts.map +1 -1
  147. package/dist/src/runtime/feedback/status.js +4 -2
  148. package/dist/src/runtime/feedback/status.js.map +1 -1
  149. package/dist/src/runtime/layout/dock.d.ts +13 -8
  150. package/dist/src/runtime/layout/dock.d.ts.map +1 -1
  151. package/dist/src/runtime/layout/dock.js +13 -8
  152. package/dist/src/runtime/layout/dock.js.map +1 -1
  153. package/dist/src/runtime/layout/index.d.ts +1 -0
  154. package/dist/src/runtime/layout/index.d.ts.map +1 -1
  155. package/dist/src/runtime/layout/index.js +1 -0
  156. package/dist/src/runtime/layout/index.js.map +1 -1
  157. package/dist/src/runtime/layout/snap-grid.d.ts +68 -0
  158. package/dist/src/runtime/layout/snap-grid.d.ts.map +1 -0
  159. package/dist/src/runtime/layout/snap-grid.js +44 -0
  160. package/dist/src/runtime/layout/snap-grid.js.map +1 -0
  161. package/dist/src/runtime/navigation/app.d.ts +3 -1
  162. package/dist/src/runtime/navigation/app.d.ts.map +1 -1
  163. package/dist/src/runtime/navigation/app.js +3 -1
  164. package/dist/src/runtime/navigation/app.js.map +1 -1
  165. package/dist/src/style/typography.d.ts +18 -18
  166. package/dist/src/style/typography.js +18 -18
  167. package/dist/test/collections/index.d.ts +0 -1
  168. package/dist/test/collections/index.d.ts.map +1 -1
  169. package/dist/test/collections/index.js +0 -1
  170. package/dist/test/collections/index.js.map +1 -1
  171. package/dist/test/collections/library.examples.d.ts +28 -0
  172. package/dist/test/collections/library.examples.d.ts.map +1 -1
  173. package/dist/test/collections/library.examples.js +183 -3
  174. package/dist/test/collections/library.examples.js.map +1 -1
  175. package/dist/test/collections/sheet.examples.d.ts +0 -7
  176. package/dist/test/collections/sheet.examples.d.ts.map +1 -1
  177. package/dist/test/collections/sheet.examples.js +4 -31
  178. package/dist/test/collections/sheet.examples.js.map +1 -1
  179. package/dist/test/collections/table.examples.d.ts +0 -7
  180. package/dist/test/collections/table.examples.d.ts.map +1 -1
  181. package/dist/test/collections/table.examples.js +1 -22
  182. package/dist/test/collections/table.examples.js.map +1 -1
  183. package/dist/test/display/bar-strip.examples.d.ts +6 -0
  184. package/dist/test/display/bar-strip.examples.d.ts.map +1 -1
  185. package/dist/test/display/bar-strip.examples.js +24 -1
  186. package/dist/test/display/bar-strip.examples.js.map +1 -1
  187. package/dist/test/feedback/status.examples.d.ts +1 -0
  188. package/dist/test/feedback/status.examples.d.ts.map +1 -1
  189. package/dist/test/feedback/status.examples.js +8 -0
  190. package/dist/test/feedback/status.examples.js.map +1 -1
  191. package/dist/test/layout/dock.examples.d.ts +14 -0
  192. package/dist/test/layout/dock.examples.d.ts.map +1 -1
  193. package/dist/test/layout/dock.examples.js +35 -0
  194. package/dist/test/layout/dock.examples.js.map +1 -1
  195. package/dist/test/layout/snap-grid.examples.d.ts +4 -0
  196. package/dist/test/layout/snap-grid.examples.d.ts.map +1 -0
  197. package/dist/test/layout/snap-grid.examples.js +252 -0
  198. package/dist/test/layout/snap-grid.examples.js.map +1 -0
  199. package/dist/test/navigation/app.examples.d.ts +6 -0
  200. package/dist/test/navigation/app.examples.d.ts.map +1 -1
  201. package/dist/test/navigation/app.examples.js +37 -2
  202. package/dist/test/navigation/app.examples.js.map +1 -1
  203. package/dist/test/navigation/nav-list.examples.d.ts +1 -0
  204. package/dist/test/navigation/nav-list.examples.d.ts.map +1 -1
  205. package/dist/test/navigation/nav-list.examples.js +21 -1
  206. package/dist/test/navigation/nav-list.examples.js.map +1 -1
  207. package/dist/test/overlays/dialog.examples.d.ts +1 -0
  208. package/dist/test/overlays/dialog.examples.d.ts.map +1 -1
  209. package/dist/test/overlays/dialog.examples.js +11 -0
  210. package/dist/test/overlays/dialog.examples.js.map +1 -1
  211. package/dist/test/overlays/drawer.examples.d.ts +1 -0
  212. package/dist/test/overlays/drawer.examples.d.ts.map +1 -1
  213. package/dist/test/overlays/drawer.examples.js +12 -0
  214. package/dist/test/overlays/drawer.examples.js.map +1 -1
  215. package/dist/test/overlays/hover-card.examples.d.ts +1 -0
  216. package/dist/test/overlays/hover-card.examples.d.ts.map +1 -1
  217. package/dist/test/overlays/hover-card.examples.js +10 -0
  218. package/dist/test/overlays/hover-card.examples.js.map +1 -1
  219. package/dist/test/overlays/popover.examples.d.ts +1 -0
  220. package/dist/test/overlays/popover.examples.d.ts.map +1 -1
  221. package/dist/test/overlays/popover.examples.js +12 -2
  222. package/dist/test/overlays/popover.examples.js.map +1 -1
  223. package/dist/test/overlays/toggle-tip.examples.d.ts +1 -0
  224. package/dist/test/overlays/toggle-tip.examples.d.ts.map +1 -1
  225. package/dist/test/overlays/toggle-tip.examples.js +11 -1
  226. package/dist/test/overlays/toggle-tip.examples.js.map +1 -1
  227. package/package.json +5 -9
  228. package/dist/test/collections/paged-source.examples.d.ts +0 -14
  229. package/dist/test/collections/paged-source.examples.d.ts.map +0 -1
  230. package/dist/test/collections/paged-source.examples.js +0 -252
  231. package/dist/test/collections/paged-source.examples.js.map +0 -1
@@ -18,8 +18,866 @@ import { type IconName } from "../../display/icon/types.js";
18
18
  import { StatusTokenType, type StatusTokenLiteral } from "../../style/interaction.js";
19
19
  import { SliceBindType } from "../../platform/slice/index.js";
20
20
  import { type SliceAffordanceLiteral } from "../../contracts/slice-affordances.js";
21
- import { LibraryStatusType, type LibraryStyle } from "./types.js";
22
- export { LibraryRootType, LibraryItemType, LibraryCardFaceType, LibraryStatusType, LibraryDimValueType, LibraryGroupMetaType, LibraryDimMetaType, LibraryStyleType, type LibraryStyle, } from "./types.js";
21
+ import { LibraryStatusType, LibraryGlyphType, LibraryLayoutType, type LibraryStyle, type LibraryVariantLiteral, type LibraryLayoutLiteral } from "./types.js";
22
+ export { LibraryRootOf, LibraryItemOf, LibraryCardFaceOf, LibraryStatusType, LibraryGlyphType, LibraryNounType, LibraryDimValueType, LibraryGroupMetaType, LibraryDimMetaType, LibraryStyleType, LibraryVariantType, LibraryLayoutType, LibraryMediaPlacementType, type LibraryStyle, type LibraryVariantLiteral, type LibraryLayoutLiteral, type LibraryMediaPlacementLiteral, } from "./types.js";
23
+ /** The Library component's value ({@link LibraryRootOf} over `UIComponentType`). */
24
+ export declare const LibraryRootType: StructType<{
25
+ readonly id: StringType;
26
+ readonly hint: OptionType<StringType>;
27
+ readonly items: ArrayType<StructType<{
28
+ readonly search: OptionType<StringType>;
29
+ readonly groups: DictType<StringType, StringType>;
30
+ readonly facets: DictType<StringType, ArrayType<StringType>>;
31
+ readonly dims: DictType<StringType, import("@elaraai/east").VariantType<{
32
+ readonly meter: StructType<{
33
+ readonly value: FloatType;
34
+ readonly max: FloatType;
35
+ readonly text: OptionType<StringType>;
36
+ }>;
37
+ readonly chips: ArrayType<StringType>;
38
+ readonly text: StringType;
39
+ }>>;
40
+ readonly key: StringType;
41
+ readonly label: StringType;
42
+ readonly sublabel: OptionType<StringType>;
43
+ readonly icon: OptionType<StringType>;
44
+ readonly status: OptionType<StructType<{
45
+ readonly label: StringType;
46
+ readonly tone: import("@elaraai/east").VariantType<{
47
+ readonly success: NullType;
48
+ readonly warning: NullType;
49
+ readonly danger: NullType;
50
+ readonly info: NullType;
51
+ readonly neutral: NullType;
52
+ }>;
53
+ readonly ring: BooleanType;
54
+ }>>;
55
+ readonly trailing: OptionType<StructType<{
56
+ readonly icon: StringType;
57
+ readonly label: StringType;
58
+ readonly tone: OptionType<import("@elaraai/east").VariantType<{
59
+ readonly success: NullType;
60
+ readonly warning: NullType;
61
+ readonly danger: NullType;
62
+ readonly info: NullType;
63
+ readonly neutral: NullType;
64
+ }>>;
65
+ }>>;
66
+ readonly draggable: BooleanType;
67
+ readonly filtered: BooleanType;
68
+ readonly placed: BooleanType;
69
+ readonly media: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
70
+ readonly avatar: OptionType<StringType>;
71
+ readonly byline: OptionType<StringType>;
72
+ readonly action: OptionType<StringType>;
73
+ }>>;
74
+ readonly groupOptions: ArrayType<StructType<{
75
+ readonly key: StringType;
76
+ readonly label: StringType;
77
+ }>>;
78
+ readonly groupSummaries: DictType<StringType, DictType<StringType, StringType>>;
79
+ readonly dimOptions: ArrayType<StructType<{
80
+ readonly key: StringType;
81
+ readonly label: StringType;
82
+ }>>;
83
+ readonly defaultDimensions: ArrayType<StringType>;
84
+ readonly filterOptions: ArrayType<StructType<{
85
+ readonly key: StringType;
86
+ readonly label: StringType;
87
+ }>>;
88
+ readonly searchable: BooleanType;
89
+ readonly noun: OptionType<StructType<{
90
+ readonly singular: StringType;
91
+ readonly plural: StringType;
92
+ }>>;
93
+ readonly addLabel: OptionType<StringType>;
94
+ readonly onAdd: OptionType<FunctionType<[], NullType>>;
95
+ readonly onCardClick: OptionType<FunctionType<[StringType], NullType>>;
96
+ readonly slice: OptionType<StructType<{
97
+ readonly slice: StructType<{
98
+ readonly key: StringType;
99
+ readonly read: FunctionType<[], StructType<{
100
+ readonly range: OptionType<import("@elaraai/east").VariantType<{
101
+ readonly datetime: StructType<{
102
+ readonly from: import("@elaraai/east").DateTimeType;
103
+ readonly to: import("@elaraai/east").DateTimeType;
104
+ }>;
105
+ readonly datetimePreset: import("@elaraai/east").VariantType<{
106
+ readonly today: NullType;
107
+ readonly last7d: NullType;
108
+ readonly last30d: NullType;
109
+ readonly last90d: NullType;
110
+ readonly ytd: NullType;
111
+ }>;
112
+ readonly integer: StructType<{
113
+ readonly from: import("@elaraai/east").IntegerType;
114
+ readonly to: import("@elaraai/east").IntegerType;
115
+ }>;
116
+ readonly float: StructType<{
117
+ readonly from: FloatType;
118
+ readonly to: FloatType;
119
+ }>;
120
+ }>>;
121
+ readonly compare: OptionType<import("@elaraai/east").VariantType<{
122
+ readonly previousPeriod: NullType;
123
+ readonly previousYear: NullType;
124
+ }>>;
125
+ readonly filters: ArrayType<import("@elaraai/east").VariantType<{
126
+ readonly string: StructType<{
127
+ readonly fieldId: StringType;
128
+ readonly op: import("@elaraai/east").VariantType<{
129
+ readonly eq: StringType;
130
+ readonly neq: StringType;
131
+ readonly in: import("@elaraai/east").SetType<StringType>;
132
+ readonly notIn: import("@elaraai/east").SetType<StringType>;
133
+ readonly contains: StringType;
134
+ readonly matches: StringType;
135
+ readonly startsWith: StringType;
136
+ readonly endsWith: StringType;
137
+ readonly isEmpty: NullType;
138
+ readonly isNotEmpty: NullType;
139
+ }>;
140
+ }>;
141
+ readonly integer: StructType<{
142
+ readonly fieldId: StringType;
143
+ readonly op: import("@elaraai/east").VariantType<{
144
+ readonly eq: import("@elaraai/east").IntegerType;
145
+ readonly neq: import("@elaraai/east").IntegerType;
146
+ readonly lt: import("@elaraai/east").IntegerType;
147
+ readonly lte: import("@elaraai/east").IntegerType;
148
+ readonly gt: import("@elaraai/east").IntegerType;
149
+ readonly gte: import("@elaraai/east").IntegerType;
150
+ readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
151
+ }>;
152
+ }>;
153
+ readonly float: StructType<{
154
+ readonly fieldId: StringType;
155
+ readonly op: import("@elaraai/east").VariantType<{
156
+ readonly lt: FloatType;
157
+ readonly lte: FloatType;
158
+ readonly gt: FloatType;
159
+ readonly gte: FloatType;
160
+ }>;
161
+ }>;
162
+ readonly datetime: StructType<{
163
+ readonly fieldId: StringType;
164
+ readonly op: import("@elaraai/east").VariantType<{
165
+ readonly before: import("@elaraai/east").DateTimeType;
166
+ readonly after: import("@elaraai/east").DateTimeType;
167
+ readonly between: StructType<{
168
+ readonly from: import("@elaraai/east").DateTimeType;
169
+ readonly to: import("@elaraai/east").DateTimeType;
170
+ }>;
171
+ }>;
172
+ }>;
173
+ readonly boolean: StructType<{
174
+ readonly fieldId: StringType;
175
+ readonly op: import("@elaraai/east").VariantType<{
176
+ readonly is: BooleanType;
177
+ }>;
178
+ }>;
179
+ }>>;
180
+ readonly cohorts: ArrayType<StructType<{
181
+ readonly id: StringType;
182
+ readonly name: StringType;
183
+ readonly filters: ArrayType<import("@elaraai/east").VariantType<{
184
+ readonly string: StructType<{
185
+ readonly fieldId: StringType;
186
+ readonly op: import("@elaraai/east").VariantType<{
187
+ readonly eq: StringType;
188
+ readonly neq: StringType;
189
+ readonly in: import("@elaraai/east").SetType<StringType>;
190
+ readonly notIn: import("@elaraai/east").SetType<StringType>;
191
+ readonly contains: StringType;
192
+ readonly matches: StringType;
193
+ readonly startsWith: StringType;
194
+ readonly endsWith: StringType;
195
+ readonly isEmpty: NullType;
196
+ readonly isNotEmpty: NullType;
197
+ }>;
198
+ }>;
199
+ readonly integer: StructType<{
200
+ readonly fieldId: StringType;
201
+ readonly op: import("@elaraai/east").VariantType<{
202
+ readonly eq: import("@elaraai/east").IntegerType;
203
+ readonly neq: import("@elaraai/east").IntegerType;
204
+ readonly lt: import("@elaraai/east").IntegerType;
205
+ readonly lte: import("@elaraai/east").IntegerType;
206
+ readonly gt: import("@elaraai/east").IntegerType;
207
+ readonly gte: import("@elaraai/east").IntegerType;
208
+ readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
209
+ }>;
210
+ }>;
211
+ readonly float: StructType<{
212
+ readonly fieldId: StringType;
213
+ readonly op: import("@elaraai/east").VariantType<{
214
+ readonly lt: FloatType;
215
+ readonly lte: FloatType;
216
+ readonly gt: FloatType;
217
+ readonly gte: FloatType;
218
+ }>;
219
+ }>;
220
+ readonly datetime: StructType<{
221
+ readonly fieldId: StringType;
222
+ readonly op: import("@elaraai/east").VariantType<{
223
+ readonly before: import("@elaraai/east").DateTimeType;
224
+ readonly after: import("@elaraai/east").DateTimeType;
225
+ readonly between: StructType<{
226
+ readonly from: import("@elaraai/east").DateTimeType;
227
+ readonly to: import("@elaraai/east").DateTimeType;
228
+ }>;
229
+ }>;
230
+ }>;
231
+ readonly boolean: StructType<{
232
+ readonly fieldId: StringType;
233
+ readonly op: import("@elaraai/east").VariantType<{
234
+ readonly is: BooleanType;
235
+ }>;
236
+ }>;
237
+ }>>;
238
+ readonly group: OptionType<StringType>;
239
+ }>>;
240
+ readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
241
+ readonly breakdown: OptionType<StructType<{
242
+ readonly fieldId: StringType;
243
+ readonly limit: OptionType<import("@elaraai/east").IntegerType>;
244
+ }>>;
245
+ readonly search: OptionType<StringType>;
246
+ readonly visible: OptionType<import("@elaraai/east").SetType<StringType>>;
247
+ readonly selectedIndex: OptionType<import("@elaraai/east").IntegerType>;
248
+ readonly resolution: OptionType<import("@elaraai/east").VariantType<{
249
+ readonly auto: NullType;
250
+ readonly hour: NullType;
251
+ readonly day: NullType;
252
+ readonly week: NullType;
253
+ readonly month: NullType;
254
+ readonly quarter: NullType;
255
+ readonly year: NullType;
256
+ }>>;
257
+ }>>;
258
+ readonly write: FunctionType<[StructType<{
259
+ readonly range: OptionType<import("@elaraai/east").VariantType<{
260
+ readonly datetime: StructType<{
261
+ readonly from: import("@elaraai/east").DateTimeType;
262
+ readonly to: import("@elaraai/east").DateTimeType;
263
+ }>;
264
+ readonly datetimePreset: import("@elaraai/east").VariantType<{
265
+ readonly today: NullType;
266
+ readonly last7d: NullType;
267
+ readonly last30d: NullType;
268
+ readonly last90d: NullType;
269
+ readonly ytd: NullType;
270
+ }>;
271
+ readonly integer: StructType<{
272
+ readonly from: import("@elaraai/east").IntegerType;
273
+ readonly to: import("@elaraai/east").IntegerType;
274
+ }>;
275
+ readonly float: StructType<{
276
+ readonly from: FloatType;
277
+ readonly to: FloatType;
278
+ }>;
279
+ }>>;
280
+ readonly compare: OptionType<import("@elaraai/east").VariantType<{
281
+ readonly previousPeriod: NullType;
282
+ readonly previousYear: NullType;
283
+ }>>;
284
+ readonly filters: ArrayType<import("@elaraai/east").VariantType<{
285
+ readonly string: StructType<{
286
+ readonly fieldId: StringType;
287
+ readonly op: import("@elaraai/east").VariantType<{
288
+ readonly eq: StringType;
289
+ readonly neq: StringType;
290
+ readonly in: import("@elaraai/east").SetType<StringType>;
291
+ readonly notIn: import("@elaraai/east").SetType<StringType>;
292
+ readonly contains: StringType;
293
+ readonly matches: StringType;
294
+ readonly startsWith: StringType;
295
+ readonly endsWith: StringType;
296
+ readonly isEmpty: NullType;
297
+ readonly isNotEmpty: NullType;
298
+ }>;
299
+ }>;
300
+ readonly integer: StructType<{
301
+ readonly fieldId: StringType;
302
+ readonly op: import("@elaraai/east").VariantType<{
303
+ readonly eq: import("@elaraai/east").IntegerType;
304
+ readonly neq: import("@elaraai/east").IntegerType;
305
+ readonly lt: import("@elaraai/east").IntegerType;
306
+ readonly lte: import("@elaraai/east").IntegerType;
307
+ readonly gt: import("@elaraai/east").IntegerType;
308
+ readonly gte: import("@elaraai/east").IntegerType;
309
+ readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
310
+ }>;
311
+ }>;
312
+ readonly float: StructType<{
313
+ readonly fieldId: StringType;
314
+ readonly op: import("@elaraai/east").VariantType<{
315
+ readonly lt: FloatType;
316
+ readonly lte: FloatType;
317
+ readonly gt: FloatType;
318
+ readonly gte: FloatType;
319
+ }>;
320
+ }>;
321
+ readonly datetime: StructType<{
322
+ readonly fieldId: StringType;
323
+ readonly op: import("@elaraai/east").VariantType<{
324
+ readonly before: import("@elaraai/east").DateTimeType;
325
+ readonly after: import("@elaraai/east").DateTimeType;
326
+ readonly between: StructType<{
327
+ readonly from: import("@elaraai/east").DateTimeType;
328
+ readonly to: import("@elaraai/east").DateTimeType;
329
+ }>;
330
+ }>;
331
+ }>;
332
+ readonly boolean: StructType<{
333
+ readonly fieldId: StringType;
334
+ readonly op: import("@elaraai/east").VariantType<{
335
+ readonly is: BooleanType;
336
+ }>;
337
+ }>;
338
+ }>>;
339
+ readonly cohorts: ArrayType<StructType<{
340
+ readonly id: StringType;
341
+ readonly name: StringType;
342
+ readonly filters: ArrayType<import("@elaraai/east").VariantType<{
343
+ readonly string: StructType<{
344
+ readonly fieldId: StringType;
345
+ readonly op: import("@elaraai/east").VariantType<{
346
+ readonly eq: StringType;
347
+ readonly neq: StringType;
348
+ readonly in: import("@elaraai/east").SetType<StringType>;
349
+ readonly notIn: import("@elaraai/east").SetType<StringType>;
350
+ readonly contains: StringType;
351
+ readonly matches: StringType;
352
+ readonly startsWith: StringType;
353
+ readonly endsWith: StringType;
354
+ readonly isEmpty: NullType;
355
+ readonly isNotEmpty: NullType;
356
+ }>;
357
+ }>;
358
+ readonly integer: StructType<{
359
+ readonly fieldId: StringType;
360
+ readonly op: import("@elaraai/east").VariantType<{
361
+ readonly eq: import("@elaraai/east").IntegerType;
362
+ readonly neq: import("@elaraai/east").IntegerType;
363
+ readonly lt: import("@elaraai/east").IntegerType;
364
+ readonly lte: import("@elaraai/east").IntegerType;
365
+ readonly gt: import("@elaraai/east").IntegerType;
366
+ readonly gte: import("@elaraai/east").IntegerType;
367
+ readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
368
+ }>;
369
+ }>;
370
+ readonly float: StructType<{
371
+ readonly fieldId: StringType;
372
+ readonly op: import("@elaraai/east").VariantType<{
373
+ readonly lt: FloatType;
374
+ readonly lte: FloatType;
375
+ readonly gt: FloatType;
376
+ readonly gte: FloatType;
377
+ }>;
378
+ }>;
379
+ readonly datetime: StructType<{
380
+ readonly fieldId: StringType;
381
+ readonly op: import("@elaraai/east").VariantType<{
382
+ readonly before: import("@elaraai/east").DateTimeType;
383
+ readonly after: import("@elaraai/east").DateTimeType;
384
+ readonly between: StructType<{
385
+ readonly from: import("@elaraai/east").DateTimeType;
386
+ readonly to: import("@elaraai/east").DateTimeType;
387
+ }>;
388
+ }>;
389
+ }>;
390
+ readonly boolean: StructType<{
391
+ readonly fieldId: StringType;
392
+ readonly op: import("@elaraai/east").VariantType<{
393
+ readonly is: BooleanType;
394
+ }>;
395
+ }>;
396
+ }>>;
397
+ readonly group: OptionType<StringType>;
398
+ }>>;
399
+ readonly activeCohorts: import("@elaraai/east").SetType<StringType>;
400
+ readonly breakdown: OptionType<StructType<{
401
+ readonly fieldId: StringType;
402
+ readonly limit: OptionType<import("@elaraai/east").IntegerType>;
403
+ }>>;
404
+ readonly search: OptionType<StringType>;
405
+ readonly visible: OptionType<import("@elaraai/east").SetType<StringType>>;
406
+ readonly selectedIndex: OptionType<import("@elaraai/east").IntegerType>;
407
+ readonly resolution: OptionType<import("@elaraai/east").VariantType<{
408
+ readonly auto: NullType;
409
+ readonly hour: NullType;
410
+ readonly day: NullType;
411
+ readonly week: NullType;
412
+ readonly month: NullType;
413
+ readonly quarter: NullType;
414
+ readonly year: NullType;
415
+ }>>;
416
+ }>], NullType>;
417
+ readonly setRange: FunctionType<[OptionType<import("@elaraai/east").VariantType<{
418
+ readonly datetime: StructType<{
419
+ readonly from: import("@elaraai/east").DateTimeType;
420
+ readonly to: import("@elaraai/east").DateTimeType;
421
+ }>;
422
+ readonly datetimePreset: import("@elaraai/east").VariantType<{
423
+ readonly today: NullType;
424
+ readonly last7d: NullType;
425
+ readonly last30d: NullType;
426
+ readonly last90d: NullType;
427
+ readonly ytd: NullType;
428
+ }>;
429
+ readonly integer: StructType<{
430
+ readonly from: import("@elaraai/east").IntegerType;
431
+ readonly to: import("@elaraai/east").IntegerType;
432
+ }>;
433
+ readonly float: StructType<{
434
+ readonly from: FloatType;
435
+ readonly to: FloatType;
436
+ }>;
437
+ }>>], NullType>;
438
+ readonly setCompare: FunctionType<[OptionType<import("@elaraai/east").VariantType<{
439
+ readonly previousPeriod: NullType;
440
+ readonly previousYear: NullType;
441
+ }>>], NullType>;
442
+ readonly addFilter: FunctionType<[import("@elaraai/east").VariantType<{
443
+ readonly string: StructType<{
444
+ readonly fieldId: StringType;
445
+ readonly op: import("@elaraai/east").VariantType<{
446
+ readonly eq: StringType;
447
+ readonly neq: StringType;
448
+ readonly in: import("@elaraai/east").SetType<StringType>;
449
+ readonly notIn: import("@elaraai/east").SetType<StringType>;
450
+ readonly contains: StringType;
451
+ readonly matches: StringType;
452
+ readonly startsWith: StringType;
453
+ readonly endsWith: StringType;
454
+ readonly isEmpty: NullType;
455
+ readonly isNotEmpty: NullType;
456
+ }>;
457
+ }>;
458
+ readonly integer: StructType<{
459
+ readonly fieldId: StringType;
460
+ readonly op: import("@elaraai/east").VariantType<{
461
+ readonly eq: import("@elaraai/east").IntegerType;
462
+ readonly neq: import("@elaraai/east").IntegerType;
463
+ readonly lt: import("@elaraai/east").IntegerType;
464
+ readonly lte: import("@elaraai/east").IntegerType;
465
+ readonly gt: import("@elaraai/east").IntegerType;
466
+ readonly gte: import("@elaraai/east").IntegerType;
467
+ readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
468
+ }>;
469
+ }>;
470
+ readonly float: StructType<{
471
+ readonly fieldId: StringType;
472
+ readonly op: import("@elaraai/east").VariantType<{
473
+ readonly lt: FloatType;
474
+ readonly lte: FloatType;
475
+ readonly gt: FloatType;
476
+ readonly gte: FloatType;
477
+ }>;
478
+ }>;
479
+ readonly datetime: StructType<{
480
+ readonly fieldId: StringType;
481
+ readonly op: import("@elaraai/east").VariantType<{
482
+ readonly before: import("@elaraai/east").DateTimeType;
483
+ readonly after: import("@elaraai/east").DateTimeType;
484
+ readonly between: StructType<{
485
+ readonly from: import("@elaraai/east").DateTimeType;
486
+ readonly to: import("@elaraai/east").DateTimeType;
487
+ }>;
488
+ }>;
489
+ }>;
490
+ readonly boolean: StructType<{
491
+ readonly fieldId: StringType;
492
+ readonly op: import("@elaraai/east").VariantType<{
493
+ readonly is: BooleanType;
494
+ }>;
495
+ }>;
496
+ }>], NullType>;
497
+ readonly removeFilter: FunctionType<[import("@elaraai/east").IntegerType], NullType>;
498
+ readonly clearFilters: FunctionType<[], NullType>;
499
+ readonly defineCohort: FunctionType<[StructType<{
500
+ readonly id: StringType;
501
+ readonly name: StringType;
502
+ readonly filters: ArrayType<import("@elaraai/east").VariantType<{
503
+ readonly string: StructType<{
504
+ readonly fieldId: StringType;
505
+ readonly op: import("@elaraai/east").VariantType<{
506
+ readonly eq: StringType;
507
+ readonly neq: StringType;
508
+ readonly in: import("@elaraai/east").SetType<StringType>;
509
+ readonly notIn: import("@elaraai/east").SetType<StringType>;
510
+ readonly contains: StringType;
511
+ readonly matches: StringType;
512
+ readonly startsWith: StringType;
513
+ readonly endsWith: StringType;
514
+ readonly isEmpty: NullType;
515
+ readonly isNotEmpty: NullType;
516
+ }>;
517
+ }>;
518
+ readonly integer: StructType<{
519
+ readonly fieldId: StringType;
520
+ readonly op: import("@elaraai/east").VariantType<{
521
+ readonly eq: import("@elaraai/east").IntegerType;
522
+ readonly neq: import("@elaraai/east").IntegerType;
523
+ readonly lt: import("@elaraai/east").IntegerType;
524
+ readonly lte: import("@elaraai/east").IntegerType;
525
+ readonly gt: import("@elaraai/east").IntegerType;
526
+ readonly gte: import("@elaraai/east").IntegerType;
527
+ readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
528
+ }>;
529
+ }>;
530
+ readonly float: StructType<{
531
+ readonly fieldId: StringType;
532
+ readonly op: import("@elaraai/east").VariantType<{
533
+ readonly lt: FloatType;
534
+ readonly lte: FloatType;
535
+ readonly gt: FloatType;
536
+ readonly gte: FloatType;
537
+ }>;
538
+ }>;
539
+ readonly datetime: StructType<{
540
+ readonly fieldId: StringType;
541
+ readonly op: import("@elaraai/east").VariantType<{
542
+ readonly before: import("@elaraai/east").DateTimeType;
543
+ readonly after: import("@elaraai/east").DateTimeType;
544
+ readonly between: StructType<{
545
+ readonly from: import("@elaraai/east").DateTimeType;
546
+ readonly to: import("@elaraai/east").DateTimeType;
547
+ }>;
548
+ }>;
549
+ }>;
550
+ readonly boolean: StructType<{
551
+ readonly fieldId: StringType;
552
+ readonly op: import("@elaraai/east").VariantType<{
553
+ readonly is: BooleanType;
554
+ }>;
555
+ }>;
556
+ }>>;
557
+ readonly group: OptionType<StringType>;
558
+ }>], NullType>;
559
+ readonly updateCohort: FunctionType<[StringType, StructType<{
560
+ readonly id: StringType;
561
+ readonly name: StringType;
562
+ readonly filters: ArrayType<import("@elaraai/east").VariantType<{
563
+ readonly string: StructType<{
564
+ readonly fieldId: StringType;
565
+ readonly op: import("@elaraai/east").VariantType<{
566
+ readonly eq: StringType;
567
+ readonly neq: StringType;
568
+ readonly in: import("@elaraai/east").SetType<StringType>;
569
+ readonly notIn: import("@elaraai/east").SetType<StringType>;
570
+ readonly contains: StringType;
571
+ readonly matches: StringType;
572
+ readonly startsWith: StringType;
573
+ readonly endsWith: StringType;
574
+ readonly isEmpty: NullType;
575
+ readonly isNotEmpty: NullType;
576
+ }>;
577
+ }>;
578
+ readonly integer: StructType<{
579
+ readonly fieldId: StringType;
580
+ readonly op: import("@elaraai/east").VariantType<{
581
+ readonly eq: import("@elaraai/east").IntegerType;
582
+ readonly neq: import("@elaraai/east").IntegerType;
583
+ readonly lt: import("@elaraai/east").IntegerType;
584
+ readonly lte: import("@elaraai/east").IntegerType;
585
+ readonly gt: import("@elaraai/east").IntegerType;
586
+ readonly gte: import("@elaraai/east").IntegerType;
587
+ readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
588
+ }>;
589
+ }>;
590
+ readonly float: StructType<{
591
+ readonly fieldId: StringType;
592
+ readonly op: import("@elaraai/east").VariantType<{
593
+ readonly lt: FloatType;
594
+ readonly lte: FloatType;
595
+ readonly gt: FloatType;
596
+ readonly gte: FloatType;
597
+ }>;
598
+ }>;
599
+ readonly datetime: StructType<{
600
+ readonly fieldId: StringType;
601
+ readonly op: import("@elaraai/east").VariantType<{
602
+ readonly before: import("@elaraai/east").DateTimeType;
603
+ readonly after: import("@elaraai/east").DateTimeType;
604
+ readonly between: StructType<{
605
+ readonly from: import("@elaraai/east").DateTimeType;
606
+ readonly to: import("@elaraai/east").DateTimeType;
607
+ }>;
608
+ }>;
609
+ }>;
610
+ readonly boolean: StructType<{
611
+ readonly fieldId: StringType;
612
+ readonly op: import("@elaraai/east").VariantType<{
613
+ readonly is: BooleanType;
614
+ }>;
615
+ }>;
616
+ }>>;
617
+ readonly group: OptionType<StringType>;
618
+ }>], NullType>;
619
+ readonly removeCohort: FunctionType<[StringType], NullType>;
620
+ readonly toggleCohort: FunctionType<[StringType], NullType>;
621
+ readonly setBreakdown: FunctionType<[OptionType<StructType<{
622
+ readonly fieldId: StringType;
623
+ readonly limit: OptionType<import("@elaraai/east").IntegerType>;
624
+ }>>], NullType>;
625
+ readonly setSearch: FunctionType<[OptionType<StringType>], NullType>;
626
+ readonly setVisible: FunctionType<[OptionType<import("@elaraai/east").SetType<StringType>>], NullType>;
627
+ readonly select: FunctionType<[OptionType<import("@elaraai/east").IntegerType>], NullType>;
628
+ readonly isActive: FunctionType<[], BooleanType>;
629
+ readonly activeCount: FunctionType<[], import("@elaraai/east").IntegerType>;
630
+ readonly dimensions: FunctionType<[], ArrayType<StructType<{
631
+ readonly fieldId: StringType;
632
+ readonly label: StringType;
633
+ }>>>;
634
+ readonly fields: FunctionType<[], ArrayType<StructType<{
635
+ readonly fieldId: StringType;
636
+ readonly label: StringType;
637
+ readonly kind: StringType;
638
+ readonly hints: ArrayType<StringType>;
639
+ readonly format: OptionType<import("@elaraai/east").VariantType<{
640
+ readonly number: NullType;
641
+ readonly currency: StructType<{
642
+ readonly code: StringType;
643
+ readonly compact: BooleanType;
644
+ }>;
645
+ readonly percent: NullType;
646
+ readonly compact: NullType;
647
+ readonly date: StringType;
648
+ readonly time: StringType;
649
+ readonly datetime: StringType;
650
+ }>>;
651
+ }>>>;
652
+ readonly searchFieldIds: FunctionType<[], ArrayType<StringType>>;
653
+ readonly rangeFieldId: FunctionType<[], OptionType<StringType>>;
654
+ readonly totalCount: FunctionType<[], import("@elaraai/east").IntegerType>;
655
+ readonly resultCount: FunctionType<[], import("@elaraai/east").IntegerType>;
656
+ readonly groups: FunctionType<[], ArrayType<StructType<{
657
+ readonly key: StringType;
658
+ readonly count: import("@elaraai/east").IntegerType;
659
+ readonly color: StringType;
660
+ }>>>;
661
+ readonly series: FunctionType<[StringType, StringType], ArrayType<StructType<{
662
+ readonly key: StringType;
663
+ readonly color: StringType;
664
+ readonly points: ArrayType<StructType<{
665
+ readonly x: import("@elaraai/east").VariantType<{
666
+ readonly category: StringType;
667
+ readonly number: FloatType;
668
+ readonly time: import("@elaraai/east").DateTimeType;
669
+ }>;
670
+ readonly value: FloatType;
671
+ readonly size: OptionType<FloatType>;
672
+ readonly color: OptionType<StringType>;
673
+ }>>;
674
+ }>>>;
675
+ readonly matches: FunctionType<[], ArrayType<StructType<{
676
+ readonly id: StringType;
677
+ readonly label: StringType;
678
+ readonly meta: OptionType<StringType>;
679
+ }>>>;
680
+ readonly cohortCounts: FunctionType<[], DictType<StringType, import("@elaraai/east").IntegerType>>;
681
+ readonly toggleFilter: FunctionType<[import("@elaraai/east").VariantType<{
682
+ readonly string: StructType<{
683
+ readonly fieldId: StringType;
684
+ readonly op: import("@elaraai/east").VariantType<{
685
+ readonly eq: StringType;
686
+ readonly neq: StringType;
687
+ readonly in: import("@elaraai/east").SetType<StringType>;
688
+ readonly notIn: import("@elaraai/east").SetType<StringType>;
689
+ readonly contains: StringType;
690
+ readonly matches: StringType;
691
+ readonly startsWith: StringType;
692
+ readonly endsWith: StringType;
693
+ readonly isEmpty: NullType;
694
+ readonly isNotEmpty: NullType;
695
+ }>;
696
+ }>;
697
+ readonly integer: StructType<{
698
+ readonly fieldId: StringType;
699
+ readonly op: import("@elaraai/east").VariantType<{
700
+ readonly eq: import("@elaraai/east").IntegerType;
701
+ readonly neq: import("@elaraai/east").IntegerType;
702
+ readonly lt: import("@elaraai/east").IntegerType;
703
+ readonly lte: import("@elaraai/east").IntegerType;
704
+ readonly gt: import("@elaraai/east").IntegerType;
705
+ readonly gte: import("@elaraai/east").IntegerType;
706
+ readonly in: import("@elaraai/east").SetType<import("@elaraai/east").IntegerType>;
707
+ }>;
708
+ }>;
709
+ readonly float: StructType<{
710
+ readonly fieldId: StringType;
711
+ readonly op: import("@elaraai/east").VariantType<{
712
+ readonly lt: FloatType;
713
+ readonly lte: FloatType;
714
+ readonly gt: FloatType;
715
+ readonly gte: FloatType;
716
+ }>;
717
+ }>;
718
+ readonly datetime: StructType<{
719
+ readonly fieldId: StringType;
720
+ readonly op: import("@elaraai/east").VariantType<{
721
+ readonly before: import("@elaraai/east").DateTimeType;
722
+ readonly after: import("@elaraai/east").DateTimeType;
723
+ readonly between: StructType<{
724
+ readonly from: import("@elaraai/east").DateTimeType;
725
+ readonly to: import("@elaraai/east").DateTimeType;
726
+ }>;
727
+ }>;
728
+ }>;
729
+ readonly boolean: StructType<{
730
+ readonly fieldId: StringType;
731
+ readonly op: import("@elaraai/east").VariantType<{
732
+ readonly is: BooleanType;
733
+ }>;
734
+ }>;
735
+ }>], NullType>;
736
+ readonly facetGroups: FunctionType<[], ArrayType<StructType<{
737
+ readonly key: StringType;
738
+ readonly count: import("@elaraai/east").IntegerType;
739
+ readonly color: StringType;
740
+ }>>>;
741
+ readonly setResolution: FunctionType<[OptionType<import("@elaraai/east").VariantType<{
742
+ readonly auto: NullType;
743
+ readonly hour: NullType;
744
+ readonly day: NullType;
745
+ readonly week: NullType;
746
+ readonly month: NullType;
747
+ readonly quarter: NullType;
748
+ readonly year: NullType;
749
+ }>>], NullType>;
750
+ }>;
751
+ readonly affordances: ArrayType<import("@elaraai/east").VariantType<{
752
+ readonly filter: NullType;
753
+ readonly search: NullType;
754
+ readonly breakdown: NullType;
755
+ readonly range: NullType;
756
+ readonly cohort: NullType;
757
+ readonly brush: NullType;
758
+ readonly presets: NullType;
759
+ readonly legend: NullType;
760
+ readonly resolution: NullType;
761
+ readonly summary: NullType;
762
+ }>>;
763
+ }>>;
764
+ readonly style: OptionType<StructType<{
765
+ readonly height: OptionType<StringType>;
766
+ readonly maxHeight: OptionType<StringType>;
767
+ readonly virtualization: OptionType<BooleanType>;
768
+ readonly columns: OptionType<import("@elaraai/east").IntegerType>;
769
+ readonly mediaPlacement: OptionType<import("@elaraai/east").VariantType<{
770
+ readonly top: NullType;
771
+ readonly start: NullType;
772
+ }>>;
773
+ readonly mediaSize: OptionType<StringType>;
774
+ }>>;
775
+ readonly variant: OptionType<import("@elaraai/east").VariantType<{
776
+ readonly compact: NullType;
777
+ readonly gallery: NullType;
778
+ }>>;
779
+ readonly layout: OptionType<import("@elaraai/east").VariantType<{
780
+ readonly grid: NullType;
781
+ readonly list: NullType;
782
+ }>>;
783
+ readonly toolbar: BooleanType;
784
+ }>;
785
+ /**
786
+ * Type representing the Library component.
787
+ */
788
+ export type LibraryRootType = typeof LibraryRootType;
789
+ /** A resolved Library card ({@link LibraryItemOf} over `UIComponentType`). */
790
+ export declare const LibraryItemType: StructType<{
791
+ readonly search: OptionType<StringType>;
792
+ readonly groups: DictType<StringType, StringType>;
793
+ readonly facets: DictType<StringType, ArrayType<StringType>>;
794
+ readonly dims: DictType<StringType, import("@elaraai/east").VariantType<{
795
+ readonly meter: StructType<{
796
+ readonly value: FloatType;
797
+ readonly max: FloatType;
798
+ readonly text: OptionType<StringType>;
799
+ }>;
800
+ readonly chips: ArrayType<StringType>;
801
+ readonly text: StringType;
802
+ }>>;
803
+ readonly key: StringType;
804
+ readonly label: StringType;
805
+ readonly sublabel: OptionType<StringType>;
806
+ readonly icon: OptionType<StringType>;
807
+ readonly status: OptionType<StructType<{
808
+ readonly label: StringType;
809
+ readonly tone: import("@elaraai/east").VariantType<{
810
+ readonly success: NullType;
811
+ readonly warning: NullType;
812
+ readonly danger: NullType;
813
+ readonly info: NullType;
814
+ readonly neutral: NullType;
815
+ }>;
816
+ readonly ring: BooleanType;
817
+ }>>;
818
+ readonly trailing: OptionType<StructType<{
819
+ readonly icon: StringType;
820
+ readonly label: StringType;
821
+ readonly tone: OptionType<import("@elaraai/east").VariantType<{
822
+ readonly success: NullType;
823
+ readonly warning: NullType;
824
+ readonly danger: NullType;
825
+ readonly info: NullType;
826
+ readonly neutral: NullType;
827
+ }>>;
828
+ }>>;
829
+ readonly draggable: BooleanType;
830
+ readonly filtered: BooleanType;
831
+ readonly placed: BooleanType;
832
+ readonly media: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
833
+ readonly avatar: OptionType<StringType>;
834
+ readonly byline: OptionType<StringType>;
835
+ readonly action: OptionType<StringType>;
836
+ }>;
837
+ /**
838
+ * Type representing resolved Library cards.
839
+ */
840
+ export type LibraryItemType = typeof LibraryItemType;
841
+ /** The card face the `item` accessor produces ({@link LibraryCardFaceOf} over `UIComponentType`). */
842
+ export declare const LibraryCardFaceType: StructType<{
843
+ readonly key: StringType;
844
+ readonly label: StringType;
845
+ readonly sublabel: OptionType<StringType>;
846
+ readonly icon: OptionType<StringType>;
847
+ readonly status: OptionType<StructType<{
848
+ readonly label: StringType;
849
+ readonly tone: import("@elaraai/east").VariantType<{
850
+ readonly success: NullType;
851
+ readonly warning: NullType;
852
+ readonly danger: NullType;
853
+ readonly info: NullType;
854
+ readonly neutral: NullType;
855
+ }>;
856
+ readonly ring: BooleanType;
857
+ }>>;
858
+ readonly trailing: OptionType<StructType<{
859
+ readonly icon: StringType;
860
+ readonly label: StringType;
861
+ readonly tone: OptionType<import("@elaraai/east").VariantType<{
862
+ readonly success: NullType;
863
+ readonly warning: NullType;
864
+ readonly danger: NullType;
865
+ readonly info: NullType;
866
+ readonly neutral: NullType;
867
+ }>>;
868
+ }>>;
869
+ readonly draggable: BooleanType;
870
+ readonly filtered: BooleanType;
871
+ readonly placed: BooleanType;
872
+ readonly media: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
873
+ readonly avatar: OptionType<StringType>;
874
+ readonly byline: OptionType<StringType>;
875
+ readonly action: OptionType<StringType>;
876
+ }>;
877
+ /**
878
+ * Type representing card face values.
879
+ */
880
+ export type LibraryCardFaceType = typeof LibraryCardFaceType;
23
881
  /**
24
882
  * The struct element type of a `SubtypeExprOrValue<ArrayType<StructType>>`.
25
883
  */
@@ -32,8 +890,14 @@ export type RowElement<T extends SubtypeExprOrValue<ArrayType<StructType>>> = Ty
32
890
  * @property sublabel - Optional muted second line (role / class)
33
891
  * @property icon - Optional Font Awesome solid icon name
34
892
  * @property status - Optional status pill (`some(Library.status(...))` or a conditional option expression)
893
+ * @property trailing - Optional glyph at the card's right edge (`some(Library.glyph(...))` or a conditional option expression)
35
894
  * @property draggable - Whether the card can start a drag (default `true`)
36
895
  * @property filtered - Whether the card renders de-emphasised (default `false`) — map `Slice.partition`'s `matched.not()` here to keep filtered-out cards as dimmed context
896
+ * @property placed - Whether the card shows its placed state — the brand border and tint (default `false`)
897
+ * @property media - A gallery card's media: any UI component
898
+ * @property avatar - A gallery card's byline avatar: the name whose initials it shows
899
+ * @property byline - A gallery card's byline: the line in its foot, after the avatar
900
+ * @property action - A gallery card's action: a label in the link voice at its foot's end, which a click on the card follows
37
901
  */
38
902
  export interface LibraryCardFields {
39
903
  /** Item identity; carried by `LibraryRef` when dragged */
@@ -46,26 +910,59 @@ export interface LibraryCardFields {
46
910
  icon?: IconName | ExprType<StringType>;
47
911
  /** Optional status pill (`some(Library.status(...))` or a conditional option expression) */
48
912
  status?: SubtypeExprOrValue<OptionType<LibraryStatusType>>;
913
+ /** Optional glyph at the card's right edge (`some(Library.glyph(...))` or a conditional option expression) */
914
+ trailing?: SubtypeExprOrValue<OptionType<LibraryGlyphType>>;
49
915
  /** Whether the card can start a drag (default `true`) */
50
916
  draggable?: SubtypeExprOrValue<BooleanType>;
51
917
  /** Whether the card renders de-emphasised — dimmed, drag disabled (default `false`) */
52
918
  filtered?: SubtypeExprOrValue<BooleanType>;
919
+ /** Whether the card shows its placed state — the brand border and tint, as the item on the target (default `false`) */
920
+ placed?: SubtypeExprOrValue<BooleanType>;
921
+ /** A gallery card's media: any UI component — a page's wireframe, a chart, an image — drawn above the face or at its start */
922
+ media?: ExprType<UIComponentType>;
923
+ /** A gallery card's byline avatar: the name whose initials it shows */
924
+ avatar?: SubtypeExprOrValue<StringType>;
925
+ /** A gallery card's byline: the line in its foot, after the avatar */
926
+ byline?: SubtypeExprOrValue<StringType>;
927
+ /** A gallery card's action: a label in the link voice at its foot's end — "Open in builder →"; a click on the card follows it */
928
+ action?: SubtypeExprOrValue<StringType>;
53
929
  }
54
930
  /**
55
- * Creates a status pill value for a card face.
931
+ * Creates a status value for a card face.
56
932
  *
57
933
  * @param label - Pill text (rendered uppercase)
58
934
  * @param tone - Standard status tone
59
- * @returns An East expression of the status pill
935
+ * @param ring - Draw a gallery card's dot open, a state not reached yet (default `false`)
936
+ * @returns An East expression of the status
60
937
  *
61
938
  * @example
62
939
  * ```ts
63
940
  * import { Library } from "@elaraai/east-ui";
64
941
  *
65
942
  * // status: some(Library.status("On roster", "info"))
943
+ * // status: some(Library.status("Draft", "neutral", true))
944
+ * ```
945
+ */
946
+ declare function createStatus(label: SubtypeExprOrValue<StringType>, tone: SubtypeExprOrValue<StatusTokenType> | StatusTokenLiteral, ring?: SubtypeExprOrValue<BooleanType>): ExprType<LibraryStatusType>;
947
+ /**
948
+ * Creates a trailing glyph for a card face — a lock on something fixed, a dot
949
+ * for a status.
950
+ *
951
+ * @param icon - Font Awesome solid icon name
952
+ * @param label - What the glyph says, for assistive technology and the tooltip
953
+ * @param tone - Optional status tone that colours the glyph; without one it
954
+ * takes the card's quiet ink, or the brand ink while the card is placed
955
+ * @returns An East expression of the glyph
956
+ *
957
+ * @example
958
+ * ```ts
959
+ * import { Library } from "@elaraai/east-ui";
960
+ *
961
+ * // trailing: some(Library.glyph("lock", "Logic fixed by the developer"))
962
+ * // trailing: some(Library.glyph("circle", "Live", "success"))
66
963
  * ```
67
964
  */
68
- declare function createStatus(label: SubtypeExprOrValue<StringType>, tone: SubtypeExprOrValue<StatusTokenType> | StatusTokenLiteral): ExprType<LibraryStatusType>;
965
+ declare function createGlyph(icon: IconName | ExprType<StringType>, label: SubtypeExprOrValue<StringType>, tone?: SubtypeExprOrValue<StatusTokenType> | StatusTokenLiteral): ExprType<LibraryGlyphType>;
69
966
  /**
70
967
  * A meter dimension — utilisation bar with optional right-aligned text.
71
968
  *
@@ -130,6 +1027,24 @@ export interface LibraryTextDimDef<R extends StructType> {
130
1027
  * A secondary dimension definition — one of the three render kinds.
131
1028
  */
132
1029
  export type LibraryDimensionDef<R extends StructType> = LibraryMeterDimDef<R> | LibraryChipsDimDef<R> | LibraryTextDimDef<R>;
1030
+ /**
1031
+ * A facet of the Filter menu: the values each row holds, from which the menu
1032
+ * lists the distinct ones.
1033
+ *
1034
+ * @typeParam R - The struct type of each data row
1035
+ * @property key - Facet identity
1036
+ * @property label - The facet's heading in the Filter menu
1037
+ * @property values - The values a row holds — one for a single-valued facet
1038
+ * (a category), several for a multi-valued one (its tags)
1039
+ */
1040
+ export interface LibraryFilterDef<R extends StructType> {
1041
+ /** Facet identity */
1042
+ key: string;
1043
+ /** The facet's heading in the Filter menu */
1044
+ label: string;
1045
+ /** The values a row holds — one for a single-valued facet, several for a multi-valued one */
1046
+ values: (row: ExprType<R>) => SubtypeExprOrValue<ArrayType<StringType>>;
1047
+ }
133
1048
  /**
134
1049
  * A group-by option: toolbar segment + per-row group value + optional
135
1050
  * group-head summary computed over the group's members.
@@ -160,12 +1075,18 @@ export interface LibraryGroupDef<R extends StructType> {
160
1075
  * @property dimensions - Secondary dimensions (toolbar-toggleable card facts)
161
1076
  * @property defaultDimensions - Initially-visible dimension keys (default: the first two)
162
1077
  * @property groupBy - GROUP BY options; omit for a flat list
1078
+ * @property filters - The Filter menu's facets; unmatched cards hide, as the search's do
163
1079
  * @property search - Filter-text accessor; unmatched cards hide (the footer shows the hidden count + Show all)
1080
+ * @property noun - What the items are called — the search box counts them ("Search 47 components…")
164
1081
  * @property addLabel - Optional footer action label
165
1082
  * @property onAdd - Optional footer action callback
1083
+ * @property onCardClick - Optional callback fired with a card's key when it is clicked
166
1084
  * @property slice - Optional slice chrome: the bound handle; the Library renders the rail + count footer, never narrows data itself
167
1085
  * @property affordances - Rail affordances when `slice` is set (default `["filter", "search"]`)
168
- * @property style - Optional layout style (height / maxHeight / virtualization)
1086
+ * @property style - Optional layout style (height / maxHeight / virtualization, and a gallery's columns and media)
1087
+ * @property variant - How the cards are drawn: `"compact"` (the default) or `"gallery"`
1088
+ * @property layout - How a gallery lays its cards out: `"grid"` (the default) or `"list"`
1089
+ * @property toolbar - Whether the Library draws its toolbar row (default `true`)
169
1090
  */
170
1091
  export interface LibraryConfig<R extends StructType> {
171
1092
  /** DnD source identity — targets list it in their `sources` */
@@ -180,12 +1101,29 @@ export interface LibraryConfig<R extends StructType> {
180
1101
  defaultDimensions?: string[];
181
1102
  /** GROUP BY options; omit for a flat list */
182
1103
  groupBy?: LibraryGroupDef<R>[];
1104
+ /**
1105
+ * The Filter menu's facets. The menu lists each facet's distinct values;
1106
+ * checking values keeps the cards that hold one of them, in every facet
1107
+ * with a value checked. Unmatched cards hide, as the search's do, and the
1108
+ * group counts follow.
1109
+ */
1110
+ filters?: LibraryFilterDef<R>[];
183
1111
  /** Filter-text accessor; unmatched cards hide (the footer shows the hidden count + Show all) */
184
1112
  search?: (row: ExprType<R>) => SubtypeExprOrValue<StringType>;
1113
+ /** What the items are called — the search box counts them ("Search 47 components…"); default item / items */
1114
+ noun?: {
1115
+ singular: SubtypeExprOrValue<StringType>;
1116
+ plural: SubtypeExprOrValue<StringType>;
1117
+ };
185
1118
  /** Optional footer action label */
186
1119
  addLabel?: SubtypeExprOrValue<StringType>;
187
1120
  /** Optional footer action callback */
188
1121
  onAdd?: SubtypeExprOrValue<FunctionType<[], NullType>>;
1122
+ /**
1123
+ * Fired with a card's key when it is clicked. A drag never clicks, and a
1124
+ * card that cannot be dragged is a button, so the keyboard clicks it too.
1125
+ */
1126
+ onCardClick?: SubtypeExprOrValue<FunctionType<[StringType], NullType>>;
189
1127
  /**
190
1128
  * Slice chrome — pass the bound handle and the Library renders the frame
191
1129
  * chassis itself: a rail mounting the `affordances` (default
@@ -203,8 +1141,26 @@ export interface LibraryConfig<R extends StructType> {
203
1141
  slice?: SubtypeExprOrValue<SliceBindType>;
204
1142
  /** Rail affordances when `slice` is set (default `["filter", "search"]`) */
205
1143
  affordances?: SliceAffordanceLiteral[];
206
- /** Optional layout style (height / maxHeight / virtualization) */
1144
+ /** Optional layout style (height / maxHeight / virtualization, and a gallery's columns and media) */
207
1145
  style?: LibraryStyle;
1146
+ /**
1147
+ * How the cards are drawn: `"compact"` (the default), a line per card —
1148
+ * the palette a surface drags from — or `"gallery"`, a large card per item
1149
+ * with its `media`, a byline and an action — the library a person
1150
+ * browses. A compact Library refuses the gallery's fields, naming each.
1151
+ */
1152
+ variant?: LibraryVariantLiteral;
1153
+ /** How a gallery lays its cards out: `"grid"` (the default) or `"list"` — where it starts; the toolbar's switch changes it, and an expression that moves moves it. */
1154
+ layout?: LibraryLayoutLiteral | SubtypeExprOrValue<LibraryLayoutType>;
1155
+ /**
1156
+ * Whether the Library draws its toolbar row (default `true`). `false`
1157
+ * draws none, for a host whose one toolbar serves several libraries: the
1158
+ * host narrows `data` itself and gives a gallery its `layout`. The
1159
+ * options whose controls live in the toolbar — `search`, `groupBy`,
1160
+ * `filters`, `dimensions`, `hint` and `slice` — are refused with it,
1161
+ * naming each.
1162
+ */
1163
+ toolbar?: boolean;
208
1164
  }
209
1165
  /**
210
1166
  * Creates a Library — a draggable palette of assignable items.
@@ -257,7 +1213,11 @@ export declare const Library: {
257
1213
  * Declares the DnD **source** role under `config.id`. Cards with
258
1214
  * `draggable: false` show no grip and never start a drag. The quick
259
1215
  * search hides unmatched cards (the footer shows the hidden count);
260
- * the `filtered` face field dims a card instead.
1216
+ * the `filtered` face field dims a card instead. `variant: "gallery"`
1217
+ * draws the same cards large: each card's `media` — any UI component —
1218
+ * above its face or at its start, its status as a dot and the word, and
1219
+ * a foot holding its `avatar` and `byline` and its `action`; `onAdd`
1220
+ * becomes a dashed last card.
261
1221
  *
262
1222
  * @example
263
1223
  * ```ts
@@ -277,20 +1237,40 @@ export declare const Library: {
277
1237
  */
278
1238
  readonly Root: typeof createLibrary;
279
1239
  /**
280
- * Creates a status pill value for a card face.
1240
+ * Creates a status value for a card face — a compact card's pill, a
1241
+ * gallery card's dot and word.
281
1242
  *
282
1243
  * @param label - Pill text (rendered uppercase)
283
1244
  * @param tone - Standard status tone (`success` / `warning` / `danger` / `info` / `neutral`)
284
- * @returns An East expression of the status pill
1245
+ * @param ring - Draw a gallery card's dot open, a state not reached yet (default `false`)
1246
+ * @returns An East expression of the status
285
1247
  *
286
1248
  * @example
287
1249
  * ```ts
288
1250
  * import { Library } from "@elaraai/east-ui";
289
1251
  *
290
1252
  * // Library.status("At cap", "neutral")
1253
+ * // Library.status("Draft", "neutral", true)
291
1254
  * ```
292
1255
  */
293
1256
  readonly status: typeof createStatus;
1257
+ /**
1258
+ * Creates a trailing glyph for a card face — a lock on something fixed, a
1259
+ * dot for a status.
1260
+ *
1261
+ * @param icon - Font Awesome solid icon name
1262
+ * @param label - What the glyph says, for assistive technology and the tooltip
1263
+ * @param tone - Optional status tone that colours the glyph
1264
+ * @returns An East expression of the glyph
1265
+ *
1266
+ * @example
1267
+ * ```ts
1268
+ * import { Library } from "@elaraai/east-ui";
1269
+ *
1270
+ * // trailing: some(Library.glyph("lock", "Logic fixed by the developer"))
1271
+ * ```
1272
+ */
1273
+ readonly glyph: typeof createGlyph;
294
1274
  readonly Types: {
295
1275
  /**
296
1276
  * East StructType for the Library component.
@@ -306,16 +1286,34 @@ export declare const Library: {
306
1286
  * @property groupSummaries - Group-head summary text per option key, per group value
307
1287
  * @property dimOptions - SECONDARY dimension toggles
308
1288
  * @property defaultDimensions - Initially-visible dimension keys
1289
+ * @property filterOptions - The Filter menu's facets
309
1290
  * @property searchable - Whether the search input renders
310
- * @property addLabel - Optional footer action label
1291
+ * @property noun - Optional name for the items
1292
+ * @property addLabel - Optional footer action label — a gallery's dashed last card
311
1293
  * @property onAdd - Optional footer action callback
1294
+ * @property onCardClick - Optional callback fired with a clicked card's key
312
1295
  * @property slice - Optional slice chrome (bound handle + rail affordances)
313
- * @property style - Optional layout style (height / maxHeight / virtualization)
1296
+ * @property style - Optional layout style (height / maxHeight / virtualization, and a gallery's columns and media)
1297
+ * @property variant - How the cards are drawn; `none` is compact
1298
+ * @property layout - How a gallery lays its cards out; `none` is the grid
1299
+ * @property toolbar - Whether the Library draws its toolbar row
314
1300
  */
315
1301
  readonly Library: StructType<{
316
1302
  readonly id: StringType;
317
1303
  readonly hint: OptionType<StringType>;
318
1304
  readonly items: ArrayType<StructType<{
1305
+ readonly search: OptionType<StringType>;
1306
+ readonly groups: DictType<StringType, StringType>;
1307
+ readonly facets: DictType<StringType, ArrayType<StringType>>;
1308
+ readonly dims: DictType<StringType, import("@elaraai/east").VariantType<{
1309
+ readonly meter: StructType<{
1310
+ readonly value: FloatType;
1311
+ readonly max: FloatType;
1312
+ readonly text: OptionType<StringType>;
1313
+ }>;
1314
+ readonly chips: ArrayType<StringType>;
1315
+ readonly text: StringType;
1316
+ }>>;
319
1317
  readonly key: StringType;
320
1318
  readonly label: StringType;
321
1319
  readonly sublabel: OptionType<StringType>;
@@ -329,20 +1327,26 @@ export declare const Library: {
329
1327
  readonly info: NullType;
330
1328
  readonly neutral: NullType;
331
1329
  }>;
1330
+ readonly ring: BooleanType;
1331
+ }>>;
1332
+ readonly trailing: OptionType<StructType<{
1333
+ readonly icon: StringType;
1334
+ readonly label: StringType;
1335
+ readonly tone: OptionType<import("@elaraai/east").VariantType<{
1336
+ readonly success: NullType;
1337
+ readonly warning: NullType;
1338
+ readonly danger: NullType;
1339
+ readonly info: NullType;
1340
+ readonly neutral: NullType;
1341
+ }>>;
332
1342
  }>>;
333
1343
  readonly draggable: BooleanType;
334
1344
  readonly filtered: BooleanType;
335
- readonly search: OptionType<StringType>;
336
- readonly groups: DictType<StringType, StringType>;
337
- readonly dims: DictType<StringType, import("@elaraai/east").VariantType<{
338
- readonly meter: StructType<{
339
- readonly value: FloatType;
340
- readonly max: FloatType;
341
- readonly text: OptionType<StringType>;
342
- }>;
343
- readonly chips: ArrayType<StringType>;
344
- readonly text: StringType;
345
- }>>;
1345
+ readonly placed: BooleanType;
1346
+ readonly media: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
1347
+ readonly avatar: OptionType<StringType>;
1348
+ readonly byline: OptionType<StringType>;
1349
+ readonly action: OptionType<StringType>;
346
1350
  }>>;
347
1351
  readonly groupOptions: ArrayType<StructType<{
348
1352
  readonly key: StringType;
@@ -354,9 +1358,18 @@ export declare const Library: {
354
1358
  readonly label: StringType;
355
1359
  }>>;
356
1360
  readonly defaultDimensions: ArrayType<StringType>;
1361
+ readonly filterOptions: ArrayType<StructType<{
1362
+ readonly key: StringType;
1363
+ readonly label: StringType;
1364
+ }>>;
357
1365
  readonly searchable: BooleanType;
1366
+ readonly noun: OptionType<StructType<{
1367
+ readonly singular: StringType;
1368
+ readonly plural: StringType;
1369
+ }>>;
358
1370
  readonly addLabel: OptionType<StringType>;
359
1371
  readonly onAdd: OptionType<FunctionType<[], NullType>>;
1372
+ readonly onCardClick: OptionType<FunctionType<[StringType], NullType>>;
360
1373
  readonly slice: OptionType<StructType<{
361
1374
  readonly slice: StructType<{
362
1375
  readonly key: StringType;
@@ -1029,7 +2042,22 @@ export declare const Library: {
1029
2042
  readonly height: OptionType<StringType>;
1030
2043
  readonly maxHeight: OptionType<StringType>;
1031
2044
  readonly virtualization: OptionType<BooleanType>;
2045
+ readonly columns: OptionType<import("@elaraai/east").IntegerType>;
2046
+ readonly mediaPlacement: OptionType<import("@elaraai/east").VariantType<{
2047
+ readonly top: NullType;
2048
+ readonly start: NullType;
2049
+ }>>;
2050
+ readonly mediaSize: OptionType<StringType>;
2051
+ }>>;
2052
+ readonly variant: OptionType<import("@elaraai/east").VariantType<{
2053
+ readonly compact: NullType;
2054
+ readonly gallery: NullType;
1032
2055
  }>>;
2056
+ readonly layout: OptionType<import("@elaraai/east").VariantType<{
2057
+ readonly grid: NullType;
2058
+ readonly list: NullType;
2059
+ }>>;
2060
+ readonly toolbar: BooleanType;
1033
2061
  }>;
1034
2062
  /**
1035
2063
  * A resolved Library card.
@@ -1039,13 +2067,32 @@ export declare const Library: {
1039
2067
  * @property sublabel - Optional muted second line
1040
2068
  * @property icon - Optional Font Awesome solid icon name
1041
2069
  * @property status - Optional status pill
2070
+ * @property trailing - Optional glyph at the card's right edge
1042
2071
  * @property draggable - Whether the card can start a drag
1043
2072
  * @property filtered - Whether the card renders de-emphasised
2073
+ * @property placed - Whether the card shows its placed state
2074
+ * @property media - A gallery card's media
2075
+ * @property avatar - A gallery card's byline avatar
2076
+ * @property byline - A gallery card's byline
2077
+ * @property action - A gallery card's action
1044
2078
  * @property search - Optional filter text
1045
2079
  * @property groups - Group value per group-by option key
2080
+ * @property facets - The values the card holds per filter key
1046
2081
  * @property dims - Secondary dimension value per dimension key
1047
2082
  */
1048
2083
  readonly Item: StructType<{
2084
+ readonly search: OptionType<StringType>;
2085
+ readonly groups: DictType<StringType, StringType>;
2086
+ readonly facets: DictType<StringType, ArrayType<StringType>>;
2087
+ readonly dims: DictType<StringType, import("@elaraai/east").VariantType<{
2088
+ readonly meter: StructType<{
2089
+ readonly value: FloatType;
2090
+ readonly max: FloatType;
2091
+ readonly text: OptionType<StringType>;
2092
+ }>;
2093
+ readonly chips: ArrayType<StringType>;
2094
+ readonly text: StringType;
2095
+ }>>;
1049
2096
  readonly key: StringType;
1050
2097
  readonly label: StringType;
1051
2098
  readonly sublabel: OptionType<StringType>;
@@ -1059,20 +2106,26 @@ export declare const Library: {
1059
2106
  readonly info: NullType;
1060
2107
  readonly neutral: NullType;
1061
2108
  }>;
2109
+ readonly ring: BooleanType;
2110
+ }>>;
2111
+ readonly trailing: OptionType<StructType<{
2112
+ readonly icon: StringType;
2113
+ readonly label: StringType;
2114
+ readonly tone: OptionType<import("@elaraai/east").VariantType<{
2115
+ readonly success: NullType;
2116
+ readonly warning: NullType;
2117
+ readonly danger: NullType;
2118
+ readonly info: NullType;
2119
+ readonly neutral: NullType;
2120
+ }>>;
1062
2121
  }>>;
1063
2122
  readonly draggable: BooleanType;
1064
2123
  readonly filtered: BooleanType;
1065
- readonly search: OptionType<StringType>;
1066
- readonly groups: DictType<StringType, StringType>;
1067
- readonly dims: DictType<StringType, import("@elaraai/east").VariantType<{
1068
- readonly meter: StructType<{
1069
- readonly value: FloatType;
1070
- readonly max: FloatType;
1071
- readonly text: OptionType<StringType>;
1072
- }>;
1073
- readonly chips: ArrayType<StringType>;
1074
- readonly text: StringType;
1075
- }>>;
2124
+ readonly placed: BooleanType;
2125
+ readonly media: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
2126
+ readonly avatar: OptionType<StringType>;
2127
+ readonly byline: OptionType<StringType>;
2128
+ readonly action: OptionType<StringType>;
1076
2129
  }>;
1077
2130
  /**
1078
2131
  * The card face produced by the `item` accessor.
@@ -1081,9 +2134,15 @@ export declare const Library: {
1081
2134
  * @property label - Primary identity line
1082
2135
  * @property sublabel - Optional muted second line
1083
2136
  * @property icon - Optional Font Awesome solid icon name
1084
- * @property status - Optional status pill
2137
+ * @property status - Optional status
2138
+ * @property trailing - Optional glyph at the card's right edge
1085
2139
  * @property draggable - Whether the card can start a drag
1086
2140
  * @property filtered - Whether the card renders de-emphasised
2141
+ * @property placed - Whether the card shows its placed state
2142
+ * @property media - A gallery card's media
2143
+ * @property avatar - A gallery card's byline avatar
2144
+ * @property byline - A gallery card's byline
2145
+ * @property action - A gallery card's action
1087
2146
  */
1088
2147
  readonly CardFace: StructType<{
1089
2148
  readonly key: StringType;
@@ -1099,15 +2158,33 @@ export declare const Library: {
1099
2158
  readonly info: NullType;
1100
2159
  readonly neutral: NullType;
1101
2160
  }>;
2161
+ readonly ring: BooleanType;
2162
+ }>>;
2163
+ readonly trailing: OptionType<StructType<{
2164
+ readonly icon: StringType;
2165
+ readonly label: StringType;
2166
+ readonly tone: OptionType<import("@elaraai/east").VariantType<{
2167
+ readonly success: NullType;
2168
+ readonly warning: NullType;
2169
+ readonly danger: NullType;
2170
+ readonly info: NullType;
2171
+ readonly neutral: NullType;
2172
+ }>>;
1102
2173
  }>>;
1103
2174
  readonly draggable: BooleanType;
1104
2175
  readonly filtered: BooleanType;
2176
+ readonly placed: BooleanType;
2177
+ readonly media: OptionType<import("@elaraai/east").RecursiveType<import("../../component.js").UIComponentNode>>;
2178
+ readonly avatar: OptionType<StringType>;
2179
+ readonly byline: OptionType<StringType>;
2180
+ readonly action: OptionType<StringType>;
1105
2181
  }>;
1106
2182
  /**
1107
- * Status pill on a Library card.
2183
+ * A Library card's status.
1108
2184
  *
1109
2185
  * @property label - Pill text (rendered uppercase)
1110
2186
  * @property tone - Standard status tone
2187
+ * @property ring - A gallery card's dot drawn open
1111
2188
  */
1112
2189
  readonly Status: StructType<{
1113
2190
  readonly label: StringType;
@@ -1118,6 +2195,65 @@ export declare const Library: {
1118
2195
  readonly info: NullType;
1119
2196
  readonly neutral: NullType;
1120
2197
  }>;
2198
+ readonly ring: BooleanType;
2199
+ }>;
2200
+ /**
2201
+ * How a Library draws its cards.
2202
+ *
2203
+ * @property compact - A line per card — the palette
2204
+ * @property gallery - A large card per item, with its media
2205
+ */
2206
+ readonly Variant: import("@elaraai/east").VariantType<{
2207
+ readonly compact: NullType;
2208
+ readonly gallery: NullType;
2209
+ }>;
2210
+ /**
2211
+ * How a gallery lays its cards out.
2212
+ *
2213
+ * @property grid - Cards across the columns
2214
+ * @property list - A card per row, its media at the start
2215
+ */
2216
+ readonly Layout: import("@elaraai/east").VariantType<{
2217
+ readonly grid: NullType;
2218
+ readonly list: NullType;
2219
+ }>;
2220
+ /**
2221
+ * Where a gallery card's media sits in the grid layout.
2222
+ *
2223
+ * @property top - Above the face
2224
+ * @property start - At the face's start
2225
+ */
2226
+ readonly MediaPlacement: import("@elaraai/east").VariantType<{
2227
+ readonly top: NullType;
2228
+ readonly start: NullType;
2229
+ }>;
2230
+ /**
2231
+ * A glyph at a card's right edge.
2232
+ *
2233
+ * @property icon - Font Awesome solid icon name
2234
+ * @property label - What the glyph says
2235
+ * @property tone - Optional status tone that colours the glyph
2236
+ */
2237
+ readonly Glyph: StructType<{
2238
+ readonly icon: StringType;
2239
+ readonly label: StringType;
2240
+ readonly tone: OptionType<import("@elaraai/east").VariantType<{
2241
+ readonly success: NullType;
2242
+ readonly warning: NullType;
2243
+ readonly danger: NullType;
2244
+ readonly info: NullType;
2245
+ readonly neutral: NullType;
2246
+ }>>;
2247
+ }>;
2248
+ /**
2249
+ * What the Library calls its items.
2250
+ *
2251
+ * @property singular - One item
2252
+ * @property plural - Any other count
2253
+ */
2254
+ readonly Noun: StructType<{
2255
+ readonly singular: StringType;
2256
+ readonly plural: StringType;
1121
2257
  }>;
1122
2258
  /**
1123
2259
  * A secondary dimension's value on one card.
@@ -1140,12 +2276,21 @@ export declare const Library: {
1140
2276
  *
1141
2277
  * @property height - Optional CSS height; constraining it makes the card grid the Library's own scroll region
1142
2278
  * @property maxHeight - Optional CSS max-height
1143
- * @property virtualization - Whether rows virtualize inside the scroll region (default `true`)
2279
+ * @property virtualization - Whether rows virtualize inside the scroll region (default `true`); a gallery mounts every card
2280
+ * @property columns - A gallery's cards across, in the grid layout
2281
+ * @property mediaPlacement - Where a gallery card's media sits in the grid layout
2282
+ * @property mediaSize - A gallery card's media height, placed on top, or width, placed at the start
1144
2283
  */
1145
2284
  readonly Style: StructType<{
1146
2285
  readonly height: OptionType<StringType>;
1147
2286
  readonly maxHeight: OptionType<StringType>;
1148
2287
  readonly virtualization: OptionType<BooleanType>;
2288
+ readonly columns: OptionType<import("@elaraai/east").IntegerType>;
2289
+ readonly mediaPlacement: OptionType<import("@elaraai/east").VariantType<{
2290
+ readonly top: NullType;
2291
+ readonly start: NullType;
2292
+ }>>;
2293
+ readonly mediaSize: OptionType<StringType>;
1149
2294
  }>;
1150
2295
  };
1151
2296
  };