@koobiq/components 18.39.2 → 18.39.3
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/core/highlight/highlight.pipe.d.ts +2 -0
- package/core/option/action.d.ts +5 -6
- package/datepicker/datepicker-input.directive.d.ts +6 -1
- package/esm2022/core/highlight/highlight.pipe.mjs +23 -5
- package/esm2022/core/option/action.mjs +21 -22
- package/esm2022/core/version.mjs +2 -2
- package/esm2022/datepicker/datepicker-input.directive.mjs +9 -2
- package/esm2022/datepicker/datepicker.component.mjs +2 -2
- package/esm2022/dropdown/dropdown-trigger.directive.mjs +3 -2
- package/esm2022/filter-bar/pipes/pipe-multi-tree-select.mjs +3 -3
- package/esm2022/form-field/cleaner.mjs +3 -3
- package/esm2022/form-field/fieldset.mjs +2 -2
- package/esm2022/form-field/form-field.mjs +2 -2
- package/esm2022/form-field/password-toggle.mjs +3 -3
- package/esm2022/icon/icon-button.component.mjs +2 -2
- package/esm2022/inline-edit/inline-edit.mjs +4 -4
- package/esm2022/list/list-selection.component.mjs +12 -2
- package/esm2022/popover/popover-confirm.component.mjs +3 -3
- package/esm2022/popover/popover.component.mjs +3 -3
- package/esm2022/search-expandable/search-expandable.mjs +50 -23
- package/esm2022/select/select.component.mjs +7 -4
- package/esm2022/tags/tag-input.mjs +7 -6
- package/esm2022/tags/tag-list.component.mjs +11 -3
- package/esm2022/tags/tag.component.mjs +9 -3
- package/fesm2022/koobiq-components-core.mjs +42 -26
- package/fesm2022/koobiq-components-core.mjs.map +1 -1
- package/fesm2022/koobiq-components-datepicker.mjs +9 -2
- package/fesm2022/koobiq-components-datepicker.mjs.map +1 -1
- package/fesm2022/koobiq-components-dropdown.mjs +2 -1
- package/fesm2022/koobiq-components-dropdown.mjs.map +1 -1
- package/fesm2022/koobiq-components-filter-bar.mjs +2 -2
- package/fesm2022/koobiq-components-filter-bar.mjs.map +1 -1
- package/fesm2022/koobiq-components-form-field.mjs +8 -8
- package/fesm2022/koobiq-components-form-field.mjs.map +1 -1
- package/fesm2022/koobiq-components-icon.mjs +2 -2
- package/fesm2022/koobiq-components-icon.mjs.map +1 -1
- package/fesm2022/koobiq-components-inline-edit.mjs +3 -3
- package/fesm2022/koobiq-components-inline-edit.mjs.map +1 -1
- package/fesm2022/koobiq-components-list.mjs +11 -1
- package/fesm2022/koobiq-components-list.mjs.map +1 -1
- package/fesm2022/koobiq-components-popover.mjs +4 -4
- package/fesm2022/koobiq-components-popover.mjs.map +1 -1
- package/fesm2022/koobiq-components-search-expandable.mjs +49 -22
- package/fesm2022/koobiq-components-search-expandable.mjs.map +1 -1
- package/fesm2022/koobiq-components-select.mjs +6 -3
- package/fesm2022/koobiq-components-select.mjs.map +1 -1
- package/fesm2022/koobiq-components-tags.mjs +24 -9
- package/fesm2022/koobiq-components-tags.mjs.map +1 -1
- package/form-field/_form-field-theme.scss +2 -2
- package/form-field/form-field.scss +0 -1
- package/icon/icon-button.scss +5 -4
- package/inline-edit/inline-edit-tokens.scss +1 -1
- package/inline-edit/inline-edit.d.ts +2 -2
- package/inline-edit/inline-edit.scss +1 -1
- package/list/list-selection.component.d.ts +1 -0
- package/package.json +4 -4
- package/popover/_popover-theme.scss +1 -1
- package/schematics/ng-add/index.js +2 -2
- package/search-expandable/search-expandable.d.ts +19 -4
- package/select/select.component.d.ts +2 -1
- package/tags/tag-list.component.d.ts +7 -1
- package/tags/tag.component.d.ts +2 -0
|
@@ -9,7 +9,7 @@ import { KbqButtonModule } from '@koobiq/components/button';
|
|
|
9
9
|
import * as i3 from '@koobiq/components/select';
|
|
10
10
|
import { KbqSelectModule } from '@koobiq/components/select';
|
|
11
11
|
import * as i4 from '@koobiq/components/form-field';
|
|
12
|
-
import { KbqFormFieldControl, KbqFormFieldModule } from '@koobiq/components/form-field';
|
|
12
|
+
import { KbqFormFieldControl, KbqFormField, KbqFormFieldModule } from '@koobiq/components/form-field';
|
|
13
13
|
import * as i1$2 from '@koobiq/components/icon';
|
|
14
14
|
import { KbqIconModule } from '@koobiq/components/icon';
|
|
15
15
|
import { Subject, Subscription, merge, of } from 'rxjs';
|
|
@@ -939,7 +939,7 @@ class KbqDatepicker {
|
|
|
939
939
|
createPopupPositionStrategy() {
|
|
940
940
|
return this.overlay
|
|
941
941
|
.position()
|
|
942
|
-
.flexibleConnectedTo(this.datepickerInput.
|
|
942
|
+
.flexibleConnectedTo(this.datepickerInput.getOrigin())
|
|
943
943
|
.withTransformOriginOn('.kbq-datepicker__content')
|
|
944
944
|
.withFlexibleDimensions(false)
|
|
945
945
|
.withViewportMargin(8)
|
|
@@ -1324,7 +1324,10 @@ class KbqDatepickerInput {
|
|
|
1324
1324
|
this.adapter = adapter;
|
|
1325
1325
|
this.dateFormats = dateFormats;
|
|
1326
1326
|
/** @docs-private */
|
|
1327
|
+
this.formField = inject(KbqFormField, { optional: true, host: true });
|
|
1328
|
+
/** @docs-private */
|
|
1327
1329
|
this.localeService = inject(KBQ_LOCALE_SERVICE, { optional: true });
|
|
1330
|
+
/** @docs-private */
|
|
1328
1331
|
this.externalConfiguration = inject(KBQ_DATEPICKER_CONFIGURATION, { optional: true });
|
|
1329
1332
|
this.stateChanges = new Subject();
|
|
1330
1333
|
this.controlType = 'datepicker';
|
|
@@ -1611,6 +1614,10 @@ class KbqDatepickerInput {
|
|
|
1611
1614
|
updateErrorState() {
|
|
1612
1615
|
this.errorStateTracker.updateErrorState();
|
|
1613
1616
|
}
|
|
1617
|
+
/** Returns the ElementRef of the formField if it exists; otherwise, returns the ElementRef of the input. */
|
|
1618
|
+
getOrigin() {
|
|
1619
|
+
return this.formField ? this.formField.getConnectedOverlayOrigin() : this.elementRef;
|
|
1620
|
+
}
|
|
1614
1621
|
saveTimePart(selected) {
|
|
1615
1622
|
if (!this.value) {
|
|
1616
1623
|
return selected;
|