@genesislcap/foundation-entity-management 14.408.0 → 14.409.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/README.md +11 -97
  2. package/dist/custom-elements.json +70 -70
  3. package/package.json +23 -23
  4. package/docs/api/foundation-entity-management.actionsmenustyle.md +0 -74
  5. package/docs/api/foundation-entity-management.additionalentry.md +0 -22
  6. package/docs/api/foundation-entity-management.buttoncellrenderer.md +0 -95
  7. package/docs/api/foundation-entity-management.confirmsubmit.md +0 -71
  8. package/docs/api/foundation-entity-management.confirmsubmit.message.md +0 -11
  9. package/docs/api/foundation-entity-management.confirmsubmit.state.md +0 -11
  10. package/docs/api/foundation-entity-management.crudaction.md +0 -88
  11. package/docs/api/foundation-entity-management.crudmenuposition.md +0 -102
  12. package/docs/api/foundation-entity-management.customaction.action.md +0 -20
  13. package/docs/api/foundation-entity-management.customaction.appearance.md +0 -11
  14. package/docs/api/foundation-entity-management.customaction.confirmsubmit.md +0 -11
  15. package/docs/api/foundation-entity-management.customaction.disabled.md +0 -13
  16. package/docs/api/foundation-entity-management.customaction.icon.md +0 -11
  17. package/docs/api/foundation-entity-management.customaction.md +0 -223
  18. package/docs/api/foundation-entity-management.customaction.name.md +0 -11
  19. package/docs/api/foundation-entity-management.customaction.position.md +0 -11
  20. package/docs/api/foundation-entity-management.customaction.requiresselection.md +0 -11
  21. package/docs/api/foundation-entity-management.customaction.setapprovalmessage.md +0 -11
  22. package/docs/api/foundation-entity-management.customaction.tooltip.md +0 -11
  23. package/docs/api/foundation-entity-management.customactionerror.errors.md +0 -15
  24. package/docs/api/foundation-entity-management.customactionerror.md +0 -54
  25. package/docs/api/foundation-entity-management.customactionstate.event.md +0 -11
  26. package/docs/api/foundation-entity-management.customactionstate.md +0 -88
  27. package/docs/api/foundation-entity-management.customactionstate.name.md +0 -11
  28. package/docs/api/foundation-entity-management.customactionstate.rowdata.md +0 -11
  29. package/docs/api/foundation-entity-management.datasourceconfiguration.md +0 -31
  30. package/docs/api/foundation-entity-management.defaultvalue.md +0 -13
  31. package/docs/api/foundation-entity-management.defaultvalues.md +0 -11
  32. package/docs/api/foundation-entity-management.entity_name.md +0 -11
  33. package/docs/api/foundation-entity-management.entitymanagement.approvalmessagelabel.md +0 -13
  34. package/docs/api/foundation-entity-management.entitymanagement.columns.md +0 -13
  35. package/docs/api/foundation-entity-management.entitymanagement.confirmationmessage.md +0 -13
  36. package/docs/api/foundation-entity-management.entitymanagement.createevent.md +0 -13
  37. package/docs/api/foundation-entity-management.entitymanagement.createformuischema.md +0 -13
  38. package/docs/api/foundation-entity-management.entitymanagement.crudactionmenuname.md +0 -13
  39. package/docs/api/foundation-entity-management.entitymanagement.crudmenuposition.md +0 -13
  40. package/docs/api/foundation-entity-management.entitymanagement.crudmenustyle.md +0 -13
  41. package/docs/api/foundation-entity-management.entitymanagement.customactions.md +0 -13
  42. package/docs/api/foundation-entity-management.entitymanagement.datasourceconfig.md +0 -18
  43. package/docs/api/foundation-entity-management.entitymanagement.datasourcetype.md +0 -13
  44. package/docs/api/foundation-entity-management.entitymanagement.defaultentityvalues.md +0 -13
  45. package/docs/api/foundation-entity-management.entitymanagement.deletecolumnstate.md +0 -54
  46. package/docs/api/foundation-entity-management.entitymanagement.deleteevent.md +0 -13
  47. package/docs/api/foundation-entity-management.entitymanagement.enableaicriteriasearch.md +0 -13
  48. package/docs/api/foundation-entity-management.entitymanagement.enablecellflashing.md +0 -18
  49. package/docs/api/foundation-entity-management.entitymanagement.enablecsvexport.md +0 -43
  50. package/docs/api/foundation-entity-management.entitymanagement.enablefilterbar.md +0 -13
  51. package/docs/api/foundation-entity-management.entitymanagement.enablefilters.md +0 -13
  52. package/docs/api/foundation-entity-management.entitymanagement.enablerowflashing.md +0 -13
  53. package/docs/api/foundation-entity-management.entitymanagement.enablesearchbar.md +0 -13
  54. package/docs/api/foundation-entity-management.entitymanagement.entitylabel.md +0 -13
  55. package/docs/api/foundation-entity-management.entitymanagement.errornotificationconfig.md +0 -13
  56. package/docs/api/foundation-entity-management.entitymanagement.filtersmodalposition.md +0 -13
  57. package/docs/api/foundation-entity-management.entitymanagement.filtersuischema.md +0 -13
  58. package/docs/api/foundation-entity-management.entitymanagement.formrenderers.md +0 -13
  59. package/docs/api/foundation-entity-management.entitymanagement.gridautosizing.md +0 -13
  60. package/docs/api/foundation-entity-management.entitymanagement.gridoptions.md +0 -13
  61. package/docs/api/foundation-entity-management.entitymanagement.headercasetype.md +0 -18
  62. package/docs/api/foundation-entity-management.entitymanagement.hidedelete.md +0 -13
  63. package/docs/api/foundation-entity-management.entitymanagement.hideedit.md +0 -13
  64. package/docs/api/foundation-entity-management.entitymanagement.md +0 -1000
  65. package/docs/api/foundation-entity-management.entitymanagement.modalposition.md +0 -13
  66. package/docs/api/foundation-entity-management.entitymanagement.persistcolumnstatekey.md +0 -18
  67. package/docs/api/foundation-entity-management.entitymanagement.persistfiltermodelkey.md +0 -18
  68. package/docs/api/foundation-entity-management.entitymanagement.prefix.md +0 -13
  69. package/docs/api/foundation-entity-management.entitymanagement.readevent.md +0 -13
  70. package/docs/api/foundation-entity-management.entitymanagement.readeventfn.md +0 -13
  71. package/docs/api/foundation-entity-management.entitymanagement.resourcename.md +0 -13
  72. package/docs/api/foundation-entity-management.entitymanagement.rowselection.md +0 -18
  73. package/docs/api/foundation-entity-management.entitymanagement.searchbarconfig.md +0 -13
  74. package/docs/api/foundation-entity-management.entitymanagement.setapprovalmessage.md +0 -13
  75. package/docs/api/foundation-entity-management.entitymanagement.setdsconfigwithoutupdatingbasecriteria.md +0 -52
  76. package/docs/api/foundation-entity-management.entitymanagement.showfilterpersistencecontrols.md +0 -18
  77. package/docs/api/foundation-entity-management.entitymanagement.sizecolumnstocontent.md +0 -13
  78. package/docs/api/foundation-entity-management.entitymanagement.sizecolumnstofit.md +0 -13
  79. package/docs/api/foundation-entity-management.entitymanagement.statusbarconfig.md +0 -18
  80. package/docs/api/foundation-entity-management.entitymanagement.title.md +0 -13
  81. package/docs/api/foundation-entity-management.entitymanagement.updateevent.md +0 -13
  82. package/docs/api/foundation-entity-management.entitymanagement.updateformuischema.md +0 -13
  83. package/docs/api/foundation-entity-management.geterrorformat.md +0 -52
  84. package/docs/api/foundation-entity-management.list.actionbuttonsconfig.md +0 -11
  85. package/docs/api/foundation-entity-management.list.asyncadd.md +0 -11
  86. package/docs/api/foundation-entity-management.list.asyncremove.md +0 -11
  87. package/docs/api/foundation-entity-management.list.asyncupdate.md +0 -11
  88. package/docs/api/foundation-entity-management.list.columns.md +0 -11
  89. package/docs/api/foundation-entity-management.list.connect.md +0 -11
  90. package/docs/api/foundation-entity-management.list.connectedcallback.md +0 -15
  91. package/docs/api/foundation-entity-management.list.createevent.md +0 -11
  92. package/docs/api/foundation-entity-management.list.criteria.md +0 -11
  93. package/docs/api/foundation-entity-management.list.customactions.md +0 -11
  94. package/docs/api/foundation-entity-management.list.datasource.md +0 -11
  95. package/docs/api/foundation-entity-management.list.datasourceconfig.md +0 -11
  96. package/docs/api/foundation-entity-management.list.datasourcetype.md +0 -11
  97. package/docs/api/foundation-entity-management.list.delete.md +0 -50
  98. package/docs/api/foundation-entity-management.list.deleteevent.md +0 -11
  99. package/docs/api/foundation-entity-management.list.disablepolling.md +0 -11
  100. package/docs/api/foundation-entity-management.list.disconnectedcallback.md +0 -15
  101. package/docs/api/foundation-entity-management.list.enablecellflashing.md +0 -11
  102. package/docs/api/foundation-entity-management.list.enablefilterbar.md +0 -11
  103. package/docs/api/foundation-entity-management.list.enablerowflashing.md +0 -11
  104. package/docs/api/foundation-entity-management.list.fields.md +0 -11
  105. package/docs/api/foundation-entity-management.list.grid.md +0 -11
  106. package/docs/api/foundation-entity-management.list.gridautosizing.md +0 -13
  107. package/docs/api/foundation-entity-management.list.gridoptions.md +0 -11
  108. package/docs/api/foundation-entity-management.list.handlecelleditrequest.md +0 -50
  109. package/docs/api/foundation-entity-management.list.handlerowclicked.md +0 -50
  110. package/docs/api/foundation-entity-management.list.handlerowcontextmenu.md +0 -50
  111. package/docs/api/foundation-entity-management.list.handlerowdblclicked.md +0 -50
  112. package/docs/api/foundation-entity-management.list.handlerowselected.md +0 -50
  113. package/docs/api/foundation-entity-management.list.handleselectionchanged.md +0 -50
  114. package/docs/api/foundation-entity-management.list.headercasetype.md +0 -11
  115. package/docs/api/foundation-entity-management.list.hidedelete.md +0 -11
  116. package/docs/api/foundation-entity-management.list.hideedit.md +0 -11
  117. package/docs/api/foundation-entity-management.list.isserversidedatasource.md +0 -11
  118. package/docs/api/foundation-entity-management.list.issnapshot.md +0 -11
  119. package/docs/api/foundation-entity-management.list.maxrows.md +0 -11
  120. package/docs/api/foundation-entity-management.list.maxview.md +0 -11
  121. package/docs/api/foundation-entity-management.list.md +0 -988
  122. package/docs/api/foundation-entity-management.list.movingview.md +0 -11
  123. package/docs/api/foundation-entity-management.list.orderby.md +0 -11
  124. package/docs/api/foundation-entity-management.list.persistcolumnstatekey.md +0 -11
  125. package/docs/api/foundation-entity-management.list.persistfiltermodelkey.md +0 -11
  126. package/docs/api/foundation-entity-management.list.pollinginterval.md +0 -11
  127. package/docs/api/foundation-entity-management.list.polltriggerevents.md +0 -11
  128. package/docs/api/foundation-entity-management.list.prefix.md +0 -13
  129. package/docs/api/foundation-entity-management.list.request.md +0 -11
  130. package/docs/api/foundation-entity-management.list.requestautosetup.md +0 -11
  131. package/docs/api/foundation-entity-management.list.resourcename.md +0 -11
  132. package/docs/api/foundation-entity-management.list.reverse.md +0 -11
  133. package/docs/api/foundation-entity-management.list.rowselection.md +0 -11
  134. package/docs/api/foundation-entity-management.list.sizecolumnstocontent.md +0 -13
  135. package/docs/api/foundation-entity-management.list.sizecolumnstofit.md +0 -13
  136. package/docs/api/foundation-entity-management.list.statusbarconfig.md +0 -11
  137. package/docs/api/foundation-entity-management.list.title.md +0 -11
  138. package/docs/api/foundation-entity-management.list.updateevent.md +0 -11
  139. package/docs/api/foundation-entity-management.list.viewnumber.md +0 -11
  140. package/docs/api/foundation-entity-management.logger.md +0 -12
  141. package/docs/api/foundation-entity-management.mainapplication.config.md +0 -11
  142. package/docs/api/foundation-entity-management.mainapplication.connect.md +0 -11
  143. package/docs/api/foundation-entity-management.mainapplication.connectedcallback.md +0 -15
  144. package/docs/api/foundation-entity-management.mainapplication.container.md +0 -11
  145. package/docs/api/foundation-entity-management.mainapplication.loadremotes.md +0 -15
  146. package/docs/api/foundation-entity-management.mainapplication.md +0 -209
  147. package/docs/api/foundation-entity-management.mainapplication.onluminancetoggle.md +0 -15
  148. package/docs/api/foundation-entity-management.mainapplication.provider.md +0 -11
  149. package/docs/api/foundation-entity-management.mainapplication.ready.md +0 -11
  150. package/docs/api/foundation-entity-management.mainapplication.selecttemplate.md +0 -15
  151. package/docs/api/foundation-entity-management.mainapplication.session.md +0 -11
  152. package/docs/api/foundation-entity-management.mapdefaultvalues.md +0 -74
  153. package/docs/api/foundation-entity-management.md +0 -318
  154. package/docs/api/foundation-entity-management.modalformtype.md +0 -74
  155. package/docs/api/foundation-entity-management.recordtypevalue.mapping.md +0 -11
  156. package/docs/api/foundation-entity-management.recordtypevalue.md +0 -73
  157. package/docs/api/foundation-entity-management.recordtypevalue.type.md +0 -11
  158. package/docs/api/foundation-entity-management.resource_name.md +0 -11
  159. package/docs/api/foundation-entity-management.smartformmodal.gridvisible.md +0 -14
  160. package/docs/api/foundation-entity-management.smartformmodal.md +0 -62
  161. package/docs/api/index.md +0 -30
  162. package/docs/api-report.md.api.md +0 -543
@@ -1,543 +0,0 @@
1
- ## API Report File for "@genesislcap/foundation-entity-management"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { Auth } from '@genesislcap/foundation-comms';
8
- import { AvailableOption } from '@genesislcap/foundation-ui';
9
- import { CellEditRequestEvent } from '@ag-grid-community/core';
10
- import { ColDef } from '@ag-grid-community/core';
11
- import { Connect } from '@genesislcap/foundation-comms';
12
- import { Constructable } from '@genesislcap/web-core';
13
- import { Container } from '@genesislcap/web-core';
14
- import { Controller } from '@microsoft/fast-element';
15
- import { DatasourceOptions } from '@genesislcap/foundation-comms';
16
- import { DatasourceType } from '@genesislcap/grid-pro';
17
- import { DOMContainer } from '@genesislcap/foundation-utils';
18
- import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
19
- import { FoundationRouterConfiguration } from '@genesislcap/foundation-ui';
20
- import { GenesisElement } from '@genesislcap/web-core';
21
- import { GridOptions } from '@ag-grid-community/core';
22
- import { GridProCaseType } from '@genesislcap/grid-pro';
23
- import { GridProGenesisDatasource } from '@genesislcap/foundation-zero-grid-pro';
24
- import { GridProStatusBarConfig } from '@genesislcap/grid-pro';
25
- import { InterfaceSymbol } from '@microsoft/fast-foundation';
26
- import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
27
- import { Logger } from '@genesislcap/foundation-logger';
28
- import { MessageError } from '@genesislcap/foundation-comms';
29
- import type { MetadataDetail } from '@genesislcap/foundation-comms';
30
- import { Modal } from '@genesislcap/foundation-ui';
31
- import { NotificationStructure } from '@genesislcap/foundation-notifications';
32
- import { PartialFASTElementDefinition } from '@microsoft/fast-element';
33
- import { RendererEntry } from '@genesislcap/foundation-forms';
34
- import { SelectedOption } from '@genesislcap/foundation-ui';
35
- import { SelectionChangedEvent } from '@ag-grid-community/core';
36
- import { Session } from '@genesislcap/foundation-comms';
37
- import { UiSchema } from '@genesislcap/foundation-forms';
38
- import { UiSchemaElement } from '@genesislcap/foundation-forms';
39
- import { UiSchemaElementType } from '@genesislcap/foundation-forms';
40
- import { UiSchemaOptions } from '@genesislcap/foundation-forms';
41
- import { ViewTemplate } from '@microsoft/fast-element';
42
- import { ViewTemplate as ViewTemplate_2 } from '@genesislcap/web-core';
43
- import { ZeroGridPro } from '@genesislcap/foundation-zero-grid-pro';
44
-
45
- // @public (undocumented)
46
- export enum ActionsMenuStyle {
47
- // (undocumented)
48
- ActionsHorizontal = "actions-horizontal",
49
- // (undocumented)
50
- ActionsVertical = "actions-vertical",
51
- // (undocumented)
52
- Default = "default"
53
- }
54
-
55
- // @public (undocumented)
56
- export type AdditionalEntry = string | UiSchema | {
57
- type: 'Control';
58
- scope: string;
59
- label?: string;
60
- options?: {
61
- readonly?: boolean;
62
- hidden?: boolean;
63
- allOptionsResourceName?: string;
64
- valueField?: string;
65
- labelField?: string;
66
- };
67
- };
68
-
69
- // @public (undocumented)
70
- export const buttonCellRenderer: (title: any, clickHandler: any, contentTemplate: any, tooltip?: string) => ColDef;
71
-
72
- // @public (undocumented)
73
- export interface ConfirmSubmit {
74
- // (undocumented)
75
- message: string;
76
- // (undocumented)
77
- state: 'enabled' | 'disabled';
78
- }
79
-
80
- // @public (undocumented)
81
- export enum CrudAction {
82
- // (undocumented)
83
- Create = "create",
84
- // (undocumented)
85
- Delete = "delete",
86
- // (undocumented)
87
- Read = "read",
88
- // (undocumented)
89
- Update = "update"
90
- }
91
-
92
- // @public (undocumented)
93
- export enum CrudMenuPosition {
94
- // (undocumented)
95
- Action = "action",
96
- // (undocumented)
97
- Bottom = "bottom",
98
- // (undocumented)
99
- Column = "column",
100
- // (undocumented)
101
- None = "none",
102
- // (undocumented)
103
- Top = "top"
104
- }
105
-
106
- // @public (undocumented)
107
- export interface CustomAction {
108
- // (undocumented)
109
- action: {
110
- type: 'event';
111
- event: string;
112
- hasForm: boolean;
113
- defaultValues?: DefaultValues;
114
- uiSchema?: UiSchema;
115
- } | {
116
- type: 'callback';
117
- callback: (rowData: any) => void;
118
- };
119
- // (undocumented)
120
- appearance?: string;
121
- // (undocumented)
122
- confirmSubmit?: ConfirmSubmit;
123
- disabled?: (rowData: any) => boolean;
124
- // (undocumented)
125
- icon?: string;
126
- // (undocumented)
127
- name: string;
128
- // (undocumented)
129
- position?: CrudMenuPosition;
130
- // (undocumented)
131
- requiresSelection?: boolean;
132
- // (undocumented)
133
- setApprovalMessage?: boolean;
134
- // (undocumented)
135
- tooltip?: string;
136
- }
137
-
138
- // @public (undocumented)
139
- export interface CustomActionError {
140
- // (undocumented)
141
- errors: {
142
- message?: string;
143
- CODE: string;
144
- TEXT: string;
145
- }[];
146
- }
147
-
148
- // @public (undocumented)
149
- export interface CustomActionState {
150
- // (undocumented)
151
- event: string;
152
- // (undocumented)
153
- name: string;
154
- // (undocumented)
155
- rowData: any;
156
- }
157
-
158
- // @public
159
- export type DatasourceConfiguration = Omit<DatasourceOptions, 'resourceName'>;
160
-
161
- // @public (undocumented)
162
- export type DefaultValue = string | number | boolean | null | RecordTypeValue;
163
-
164
- // @public (undocumented)
165
- export interface DefaultValues {
166
- // (undocumented)
167
- [key: string]: DefaultValue;
168
- }
169
-
170
- // Warning: (ae-internal-missing-underscore) The name "DynamicTemplate" should be prefixed with an underscore because the declaration is marked as @internal
171
- //
172
- // @internal (undocumented)
173
- export const DynamicTemplate: ViewTemplate_2<MainApplication>;
174
-
175
- // @public (undocumented)
176
- export const ENTITY_NAME: InterfaceSymbol<string>;
177
-
178
- // Warning: (ae-forgotten-export) The symbol "EntityManagement_base" needs to be exported by the entry point index.d.ts
179
- //
180
- // @public
181
- export class EntityManagement extends EntityManagement_base {
182
- // @internal
183
- activeCustomAction: CustomActionState | null;
184
- // @internal
185
- aiCriteriaSearchFieldMetadata: MetadataDetail[];
186
- approvalMessageLabel: string;
187
- // @internal
188
- asyncAdd: boolean;
189
- // @internal
190
- asyncRemove: boolean;
191
- // @internal
192
- asyncUpdate: boolean;
193
- // @internal (undocumented)
194
- closeFiltersModal(): void;
195
- // @internal (undocumented)
196
- closeModal(): void;
197
- columns: ColDef[];
198
- confirmationMessage: string;
199
- // @internal (undocumented)
200
- confirmDelete(): Promise<void>;
201
- // @internal
202
- protected connect: Connect;
203
- // @internal
204
- connectedCallback(): Promise<void>;
205
- // @internal
206
- createEntity(): void;
207
- createEvent: string;
208
- createFormUiSchema: UiSchema;
209
- crudActionMenuName: string;
210
- crudMenuPosition: CrudMenuPosition;
211
- crudMenuStyle: ActionsMenuStyle;
212
- // @internal
213
- crudMenuWrapper: any;
214
- // @internal
215
- get currentConfirmationMessage(): string;
216
- // @internal
217
- get currentFormData(): Record<string, any>;
218
- // @internal
219
- get currentFormResourceName(): string;
220
- // @internal
221
- get currentFormUiSchema(): UiSchema | null;
222
- // @internal
223
- get currentSetApprovalMessage(): boolean;
224
- // @internal
225
- customActionFormData: Record<string, any>;
226
- customActions: CustomAction[];
227
- set datasourceConfig(config: DatasourceConfiguration);
228
- get datasourceConfig(): DatasourceConfiguration;
229
- // @internal (undocumented)
230
- _datasourceConfig: DatasourceConfiguration;
231
- datasourceType: DatasourceType;
232
- // @internal
233
- deepClone(): Node;
234
- defaultEntityValues: Record<string, unknown>;
235
- deleteColumnState(resetToDefault?: boolean): Promise<void>;
236
- // @internal
237
- deleteEntity(e: CustomEvent): Promise<void>;
238
- deleteEvent: string;
239
- // @internal (undocumented)
240
- disconnectedCallback(): Promise<void>;
241
- // @internal (undocumented)
242
- downloadCsvData(): Promise<void>;
243
- // @internal
244
- editedEntity: Record<string, unknown>;
245
- // @internal
246
- editEntity({ detail }: CustomEvent): Promise<void>;
247
- // @internal (undocumented)
248
- editEntityModal: Modal;
249
- // @internal (undocumented)
250
- editModalVisible: boolean;
251
- // @internal
252
- emitCrud(action: 'create' | 'edit' | 'delete'): void;
253
- enableAiCriteriaSearch: boolean;
254
- enableCellFlashing: boolean;
255
- enableCsvExport: {
256
- buttonName?: string;
257
- fileName?: string;
258
- } | null;
259
- enableFilterBar: boolean;
260
- enableFilters: boolean;
261
- enableRowFlashing: boolean;
262
- enableSearchBar: boolean;
263
- entityLabel: string;
264
- // @internal (undocumented)
265
- entityListRef: List;
266
- errorNotificationConfig: NotificationStructure['config'];
267
- // @internal
268
- filtersCriteria: string;
269
- // @internal (undocumented)
270
- filtersModal: Modal;
271
- filtersModalPosition: 'centre' | 'left' | 'right';
272
- // @internal
273
- get filtersModalTitle(): string;
274
- // @internal
275
- filtersModalVisible: boolean;
276
- filtersUiSchema: UiSchema;
277
- formRenderers: RendererEntry[];
278
- // @internal
279
- formResourceName: string;
280
- // @internal (undocumented)
281
- formUiSchema: UiSchema;
282
- // @internal
283
- getActiveCustomAction(): CustomAction | null;
284
- // @internal
285
- getCustomActionsByPosition(position: CrudMenuPosition): CustomAction[];
286
- // @internal
287
- getTitleBasedOnActionOrType(actionOrType: CrudAction | ModalFormType): string;
288
- gridAutosizing: boolean;
289
- gridOptions: GridOptions;
290
- // @internal
291
- gridVisible: boolean;
292
- // @internal
293
- handleCustomActionClick(actionName: string): Promise<void>;
294
- // @internal
295
- handleNotify(type: ModalFormType | CrudAction.Delete, requestError?: MessageError[]): void;
296
- // @internal
297
- hasContentInSlot(slotName: string): boolean;
298
- // @internal
299
- get hasSelectedEntity(): boolean;
300
- headerCaseType: GridProCaseType;
301
- // @internal (undocumented)
302
- get headerTemplate(): ViewTemplate<EntityManagement, any>;
303
- hideDelete: boolean;
304
- hideEdit: boolean;
305
- // @internal
306
- isCustomActionDisabled(customAction: CustomAction, rowData?: any): boolean;
307
- // @internal (undocumented)
308
- get isServerSideDatasource(): boolean;
309
- // @internal
310
- get modalFormTitle(): string;
311
- // @internal
312
- modalFormType: ModalFormType;
313
- modalPosition: 'centre' | 'left' | 'right';
314
- persistColumnStateKey: string;
315
- persistFilterModelKey: string;
316
- prefix: string;
317
- readEvent: string;
318
- readEventFn: (entity: any) => any;
319
- // @internal (undocumented)
320
- readonly: boolean;
321
- resourceName: string;
322
- rowSelection: string;
323
- searchBarConfig: AvailableOption[];
324
- // @internal (undocumented)
325
- searchChanged(event: CustomEvent<Array<SelectedOption>>): void;
326
- // @internal
327
- selectedEntity: Record<string, unknown>;
328
- // @internal
329
- selectionChanged(event: CustomEvent<SelectionChangedEvent>): void;
330
- setApprovalMessage: boolean;
331
- setDSConfigWithoutUpdatingBaseCriteria(config: DatasourceConfiguration): void;
332
- // @internal
333
- get shouldHideDeleteInColumn(): boolean;
334
- // @internal
335
- get shouldHideEditInColumn(): boolean;
336
- showFilterPersistenceControls: boolean;
337
- sizeColumnsToContent: boolean;
338
- sizeColumnsToFit: boolean;
339
- statusBarConfig: GridProStatusBarConfig;
340
- // @internal
341
- submitEntityChanges(): Promise<void>;
342
- // @internal (undocumented)
343
- submitting: boolean;
344
- title: string;
345
- updateEvent: string;
346
- updateFormUiSchema: UiSchema;
347
- }
348
-
349
- // @public
350
- export const getErrorFormat: (err: any) => string;
351
-
352
- // Warning: (ae-forgotten-export) The symbol "List_base" needs to be exported by the entry point index.d.ts
353
- //
354
- // @public (undocumented)
355
- export class List extends List_base {
356
- // (undocumented)
357
- actionButtonsConfig: any[];
358
- // (undocumented)
359
- asyncAdd: boolean;
360
- // (undocumented)
361
- asyncRemove: boolean;
362
- // (undocumented)
363
- asyncUpdate: boolean;
364
- // (undocumented)
365
- columns: ColDef[];
366
- // (undocumented)
367
- protected connect: Connect;
368
- // (undocumented)
369
- connectedCallback(): void;
370
- // (undocumented)
371
- createEvent: string;
372
- // (undocumented)
373
- get criteria(): string;
374
- // (undocumented)
375
- customActions: CustomAction[];
376
- // (undocumented)
377
- datasource: GridProGenesisDatasource;
378
- // (undocumented)
379
- datasourceConfig: DatasourceConfiguration;
380
- // (undocumented)
381
- datasourceType: DatasourceType;
382
- // (undocumented)
383
- delete(e: any): Promise<void>;
384
- // (undocumented)
385
- deleteEvent: string;
386
- // (undocumented)
387
- get disablePolling(): boolean;
388
- // (undocumented)
389
- disconnectedCallback(): Promise<void>;
390
- // (undocumented)
391
- enableCellFlashing: boolean;
392
- // (undocumented)
393
- enableFilterBar: boolean;
394
- // (undocumented)
395
- enableRowFlashing: boolean;
396
- // (undocumented)
397
- get fields(): string;
398
- // (undocumented)
399
- grid: ZeroGridPro;
400
- gridAutosizing: boolean;
401
- // (undocumented)
402
- gridOptions: GridOptions;
403
- // (undocumented)
404
- handleCellEditRequest(event: CustomEvent<CellEditRequestEvent>): Promise<void>;
405
- // (undocumented)
406
- handleRowClicked(e: CustomEvent): void;
407
- // (undocumented)
408
- handleRowContextMenu(e: CustomEvent): void;
409
- // (undocumented)
410
- handleRowDblClicked(e: CustomEvent): void;
411
- // (undocumented)
412
- handleRowSelected(e: CustomEvent): void;
413
- // (undocumented)
414
- handleSelectionChanged(e: CustomEvent<SelectionChangedEvent>): void;
415
- // (undocumented)
416
- headerCaseType: GridProCaseType;
417
- // (undocumented)
418
- hideDelete: boolean;
419
- // (undocumented)
420
- hideEdit: boolean;
421
- // (undocumented)
422
- get isServerSideDatasource(): boolean;
423
- // (undocumented)
424
- get isSnapshot(): boolean;
425
- // (undocumented)
426
- get maxRows(): number;
427
- // (undocumented)
428
- get maxView(): number;
429
- // (undocumented)
430
- get movingView(): boolean;
431
- // (undocumented)
432
- get orderBy(): string;
433
- // (undocumented)
434
- persistColumnStateKey: string;
435
- // (undocumented)
436
- persistFilterModelKey: string;
437
- // (undocumented)
438
- get pollingInterval(): number;
439
- // (undocumented)
440
- get pollTriggerEvents(): string[];
441
- prefix: string;
442
- // (undocumented)
443
- get request(): any;
444
- // (undocumented)
445
- get requestAutoSetup(): boolean;
446
- // (undocumented)
447
- resourceName: string;
448
- // (undocumented)
449
- get reverse(): boolean;
450
- // (undocumented)
451
- rowSelection: string;
452
- sizeColumnsToContent: boolean;
453
- sizeColumnsToFit: boolean;
454
- // (undocumented)
455
- statusBarConfig: GridProStatusBarConfig;
456
- // (undocumented)
457
- title: string;
458
- // (undocumented)
459
- updateEvent: string;
460
- // (undocumented)
461
- get viewNumber(): number;
462
- }
463
-
464
- // Warning: (ae-internal-missing-underscore) The name "LoadingTemplate" should be prefixed with an underscore because the declaration is marked as @internal
465
- //
466
- // @internal (undocumented)
467
- export const LoadingTemplate: ViewTemplate_2<MainApplication>;
468
-
469
- // @public (undocumented)
470
- export const logger: Logger;
471
-
472
- // @public (undocumented)
473
- export class MainApplication extends GenesisElement {
474
- // Warning: (ae-forgotten-export) The symbol "MainRouterConfig" needs to be exported by the entry point index.d.ts
475
- //
476
- // (undocumented)
477
- config: MainRouterConfig;
478
- // (undocumented)
479
- connect: Connect;
480
- // (undocumented)
481
- connectedCallback(): void;
482
- // (undocumented)
483
- container: Container;
484
- // (undocumented)
485
- loadRemotes(): Promise<void>;
486
- // (undocumented)
487
- onLuminanceToggle(): void;
488
- // (undocumented)
489
- provider: HTMLElement;
490
- // (undocumented)
491
- ready: boolean;
492
- // (undocumented)
493
- selectTemplate(): ViewTemplate<MainApplication, any>;
494
- // (undocumented)
495
- session: Session;
496
- }
497
-
498
- // Warning: (ae-internal-missing-underscore) The name "MainTemplate" should be prefixed with an underscore because the declaration is marked as @internal
499
- //
500
- // @internal (undocumented)
501
- export const MainTemplate: ViewTemplate_2<MainApplication>;
502
-
503
- // @public
504
- export function mapDefaultValues(defaultValues: Record<string, any>, rowData: any): Record<string, any>;
505
-
506
- // @public (undocumented)
507
- export enum ModalFormType {
508
- // (undocumented)
509
- Create = "create",
510
- // (undocumented)
511
- Read = "read",
512
- // (undocumented)
513
- Update = "update"
514
- }
515
-
516
- // @public (undocumented)
517
- export interface RecordTypeValue {
518
- // (undocumented)
519
- mapping?: string;
520
- // (undocumented)
521
- type: 'record';
522
- }
523
-
524
- // @public (undocumented)
525
- export const RESOURCE_NAME: InterfaceSymbol<string>;
526
-
527
- // @alpha
528
- export class SmartFormModal extends EntityManagement {
529
- // (undocumented)
530
- gridVisible: boolean;
531
- }
532
-
533
- export { UiSchema }
534
-
535
- export { UiSchemaElement }
536
-
537
- export { UiSchemaElementType }
538
-
539
- export { UiSchemaOptions }
540
-
541
- // (No @packageDocumentation comment for this package)
542
-
543
- ```