@datarailsshared/datarailsshared 1.5.216 → 1.5.218

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.
@@ -37,6 +37,8 @@ export interface DialogData<T = any> extends DialogConfig {
37
37
  title?: string;
38
38
  items?: string[] | Observable<string[]>;
39
39
  };
40
+ headerIconClass?: string;
41
+ formWrapperClass?: string;
40
42
  };
41
43
  }
42
44
  export interface ConfirmDialogData {
@@ -65,12 +67,16 @@ export interface ConfirmDialogData {
65
67
  theme?: {
66
68
  themeSize?: SizeModal;
67
69
  };
70
+ headerIconClass?: string;
71
+ formWrapperClass?: string;
68
72
  }
69
73
  export interface ConfirmDialogModalData extends ConfirmDialogData {
70
74
  confirmFn?: any;
71
75
  hideCloseBtn?: boolean;
72
76
  footerTemplateData?: FooterTemplateData;
73
77
  fields?: ModalFormField[];
78
+ headerIconClass?: string;
79
+ formWrapperClass?: string;
74
80
  }
75
81
  export interface FooterTemplateData {
76
82
  label: string;
@@ -90,6 +96,7 @@ export interface ModalFormField {
90
96
  bindValue?: string;
91
97
  validators?: any[];
92
98
  datePickerFormat?: TimeframeOption;
99
+ formGroupClass?: string;
93
100
  }
94
101
  export type SizeModal = 'small-modal' | 'medium-small-modal' | 'medium-modal' | 'medium-modal-max-height' | 'medium-large-modal' | 'large-modal' | 'xl-modal' | 'xl-custom-modal';
95
102
  export type DataProp<T = any> = DialogData<T>['data'];
@@ -1,3 +1,4 @@
1
+ import { IFeedback } from "./feedback";
1
2
  export declare const IMAGE_TYPES: string[];
2
3
  export declare enum CHAT_MESSAGE_TYPE {
3
4
  TEXT = "text",
@@ -23,6 +24,7 @@ export interface IChatMessageBase extends IChatMessageRef {
23
24
  role: ChatRole;
24
25
  avatarUrl?: string;
25
26
  user?: any;
27
+ subjectId?: string;
26
28
  }
27
29
  export interface IChatTextMessage extends IChatMessageBase {
28
30
  kind: string | CHAT_MESSAGE_TYPE.TEXT;
@@ -62,5 +64,7 @@ export declare class ChatMessage implements IChatMessageBase, IChatTextMessage,
62
64
  data?: any;
63
65
  avatarUrl?: string;
64
66
  user?: any;
67
+ feedback?: IFeedback;
68
+ subjectId?: string;
65
69
  constructor(obj: any);
66
70
  }
@@ -0,0 +1,10 @@
1
+ export declare enum FeedbackSentiment {
2
+ POSITIVE = "positive",
3
+ NEGATIVE = "negative"
4
+ }
5
+ export interface IFeedback {
6
+ subjectId: string;
7
+ sentiment: FeedbackSentiment;
8
+ text?: string;
9
+ tags?: Array<string>;
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/datarailsshared",
3
- "version": "1.5.216",
3
+ "version": "1.5.218",
4
4
  "description": "DataRails shared components",
5
5
  "keywords": [
6
6
  "angular",
package/public-api.d.ts CHANGED
@@ -94,6 +94,7 @@ export { DrPopoverRef, IDrPopoverComponentModel, Point, DrPopoverConfig, IPopove
94
94
  export { IValidationError } from './lib/models/validationError';
95
95
  export * from './lib/models/chat';
96
96
  export * from './lib/models/badgeStatus';
97
+ export * from './lib/models/feedback';
97
98
  export { ScenarioService } from './lib/dr-scenario/services/scenario.service';
98
99
  export { DateTagModule } from './lib/date-tags/date-tag.module';
99
100
  export { ListTagModule } from './lib/list-tags/list-tag.module';