@quadrel-enterprise-ui/framework 20.22.0 → 20.23.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.
|
@@ -8081,6 +8081,8 @@ class QdPopoverOnClickDirective {
|
|
|
8081
8081
|
handleOpenKey(event) {
|
|
8082
8082
|
if (!this.qdPopoverEnableKeyControl)
|
|
8083
8083
|
return;
|
|
8084
|
+
if (this.overlayRef?.hasAttached())
|
|
8085
|
+
return;
|
|
8084
8086
|
if (this.qdPopoverStopPropagation)
|
|
8085
8087
|
event.stopPropagation();
|
|
8086
8088
|
event.preventDefault();
|
|
@@ -8225,7 +8227,7 @@ class QdPopoverOnClickDirective {
|
|
|
8225
8227
|
this.unsubscribeAll();
|
|
8226
8228
|
}
|
|
8227
8229
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: QdPopoverOnClickDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
8228
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: QdPopoverOnClickDirective, isStandalone: false, selector: "[qdPopoverOnClick]", inputs: { qdPopoverOnClick: "qdPopoverOnClick", positionStrategy: "positionStrategy", qdPopoverCloseStrategy: "qdPopoverCloseStrategy", qdPopoverDisabled: "qdPopoverDisabled", qdPopoverStopPropagation: "qdPopoverStopPropagation", qdPopoverBackgroundColor: "qdPopoverBackgroundColor", qdPopoverMaxHeight: "qdPopoverMaxHeight", qdPopoverMinWidth: "qdPopoverMinWidth", qdPopoverMaxWidth: "qdPopoverMaxWidth", qdPopoverAutoSize: "qdPopoverAutoSize", qdPopoverEnableKeyControl: "qdPopoverEnableKeyControl" }, outputs: { opened: "opened", closed: "closed" }, host: { listeners: { "click": "handleClick($event)", "document:click": "handleDocumentClick($event)", "keydown.escape": "handleCloseKeys()", "keydown.tab": "handleCloseKeys()", "keydown.space": "handleOpenKey($event)" } }, providers: [QdPopoverSizingService], exportAs: ["qdPopoverOnClick"], ngImport: i0 });
|
|
8230
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: QdPopoverOnClickDirective, isStandalone: false, selector: "[qdPopoverOnClick]", inputs: { qdPopoverOnClick: "qdPopoverOnClick", positionStrategy: "positionStrategy", qdPopoverCloseStrategy: "qdPopoverCloseStrategy", qdPopoverDisabled: "qdPopoverDisabled", qdPopoverStopPropagation: "qdPopoverStopPropagation", qdPopoverBackgroundColor: "qdPopoverBackgroundColor", qdPopoverMaxHeight: "qdPopoverMaxHeight", qdPopoverMinWidth: "qdPopoverMinWidth", qdPopoverMaxWidth: "qdPopoverMaxWidth", qdPopoverAutoSize: "qdPopoverAutoSize", qdPopoverEnableKeyControl: "qdPopoverEnableKeyControl" }, outputs: { opened: "opened", closed: "closed" }, host: { listeners: { "click": "handleClick($event)", "document:click": "handleDocumentClick($event)", "keydown.escape": "handleCloseKeys()", "keydown.tab": "handleCloseKeys()", "keydown.enter": "handleOpenKey($event)", "keydown.space": "handleOpenKey($event)" } }, providers: [QdPopoverSizingService], exportAs: ["qdPopoverOnClick"], ngImport: i0 });
|
|
8229
8231
|
}
|
|
8230
8232
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: QdPopoverOnClickDirective, decorators: [{
|
|
8231
8233
|
type: Directive,
|
|
@@ -8274,6 +8276,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
|
|
|
8274
8276
|
type: HostListener,
|
|
8275
8277
|
args: ['keydown.tab']
|
|
8276
8278
|
}], handleOpenKey: [{
|
|
8279
|
+
type: HostListener,
|
|
8280
|
+
args: ['keydown.enter', ['$event']]
|
|
8281
|
+
}, {
|
|
8277
8282
|
type: HostListener,
|
|
8278
8283
|
args: ['keydown.space', ['$event']]
|
|
8279
8284
|
}] } });
|
|
@@ -8567,6 +8572,7 @@ const getClearable = (config) => get(config, 'clearable', false);
|
|
|
8567
8572
|
const getValue = (config) => get(config, 'value', '');
|
|
8568
8573
|
const getPlaceholder = (config) => get(config, 'placeholder.i18n', '');
|
|
8569
8574
|
const getHasAutofocus = (config) => get(config, 'hasAutofocus', false);
|
|
8575
|
+
const getHasFocusableSuffix = (config) => get(config, 'hasFocusableSuffix', false);
|
|
8570
8576
|
/**
|
|
8571
8577
|
* Textarea form properties
|
|
8572
8578
|
*
|