@messaia/cdk 20.0.1 → 20.0.2

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/index.d.ts CHANGED
@@ -5123,14 +5123,16 @@ declare enum FormFieldType {
5123
5123
  VdList = 7,
5124
5124
  VdChips = 8,
5125
5125
  Date = 9,
5126
- Calendar = 10,
5127
- Toggle = 11,
5128
- Editor = 12,
5129
- Code = 13,
5130
- File = 14,
5131
- Autocomplete = 15,
5132
- Chips = 16,
5133
- Color = 17,
5126
+ Time = 10,
5127
+ DateTime = 11,
5128
+ Calendar = 12,
5129
+ Toggle = 13,
5130
+ Editor = 14,
5131
+ Code = 15,
5132
+ File = 16,
5133
+ Autocomplete = 17,
5134
+ Chips = 18,
5135
+ Color = 19,
5134
5136
  Custom = 100
5135
5137
  }
5136
5138
 
@@ -5235,6 +5237,16 @@ declare class FormFieldDefinition<TEntity = any, TProperty = any> {
5235
5237
  * @param ctx The context of the generic form component.
5236
5238
  */
5237
5239
  datePickerOpened?: (datePicker: MatDatepicker<any>, y?: TEntity, f?: FormGroup, ctx?: IGenericFormBaseComponent<TEntity>) => any;
5240
+ /**
5241
+ * Indicates whether the time should be displayed alongside the date.
5242
+ * Defaults to false.
5243
+ */
5244
+ showTime?: boolean;
5245
+ /**
5246
+ * Format for displaying time in the field.
5247
+ * Can be 'shortTime' or 'mediumTime', defaults to 'mediumTime'.
5248
+ */
5249
+ timeFormat?: 'shortTime' | 'mediumTime';
5238
5250
  /**
5239
5251
  * Endpoint for retrieving data, which can be a URL or a function returning data.
5240
5252
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messaia/cdk",
3
- "version": "20.0.1",
3
+ "version": "20.0.2",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.0.0",
6
6
  "@angular/core": "^20.0.0"