@symphony-talent/component-library 4.41.0 → 4.43.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/esm2020/lib/molecules/button-with-icon/button-with-icon.component.mjs +5 -3
- package/esm2020/lib/molecules/labelled-input-toggle/labelled-input-toggle.component.mjs +24 -0
- package/esm2020/lib/molecules/labelled-input-toggle/labelled-input-toggle.model.mjs +2 -0
- package/esm2020/lib/molecules/labelled-input-toggle/labelled-input-toggle.module.mjs +19 -0
- package/esm2020/lib/molecules/labelled-toggle-list/labelled-toggle-list.component.mjs +23 -0
- package/esm2020/lib/molecules/labelled-toggle-list/labelled-toggle-list.module.mjs +19 -0
- package/esm2020/lib/molecules/molecules.module.mjs +16 -4
- package/esm2020/lib/organisms/grid-actions/grid-actions.component.mjs +3 -3
- package/esm2020/lib/organisms/grid-actions/grid-actions.model.mjs +1 -1
- package/esm2020/projects/component-library/lib/molecules/button-with-icon/button-with-icon.component.mjs +5 -3
- package/esm2020/projects/component-library/lib/molecules/labelled-input-toggle/labelled-input-toggle.component.mjs +24 -0
- package/esm2020/projects/component-library/lib/molecules/labelled-input-toggle/labelled-input-toggle.model.mjs +2 -0
- package/esm2020/projects/component-library/lib/molecules/labelled-input-toggle/labelled-input-toggle.module.mjs +19 -0
- package/esm2020/projects/component-library/lib/molecules/labelled-toggle-list/labelled-toggle-list.component.mjs +23 -0
- package/esm2020/projects/component-library/lib/molecules/labelled-toggle-list/labelled-toggle-list.module.mjs +19 -0
- package/esm2020/projects/component-library/lib/molecules/molecules.module.mjs +16 -4
- package/esm2020/projects/component-library/lib/organisms/grid-actions/grid-actions.component.mjs +3 -3
- package/esm2020/projects/component-library/lib/organisms/grid-actions/grid-actions.model.mjs +1 -1
- package/fesm2015/symphony-talent-component-library-projects-component-library.mjs +85 -7
- package/fesm2015/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
- package/fesm2015/symphony-talent-component-library.mjs +85 -7
- package/fesm2015/symphony-talent-component-library.mjs.map +1 -1
- package/fesm2020/symphony-talent-component-library-projects-component-library.mjs +85 -7
- package/fesm2020/symphony-talent-component-library-projects-component-library.mjs.map +1 -1
- package/fesm2020/symphony-talent-component-library.mjs +85 -7
- package/fesm2020/symphony-talent-component-library.mjs.map +1 -1
- package/lib/molecules/button-with-icon/button-with-icon.component.d.ts +2 -1
- package/lib/molecules/labelled-input-toggle/labelled-input-toggle.component.d.ts +11 -0
- package/lib/molecules/labelled-input-toggle/labelled-input-toggle.model.d.ts +6 -0
- package/lib/molecules/labelled-input-toggle/labelled-input-toggle.module.d.ts +9 -0
- package/lib/molecules/labelled-toggle-list/labelled-toggle-list.component.d.ts +11 -0
- package/lib/molecules/labelled-toggle-list/labelled-toggle-list.module.d.ts +9 -0
- package/lib/molecules/molecules.module.d.ts +5 -2
- package/lib/organisms/grid-actions/grid-actions.model.d.ts +1 -0
- package/package.json +1 -1
- package/projects/component-library/lib/molecules/button-with-icon/button-with-icon.component.d.ts +2 -1
- package/projects/component-library/lib/molecules/labelled-input-toggle/labelled-input-toggle.component.d.ts +11 -0
- package/projects/component-library/lib/molecules/labelled-input-toggle/labelled-input-toggle.model.d.ts +6 -0
- package/projects/component-library/lib/molecules/labelled-input-toggle/labelled-input-toggle.module.d.ts +9 -0
- package/projects/component-library/lib/molecules/labelled-toggle-list/labelled-toggle-list.component.d.ts +11 -0
- package/projects/component-library/lib/molecules/labelled-toggle-list/labelled-toggle-list.module.d.ts +9 -0
- package/projects/component-library/lib/molecules/molecules.module.d.ts +5 -2
- package/projects/component-library/lib/organisms/grid-actions/grid-actions.model.d.ts +1 -0
|
@@ -3457,10 +3457,10 @@ class ButtonWithIconComponent {
|
|
|
3457
3457
|
}
|
|
3458
3458
|
}
|
|
3459
3459
|
ButtonWithIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ButtonWithIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3460
|
-
ButtonWithIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: ButtonWithIconComponent, selector: "symphony-button-with-icon", inputs: { text: "text", icon: "icon", showActionButton: "showActionButton", showPopover: "showPopover" }, outputs: { clicked: "clicked" }, ngImport: i0, template: "<div class=\"sfx-actions-items-list\" *ngIf=\"showActionButton\">\n <button (click)=\"onClick()\">\n <symphony-icon [icon]=\"icon\"></symphony-icon>{{ text }}\n </button>\n</div
|
|
3460
|
+
ButtonWithIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: ButtonWithIconComponent, selector: "symphony-button-with-icon", inputs: { text: "text", icon: "icon", showActionButton: "showActionButton", showPopover: "showPopover", isDisabled: "isDisabled" }, outputs: { clicked: "clicked" }, ngImport: i0, template: "<div class=\"sfx-actions-items-list\" *ngIf=\"showActionButton\">\n <button (click)=\"onClick()\" [disabled]=\"isDisabled\">\n <symphony-icon [icon]=\"icon\"></symphony-icon>{{ text }}\n </button>\n</div>", styles: [".sfx-actions-items-list button{background:transparent;border:none;outline:none;margin-right:1.25rem;margin-bottom:.625rem}.sfx-actions-items-list button i{font-size:1.125rem;margin-right:.9375rem;position:relative;top:2px}.sfx-actions-items-list button:disabled{cursor:not-allowed;opacity:70%}\n"], components: [{ type: IconComponent, selector: "symphony-icon", inputs: ["icon", "isSecondary", "size", "iconColor"], outputs: ["clicked"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], encapsulation: i0.ViewEncapsulation.None });
|
|
3461
3461
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: ButtonWithIconComponent, decorators: [{
|
|
3462
3462
|
type: Component,
|
|
3463
|
-
args: [{ selector: 'symphony-button-with-icon', encapsulation: ViewEncapsulation.None, template: "<div class=\"sfx-actions-items-list\" *ngIf=\"showActionButton\">\n <button (click)=\"onClick()\">\n <symphony-icon [icon]=\"icon\"></symphony-icon>{{ text }}\n </button>\n</div
|
|
3463
|
+
args: [{ selector: 'symphony-button-with-icon', encapsulation: ViewEncapsulation.None, template: "<div class=\"sfx-actions-items-list\" *ngIf=\"showActionButton\">\n <button (click)=\"onClick()\" [disabled]=\"isDisabled\">\n <symphony-icon [icon]=\"icon\"></symphony-icon>{{ text }}\n </button>\n</div>", styles: [".sfx-actions-items-list button{background:transparent;border:none;outline:none;margin-right:1.25rem;margin-bottom:.625rem}.sfx-actions-items-list button i{font-size:1.125rem;margin-right:.9375rem;position:relative;top:2px}.sfx-actions-items-list button:disabled{cursor:not-allowed;opacity:70%}\n"] }]
|
|
3464
3464
|
}], ctorParameters: function () { return []; }, propDecorators: { text: [{
|
|
3465
3465
|
type: Input
|
|
3466
3466
|
}], icon: [{
|
|
@@ -3469,6 +3469,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
3469
3469
|
type: Input
|
|
3470
3470
|
}], showPopover: [{
|
|
3471
3471
|
type: Input
|
|
3472
|
+
}], isDisabled: [{
|
|
3473
|
+
type: Input
|
|
3472
3474
|
}], clicked: [{
|
|
3473
3475
|
type: Output
|
|
3474
3476
|
}] } });
|
|
@@ -3487,6 +3489,73 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
3487
3489
|
}]
|
|
3488
3490
|
}] });
|
|
3489
3491
|
|
|
3492
|
+
class LabelledInputToggleComponent {
|
|
3493
|
+
constructor() {
|
|
3494
|
+
this.toggleCurrentValue = new EventEmitter();
|
|
3495
|
+
}
|
|
3496
|
+
updateToggleValue(isToggled) {
|
|
3497
|
+
this.model.isToggled = isToggled;
|
|
3498
|
+
this.toggleCurrentValue.emit(this.model);
|
|
3499
|
+
}
|
|
3500
|
+
}
|
|
3501
|
+
LabelledInputToggleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: LabelledInputToggleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3502
|
+
LabelledInputToggleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: LabelledInputToggleComponent, selector: "symphony-labelled-input-toggle", inputs: { model: "model" }, outputs: { toggleCurrentValue: "toggleCurrentValue" }, ngImport: i0, template: "<div *ngIf=\"model\" class=\"settingContainer sfx-border-bottom-gray-1\">\n <div class=\"toggleText\">\n <div>\n <p class=\"sfx-font-bold\">{{ model.label }}</p>\n </div>\n <div>\n <p>{{ model.description }}</p>\n </div>\n </div>\n <symphony-input-toggle\n class=\"toggleControl\"\n [isToggled]=\"model.isToggled\"\n (toggleClick)=\"updateToggleValue($event)\"\n ></symphony-input-toggle>\n</div>\n", styles: [".toggleText{display:Inline-Block}.toggleControl{float:right;margin-top:20px}.settingContainer{margin:10px}\n"], components: [{ type: InputToggleComponent, selector: "symphony-input-toggle", inputs: ["isToggled", "isInverse"], outputs: ["toggleClick"] }], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
3503
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: LabelledInputToggleComponent, decorators: [{
|
|
3504
|
+
type: Component,
|
|
3505
|
+
args: [{ selector: 'symphony-labelled-input-toggle', template: "<div *ngIf=\"model\" class=\"settingContainer sfx-border-bottom-gray-1\">\n <div class=\"toggleText\">\n <div>\n <p class=\"sfx-font-bold\">{{ model.label }}</p>\n </div>\n <div>\n <p>{{ model.description }}</p>\n </div>\n </div>\n <symphony-input-toggle\n class=\"toggleControl\"\n [isToggled]=\"model.isToggled\"\n (toggleClick)=\"updateToggleValue($event)\"\n ></symphony-input-toggle>\n</div>\n", styles: [".toggleText{display:Inline-Block}.toggleControl{float:right;margin-top:20px}.settingContainer{margin:10px}\n"] }]
|
|
3506
|
+
}], ctorParameters: function () { return []; }, propDecorators: { model: [{
|
|
3507
|
+
type: Input
|
|
3508
|
+
}], toggleCurrentValue: [{
|
|
3509
|
+
type: Output
|
|
3510
|
+
}] } });
|
|
3511
|
+
|
|
3512
|
+
class LabelledInputToggleModule {
|
|
3513
|
+
}
|
|
3514
|
+
LabelledInputToggleModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: LabelledInputToggleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3515
|
+
LabelledInputToggleModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: LabelledInputToggleModule, declarations: [LabelledInputToggleComponent], imports: [InputToggleModule, CommonModule], exports: [LabelledInputToggleComponent] });
|
|
3516
|
+
LabelledInputToggleModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: LabelledInputToggleModule, imports: [[InputToggleModule, CommonModule]] });
|
|
3517
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: LabelledInputToggleModule, decorators: [{
|
|
3518
|
+
type: NgModule,
|
|
3519
|
+
args: [{
|
|
3520
|
+
declarations: [LabelledInputToggleComponent],
|
|
3521
|
+
exports: [LabelledInputToggleComponent],
|
|
3522
|
+
imports: [InputToggleModule, CommonModule],
|
|
3523
|
+
}]
|
|
3524
|
+
}] });
|
|
3525
|
+
|
|
3526
|
+
class LabelledToggleListComponent {
|
|
3527
|
+
constructor() {
|
|
3528
|
+
this.toggleListItemValue = new EventEmitter();
|
|
3529
|
+
}
|
|
3530
|
+
updateListItemValue(event) {
|
|
3531
|
+
this.toggleListItemValue.emit(event);
|
|
3532
|
+
}
|
|
3533
|
+
}
|
|
3534
|
+
LabelledToggleListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: LabelledToggleListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3535
|
+
LabelledToggleListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: LabelledToggleListComponent, selector: "symphony-labelled-toggle-list", inputs: { modelList: "modelList" }, outputs: { toggleListItemValue: "toggleListItemValue" }, ngImport: i0, template: "<symphony-labelled-input-toggle\n *ngFor=\"let inputModel of modelList\"\n [model]=\"inputModel\"\n (toggleCurrentValue)=\"updateListItemValue($event)\"\n>\n</symphony-labelled-input-toggle>\n", components: [{ type: LabelledInputToggleComponent, selector: "symphony-labelled-input-toggle", inputs: ["model"], outputs: ["toggleCurrentValue"] }], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
3536
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: LabelledToggleListComponent, decorators: [{
|
|
3537
|
+
type: Component,
|
|
3538
|
+
args: [{ selector: 'symphony-labelled-toggle-list', template: "<symphony-labelled-input-toggle\n *ngFor=\"let inputModel of modelList\"\n [model]=\"inputModel\"\n (toggleCurrentValue)=\"updateListItemValue($event)\"\n>\n</symphony-labelled-input-toggle>\n" }]
|
|
3539
|
+
}], ctorParameters: function () { return []; }, propDecorators: { modelList: [{
|
|
3540
|
+
type: Input
|
|
3541
|
+
}], toggleListItemValue: [{
|
|
3542
|
+
type: Output
|
|
3543
|
+
}] } });
|
|
3544
|
+
|
|
3545
|
+
class LabelledToggleListModule {
|
|
3546
|
+
}
|
|
3547
|
+
LabelledToggleListModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: LabelledToggleListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3548
|
+
LabelledToggleListModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: LabelledToggleListModule, declarations: [LabelledToggleListComponent], imports: [LabelledInputToggleModule, CommonModule], exports: [LabelledToggleListComponent] });
|
|
3549
|
+
LabelledToggleListModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: LabelledToggleListModule, imports: [[LabelledInputToggleModule, CommonModule]] });
|
|
3550
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: LabelledToggleListModule, decorators: [{
|
|
3551
|
+
type: NgModule,
|
|
3552
|
+
args: [{
|
|
3553
|
+
declarations: [LabelledToggleListComponent],
|
|
3554
|
+
exports: [LabelledToggleListComponent],
|
|
3555
|
+
imports: [LabelledInputToggleModule, CommonModule],
|
|
3556
|
+
}]
|
|
3557
|
+
}] });
|
|
3558
|
+
|
|
3490
3559
|
class MoleculesModule {
|
|
3491
3560
|
}
|
|
3492
3561
|
MoleculesModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: MoleculesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -3512,7 +3581,10 @@ MoleculesModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version
|
|
|
3512
3581
|
CharacterCounterModule,
|
|
3513
3582
|
SettingsDetailNavigationItemModule,
|
|
3514
3583
|
EditableSettingItemModule,
|
|
3515
|
-
TabsModules
|
|
3584
|
+
TabsModules,
|
|
3585
|
+
InputToggleModule,
|
|
3586
|
+
LabelledInputToggleModule,
|
|
3587
|
+
LabelledToggleListModule], exports: [PillsModule,
|
|
3516
3588
|
BreadcrumbModule,
|
|
3517
3589
|
FeedbackCardModule,
|
|
3518
3590
|
DocumentManagementItemModule,
|
|
@@ -3541,7 +3613,10 @@ MoleculesModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version
|
|
|
3541
3613
|
CharacterCounterModule,
|
|
3542
3614
|
SettingsDetailNavigationItemModule,
|
|
3543
3615
|
EditableSettingItemModule,
|
|
3544
|
-
TabsModules
|
|
3616
|
+
TabsModules,
|
|
3617
|
+
InputToggleModule,
|
|
3618
|
+
LabelledInputToggleModule,
|
|
3619
|
+
LabelledToggleListModule
|
|
3545
3620
|
], PillsModule,
|
|
3546
3621
|
BreadcrumbModule,
|
|
3547
3622
|
FeedbackCardModule,
|
|
@@ -3583,7 +3658,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImpor
|
|
|
3583
3658
|
CharacterCounterModule,
|
|
3584
3659
|
SettingsDetailNavigationItemModule,
|
|
3585
3660
|
EditableSettingItemModule,
|
|
3586
|
-
TabsModules
|
|
3661
|
+
TabsModules,
|
|
3662
|
+
InputToggleModule,
|
|
3663
|
+
LabelledInputToggleModule,
|
|
3664
|
+
LabelledToggleListModule
|
|
3587
3665
|
]
|
|
3588
3666
|
}]
|
|
3589
3667
|
}] });
|
|
@@ -3945,10 +4023,10 @@ class GridActionsComponent {
|
|
|
3945
4023
|
}
|
|
3946
4024
|
}
|
|
3947
4025
|
GridActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: GridActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3948
|
-
GridActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: GridActionsComponent, selector: "symphony-grid-actions", inputs: { model: "model", isInverse: "isInverse" }, outputs: { buttonClicked: "buttonClicked" }, ngImport: i0, template: "<div class=\"sfx-d-inline-block\" *ngFor=\"let actionButton of model\">\n <symphony-button-with-icon
|
|
4026
|
+
GridActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.1.2", type: GridActionsComponent, selector: "symphony-grid-actions", inputs: { model: "model", isInverse: "isInverse" }, outputs: { buttonClicked: "buttonClicked" }, ngImport: i0, template: "<div class=\"sfx-d-inline-block\" *ngFor=\"let actionButton of model\">\n <symphony-button-with-icon\n *ngIf=\"!actionButton.showPopover\"\n (clicked)=\"onButtonClick($event)\"\n [icon]=\"actionButton.icon\"\n [text]=\"actionButton.text\"\n [showActionButton]=\"actionButton.showActionButton\"\n [isDisabled]=\"actionButton.isDisabled\"\n id=\"btn-action-{{ actionButton.text | trimId }}\"\n ></symphony-button-with-icon>\n\n <symphony-tooltip-wrapper\n *ngIf=\"actionButton.showPopover\"\n [tooltipHtml]=\"actionButton.tooltip\"\n [placement]=\"'top'\"\n containerClass=\"sfx-info-tooltip item-tooltip\"\n class=\"actionButton-tooltip\"\n >\n <symphony-button-with-icon\n (clicked)=\"onButtonClick($event)\"\n [icon]=\"actionButton.icon\"\n [text]=\"actionButton.text\"\n [showActionButton]=\"actionButton.showActionButton\"\n [showPopover]=\"actionButton.showPopover\"\n [isDisabled]=\"actionButton.isDisabled\"\n id=\"btn-action-{{ actionButton.text | trimId }}-popover\"\n ></symphony-button-with-icon>\n </symphony-tooltip-wrapper>\n</div>\n", styles: [".actionButton-tooltip .tooltip{min-width:160px}.actionButton-tooltip .tooltip .tooltip-inner{background-color:#565656;padding:8px 15px;border-radius:.625rem;max-width:250px;font-size:12px;color:#fff}.actionButton-tooltip .sfx-info-tooltip.item-tooltip.top .tooltip-arrow.arrow{border-top-color:#565656}.actionButton-tooltip .sfx-info-tooltip.item-tooltip.right{left:5px!important}.actionButton-tooltip .sfx-info-tooltip.item-tooltip.right .tooltip-arrow.arrow{border-right-color:#565656}.actionButton-tooltip .sfx-info-tooltip.item-tooltip.bottom .tooltip-arrow.arrow{border-bottom-color:#565656}.actionButton-tooltip .sfx-info-tooltip.item-tooltip.left{left:-5px!important}.actionButton-tooltip .sfx-info-tooltip.item-tooltip.left .tooltip-arrow.arrow{border-left-color:#565656}\n"], components: [{ type: ButtonWithIconComponent, selector: "symphony-button-with-icon", inputs: ["text", "icon", "showActionButton", "showPopover", "isDisabled"], outputs: ["clicked"] }, { type: TooltipWrapperComponent, selector: "symphony-tooltip-wrapper", inputs: ["placement", "tooltipHtml"] }], directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "trimId": TrimIdPipe }, encapsulation: i0.ViewEncapsulation.None });
|
|
3949
4027
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.2", ngImport: i0, type: GridActionsComponent, decorators: [{
|
|
3950
4028
|
type: Component,
|
|
3951
|
-
args: [{ selector: 'symphony-grid-actions', encapsulation: ViewEncapsulation.None, template: "<div class=\"sfx-d-inline-block\" *ngFor=\"let actionButton of model\">\n <symphony-button-with-icon
|
|
4029
|
+
args: [{ selector: 'symphony-grid-actions', encapsulation: ViewEncapsulation.None, template: "<div class=\"sfx-d-inline-block\" *ngFor=\"let actionButton of model\">\n <symphony-button-with-icon\n *ngIf=\"!actionButton.showPopover\"\n (clicked)=\"onButtonClick($event)\"\n [icon]=\"actionButton.icon\"\n [text]=\"actionButton.text\"\n [showActionButton]=\"actionButton.showActionButton\"\n [isDisabled]=\"actionButton.isDisabled\"\n id=\"btn-action-{{ actionButton.text | trimId }}\"\n ></symphony-button-with-icon>\n\n <symphony-tooltip-wrapper\n *ngIf=\"actionButton.showPopover\"\n [tooltipHtml]=\"actionButton.tooltip\"\n [placement]=\"'top'\"\n containerClass=\"sfx-info-tooltip item-tooltip\"\n class=\"actionButton-tooltip\"\n >\n <symphony-button-with-icon\n (clicked)=\"onButtonClick($event)\"\n [icon]=\"actionButton.icon\"\n [text]=\"actionButton.text\"\n [showActionButton]=\"actionButton.showActionButton\"\n [showPopover]=\"actionButton.showPopover\"\n [isDisabled]=\"actionButton.isDisabled\"\n id=\"btn-action-{{ actionButton.text | trimId }}-popover\"\n ></symphony-button-with-icon>\n </symphony-tooltip-wrapper>\n</div>\n", styles: [".actionButton-tooltip .tooltip{min-width:160px}.actionButton-tooltip .tooltip .tooltip-inner{background-color:#565656;padding:8px 15px;border-radius:.625rem;max-width:250px;font-size:12px;color:#fff}.actionButton-tooltip .sfx-info-tooltip.item-tooltip.top .tooltip-arrow.arrow{border-top-color:#565656}.actionButton-tooltip .sfx-info-tooltip.item-tooltip.right{left:5px!important}.actionButton-tooltip .sfx-info-tooltip.item-tooltip.right .tooltip-arrow.arrow{border-right-color:#565656}.actionButton-tooltip .sfx-info-tooltip.item-tooltip.bottom .tooltip-arrow.arrow{border-bottom-color:#565656}.actionButton-tooltip .sfx-info-tooltip.item-tooltip.left{left:-5px!important}.actionButton-tooltip .sfx-info-tooltip.item-tooltip.left .tooltip-arrow.arrow{border-left-color:#565656}\n"] }]
|
|
3952
4030
|
}], ctorParameters: function () { return []; }, propDecorators: { model: [{
|
|
3953
4031
|
type: Input
|
|
3954
4032
|
}], buttonClicked: [{
|