@memberjunction/ng-skip-chat 2.19.1 → 2.19.3
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/lib/dynamic-report/linear-report.js +12 -20
- package/dist/lib/dynamic-report/linear-report.js.map +1 -1
- package/dist/lib/dynamic-report/skip-dynamic-report-wrapper.d.ts +6 -1
- package/dist/lib/dynamic-report/skip-dynamic-report-wrapper.d.ts.map +1 -1
- package/dist/lib/dynamic-report/skip-dynamic-report-wrapper.js +13 -3
- package/dist/lib/dynamic-report/skip-dynamic-report-wrapper.js.map +1 -1
- package/dist/lib/module.d.ts +2 -1
- package/dist/lib/module.d.ts.map +1 -1
- package/dist/lib/module.js +6 -4
- package/dist/lib/module.js.map +1 -1
- package/dist/lib/skip-chat/skip-chat.component.d.ts +17 -1
- package/dist/lib/skip-chat/skip-chat.component.d.ts.map +1 -1
- package/dist/lib/skip-chat/skip-chat.component.js +199 -18
- package/dist/lib/skip-chat/skip-chat.component.js.map +1 -1
- package/dist/lib/skip-single-message/skip-single-message.component.d.ts +21 -1
- package/dist/lib/skip-single-message/skip-single-message.component.d.ts.map +1 -1
- package/dist/lib/skip-single-message/skip-single-message.component.js +71 -25
- package/dist/lib/skip-single-message/skip-single-message.component.js.map +1 -1
- package/package.json +15 -13
|
@@ -14,8 +14,9 @@ import * as i1 from "@angular/common";
|
|
|
14
14
|
import * as i2 from "@progress/kendo-angular-layout";
|
|
15
15
|
import * as i3 from "@progress/kendo-angular-dialog";
|
|
16
16
|
import * as i4 from "@progress/kendo-angular-buttons";
|
|
17
|
-
import * as i5 from "
|
|
18
|
-
import * as i6 from "./dynamic-
|
|
17
|
+
import * as i5 from "ngx-markdown";
|
|
18
|
+
import * as i6 from "./dynamic-chart";
|
|
19
|
+
import * as i7 from "./dynamic-grid";
|
|
19
20
|
function SkipDynamicLinearReportComponent_Conditional_0_button_0_Template(rf, ctx) { if (rf & 1) {
|
|
20
21
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
21
22
|
i0.ɵɵelementStart(0, "button", 8);
|
|
@@ -81,37 +82,28 @@ function SkipDynamicLinearReportComponent_Conditional_0_kendo_expansionpanel_4_T
|
|
|
81
82
|
i0.ɵɵadvance();
|
|
82
83
|
i0.ɵɵproperty("ngIf", !ctx_r1.IsChart);
|
|
83
84
|
} }
|
|
84
|
-
function SkipDynamicLinearReportComponent_Conditional_0_kendo_expansionpanel_5_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
85
|
-
i0.ɵɵelementStart(0, "div", 18);
|
|
86
|
-
i0.ɵɵtext(1);
|
|
87
|
-
i0.ɵɵelementEnd();
|
|
88
|
-
} if (rf & 2) {
|
|
89
|
-
const ctx_r1 = i0.ɵɵnextContext(3);
|
|
90
|
-
i0.ɵɵadvance();
|
|
91
|
-
i0.ɵɵtextInterpolate1(" ", ctx_r1.SkipData.analysis, " ");
|
|
92
|
-
} }
|
|
93
85
|
function SkipDynamicLinearReportComponent_Conditional_0_kendo_expansionpanel_5_Template(rf, ctx) { if (rf & 1) {
|
|
94
86
|
i0.ɵɵelementStart(0, "kendo-expansionpanel", 11);
|
|
95
|
-
i0.ɵɵ
|
|
87
|
+
i0.ɵɵelement(1, "markdown", 17);
|
|
96
88
|
i0.ɵɵelementEnd();
|
|
97
89
|
} if (rf & 2) {
|
|
98
90
|
const ctx_r1 = i0.ɵɵnextContext(2);
|
|
99
91
|
i0.ɵɵproperty("title", "Analysis")("expanded", ctx_r1.ExpandAll);
|
|
100
92
|
i0.ɵɵadvance();
|
|
101
|
-
i0.ɵɵproperty("
|
|
93
|
+
i0.ɵɵproperty("data", ctx_r1.SkipData.analysis);
|
|
102
94
|
} }
|
|
103
95
|
function SkipDynamicLinearReportComponent_Conditional_0_kendo_dialog_6_Template(rf, ctx) { if (rf & 1) {
|
|
104
96
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
105
|
-
i0.ɵɵelementStart(0, "kendo-dialog",
|
|
97
|
+
i0.ɵɵelementStart(0, "kendo-dialog", 18);
|
|
106
98
|
i0.ɵɵlistener("close", function SkipDynamicLinearReportComponent_Conditional_0_kendo_dialog_6_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeCreateReport("no")); });
|
|
107
|
-
i0.ɵɵelementStart(1, "p",
|
|
99
|
+
i0.ɵɵelementStart(1, "p", 19);
|
|
108
100
|
i0.ɵɵtext(2, " Would you like to create a new report from this conversation element? If you choose to continue you'll be notified when the report has been created. ");
|
|
109
101
|
i0.ɵɵelementEnd();
|
|
110
|
-
i0.ɵɵelementStart(3, "kendo-dialog-actions")(4, "button",
|
|
102
|
+
i0.ɵɵelementStart(3, "kendo-dialog-actions")(4, "button", 20);
|
|
111
103
|
i0.ɵɵlistener("click", function SkipDynamicLinearReportComponent_Conditional_0_kendo_dialog_6_Template_button_click_4_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeCreateReport("yes")); });
|
|
112
104
|
i0.ɵɵtext(5, " Yes ");
|
|
113
105
|
i0.ɵɵelementEnd();
|
|
114
|
-
i0.ɵɵelementStart(6, "button",
|
|
106
|
+
i0.ɵɵelementStart(6, "button", 21);
|
|
115
107
|
i0.ɵɵlistener("click", function SkipDynamicLinearReportComponent_Conditional_0_kendo_dialog_6_Template_button_click_6_listener() { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r1.closeCreateReport("no")); });
|
|
116
108
|
i0.ɵɵtext(7, "No");
|
|
117
109
|
i0.ɵɵelementEnd()()();
|
|
@@ -170,14 +162,14 @@ export class SkipDynamicLinearReportComponent extends SkipDynamicReportBase {
|
|
|
170
162
|
}
|
|
171
163
|
}
|
|
172
164
|
SkipDynamicLinearReportComponent.ɵfac = function SkipDynamicLinearReportComponent_Factory(t) { return new (t || SkipDynamicLinearReportComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
173
|
-
SkipDynamicLinearReportComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SkipDynamicLinearReportComponent, selectors: [["skip-dynamic-linear-report"]], inputs: { ExpandAll: "ExpandAll" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["theChart", ""], ["theGrid", ""], ["kendoButton", "", "class", "create-report-button", 3, "disabled", "click", 4, "ngIf"], ["class", "report-link", 3, "click", 4, "ngIf"], ["class", "report-tab-title", 4, "ngIf"], [3, "title", "expanded", 4, "ngIf"], ["mjSkipResize", "true", 3, "title", "expanded", 4, "ngIf"], ["title", "Please confirm", 3, "minWidth", "width", "close", 4, "ngIf"], ["kendoButton", "", 1, "create-report-button", 3, "click", "disabled"], [1, "report-link", 3, "click"], [1, "report-tab-title"], [3, "title", "expanded"], ["style", "display:block;", 3, "AutoResizeChart", "SkipData", 4, "ngIf"], [2, "display", "block", 3, "AutoResizeChart", "SkipData"], ["mjSkipResize", "true", 3, "title", "expanded"], [3, "GridHeight", "SkipData", 4, "ngIf"], [3, "GridHeight", "SkipData"], [
|
|
165
|
+
SkipDynamicLinearReportComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SkipDynamicLinearReportComponent, selectors: [["skip-dynamic-linear-report"]], inputs: { ExpandAll: "ExpandAll" }, features: [i0.ɵɵInheritDefinitionFeature], decls: 1, vars: 1, consts: [["theChart", ""], ["theGrid", ""], ["kendoButton", "", "class", "create-report-button", 3, "disabled", "click", 4, "ngIf"], ["class", "report-link", 3, "click", 4, "ngIf"], ["class", "report-tab-title", 4, "ngIf"], [3, "title", "expanded", 4, "ngIf"], ["mjSkipResize", "true", 3, "title", "expanded", 4, "ngIf"], ["title", "Please confirm", 3, "minWidth", "width", "close", 4, "ngIf"], ["kendoButton", "", 1, "create-report-button", 3, "click", "disabled"], [1, "report-link", 3, "click"], [1, "report-tab-title"], [3, "title", "expanded"], ["style", "display:block;", 3, "AutoResizeChart", "SkipData", 4, "ngIf"], [2, "display", "block", 3, "AutoResizeChart", "SkipData"], ["mjSkipResize", "true", 3, "title", "expanded"], [3, "GridHeight", "SkipData", 4, "ngIf"], [3, "GridHeight", "SkipData"], [3, "data"], ["title", "Please confirm", 3, "close", "minWidth", "width"], [2, "margin", "30px", "text-align", "center"], ["kendoButton", "", "themeColor", "primary", 3, "click"], ["kendoButton", "", 3, "click"]], template: function SkipDynamicLinearReportComponent_Template(rf, ctx) { if (rf & 1) {
|
|
174
166
|
i0.ɵɵtemplate(0, SkipDynamicLinearReportComponent_Conditional_0_Template, 7, 7);
|
|
175
167
|
} if (rf & 2) {
|
|
176
168
|
i0.ɵɵconditional(ctx.SkipData ? 0 : -1);
|
|
177
|
-
} }, dependencies: [i1.NgIf, i2.ExpansionPanelComponent, i3.DialogComponent, i3.DialogActionsComponent, i4.ButtonComponent, i5.
|
|
169
|
+
} }, dependencies: [i1.NgIf, i2.ExpansionPanelComponent, i3.DialogComponent, i3.DialogActionsComponent, i4.ButtonComponent, i5.MarkdownComponent, i6.SkipDynamicChartComponent, i7.SkipDynamicGridComponent], styles: [".report-tab-title[_ngcontent-%COMP%] { \n margin-left: 10px;\n}\n\n.create-report-button[_ngcontent-%COMP%] { \n margin-bottom: 10px;\n margin-top: 10px;\n}\n\n.report-link[_ngcontent-%COMP%] {\n margin-top: 10px; \n margin-bottom: 10px;\n cursor: pointer;\n color: blue;\n font-weight: bold;\n}\n\n.report-tab-toolbar[_ngcontent-%COMP%] {\n padding: 3px;\n}\n\n.report-tab-toolbar[_ngcontent-%COMP%] > button[_ngcontent-%COMP%] {\n margin-right: 5px;\n}\n\n.report-tab-contents[_ngcontent-%COMP%] {\n display: block;\n padding: 5px;\n}"] });
|
|
178
170
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SkipDynamicLinearReportComponent, [{
|
|
179
171
|
type: Component,
|
|
180
|
-
args: [{ selector: 'skip-dynamic-linear-report', template: "@if(SkipData) {\n <button kendoButton *ngIf=\"ShowCreateReportButton && !matchingReportID\" \n (click)=\"askCreateReport()\" \n [disabled]=\"IsCreatingReport\"\n class=\"create-report-button\">Create Report</button>\n <div *ngIf=\"matchingReportID!==null\" class=\"report-link\" (click)=\"clickMatchingReport()\">Report: {{matchingReportName}}</div>\n <div *ngIf=\"SkipData?.userExplanation\" class=\"report-tab-title\">\n <h3>Explanation</h3>\n <div>\n {{SkipData.userExplanation || 'No Explanation Provided'}}\n </div>\n </div>\n <kendo-expansionpanel\n *ngIf=\"IsChart\"\n [title]=\"'Chart'\"\n [expanded]=\"ExpandAll\"\n >\n <skip-dynamic-chart \n *ngIf=\"IsChart\" \n #theChart \n [AutoResizeChart]=\"false\"\n [SkipData]=\"SkipData\" \n style=\"display:block;\">\n </skip-dynamic-chart>\n </kendo-expansionpanel> \n <kendo-expansionpanel\n *ngIf=\"!IsChart\"\n [title]=\"'Table'\"\n [expanded]=\"ExpandAll\"\n mjSkipResize=\"true\"\n >\n <skip-dynamic-grid *ngIf=\"!IsChart\" \n [GridHeight]=\"300\"\n #theGrid [SkipData]=\"SkipData\"\n ></skip-dynamic-grid> \n </kendo-expansionpanel>\n <kendo-expansionpanel\n *ngIf=\"SkipData?.analysis\" \n [title]=\"'Analysis'\"\n [expanded]=\"ExpandAll\"\n >\n <div class=\"analysis\" *ngIf=\"SkipData.analysis\">\n {{SkipData.analysis}}\n </div
|
|
172
|
+
args: [{ selector: 'skip-dynamic-linear-report', template: "@if(SkipData) {\n <button kendoButton *ngIf=\"ShowCreateReportButton && !matchingReportID\" \n (click)=\"askCreateReport()\" \n [disabled]=\"IsCreatingReport\"\n class=\"create-report-button\">Create Report</button>\n <div *ngIf=\"matchingReportID!==null\" class=\"report-link\" (click)=\"clickMatchingReport()\">Report: {{matchingReportName}}</div>\n <div *ngIf=\"SkipData?.userExplanation\" class=\"report-tab-title\">\n <h3>Explanation</h3>\n <div>\n {{SkipData.userExplanation || 'No Explanation Provided'}}\n </div>\n </div>\n <kendo-expansionpanel\n *ngIf=\"IsChart\"\n [title]=\"'Chart'\"\n [expanded]=\"ExpandAll\"\n >\n <skip-dynamic-chart \n *ngIf=\"IsChart\" \n #theChart \n [AutoResizeChart]=\"false\"\n [SkipData]=\"SkipData\" \n style=\"display:block;\">\n </skip-dynamic-chart>\n </kendo-expansionpanel> \n <kendo-expansionpanel\n *ngIf=\"!IsChart\"\n [title]=\"'Table'\"\n [expanded]=\"ExpandAll\"\n mjSkipResize=\"true\"\n >\n <skip-dynamic-grid *ngIf=\"!IsChart\" \n [GridHeight]=\"300\"\n #theGrid [SkipData]=\"SkipData\"\n ></skip-dynamic-grid> \n </kendo-expansionpanel>\n <kendo-expansionpanel\n *ngIf=\"SkipData?.analysis\" \n [title]=\"'Analysis'\"\n [expanded]=\"ExpandAll\"\n >\n <!-- <div class=\"analysis\" *ngIf=\"SkipData.analysis\">\n {{SkipData.analysis}}\n </div> -->\n <markdown [data]=\"SkipData.analysis\"></markdown>\n </kendo-expansionpanel> \n\n <kendo-dialog\n title=\"Please confirm\"\n *ngIf=\"confirmCreateReportDialogOpen\"\n (close)=\"closeCreateReport('no')\"\n [minWidth]=\"250\"\n [width]=\"450\"\n >\n <p style=\"margin: 30px; text-align: center;\">\n Would you like to create a new report from this conversation element? If you choose to continue you'll be notified when the report has been created.\n </p>\n <kendo-dialog-actions>\n <button kendoButton (click)=\"closeCreateReport('yes')\" themeColor=\"primary\">\n Yes\n </button>\n <button kendoButton (click)=\"closeCreateReport('no')\">No</button>\n </kendo-dialog-actions>\n </kendo-dialog>\n} ", styles: [".report-tab-title { \n margin-left: 10px;\n}\n\n.create-report-button { \n margin-bottom: 10px;\n margin-top: 10px;\n}\n\n.report-link {\n margin-top: 10px; \n margin-bottom: 10px;\n cursor: pointer;\n color: blue;\n font-weight: bold;\n}\n\n.report-tab-toolbar {\n padding: 3px;\n}\n\n.report-tab-toolbar > button {\n margin-right: 5px;\n}\n\n.report-tab-contents {\n display: block;\n padding: 5px;\n}"] }]
|
|
181
173
|
}], () => [{ type: i0.ChangeDetectorRef }], { ExpandAll: [{
|
|
182
174
|
type: Input
|
|
183
175
|
}] }); })();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linear-report.js","sourceRoot":"","sources":["../../../src/lib/dynamic-report/linear-report.ts","../../../src/lib/dynamic-report/linear-report.html"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAoC,SAAS,EAAE,KAAK,EAAwB,MAAM,eAAe,CAAC;AAQzG,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC
|
|
1
|
+
{"version":3,"file":"linear-report.js","sourceRoot":"","sources":["../../../src/lib/dynamic-report/linear-report.ts","../../../src/lib/dynamic-report/linear-report.html"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAoC,SAAS,EAAE,KAAK,EAAwB,MAAM,eAAe,CAAC;AAQzG,OAAO,EAAE,qBAAqB,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;;ICPlD,iCAGiD;IAF7B,8MAAS,wBAAiB,KAAC;IAEE,6BAAa;IAAA,iBAAS;;;IADnD,kDAA6B;;;;IAEjD,8BAAyF;IAAhC,wMAAS,4BAAqB,KAAC;IAAC,YAA8B;IAAA,iBAAM;;;IAApC,cAA8B;IAA9B,gEAA8B;;;IAEnH,AADJ,+BAAgE,SACxD;IAAA,2BAAW;IAAA,iBAAK;IACpB,2BAAK;IACD,YACJ;IACJ,AADI,iBAAM,EACJ;;;IAFE,eACJ;IADI,6FACJ;;;IAOA,4CAMqB;;;IAFjB,AADA,uCAAyB,6BACJ;;;IAT7B,gDAIK;IACD,qJAK2B;IAE/B,iBAAuB;;;IATnB,AADA,+BAAiB,8BACK;IAGjB,cAAa;IAAb,qCAAa;;;IAalB,2CAGqC;;;IADZ,AADT,gCAAkB,6BACY;;;IARlD,gDAKC;IACG,mJAGiB;IACrB,iBAAuB;;;IAPnB,AADA,+BAAiB,8BACK;IA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CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,cAAc,IAAI,CAAC,IAAI,CAAC,gBAAgB,IAAI,CAAC,IAAI,CAAC,oBAAoB,EAAE,CAAC;gBACnG,MAAM,IAAI,KAAK,CAAC,uGAAuG,CAAC,CAAC;YAC3H,CAAC;iBAAM,CAAC;gBACN,IAAI,CAAC,6BAA6B,GAAG,IAAI,CAAC,CAAC,wEAAwE;YACrH,CAAC;QACH,CAAC;KAAA;IAEM,iBAAiB,CAAC,MAAoB;QAC3C,IAAI,MAAM,KAAK,KAAK,EAAE,CAAC;YACrB,IAAI,CAAC,cAAc,EAAE,CAAC;QACxB,CAAC;QACD,IAAI,CAAC,6BAA6B,GAAG,KAAK,CAAC;IAC7C,CAAC;;gHAhCU,gCAAgC;mFAAhC,gCAAgC;QClB7C,+EAAe;;QAAf,uCAgEC;;iFD9CY,gCAAgC;cAL5C,SAAS;2BACE,4BAA4B;kDAK7B,SAAS;kBAAjB,KAAK;;kFADK,gCAAgC"}
|
|
@@ -15,8 +15,13 @@ export declare class SkipDynamicReportWrapperComponent {
|
|
|
15
15
|
* Event emitted when the user clicks on a matching report and the application needs to handle the navigation
|
|
16
16
|
*/
|
|
17
17
|
NavigateToMatchingReport: EventEmitter<string>;
|
|
18
|
+
/**
|
|
19
|
+
* This event fires whenever a new report is created.
|
|
20
|
+
*/
|
|
21
|
+
NewReportCreated: EventEmitter<string>;
|
|
18
22
|
bubbleNavigateToMatchingReport(reportID: string): void;
|
|
23
|
+
bubbleNewReportCreated(reportID: string): void;
|
|
19
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkipDynamicReportWrapperComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkipDynamicReportWrapperComponent, "skip-dynamic-report", never, { "SkipData": { "alias": "SkipData"; "required": false; }; "ConversationID": { "alias": "ConversationID"; "required": false; }; "ConversationName": { "alias": "ConversationName"; "required": false; }; "ConversationDetailID": { "alias": "ConversationDetailID"; "required": false; }; "DataContext": { "alias": "DataContext"; "required": false; }; "AllowDrillDown": { "alias": "AllowDrillDown"; "required": false; }; "Provider": { "alias": "Provider"; "required": false; }; }, { "NavigateToMatchingReport": "NavigateToMatchingReport"; }, never, never, false, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkipDynamicReportWrapperComponent, "skip-dynamic-report", never, { "SkipData": { "alias": "SkipData"; "required": false; }; "ConversationID": { "alias": "ConversationID"; "required": false; }; "ConversationName": { "alias": "ConversationName"; "required": false; }; "ConversationDetailID": { "alias": "ConversationDetailID"; "required": false; }; "DataContext": { "alias": "DataContext"; "required": false; }; "AllowDrillDown": { "alias": "AllowDrillDown"; "required": false; }; "Provider": { "alias": "Provider"; "required": false; }; }, { "NavigateToMatchingReport": "NavigateToMatchingReport"; "NewReportCreated": "NewReportCreated"; }, never, never, false, never>;
|
|
21
26
|
}
|
|
22
27
|
//# sourceMappingURL=skip-dynamic-report-wrapper.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skip-dynamic-report-wrapper.d.ts","sourceRoot":"","sources":["../../../src/lib/dynamic-report/skip-dynamic-report-wrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,+BAA+B,EAAE,MAAM,4BAA4B,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;;AAGzD,
|
|
1
|
+
{"version":3,"file":"skip-dynamic-report-wrapper.d.ts","sourceRoot":"","sources":["../../../src/lib/dynamic-report/skip-dynamic-report-wrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,+BAA+B,EAAE,MAAM,4BAA4B,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;;AAGzD,qBA0Ba,iCAAiC;IACjC,QAAQ,EAAE,+BAA+B,GAAG,SAAS,CAAC;IACtD,cAAc,EAAE,MAAM,GAAG,IAAI,CAAQ;IACrC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAQ;IACvC,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAC3C,WAAW,EAAG,WAAW,CAAC;IAC1B,cAAc,EAAE,OAAO,CAAQ;IAC/B,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAAQ;IAEnD;;OAEG;IACO,wBAAwB,uBAA8B;IAEhE;;OAEG;IACO,gBAAgB,uBAA8B;IAEjD,8BAA8B,CAAC,QAAQ,EAAE,MAAM;IAG/C,sBAAsB,CAAC,QAAQ,EAAE,MAAM;yCAtBrC,iCAAiC;2CAAjC,iCAAiC;CAyB7C"}
|
|
@@ -12,15 +12,22 @@ export class SkipDynamicReportWrapperComponent {
|
|
|
12
12
|
* Event emitted when the user clicks on a matching report and the application needs to handle the navigation
|
|
13
13
|
*/
|
|
14
14
|
this.NavigateToMatchingReport = new EventEmitter();
|
|
15
|
+
/**
|
|
16
|
+
* This event fires whenever a new report is created.
|
|
17
|
+
*/
|
|
18
|
+
this.NewReportCreated = new EventEmitter();
|
|
15
19
|
}
|
|
16
20
|
bubbleNavigateToMatchingReport(reportID) {
|
|
17
21
|
this.NavigateToMatchingReport.emit(reportID);
|
|
18
22
|
}
|
|
23
|
+
bubbleNewReportCreated(reportID) {
|
|
24
|
+
this.NewReportCreated.emit(reportID);
|
|
25
|
+
}
|
|
19
26
|
}
|
|
20
27
|
SkipDynamicReportWrapperComponent.ɵfac = function SkipDynamicReportWrapperComponent_Factory(t) { return new (t || SkipDynamicReportWrapperComponent)(); };
|
|
21
|
-
SkipDynamicReportWrapperComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SkipDynamicReportWrapperComponent, selectors: [["skip-dynamic-report"]], inputs: { SkipData: "SkipData", ConversationID: "ConversationID", ConversationName: "ConversationName", ConversationDetailID: "ConversationDetailID", DataContext: "DataContext", AllowDrillDown: "AllowDrillDown", Provider: "Provider" }, outputs: { NavigateToMatchingReport: "NavigateToMatchingReport" }, decls: 2, vars: 8, consts: [[1, "skip-dynamic-report-wrapper"], [3, "NavigateToMatchingReport", "SkipData", "ConversationID", "ConversationName", "ConversationDetailID", "DataContext", "ShowCreateReportButton", "ExpandAll", "Provider"]], template: function SkipDynamicReportWrapperComponent_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
+
SkipDynamicReportWrapperComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SkipDynamicReportWrapperComponent, selectors: [["skip-dynamic-report"]], inputs: { SkipData: "SkipData", ConversationID: "ConversationID", ConversationName: "ConversationName", ConversationDetailID: "ConversationDetailID", DataContext: "DataContext", AllowDrillDown: "AllowDrillDown", Provider: "Provider" }, outputs: { NavigateToMatchingReport: "NavigateToMatchingReport", NewReportCreated: "NewReportCreated" }, decls: 2, vars: 8, consts: [[1, "skip-dynamic-report-wrapper"], [3, "NavigateToMatchingReport", "NewReportCreated", "SkipData", "ConversationID", "ConversationName", "ConversationDetailID", "DataContext", "ShowCreateReportButton", "ExpandAll", "Provider"]], template: function SkipDynamicReportWrapperComponent_Template(rf, ctx) { if (rf & 1) {
|
|
22
29
|
i0.ɵɵelementStart(0, "div", 0)(1, "skip-dynamic-linear-report", 1);
|
|
23
|
-
i0.ɵɵlistener("NavigateToMatchingReport", function SkipDynamicReportWrapperComponent_Template_skip_dynamic_linear_report_NavigateToMatchingReport_1_listener($event) { return ctx.bubbleNavigateToMatchingReport($event); });
|
|
30
|
+
i0.ɵɵlistener("NavigateToMatchingReport", function SkipDynamicReportWrapperComponent_Template_skip_dynamic_linear_report_NavigateToMatchingReport_1_listener($event) { return ctx.bubbleNavigateToMatchingReport($event); })("NewReportCreated", function SkipDynamicReportWrapperComponent_Template_skip_dynamic_linear_report_NewReportCreated_1_listener($event) { return ctx.bubbleNewReportCreated($event); });
|
|
24
31
|
i0.ɵɵelementEnd()();
|
|
25
32
|
} if (rf & 2) {
|
|
26
33
|
i0.ɵɵadvance();
|
|
@@ -40,6 +47,7 @@ SkipDynamicReportWrapperComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({
|
|
|
40
47
|
[ExpandAll]="true"
|
|
41
48
|
[Provider]="Provider"
|
|
42
49
|
(NavigateToMatchingReport)="bubbleNavigateToMatchingReport($event)"
|
|
50
|
+
(NewReportCreated)="bubbleNewReportCreated($event)"
|
|
43
51
|
></skip-dynamic-linear-report>
|
|
44
52
|
</div>
|
|
45
53
|
`, styles: [".report-tab-title { margin-left: 10px;}", ".skip-dynamic-report-container {\n display: block;\n margin-right: 20px;\n }"] }]
|
|
@@ -59,6 +67,8 @@ SkipDynamicReportWrapperComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({
|
|
|
59
67
|
type: Input
|
|
60
68
|
}], NavigateToMatchingReport: [{
|
|
61
69
|
type: Output
|
|
70
|
+
}], NewReportCreated: [{
|
|
71
|
+
type: Output
|
|
62
72
|
}] }); })();
|
|
63
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SkipDynamicReportWrapperComponent, { className: "SkipDynamicReportWrapperComponent", filePath: "src/lib/dynamic-report/skip-dynamic-report-wrapper.ts", lineNumber:
|
|
73
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SkipDynamicReportWrapperComponent, { className: "SkipDynamicReportWrapperComponent", filePath: "src/lib/dynamic-report/skip-dynamic-report-wrapper.ts", lineNumber: 33 }); })();
|
|
64
74
|
//# sourceMappingURL=skip-dynamic-report-wrapper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skip-dynamic-report-wrapper.js","sourceRoot":"","sources":["../../../src/lib/dynamic-report/skip-dynamic-report-wrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;;;
|
|
1
|
+
{"version":3,"file":"skip-dynamic-report-wrapper.js","sourceRoot":"","sources":["../../../src/lib/dynamic-report/skip-dynamic-report-wrapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;;;AAgCvE,MAAM,OAAO,iCAAiC;IA1B9C;QA4Ba,mBAAc,GAAkB,IAAI,CAAC;QACrC,qBAAgB,GAAkB,IAAI,CAAC;QACvC,yBAAoB,GAAkB,IAAI,CAAC;QAE3C,mBAAc,GAAY,IAAI,CAAC;QAC/B,aAAQ,GAA6B,IAAI,CAAC;QAEnD;;WAEG;QACO,6BAAwB,GAAG,IAAI,YAAY,EAAU,CAAC;QAEhE;;WAEG;QACO,qBAAgB,GAAG,IAAI,YAAY,EAAU,CAAC;KAQ3D;IANU,8BAA8B,CAAC,QAAgB;QAClD,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACjD,CAAC;IACM,sBAAsB,CAAC,QAAgB;QAC1C,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACzC,CAAC;;kHAxBQ,iCAAiC;oFAAjC,iCAAiC;QAf1C,AADJ,8BAAyC,oCAYpC;QADG,AADA,8KAA4B,0CAAsC,IAAC,iJAC/C,kCAA8B,IAAC;QAE3D,AADK,iBAA6B,EAC5B;;QAXE,cAAqB;QAOrB,AADA,AADA,AADA,AADA,AADA,AADA,AADA,uCAAqB,sCACY,0CACI,kDACQ,gCAClB,gCACI,mBACb,0BACG;;iFAOhB,iCAAiC;cA1B7C,SAAS;2BACE,qBAAqB,YAQrB;;;;;;;;;;;;;;;CAeX;gBAGY,QAAQ;kBAAhB,KAAK;YACG,cAAc;kBAAtB,KAAK;YACG,gBAAgB;kBAAxB,KAAK;YACG,oBAAoB;kBAA5B,KAAK;YACG,WAAW;kBAAnB,KAAK;YACG,cAAc;kBAAtB,KAAK;YACG,QAAQ;kBAAhB,KAAK;YAKI,wBAAwB;kBAAjC,MAAM;YAKG,gBAAgB;kBAAzB,MAAM;;kFAjBE,iCAAiC"}
|
package/dist/lib/module.d.ts
CHANGED
|
@@ -21,9 +21,10 @@ import * as i19 from "angular-plotly.js";
|
|
|
21
21
|
import * as i20 from "@memberjunction/ng-data-context";
|
|
22
22
|
import * as i21 from "@angular/cdk/overlay";
|
|
23
23
|
import * as i22 from "@progress/kendo-angular-excel-export";
|
|
24
|
+
import * as i23 from "ngx-markdown";
|
|
24
25
|
export declare class SkipChatModule {
|
|
25
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkipChatModule, never>;
|
|
26
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkipChatModule, [typeof i1.SkipChatComponent, typeof i2.SkipSingleMessageComponent, typeof i3.SkipDynamicLinearReportComponent, typeof i4.SkipDynamicReportWrapperComponent, typeof i5.SkipDynamicChartComponent, typeof i6.SkipDynamicGridComponent], [typeof i7.CommonModule, typeof i8.LayoutModule, typeof i9.FormsModule, typeof i10.IndicatorsModule, typeof i11.DialogsModule, typeof i12.InputsModule, typeof i13.LabelModule, typeof i14.ContainerDirectivesModule, typeof i15.ListViewModule, typeof i16.DropDownsModule, typeof i17.GridModule, typeof i18.ButtonsModule, typeof i19.PlotlyViaCDNModule, typeof i20.DataContextModule, typeof i21.OverlayModule, typeof i22.ExcelExportModule], [typeof i1.SkipChatComponent, typeof i2.SkipSingleMessageComponent, typeof i3.SkipDynamicLinearReportComponent, typeof i4.SkipDynamicReportWrapperComponent, typeof i5.SkipDynamicChartComponent, typeof i6.SkipDynamicGridComponent]>;
|
|
27
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkipChatModule, [typeof i1.SkipChatComponent, typeof i2.SkipSingleMessageComponent, typeof i3.SkipDynamicLinearReportComponent, typeof i4.SkipDynamicReportWrapperComponent, typeof i5.SkipDynamicChartComponent, typeof i6.SkipDynamicGridComponent], [typeof i7.CommonModule, typeof i8.LayoutModule, typeof i9.FormsModule, typeof i10.IndicatorsModule, typeof i11.DialogsModule, typeof i12.InputsModule, typeof i13.LabelModule, typeof i14.ContainerDirectivesModule, typeof i15.ListViewModule, typeof i16.DropDownsModule, typeof i17.GridModule, typeof i18.ButtonsModule, typeof i19.PlotlyViaCDNModule, typeof i20.DataContextModule, typeof i21.OverlayModule, typeof i22.ExcelExportModule, typeof i23.MarkdownModule], [typeof i1.SkipChatComponent, typeof i2.SkipSingleMessageComponent, typeof i3.SkipDynamicLinearReportComponent, typeof i4.SkipDynamicReportWrapperComponent, typeof i5.SkipDynamicChartComponent, typeof i6.SkipDynamicGridComponent]>;
|
|
27
28
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkipChatModule>;
|
|
28
29
|
}
|
|
29
30
|
//# sourceMappingURL=module.d.ts.map
|
package/dist/lib/module.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/lib/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../src/lib/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AA0CA,qBAqCa,cAAc;yCAAd,cAAc;0CAAd,cAAc;0CAAd,cAAc;CAC1B"}
|
package/dist/lib/module.js
CHANGED
|
@@ -19,7 +19,7 @@ import { LayoutModule } from '@progress/kendo-angular-layout';
|
|
|
19
19
|
import { PlotlyViaCDNModule } from 'angular-plotly.js';
|
|
20
20
|
/*********************************************/
|
|
21
21
|
// Markdown
|
|
22
|
-
|
|
22
|
+
import { MarkdownModule } from 'ngx-markdown';
|
|
23
23
|
// MJ
|
|
24
24
|
import { ContainerDirectivesModule } from '@memberjunction/ng-container-directives';
|
|
25
25
|
import { DataContextModule } from '@memberjunction/ng-data-context';
|
|
@@ -31,6 +31,7 @@ import { SkipDynamicLinearReportComponent } from './dynamic-report/linear-report
|
|
|
31
31
|
import { SkipDynamicChartComponent } from './dynamic-report/dynamic-chart';
|
|
32
32
|
import { SkipDynamicGridComponent } from './dynamic-report/dynamic-grid';
|
|
33
33
|
import * as i0 from "@angular/core";
|
|
34
|
+
import * as i1 from "ngx-markdown";
|
|
34
35
|
PlotlyViaCDNModule.setPlotlyVersion('latest'); // can be `latest` or any version number (i.e.: '1.40.0')
|
|
35
36
|
PlotlyViaCDNModule.setPlotlyBundle(null); // optional: can be null (for full) or 'basic', 'cartesian', 'geo', 'gl3d', 'gl2d', 'mapbox' or 'finance'
|
|
36
37
|
export class SkipChatModule {
|
|
@@ -52,7 +53,8 @@ SkipChatModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonMod
|
|
|
52
53
|
PlotlyViaCDNModule,
|
|
53
54
|
DataContextModule,
|
|
54
55
|
OverlayModule,
|
|
55
|
-
ExcelExportModule
|
|
56
|
+
ExcelExportModule,
|
|
57
|
+
MarkdownModule.forRoot()] });
|
|
56
58
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SkipChatModule, [{
|
|
57
59
|
type: NgModule,
|
|
58
60
|
args: [{
|
|
@@ -81,7 +83,7 @@ SkipChatModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonMod
|
|
|
81
83
|
DataContextModule,
|
|
82
84
|
OverlayModule,
|
|
83
85
|
ExcelExportModule,
|
|
84
|
-
|
|
86
|
+
MarkdownModule.forRoot(),
|
|
85
87
|
],
|
|
86
88
|
exports: [
|
|
87
89
|
SkipChatComponent,
|
|
@@ -113,7 +115,7 @@ SkipChatModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonMod
|
|
|
113
115
|
PlotlyViaCDNModule,
|
|
114
116
|
DataContextModule,
|
|
115
117
|
OverlayModule,
|
|
116
|
-
ExcelExportModule], exports: [SkipChatComponent,
|
|
118
|
+
ExcelExportModule, i1.MarkdownModule], exports: [SkipChatComponent,
|
|
117
119
|
SkipSingleMessageComponent,
|
|
118
120
|
SkipDynamicLinearReportComponent,
|
|
119
121
|
SkipDynamicReportWrapperComponent,
|
package/dist/lib/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/lib/module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,+CAA+C;AAC/C,2BAA2B;AAC3B,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAE9D,+CAA+C;AAC/C,SAAS;AACT,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAKvD,+CAA+C;AAC/C,WAAW;AACX,
|
|
1
|
+
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/lib/module.ts"],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AAY;QACZ,WAAW;QACX,gBAAgB;QAChB,aAAa;QACb,YAAY;QACZ,WAAW;QACX,yBAAyB;QACzB,cAAc;QACd,eAAe;QACf,UAAU;QACV,aAAa;QACb,kBAAkB;QAClB,iBAAiB;QACjB,aAAa;QACb,iBAAiB,gCAIjB,iBAAiB;QACjB,0BAA0B;QAC1B,gCAAgC;QAChC,iCAAiC;QACjC,yBAAyB;QACzB,wBAAwB"}
|
|
@@ -63,6 +63,10 @@ export declare class SkipChatComponent extends BaseAngularComponent implements O
|
|
|
63
63
|
* Event emitted whenever a conversation is selected
|
|
64
64
|
*/
|
|
65
65
|
ConversationSelected: EventEmitter<string>;
|
|
66
|
+
/**
|
|
67
|
+
* This event fires whenever a new report is created.
|
|
68
|
+
*/
|
|
69
|
+
NewReportCreated: EventEmitter<string>;
|
|
66
70
|
askSkip: Container;
|
|
67
71
|
askSkipPanel: ElementRef;
|
|
68
72
|
mjContainerRef: ViewContainerRef;
|
|
@@ -140,12 +144,15 @@ export declare class SkipChatComponent extends BaseAngularComponent implements O
|
|
|
140
144
|
private static _startMessages;
|
|
141
145
|
private _usedStartMessages;
|
|
142
146
|
private pickSkipStartMessage;
|
|
147
|
+
protected setProcessingStatus(conversationId: string, status: boolean): void;
|
|
143
148
|
sendPrompt(val: string): Promise<void>;
|
|
144
149
|
sendSkipMessage(): Promise<void>;
|
|
145
150
|
ClearMessages(): void;
|
|
146
151
|
AddMessageToCurrentConversation(detail: ConversationDetailEntity, stopChangeDetection: boolean, cacheMessage: boolean): void;
|
|
147
152
|
RemoveMessageFromCurrentConversation(detail: ConversationDetailEntity): void;
|
|
148
153
|
protected RemoveMessageFromPanel(messageDetail: ConversationDetailEntity): void;
|
|
154
|
+
protected UpdatePanelMessage(messageDetail: ConversationDetailEntity, invokeChangeDetection?: boolean): void;
|
|
155
|
+
protected UpdateAllPanelMessages(): void;
|
|
149
156
|
protected AddMessageToPanel(messageDetail: ConversationDetailEntity, stopChangeDetection: boolean): void;
|
|
150
157
|
checkScroll(): void;
|
|
151
158
|
scrollToBottom(): void;
|
|
@@ -163,7 +170,16 @@ export declare class SkipChatComponent extends BaseAngularComponent implements O
|
|
|
163
170
|
ngOnDetach(): void;
|
|
164
171
|
ngOnAttach(): void;
|
|
165
172
|
private onNavBackToCachedComponent;
|
|
173
|
+
confirmMessageEditOrDeleteDialogOpen: boolean;
|
|
174
|
+
messageToEditOrDelete: ConversationDetailEntity | undefined;
|
|
175
|
+
messageEditOrDeleteType: 'edit' | 'delete';
|
|
176
|
+
HandleMessageEditOrDeleteRequest(message: ConversationDetailEntity, type: 'edit' | 'delete'): void;
|
|
177
|
+
HandleMessageEditRequest(message: ConversationDetailEntity): void;
|
|
178
|
+
HandleMessageDeleteRequest(message: ConversationDetailEntity): void;
|
|
179
|
+
closeMessageEditOrDeleteDialog(yesno: 'yes' | 'no'): void;
|
|
180
|
+
protected editMessage(message: ConversationDetailEntity): Promise<void>;
|
|
181
|
+
protected deleteMessage(message: ConversationDetailEntity): Promise<void>;
|
|
166
182
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkipChatComponent, never>;
|
|
167
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkipChatComponent, "skip-chat", never, { "AllowSend": { "alias": "AllowSend"; "required": false; }; "Messages": { "alias": "Messages"; "required": false; }; "Conversations": { "alias": "Conversations"; "required": false; }; "SelectedConversation": { "alias": "SelectedConversation"; "required": false; }; "ConversationEditMode": { "alias": "ConversationEditMode"; "required": false; }; "ShowConversationList": { "alias": "ShowConversationList"; "required": false; }; "AllowNewConversations": { "alias": "AllowNewConversations"; "required": false; }; "Title": { "alias": "Title"; "required": false; }; "DataContextID": { "alias": "DataContextID"; "required": false; }; "LinkedEntity": { "alias": "LinkedEntity"; "required": false; }; "LinkedEntityCompositeKey": { "alias": "LinkedEntityCompositeKey"; "required": false; }; "ShowDataContextButton": { "alias": "ShowDataContextButton"; "required": false; }; "IncludeLinkedConversationsInList": { "alias": "IncludeLinkedConversationsInList"; "required": false; }; "SkipLogoURL": { "alias": "SkipLogoURL"; "required": false; }; "SkipMarkOnlyLogoURL": { "alias": "SkipMarkOnlyLogoURL"; "required": false; }; "UserImage": { "alias": "UserImage"; "required": false; }; "UpdateAppRoute": { "alias": "UpdateAppRoute"; "required": false; }; "ShowSkipLogoInConversationList": { "alias": "ShowSkipLogoInConversationList"; "required": false; }; "DefaultTextboxPlaceholder": { "alias": "DefaultTextboxPlaceholder"; "required": false; }; "ProcessingTextBoxPlaceholder": { "alias": "ProcessingTextBoxPlaceholder"; "required": false; }; "WelcomeQuestions": { "alias": "WelcomeQuestions"; "required": false; }; "AutoLoad": { "alias": "AutoLoad"; "required": false; }; }, { "NavigateToMatchingReport": "NavigateToMatchingReport"; "ConversationSelected": "ConversationSelected"; }, never, never, false, never>;
|
|
183
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkipChatComponent, "skip-chat", never, { "AllowSend": { "alias": "AllowSend"; "required": false; }; "Messages": { "alias": "Messages"; "required": false; }; "Conversations": { "alias": "Conversations"; "required": false; }; "SelectedConversation": { "alias": "SelectedConversation"; "required": false; }; "ConversationEditMode": { "alias": "ConversationEditMode"; "required": false; }; "ShowConversationList": { "alias": "ShowConversationList"; "required": false; }; "AllowNewConversations": { "alias": "AllowNewConversations"; "required": false; }; "Title": { "alias": "Title"; "required": false; }; "DataContextID": { "alias": "DataContextID"; "required": false; }; "LinkedEntity": { "alias": "LinkedEntity"; "required": false; }; "LinkedEntityCompositeKey": { "alias": "LinkedEntityCompositeKey"; "required": false; }; "ShowDataContextButton": { "alias": "ShowDataContextButton"; "required": false; }; "IncludeLinkedConversationsInList": { "alias": "IncludeLinkedConversationsInList"; "required": false; }; "SkipLogoURL": { "alias": "SkipLogoURL"; "required": false; }; "SkipMarkOnlyLogoURL": { "alias": "SkipMarkOnlyLogoURL"; "required": false; }; "UserImage": { "alias": "UserImage"; "required": false; }; "UpdateAppRoute": { "alias": "UpdateAppRoute"; "required": false; }; "ShowSkipLogoInConversationList": { "alias": "ShowSkipLogoInConversationList"; "required": false; }; "DefaultTextboxPlaceholder": { "alias": "DefaultTextboxPlaceholder"; "required": false; }; "ProcessingTextBoxPlaceholder": { "alias": "ProcessingTextBoxPlaceholder"; "required": false; }; "WelcomeQuestions": { "alias": "WelcomeQuestions"; "required": false; }; "AutoLoad": { "alias": "AutoLoad"; "required": false; }; }, { "NavigateToMatchingReport": "NavigateToMatchingReport"; "ConversationSelected": "ConversationSelected"; "NewReportCreated": "NewReportCreated"; }, never, never, false, never>;
|
|
168
184
|
}
|
|
169
185
|
//# sourceMappingURL=skip-chat.component.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skip-chat.component.d.ts","sourceRoot":"","sources":["../../../src/lib/skip-chat/skip-chat.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,gBAAgB,EAEhB,MAAM,EAEN,gBAAgB,EAChB,SAAS,EACT,UAAU,EACV,SAAS,EAET,iBAAiB,EAEjB,YAAY,EACb,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAiB,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAY,QAAQ,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,wBAAwB,EAAE,kBAAkB,EAA4C,MAAM,+BAA+B,CAAC;AAEvI,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAIpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAOrE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;;AAEzE,qBAKa,iBAAkB,SAAQ,oBAAqB,YAAW,MAAM,EAAE,aAAa,EAAE,gBAAg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