@memberjunction/ng-skip-chat 2.13.4 → 2.14.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.
- package/dist/lib/drill-down-info.d.ts +14 -0
- package/dist/lib/drill-down-info.d.ts.map +1 -0
- package/dist/lib/drill-down-info.js +19 -0
- package/dist/lib/drill-down-info.js.map +1 -0
- package/dist/lib/dynamic-report/base-report.d.ts +67 -0
- package/dist/lib/dynamic-report/base-report.d.ts.map +1 -0
- package/dist/lib/dynamic-report/base-report.js +246 -0
- package/dist/lib/dynamic-report/base-report.js.map +1 -0
- package/dist/lib/dynamic-report/dynamic-chart.d.ts +32 -0
- package/dist/lib/dynamic-report/dynamic-chart.d.ts.map +1 -0
- package/dist/lib/dynamic-report/dynamic-chart.js +202 -0
- package/dist/lib/dynamic-report/dynamic-chart.js.map +1 -0
- package/dist/lib/dynamic-report/dynamic-grid.d.ts +36 -0
- package/dist/lib/dynamic-report/dynamic-grid.d.ts.map +1 -0
- package/dist/lib/dynamic-report/dynamic-grid.js +397 -0
- package/dist/lib/dynamic-report/dynamic-grid.js.map +1 -0
- package/dist/lib/dynamic-report/linear-report.d.ts +23 -0
- package/dist/lib/dynamic-report/linear-report.d.ts.map +1 -0
- package/dist/lib/dynamic-report/linear-report.js +174 -0
- package/dist/lib/dynamic-report/linear-report.js.map +1 -0
- package/dist/lib/dynamic-report/skip-dynamic-report-wrapper.d.ts +14 -0
- package/dist/lib/dynamic-report/skip-dynamic-report-wrapper.d.ts.map +1 -0
- package/dist/lib/dynamic-report/skip-dynamic-report-wrapper.js +50 -0
- package/dist/lib/dynamic-report/skip-dynamic-report-wrapper.js.map +1 -0
- package/dist/lib/module.d.ts +26 -9
- package/dist/lib/module.d.ts.map +1 -1
- package/dist/lib/module.js +110 -22
- package/dist/lib/module.js.map +1 -1
- package/dist/lib/skip-chat/skip-chat.component.d.ts +131 -0
- package/dist/lib/skip-chat/skip-chat.component.d.ts.map +1 -0
- package/dist/lib/skip-chat/skip-chat.component.js +1317 -0
- package/dist/lib/skip-chat/skip-chat.component.js.map +1 -0
- package/dist/lib/skip-single-message/skip-single-message.component.d.ts +49 -0
- package/dist/lib/skip-single-message/skip-single-message.component.d.ts.map +1 -0
- package/dist/lib/skip-single-message/skip-single-message.component.js +262 -0
- package/dist/lib/skip-single-message/skip-single-message.component.js.map +1 -0
- package/dist/public-api.d.ts +7 -4
- package/dist/public-api.d.ts.map +1 -1
- package/dist/public-api.js +7 -4
- package/dist/public-api.js.map +1 -1
- package/package.json +23 -4
- package/dist/lib/tab/tab.component.d.ts +0 -55
- package/dist/lib/tab/tab.component.d.ts.map +0 -1
- package/dist/lib/tab/tab.component.js +0 -138
- package/dist/lib/tab/tab.component.js.map +0 -1
- package/dist/lib/tab-body/tab-body.component.d.ts +0 -13
- package/dist/lib/tab-body/tab-body.component.d.ts.map +0 -1
- package/dist/lib/tab-body/tab-body.component.js +0 -38
- package/dist/lib/tab-body/tab-body.component.js.map +0 -1
- package/dist/lib/tab-strip/tab-strip.component.d.ts +0 -117
- package/dist/lib/tab-strip/tab-strip.component.d.ts.map +0 -1
- package/dist/lib/tab-strip/tab-strip.component.js +0 -404
- package/dist/lib/tab-strip/tab-strip.component.js.map +0 -1
- package/dist/lib/tab.base.d.ts +0 -4
- package/dist/lib/tab.base.d.ts.map +0 -1
- package/dist/lib/tab.base.js +0 -3
- package/dist/lib/tab.base.js.map +0 -1
|
@@ -1,404 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
import { Component, Input, EventEmitter, Output, ContentChildren, ViewChild, HostListener } from '@angular/core';
|
|
11
|
-
import { MJTabComponent } from '../tab/tab.component';
|
|
12
|
-
import { MJTabBodyComponent } from '../tab-body/tab-body.component';
|
|
13
|
-
import { SharedService } from '@memberjunction/ng-shared';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
import * as i1 from "@angular/common";
|
|
16
|
-
import * as i2 from "@memberjunction/ng-container-directives";
|
|
17
|
-
const _c0 = ["tabInnerContainer"];
|
|
18
|
-
const _c1 = [[["mj-tab"]], [["mj-tab-body"]]];
|
|
19
|
-
const _c2 = ["mj-tab", "mj-tab-body"];
|
|
20
|
-
function MJTabStripComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
21
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
22
|
-
i0.ɵɵelementStart(0, "div", 7);
|
|
23
|
-
i0.ɵɵlistener("click", function MJTabStripComponent_div_2_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.scrollLeft()); });
|
|
24
|
-
i0.ɵɵelement(1, "span", 8);
|
|
25
|
-
i0.ɵɵelementEnd();
|
|
26
|
-
} }
|
|
27
|
-
function MJTabStripComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
28
|
-
const _r3 = i0.ɵɵgetCurrentView();
|
|
29
|
-
i0.ɵɵelementStart(0, "div", 9);
|
|
30
|
-
i0.ɵɵlistener("click", function MJTabStripComponent_div_6_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.scrollRight()); });
|
|
31
|
-
i0.ɵɵelement(1, "span", 10);
|
|
32
|
-
i0.ɵɵelementEnd();
|
|
33
|
-
} }
|
|
34
|
-
export class TabEvent {
|
|
35
|
-
constructor() {
|
|
36
|
-
this.tab = null;
|
|
37
|
-
this.body = null;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
export class TabCancelableEvent extends TabEvent {
|
|
41
|
-
constructor() {
|
|
42
|
-
super(...arguments);
|
|
43
|
-
this.cancel = false;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
export class TabClosedEvent extends TabEvent {
|
|
47
|
-
}
|
|
48
|
-
export class TabContextMenuEvent extends TabEvent {
|
|
49
|
-
}
|
|
50
|
-
export class MJTabStripComponent {
|
|
51
|
-
static OutputDebugMessage(message) {
|
|
52
|
-
if (MJTabStripComponent.OutputDebugInfo) {
|
|
53
|
-
console.log(message);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
constructor(cdr) {
|
|
57
|
-
this.cdr = cdr;
|
|
58
|
-
this._selectedTabIndex = 0; // default to negative 1 so any valid value of 0+ will invoke a state change internally later
|
|
59
|
-
this.FillWidth = true;
|
|
60
|
-
this.FillHeight = true;
|
|
61
|
-
/**
|
|
62
|
-
* This event is fired before a tab is selected. If you set cancel to true, the tab will not be selected.
|
|
63
|
-
*/
|
|
64
|
-
this.BeforeTabSelected = new EventEmitter();
|
|
65
|
-
/**
|
|
66
|
-
* This event is fired when a tab is selected.
|
|
67
|
-
*/
|
|
68
|
-
this.TabSelected = new EventEmitter();
|
|
69
|
-
/**
|
|
70
|
-
* This event is fired before a tab is closed. If you set cancel to true, the tab will not be closed.
|
|
71
|
-
*/
|
|
72
|
-
this.BeforeTabClosed = new EventEmitter();
|
|
73
|
-
/**
|
|
74
|
-
* This event is fired after a tab is closed.
|
|
75
|
-
*/
|
|
76
|
-
this.TabClosed = new EventEmitter(true);
|
|
77
|
-
/**
|
|
78
|
-
* This event is fired when a tab is right-clicked and the context menu event from the tab header fires.
|
|
79
|
-
*/
|
|
80
|
-
this.TabContextMenu = new EventEmitter();
|
|
81
|
-
/**
|
|
82
|
-
* 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
|
|
83
|
-
* the ScrollIntoView method being called.
|
|
84
|
-
*/
|
|
85
|
-
this.TabScrolled = new EventEmitter();
|
|
86
|
-
this._viewInitialized = false;
|
|
87
|
-
this.showLeftButton = false;
|
|
88
|
-
this.showRightButton = false;
|
|
89
|
-
/**
|
|
90
|
-
* This property determines how many pixels to scroll when the scrollLeft or scrollRight methods are called.
|
|
91
|
-
*/
|
|
92
|
-
this.ScrollAmount = 150;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* The index of the selected tab. You can get/set this value and it will change the displayed tab.
|
|
96
|
-
*/
|
|
97
|
-
get SelectedTabIndex() {
|
|
98
|
-
return this._selectedTabIndex;
|
|
99
|
-
}
|
|
100
|
-
set SelectedTabIndex(index) {
|
|
101
|
-
var _a;
|
|
102
|
-
// check to make sure that the new index is different from the current index and only do the work here if it is different
|
|
103
|
-
MJTabStripComponent.OutputDebugMessage(`MJTabStripComponent.SelectedTabIndex(${index})`);
|
|
104
|
-
if (index !== this._selectedTabIndex) {
|
|
105
|
-
const props = {
|
|
106
|
-
index: index,
|
|
107
|
-
tab: index !== null && this.tabs ? this.tabs.toArray()[index] : null,
|
|
108
|
-
body: index !== null && this.tabBodies ? this.tabBodies.toArray()[index] : null,
|
|
109
|
-
cancel: false
|
|
110
|
-
};
|
|
111
|
-
if ((_a = props.tab) === null || _a === void 0 ? void 0 : _a.Visible) {
|
|
112
|
-
this.BeforeTabSelected.emit(props);
|
|
113
|
-
if (!props.cancel) {
|
|
114
|
-
this._selectedTabIndex = index;
|
|
115
|
-
this.innerRefreshTabVisibility(index);
|
|
116
|
-
const afterProps = {
|
|
117
|
-
index: index,
|
|
118
|
-
tab: props.tab,
|
|
119
|
-
body: props.body
|
|
120
|
-
};
|
|
121
|
-
this.TabSelected.emit(afterProps);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
else
|
|
125
|
-
throw new Error(`Tab index ${index} is not visible and cannot be selected.`);
|
|
126
|
-
}
|
|
127
|
-
else {
|
|
128
|
-
// always do this even if we're not firing event since we're already on the right tab
|
|
129
|
-
this.innerRefreshTabVisibility(index);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* 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.
|
|
134
|
-
* @param tabName
|
|
135
|
-
* @returns
|
|
136
|
-
*/
|
|
137
|
-
SelectTabByName(tabName) {
|
|
138
|
-
const tab = this.GetTabByName(tabName);
|
|
139
|
-
if (tab) {
|
|
140
|
-
if (tab.Visible)
|
|
141
|
-
this.SelectedTabIndex = tab.index;
|
|
142
|
-
else
|
|
143
|
-
throw new Error(`Tab ${tabName} is not visible and cannot be selected.`);
|
|
144
|
-
}
|
|
145
|
-
return tab;
|
|
146
|
-
}
|
|
147
|
-
GetTabByName(tabName) {
|
|
148
|
-
return this.tabs.find(t => { var _a; return ((_a = t.Name) === null || _a === void 0 ? void 0 : _a.trim().toLowerCase()) === tabName.trim().toLowerCase(); });
|
|
149
|
-
}
|
|
150
|
-
innerRefreshTabVisibility(index) {
|
|
151
|
-
Promise.resolve().then(() => {
|
|
152
|
-
var _a, _b;
|
|
153
|
-
MJTabStripComponent.OutputDebugMessage(`MJTabStripComponent.innerRefreshTabVisibility(${index})`);
|
|
154
|
-
// do this within a Promise.resolve() to ensure that the change detection has a chance to catch up before we start changing things
|
|
155
|
-
// now, we have to tell each of our tabs they have been selected or not, and also to tell the bodies if they are visible or not
|
|
156
|
-
(_a = this.tabs) === null || _a === void 0 ? void 0 : _a.forEach((tab, i) => tab.TabSelected = i === index);
|
|
157
|
-
(_b = this.tabBodies) === null || _b === void 0 ? void 0 : _b.forEach((body, i) => body.TabVisible = i === index);
|
|
158
|
-
// let angular now it needs to update its change detection
|
|
159
|
-
this.cdr.detectChanges();
|
|
160
|
-
// also ask for a resize now
|
|
161
|
-
SharedService.Instance.InvokeManualResize();
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
ngAfterViewInit() {
|
|
165
|
-
this._viewInitialized = true;
|
|
166
|
-
this.SelectedTabIndex = this.SelectedTabIndex; // force a refresh of the tab visibility
|
|
167
|
-
this.syncTabIndexes();
|
|
168
|
-
this.checkTabScrollButtons();
|
|
169
|
-
}
|
|
170
|
-
ngAfterContentInit() {
|
|
171
|
-
this.syncTabIndexes();
|
|
172
|
-
}
|
|
173
|
-
ngAfterContentChecked() {
|
|
174
|
-
this.syncTabIndexes();
|
|
175
|
-
this.checkTabScrollButtons();
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* 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
|
|
179
|
-
* re-evaluate the tabs and tab bodies and update the display accordingly.
|
|
180
|
-
*/
|
|
181
|
-
RefreshTabs() {
|
|
182
|
-
this.cdr.detectChanges();
|
|
183
|
-
this.syncTabIndexes();
|
|
184
|
-
this.innerRefreshTabVisibility(this.SelectedTabIndex);
|
|
185
|
-
}
|
|
186
|
-
syncTabIndexes() {
|
|
187
|
-
if (!this._viewInitialized)
|
|
188
|
-
return; // don't do anything until the view is initialized
|
|
189
|
-
// Automatically assign indices to tabs and tab bodies
|
|
190
|
-
this.tabs.forEach((tab, index) => tab.index = index);
|
|
191
|
-
this.tabBodies.forEach((body, index) => body.index = index);
|
|
192
|
-
if (this.SelectedTabIndex === null && this.tabs.length > 0) {
|
|
193
|
-
this.SelectedTabIndex = 0;
|
|
194
|
-
}
|
|
195
|
-
else if (this.tabs.length === 0)
|
|
196
|
-
this.SelectedTabIndex = -1;
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* Returns a read-only (copy) of the tabs in this tab strip.
|
|
200
|
-
*/
|
|
201
|
-
get Tabs() {
|
|
202
|
-
return this.tabs.toArray();
|
|
203
|
-
}
|
|
204
|
-
/**
|
|
205
|
-
* Returns a read-only (copy) of the tab bodies in this tab strip.
|
|
206
|
-
*/
|
|
207
|
-
get TabBodies() {
|
|
208
|
-
return this.tabBodies.toArray();
|
|
209
|
-
}
|
|
210
|
-
/**
|
|
211
|
-
* 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.
|
|
212
|
-
*/
|
|
213
|
-
CloseTab(tabIndex) {
|
|
214
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
215
|
-
MJTabStripComponent.OutputDebugMessage(`MJTabStripComponent.CloseTab(${tabIndex})`);
|
|
216
|
-
if (tabIndex >= 0 && tabIndex < this.tabs.length) {
|
|
217
|
-
// figure out what the new tab index will be so we can share with our container component
|
|
218
|
-
let newTabIndex;
|
|
219
|
-
if (this.tabs.length === 1) {
|
|
220
|
-
// deleting the only tab we have, shouldn't happen but if so, set to -1
|
|
221
|
-
newTabIndex = -1;
|
|
222
|
-
}
|
|
223
|
-
else if (this.SelectedTabIndex >= this.tabs.length - 1) {
|
|
224
|
-
// we are ABOUT to delete the last tab, so select what will be the new last tab
|
|
225
|
-
newTabIndex = this.tabs.length - 2; // substract 2 becuase subtracting 1 would be the last tab, but we are about to delete it
|
|
226
|
-
}
|
|
227
|
-
else {
|
|
228
|
-
// deleting a tab that is not the last one, so we don't need to do anything special, just set the index to what it was before
|
|
229
|
-
newTabIndex = this.SelectedTabIndex;
|
|
230
|
-
}
|
|
231
|
-
const props = {
|
|
232
|
-
index: tabIndex,
|
|
233
|
-
tab: this.tabs.toArray()[tabIndex],
|
|
234
|
-
body: this.tabBodies.toArray()[tabIndex],
|
|
235
|
-
cancel: false,
|
|
236
|
-
};
|
|
237
|
-
this.BeforeTabClosed.emit(props);
|
|
238
|
-
if (!props.cancel) {
|
|
239
|
-
// Convert callback to a promise
|
|
240
|
-
const waitForCompletion = new Promise((resolve, reject) => {
|
|
241
|
-
props.done = (error) => {
|
|
242
|
-
if (error) {
|
|
243
|
-
reject(error);
|
|
244
|
-
}
|
|
245
|
-
else {
|
|
246
|
-
resolve(true);
|
|
247
|
-
}
|
|
248
|
-
};
|
|
249
|
-
});
|
|
250
|
-
props.newTabIndex = newTabIndex;
|
|
251
|
-
// fire off the event to the container component
|
|
252
|
-
this.TabClosed.emit(props);
|
|
253
|
-
// wait for callback to occur from the event handler
|
|
254
|
-
yield waitForCompletion;
|
|
255
|
-
// finally, set the tab index to the props.newTabIndex value which allows the container to override our default calculation for new tab index
|
|
256
|
-
this.SelectedTabIndex = props.newTabIndex;
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
else
|
|
260
|
-
throw new Error("Invalid tab index: " + tabIndex);
|
|
261
|
-
});
|
|
262
|
-
}
|
|
263
|
-
handleTabContextMenu($event, tab) {
|
|
264
|
-
this.TabContextMenu.emit({ index: tab.index, tab: tab, body: this.tabBodies.toArray()[tab.index], mouseEvent: $event });
|
|
265
|
-
}
|
|
266
|
-
onResize(event) {
|
|
267
|
-
this.checkTabScrollButtons();
|
|
268
|
-
}
|
|
269
|
-
checkTabScrollButtons() {
|
|
270
|
-
if (this.tabInnerContainer && this.tabInnerContainer.nativeElement && this.tabInnerContainer.nativeElement.parentElement) {
|
|
271
|
-
const container = this.tabInnerContainer.nativeElement;
|
|
272
|
-
const parent = container.parentElement;
|
|
273
|
-
const currentLeft = container.style.left ? parseInt(container.style.left) : 0;
|
|
274
|
-
// show the right button if the container is wider than the parent AND the left position(which is zero or negative) + the container width is greater than the parent width
|
|
275
|
-
this.showRightButton = container.clientWidth > parent.clientWidth &&
|
|
276
|
-
currentLeft + container.clientWidth > parent.clientWidth;
|
|
277
|
-
// Show left button if left position is less than 0, meaning some of the left side of the container is off screen
|
|
278
|
-
this.showLeftButton = currentLeft < 0;
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
scrollTabHeader(scrollAmount) {
|
|
282
|
-
const style = this.tabInnerContainer.nativeElement.style;
|
|
283
|
-
if (style) {
|
|
284
|
-
const curLeft = style.left ? parseInt(style.left) : 0;
|
|
285
|
-
style.left = (curLeft + scrollAmount) + 'px';
|
|
286
|
-
this.checkTabScrollButtons(); // can do immediately because the above is direct DOM manipulation so the effect is immediate
|
|
287
|
-
this.TabScrolled.emit();
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
scrollLeft() {
|
|
291
|
-
this.scrollTabHeader(150);
|
|
292
|
-
}
|
|
293
|
-
scrollRight() {
|
|
294
|
-
this.scrollTabHeader(-150);
|
|
295
|
-
}
|
|
296
|
-
/**
|
|
297
|
-
* This method will scroll the specified tab index into view if it is not currently visible in the tab strip.
|
|
298
|
-
* @param tabIndex
|
|
299
|
-
*/
|
|
300
|
-
scrollIntoView(tabIndex) {
|
|
301
|
-
// In this method, we need to calculate the current left position of the specified tab,
|
|
302
|
-
// if it is not visible we need to scroll left or scroll right sufficiently in order to ensure that the tab specified is visible
|
|
303
|
-
// we do NOT change tab selection, the caller can do that separately if they want to
|
|
304
|
-
if (tabIndex >= 0 && tabIndex < this.tabs.length) {
|
|
305
|
-
const tab = this.tabs.toArray()[tabIndex];
|
|
306
|
-
if (tab) {
|
|
307
|
-
const tabElement = tab.elementRef.nativeElement;
|
|
308
|
-
if (tabElement) {
|
|
309
|
-
const tabLeft = tabElement.offsetLeft;
|
|
310
|
-
const tabRight = tabLeft + tabElement.offsetWidth;
|
|
311
|
-
const container = this.tabInnerContainer.nativeElement;
|
|
312
|
-
const containerLeft = container.offsetLeft;
|
|
313
|
-
const containerRight = containerLeft + container.offsetWidth;
|
|
314
|
-
if (tabLeft < containerLeft) {
|
|
315
|
-
// tab is off to the left, scroll left
|
|
316
|
-
this.scrollTabHeader(tabLeft - containerLeft);
|
|
317
|
-
}
|
|
318
|
-
else if (tabRight > containerRight) {
|
|
319
|
-
// tab is off to the right, scroll right
|
|
320
|
-
this.scrollTabHeader(tabRight - containerRight);
|
|
321
|
-
}
|
|
322
|
-
else {
|
|
323
|
-
// tab is already visible, do nothing
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
MJTabStripComponent.OutputDebugInfo = false;
|
|
331
|
-
MJTabStripComponent.ɵfac = function MJTabStripComponent_Factory(t) { return new (t || MJTabStripComponent)(i0.ɵɵdirectiveInject(i0.ChangeDetectorRef)); };
|
|
332
|
-
MJTabStripComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MJTabStripComponent, selectors: [["mj-tabstrip"]], contentQueries: function MJTabStripComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
333
|
-
i0.ɵɵcontentQuery(dirIndex, MJTabComponent, 4);
|
|
334
|
-
i0.ɵɵcontentQuery(dirIndex, MJTabBodyComponent, 4);
|
|
335
|
-
} if (rf & 2) {
|
|
336
|
-
let _t;
|
|
337
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabs = _t);
|
|
338
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabBodies = _t);
|
|
339
|
-
} }, viewQuery: function MJTabStripComponent_Query(rf, ctx) { if (rf & 1) {
|
|
340
|
-
i0.ɵɵviewQuery(_c0, 5);
|
|
341
|
-
} if (rf & 2) {
|
|
342
|
-
let _t;
|
|
343
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.tabInnerContainer = _t.first);
|
|
344
|
-
} }, hostBindings: function MJTabStripComponent_HostBindings(rf, ctx) { if (rf & 1) {
|
|
345
|
-
i0.ɵɵlistener("resize", function MJTabStripComponent_resize_HostBindingHandler($event) { return ctx.onResize($event); }, false, i0.ɵɵresolveWindow);
|
|
346
|
-
} }, inputs: { FillWidth: "FillWidth", FillHeight: "FillHeight", SelectedTabIndex: "SelectedTabIndex", ScrollAmount: "ScrollAmount" }, outputs: { BeforeTabSelected: "BeforeTabSelected", TabSelected: "TabSelected", BeforeTabClosed: "BeforeTabClosed", TabClosed: "TabClosed", TabContextMenu: "TabContextMenu", TabScrolled: "TabScrolled" }, ngContentSelectors: _c2, decls: 9, vars: 6, consts: [["tabInnerContainer", ""], ["mjFillContainer", "", 1, "tabstrip-container", 3, "fillWidth", "fillHeight"], [1, "tab-header-outer"], ["class", "tab-scroll-button tab-scroll-button-left", 3, "click", 4, "ngIf"], [1, "tab-header-inner"], ["class", "tab-scroll-button tab-scroll-button-right", 3, "click", 4, "ngIf"], ["mjFillContainer", "", 1, "tab-bodies", 3, "fillWidth", "fillHeight"], [1, "tab-scroll-button", "tab-scroll-button-left", 3, "click"], [1, "fa-solid", "fa-caret-left"], [1, "tab-scroll-button", "tab-scroll-button-right", 3, "click"], [1, "fa-solid", "fa-caret-right"]], template: function MJTabStripComponent_Template(rf, ctx) { if (rf & 1) {
|
|
347
|
-
i0.ɵɵprojectionDef(_c1);
|
|
348
|
-
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
|
|
349
|
-
i0.ɵɵtemplate(2, MJTabStripComponent_div_2_Template, 2, 0, "div", 3);
|
|
350
|
-
i0.ɵɵelementStart(3, "div", 4, 0);
|
|
351
|
-
i0.ɵɵprojection(5);
|
|
352
|
-
i0.ɵɵelementEnd();
|
|
353
|
-
i0.ɵɵtemplate(6, MJTabStripComponent_div_6_Template, 2, 0, "div", 5);
|
|
354
|
-
i0.ɵɵelementEnd();
|
|
355
|
-
i0.ɵɵelementStart(7, "div", 6);
|
|
356
|
-
i0.ɵɵprojection(8, 1);
|
|
357
|
-
i0.ɵɵelementEnd()();
|
|
358
|
-
} if (rf & 2) {
|
|
359
|
-
i0.ɵɵproperty("fillWidth", ctx.FillWidth)("fillHeight", ctx.FillHeight);
|
|
360
|
-
i0.ɵɵadvance(2);
|
|
361
|
-
i0.ɵɵproperty("ngIf", ctx.showLeftButton);
|
|
362
|
-
i0.ɵɵadvance(4);
|
|
363
|
-
i0.ɵɵproperty("ngIf", ctx.showRightButton);
|
|
364
|
-
i0.ɵɵadvance();
|
|
365
|
-
i0.ɵɵproperty("fillWidth", ctx.FillWidth)("fillHeight", ctx.FillHeight);
|
|
366
|
-
} }, dependencies: [i1.NgIf, i2.FillContainer], styles: [".tabstrip-container[_ngcontent-%COMP%] {\n display: block;\n overflow: hidden;\n font-size: 14px; \n\n}\n\n.tab-header-outer[_ngcontent-%COMP%] {\n position: relative;\n display: flex;\n align-items: center;\n overflow: hidden; \n\n background-color: #D5D8E5;\n}\n\n.tab-header-inner[_ngcontent-%COMP%] {\n display: flex;\n flex-direction: row;\n white-space: nowrap; \n\n position: relative; \n\n z-index: 1; \n\n\n padding-left: 5px;\n padding-top: 5px;\n background-color: #D5D8E5;\n border-bottom: #F5F6FA;\n}\n\n.tab-scroll-button-left[_ngcontent-%COMP%], .tab-scroll-button-right[_ngcontent-%COMP%] {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n z-index: 2; \n\n}\n\n.tab-scroll-button-left[_ngcontent-%COMP%] {\n left: 0;\n}\n\n.tab-scroll-button-right[_ngcontent-%COMP%] {\n right: 0;\n}\n\n.tab-scroll-button[_ngcontent-%COMP%] {\n padding: 8px 10px 10px 8px;\n cursor: pointer;\n border-radius: 6px;\n background-color: lightblue;\n}\n.tab-scroll-button[_ngcontent-%COMP%]:hover {\n background-color: pink;\n}"] });
|
|
367
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MJTabStripComponent, [{
|
|
368
|
-
type: Component,
|
|
369
|
-
args: [{ selector: 'mj-tabstrip', template: "<div class=\"tabstrip-container\" mjFillContainer [fillWidth]=\"FillWidth\" [fillHeight]=\"FillHeight\">\n <!-- Tab Headers -->\n <div class=\"tab-header-outer\">\n <div *ngIf=\"showLeftButton\" class=\"tab-scroll-button tab-scroll-button-left\" (click)=\"scrollLeft()\">\n <span class=\"fa-solid fa-caret-left\"></span>\n </div>\n <div class=\"tab-header-inner\" #tabInnerContainer>\n <ng-content select=\"mj-tab\"></ng-content> <!-- Where <mj-tab> components are projected -->\n </div>\n <div *ngIf=\"showRightButton\" class=\"tab-scroll-button tab-scroll-button-right\" (click)=\"scrollRight()\">\n <span class=\"fa-solid fa-caret-right\"></span>\n </div>\n </div>\n <!-- Tab Content -->\n <div class=\"tab-bodies\" mjFillContainer [fillWidth]=\"FillWidth\" [fillHeight]=\"FillHeight\">\n <ng-content select=\"mj-tab-body\"></ng-content> <!-- Where <mj-tab-body> components are projected -->\n </div>\n</div>", styles: [".tabstrip-container {\n display: block;\n overflow: hidden;\n font-size: 14px; /*default font size*/\n}\n\n.tab-header-outer {\n position: relative;\n display: flex;\n align-items: center;\n overflow: hidden; /* Hide the overflow */\n background-color: #D5D8E5;\n}\n\n.tab-header-inner {\n display: flex;\n flex-direction: row;\n white-space: nowrap; /* Prevent wrapping of tabs */\n position: relative; /* Needed for z-index to work */\n z-index: 1; /* Place tabs above the content */\n\n padding-left: 5px;\n padding-top: 5px;\n background-color: #D5D8E5;\n border-bottom: #F5F6FA;\n}\n\n.tab-scroll-button-left, .tab-scroll-button-right {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n z-index: 2; /* Ensure buttons are above the content */\n}\n\n.tab-scroll-button-left {\n left: 0;\n}\n\n.tab-scroll-button-right {\n right: 0;\n}\n\n.tab-scroll-button {\n padding: 8px 10px 10px 8px;\n cursor: pointer;\n border-radius: 6px;\n background-color: lightblue;\n}\n.tab-scroll-button:hover {\n background-color: pink;\n}\n\n "] }]
|
|
370
|
-
}], () => [{ type: i0.ChangeDetectorRef }], { FillWidth: [{
|
|
371
|
-
type: Input
|
|
372
|
-
}], FillHeight: [{
|
|
373
|
-
type: Input
|
|
374
|
-
}], SelectedTabIndex: [{
|
|
375
|
-
type: Input
|
|
376
|
-
}], BeforeTabSelected: [{
|
|
377
|
-
type: Output
|
|
378
|
-
}], TabSelected: [{
|
|
379
|
-
type: Output
|
|
380
|
-
}], BeforeTabClosed: [{
|
|
381
|
-
type: Output
|
|
382
|
-
}], TabClosed: [{
|
|
383
|
-
type: Output
|
|
384
|
-
}], TabContextMenu: [{
|
|
385
|
-
type: Output
|
|
386
|
-
}], TabScrolled: [{
|
|
387
|
-
type: Output
|
|
388
|
-
}], tabs: [{
|
|
389
|
-
type: ContentChildren,
|
|
390
|
-
args: [MJTabComponent]
|
|
391
|
-
}], tabBodies: [{
|
|
392
|
-
type: ContentChildren,
|
|
393
|
-
args: [MJTabBodyComponent]
|
|
394
|
-
}], tabInnerContainer: [{
|
|
395
|
-
type: ViewChild,
|
|
396
|
-
args: ['tabInnerContainer']
|
|
397
|
-
}], onResize: [{
|
|
398
|
-
type: HostListener,
|
|
399
|
-
args: ['window:resize', ['$event']]
|
|
400
|
-
}], ScrollAmount: [{
|
|
401
|
-
type: Input
|
|
402
|
-
}] }); })();
|
|
403
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MJTabStripComponent, { className: "MJTabStripComponent", filePath: "src/lib/tab-strip/tab-strip.component.ts", lineNumber: 34 }); })();
|
|
404
|
-
//# sourceMappingURL=tab-strip.component.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tab-strip.component.js","sourceRoot":"","sources":["../../../src/lib/tab-strip/tab-strip.component.ts","../../../src/lib/tab-strip/tab-strip.component.html"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,eAAe,EAAa,SAAS,EAAE,YAAY,EAAuF,MAAM,eAAe,CAAC;AACjN,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;;;;;;;;;ICApD,8BAAoG;IAAvB,4KAAS,mBAAY,KAAC;IACjG,0BAA4C;IAC9C,iBAAM;;;;IAIN,8BAAuG;IAAxB,4KAAS,oBAAa,KAAC;IACpG,2BAA6C;IAC/C,iBAAM;;ADLZ,MAAM,O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B;QAKW,cAAuB;QAAC,AAAxB,yCAAuB,8BAA0B;;iFDmBhF,mBAAmB;cAL/B,SAAS;2BACE,aAAa;kDAed,SAAS;kBAAjB,KAAK;YACG,UAAU;kBAAlB,KAAK;YAKO,gBAAgB;kBAA5B,KAAK;YA6EI,iBAAiB;kBAA1B,MAAM;YAKG,WAAW;kBAApB,MAAM;YAKG,eAAe;kBAAxB,MAAM;YAKG,SAAS;kBAAlB,MAAM;YAKG,cAAc;kBAAvB,MAAM;YAMG,WAAW;kBAApB,MAAM;YAG0B,IAAI;kBAApC,eAAe;mBAAC,cAAc;YACM,SAAS;kBAA7C,eAAe;mBAAC,kBAAkB;YAoHH,iBAAiB;kBAAhD,SAAS;mBAAC,mBAAmB;YAM9B,QAAQ;kBADP,YAAY;mBAAC,eAAe,EAAE,CAAC,QAAQ,CAAC;YAiChC,YAAY;kBAApB,KAAK;;kFAtRK,mBAAmB"}
|
package/dist/lib/tab.base.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tab.base.d.ts","sourceRoot":"","sources":["../../src/lib/tab.base.ts"],"names":[],"mappings":"AAAA,qBAAa,SAAS;IAClB,KAAK,EAAG,MAAM,CAAA;CACjB"}
|
package/dist/lib/tab.base.js
DELETED
package/dist/lib/tab.base.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tab.base.js","sourceRoot":"","sources":["../../src/lib/tab.base.ts"],"names":[],"mappings":"AAAA,MAAM,OAAO,SAAS;CAErB"}
|