@natec/mef-dev-ui-kit 20.0.168 → 20.1.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/fesm2022/natec-mef-dev-ui-kit.mjs +10 -11
- package/fesm2022/natec-mef-dev-ui-kit.mjs.map +1 -1
- package/index.d.ts +32 -14
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -23,7 +23,6 @@ import { CdkScrollable, CdkScrollableModule, ViewportRuler as ViewportRuler$1 }
|
|
|
23
23
|
import { CdkStepLabel, CdkStepHeader, CdkStep, CdkStepper, CdkStepperNext, CdkStepperPrevious, CdkStepperModule } from '@angular/cdk/stepper';
|
|
24
24
|
import { Platform, _getEventTarget, _getShadowRoot, _getFocusedElementPierceShadowDom } from '@angular/cdk/platform';
|
|
25
25
|
import { SharedResizeObserver } from '@angular/cdk/observers/private';
|
|
26
|
-
import { MDOptionGroup as MDOptionGroup$1, MDOption as MDOption$1, MDOptionSelectionChange as MDOptionSelectionChange$1, _countGroupLabelsBeforeOption as _countGroupLabelsBeforeOption$1, _getOptionScrollPosition as _getOptionScrollPosition$1 } from 'ui-kit-lib';
|
|
27
26
|
import { CdkObserveContent } from '@angular/cdk/observers';
|
|
28
27
|
import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
|
|
29
28
|
|
|
@@ -8658,14 +8657,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImpor
|
|
|
8658
8657
|
|
|
8659
8658
|
class MDOptionModule {
|
|
8660
8659
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MDOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8661
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: MDOptionModule, imports: [MDPseudoCheckboxModule, MDOption, MDOptionGroup
|
|
8660
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.6", ngImport: i0, type: MDOptionModule, imports: [MDPseudoCheckboxModule, MDOption, MDOptionGroup], exports: [MDOption, MDOptionGroup, BidiModule] });
|
|
8662
8661
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MDOptionModule, imports: [MDPseudoCheckboxModule, BidiModule] });
|
|
8663
8662
|
}
|
|
8664
8663
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MDOptionModule, decorators: [{
|
|
8665
8664
|
type: NgModule,
|
|
8666
8665
|
args: [{
|
|
8667
|
-
imports: [MDPseudoCheckboxModule, MDOption, MDOptionGroup
|
|
8668
|
-
exports: [MDOption, MDOptionGroup
|
|
8666
|
+
imports: [MDPseudoCheckboxModule, MDOption, MDOptionGroup],
|
|
8667
|
+
exports: [MDOption, MDOptionGroup, BidiModule],
|
|
8669
8668
|
}]
|
|
8670
8669
|
}] });
|
|
8671
8670
|
|
|
@@ -11244,7 +11243,7 @@ class MDAutocomplete {
|
|
|
11244
11243
|
return false;
|
|
11245
11244
|
}
|
|
11246
11245
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MDAutocomplete, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11247
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.6", type: MDAutocomplete, isStandalone: true, selector: "md-autocomplete", inputs: { ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledby: ["aria-labelledby", "ariaLabelledby"], displayWith: "displayWith", autoActiveFirstOption: ["autoActiveFirstOption", "autoActiveFirstOption", booleanAttribute], autoSelectActiveOption: ["autoSelectActiveOption", "autoSelectActiveOption", booleanAttribute], requireSelection: ["requireSelection", "requireSelection", booleanAttribute], panelWidth: "panelWidth", _animationsDisabled: "_animationsDisabled", classList: ["class", "classList"], hideSingleSelectionIndicator: ["hideSingleSelectionIndicator", "hideSingleSelectionIndicator", booleanAttribute] }, outputs: { optionSelected: "optionSelected", opened: "opened", closed: "closed", optionActivated: "optionActivated" }, host: { classAttribute: "md-mdc-autocomplete" }, providers: [{ provide: MD_OPTION_PARENT_COMPONENT, useExisting: MDAutocomplete }], queries: [{ propertyName: "options", predicate: MDOption
|
|
11246
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "20.3.6", type: MDAutocomplete, isStandalone: true, selector: "md-autocomplete", inputs: { ariaLabel: ["aria-label", "ariaLabel"], ariaLabelledby: ["aria-labelledby", "ariaLabelledby"], displayWith: "displayWith", autoActiveFirstOption: ["autoActiveFirstOption", "autoActiveFirstOption", booleanAttribute], autoSelectActiveOption: ["autoSelectActiveOption", "autoSelectActiveOption", booleanAttribute], requireSelection: ["requireSelection", "requireSelection", booleanAttribute], panelWidth: "panelWidth", _animationsDisabled: "_animationsDisabled", classList: ["class", "classList"], hideSingleSelectionIndicator: ["hideSingleSelectionIndicator", "hideSingleSelectionIndicator", booleanAttribute] }, outputs: { optionSelected: "optionSelected", opened: "opened", closed: "closed", optionActivated: "optionActivated" }, host: { classAttribute: "md-mdc-autocomplete" }, providers: [{ provide: MD_OPTION_PARENT_COMPONENT, useExisting: MDAutocomplete }], queries: [{ propertyName: "options", predicate: MDOption, descendants: true }, { propertyName: "optionGroups", predicate: MDOptionGroup, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }, { propertyName: "panel", first: true, predicate: ["panel"], descendants: true }], exportAs: ["mdAutocomplete"], ngImport: i0, template: "<ng-template>\r\n <div\r\n class=\"md-mdc-autocomplete-panel mdc-menu-surface mdc-menu-surface--open\"\r\n role=\"listbox\"\r\n [id]=\"id\"\r\n [class]=\"_classList\"\r\n [class.md-mdc-autocomplete-visible]=\"showPanel\"\r\n [class.md-mdc-autocomplete-hidden]=\"!showPanel\"\r\n [class.md-autocomplete-panel-animations-enabled]=\"!_animationsDisabled\"\r\n [class.md-primary]=\"_color === 'primary'\"\r\n [class.md-accent]=\"_color === 'accent'\"\r\n [class.md-warn]=\"_color === 'warn'\"\r\n [attr.aria-label]=\"ariaLabel || null\"\r\n #panel>\r\n <ng-content></ng-content>\r\n </div>\r\n</ng-template>", styles: ["div.md-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:relative;border-radius:5px;background-color:#fff;box-shadow:0 2px 8px #00000026}@media (forced-colors: active){div.md-mdc-autocomplete-panel{outline:solid 1px}}.cdk-overlay-pane:not(.md-mdc-autocomplete-panel-above) div.md-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.md-mdc-autocomplete-panel-above div.md-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.md-mdc-autocomplete-panel.md-mdc-autocomplete-visible{visibility:visible}div.md-mdc-autocomplete-panel.md-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}@keyframes _md-autocomplete-enter{0%{opacity:0;transform:scaleY(.8)}to{opacity:1;transform:none}}.md-autocomplete-panel-animations-enabled{animation:_md-autocomplete-enter .12s cubic-bezier(0,0,.2,1)}md-autocomplete{display:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
11248
11247
|
}
|
|
11249
11248
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImport: i0, type: MDAutocomplete, decorators: [{
|
|
11250
11249
|
type: Component,
|
|
@@ -11259,10 +11258,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImpor
|
|
|
11259
11258
|
args: ['panel']
|
|
11260
11259
|
}], options: [{
|
|
11261
11260
|
type: ContentChildren,
|
|
11262
|
-
args: [MDOption
|
|
11261
|
+
args: [MDOption, { descendants: true }]
|
|
11263
11262
|
}], optionGroups: [{
|
|
11264
11263
|
type: ContentChildren,
|
|
11265
|
-
args: [MDOptionGroup
|
|
11264
|
+
args: [MDOptionGroup, { descendants: true }]
|
|
11266
11265
|
}], ariaLabel: [{
|
|
11267
11266
|
type: Input,
|
|
11268
11267
|
args: ['aria-label']
|
|
@@ -11441,7 +11440,7 @@ class MDAutocompleteTrigger {
|
|
|
11441
11440
|
}
|
|
11442
11441
|
}
|
|
11443
11442
|
get panelClosingActions() {
|
|
11444
|
-
return merge(this.optionSelections, this.autocomplete._keyManager.tabOut.pipe(filter(() => this._overlayAttached)), this._closeKeyEventStream, this._getOutsideClickStream(), this._overlayRef ? this._overlayRef.detachments().pipe(filter(() => this._overlayAttached)) : of()).pipe(map((event) => (event instanceof MDOptionSelectionChange
|
|
11443
|
+
return merge(this.optionSelections, this.autocomplete._keyManager.tabOut.pipe(filter(() => this._overlayAttached)), this._closeKeyEventStream, this._getOutsideClickStream(), this._overlayRef ? this._overlayRef.detachments().pipe(filter(() => this._overlayAttached)) : of()).pipe(map((event) => (event instanceof MDOptionSelectionChange ? event : null)));
|
|
11445
11444
|
}
|
|
11446
11445
|
optionSelections = defer(() => {
|
|
11447
11446
|
const options = this.autocomplete ? this.autocomplete.options : null;
|
|
@@ -11816,7 +11815,7 @@ class MDAutocompleteTrigger {
|
|
|
11816
11815
|
}
|
|
11817
11816
|
_scrollToOption(index) {
|
|
11818
11817
|
const autocomplete = this.autocomplete;
|
|
11819
|
-
const labelCount = _countGroupLabelsBeforeOption
|
|
11818
|
+
const labelCount = _countGroupLabelsBeforeOption(index, autocomplete.options, autocomplete.optionGroups);
|
|
11820
11819
|
if (index === 0 && labelCount === 1) {
|
|
11821
11820
|
autocomplete._setScrollTop(0);
|
|
11822
11821
|
}
|
|
@@ -11824,7 +11823,7 @@ class MDAutocompleteTrigger {
|
|
|
11824
11823
|
const option = autocomplete.options.toArray()[index];
|
|
11825
11824
|
if (option) {
|
|
11826
11825
|
const element = option._getHostElement();
|
|
11827
|
-
const newScrollPosition = _getOptionScrollPosition
|
|
11826
|
+
const newScrollPosition = _getOptionScrollPosition(element.offsetTop, element.offsetHeight, autocomplete._getScrollTop(), autocomplete.panel.nativeElement.offsetHeight);
|
|
11828
11827
|
autocomplete._setScrollTop(newScrollPosition);
|
|
11829
11828
|
}
|
|
11830
11829
|
}
|
|
@@ -14270,5 +14269,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.6", ngImpor
|
|
|
14270
14269
|
* Generated bundle index. Do not edit.
|
|
14271
14270
|
*/
|
|
14272
14271
|
|
|
14273
|
-
export { ACCORDION, CARD_CONFIG, CardSimpleComponent, CentralPageComponent, CentralPageRowComponent, CollapseComponent, CollapseSetComponent, DIALOG_DATA, DIALOG_DEFAULT_OPTIONS, DIALOG_SCROLL_STRATEGY, DialogState, EXPANSION_PANEL_DEFAULT_OPTIONS, ErrorStateMatcher, ExpansionPanelActionRow, ExpansionPanelDescription, ExpansionPanelTitle, FillComponent, FilteredFieldContainerComponent, FilteredFieldItemComponent, FilteredFieldService, FiltredItemModel, INK_BAR_POSITIONER, INK_BAR_POSITIONER_FACTORY, InkBar, MDAccordion, MDAutocomplete, MDAutocompleteModule, MDAutocompleteOrigin, MDAutocompleteSelectedEvent, MDAutocompleteTrigger, MDCard, MDCardActions, MDCardAvatar, MDCardContent, MDCardFooter, MDCardHeader, MDCardImage, MDCardLgImage, MDCardMdImage, MDCardModule, MDCardSmImage, MDCardSubtitle, MDCardTitle, MDCardTitleGroup, MDCardXlImage, MDCheckBox, MDCheckBoxModule, MDCheckboxChange, MDChip, MDChipAvatar, MDChipEdit, MDChipEditInput, MDChipGrid, MDChipGridChange, MDChipInput, MDChipListbox, MDChipListboxChange, MDChipOption, MDChipRemove, MDChipRow, MDChipSelectionChange, MDChipSet, MDChipTrailingIcon, MDChipsModule, MDCollapseModule, MDContextMenuTrigger, MDDialog, MDDialogActions, MDDialogClose, MDDialogContainer, MDDialogContent, MDDialogTitle, MDExpansionPanel, MDExpansionPanelContent, MDExpansionPanelHeader, MDMenu, MDMenuContent, MDMenuItem, MDMenuModule, MDMenuTrigger, MDModalModule, MDOption, MDOptionGroup, MDOptionModule, MDOptionSelectionChange, MDRadioButton, MDRadioGroup, MDRadioModule, MDSelect, MDSelectModule, MDSelectTrigger, MDStep, MDStepContent, MDStepExecutorModule, MDStepFooter, MDStepHeader, MDStepLabel, MDStepper, MDStepperIcon, MDStepperNext, MDStepperPrevious, MDSwitch, MDSwitchModule, MDTab, MDTabBody, MDTabChangeEvent, MDTabContent, MDTabGroup, MDTabHeader, MDTabLabel, MDTabLabelWrapper, MDTabsModule, MD_AUTOCOMPLETE_DEFAULT_OPTIONS, MD_AUTOCOMPLETE_SCROLL_STRATEGY, MD_AUTOCOMPLETE_VALUE_ACCESSOR, MD_CHIP, MD_CHIPS_DEFAULT_OPTIONS, MD_CHIP_AVATAR, MD_CHIP_EDIT, MD_CHIP_LISTBOX_CONTROL_VALUE_ACCESSOR, MD_CHIP_REMOVE, MD_CHIP_TRAILING_ICON, MD_EXPANSION_PANEL, MD_MENU_CONTENT, MD_MENU_DEFAULT_OPTIONS, MD_MENU_PANEL, MD_MENU_SCROLL_STRATEGY, MD_OPTION_PARENT_COMPONENT, MD_RADIO_GROUP, MD_SELECT_TRIGGER, MD_TAB, MD_TAB_LABEL, MENU_PANEL_TOP_PADDING, ManagePageComponent, MefDevCardModule, MefDevCollapseModule, MefDevDialogConfig, MefDevDialogRef, MefDevDropDownMenuModule, MefDevFilteredFieldModule, MefDevModalModule, MefDevOptionComponent, MefDevPageLayoutsModule, MefDevProgressComponent, MefDevProgressModule, MefDevSelectComponent, MefDevSelectModule, MefDevStepExecutorModule, MefDevSwitchComponent, MefDevSwitchModule, MefDevTabBodyComponent, MefDevTabComponent, MefDevTabLabelDirective, MefDevTabSetComponent, MefDevTabsInkBarDirective, MefDevTabsModule, MefDevTabsNavComponent, MefdevDropdownMenuComponent, MefdevExecutorPageComponent, OptionPipe, PaginatedTabHeader, ProgressConfig, PseudoCheckbox, RADIO_GROUP_CONTROL_VALUE_ACCESSOR, RadioChange, RightFilterComponent, STEPPER_INTL_PROVIDER, STEPPER_INTL_PROVIDER_FACTORY, SelectChange, ShowOnDirtyErrorStateMatcher, SlideRightComponent, SlideUpComponent, StageComponent, StepExecutorComponent, StepperErrorStateMatcher, StepperIntl, TABS_CONFIG, TAB_CONTENT, TAB_GROUP, TabBodyPortal, TabChangeEvent, TablePageComponent, TransitionCheckState, _ErrorStateTracker, _closeDialogVia, _countGroupLabelsBeforeOption, _getOptionScrollPosition, components, getMDAutocompleteMissingPanelError, mefDevCardComponents, mefDevCollapseModuleComponents };
|
|
14272
|
+
export { ACCORDION, CARD_CONFIG, CardSimpleComponent, CentralPageComponent, CentralPageRowComponent, CollapseComponent, CollapseSetComponent, DIALOG_DATA, DIALOG_DEFAULT_OPTIONS, DIALOG_SCROLL_STRATEGY, DialogState, EXPANSION_PANEL_DEFAULT_OPTIONS, ErrorStateMatcher, ExpansionPanelActionRow, ExpansionPanelDescription, ExpansionPanelTitle, FillComponent, FilteredFieldContainerComponent, FilteredFieldItemComponent, FilteredFieldService, FiltredItemModel, INK_BAR_POSITIONER, INK_BAR_POSITIONER_FACTORY, InkBar, MDAccordion, MDAutocomplete, MDAutocompleteModule, MDAutocompleteOrigin, MDAutocompleteSelectedEvent, MDAutocompleteTrigger, MDCard, MDCardActions, MDCardAvatar, MDCardContent, MDCardFooter, MDCardHeader, MDCardImage, MDCardLgImage, MDCardMdImage, MDCardModule, MDCardSmImage, MDCardSubtitle, MDCardTitle, MDCardTitleGroup, MDCardXlImage, MDCheckBox, MDCheckBoxModule, MDCheckboxChange, MDChip, MDChipAvatar, MDChipEdit, MDChipEditInput, MDChipGrid, MDChipGridChange, MDChipInput, MDChipListbox, MDChipListboxChange, MDChipOption, MDChipRemove, MDChipRow, MDChipSelectionChange, MDChipSet, MDChipTrailingIcon, MDChipsModule, MDCollapseModule, MDContextMenuTrigger, MDDialog, MDDialogActions, MDDialogClose, MDDialogContainer, MDDialogContent, MDDialogTitle, MDExpansionPanel, MDExpansionPanelContent, MDExpansionPanelHeader, MDMenu, MDMenuContent, MDMenuItem, MDMenuModule, MDMenuTrigger, MDModalModule, MDOption, MDOptionGroup, MDOptionModule, MDOptionSelectionChange, MDPseudoCheckboxModule, MDRadioButton, MDRadioGroup, MDRadioModule, MDSelect, MDSelectModule, MDSelectTrigger, MDStep, MDStepContent, MDStepExecutorModule, MDStepFooter, MDStepHeader, MDStepLabel, MDStepper, MDStepperIcon, MDStepperNext, MDStepperPrevious, MDSwitch, MDSwitchModule, MDTab, MDTabBody, MDTabChangeEvent, MDTabContent, MDTabGroup, MDTabHeader, MDTabLabel, MDTabLabelWrapper, MDTabsModule, MD_AUTOCOMPLETE_DEFAULT_OPTIONS, MD_AUTOCOMPLETE_SCROLL_STRATEGY, MD_AUTOCOMPLETE_VALUE_ACCESSOR, MD_CHIP, MD_CHIPS_DEFAULT_OPTIONS, MD_CHIP_AVATAR, MD_CHIP_EDIT, MD_CHIP_LISTBOX_CONTROL_VALUE_ACCESSOR, MD_CHIP_REMOVE, MD_CHIP_TRAILING_ICON, MD_EXPANSION_PANEL, MD_MENU_CONTENT, MD_MENU_DEFAULT_OPTIONS, MD_MENU_PANEL, MD_MENU_SCROLL_STRATEGY, MD_OPTION_PARENT_COMPONENT, MD_RADIO_GROUP, MD_SELECT_TRIGGER, MD_TAB, MD_TAB_LABEL, MENU_PANEL_TOP_PADDING, ManagePageComponent, MefDevCardModule, MefDevCollapseModule, MefDevDialogConfig, MefDevDialogRef, MefDevDropDownMenuModule, MefDevFilteredFieldModule, MefDevModalModule, MefDevOptionComponent, MefDevPageLayoutsModule, MefDevProgressComponent, MefDevProgressModule, MefDevSelectComponent, MefDevSelectModule, MefDevStepExecutorModule, MefDevSwitchComponent, MefDevSwitchModule, MefDevTabBodyComponent, MefDevTabComponent, MefDevTabLabelDirective, MefDevTabSetComponent, MefDevTabsInkBarDirective, MefDevTabsModule, MefDevTabsNavComponent, MefdevDropdownMenuComponent, MefdevExecutorPageComponent, OptionPipe, PaginatedTabHeader, ProgressConfig, PseudoCheckbox, RADIO_GROUP_CONTROL_VALUE_ACCESSOR, RadioChange, RightFilterComponent, STEPPER_INTL_PROVIDER, STEPPER_INTL_PROVIDER_FACTORY, SelectChange, ShowOnDirtyErrorStateMatcher, SlideRightComponent, SlideUpComponent, StageComponent, StepExecutorComponent, StepperErrorStateMatcher, StepperIntl, TABS_CONFIG, TAB_CONTENT, TAB_GROUP, TabBodyPortal, TabChangeEvent, TablePageComponent, TransitionCheckState, _ErrorStateTracker, _closeDialogVia, _countGroupLabelsBeforeOption, _getOptionScrollPosition, components, getMDAutocompleteMissingPanelError, getMDSelectDynamicMultipleError, getMDSelectNonArrayValueError, getMDSelectNonFunctionValueError, mefDevCardComponents, mefDevCollapseModuleComponents };
|
|
14274
14273
|
//# sourceMappingURL=natec-mef-dev-ui-kit.mjs.map
|