@talxis/base-controls 1.2406.16 → 1.2407.1

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 (206) hide show
  1. package/dist/Grid-7ed3dd4c.js +1 -0
  2. package/dist/components/DateTime/DateTime.js +1 -1
  3. package/dist/components/DateTime/components/Calendar.d.ts +8 -3
  4. package/dist/components/DateTime/components/Calendar.js +1 -0
  5. package/dist/components/DateTime/hooks/useDateTime.d.ts +29 -4
  6. package/dist/components/DateTime/hooks/useDateTime.js +1 -0
  7. package/dist/components/DateTime/index.d.ts +3 -0
  8. package/dist/components/DateTime/index.js +1 -0
  9. package/dist/components/DateTime/interfaces.d.ts +4 -25
  10. package/dist/components/DateTime/interfaces.js +1 -0
  11. package/dist/components/DateTime/styles.d.ts +1 -4
  12. package/dist/components/DateTime/styles.js +1 -0
  13. package/dist/components/DateTime/translations.d.ts +19 -3
  14. package/dist/components/DateTime/translations.js +1 -0
  15. package/dist/components/Decimal/Decimal.js +1 -1
  16. package/dist/components/Decimal/components/ArrowButtons.d.ts +10 -0
  17. package/dist/components/Decimal/components/ArrowButtons.js +1 -0
  18. package/dist/components/Decimal/components/styles.d.ts +20 -0
  19. package/dist/components/Decimal/components/styles.js +1 -0
  20. package/dist/components/Decimal/index.d.ts +2 -0
  21. package/dist/components/Decimal/index.js +1 -0
  22. package/dist/components/Decimal/interfaces.d.ts +5 -5
  23. package/dist/components/Decimal/interfaces.js +1 -0
  24. package/dist/components/Duration/Duration.js +1 -1
  25. package/dist/components/Duration/index.d.ts +2 -0
  26. package/dist/components/Duration/index.js +1 -0
  27. package/dist/components/Duration/interfaces.d.ts +6 -24
  28. package/dist/components/Duration/interfaces.js +1 -0
  29. package/dist/components/Duration/translations.d.ts +26 -2
  30. package/dist/components/Duration/translations.js +1 -0
  31. package/dist/components/Grid/Grid.d.ts +1 -3
  32. package/dist/components/Grid/Grid.js +1 -10
  33. package/dist/components/Grid/GridContext.d.ts +3 -0
  34. package/dist/components/Grid/GridContext.js +1 -0
  35. package/dist/components/Grid/constants.js +1 -0
  36. package/dist/components/Grid/core/components/AgGrid/AgGrid.js +1 -0
  37. package/dist/components/Grid/core/components/AgGrid/components/EmptyRecordsOverlay/EmptyRecords.js +1 -0
  38. package/dist/components/Grid/core/components/AgGrid/components/EmptyRecordsOverlay/styles.js +1 -0
  39. package/dist/components/Grid/core/components/AgGrid/components/LoadingOverlay/LoadingOverlay.js +1 -0
  40. package/dist/components/Grid/core/components/AgGrid/components/LoadingOverlay/styles.js +1 -0
  41. package/dist/components/Grid/core/components/AgGrid/controllers/useAgGridController.d.ts +1 -1
  42. package/dist/components/Grid/core/components/AgGrid/controllers/useAgGridController.js +1 -0
  43. package/dist/components/Grid/core/components/AgGrid/model/AgGrid.d.ts +1 -1
  44. package/dist/components/Grid/core/components/AgGrid/model/AgGrid.js +1 -0
  45. package/dist/components/Grid/core/components/AgGrid/styles.js +1 -0
  46. package/dist/components/Grid/core/components/Cell/Commands/Commands.d.ts +1 -1
  47. package/dist/components/Grid/core/components/Cell/Commands/Commands.js +1 -0
  48. package/dist/components/Grid/core/components/Cell/Commands/Icon.js +1 -0
  49. package/dist/components/Grid/core/components/Cell/Commands/styles.js +1 -0
  50. package/dist/components/Grid/core/components/Cell/Commands/useCommands.d.ts +1 -1
  51. package/dist/components/Grid/core/components/Cell/Commands/useCommands.js +1 -0
  52. package/dist/components/Grid/core/components/Cell/EditableCell/EditableCell.d.ts +1 -1
  53. package/dist/components/Grid/core/components/Cell/EditableCell/EditableCell.js +1 -0
  54. package/dist/components/Grid/core/components/Cell/ReadOnlyCell/ReadOnlyCell.js +1 -0
  55. package/dist/components/Grid/core/components/Cell/ReadOnlyCell/ReadOnlyOptionSet/ReadOnlyOptionSet.d.ts +1 -1
  56. package/dist/components/Grid/core/components/Cell/ReadOnlyCell/ReadOnlyOptionSet/ReadOnlyOptionSet.js +1 -0
  57. package/dist/components/Grid/core/components/Cell/ReadOnlyCell/ReadOnlyOptionSet/styles.js +1 -0
  58. package/dist/components/Grid/core/components/Cell/ReadOnlyCell/styles.js +1 -0
  59. package/dist/components/Grid/core/components/ColumnHeader/ColumnHeader.js +1 -0
  60. package/dist/components/Grid/core/components/ColumnHeader/components/GlobalCheckbox/GlobalCheckbox.js +1 -0
  61. package/dist/components/Grid/core/components/ColumnHeader/components/GlobalCheckbox/styles.js +1 -0
  62. package/dist/components/Grid/core/components/ColumnHeader/styles.js +1 -0
  63. package/dist/components/Grid/core/components/Component/Component.d.ts +2 -2
  64. package/dist/components/Grid/core/components/Component/Component.js +1 -0
  65. package/dist/components/Grid/core/components/Component/controller/useComponentController.d.ts +5 -5
  66. package/dist/components/Grid/core/components/Component/controller/useComponentController.js +1 -0
  67. package/dist/components/Grid/core/components/Component/model/Component.d.ts +3 -3
  68. package/dist/components/Grid/core/components/Component/model/Component.js +1 -0
  69. package/dist/components/Grid/core/components/Dialog/Constants.js +1 -0
  70. package/dist/components/Grid/core/components/Dialog/Styles.js +1 -0
  71. package/dist/components/Grid/core/components/Dialog/index.js +1 -0
  72. package/dist/components/Grid/core/components/Dialog/interfaces/index.d.ts +6 -0
  73. package/dist/components/Grid/core/components/Dialog/interfaces/index.js +1 -0
  74. package/dist/components/Grid/core/components/Save/Save.js +1 -0
  75. package/dist/components/Grid/core/components/Save/components/ChangeEditor/ChangeEditor.js +1 -0
  76. package/dist/components/Grid/core/components/Save/components/ChangeEditor/components/RecordGrids/RecordGrids.js +1 -0
  77. package/dist/components/Grid/core/components/Save/components/ChangeEditor/components/RecordGrids/styles.js +1 -0
  78. package/dist/components/Grid/core/components/Save/components/ChangeEditor/styles.js +1 -0
  79. package/dist/components/Grid/core/components/Save/hooks/useSave.js +1 -0
  80. package/dist/components/Grid/core/components/Save/styles.js +1 -0
  81. package/dist/components/Grid/core/controllers/useGridController.js +1 -0
  82. package/dist/components/Grid/core/enums/ConditionOperator.js +1 -0
  83. package/dist/components/Grid/core/enums/DataType.js +1 -0
  84. package/dist/components/Grid/core/hooks/useGridInstance.js +1 -0
  85. package/dist/components/Grid/core/hooks/useRefreshCallback.js +1 -0
  86. package/dist/components/Grid/core/hooks/useRerender.js +1 -0
  87. package/dist/components/Grid/core/interfaces/IGridColumn.js +1 -0
  88. package/dist/components/Grid/core/interfaces/IGridContext.js +1 -0
  89. package/dist/components/Grid/core/model/Grid.d.ts +5 -6
  90. package/dist/components/Grid/core/model/Grid.js +1 -0
  91. package/dist/components/Grid/core/model/GridDependency.d.ts +3 -3
  92. package/dist/components/Grid/core/model/GridDependency.js +1 -0
  93. package/dist/components/Grid/core/model/Metadata.d.ts +1 -1
  94. package/dist/components/Grid/core/model/Metadata.js +1 -0
  95. package/dist/components/Grid/core/services/RecordUpdateService/controllers/useRecordUpdateServiceController.js +1 -0
  96. package/dist/components/Grid/core/services/RecordUpdateService/model/RecordUpdateService.js +1 -0
  97. package/dist/components/Grid/filtering/components/FilterCallout/FilterCallout.js +1 -0
  98. package/dist/components/Grid/filtering/components/FilterCallout/components/ConditionOperator/ConditionOperator.js +1 -0
  99. package/dist/components/Grid/filtering/components/FilterCallout/components/ConditionValue/ConditionValue.js +1 -0
  100. package/dist/components/Grid/filtering/components/FilterCallout/components/ConditionValue/model/ConditionComponentValue.js +1 -0
  101. package/dist/components/Grid/filtering/components/FilterCallout/styles.js +1 -0
  102. package/dist/components/Grid/filtering/constants.js +1 -0
  103. package/dist/components/Grid/filtering/controller/useColumnFilterConditionController.js +1 -0
  104. package/dist/components/Grid/filtering/model/Condition.d.ts +1 -1
  105. package/dist/components/Grid/filtering/model/Condition.js +1 -0
  106. package/dist/components/Grid/filtering/model/Filtering.js +1 -0
  107. package/dist/components/Grid/filtering/utils/FilteringUtilts.js +1 -0
  108. package/dist/components/Grid/index.d.ts +2 -0
  109. package/dist/components/Grid/index.js +1 -0
  110. package/dist/components/Grid/interfaces.d.ts +6 -233
  111. package/dist/components/Grid/interfaces.js +1 -0
  112. package/dist/components/Grid/paging/components/Paging/Paging.js +1 -0
  113. package/dist/components/Grid/paging/components/Paging/styles.js +1 -0
  114. package/dist/components/Grid/paging/controllers/usePagingController.js +1 -0
  115. package/dist/components/Grid/paging/model/Paging.js +1 -0
  116. package/dist/components/Grid/selection/controllers/useSelectionController.js +1 -0
  117. package/dist/components/Grid/selection/model/Selection.d.ts +1 -1
  118. package/dist/components/Grid/selection/model/Selection.js +1 -0
  119. package/dist/components/Grid/sorting/Sorting.d.ts +1 -1
  120. package/dist/components/Grid/sorting/Sorting.js +1 -0
  121. package/dist/components/Grid/sorting/components/SortingContextualMenu/SortingContextualMenu.js +1 -0
  122. package/dist/components/Grid/sorting/components/SortingContextualMenu/styles.js +1 -0
  123. package/dist/components/Grid/sorting/controllers/useColumnSortingController.d.ts +1 -1
  124. package/dist/components/Grid/sorting/controllers/useColumnSortingController.js +1 -0
  125. package/dist/components/Grid/translations.d.ts +306 -2
  126. package/dist/components/Grid/translations.js +1 -0
  127. package/dist/components/Grid/validation/controllers/useRecordValidationController.d.ts +1 -1
  128. package/dist/components/Grid/validation/controllers/useRecordValidationController.js +1 -0
  129. package/dist/components/Grid/validation/model/ColumnValidation.js +1 -0
  130. package/dist/components/Lookup/Lookup.js +1 -1
  131. package/dist/components/Lookup/components/RecordCreator.js +1 -0
  132. package/dist/components/Lookup/components/TargetSelector.d.ts +2 -3
  133. package/dist/components/Lookup/components/TargetSelector.js +1 -0
  134. package/dist/components/Lookup/hooks/useFetchXml.d.ts +1 -1
  135. package/dist/components/Lookup/hooks/useFetchXml.js +1 -0
  136. package/dist/components/Lookup/hooks/useLoadedEntities.js +1 -0
  137. package/dist/components/Lookup/hooks/useLookup.d.ts +35 -5
  138. package/dist/components/Lookup/hooks/useLookup.js +1 -0
  139. package/dist/components/Lookup/index.d.ts +3 -0
  140. package/dist/components/Lookup/index.js +1 -0
  141. package/dist/components/Lookup/interfaces.d.ts +5 -23
  142. package/dist/components/Lookup/interfaces.js +1 -0
  143. package/dist/components/Lookup/styles.d.ts +7 -15
  144. package/dist/components/Lookup/styles.js +1 -0
  145. package/dist/components/Lookup/translations.d.ts +30 -2
  146. package/dist/components/Lookup/translations.js +1 -0
  147. package/dist/components/MultiSelectOptionSet/MultiSelectOptionSet.js +1 -1
  148. package/dist/components/MultiSelectOptionSet/index.d.ts +2 -0
  149. package/dist/components/MultiSelectOptionSet/index.js +1 -0
  150. package/dist/components/MultiSelectOptionSet/interfaces.d.ts +5 -4
  151. package/dist/components/MultiSelectOptionSet/interfaces.js +1 -0
  152. package/dist/components/OptionSet/OptionSet.js +1 -1
  153. package/dist/components/OptionSet/index.d.ts +2 -0
  154. package/dist/components/OptionSet/index.js +1 -0
  155. package/dist/components/OptionSet/interfaces.d.ts +5 -6
  156. package/dist/components/OptionSet/interfaces.js +1 -0
  157. package/dist/components/TextField/TextField.js +1 -1
  158. package/dist/components/TextField/index.d.ts +2 -0
  159. package/dist/components/TextField/index.js +1 -0
  160. package/dist/components/TextField/interfaces.d.ts +4 -5
  161. package/dist/components/TextField/interfaces.js +1 -0
  162. package/dist/components/TwoOptions/TwoOptions.js +1 -1
  163. package/dist/components/TwoOptions/index.js +1 -0
  164. package/dist/components/TwoOptions/interfaces.d.ts +3 -4
  165. package/dist/components/TwoOptions/interfaces.js +1 -0
  166. package/dist/constants.js +1 -0
  167. package/dist/hooks/index.d.ts +6 -1
  168. package/dist/hooks/index.js +1 -1
  169. package/dist/hooks/useControl.d.ts +23 -0
  170. package/dist/hooks/useControl.js +1 -0
  171. package/dist/hooks/useControlSizing.d.ts +5 -0
  172. package/dist/hooks/useControlSizing.js +1 -0
  173. package/dist/hooks/useControlTheme.d.ts +3 -0
  174. package/dist/hooks/useControlTheme.js +1 -0
  175. package/dist/hooks/useFocusIn.d.ts +1 -1
  176. package/dist/hooks/useFocusIn.js +1 -1
  177. package/dist/hooks/{useInputBasedComponent.d.ts → useInputBasedControl.d.ts} +6 -6
  178. package/dist/hooks/useInputBasedControl.js +1 -0
  179. package/dist/index.d.ts +793 -14
  180. package/dist/index.js +1 -0
  181. package/dist/interfaces/context.d.ts +9 -7
  182. package/dist/interfaces/context.js +1 -0
  183. package/dist/interfaces/index.js +1 -0
  184. package/dist/interfaces/parameters.d.ts +6 -2
  185. package/dist/interfaces/parameters.js +1 -0
  186. package/dist/interfaces/property.d.ts +1 -1
  187. package/dist/interfaces/property.js +1 -0
  188. package/dist/interfaces/theme.d.ts +6 -0
  189. package/dist/interfaces/theme.js +1 -0
  190. package/dist/utils/Numeral.d.ts +1 -1
  191. package/dist/{Numeral-a0284afb.js → utils/Numeral.js} +1 -1
  192. package/dist/utils/Theme.d.ts +4 -0
  193. package/dist/utils/Theme.js +1 -0
  194. package/dist/utils/index.d.ts +2 -0
  195. package/dist/utils/index.js +1 -0
  196. package/package.json +25 -26
  197. package/stats.html +4842 -0
  198. package/dist/Lookup-4b87c562.js +0 -1
  199. package/dist/components/Lookup/lib.d.ts +0 -1164
  200. package/dist/components/TextField/hooks/useTextField.d.ts +0 -1
  201. package/dist/hooks/useComponent.d.ts +0 -15
  202. package/dist/hooks/useComponent.js +0 -1
  203. package/dist/hooks/useComponentSizing.d.ts +0 -5
  204. package/dist/hooks/useComponentSizing.js +0 -1
  205. package/dist/hooks/useInputBasedComponent.js +0 -1
  206. package/dist/types/index.d.ts +0 -3
package/dist/index.d.ts CHANGED
@@ -1,5 +1,13 @@
1
- /// <reference types="@types/powerapps-component-framework" />
2
- interface IComponent<TParameters, TOutputs, TTranslations> {
1
+ /// <reference types="powerapps-component-framework" />
2
+ /// <reference types="react" />
3
+ import { AgGridReactProps } from '@ag-grid-community/react';
4
+ import { ITheme as ITheme$1, IToggleProps } from '@fluentui/react';
5
+ import { IDatePickerProps, ITextFieldProps, IComboBoxProps, ITagPickerProps } from '@talxis/react-components';
6
+
7
+ interface IOutputs$1 {
8
+ [key: string]: any;
9
+ }
10
+ interface IControl<TParameters, TOutputs, TTranslations, TComponentProps> {
3
11
  context: ComponentFramework.Context<any>;
4
12
  parameters: TParameters;
5
13
  translations?: TTranslations;
@@ -9,40 +17,811 @@ interface IComponent<TParameters, TOutputs, TTranslations> {
9
17
  * Exceptions are input based component where it fires on the blur event.
10
18
  */
11
19
  onNotifyOutputChanged?: (outputs: TOutputs) => void;
20
+ /**
21
+ * Allows you to override the props of the internal component that the control uses for UI rendering. Might not work on every control. ONLY USE WHEN ABSOLUTELY NECESSARY AND CONSULT YOUR INTENTIONS WITH BRY!
22
+ */
23
+ onOverrideComponentProps?: (props: TComponentProps) => Partial<TComponentProps>;
24
+ }
25
+ type ITranslations<T> = {
26
+ [Property in keyof T]: T[Property] extends string[] ? string[] : string;
27
+ };
28
+
29
+ declare const gridTranslations: {
30
+ "condition-none": {
31
+ 1029: string;
32
+ 1033: string;
33
+ };
34
+ "condition-equal": {
35
+ 1029: string;
36
+ 1033: string;
37
+ };
38
+ "condition-notequal": {
39
+ 1029: string;
40
+ 1033: string;
41
+ };
42
+ "condition-greaterthan": {
43
+ 1029: string;
44
+ 1033: string;
45
+ };
46
+ "condition-lessthan": {
47
+ 1029: string;
48
+ 1033: string;
49
+ };
50
+ "condition-greaterequal": {
51
+ 1029: string;
52
+ 1033: string;
53
+ };
54
+ "condition-lessequal": {
55
+ 1029: string;
56
+ 1033: string;
57
+ };
58
+ "condition-like": {
59
+ 1029: string;
60
+ 1033: string;
61
+ };
62
+ "condition-notlike": {
63
+ 1029: string;
64
+ 1033: string;
65
+ };
66
+ "condition-null": {
67
+ 1029: string;
68
+ 1033: string;
69
+ };
70
+ "condition-notnull": {
71
+ 1029: string;
72
+ 1033: string;
73
+ };
74
+ "condition-beginwith": {
75
+ 1029: string;
76
+ 1033: string;
77
+ };
78
+ "condition-doesnotbeginwith": {
79
+ 1029: string;
80
+ 1033: string;
81
+ };
82
+ "condition-endswith": {
83
+ 1029: string;
84
+ 1033: string;
85
+ };
86
+ "condition-doesnotendwith": {
87
+ 1029: string;
88
+ 1033: string;
89
+ };
90
+ "condition-yesterday": {
91
+ 1029: string;
92
+ 1033: string;
93
+ };
94
+ "condition-today": {
95
+ 1029: string;
96
+ 1033: string;
97
+ };
98
+ "condition-tomorrow": {
99
+ 1029: string;
100
+ 1033: string;
101
+ };
102
+ "condition-last7days": {
103
+ 1029: string;
104
+ 1033: string;
105
+ };
106
+ "condition-next7days": {
107
+ 1029: string;
108
+ 1033: string;
109
+ };
110
+ "condition-lastweek": {
111
+ 1029: string;
112
+ 1033: string;
113
+ };
114
+ "condition-thisweek": {
115
+ 1029: string;
116
+ 1033: string;
117
+ };
118
+ "condition-lastmonth": {
119
+ 1029: string;
120
+ 1033: string;
121
+ };
122
+ "condition-thismonth": {
123
+ 1029: string;
124
+ 1033: string;
125
+ };
126
+ "condition-on": {
127
+ 1029: string;
128
+ 1033: string;
129
+ };
130
+ "condition-onorbefore": {
131
+ 1029: string;
132
+ 1033: string;
133
+ };
134
+ "condition-onorafter": {
135
+ 1029: string;
136
+ 1033: string;
137
+ };
138
+ "condition-lastyear": {
139
+ 1029: string;
140
+ 1033: string;
141
+ };
142
+ "condition-thisyear": {
143
+ 1029: string;
144
+ 1033: string;
145
+ };
146
+ "condition-lastxdays": {
147
+ 1029: string;
148
+ 1033: string;
149
+ };
150
+ "condition-nextxdays": {
151
+ 1029: string;
152
+ 1033: string;
153
+ };
154
+ "condition-lastxmonths": {
155
+ 1029: string;
156
+ 1033: string;
157
+ };
158
+ "condition-nextxmonths": {
159
+ 1029: string;
160
+ 1033: string;
161
+ };
162
+ "condition-contains": {
163
+ 1029: string;
164
+ 1033: string;
165
+ };
166
+ "condition-infiscalperiodandyear": {
167
+ 1029: string;
168
+ 1033: string;
169
+ };
170
+ "condition-above": {
171
+ 1029: string;
172
+ 1033: string;
173
+ };
174
+ "condition-under": {
175
+ 1029: string;
176
+ 1033: string;
177
+ };
178
+ "condition-notunder": {
179
+ 1029: string;
180
+ 1033: string;
181
+ };
182
+ "condition-aboveorequal": {
183
+ 1029: string;
184
+ 1033: string;
185
+ };
186
+ "condition-underorequal": {
187
+ 1029: string;
188
+ 1033: string;
189
+ };
190
+ "condition-containvalues": {
191
+ 1029: string;
192
+ 1033: string;
193
+ };
194
+ "condition-doesnotcontainvalues": {
195
+ 1029: string;
196
+ 1033: string;
197
+ };
198
+ "filtermenu-filterby": {
199
+ 1029: string;
200
+ 1033: string;
201
+ };
202
+ "filtermenu-applybutton": {
203
+ 1029: string;
204
+ 1033: string;
205
+ };
206
+ "filtermenu-clearbutton": {
207
+ 1029: string;
208
+ 1033: string;
209
+ };
210
+ "filtersortmenu-sorttext-a-z": {
211
+ 1029: string;
212
+ 1033: string;
213
+ };
214
+ "filtersortmenu-sorttext-z-a": {
215
+ 1029: string;
216
+ 1033: string;
217
+ };
218
+ "filtersortmenu-sortdate-a-z": {
219
+ 1029: string;
220
+ 1033: string;
221
+ };
222
+ "filtersortmenu-sortdate-z-a": {
223
+ 1029: string;
224
+ 1033: string;
225
+ };
226
+ "filtersortmenu-sortnumber-a-z": {
227
+ 1029: string;
228
+ 1033: string;
229
+ };
230
+ "filtersortmenu-sortnumber-z-a": {
231
+ 1029: string;
232
+ 1033: string;
233
+ };
234
+ "filtersortmenu-sorttwooption-a-z": {
235
+ 1029: string;
236
+ 1033: string;
237
+ };
238
+ "filtersortmenu-sorttwooption-z-a": {
239
+ 1029: string;
240
+ 1033: string;
241
+ };
242
+ "filtersortmenu-sorttwooption-joint": {
243
+ 1029: string;
244
+ 1033: string;
245
+ };
246
+ "filtersortmenu-filterby": {
247
+ 1029: string;
248
+ 1033: string;
249
+ };
250
+ "filtersortmenu-clearfilter": {
251
+ 1029: string;
252
+ 1033: string;
253
+ };
254
+ "paging-of": {
255
+ 1029: string;
256
+ 1033: string;
257
+ };
258
+ "paging-firstpage": {
259
+ 1029: string;
260
+ 1033: string;
261
+ };
262
+ "paging-previouspage": {
263
+ 1029: string;
264
+ 1033: string;
265
+ };
266
+ "paging-page": {
267
+ 1029: string;
268
+ 1033: string;
269
+ };
270
+ "paging-nextpage": {
271
+ 1029: string;
272
+ 1033: string;
273
+ };
274
+ "paging-lastpage": {
275
+ 1029: string;
276
+ 1033: string;
277
+ };
278
+ "paging-pages": {
279
+ 1029: string;
280
+ 1033: string;
281
+ };
282
+ norecordsfound: {
283
+ 1029: string;
284
+ 1033: string;
285
+ };
286
+ "saving-changenotification": {
287
+ 1029: string;
288
+ 1033: string;
289
+ };
290
+ "saving-save": {
291
+ 1029: string;
292
+ 1033: string;
293
+ };
294
+ "saving-saving": {
295
+ 1029: string;
296
+ 1033: string;
297
+ };
298
+ "saving-changepreview-title": {
299
+ 1033: string;
300
+ 1029: string;
301
+ };
302
+ "saving-validation-error": {
303
+ 1029: string;
304
+ 1033: string;
305
+ };
306
+ "validation-input-value": {
307
+ 1029: string;
308
+ 1033: string;
309
+ };
310
+ "validation-email": {
311
+ 1029: string;
312
+ 1033: string;
313
+ };
314
+ "validation-url": {
315
+ 1029: string;
316
+ 1033: string;
317
+ };
318
+ "validation-date": {
319
+ 1029: string;
320
+ 1033: string;
321
+ };
322
+ "validation-number": {
323
+ 1029: string;
324
+ 1033: string;
325
+ };
326
+ "no-name": {
327
+ 1029: string;
328
+ 1033: string;
329
+ };
330
+ download: {
331
+ 1029: string;
332
+ 1033: string;
333
+ };
334
+ };
335
+
336
+ interface IGrid extends IControl<IGridParameters, IGridOutputs, Partial<ITranslation<typeof gridTranslations>>, AgGridReactProps> {
337
+ }
338
+ interface IEntityColumn extends ComponentFramework.PropertyHelper.DataSetApi.Column {
339
+ isResizable?: boolean;
340
+ isFilterable?: boolean;
341
+ isEditable?: boolean;
342
+ isRequired?: boolean;
12
343
  }
13
- interface ITranslations {
14
- [key: string]: {
15
- [LCID: number]: string | string[];
16
- } | undefined;
344
+ interface IEntityRecord extends ComponentFramework.PropertyHelper.DataSetApi.EntityRecord {
345
+ setValue: (columnName: string, value: any) => void;
346
+ save: () => Promise<void>;
347
+ }
348
+ interface IGridParameters extends IParameters$1 {
349
+ EnableEditing?: Omit<ITwoOptionsProperty, 'attributes'>;
350
+ EnablePagination?: Omit<ITwoOptionsProperty, 'attributes'>;
351
+ EnableFiltering?: Omit<ITwoOptionsProperty, 'attributes'>;
352
+ EnableSorting?: Omit<ITwoOptionsProperty, 'attributes'>;
353
+ EnableNavigation?: Omit<ITwoOptionsProperty, 'attributes'>;
354
+ EnableOptionSetColors?: Omit<ITwoOptionsProperty, 'attributes'>;
355
+ UseContainerAsHeight?: Omit<ITwoOptionsProperty, 'attributes'>;
356
+ InlineRibbonButtonIds?: IStringProperty;
357
+ SelectableRows?: ComponentFramework.PropertyTypes.EnumProperty<"none" | "single" | "multiple">;
358
+ Grid: IDatasetProperty;
359
+ }
360
+ interface IGridOutputs extends IOutputs$1 {
17
361
  }
18
362
 
19
363
  type ExcludedProps = Pick<ComponentFramework.PropertyTypes.Property, 'formatted'>;
20
364
  interface IProperty extends Omit<Partial<ComponentFramework.PropertyTypes.Property>, keyof ExcludedProps | 'attributes'> {
21
365
  }
366
+ interface IStringProperty extends IProperty, Partial<ComponentFramework.PropertyTypes.StringProperty> {
367
+ raw: string | null;
368
+ }
369
+ interface IDecimalNumberProperty extends IProperty, Omit<Partial<ComponentFramework.PropertyTypes.DecimalNumberProperty>, 'attributes'> {
370
+ raw: number | null;
371
+ type: 'Whole.None' | 'Decimal' | 'Currency';
372
+ formatted?: string;
373
+ attributes?: Partial<ComponentFramework.PropertyHelper.FieldPropertyMetadata.DecimalNumberMetadata>;
374
+ }
375
+ interface IWholeNumberProperty extends IProperty, Omit<Partial<ComponentFramework.PropertyTypes.WholeNumberProperty>, 'attributes'> {
376
+ raw: number | null;
377
+ }
378
+ interface IDateTimeProperty extends IProperty, Partial<ComponentFramework.PropertyTypes.DateTimeProperty> {
379
+ raw: Date | null;
380
+ attributes: Partial<ComponentFramework.PropertyHelper.FieldPropertyMetadata.DateTimeMetadata> & {
381
+ Behavior: ComponentFramework.FormattingApi.Types.DateTimeFieldBehavior;
382
+ Format: string;
383
+ };
384
+ }
385
+ interface IOptionSetProperty extends IProperty, Omit<Partial<ComponentFramework.PropertyTypes.OptionSetProperty>, 'attributes'> {
386
+ raw: number | null;
387
+ attributes: Omit<Partial<ComponentFramework.PropertyHelper.FieldPropertyMetadata.OptionSetMetadata>, 'DefaultValue'> & {
388
+ Options: ComponentFramework.PropertyHelper.OptionMetadata[];
389
+ };
390
+ }
391
+ interface ITwoOptionsProperty extends IProperty, Omit<Partial<ComponentFramework.PropertyTypes.TwoOptionsProperty>, 'attributes'> {
392
+ raw: boolean;
393
+ attributes: Omit<Partial<ComponentFramework.PropertyHelper.FieldPropertyMetadata.OptionSetMetadata>, 'DefaultValue'> & {
394
+ Options: [ComponentFramework.PropertyHelper.OptionMetadata, ComponentFramework.PropertyHelper.OptionMetadata];
395
+ };
396
+ }
397
+ interface ITwoOptionsProperty extends IProperty, Omit<Partial<ComponentFramework.PropertyTypes.TwoOptionsProperty>, 'attributes'> {
398
+ raw: boolean;
399
+ attributes: Omit<Partial<ComponentFramework.PropertyHelper.FieldPropertyMetadata.OptionSetMetadata>, 'DefaultValue'> & {
400
+ Options: [ComponentFramework.PropertyHelper.OptionMetadata, ComponentFramework.PropertyHelper.OptionMetadata];
401
+ };
402
+ }
403
+ interface IMultiSelectOptionSetProperty extends IProperty, Omit<Partial<ComponentFramework.PropertyTypes.MultiSelectOptionSetProperty>, 'attributes'> {
404
+ raw: number[] | null;
405
+ attributes: Omit<Partial<ComponentFramework.PropertyHelper.FieldPropertyMetadata.OptionSetMetadata>, 'DefaultValue'> & {
406
+ Options: ComponentFramework.PropertyHelper.OptionMetadata[];
407
+ };
408
+ }
409
+ interface ILookupProperty extends IProperty, Omit<Partial<ComponentFramework.PropertyTypes.LookupProperty>, 'attributes' | 'getViewId'> {
410
+ raw: ComponentFramework.LookupValue[];
411
+ attributes: Partial<ComponentFramework.PropertyHelper.FieldPropertyMetadata.LookupMetadata> & {
412
+ Targets: string[];
413
+ };
414
+ /**
415
+ * Returns the default lookup viewId. Works only for Microsoft PCF's
416
+ */
417
+ getDefaultViewId: (entityName: string) => string;
418
+ /**
419
+ * Gets all views for entity (including non-lookup ones).
420
+ */
421
+ getAllViews: (entityName: string) => Promise<{
422
+ isAvailableInOffline: boolean;
423
+ isDefault: boolean;
424
+ isPinned: boolean;
425
+ isUserView: boolean;
426
+ relatedEntityName: string;
427
+ viewId: string;
428
+ viewName: string;
429
+ fetchXml?: string;
430
+ }[]>;
431
+ }
432
+ interface IDatasetProperty extends IProperty, Omit<ComponentFramework.PropertyTypes.DataSet, 'error' | 'errorMessage'> {
433
+ columns: IEntityColumn[];
434
+ records: {
435
+ [id: string]: IEntityRecord;
436
+ };
437
+ paging: ComponentFramework.PropertyHelper.DataSetApi.Paging & {
438
+ pageNumber: number;
439
+ };
440
+ retrieveRecordCommand: (recordIds: string[], specificCommands?: string[], filterByPriority?: boolean, useNestedFormat?: boolean, refreshAllRules?: boolean) => {
441
+ canExecute: boolean;
442
+ /**
443
+ * Seems to be always empty - buttons present in Flyout and SplitButton are put on first level (the array of buttons is flattened).
444
+ */
445
+ children: any[];
446
+ commandId: string;
447
+ commandButtonId: string;
448
+ controlType: any;
449
+ icon: string;
450
+ label: string;
451
+ shouldBeVisible: boolean;
452
+ tooltip: string;
453
+ /**
454
+ * Temp portal property
455
+ */
456
+ __isInline?: boolean;
457
+ execute: () => Promise<void>;
458
+ }[];
459
+ }
22
460
 
23
461
  interface IOutputs {
24
462
  [key: string]: any;
25
463
  }
26
- interface IParameters {
464
+ interface IParameters$1 {
27
465
  [key: string]: IProperty | undefined;
28
466
  }
29
467
 
30
- type StringProps<T> = {
31
- [Property in keyof T]: (variables?: any) => string;
32
- };
468
+ interface ITheme extends ITheme$1 {
469
+ effects: ITheme$1['effects'] & {
470
+ underlined?: boolean;
471
+ };
472
+ }
33
473
 
34
- interface IComponentController<TTranslations, TOutputs> {
35
- labels: Required<StringProps<TTranslations>>;
474
+ type ITranslation<T> = {
475
+ [Property in keyof Required<T>]: (variables?: any) => string;
476
+ };
477
+ interface IDefaultTranslations {
478
+ [LCID: number]: string | string[];
479
+ [key: string]: any;
480
+ }
481
+ interface IControlController<TTranslations, TOutputs> {
482
+ labels: Required<ITranslation<TTranslations>>;
36
483
  sizing: {
37
484
  width?: number;
38
485
  height?: number;
39
486
  };
487
+ theme: ITheme;
40
488
  onNotifyOutputChanged: (outputs: TOutputs) => void;
41
489
  }
42
490
  /**
43
491
  * Provides automatic checking if the given outputs are different from the provided inputs. Use the provided method any time you want
44
492
  * to notify the framework that you wish to write changes. The hook will notify the framework only if the provided output differs from the current inputs.
45
493
  */
46
- declare const useComponent: <TParameters extends IParameters, TOutputs extends IOutputs, TTranslations extends ITranslations>(name: string, props: IComponent<TParameters, TOutputs, TTranslations>, defaultTranslations?: TTranslations | undefined) => IComponentController<TTranslations, TOutputs>;
494
+ declare const useControl: <TParameters extends IParameters$1, TOutputs extends IOutputs, TTranslations>(name: string, props: IControl<TParameters, TOutputs, TTranslations, any>, defaultTranslations?: IDefaultTranslations) => IControlController<TTranslations, TOutputs>;
495
+
496
+ declare const useControlSizing: (mode: ComponentFramework.Mode) => {
497
+ height?: number;
498
+ width?: number;
499
+ };
500
+
501
+ declare const useFocusIn: (ref: React.RefObject<HTMLElement>, delay?: number) => boolean;
502
+
503
+ interface IParameters {
504
+ [key: string]: IProperty | undefined;
505
+ }
506
+ interface IInputParameters extends IBaseParameters {
507
+ value: IProperty;
508
+ /**
509
+ * Tells the control to trigger `notifyOutputChanged` on it's unmount changes occured in bound parameter value.
510
+ * Should only be use in edge cases in input based controls where the notifyOutputChanged cannot be called naturally via the blur event.
511
+ */
512
+ NotifyOutputChangedOnUnmount?: Omit<ITwoOptionsProperty, 'attributes'>;
513
+ EnableCopyButton?: Omit<ITwoOptionsProperty, 'attributes'>;
514
+ EnableDeleteButton?: Omit<ITwoOptionsProperty, 'attributes'>;
515
+ /**
516
+ * Shows the error message within the control. By default, the error is represented only by red outline.
517
+ */
518
+ ShowErrorMessage?: Omit<ITwoOptionsProperty, 'attributes'>;
519
+ }
520
+ interface IBaseParameters extends IParameters {
521
+ /** default `true` */
522
+ EnableBorder?: Omit<ITwoOptionsProperty, 'attributes'>;
523
+ /**
524
+ * Decides whether the input should get focus on first render.
525
+ */
526
+ AutoFocus?: Omit<ITwoOptionsProperty, 'attributes'>;
527
+ ForceDisable?: Omit<ITwoOptionsProperty, 'attributes'>;
528
+ }
529
+
530
+ /**
531
+ * Description
532
+ * @param {any} value:any
533
+ * @returns {any}
534
+ */
535
+ interface IControlOptions {
536
+ defaultTranslations?: IDefaultTranslations;
537
+ /**
538
+ * Formatting function that will format the bound value every time a new one comes from the props.
539
+ */
540
+ formatter?: (value: any) => any;
541
+ valueExtractor?: (value: any) => any;
542
+ }
543
+ /**
544
+ * Use when working with components that need to store value changes internally before triggering `notifyOutputChanged`.
545
+ * An example of this is a standard Decimal component - we do not want to trigger `notifyOutputChanged` on every value change,
546
+ * since this would trigger decimal validation on every keystroke which would result in a bad UX. In this case, the `notifyOutputChanged` should
547
+ * be triggered when the user looses focus on the component (`onBlur` event).
548
+ * @returns {[]} The hook returns an array with three props. First `value` prop is a value that will will always be in sync with the value that comes from the `value` parameter.
549
+ * Use this for displaying the up-to-date value to the user.
550
+ * Second prop contains the translations for this component.
551
+ *
552
+ * Third prop is a method that can be used to change the current value. The new value will get propagated to the `value` variable returned from this hook. This method wont propagate the value to the framework.
553
+ *
554
+ * The last prop is a method that will notify the framework that you wish to write changes.
555
+ * The method will notify the framework only if the provided output differs from the current inputs.
556
+ */
557
+ interface IInputBasedControlController<TValue, TTranslations, TOutputs> extends IControlController<TTranslations, TOutputs> {
558
+ value: TValue;
559
+ setValue: (value: TValue) => void;
560
+ }
561
+ declare const useInputBasedControl: <TValue, TParameters extends IInputParameters, TOutputs extends IOutputs$1, TTranslations>(name: string, props: IControl<TParameters, TOutputs, TTranslations, any>, options?: IControlOptions) => IInputBasedControlController<TValue, TTranslations, TOutputs>;
562
+
563
+ declare const useMouseOver: (ref: React.RefObject<HTMLElement>) => boolean;
564
+
565
+ declare const useControlTheme: (fluentDesignLanguage?: ComponentFramework.FluentDesignState) => ITheme;
566
+
567
+ declare const getDefaultDateTimeTranslations: (dateFormattingInfo: ComponentFramework.UserSettingApi.DateFormattingInfo) => {
568
+ time: {
569
+ 1029: string;
570
+ 1033: string;
571
+ };
572
+ goToToday: {
573
+ 1029: string;
574
+ 1033: string;
575
+ };
576
+ invalidTimeInput: {
577
+ 1029: string;
578
+ 1033: string;
579
+ };
580
+ days: string[];
581
+ months: string[];
582
+ shortDays: string[];
583
+ shortMonths: string[];
584
+ };
585
+
586
+ interface IDateTime extends IControl<IDateTimeParameters, IDateTimeOutputs, Partial<ITranslations<ReturnType<typeof getDefaultDateTimeTranslations>>>, IDatePickerProps> {
587
+ }
588
+ interface IDateTimeParameters extends IInputParameters {
589
+ value: IDateTimeProperty;
590
+ }
591
+ interface IDateTimeOutputs extends IOutputs$1 {
592
+ value?: Date;
593
+ }
594
+
595
+ declare const DateTime: (componentProps: IDateTime) => JSX.Element;
596
+
597
+ declare const useDateTime: (props: IDateTime, ref: React.RefObject<HTMLDivElement>) => [boolean, ITheme, ITranslation<Partial<ITranslations<{
598
+ time: {
599
+ 1029: string;
600
+ 1033: string;
601
+ };
602
+ goToToday: {
603
+ 1029: string;
604
+ 1033: string;
605
+ };
606
+ invalidTimeInput: {
607
+ 1029: string;
608
+ 1033: string;
609
+ };
610
+ days: string[];
611
+ months: string[];
612
+ shortDays: string[];
613
+ shortMonths: string[];
614
+ }>>>, {
615
+ get: () => Date | undefined;
616
+ getFormatted: () => string | undefined;
617
+ set: (date?: Date, time?: string) => void;
618
+ setDateString: (value: string | undefined) => void;
619
+ clear: () => void;
620
+ }, {
621
+ shortDatePattern: string;
622
+ shortTimePattern: string;
623
+ fullDateTimePattern: string;
624
+ }];
625
+
626
+ interface IDecimal extends IControl<IDecimalParameters, IDecimalOutputs, any, ITextFieldProps> {
627
+ }
628
+ interface IDecimalParameters extends IInputParameters {
629
+ value: IDecimalNumberProperty;
630
+ EnableSpinButton?: ITwoOptionsProperty;
631
+ }
632
+ interface IDecimalOutputs extends IOutputs$1 {
633
+ value?: number;
634
+ }
635
+
636
+ declare const Decimal: (props: IDecimal) => JSX.Element;
637
+
638
+ declare const getDefaultDurationTranslations: () => {
639
+ minute: {
640
+ 1029: string[];
641
+ 1033: string[];
642
+ };
643
+ minutes: {
644
+ 1029: string[];
645
+ 1033: string[];
646
+ };
647
+ hour: {
648
+ 1029: string[];
649
+ 1033: string[];
650
+ };
651
+ hours: {
652
+ 1029: string[];
653
+ 1033: string[];
654
+ };
655
+ day: {
656
+ 1029: string[];
657
+ 1033: string[];
658
+ };
659
+ days: {
660
+ 1029: string[];
661
+ 1033: string[];
662
+ };
663
+ };
664
+
665
+ interface IDuration extends IControl<IDurationParameters, IDurationOutputs, Partial<ITranslations<ReturnType<typeof getDefaultDurationTranslations>>>, IComboBoxProps> {
666
+ }
667
+ interface IDurationParameters extends IInputParameters {
668
+ value: IWholeNumberProperty;
669
+ }
670
+ interface IDurationOutputs extends IOutputs$1 {
671
+ value?: number;
672
+ }
673
+
674
+ declare const Duration: (props: IDuration) => JSX.Element;
675
+
676
+ declare const Grid: (props: IGrid) => JSX.Element;
677
+
678
+ declare const lookupTranslations: {
679
+ search: {
680
+ 1033: string;
681
+ 1029: string;
682
+ };
683
+ newRecord: {
684
+ 1033: string;
685
+ 1029: string;
686
+ };
687
+ searching: {
688
+ 1033: string;
689
+ 1029: string;
690
+ };
691
+ noRecordsFound: {
692
+ 1033: string;
693
+ 1029: string;
694
+ };
695
+ resultsFrom: {
696
+ 1033: string;
697
+ 1029: string;
698
+ };
699
+ noName: {
700
+ 1033: string;
701
+ 1029: string;
702
+ };
703
+ placeholder: {
704
+ 1033: string;
705
+ 1029: string;
706
+ };
707
+ };
708
+
709
+ interface ILookup extends IControl<ILookupParameters, ILookupOutputs, Partial<ITranslations<typeof lookupTranslations>>, ITagPickerProps> {
710
+ /**
711
+ * If provided, the Lookup will use the returned values of this function to display search results.
712
+ * @param {any} entityNames An array of entity names that he Lookup is currently targeting.
713
+ * @param {any} query: User text input
714
+ * @returns {any}
715
+ */
716
+ onSearch?: (entityNames: string[], query: string) => Promise<ComponentFramework.LookupValue[]>;
717
+ }
718
+ interface ILookupParameters extends IBaseParameters {
719
+ IsInlineNewEnabled?: ITwoOptionsProperty;
720
+ MultipleEnabled?: ITwoOptionsProperty;
721
+ EnableNavigation?: ITwoOptionsProperty;
722
+ value: ILookupProperty;
723
+ }
724
+ interface ILookupOutputs extends IOutputs$1 {
725
+ value?: ComponentFramework.LookupValue[];
726
+ }
727
+ interface IMetadata extends ComponentFramework.PropertyHelper.EntityMetadata {
728
+ DisplayName: string;
729
+ PrimaryNameAttribute: string;
730
+ PrimaryIdAttribute: string;
731
+ }
732
+ interface IEntity {
733
+ entityName: string;
734
+ selected: boolean;
735
+ metadata: Promise<IMetadata>;
736
+ }
737
+
738
+ declare const Lookup: (props: ILookup) => JSX.Element;
739
+
740
+ declare const useLookup: (props: ILookup) => [ComponentFramework.LookupValue[], IEntity[], ITranslation<Partial<ITranslations<{
741
+ search: {
742
+ 1033: string;
743
+ 1029: string;
744
+ };
745
+ newRecord: {
746
+ 1033: string;
747
+ 1029: string;
748
+ };
749
+ searching: {
750
+ 1033: string;
751
+ 1029: string;
752
+ };
753
+ noRecordsFound: {
754
+ 1033: string;
755
+ 1029: string;
756
+ };
757
+ resultsFrom: {
758
+ 1033: string;
759
+ 1029: string;
760
+ };
761
+ noName: {
762
+ 1033: string;
763
+ 1029: string;
764
+ };
765
+ placeholder: {
766
+ 1033: string;
767
+ 1029: string;
768
+ };
769
+ }>>>, {
770
+ create: (entityName: string) => void;
771
+ select: (record: ComponentFramework.LookupValue[] | undefined) => void;
772
+ deselect: (record: ComponentFramework.LookupValue) => void;
773
+ }, (entityName: string | null) => void, (query: string) => Promise<ComponentFramework.LookupValue[]>, ITheme];
774
+
775
+ interface IMultiSelectOptionSet extends IControl<IMultiSelectOptionSetParameters, IMultiSelectOptionSetOutputs, any, IComboBoxProps> {
776
+ }
777
+ interface IMultiSelectOptionSetParameters extends IInputParameters {
778
+ value: IMultiSelectOptionSetProperty;
779
+ }
780
+ interface IMultiSelectOptionSetOutputs extends IOutputs$1 {
781
+ value?: number[];
782
+ }
783
+
784
+ declare const MultiSelectOptionSet: (props: IMultiSelectOptionSet) => JSX.Element;
785
+
786
+ interface IOptionSet extends IControl<IOptionSetParameters, IOptionSetOutputs, any, IComboBoxProps> {
787
+ }
788
+ interface IOptionSetParameters extends IInputParameters {
789
+ value: IOptionSetProperty;
790
+ }
791
+ interface IOptionSetOutputs extends IOutputs$1 {
792
+ value?: number;
793
+ }
794
+
795
+ declare const OptionSet: (props: IOptionSet) => JSX.Element;
796
+
797
+ interface ITextField extends IControl<ITextFieldParameters, ITextFieldOutputs, any, ITextFieldProps> {
798
+ }
799
+ interface ITextFieldParameters extends IInputParameters {
800
+ isResizable?: ITwoOptionsProperty;
801
+ EnableTypeSuffix?: ITwoOptionsProperty;
802
+ value: IStringProperty;
803
+ }
804
+ interface ITextFieldOutputs extends IOutputs$1 {
805
+ value?: string;
806
+ }
807
+
808
+ declare const TextField: (props: ITextField) => JSX.Element;
809
+
810
+ interface ITwoOptions extends IControl<ITwoOptionsParameters, ITwoOptionsOutputs, any, IToggleProps> {
811
+ }
812
+ interface ITwoOptionsParameters extends IBaseParameters {
813
+ value: ITwoOptionsProperty;
814
+ }
815
+ interface ITwoOptionsOutputs extends IOutputs$1 {
816
+ value?: boolean;
817
+ }
818
+
819
+ declare const TwoOptions: (props: ITwoOptions) => JSX.Element;
820
+
821
+ declare class Numeral {
822
+ static decimal(formatting: ComponentFramework.UserSettingApi.NumberFormattingInfo): void;
823
+ static currency(formatting: ComponentFramework.UserSettingApi.NumberFormattingInfo): void;
824
+ private static get _locales();
825
+ }
47
826
 
48
- export { IComponentController, useComponent };
827
+ export { DateTime, Decimal, Duration, Grid, IControl, IControlController, IDatasetProperty, IDateTime, IDateTimeOutputs, IDateTimeParameters, IDateTimeProperty, IDecimal, IDecimalNumberProperty, IDecimalOutputs, IDecimalParameters, IDefaultTranslations, IDuration, IDurationOutputs, IDurationParameters, IEntity, IEntityColumn, IEntityRecord, IGrid, IGridOutputs, IGridParameters, ILookup, ILookupOutputs, ILookupParameters, ILookupProperty, IMetadata, IMultiSelectOptionSet, IMultiSelectOptionSetOutputs, IMultiSelectOptionSetParameters, IMultiSelectOptionSetProperty, IOptionSet, IOptionSetOutputs, IOptionSetParameters, IOptionSetProperty, IOutputs, IParameters$1 as IParameters, IProperty, IStringProperty, ITextField, ITextFieldOutputs, ITextFieldParameters, ITranslation, ITranslations, ITwoOptions, ITwoOptionsOutputs, ITwoOptionsParameters, ITwoOptionsProperty, IWholeNumberProperty, Lookup, MultiSelectOptionSet, Numeral, OptionSet, TextField, TwoOptions, useControl, useControlSizing, useControlTheme, useDateTime, useFocusIn, useInputBasedControl, useLookup, useMouseOver };