@fundamental-ngx/core 0.61.2-rc.8 → 0.61.2-rc.9
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/fesm2022/fundamental-ngx-core-dialog.mjs +11 -16
- package/fesm2022/fundamental-ngx-core-dialog.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-menu.mjs +2 -4
- package/fesm2022/fundamental-ngx-core-menu.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-message-box.mjs +7 -7
- package/fesm2022/fundamental-ngx-core-message-box.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-multi-combobox.mjs +3 -4
- package/fesm2022/fundamental-ngx-core-multi-combobox.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-multi-input.mjs +5 -7
- package/fesm2022/fundamental-ngx-core-multi-input.mjs.map +1 -1
- package/fesm2022/fundamental-ngx-core-popover.mjs +3 -3
- package/fesm2022/fundamental-ngx-core-popover.mjs.map +1 -1
- package/package.json +3 -3
- package/types/fundamental-ngx-core-dialog.d.ts +1 -1
- package/types/fundamental-ngx-core-message-box.d.ts +1 -1
|
@@ -4,7 +4,7 @@ import * as i3$2 from '@angular/cdk/portal';
|
|
|
4
4
|
import { PortalModule, CdkPortalOutlet, ComponentPortal } from '@angular/cdk/portal';
|
|
5
5
|
import { AsyncPipe, NgTemplateOutlet, isPlatformBrowser } from '@angular/common';
|
|
6
6
|
import * as i1 from '@fundamental-ngx/cdk/utils';
|
|
7
|
-
import { DynamicPortalComponent, TemplateDirective, FocusTrapService, RtlService, KeyUtil, ResizeDirective, ResizeHandleDirective, applyCssClass, InitialFocusDirective, DynamicComponentContainer, DynamicComponentService
|
|
7
|
+
import { DynamicPortalComponent, TemplateDirective, FocusTrapService, RtlService, KeyUtil, ResizeDirective, ResizeHandleDirective, applyCssClass, InitialFocusDirective, DynamicComponentContainer, DynamicComponentService } from '@fundamental-ngx/cdk/utils';
|
|
8
8
|
import { BusyIndicatorComponent } from '@fundamental-ngx/core/busy-indicator';
|
|
9
9
|
import * as i3 from '@fundamental-ngx/core/scrollbar';
|
|
10
10
|
import { ScrollbarDirective } from '@fundamental-ngx/core/scrollbar';
|
|
@@ -388,14 +388,14 @@ class DialogFooterBase {
|
|
|
388
388
|
* Returns the TemplateRef when a template with name='footer' is projected.
|
|
389
389
|
* This template uses the predefined Bar layout.
|
|
390
390
|
*/
|
|
391
|
-
this.footerTemplate = computed(() => this.customTemplates().find((t) => t.name === 'footer')?.templateRef, ...(ngDevMode ? [{ debugName: "footerTemplate" }] : []));
|
|
391
|
+
this.footerTemplate = computed(() => this.customTemplates().find((t) => t.name() === 'footer')?.templateRef, ...(ngDevMode ? [{ debugName: "footerTemplate" }] : []));
|
|
392
392
|
/**
|
|
393
393
|
* @hidden
|
|
394
394
|
* Signal containing the custom footer template without predefined Bar, if provided.
|
|
395
395
|
* Returns the TemplateRef when a template with name='customFooter' is projected.
|
|
396
396
|
* This template gives full control to the user without any predefined layout.
|
|
397
397
|
*/
|
|
398
|
-
this.customFooterTemplate = computed(() => this.customTemplates().find((t) => t.name === 'customFooter')?.templateRef, ...(ngDevMode ? [{ debugName: "customFooterTemplate" }] : []));
|
|
398
|
+
this.customFooterTemplate = computed(() => this.customTemplates().find((t) => t.name() === 'customFooter')?.templateRef, ...(ngDevMode ? [{ debugName: "customFooterTemplate" }] : []));
|
|
399
399
|
/** @hidden */
|
|
400
400
|
this.injector = inject(Injector);
|
|
401
401
|
}
|
|
@@ -470,13 +470,13 @@ class DialogHeaderBase {
|
|
|
470
470
|
* Signal containing the custom header template, if provided.
|
|
471
471
|
* Returns the TemplateRef when a template with name='header' is projected.
|
|
472
472
|
*/
|
|
473
|
-
this.headerTemplate = computed(() => this.customTemplates().find((t) => t.name === 'header')?.templateRef, ...(ngDevMode ? [{ debugName: "headerTemplate" }] : []));
|
|
473
|
+
this.headerTemplate = computed(() => this.customTemplates().find((t) => t.name() === 'header')?.templateRef, ...(ngDevMode ? [{ debugName: "headerTemplate" }] : []));
|
|
474
474
|
/**
|
|
475
475
|
* @hidden
|
|
476
476
|
* Signal containing the custom subheader template, if provided.
|
|
477
477
|
* Returns the TemplateRef when a template with name='subheader' is projected.
|
|
478
478
|
*/
|
|
479
|
-
this.subHeaderTemplate = computed(() => this.customTemplates().find((t) => t.name === 'subheader')?.templateRef, ...(ngDevMode ? [{ debugName: "subHeaderTemplate" }] : []));
|
|
479
|
+
this.subHeaderTemplate = computed(() => this.customTemplates().find((t) => t.name() === 'subheader')?.templateRef, ...(ngDevMode ? [{ debugName: "subHeaderTemplate" }] : []));
|
|
480
480
|
}
|
|
481
481
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DialogHeaderBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
482
482
|
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "21.1.0", type: DialogHeaderBase, isStandalone: true, providers: [
|
|
@@ -1409,7 +1409,7 @@ class DialogModule {
|
|
|
1409
1409
|
DialogFullScreenTogglerButtonComponent,
|
|
1410
1410
|
DialogTemplateDirective,
|
|
1411
1411
|
// Keeping these two items for backwards compatibility.
|
|
1412
|
-
|
|
1412
|
+
TemplateDirective,
|
|
1413
1413
|
BarComponent,
|
|
1414
1414
|
BarLeftDirective,
|
|
1415
1415
|
BarMiddleDirective,
|
|
@@ -1427,7 +1427,7 @@ class DialogModule {
|
|
|
1427
1427
|
DialogFullScreenTogglerButtonComponent,
|
|
1428
1428
|
DialogTemplateDirective,
|
|
1429
1429
|
// Keeping these two items for backwards compatibility.
|
|
1430
|
-
|
|
1430
|
+
TemplateDirective,
|
|
1431
1431
|
BarComponent,
|
|
1432
1432
|
BarLeftDirective,
|
|
1433
1433
|
BarMiddleDirective,
|
|
@@ -1442,14 +1442,9 @@ class DialogModule {
|
|
|
1442
1442
|
DialogDefaultComponent,
|
|
1443
1443
|
DialogContainerComponent,
|
|
1444
1444
|
DialogCloseButtonComponent,
|
|
1445
|
-
DialogFullScreenTogglerButtonComponent,
|
|
1446
|
-
// Keeping these two items for backwards compatibility.
|
|
1447
|
-
TemplateModule,
|
|
1448
|
-
BarComponent,
|
|
1445
|
+
DialogFullScreenTogglerButtonComponent, BarComponent,
|
|
1449
1446
|
ButtonBarComponent,
|
|
1450
|
-
TitleComponent
|
|
1451
|
-
// Keeping these two items for backwards compatibility.
|
|
1452
|
-
TemplateModule] }); }
|
|
1447
|
+
TitleComponent] }); }
|
|
1453
1448
|
}
|
|
1454
1449
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImport: i0, type: DialogModule, decorators: [{
|
|
1455
1450
|
type: NgModule,
|
|
@@ -1457,7 +1452,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
1457
1452
|
imports: [
|
|
1458
1453
|
declarations,
|
|
1459
1454
|
// Keeping these two items for backwards compatibility.
|
|
1460
|
-
|
|
1455
|
+
TemplateDirective,
|
|
1461
1456
|
BarComponent,
|
|
1462
1457
|
BarLeftDirective,
|
|
1463
1458
|
BarMiddleDirective,
|
|
@@ -1469,7 +1464,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.0", ngImpor
|
|
|
1469
1464
|
exports: [
|
|
1470
1465
|
declarations,
|
|
1471
1466
|
// Keeping these two items for backwards compatibility.
|
|
1472
|
-
|
|
1467
|
+
TemplateDirective,
|
|
1473
1468
|
BarComponent,
|
|
1474
1469
|
BarLeftDirective,
|
|
1475
1470
|
BarMiddleDirective,
|