@acoustte-digital-services/digitalstore-controls 0.8.1-dev.20260228092021 → 0.8.1-dev.20260228111318

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -138,4 +138,43 @@ declare const InputControlType: {
138
138
  booleanSelect: string;
139
139
  };
140
140
 
141
- export { type ActionResponse, InputControl, type InputControlProps, InputControlType, ViewControl, type ViewControlProps, ViewControlTypes };
141
+ interface DataListConfiguration<T> {
142
+ title?: string;
143
+ columns: DataListColumn[];
144
+ filters?: FilterColumn[];
145
+ path: string;
146
+ serviceClient?: ServiceClientInterface;
147
+ query?: {
148
+ [key: string]: string;
149
+ };
150
+ subTitle?: string;
151
+ dataset?: QueryResponse<any>;
152
+ addLinkHref?: string;
153
+ addLinkText?: string;
154
+ recordValidityColumnName?: string;
155
+ altLinkUrl?: string;
156
+ }
157
+ interface DataListColumn {
158
+ label: string;
159
+ name: string;
160
+ controlType: string;
161
+ enableSorting: boolean;
162
+ width: string;
163
+ format?: string;
164
+ showAsLink?: boolean;
165
+ linkUrlSegment?: string;
166
+ emptyValueLabel?: string;
167
+ addhref?: boolean;
168
+ customProps?: any;
169
+ }
170
+ interface FilterColumn {
171
+ placeholder: string;
172
+ name: string;
173
+ servicePath: string;
174
+ dataTextFieldName: string;
175
+ dataKeyFieldName: string;
176
+ dataTypeCode: string;
177
+ }
178
+ declare const DataList: React.FC<DataListConfiguration<any>>;
179
+
180
+ export { type ActionResponse, DataList, InputControl, type InputControlProps, InputControlType, ViewControl, type ViewControlProps, ViewControlTypes };
package/dist/index.d.ts CHANGED
@@ -138,4 +138,43 @@ declare const InputControlType: {
138
138
  booleanSelect: string;
139
139
  };
140
140
 
141
- export { type ActionResponse, InputControl, type InputControlProps, InputControlType, ViewControl, type ViewControlProps, ViewControlTypes };
141
+ interface DataListConfiguration<T> {
142
+ title?: string;
143
+ columns: DataListColumn[];
144
+ filters?: FilterColumn[];
145
+ path: string;
146
+ serviceClient?: ServiceClientInterface;
147
+ query?: {
148
+ [key: string]: string;
149
+ };
150
+ subTitle?: string;
151
+ dataset?: QueryResponse<any>;
152
+ addLinkHref?: string;
153
+ addLinkText?: string;
154
+ recordValidityColumnName?: string;
155
+ altLinkUrl?: string;
156
+ }
157
+ interface DataListColumn {
158
+ label: string;
159
+ name: string;
160
+ controlType: string;
161
+ enableSorting: boolean;
162
+ width: string;
163
+ format?: string;
164
+ showAsLink?: boolean;
165
+ linkUrlSegment?: string;
166
+ emptyValueLabel?: string;
167
+ addhref?: boolean;
168
+ customProps?: any;
169
+ }
170
+ interface FilterColumn {
171
+ placeholder: string;
172
+ name: string;
173
+ servicePath: string;
174
+ dataTextFieldName: string;
175
+ dataKeyFieldName: string;
176
+ dataTypeCode: string;
177
+ }
178
+ declare const DataList: React.FC<DataListConfiguration<any>>;
179
+
180
+ export { type ActionResponse, DataList, InputControl, type InputControlProps, InputControlType, ViewControl, type ViewControlProps, ViewControlTypes };