@natec/mef-dev-ui-kit 20.1.243 → 20.1.245

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.
@@ -1,26 +1,25 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Input, ViewEncapsulation, Component, EventEmitter, Output, HostBinding, ContentChild, Host, NgModule, Injectable, ChangeDetectionStrategy, ViewChild, forwardRef, HostListener, Directive, ContentChildren, Optional, TemplateRef, InjectionToken, inject, ViewContainerRef, DOCUMENT, NgZone, ElementRef, Renderer2, booleanAttribute, ChangeDetectorRef, HostAttributeToken, numberAttribute, QueryList, Injector, SkipSelf, signal, ViewChildren, ApplicationRef, afterNextRender, input, computed, EnvironmentInjector, HOST_TAG_NAME, contentChildren, viewChildren } from '@angular/core';
2
+ import { Input, ViewEncapsulation, Component, EventEmitter, Output, HostBinding, ContentChild, Host, NgModule, Injectable, ChangeDetectionStrategy, ViewChild, forwardRef, HostListener, InjectionToken, inject, TemplateRef, Directive, ViewContainerRef, DOCUMENT, NgZone, ElementRef, Renderer2, booleanAttribute, ChangeDetectorRef, HostAttributeToken, numberAttribute, QueryList, ContentChildren, Injector, Optional, SkipSelf, signal, ViewChildren, ApplicationRef, afterNextRender, input, computed, EnvironmentInjector, HOST_TAG_NAME, contentChildren, viewChildren } from '@angular/core';
3
3
  import { trigger, state, transition, style, animate } from '@angular/animations';
4
4
  import * as i1 from '@angular/common';
5
5
  import { CommonModule, NgTemplateOutlet, NgClass } from '@angular/common';
6
- import { Subject, of, fromEvent, merge, Subscription, EMPTY, defer, timer, Observable, filter as filter$1, map as map$1, startWith as startWith$1, switchMap as switchMap$1, takeUntil as takeUntil$1, take as take$1, BehaviorSubject } from 'rxjs';
6
+ import { Subject, Subscription, EMPTY, merge, defer, timer, Observable, of, filter as filter$1, map as map$1, startWith as startWith$1, switchMap as switchMap$1, takeUntil as takeUntil$1, take as take$1, BehaviorSubject } from 'rxjs';
7
7
  import { FormsModule, NG_VALUE_ACCESSOR, NgControl, Validators, NG_VALIDATORS, NgForm, FormGroupDirective } from '@angular/forms';
8
- import { auditTime, startWith, map, filter, take, switchMap, takeUntil, debounceTime, skip, skipWhile, tap, delay } from 'rxjs/operators';
9
- import * as i1$1 from '@angular/cdk/bidi';
10
- import { Directionality, BidiModule } from '@angular/cdk/bidi';
11
8
  import { CdkAccordionItem, CdkAccordion } from '@angular/cdk/accordion';
12
9
  import { _IdGenerator, FocusMonitor, FocusKeyManager, isFakeTouchstartFromScreenReader, isFakeMousedownFromScreenReader, ActiveDescendantKeyManager, CdkMonitorFocus, removeAriaReferencedId, addAriaReferencedId } from '@angular/cdk/a11y';
10
+ import { startWith, filter, take, switchMap, map, takeUntil, debounceTime, skip, skipWhile, tap, delay } from 'rxjs/operators';
13
11
  import { ENTER, hasModifierKey, SPACE, ESCAPE, UP_ARROW, DOWN_ARROW, RIGHT_ARROW, LEFT_ARROW, A, TAB, BACKSPACE, DELETE } from '@angular/cdk/keycodes';
14
12
  import { UniqueSelectionDispatcher, SelectionModel } from '@angular/cdk/collections';
15
13
  import { TemplatePortal, CdkPortalOutlet, PortalModule, DomPortalOutlet, CdkPortal } from '@angular/cdk/portal';
16
14
  import { createBlockScrollStrategy, createGlobalPositionStrategy, OverlayModule, createRepositionScrollStrategy, createOverlayRef, OverlayConfig, createFlexibleConnectedPositionStrategy, ViewportRuler, ScrollDispatcher, Overlay, CdkOverlayOrigin, CdkConnectedOverlay } from '@angular/cdk/overlay';
17
15
  import { CdkDialogContainer, Dialog, DialogConfig, DialogModule } from '@angular/cdk/dialog';
18
16
  import { coerceNumberProperty, coerceArray } from '@angular/cdk/coercion';
19
- import * as i1$2 from '@angular/cdk/scrolling';
17
+ import * as i1$1 from '@angular/cdk/scrolling';
20
18
  import { CdkScrollable, CdkScrollableModule, ViewportRuler as ViewportRuler$1 } from '@angular/cdk/scrolling';
21
19
  import { CdkStepLabel, CdkStepHeader, CdkStep, CdkStepper, CdkStepperNext, CdkStepperPrevious, CdkStepperModule } from '@angular/cdk/stepper';
22
20
  import { Platform, _getEventTarget, _getShadowRoot, _getFocusedElementPierceShadowDom } from '@angular/cdk/platform';
23
21
  import { SharedResizeObserver } from '@angular/cdk/observers/private';
22
+ import { Directionality, BidiModule } from '@angular/cdk/bidi';
24
23
  import { CdkObserveContent } from '@angular/cdk/observers';
25
24
  import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
26
25
  import { toObservable } from '@angular/core/rxjs-interop';
@@ -2135,817 +2134,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImpor
2135
2134
  }]
2136
2135
  }] });
2137
2136
 
2138
- /**
2139
- * Component representing the body of a tab, which displays the tab's content.
2140
- */
2141
- class MefDevTabBodyComponent {
2142
- /**
2143
- * The content of the tab, which can be passed as a template.
2144
- */
2145
- content;
2146
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MefDevTabBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2147
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", type: MefDevTabBodyComponent, isStandalone: false, selector: "mefdev-tab-body", inputs: { content: "content" }, ngImport: i0, template: "<ng-template [ngTemplateOutlet]=\"content\"></ng-template>", dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], encapsulation: i0.ViewEncapsulation.None });
2148
- }
2149
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MefDevTabBodyComponent, decorators: [{
2150
- type: Component,
2151
- args: [{ selector: 'mefdev-tab-body', encapsulation: ViewEncapsulation.None, standalone: false, template: "<ng-template [ngTemplateOutlet]=\"content\"></ng-template>" }]
2152
- }], propDecorators: { content: [{
2153
- type: Input
2154
- }] } });
2155
-
2156
- class MefDevTabLabelDirective {
2157
- elementRef;
2158
- _disabled = false;
2159
- set disabled(value) {
2160
- this._disabled = toBoolean(value);
2161
- }
2162
- get disabled() {
2163
- return this._disabled;
2164
- }
2165
- constructor(elementRef) {
2166
- this.elementRef = elementRef;
2167
- }
2168
- getOffsetLeft() {
2169
- return this.elementRef.nativeElement.offsetLeft;
2170
- }
2171
- getOffsetWidth() {
2172
- return this.elementRef.nativeElement.offsetWidth;
2173
- }
2174
- getOffsetTop() {
2175
- return this.elementRef.nativeElement.offsetTop;
2176
- }
2177
- getOffsetHeight() {
2178
- return this.elementRef.nativeElement.offsetHeight;
2179
- }
2180
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MefDevTabLabelDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
2181
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.6", type: MefDevTabLabelDirective, isStandalone: false, selector: "[mefdev-tab-label]", inputs: { disabled: "disabled" }, host: { properties: { "class.nav-item": "true", "class.nav-item-disabled": "this.disabled" } }, ngImport: i0 });
2182
- }
2183
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MefDevTabLabelDirective, decorators: [{
2184
- type: Directive,
2185
- args: [{
2186
- selector: '[mefdev-tab-label]',
2187
- host: {
2188
- '[class.nav-item]': 'true'
2189
- },
2190
- standalone: false
2191
- }]
2192
- }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { disabled: [{
2193
- type: Input
2194
- }, {
2195
- type: HostBinding,
2196
- args: ['class.nav-item-disabled']
2197
- }] } });
2198
-
2199
- const availablePrefixs = ['moz', 'ms', 'webkit'];
2200
- function requestAnimationFramePolyfill() {
2201
- let lastTime = 0;
2202
- return function (callback) {
2203
- const currTime = new Date().getTime();
2204
- const timeToCall = Math.max(0, 16 - (currTime - lastTime));
2205
- const id = window.setTimeout(() => { callback(currTime + timeToCall); }, timeToCall);
2206
- lastTime = currTime + timeToCall;
2207
- return id;
2208
- };
2209
- }
2210
- function getRequestAnimationFrame() {
2211
- if (typeof window === 'undefined') {
2212
- //@ts-ignore
2213
- return () => null;
2214
- }
2215
- if (window.requestAnimationFrame) {
2216
- return window.requestAnimationFrame.bind(window);
2217
- }
2218
- const prefix = availablePrefixs.filter(key => `${key}RequestAnimationFrame` in window)[0];
2219
- return prefix
2220
- ? window[`${prefix}RequestAnimationFrame`]
2221
- : requestAnimationFramePolyfill();
2222
- }
2223
- const reqAnimFrame = getRequestAnimationFrame();
2224
-
2225
- class MefDevTabsInkBarDirective {
2226
- _renderer;
2227
- _elementRef;
2228
- _ngZone;
2229
- _animated = false;
2230
- set Animated(value) {
2231
- this._animated = toBoolean(value);
2232
- }
2233
- get Animated() {
2234
- return this._animated;
2235
- }
2236
- PositionMode = 'horizontal';
2237
- constructor(_renderer, _elementRef, _ngZone) {
2238
- this._renderer = _renderer;
2239
- this._elementRef = _elementRef;
2240
- this._ngZone = _ngZone;
2241
- }
2242
- alignToElement(element) {
2243
- this.show();
2244
- this._ngZone.runOutsideAngular(() => {
2245
- reqAnimFrame(() => {
2246
- /** when horizontal remove height style and add transfrom left **/
2247
- if (this.PositionMode === 'horizontal') {
2248
- this._renderer.removeStyle(this._elementRef.nativeElement, 'height');
2249
- this._renderer.setStyle(this._elementRef.nativeElement, 'transform', `translate3d(${this._getLeftPosition(element)}, 0px, 0px)`);
2250
- this._renderer.setStyle(this._elementRef.nativeElement, 'width', this._getElementWidth(element));
2251
- }
2252
- else {
2253
- /** when vertical remove width style and add transfrom top **/
2254
- this._renderer.removeStyle(this._elementRef.nativeElement, 'width');
2255
- this._renderer.setStyle(this._elementRef.nativeElement, 'transform', `translate3d(0px, ${this._getTopPosition(element)}, 0px)`);
2256
- this._renderer.setStyle(this._elementRef.nativeElement, 'height', this._getElementHeight(element));
2257
- }
2258
- });
2259
- });
2260
- }
2261
- show() {
2262
- this._renderer.setStyle(this._elementRef.nativeElement, 'visibility', 'visible');
2263
- }
2264
- setDisplay(value) {
2265
- this._renderer.setStyle(this._elementRef.nativeElement, 'display', value);
2266
- }
2267
- hide() {
2268
- this._renderer.setStyle(this._elementRef.nativeElement, 'visibility', 'hidden');
2269
- }
2270
- _getLeftPosition(element) {
2271
- return element ? element.offsetLeft + 'px' : '0';
2272
- }
2273
- _getElementWidth(element) {
2274
- return element ? element.offsetWidth + 'px' : '0';
2275
- }
2276
- _getTopPosition(element) {
2277
- return element ? element.offsetTop + 'px' : '0';
2278
- }
2279
- _getElementHeight(element) {
2280
- return element ? element.offsetHeight + 'px' : '0';
2281
- }
2282
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MefDevTabsInkBarDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
2283
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.6", type: MefDevTabsInkBarDirective, isStandalone: false, selector: "[mefdev-tabs-ink-bar]", inputs: { Animated: "Animated", PositionMode: "PositionMode" }, host: { properties: { "class.nav-item": "true", "class.nav-item-animated": "this.Animated" } }, ngImport: i0 });
2284
- }
2285
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MefDevTabsInkBarDirective, decorators: [{
2286
- type: Directive,
2287
- args: [{
2288
- selector: '[mefdev-tabs-ink-bar]',
2289
- host: {
2290
- '[class.nav-item]': 'true'
2291
- },
2292
- standalone: false
2293
- }]
2294
- }], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { Animated: [{
2295
- type: Input
2296
- }, {
2297
- type: HostBinding,
2298
- args: ['class.nav-item-animated']
2299
- }], PositionMode: [{
2300
- type: Input
2301
- }] } });
2302
-
2303
- const EXAGGERATED_OVERSCROLL = 64;
2304
- class MefDevTabsNavComponent {
2305
- _elementRef;
2306
- _ngZone;
2307
- _renderer;
2308
- _dir;
2309
- _animated = true;
2310
- _hideBar = false;
2311
- _showPagination = true;
2312
- _showPaginationControls = false;
2313
- _disableScrollAfter = true;
2314
- _disableScrollBefore = true;
2315
- _scrollDistance = 0;
2316
- _selectedIndexChanged = false;
2317
- _realignInkBar = null;
2318
- _tabLabelCount;
2319
- _scrollDistanceChanged;
2320
- _selectedIndex = 0;
2321
- _tabPositionMode = 'horizontal';
2322
- _tabPosition = 'top';
2323
- Size = 'default';
2324
- _type = 'line';
2325
- set Animated(value) {
2326
- this._animated = toBoolean(value);
2327
- }
2328
- get Animated() {
2329
- return this._animated;
2330
- }
2331
- set Position(value) {
2332
- this._tabPosition = value;
2333
- }
2334
- get Position() {
2335
- return this._tabPosition;
2336
- }
2337
- set HideBar(value) {
2338
- this._hideBar = toBoolean(value);
2339
- }
2340
- get HideBar() {
2341
- return this._hideBar;
2342
- }
2343
- set Type(value) {
2344
- this._type = value;
2345
- }
2346
- get Type() {
2347
- return this._type;
2348
- }
2349
- _tabBarExtraContent;
2350
- _labelWrappers;
2351
- _inkBar;
2352
- _tabListContainer;
2353
- _tabList;
2354
- set ShowPagination(value) {
2355
- this._showPagination = toBoolean(value);
2356
- }
2357
- get ShowPagination() {
2358
- return this._showPagination;
2359
- }
2360
- set PositionMode(value) {
2361
- this._tabPositionMode = value;
2362
- this._alignInkBarToSelectedTab();
2363
- if (this.ShowPagination) {
2364
- this._updatePagination();
2365
- }
2366
- }
2367
- get PositionMode() {
2368
- return this._tabPositionMode;
2369
- }
2370
- set selectedIndex(value) {
2371
- this._selectedIndexChanged = this._selectedIndex !== value;
2372
- this._selectedIndex = value;
2373
- }
2374
- get selectedIndex() {
2375
- return this._selectedIndex;
2376
- }
2377
- constructor(_elementRef, _ngZone, _renderer, _dir) {
2378
- this._elementRef = _elementRef;
2379
- this._ngZone = _ngZone;
2380
- this._renderer = _renderer;
2381
- this._dir = _dir;
2382
- }
2383
- _onContentChanges() {
2384
- if (this.ShowPagination) {
2385
- this._updatePagination();
2386
- }
2387
- this._alignInkBarToSelectedTab();
2388
- }
2389
- _scrollHeader(scrollDir) {
2390
- // Move the scroll distance one-third the length of the tab list's viewport.
2391
- this.scrollDistance += ((scrollDir === 'before' ? -1 : 1) * this.viewWidthHeightPix) / 3;
2392
- }
2393
- ngAfterContentChecked() {
2394
- if (this._tabLabelCount !== this._labelWrappers.length) {
2395
- if (this.ShowPagination) {
2396
- this._updatePagination();
2397
- }
2398
- this._tabLabelCount = this._labelWrappers.length;
2399
- }
2400
- if (this._selectedIndexChanged) {
2401
- this._scrollToLabel(this._selectedIndex);
2402
- if (this.ShowPagination) {
2403
- this._checkScrollingControls();
2404
- }
2405
- this._alignInkBarToSelectedTab();
2406
- this._selectedIndexChanged = false;
2407
- }
2408
- if (this._scrollDistanceChanged) {
2409
- if (this.ShowPagination) {
2410
- this._updateTabScrollPosition();
2411
- }
2412
- this._scrollDistanceChanged = false;
2413
- }
2414
- }
2415
- ngAfterContentInit() {
2416
- this._realignInkBar = this._ngZone.runOutsideAngular(() => {
2417
- const dirChange = this._dir ? this._dir.change : of(null);
2418
- const resize = typeof window !== 'undefined' ? fromEvent(window, 'resize').pipe(auditTime(10)) : of(null);
2419
- //@ts-ignore
2420
- return merge(dirChange, resize)
2421
- .pipe(startWith(null))
2422
- .subscribe(() => {
2423
- if (this.ShowPagination) {
2424
- this._updatePagination();
2425
- }
2426
- this._alignInkBarToSelectedTab();
2427
- });
2428
- });
2429
- }
2430
- _updateTabScrollPosition() {
2431
- const scrollDistance = this.scrollDistance;
2432
- if (this.PositionMode === 'horizontal') {
2433
- const translateX = this._getLayoutDirection() === 'ltr' ? -scrollDistance : scrollDistance;
2434
- this._renderer.setStyle(this._tabList.nativeElement, 'transform', `translate3d(${translateX}px, 0, 0)`);
2435
- }
2436
- else {
2437
- this._renderer.setStyle(this._tabList.nativeElement, 'transform', `translate3d(0,${-scrollDistance}px, 0)`);
2438
- }
2439
- }
2440
- _updatePagination() {
2441
- this._checkPaginationEnabled();
2442
- this._checkScrollingControls();
2443
- this._updateTabScrollPosition();
2444
- }
2445
- _checkPaginationEnabled() {
2446
- this._showPaginationControls = this.tabListScrollWidthHeightPix > this.elementRefOffSetWidthHeight;
2447
- if (!this._showPaginationControls) {
2448
- this.scrollDistance = 0;
2449
- }
2450
- }
2451
- _scrollToLabel(labelIndex) {
2452
- const selectedLabel = this._labelWrappers ? this._labelWrappers.toArray()[labelIndex] : null;
2453
- if (!selectedLabel) {
2454
- return;
2455
- }
2456
- // The view length is the visible width of the tab labels.
2457
- let labelBeforePos;
2458
- let labelAfterPos;
2459
- if (this.PositionMode === 'horizontal') {
2460
- if (this._getLayoutDirection() === 'ltr') {
2461
- labelBeforePos = selectedLabel.getOffsetLeft();
2462
- labelAfterPos = labelBeforePos + selectedLabel.getOffsetWidth();
2463
- }
2464
- else {
2465
- labelAfterPos = this._tabList.nativeElement.offsetWidth - selectedLabel.getOffsetLeft();
2466
- labelBeforePos = labelAfterPos - selectedLabel.getOffsetWidth();
2467
- }
2468
- }
2469
- else {
2470
- labelBeforePos = selectedLabel.getOffsetTop();
2471
- labelAfterPos = labelBeforePos + selectedLabel.getOffsetHeight();
2472
- }
2473
- const beforeVisiblePos = this.scrollDistance;
2474
- const afterVisiblePos = this.scrollDistance + this.viewWidthHeightPix;
2475
- if (labelBeforePos < beforeVisiblePos) {
2476
- // Scroll header to move label to the before direction
2477
- this.scrollDistance -= beforeVisiblePos - labelBeforePos + EXAGGERATED_OVERSCROLL;
2478
- }
2479
- else if (labelAfterPos > afterVisiblePos) {
2480
- // Scroll header to move label to the after direction
2481
- this.scrollDistance += labelAfterPos - afterVisiblePos + EXAGGERATED_OVERSCROLL;
2482
- }
2483
- }
2484
- _checkScrollingControls() {
2485
- // Check if the pagination arrows should be activated.
2486
- this._disableScrollBefore = this.scrollDistance === 0;
2487
- this._disableScrollAfter = this.scrollDistance === this._getMaxScrollDistance();
2488
- }
2489
- /**
2490
- * Determines what is the maximum length in pixels that can be set for the scroll distance. This
2491
- * is equal to the difference in width between the tab list container and tab header container.
2492
- *
2493
- * This is an expensive call that forces a layout reflow to compute box and scroll metrics and
2494
- * should be called sparingly.
2495
- */
2496
- _getMaxScrollDistance() {
2497
- return this.tabListScrollWidthHeightPix - this.viewWidthHeightPix || 0;
2498
- }
2499
- /** Sets the distance in pixels that the tab header should be transformed in the X-axis. */
2500
- set scrollDistance(v) {
2501
- this._scrollDistance = Math.max(0, Math.min(this._getMaxScrollDistance(), v));
2502
- // Mark that the scroll distance has changed so that after the view is checked, the CSS
2503
- // transformation can move the header.
2504
- this._scrollDistanceChanged = true;
2505
- this._checkScrollingControls();
2506
- }
2507
- get scrollDistance() {
2508
- return this._scrollDistance;
2509
- }
2510
- get viewWidthHeightPix() {
2511
- let PAGINATION_PIX = 0;
2512
- if (this._showPaginationControls) {
2513
- PAGINATION_PIX = 64;
2514
- }
2515
- if (this.PositionMode === 'horizontal') {
2516
- return this._tabListContainer.nativeElement.offsetWidth - PAGINATION_PIX;
2517
- }
2518
- else {
2519
- return this._tabListContainer.nativeElement.offsetHeight - PAGINATION_PIX;
2520
- }
2521
- }
2522
- get tabListScrollWidthHeightPix() {
2523
- if (this.PositionMode === 'horizontal') {
2524
- return this._tabList.nativeElement.scrollWidth;
2525
- }
2526
- else {
2527
- return this._tabList.nativeElement.scrollHeight;
2528
- }
2529
- }
2530
- get elementRefOffSetWidthHeight() {
2531
- if (this.PositionMode === 'horizontal') {
2532
- return this._elementRef.nativeElement.offsetWidth;
2533
- }
2534
- else {
2535
- return this._elementRef.nativeElement.offsetHeight;
2536
- }
2537
- }
2538
- _getLayoutDirection() {
2539
- return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';
2540
- }
2541
- _alignInkBarToSelectedTab() {
2542
- if (this.Type !== 'fillup') {
2543
- const selectedLabelWrapper = this._labelWrappers && this._labelWrappers.length
2544
- ? this._labelWrappers.toArray()[this.selectedIndex].elementRef.nativeElement
2545
- : null;
2546
- if (this._inkBar) {
2547
- this._inkBar.alignToElement(selectedLabelWrapper);
2548
- }
2549
- }
2550
- }
2551
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MefDevTabsNavComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1$1.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Component });
2552
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", type: MefDevTabsNavComponent, isStandalone: false, selector: "mefdev-tabs-nav", inputs: { Size: "Size", Animated: "Animated", Position: "Position", HideBar: "HideBar", Type: "Type", ShowPagination: "ShowPagination", PositionMode: "PositionMode", selectedIndex: "selectedIndex" }, queries: [{ propertyName: "_tabBarExtraContent", first: true, predicate: ["tabBarExtraContent"], descendants: true, static: true }, { propertyName: "_labelWrappers", predicate: MefDevTabLabelDirective }], viewQueries: [{ propertyName: "_inkBar", first: true, predicate: MefDevTabsInkBarDirective, descendants: true, static: true }, { propertyName: "_tabListContainer", first: true, predicate: ["tabListContainer"], descendants: true, static: true }, { propertyName: "_tabList", first: true, predicate: ["tabList"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"nav-tabs-wrapper\" [class.scrolling]=\"_showPaginationControls\" #tabListContainer>\r\n <div class=\"nav-wrap\">\r\n <ul\r\n class=\"nav nav-tabs nav-tabs-{{ _type }} nav-tabs-{{ _tabPosition }}\"\r\n [class.tabs-nav-animated]=\"Animated\"\r\n #tabList\r\n (cdkObserveContent)=\"_onContentChanges()\"\r\n >\r\n <div\r\n class=\"active-bar\"\r\n mefdev-tabs-ink-bar\r\n [hidden]=\"HideBar\"\r\n [Animated]=\"Animated\"\r\n [PositionMode]=\"PositionMode\"\r\n style=\"display: block;\"\r\n ></div>\r\n <ng-content></ng-content>\r\n </ul>\r\n </div>\r\n </div>", dependencies: [{ kind: "directive", type: MefDevTabsInkBarDirective, selector: "[mefdev-tabs-ink-bar]", inputs: ["Animated", "PositionMode"] }], encapsulation: i0.ViewEncapsulation.None });
2553
- }
2554
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MefDevTabsNavComponent, decorators: [{
2555
- type: Component,
2556
- args: [{ selector: 'mefdev-tabs-nav', encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"nav-tabs-wrapper\" [class.scrolling]=\"_showPaginationControls\" #tabListContainer>\r\n <div class=\"nav-wrap\">\r\n <ul\r\n class=\"nav nav-tabs nav-tabs-{{ _type }} nav-tabs-{{ _tabPosition }}\"\r\n [class.tabs-nav-animated]=\"Animated\"\r\n #tabList\r\n (cdkObserveContent)=\"_onContentChanges()\"\r\n >\r\n <div\r\n class=\"active-bar\"\r\n mefdev-tabs-ink-bar\r\n [hidden]=\"HideBar\"\r\n [Animated]=\"Animated\"\r\n [PositionMode]=\"PositionMode\"\r\n style=\"display: block;\"\r\n ></div>\r\n <ng-content></ng-content>\r\n </ul>\r\n </div>\r\n </div>" }]
2557
- }], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1$1.Directionality, decorators: [{
2558
- type: Optional
2559
- }] }], propDecorators: { Size: [{
2560
- type: Input
2561
- }], Animated: [{
2562
- type: Input
2563
- }], Position: [{
2564
- type: Input
2565
- }], HideBar: [{
2566
- type: Input
2567
- }], Type: [{
2568
- type: Input
2569
- }], _tabBarExtraContent: [{
2570
- type: ContentChild,
2571
- args: ['tabBarExtraContent', { static: true }]
2572
- }], _labelWrappers: [{
2573
- type: ContentChildren,
2574
- args: [MefDevTabLabelDirective]
2575
- }], _inkBar: [{
2576
- type: ViewChild,
2577
- args: [MefDevTabsInkBarDirective, { static: true }]
2578
- }], _tabListContainer: [{
2579
- type: ViewChild,
2580
- args: ['tabListContainer', { static: true }]
2581
- }], _tabList: [{
2582
- type: ViewChild,
2583
- args: ['tabList', { static: true }]
2584
- }], ShowPagination: [{
2585
- type: Input
2586
- }], PositionMode: [{
2587
- type: Input
2588
- }], selectedIndex: [{
2589
- type: Input
2590
- }] } });
2591
-
2592
- /** code from https://github.com/angular/material2 */
2593
- class TabChangeEvent {
2594
- index;
2595
- tab;
2596
- }
2597
- /**
2598
- * Represents a tab set or tab group component.
2599
- * @example
2600
- * <mefdev-tabset TabPosition="top" Animated="true" ShowPagination="true">
2601
- * <mefdev-tab label="Tab 1">Tab 1 content</mefdev-tab>
2602
- * <mefdev-tab label="Tab 2">Tab 2 content</mefdev-tab>
2603
- * </mefdev-tabset>
2604
- *
2605
- * Example of usage:
2606
- * <example-url>https://platform.mef.dev/ui_kit_demo/view/page_components/tabset</example-url>
2607
- */
2608
- class MefDevTabSetComponent {
2609
- _renderer;
2610
- _el;
2611
- _classMap;
2612
- _prefixCls = 'nav-tabs';
2613
- _width;
2614
- _tabPosition = 'top';
2615
- _tabPositionMode = 'horizontal';
2616
- _indexToSelect = 0;
2617
- _selectedIndex = null;
2618
- _isViewInit = false;
2619
- _tabs = [];
2620
- _tabAnimation = '';
2621
- _extra_tab_class = '';
2622
- _extra_tabcontent_class = '';
2623
- /**
2624
- * Template reference for additional content to be displayed in the tab bar.
2625
- */
2626
- TabBarExtraTemplate;
2627
- TabBarExtraContent;
2628
- _tabNav;
2629
- _tabContent;
2630
- _hostContent;
2631
- /**
2632
- * Whether the tab set is animated. Can be a boolean or an object of type AnimatedInterface.
2633
- * @example
2634
- * - true (enables animation for both ink bar and tab pane)
2635
- * - { inkBar: true, tabPane: false } (enables animation for ink bar only)
2636
- * Default: true
2637
- */
2638
- Animated = true;
2639
- /**
2640
- * Whether to show pagination controls for scrolling tabs.
2641
- * @example true
2642
- * Default: true
2643
- */
2644
- ShowPagination = true;
2645
- /**
2646
- * Whether the tab set is hidden.
2647
- * @example true
2648
- * Default: false
2649
- */
2650
- Hide = false;
2651
- /**
2652
- * The index of the selected tab.
2653
- */
2654
- set SelectedIndex(value) {
2655
- this._indexToSelect = value;
2656
- }
2657
- get SelectedIndex() {
2658
- return this._selectedIndex;
2659
- }
2660
- /**
2661
- * Event emitted when the selected tab index changes.
2662
- * @returns An Observable emitting the index of the selected tab.
2663
- */
2664
- get SelectedIndexChange() {
2665
- //@ts-ignore
2666
- return this.SelectChange.pipe(map((event) => event.index));
2667
- }
2668
- /**
2669
- * Event emitted when a tab is selected.
2670
- * @example
2671
- * <mefdev-tabset (SelectChange)="onTabSelect($event)"></mefdev-tabset>
2672
- */
2673
- SelectChange = new EventEmitter(true);
2674
- /**
2675
- * Size of the tab set. Can be 'default', 'small', or 'large'.
2676
- * @example 'large'
2677
- * Default: 'default'
2678
- */
2679
- Size = 'default';
2680
- _type = 'line';
2681
- tabs = [];
2682
- /**
2683
- * Position of the tab set. Can be 'top', 'bottom', 'left', or 'right'.
2684
- */
2685
- set TabPosition(value) {
2686
- this._tabPosition = value;
2687
- this._tabPositionMode = (value === 'top' || value === 'bottom') ? 'horizontal' : 'vertical';
2688
- }
2689
- get TabPosition() {
2690
- return this._tabPosition;
2691
- }
2692
- /**
2693
- * Additional CSS class for the tabs.
2694
- */
2695
- set extraTabClass(value) {
2696
- this._extra_tab_class = value;
2697
- }
2698
- /**
2699
- * Additional CSS class for the tab content.
2700
- */
2701
- set extraTabContentClass(value) {
2702
- this._extra_tabcontent_class = value;
2703
- }
2704
- /**
2705
- * Type of the tab set. Can be 'line', 'fillup', or 'linetriangle'.
2706
- */
2707
- set Type(value) {
2708
- if (this._type === value) {
2709
- return;
2710
- }
2711
- this._type = value;
2712
- this._setClassMap();
2713
- }
2714
- /**
2715
- * Animation to apply to the tabs. Accepts CSS animation name.
2716
- */
2717
- set tabAnimation(value) {
2718
- this._tabAnimation = value;
2719
- }
2720
- get Type() {
2721
- return this._type;
2722
- }
2723
- _setPosition(value) { }
2724
- _setClassMap() { }
2725
- // Other properties, methods, and lifecycle hooks...
2726
- /**
2727
- * Selects the tab at the specified index.
2728
- * @param index The index of the tab to select.
2729
- * ```
2730
- * <button (click)="clickLabel(0)">Select Tab 1</button>
2731
- *```
2732
- */
2733
- clickLabel(index) {
2734
- if (this._tabs[index].Disabled) {
2735
- }
2736
- else {
2737
- this.SelectedIndex = index;
2738
- this._tabs[index].pgClick.emit();
2739
- }
2740
- }
2741
- ngOnInit() {
2742
- this._setClassMap();
2743
- }
2744
- ngAfterContentChecked() {
2745
- // Clamp the next selected index to the bounds of 0 and the tabs length. Note the `|| 0`, which
2746
- // ensures that values like NaN can't get through and which would otherwise throw the
2747
- // component into an infinite loop (since Math.max(NaN, 0) === NaN).
2748
- const indexToSelect = (this._indexToSelect = Math.min(this._tabs.length - 1, Math.max(this._indexToSelect || 0, 0)));
2749
- // If there is a change in selected index, emit a change event. Should not trigger if
2750
- // the selected index has not yet been initialized.
2751
- if (this._selectedIndex !== indexToSelect && this._selectedIndex != null) {
2752
- this.SelectChange.emit(this._createChangeEvent(indexToSelect));
2753
- }
2754
- // Setup the position for each tab and optionally setup an origin on the next selected tab.
2755
- this._tabs.forEach((tab, index) => {
2756
- tab.position = index - indexToSelect;
2757
- // If there is already a selected tab, then set up an origin for the next selected tab
2758
- // if it doesn't have one already.
2759
- if (this._selectedIndex != null && tab.position === 0 && !tab.origin) {
2760
- tab.origin = indexToSelect - this._selectedIndex;
2761
- }
2762
- });
2763
- this._selectedIndex = indexToSelect;
2764
- }
2765
- ngAfterViewInit() {
2766
- this._isViewInit = true;
2767
- }
2768
- _createChangeEvent(index) {
2769
- const event = new TabChangeEvent();
2770
- event.index = index;
2771
- if (this._tabs && this._tabs.length) {
2772
- event.tab = this._tabs[index];
2773
- this._tabs.forEach((item, i) => {
2774
- if (i !== index) {
2775
- item.pgDeselect.emit();
2776
- }
2777
- });
2778
- event.tab.pgSelect.emit();
2779
- }
2780
- return event;
2781
- }
2782
- get inkBarAnimated() {
2783
- return this.Animated === true || this.Animated.inkBar === true;
2784
- }
2785
- get tabPaneAnimated() {
2786
- return this.Animated === true || this.Animated.tabPane === true;
2787
- }
2788
- constructor(_renderer) {
2789
- this._renderer = _renderer;
2790
- }
2791
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MefDevTabSetComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
2792
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", type: MefDevTabSetComponent, isStandalone: false, selector: "mefdev-tabset", inputs: { TabBarExtraTemplate: "TabBarExtraTemplate", Animated: "Animated", ShowPagination: "ShowPagination", Hide: "Hide", SelectedIndex: "SelectedIndex", Size: "Size", TabPosition: "TabPosition", extraTabClass: "extraTabClass", extraTabContentClass: "extraTabContentClass", Type: "Type", tabAnimation: "tabAnimation" }, outputs: { SelectedIndexChange: "SelectedIndexChange", SelectChange: "SelectChange" }, queries: [{ propertyName: "TabBarExtraContent", first: true, predicate: ["TabBarExtraContent"], descendants: true, static: true }], viewQueries: [{ propertyName: "_tabNav", first: true, predicate: ["tabNav"], descendants: true, static: true }, { propertyName: "_tabContent", first: true, predicate: ["tabContent"], descendants: true, static: true }, { propertyName: "_hostContent", first: true, predicate: ["hostContent"], descendants: true, static: true }], ngImport: i0, template: "<div class=\"tab-wrapper tab-{{ _tabPositionMode }} {{ _tabPosition }} {{ _type }} {{ _extra_tab_class }}\" #hostContent>\r\n <mefdev-tabs-nav\r\n #tabNav\r\n [Size]=\"Size\"\r\n [Type]=\"Type\"\r\n [ShowPagination]=\"ShowPagination\"\r\n [PositionMode]=\"_tabPositionMode\"\r\n [Position]=\"_tabPosition\"\r\n [Animated]=\"inkBarAnimated\"\r\n [HideBar]=\"Hide\"\r\n [selectedIndex]=\"SelectedIndex\"\r\n >\r\n <ng-template #tabBarExtraContent>\r\n <ng-template [ngTemplateOutlet]=\"TabBarExtraTemplate || TabBarExtraContent\"></ng-template>\r\n </ng-template>\r\n <li mefdev-tab-label [disabled]=\"tab.disabled\" (click)=\"clickLabel(i)\" *ngFor=\"let tab of _tabs; let i = index\">\r\n <a href=\"javascript:void(0);\" class=\"\" [class.active]=\"SelectedIndex == i && !Hide\">\r\n <ng-template [ngTemplateOutlet]=\"tab._tabHeading\"></ng-template>\r\n </a>\r\n </mefdev-tabs-nav>\r\n <div class=\"tab-content-wrapper {{ _extra_tabcontent_class }}\">\r\n <div\r\n class=\"tab-content {{ _tabAnimation }}\"\r\n #tabContent\r\n [class.animated]=\"tabPaneAnimated\"\r\n [class.not-animated]=\"!tabPaneAnimated\"\r\n [style.margin-left.%]=\"tabPaneAnimated && -(SelectedIndex ?? -1) * 100\"\r\n >\r\n <mefdev-tab-body\r\n class=\"tab-pane\"\r\n [class.active]=\"SelectedIndex == i && !Hide\"\r\n [class.inactive]=\"SelectedIndex != i || Hide\"\r\n [content]=\"tab.content\"\r\n *ngFor=\"let tab of _tabs; let i = index\"\r\n >\r\n </mefdev-tab-body>\r\n </div>\r\n </div>\r\n </div>", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: MefDevTabsNavComponent, selector: "mefdev-tabs-nav", inputs: ["Size", "Animated", "Position", "HideBar", "Type", "ShowPagination", "PositionMode", "selectedIndex"] }, { kind: "directive", type: MefDevTabLabelDirective, selector: "[mefdev-tab-label]", inputs: ["disabled"] }, { kind: "component", type: MefDevTabBodyComponent, selector: "mefdev-tab-body", inputs: ["content"] }], encapsulation: i0.ViewEncapsulation.None });
2793
- }
2794
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MefDevTabSetComponent, decorators: [{
2795
- type: Component,
2796
- args: [{ selector: 'mefdev-tabset', encapsulation: ViewEncapsulation.None, standalone: false, template: "<div class=\"tab-wrapper tab-{{ _tabPositionMode }} {{ _tabPosition }} {{ _type }} {{ _extra_tab_class }}\" #hostContent>\r\n <mefdev-tabs-nav\r\n #tabNav\r\n [Size]=\"Size\"\r\n [Type]=\"Type\"\r\n [ShowPagination]=\"ShowPagination\"\r\n [PositionMode]=\"_tabPositionMode\"\r\n [Position]=\"_tabPosition\"\r\n [Animated]=\"inkBarAnimated\"\r\n [HideBar]=\"Hide\"\r\n [selectedIndex]=\"SelectedIndex\"\r\n >\r\n <ng-template #tabBarExtraContent>\r\n <ng-template [ngTemplateOutlet]=\"TabBarExtraTemplate || TabBarExtraContent\"></ng-template>\r\n </ng-template>\r\n <li mefdev-tab-label [disabled]=\"tab.disabled\" (click)=\"clickLabel(i)\" *ngFor=\"let tab of _tabs; let i = index\">\r\n <a href=\"javascript:void(0);\" class=\"\" [class.active]=\"SelectedIndex == i && !Hide\">\r\n <ng-template [ngTemplateOutlet]=\"tab._tabHeading\"></ng-template>\r\n </a>\r\n </mefdev-tabs-nav>\r\n <div class=\"tab-content-wrapper {{ _extra_tabcontent_class }}\">\r\n <div\r\n class=\"tab-content {{ _tabAnimation }}\"\r\n #tabContent\r\n [class.animated]=\"tabPaneAnimated\"\r\n [class.not-animated]=\"!tabPaneAnimated\"\r\n [style.margin-left.%]=\"tabPaneAnimated && -(SelectedIndex ?? -1) * 100\"\r\n >\r\n <mefdev-tab-body\r\n class=\"tab-pane\"\r\n [class.active]=\"SelectedIndex == i && !Hide\"\r\n [class.inactive]=\"SelectedIndex != i || Hide\"\r\n [content]=\"tab.content\"\r\n *ngFor=\"let tab of _tabs; let i = index\"\r\n >\r\n </mefdev-tab-body>\r\n </div>\r\n </div>\r\n </div>" }]
2797
- }], ctorParameters: () => [{ type: i0.Renderer2 }], propDecorators: { TabBarExtraTemplate: [{
2798
- type: Input
2799
- }], TabBarExtraContent: [{
2800
- type: ContentChild,
2801
- args: ['TabBarExtraContent', { static: true }]
2802
- }], _tabNav: [{
2803
- type: ViewChild,
2804
- args: ['tabNav', { static: true }]
2805
- }], _tabContent: [{
2806
- type: ViewChild,
2807
- args: ['tabContent', { static: true }]
2808
- }], _hostContent: [{
2809
- type: ViewChild,
2810
- args: ['hostContent', { static: true }]
2811
- }], Animated: [{
2812
- type: Input
2813
- }], ShowPagination: [{
2814
- type: Input
2815
- }], Hide: [{
2816
- type: Input
2817
- }], SelectedIndex: [{
2818
- type: Input
2819
- }], SelectedIndexChange: [{
2820
- type: Output
2821
- }], SelectChange: [{
2822
- type: Output
2823
- }], Size: [{
2824
- type: Input
2825
- }], TabPosition: [{
2826
- type: Input
2827
- }], extraTabClass: [{
2828
- type: Input
2829
- }], extraTabContentClass: [{
2830
- type: Input
2831
- }], Type: [{
2832
- type: Input
2833
- }], tabAnimation: [{
2834
- type: Input
2835
- }] } });
2836
-
2837
- class MefDevTabComponent {
2838
- MefDevTabSetComponent;
2839
- disabled = false;
2840
- position = null;
2841
- origin = null;
2842
- /**
2843
- * Sets the disabled state of the tab.
2844
- *```html
2845
- * <mefdev-tab [Disabled]="true"></mefdev-tab>
2846
- * ```
2847
- */
2848
- set Disabled(value) {
2849
- this.disabled = toBoolean(value);
2850
- }
2851
- /**
2852
- * Gets the disabled state of the tab.
2853
- */
2854
- get Disabled() {
2855
- return this.disabled;
2856
- }
2857
- /**
2858
- * Event emitted when the tab is selected.
2859
- *```html
2860
- * <mefdev-tab (pgSelect)="onTabSelect()"></mefdev-tab>
2861
- * ```
2862
- */
2863
- pgSelect = new EventEmitter();
2864
- /**
2865
- * Event emitted when the tab is clicked.
2866
- *```html
2867
- * <mefdev-tab (pgClick)="onTabClick()"></mefdev-tab>
2868
- * ```
2869
- */
2870
- pgClick = new EventEmitter();
2871
- /**
2872
- * Event emitted when the tab is deselected.
2873
- *```html
2874
- * <mefdev-tab (pgDeselect)="onTabDeselect()"></mefdev-tab>
2875
- *```
2876
- */
2877
- pgDeselect = new EventEmitter();
2878
- /**
2879
- * Reference to the template for the tab heading.
2880
- */
2881
- _tabHeading;
2882
- /**
2883
- * Reference to the template for the tab content.
2884
- */
2885
- _content;
2886
- /**
2887
- * Gets the template for the tab content.
2888
- *```html
2889
- * <ng-container *ngTemplateOutlet="content"></ng-container>
2890
- *```
2891
- */
2892
- get content() {
2893
- return this._content;
2894
- }
2895
- constructor(MefDevTabSetComponent) {
2896
- this.MefDevTabSetComponent = MefDevTabSetComponent;
2897
- }
2898
- /**
2899
- * Initializes the tab component.
2900
- */
2901
- ngOnInit() {
2902
- this.MefDevTabSetComponent._tabs.push(this);
2903
- }
2904
- /**
2905
- * Cleans up resources when the tab component is destroyed.
2906
- */
2907
- ngOnDestroy() {
2908
- // Remove the tab from the parent tabset component when destroyed
2909
- this.MefDevTabSetComponent._tabs.splice(this.MefDevTabSetComponent._tabs.indexOf(this), 1);
2910
- }
2911
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MefDevTabComponent, deps: [{ token: MefDevTabSetComponent }], target: i0.ɵɵFactoryTarget.Component });
2912
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.6", type: MefDevTabComponent, isStandalone: false, selector: "mefdev-tab", inputs: { Disabled: "Disabled" }, outputs: { pgSelect: "pgSelect", pgClick: "pgClick", pgDeselect: "pgDeselect" }, host: { properties: { "class.ant-tabs-tabpane": "true" } }, queries: [{ propertyName: "_tabHeading", first: true, predicate: ["TabHeading"], descendants: true, static: true }], viewQueries: [{ propertyName: "_content", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: "<ng-template>\r\n <ng-content></ng-content>\r\n </ng-template>" });
2913
- }
2914
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MefDevTabComponent, decorators: [{
2915
- type: Component,
2916
- args: [{ selector: 'mefdev-tab', host: {
2917
- '[class.ant-tabs-tabpane]': 'true'
2918
- }, standalone: false, template: "<ng-template>\r\n <ng-content></ng-content>\r\n </ng-template>" }]
2919
- }], ctorParameters: () => [{ type: MefDevTabSetComponent }], propDecorators: { Disabled: [{
2920
- type: Input
2921
- }], pgSelect: [{
2922
- type: Output
2923
- }], pgClick: [{
2924
- type: Output
2925
- }], pgDeselect: [{
2926
- type: Output
2927
- }], _tabHeading: [{
2928
- type: ContentChild,
2929
- args: ['TabHeading', { static: true }]
2930
- }], _content: [{
2931
- type: ViewChild,
2932
- args: [TemplateRef, { static: true }]
2933
- }] } });
2934
-
2935
- class MefDevTabsModule {
2936
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MefDevTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2937
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: MefDevTabsModule, declarations: [MefDevTabComponent, MefDevTabSetComponent, MefDevTabsNavComponent, MefDevTabLabelDirective, MefDevTabsInkBarDirective, MefDevTabBodyComponent], imports: [CommonModule], exports: [MefDevTabComponent, MefDevTabSetComponent, MefDevTabsNavComponent, MefDevTabLabelDirective, MefDevTabsInkBarDirective, MefDevTabBodyComponent] });
2938
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MefDevTabsModule, imports: [CommonModule] });
2939
- }
2940
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MefDevTabsModule, decorators: [{
2941
- type: NgModule,
2942
- args: [{
2943
- declarations: [MefDevTabComponent, MefDevTabSetComponent, MefDevTabsNavComponent, MefDevTabLabelDirective, MefDevTabsInkBarDirective, MefDevTabBodyComponent],
2944
- exports: [MefDevTabComponent, MefDevTabSetComponent, MefDevTabsNavComponent, MefDevTabLabelDirective, MefDevTabsInkBarDirective, MefDevTabBodyComponent],
2945
- imports: [CommonModule]
2946
- }]
2947
- }] });
2948
-
2949
2137
  const ACCORDION = new InjectionToken('ACCORDION');
2950
2138
 
2951
2139
  const MD_EXPANSION_PANEL = new InjectionToken('MD_EXPANSION_PANEL');
@@ -4593,7 +3781,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImpor
4593
3781
  */
4594
3782
  class MDDialogContent {
4595
3783
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MDDialogContent, deps: [], target: i0.ɵɵFactoryTarget.Directive });
4596
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.6", type: MDDialogContent, isStandalone: true, selector: "[md-dialog-content], md-dialog-content, [mdDialogContent]", host: { classAttribute: "mdc-dialog-content mdc-dialog__content" }, hostDirectives: [{ directive: i1$2.CdkScrollable }], ngImport: i0 });
3784
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.6", type: MDDialogContent, isStandalone: true, selector: "[md-dialog-content], md-dialog-content, [mdDialogContent]", host: { classAttribute: "mdc-dialog-content mdc-dialog__content" }, hostDirectives: [{ directive: i1$1.CdkScrollable }], ngImport: i0 });
4597
3785
  }
4598
3786
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MDDialogContent, decorators: [{
4599
3787
  type: Directive,
@@ -15390,5 +14578,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImpor
15390
14578
  * Generated bundle index. Do not edit.
15391
14579
  */
15392
14580
 
15393
- export { ACCORDION, CARD_CONFIG, CardSimpleComponent, CentralPageComponent, CentralPageRowComponent, CollapseComponent, CollapseSetComponent, DIALOG_DATA, DIALOG_DEFAULT_OPTIONS, DIALOG_SCROLL_STRATEGY, DialogState, EXPANSION_PANEL_DEFAULT_OPTIONS, ErrorStateMatcher, ExpansionPanelActionRow, ExpansionPanelDescription, ExpansionPanelTitle, FillComponent, FilteredFieldContainerComponent, FilteredFieldItemComponent, FilteredFieldService, FiltredItemModel, INK_BAR_POSITIONER, INK_BAR_POSITIONER_FACTORY, InkBar, MDAccordion, MDAutocomplete, MDAutocompleteModule, MDAutocompleteOrigin, MDAutocompleteSelectedEvent, MDAutocompleteTrigger, MDCard, MDCardActions, MDCardAvatar, MDCardContent, MDCardFooter, MDCardHeader, MDCardImage, MDCardLgImage, MDCardMdImage, MDCardModule, MDCardSmImage, MDCardSubtitle, MDCardTitle, MDCardTitleGroup, MDCardXlImage, MDCheckBox, MDCheckBoxModule, MDCheckboxChange, MDChip, MDChipAvatar, MDChipEdit, MDChipEditInput, MDChipGrid, MDChipGridChange, MDChipInput, MDChipListbox, MDChipListboxChange, MDChipOption, MDChipRemove, MDChipRow, MDChipSelectionChange, MDChipSet, MDChipTrailingIcon, MDChipsModule, MDCollapseModule, MDContextMenuTrigger, MDDialog, MDDialogActions, MDDialogClose, MDDialogContainer, MDDialogContent, MDDialogTitle, MDExpansionPanel, MDExpansionPanelContent, MDExpansionPanelHeader, MDGridActionsColumnDirective, MDGridAutoSizeDirective, MDGridCellTemplateDirective, MDGridColumnDirective, MDGridComponent, MDGridEditTemplateDirective, MDGridHeaderTemplateDirective, MDGridIdColumnDirective, MDGridModule, MDGridResetFlexSizingDirective, MDGridToolbarTemplateDirective, MDHeaderCardComponent, MDHeaderCardModule, MDHeaderCardSetComponent, MDMenu, MDMenuContent, MDMenuItem, MDMenuModule, MDMenuTrigger, MDModalModule, MDOption, MDOptionGroup, MDOptionModule, MDOptionSelectionChange, MDPaginatorComponent, MDPaginatorModule, MDPseudoCheckboxModule, MDRadioButton, MDRadioGroup, MDRadioModule, MDSelect, MDSelectModule, MDSelectTrigger, MDStep, MDStepContent, MDStepExecutorModule, MDStepFooter, MDStepHeader, MDStepLabel, MDStepper, MDStepperIcon, MDStepperNext, MDStepperPrevious, MDSwitch, MDSwitchModule, MDTab, MDTabBody, MDTabChangeEvent, MDTabContent, MDTabGroup, MDTabHeader, MDTabLabel, MDTabLabelWrapper, MDTabLink, MDTabNav, MDTabNavPanel, MDTabsModule, MD_AUTOCOMPLETE_DEFAULT_OPTIONS, MD_AUTOCOMPLETE_SCROLL_STRATEGY, MD_AUTOCOMPLETE_VALUE_ACCESSOR, MD_CHIP, MD_CHIPS_DEFAULT_OPTIONS, MD_CHIP_AVATAR, MD_CHIP_EDIT, MD_CHIP_LISTBOX_CONTROL_VALUE_ACCESSOR, MD_CHIP_REMOVE, MD_CHIP_TRAILING_ICON, MD_EXPANSION_PANEL, MD_MENU_CONTENT, MD_MENU_DEFAULT_OPTIONS, MD_MENU_PANEL, MD_MENU_SCROLL_STRATEGY, MD_OPTION_PARENT_COMPONENT, MD_RADIO_GROUP, MD_SELECT_TRIGGER, MD_TAB, MD_TAB_LABEL, MENU_PANEL_TOP_PADDING, ManagePageComponent, MefDevCardModule, MefDevCollapseModule, MefDevDialogConfig, MefDevDialogRef, MefDevDropDownMenuModule, MefDevFilteredFieldModule, MefDevModalModule, MefDevPageLayoutsModule, MefDevProgressComponent, MefDevProgressModule, MefDevStepExecutorModule, MefDevSwitchComponent, MefDevSwitchModule, MefDevTabBodyComponent, MefDevTabComponent, MefDevTabLabelDirective, MefDevTabSetComponent, MefDevTabsInkBarDirective, MefDevTabsModule, MefDevTabsNavComponent, MefdevDropdownMenuComponent, MefdevExecutorPageComponent, PaginatedTabHeader, ProgressConfig, PseudoCheckbox, RADIO_GROUP_CONTROL_VALUE_ACCESSOR, RadioChange, RightFilterComponent, STEPPER_INTL_PROVIDER, STEPPER_INTL_PROVIDER_FACTORY, SelectChange, ShowOnDirtyErrorStateMatcher, SlideRightComponent, SlideUpComponent, SortDirection, SortType, StageComponent, StepExecutorComponent, StepperErrorStateMatcher, StepperIntl, TABS_CONFIG, TAB_CONTENT, TAB_GROUP, TabBodyPortal, TabChangeEvent, TablePageComponent, TransitionCheckState, _ErrorStateTracker, _closeDialogVia, _countGroupLabelsBeforeOption, _getOptionScrollPosition, components, getMDAutocompleteMissingPanelError, getMDSelectDynamicMultipleError, getMDSelectNonArrayValueError, getMDSelectNonFunctionValueError, groupRowsByProperty, mefDevCardComponents, mefDevCollapseModuleComponents, sortRows };
14581
+ export { ACCORDION, CARD_CONFIG, CardSimpleComponent, CentralPageComponent, CentralPageRowComponent, CollapseComponent, CollapseSetComponent, DIALOG_DATA, DIALOG_DEFAULT_OPTIONS, DIALOG_SCROLL_STRATEGY, DialogState, EXPANSION_PANEL_DEFAULT_OPTIONS, ErrorStateMatcher, ExpansionPanelActionRow, ExpansionPanelDescription, ExpansionPanelTitle, FillComponent, FilteredFieldContainerComponent, FilteredFieldItemComponent, FilteredFieldService, FiltredItemModel, INK_BAR_POSITIONER, INK_BAR_POSITIONER_FACTORY, InkBar, MDAccordion, MDAutocomplete, MDAutocompleteModule, MDAutocompleteOrigin, MDAutocompleteSelectedEvent, MDAutocompleteTrigger, MDCard, MDCardActions, MDCardAvatar, MDCardContent, MDCardFooter, MDCardHeader, MDCardImage, MDCardLgImage, MDCardMdImage, MDCardModule, MDCardSmImage, MDCardSubtitle, MDCardTitle, MDCardTitleGroup, MDCardXlImage, MDCheckBox, MDCheckBoxModule, MDCheckboxChange, MDChip, MDChipAvatar, MDChipEdit, MDChipEditInput, MDChipGrid, MDChipGridChange, MDChipInput, MDChipListbox, MDChipListboxChange, MDChipOption, MDChipRemove, MDChipRow, MDChipSelectionChange, MDChipSet, MDChipTrailingIcon, MDChipsModule, MDCollapseModule, MDContextMenuTrigger, MDDialog, MDDialogActions, MDDialogClose, MDDialogContainer, MDDialogContent, MDDialogTitle, MDExpansionPanel, MDExpansionPanelContent, MDExpansionPanelHeader, MDGridActionsColumnDirective, MDGridAutoSizeDirective, MDGridCellTemplateDirective, MDGridColumnDirective, MDGridComponent, MDGridEditTemplateDirective, MDGridHeaderTemplateDirective, MDGridIdColumnDirective, MDGridModule, MDGridResetFlexSizingDirective, MDGridToolbarTemplateDirective, MDHeaderCardComponent, MDHeaderCardModule, MDHeaderCardSetComponent, MDMenu, MDMenuContent, MDMenuItem, MDMenuModule, MDMenuTrigger, MDModalModule, MDOption, MDOptionGroup, MDOptionModule, MDOptionSelectionChange, MDPaginatorComponent, MDPaginatorModule, MDPseudoCheckboxModule, MDRadioButton, MDRadioGroup, MDRadioModule, MDSelect, MDSelectModule, MDSelectTrigger, MDStep, MDStepContent, MDStepExecutorModule, MDStepFooter, MDStepHeader, MDStepLabel, MDStepper, MDStepperIcon, MDStepperNext, MDStepperPrevious, MDSwitch, MDSwitchModule, MDTab, MDTabBody, MDTabChangeEvent, MDTabContent, MDTabGroup, MDTabHeader, MDTabLabel, MDTabLabelWrapper, MDTabLink, MDTabNav, MDTabNavPanel, MDTabsModule, MD_AUTOCOMPLETE_DEFAULT_OPTIONS, MD_AUTOCOMPLETE_SCROLL_STRATEGY, MD_AUTOCOMPLETE_VALUE_ACCESSOR, MD_CHIP, MD_CHIPS_DEFAULT_OPTIONS, MD_CHIP_AVATAR, MD_CHIP_EDIT, MD_CHIP_LISTBOX_CONTROL_VALUE_ACCESSOR, MD_CHIP_REMOVE, MD_CHIP_TRAILING_ICON, MD_EXPANSION_PANEL, MD_MENU_CONTENT, MD_MENU_DEFAULT_OPTIONS, MD_MENU_PANEL, MD_MENU_SCROLL_STRATEGY, MD_OPTION_PARENT_COMPONENT, MD_RADIO_GROUP, MD_SELECT_TRIGGER, MD_TAB, MD_TAB_LABEL, MENU_PANEL_TOP_PADDING, ManagePageComponent, MefDevCardModule, MefDevCollapseModule, MefDevDialogConfig, MefDevDialogRef, MefDevDropDownMenuModule, MefDevFilteredFieldModule, MefDevModalModule, MefDevPageLayoutsModule, MefDevProgressComponent, MefDevProgressModule, MefDevStepExecutorModule, MefDevSwitchComponent, MefDevSwitchModule, MefdevDropdownMenuComponent, MefdevExecutorPageComponent, PaginatedTabHeader, ProgressConfig, PseudoCheckbox, RADIO_GROUP_CONTROL_VALUE_ACCESSOR, RadioChange, RightFilterComponent, STEPPER_INTL_PROVIDER, STEPPER_INTL_PROVIDER_FACTORY, SelectChange, ShowOnDirtyErrorStateMatcher, SlideRightComponent, SlideUpComponent, SortDirection, SortType, StageComponent, StepExecutorComponent, StepperErrorStateMatcher, StepperIntl, TABS_CONFIG, TAB_CONTENT, TAB_GROUP, TabBodyPortal, TablePageComponent, TransitionCheckState, _ErrorStateTracker, _closeDialogVia, _countGroupLabelsBeforeOption, _getOptionScrollPosition, components, getMDAutocompleteMissingPanelError, getMDSelectDynamicMultipleError, getMDSelectNonArrayValueError, getMDSelectNonFunctionValueError, groupRowsByProperty, mefDevCardComponents, mefDevCollapseModuleComponents, sortRows };
15394
14582
  //# sourceMappingURL=natec-mef-dev-ui-kit.mjs.map