@memberjunction/ng-skip-chat 2.13.4 → 2.15.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 (57) hide show
  1. package/dist/lib/drill-down-info.d.ts +14 -0
  2. package/dist/lib/drill-down-info.d.ts.map +1 -0
  3. package/dist/lib/drill-down-info.js +19 -0
  4. package/dist/lib/drill-down-info.js.map +1 -0
  5. package/dist/lib/dynamic-report/base-report.d.ts +73 -0
  6. package/dist/lib/dynamic-report/base-report.d.ts.map +1 -0
  7. package/dist/lib/dynamic-report/base-report.js +257 -0
  8. package/dist/lib/dynamic-report/base-report.js.map +1 -0
  9. package/dist/lib/dynamic-report/dynamic-chart.d.ts +32 -0
  10. package/dist/lib/dynamic-report/dynamic-chart.d.ts.map +1 -0
  11. package/dist/lib/dynamic-report/dynamic-chart.js +202 -0
  12. package/dist/lib/dynamic-report/dynamic-chart.js.map +1 -0
  13. package/dist/lib/dynamic-report/dynamic-grid.d.ts +36 -0
  14. package/dist/lib/dynamic-report/dynamic-grid.d.ts.map +1 -0
  15. package/dist/lib/dynamic-report/dynamic-grid.js +397 -0
  16. package/dist/lib/dynamic-report/dynamic-grid.js.map +1 -0
  17. package/dist/lib/dynamic-report/linear-report.d.ts +18 -0
  18. package/dist/lib/dynamic-report/linear-report.d.ts.map +1 -0
  19. package/dist/lib/dynamic-report/linear-report.js +179 -0
  20. package/dist/lib/dynamic-report/linear-report.js.map +1 -0
  21. package/dist/lib/dynamic-report/skip-dynamic-report-wrapper.d.ts +22 -0
  22. package/dist/lib/dynamic-report/skip-dynamic-report-wrapper.d.ts.map +1 -0
  23. package/dist/lib/dynamic-report/skip-dynamic-report-wrapper.js +64 -0
  24. package/dist/lib/dynamic-report/skip-dynamic-report-wrapper.js.map +1 -0
  25. package/dist/lib/module.d.ts +26 -9
  26. package/dist/lib/module.d.ts.map +1 -1
  27. package/dist/lib/module.js +110 -22
  28. package/dist/lib/module.js.map +1 -1
  29. package/dist/lib/skip-chat/skip-chat.component.d.ts +155 -0
  30. package/dist/lib/skip-chat/skip-chat.component.d.ts.map +1 -0
  31. package/dist/lib/skip-chat/skip-chat.component.js +1404 -0
  32. package/dist/lib/skip-chat/skip-chat.component.js.map +1 -0
  33. package/dist/lib/skip-single-message/skip-single-message.component.d.ts +64 -0
  34. package/dist/lib/skip-single-message/skip-single-message.component.d.ts.map +1 -0
  35. package/dist/lib/skip-single-message/skip-single-message.component.js +318 -0
  36. package/dist/lib/skip-single-message/skip-single-message.component.js.map +1 -0
  37. package/dist/public-api.d.ts +7 -4
  38. package/dist/public-api.d.ts.map +1 -1
  39. package/dist/public-api.js +7 -4
  40. package/dist/public-api.js.map +1 -1
  41. package/package.json +23 -4
  42. package/dist/lib/tab/tab.component.d.ts +0 -55
  43. package/dist/lib/tab/tab.component.d.ts.map +0 -1
  44. package/dist/lib/tab/tab.component.js +0 -138
  45. package/dist/lib/tab/tab.component.js.map +0 -1
  46. package/dist/lib/tab-body/tab-body.component.d.ts +0 -13
  47. package/dist/lib/tab-body/tab-body.component.d.ts.map +0 -1
  48. package/dist/lib/tab-body/tab-body.component.js +0 -38
  49. package/dist/lib/tab-body/tab-body.component.js.map +0 -1
  50. package/dist/lib/tab-strip/tab-strip.component.d.ts +0 -117
  51. package/dist/lib/tab-strip/tab-strip.component.d.ts.map +0 -1
  52. package/dist/lib/tab-strip/tab-strip.component.js +0 -404
  53. package/dist/lib/tab-strip/tab-strip.component.js.map +0 -1
  54. package/dist/lib/tab.base.d.ts +0 -4
  55. package/dist/lib/tab.base.d.ts.map +0 -1
  56. package/dist/lib/tab.base.js +0 -3
  57. package/dist/lib/tab.base.js.map +0 -1
@@ -1,55 +0,0 @@
1
- import { ChangeDetectorRef, ElementRef } from '@angular/core';
2
- import { MJTabBase } from '../tab.base';
3
- import { MJTabStripComponent } from '../tab-strip/tab-strip.component';
4
- import * as i0 from "@angular/core";
5
- /**
6
- * Represents the tab in the header of a given tab strip
7
- */
8
- export declare class MJTabComponent extends MJTabBase {
9
- private tabstrip;
10
- private cdr;
11
- elementRef: ElementRef;
12
- private _tabSelected;
13
- /**
14
- * Determines if the tab is currently selected or not. This is set by the TabStrip component automatically when the SelectedTabIndex is set, do not set this directly.
15
- */
16
- get TabSelected(): boolean;
17
- set TabSelected(value: boolean);
18
- private _visible;
19
- get Visible(): boolean;
20
- set Visible(value: boolean);
21
- private _name;
22
- get Name(): string;
23
- set Name(value: string);
24
- private _id;
25
- get ID(): any;
26
- set ID(value: any);
27
- private _props;
28
- /**
29
- * A property bag that can be used to store any additional properties that you want to associate with this tab.
30
- */
31
- get Props(): any;
32
- set Props(value: any);
33
- /**
34
- * Determines if the tab can be closed by a user, or not. Defaults to false.
35
- */
36
- TabCloseable: boolean;
37
- /**
38
- * Returns a reference to the tab strip that this tab belongs to.
39
- */
40
- get TabStrip(): MJTabStripComponent;
41
- constructor(tabstrip: MJTabStripComponent, cdr: ChangeDetectorRef, elementRef: ElementRef);
42
- /**
43
- * Event handler for when this tab is clicked to select it, generally not a great idea to call this directly, but it is possible to call directly to simulate a click.
44
- * The preferred approach is to set the SelectedTabIndex property on the TabStrip component directly.
45
- */
46
- selectTab(): void;
47
- /**
48
- * Event handler for when the close button is clicked on the tab. This will fire the BeforeTabClosed event on the TabStrip component, and if it is not cancelled, will then fire the AfterTabClosed event.
49
- */
50
- closeTab($event: MouseEvent): void;
51
- handleContextMenu($event: MouseEvent): void;
52
- static ɵfac: i0.ɵɵFactoryDeclaration<MJTabComponent, [{ host: true; }, null, null]>;
53
- static ɵcmp: i0.ɵɵComponentDeclaration<MJTabComponent, "mj-tab", never, { "TabSelected": { "alias": "TabSelected"; "required": false; }; "Visible": { "alias": "Visible"; "required": false; }; "Name": { "alias": "Name"; "required": false; }; "ID": { "alias": "ID"; "required": false; }; "Props": { "alias": "Props"; "required": false; }; "TabCloseable": { "alias": "TabCloseable"; "required": false; }; }, {}, never, ["*"], false, never>;
54
- }
55
- //# sourceMappingURL=tab.component.d.ts.map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AE,UAAU;IAK3B,iBAAiB,CAAC,MAAM,EAAE,UAAU;yCA7FhC,cAAc;2CAAd,cAAc;CAiG1B"}
@@ -1,138 +0,0 @@
1
- import { Component, Input, Host } from '@angular/core';
2
- import { MJTabBase } from '../tab.base';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "../tab-strip/tab-strip.component";
5
- import * as i2 from "@angular/common";
6
- const _c0 = ["*"];
7
- const _c1 = a0 => ({ "single-tab-selected": a0 });
8
- function MJTabComponent_span_2_Template(rf, ctx) { if (rf & 1) {
9
- const _r1 = i0.ɵɵgetCurrentView();
10
- i0.ɵɵelementStart(0, "span", 2);
11
- i0.ɵɵlistener("click", function MJTabComponent_span_2_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.closeTab($event)); });
12
- i0.ɵɵtext(1, "\u2716");
13
- i0.ɵɵelementEnd();
14
- } }
15
- /**
16
- * Represents the tab in the header of a given tab strip
17
- */
18
- export class MJTabComponent extends MJTabBase {
19
- /**
20
- * Determines if the tab is currently selected or not. This is set by the TabStrip component automatically when the SelectedTabIndex is set, do not set this directly.
21
- */
22
- get TabSelected() {
23
- return this._tabSelected;
24
- }
25
- set TabSelected(value) {
26
- this._tabSelected = value;
27
- this.cdr.detectChanges(); // Manually trigger change detection to update the view
28
- }
29
- get Visible() {
30
- return this._visible;
31
- }
32
- set Visible(value) {
33
- this._visible = value;
34
- // whenever the visible property changes we need to set the display style to none if it is not visible and make sure
35
- // we're not selected and set to tab index of 0 if we're selected
36
- // Step 1 - get the elementRef and set our display to none
37
- if (!this._visible)
38
- this.elementRef.nativeElement.style.display = value ? "" : "none";
39
- else
40
- this.elementRef.nativeElement.style.display = "";
41
- // Step 2 - if we're not visible, make sure we're not selected
42
- if (!this._visible)
43
- this.tabstrip.SelectedTabIndex = 0;
44
- }
45
- get Name() {
46
- return this._name;
47
- }
48
- set Name(value) {
49
- this._name = value;
50
- }
51
- get ID() {
52
- return this._id;
53
- }
54
- set ID(value) {
55
- this._id = value;
56
- }
57
- /**
58
- * A property bag that can be used to store any additional properties that you want to associate with this tab.
59
- */
60
- get Props() {
61
- return this._props;
62
- }
63
- set Props(value) {
64
- this._props = value;
65
- }
66
- /**
67
- * Returns a reference to the tab strip that this tab belongs to.
68
- */
69
- get TabStrip() {
70
- return this.tabstrip;
71
- }
72
- constructor(tabstrip, cdr, elementRef) {
73
- super();
74
- this.tabstrip = tabstrip;
75
- this.cdr = cdr;
76
- this.elementRef = elementRef;
77
- this._tabSelected = false;
78
- this._visible = true;
79
- this._name = "";
80
- this._id = null;
81
- this._props = null;
82
- /**
83
- * Determines if the tab can be closed by a user, or not. Defaults to false.
84
- */
85
- this.TabCloseable = false;
86
- }
87
- /**
88
- * Event handler for when this tab is clicked to select it, generally not a great idea to call this directly, but it is possible to call directly to simulate a click.
89
- * The preferred approach is to set the SelectedTabIndex property on the TabStrip component directly.
90
- */
91
- selectTab() {
92
- this.tabstrip.SelectedTabIndex = this.index;
93
- }
94
- /**
95
- * Event handler for when the close button is clicked on the tab. This will fire the BeforeTabClosed event on the TabStrip component, and if it is not cancelled, will then fire the AfterTabClosed event.
96
- */
97
- closeTab($event) {
98
- $event.stopPropagation(); // prevent click from going to the tab
99
- this.tabstrip.CloseTab(this.index);
100
- }
101
- handleContextMenu($event) {
102
- $event.preventDefault();
103
- this.tabstrip.handleTabContextMenu($event, this);
104
- }
105
- }
106
- MJTabComponent.ɵfac = function MJTabComponent_Factory(t) { return new (t || MJTabComponent)(i0.ɵɵdirectiveInject(i1.MJTabStripComponent, 1), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i0.ElementRef)); };
107
- MJTabComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJTabComponent, selectors: [["mj-tab"]], inputs: { TabSelected: "TabSelected", Visible: "Visible", Name: "Name", ID: "ID", Props: "Props", TabCloseable: "TabCloseable" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls: 3, vars: 4, consts: [[1, "single-tab", 3, "click", "contextmenu", "ngClass"], ["class", "tab-close-button", 3, "click", 4, "ngIf"], [1, "tab-close-button", 3, "click"]], template: function MJTabComponent_Template(rf, ctx) { if (rf & 1) {
108
- i0.ɵɵprojectionDef();
109
- i0.ɵɵelementStart(0, "div", 0);
110
- i0.ɵɵlistener("click", function MJTabComponent_Template_div_click_0_listener() { return ctx.selectTab(); })("contextmenu", function MJTabComponent_Template_div_contextmenu_0_listener($event) { return ctx.handleContextMenu($event); });
111
- i0.ɵɵprojection(1);
112
- i0.ɵɵtemplate(2, MJTabComponent_span_2_Template, 2, 0, "span", 1);
113
- i0.ɵɵelementEnd();
114
- } if (rf & 2) {
115
- i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c1, ctx.TabSelected));
116
- i0.ɵɵadvance(2);
117
- i0.ɵɵproperty("ngIf", ctx.TabCloseable);
118
- } }, dependencies: [i2.NgClass, i2.NgIf], styles: [".single-tab[_ngcontent-%COMP%] {\n flex: 0 0 auto; \n\n cursor: pointer;\n height: 26px;\n margin-right: 1px;\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 5px;\n border-radius: 8px 8px 0 0;\n border-top: solid 1px #D5D8E5;;\n border-left: solid 1px #D5D8E5;;\n border-right: solid 1px #D5D8E5;;\n border-bottom: 0;\n background-color: #D5D8E5;\n font-size: 14px;\n }\n .single-tab[_ngcontent-%COMP%]:hover {\n color: #bb443c;\n }\n .single-tab-selected[_ngcontent-%COMP%] {\n background-color: #F5F6FA;\n font-weight: bold;\n }\n \n .tab-close-button[_ngcontent-%COMP%] {\n cursor: pointer;\n margin-left: 10px;\n padding: 2px;\n font-size: 12px;\n border-radius: 10px;\n color: black;\n }\n .tab-close-button[_ngcontent-%COMP%]:hover {\n background-color: lightgray;\n }"] });
119
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJTabComponent, [{
120
- type: Component,
121
- args: [{ selector: 'mj-tab', template: "<div class=\"single-tab\" [ngClass]=\"{'single-tab-selected': TabSelected}\" (click)=\"selectTab()\" (contextmenu)=\"handleContextMenu($event)\">\n <ng-content><!--CONTENT PROJECTION GOES HERE--></ng-content>\n <span *ngIf=\"TabCloseable\" class=\"tab-close-button\" (click)=\"closeTab($event)\" >\u2716</span>\n</div>", styles: ["\n .single-tab {\n flex: 0 0 auto; /* Prevent tabs from shrinking */\n cursor: pointer;\n height: 26px;\n margin-right: 1px;\n padding-left: 10px;\n padding-right: 10px;\n padding-top: 5px;\n border-radius: 8px 8px 0 0;\n border-top: solid 1px #D5D8E5;;\n border-left: solid 1px #D5D8E5;;\n border-right: solid 1px #D5D8E5;;\n border-bottom: 0;\n background-color: #D5D8E5;\n font-size: 14px;\n }\n .single-tab:hover {\n color: #bb443c;\n }\n .single-tab-selected {\n background-color: #F5F6FA;\n font-weight: bold;\n }\n \n .tab-close-button {\n cursor: pointer;\n margin-left: 10px;\n padding: 2px;\n font-size: 12px;\n border-radius: 10px;\n color: black;\n }\n .tab-close-button:hover {\n background-color: lightgray;\n }\n "] }]
122
- }], () => [{ type: i1.MJTabStripComponent, decorators: [{
123
- type: Host
124
- }] }, { type: i0.ChangeDetectorRef }, { type: i0.ElementRef }], { TabSelected: [{
125
- type: Input
126
- }], Visible: [{
127
- type: Input
128
- }], Name: [{
129
- type: Input
130
- }], ID: [{
131
- type: Input
132
- }], Props: [{
133
- type: Input
134
- }], TabCloseable: [{
135
- type: Input
136
- }] }); })();
137
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJTabComponent, { className: "MJTabComponent", filePath: "src/lib/tab/tab.component.ts", lineNumber: 13 }); })();
138
- //# sourceMappingURL=tab.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tab.component.js","sourceRoot":"","sources":["../../../src/lib/tab/tab.component.ts","../../../src/lib/tab/tab.component.html"],"names":[],"mappings":"AAAA,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,IAAC,6FAAgB,6BAAyB,IAAC;QACpI,kBAA4D;QAC5D,iEAAgF;QACpF,iBAAM;;QAHkB,qEAAgD;QAE7D,eAAkB;QAAlB,uCAAkB;;iFDUhB,cAAc;cAL1B,SAAS;2BACE,QAAQ;;sBA2EL,IAAI;8EAlEJ,WAAW;kBAAvB,KAAK;YASO,OAAO;kBAAnB,KAAK;YAoBO,IAAI;kBAAhB,KAAK;YAQO,EAAE;kBAAd,KAAK;YAWO,KAAK;kBAAjB,KAAK;YAUG,YAAY;kBAApB,KAAK;;kFA/DK,cAAc"}
@@ -1,13 +0,0 @@
1
- import { MJTabBase } from '../tab.base';
2
- import { MJTabStripComponent } from '../tab-strip/tab-strip.component';
3
- import * as i0 from "@angular/core";
4
- export declare class MJTabBodyComponent extends MJTabBase {
5
- private tabStrip;
6
- TabVisible: boolean;
7
- FillWidth: boolean;
8
- FillHeight: boolean;
9
- constructor(tabStrip: MJTabStripComponent);
10
- static ɵfac: i0.ɵɵFactoryDeclaration<MJTabBodyComponent, [{ host: true; }]>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<MJTabBodyComponent, "mj-tab-body", never, { "TabVisible": { "alias": "TabVisible"; "required": false; }; "FillWidth": { "alias": "FillWidth"; "required": false; }; "FillHeight": { "alias": "FillHeight"; "required": false; }; }, {}, never, ["*"], false, never>;
12
- }
13
- //# sourceMappingURL=tab-body.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tab-body.component.d.ts","sourceRoot":"","sources":["../../../src/lib/tab-body/tab-body.component.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;;AAEvE,qBAKa,kBAAmB,SAAQ,SAAS;IAM3B,OAAO,CAAC,QAAQ;IAL3B,UAAU,UAAS;IAEnB,SAAS,EAAE,OAAO,CAAQ;IAC1B,UAAU,EAAE,OAAO,CAAQ;gBAER,QAAQ,EAAE,mBAAmB;yCAN9C,kBAAkB;2CAAlB,kBAAkB;CAS9B"}
@@ -1,38 +0,0 @@
1
- import { Component, Input, Host } from '@angular/core';
2
- import { MJTabBase } from '../tab.base';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "../tab-strip/tab-strip.component";
5
- import * as i2 from "@memberjunction/ng-container-directives";
6
- const _c0 = ["*"];
7
- export class MJTabBodyComponent extends MJTabBase {
8
- constructor(tabStrip) {
9
- super();
10
- this.tabStrip = tabStrip;
11
- this.TabVisible = false;
12
- this.FillWidth = true;
13
- this.FillHeight = true;
14
- }
15
- }
16
- MJTabBodyComponent.ɵfac = function MJTabBodyComponent_Factory(t) { return new (t || MJTabBodyComponent)(i0.ɵɵdirectiveInject(i1.MJTabStripComponent, 1)); };
17
- MJTabBodyComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJTabBodyComponent, selectors: [["mj-tab-body"]], inputs: { TabVisible: "TabVisible", FillWidth: "FillWidth", FillHeight: "FillHeight" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls: 2, vars: 3, consts: [["mjFillContainer", "", 1, "tab-body", 3, "hidden", "fillHeight", "fillWidth"]], template: function MJTabBodyComponent_Template(rf, ctx) { if (rf & 1) {
18
- i0.ɵɵprojectionDef();
19
- i0.ɵɵelementStart(0, "div", 0);
20
- i0.ɵɵprojection(1);
21
- i0.ɵɵelementEnd();
22
- } if (rf & 2) {
23
- i0.ɵɵproperty("hidden", !ctx.TabVisible)("fillHeight", ctx.FillHeight)("fillWidth", ctx.FillWidth);
24
- } }, dependencies: [i2.FillContainer], styles: [".tab-body[_ngcontent-%COMP%] {\n border-top: 0;\n background-color: #F5F6FA; \n width: 100%;\n height: 200px;\n display: block;\n overflow: auto;\n }"] });
25
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJTabBodyComponent, [{
26
- type: Component,
27
- args: [{ selector: 'mj-tab-body', template: "<div class=\"tab-body\" [hidden]=\"!TabVisible\" mjFillContainer [fillHeight]=\"FillHeight\" [fillWidth]=\"FillWidth\">\n <ng-content><!--CONTENT PROJECTION GOES HERE--></ng-content>\n</div> ", styles: [" \n\n.tab-body {\n border-top: 0;\n background-color: #F5F6FA; \n width: 100%;\n height: 200px;\n display: block;\n overflow: auto;\n } "] }]
28
- }], () => [{ type: i1.MJTabStripComponent, decorators: [{
29
- type: Host
30
- }] }], { TabVisible: [{
31
- type: Input
32
- }], FillWidth: [{
33
- type: Input
34
- }], FillHeight: [{
35
- type: Input
36
- }] }); })();
37
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJTabBodyComponent, { className: "MJTabBodyComponent", filePath: "src/lib/tab-body/tab-body.component.ts", lineNumber: 11 }); })();
38
- //# sourceMappingURL=tab-body.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tab-body.component.js","sourceRoot":"","sources":["../../../src/lib/tab-body/tab-body.component.ts","../../../src/lib/tab-body/tab-body.component.html"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;;;;;AAQxC,MAAM,OAAO,kBAAmB,SAAQ,SAAS;IAM/C,YAA4B,QAA6B;QACvD,KAAK,EAAE,CAAC;QADkB,aAAQ,GAAR,QAAQ,CAAqB;QALhD,eAAU,GAAG,KAAK,CAAC;QAEnB,cAAS,GAAY,IAAI,CAAC;QAC1B,eAAU,GAAY,IAAI,CAAC;IAIpC,CAAC;;oFARU,kBAAkB;qEAAlB,kBAAkB;;QCV/B,8BAA+G;QAC3G,kBAA4D;QAChE,iBAAM;;QAFiF,AAA1B,AAAvC,wCAAsB,8BAA0C,4BAAwB;;iFDUjG,kBAAkB;cAL9B,SAAS;2BACE,aAAa;;sBAUV,IAAI;qBALR,UAAU;kBAAlB,KAAK;YAEG,SAAS;kBAAjB,KAAK;YACG,UAAU;kBAAlB,KAAK;;kFAJK,kBAAkB"}
@@ -1,117 +0,0 @@
1
- import { EventEmitter, QueryList, ElementRef, AfterContentInit, AfterContentChecked, AfterViewInit, ChangeDetectorRef } from '@angular/core';
2
- import { MJTabComponent } from '../tab/tab.component';
3
- import { MJTabBodyComponent } from '../tab-body/tab-body.component';
4
- import * as i0 from "@angular/core";
5
- export declare class TabEvent {
6
- index: number;
7
- tab: MJTabComponent | null;
8
- body: MJTabBodyComponent | null;
9
- }
10
- export declare class TabCancelableEvent extends TabEvent {
11
- cancel: boolean;
12
- }
13
- export declare class TabClosedEvent extends TabEvent {
14
- /**
15
- * This property provides the default calculation for what the new tab index will be and can be overriden by the container component to set a different value.
16
- */
17
- newTabIndex: number;
18
- /**
19
- * Whenever the container is done processing, it MUST call this done method to signal that it is done.
20
- */
21
- done: (error?: any) => {};
22
- }
23
- export declare class TabContextMenuEvent extends TabEvent {
24
- mouseEvent: MouseEvent;
25
- }
26
- export declare class MJTabStripComponent implements AfterContentInit, AfterContentChecked, AfterViewInit {
27
- private cdr;
28
- protected _selectedTabIndex: number;
29
- static OutputDebugInfo: boolean;
30
- protected static OutputDebugMessage(message: string): void;
31
- constructor(cdr: ChangeDetectorRef);
32
- FillWidth: boolean;
33
- FillHeight: boolean;
34
- /**
35
- * The index of the selected tab. You can get/set this value and it will change the displayed tab.
36
- */
37
- get SelectedTabIndex(): number;
38
- set SelectedTabIndex(index: number);
39
- /**
40
- * This method will attempt to set the current tab by name. If the tab is found, it will be selected and the method will return the tab object. If the tab is not found, the method will return undefined.
41
- * @param tabName
42
- * @returns
43
- */
44
- SelectTabByName(tabName: string): MJTabComponent | undefined;
45
- GetTabByName(tabName: string): MJTabComponent | undefined;
46
- protected innerRefreshTabVisibility(index: number): void;
47
- /**
48
- * This event is fired before a tab is selected. If you set cancel to true, the tab will not be selected.
49
- */
50
- BeforeTabSelected: EventEmitter<TabCancelableEvent>;
51
- /**
52
- * This event is fired when a tab is selected.
53
- */
54
- TabSelected: EventEmitter<TabEvent>;
55
- /**
56
- * This event is fired before a tab is closed. If you set cancel to true, the tab will not be closed.
57
- */
58
- BeforeTabClosed: EventEmitter<TabCancelableEvent>;
59
- /**
60
- * This event is fired after a tab is closed.
61
- */
62
- TabClosed: EventEmitter<TabClosedEvent>;
63
- /**
64
- * This event is fired when a tab is right-clicked and the context menu event from the tab header fires.
65
- */
66
- TabContextMenu: EventEmitter<TabContextMenuEvent>;
67
- /**
68
- * This event is fired whenever the tab control is scrolled left or right. This event can be invoked either due to a user clicking on the left/right buttons or by calling the scrollLeft/scrollRight methods, or by
69
- * the ScrollIntoView method being called.
70
- */
71
- TabScrolled: EventEmitter<any>;
72
- tabs: QueryList<MJTabComponent>;
73
- tabBodies: QueryList<MJTabBodyComponent>;
74
- private _viewInitialized;
75
- ngAfterViewInit(): void;
76
- ngAfterContentInit(): void;
77
- ngAfterContentChecked(): void;
78
- /**
79
- * Call this method if you are ever dynamically adding or removing tabs from the component over time using @if or *ngIf or other similar methods. This will force the tab strip to
80
- * re-evaluate the tabs and tab bodies and update the display accordingly.
81
- */
82
- RefreshTabs(): void;
83
- protected syncTabIndexes(): void;
84
- /**
85
- * Returns a read-only (copy) of the tabs in this tab strip.
86
- */
87
- get Tabs(): MJTabComponent[];
88
- /**
89
- * Returns a read-only (copy) of the tab bodies in this tab strip.
90
- */
91
- get TabBodies(): MJTabBodyComponent[];
92
- /**
93
- * Method will close the specified tab number. It is automatically called by a tab that has TabCloseable set to true, if the user clicks the close button, and can be called programatically as well.
94
- */
95
- CloseTab(tabIndex: number): Promise<void>;
96
- handleTabContextMenu($event: MouseEvent, tab: MJTabComponent): void;
97
- tabInnerContainer: ElementRef;
98
- showLeftButton: boolean;
99
- showRightButton: boolean;
100
- onResize(event: any): void;
101
- protected checkTabScrollButtons(): void;
102
- protected scrollTabHeader(scrollAmount: number): void;
103
- /**
104
- * This property determines how many pixels to scroll when the scrollLeft or scrollRight methods are called.
105
- */
106
- ScrollAmount: number;
107
- scrollLeft(): void;
108
- scrollRight(): void;
109
- /**
110
- * This method will scroll the specified tab index into view if it is not currently visible in the tab strip.
111
- * @param tabIndex
112
- */
113
- scrollIntoView(tabIndex: number): void;
114
- static ɵfac: i0.ɵɵFactoryDeclaration<MJTabStripComponent, never>;
115
- static ɵcmp: i0.ɵɵComponentDeclaration<MJTabStripComponent, "mj-tabstrip", never, { "FillWidth": { "alias": "FillWidth"; "required": false; }; "FillHeight": { "alias": "FillHeight"; "required": false; }; "SelectedTabIndex": { "alias": "SelectedTabIndex"; "required": false; }; "ScrollAmount": { "alias": "ScrollAmount"; "required": false; }; }, { "BeforeTabSelected": "BeforeTabSelected"; "TabSelected": "TabSelected"; "BeforeTabClosed": "BeforeTabClosed"; "TabClosed": "TabClosed"; "TabContextMenu": "TabContextMenu"; "TabScrolled": "TabScrolled"; }, ["tabs", "tabBodies"], ["mj-tab", "mj-tab-body"], false, never>;
116
- }
117
- //# sourceMappingURL=tab-strip.component.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tab-strip.component.d.ts","sourceRoot":"","sources":["../../../src/lib/tab-strip/tab-strip.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,YAAY,EAA2B,SAAS,EAA2B,UAAU,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACjN,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;;AAIpE,qBAAa,QAAQ;IACZ,KAAK,EAAG,MAAM,CAAC;IACf,GAAG,EAAE,cAAc,GAAG,IAAI,CAAQ;IAClC,IAAI,EAAE,kBAAkB,GAAG,IAAI,CAAQ;CAC/C;AACD,qBAAa,kBAAmB,SAAQ,QAAQ;IACvC,MAAM,EAAE,OAAO,CAAS;CAChC;AACD,qBAAa,cAAe,SAAQ,QAAQ;IAC1C;;OAEG;IAC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