@dereekb/dbx-core 9.22.6 → 9.22.7
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/button/button.directive.mjs +7 -4
- package/fesm2015/dereekb-dbx-core.mjs +5 -2
- package/fesm2015/dereekb-dbx-core.mjs.map +1 -1
- package/fesm2020/dereekb-dbx-core.mjs +5 -2
- package/fesm2020/dereekb-dbx-core.mjs.map +1 -1
- package/lib/button/button.directive.d.ts +4 -3
- package/package.json +4 -4
|
@@ -3518,13 +3518,13 @@ class AbstractDbxButtonDirective extends AbstractSubscriptionDirective {
|
|
|
3518
3518
|
return this._disabled.value;
|
|
3519
3519
|
}
|
|
3520
3520
|
set disabled(disabled) {
|
|
3521
|
-
this._disabled.next(disabled);
|
|
3521
|
+
this._disabled.next(disabled ?? false);
|
|
3522
3522
|
}
|
|
3523
3523
|
get working() {
|
|
3524
3524
|
return this._working.value;
|
|
3525
3525
|
}
|
|
3526
3526
|
set working(working) {
|
|
3527
|
-
this._working.next(working);
|
|
3527
|
+
this._working.next(working ?? false);
|
|
3528
3528
|
}
|
|
3529
3529
|
get buttonDisplay() {
|
|
3530
3530
|
return {
|
|
@@ -3536,6 +3536,9 @@ class AbstractDbxButtonDirective extends AbstractSubscriptionDirective {
|
|
|
3536
3536
|
this.icon = buttonDisplay?.icon;
|
|
3537
3537
|
this.text = buttonDisplay?.text;
|
|
3538
3538
|
}
|
|
3539
|
+
get buttonDisplayType() {
|
|
3540
|
+
return dbxButtonDisplayContentType(this.buttonDisplay);
|
|
3541
|
+
}
|
|
3539
3542
|
ngOnInit() {
|
|
3540
3543
|
this.sub = this._buttonClick
|
|
3541
3544
|
.pipe(switchMap(() => this._buttonInterceptor.pipe(switchMap((x) => {
|