@breadstone/mosaik-elements-angular 0.0.13 → 0.0.15
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/Controls/Components/Inputs/Calendar/CalendarComponent.d.ts +7 -1
- package/Controls/Components/Inputs/Calendar/CalendarComponent.d.ts.map +1 -1
- package/Controls/Components/Inputs/CheckBox/CheckBoxComponent.d.ts +7 -1
- package/Controls/Components/Inputs/CheckBox/CheckBoxComponent.d.ts.map +1 -1
- package/Controls/Components/Inputs/Choice/ChoiceComponent.d.ts +7 -1
- package/Controls/Components/Inputs/Choice/ChoiceComponent.d.ts.map +1 -1
- package/Controls/Components/Inputs/FileUpload/FileUploadComponent.d.ts +7 -1
- package/Controls/Components/Inputs/FileUpload/FileUploadComponent.d.ts.map +1 -1
- package/Controls/Components/Inputs/Radio/RadioComponent.d.ts +7 -1
- package/Controls/Components/Inputs/Radio/RadioComponent.d.ts.map +1 -1
- package/Controls/Components/Inputs/Select/SelectComponent.d.ts +7 -1
- package/Controls/Components/Inputs/Select/SelectComponent.d.ts.map +1 -1
- package/Controls/Components/Inputs/ToggleSwitch/ToggleSwitchComponent.d.ts +7 -1
- package/Controls/Components/Inputs/ToggleSwitch/ToggleSwitchComponent.d.ts.map +1 -1
- package/Controls/Components/Media/Avatar/AvatarComponent.d.ts +7 -1
- package/Controls/Components/Media/Avatar/AvatarComponent.d.ts.map +1 -1
- package/Controls/Components/Ranges/Slider/SliderComponent.d.ts +7 -1
- package/Controls/Components/Ranges/Slider/SliderComponent.d.ts.map +1 -1
- package/Controls/Components/Selectors/Combo/ComboComponent.d.ts +7 -1
- package/Controls/Components/Selectors/Combo/ComboComponent.d.ts.map +1 -1
- package/fesm2022/mosaik-elements-angular.mjs +189 -21
- package/fesm2022/mosaik-elements-angular.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, inject, ChangeDetectorRef, ElementRef, NgZone, EventEmitter, Output, Input, ChangeDetectionStrategy, Component, makeEnvironmentProviders, forwardRef, Directive, Pipe, ViewChild, ViewEncapsulation, TemplateRef, Injectable, Renderer2, signal, computed, effect } from '@angular/core';
|
|
3
|
-
import { AbsoluteItemElement, AbsoluteElement, AnchorElement, AppHeaderElement, AppElement, AutoCompleteBoxElement, AvatarGroupElement, AvatarElement, BackdropElement, BadgeElement, BannerHeaderElement, BannerSubHeaderElement, BannerElement, BottomSheetElement, BoxElement, BreadcrumbItemElement, BreadcrumbElement, ButtonGroupElement, ButtonElement, CalendarHeaderElement, CalendarItemElement, CalendarSubHeaderElement, CalendarElement, CameraElement, CardActionsElement, CardContentElement, CardFooterElement, CardHeaderElement, CardSubTitleElement, CardTitleElement, CardElement, Carousel2Element, CarouselItem2Element, CarouselItemElement, CarouselElement, CellGroupElement, CellElement, ChartElement, ChatHeaderElement, ChatMarkerElement, ChatMessageAvatarElement, ChatMessageDividerElement, ChatMessageElement, ChatElement, checkBoxGroupElementValueAccessor, CheckBoxGroupElement, CheckboxElement, CheckmarkElement, ChipElement, chipBoxElementValueAccessor, ChipBoxElement, ChoiceGroupHeaderElement, choiceGroupElementValueAccessor, ChoiceGroupElement, ChoiceElement, CodeElement, ColorAreaElement, ColorPickerElement, ColorSliderElement, ColorSwatchGroupElement, ColorSwatchElement, ColorThumbElement, colorBoxElementValueAccessor, ColorBoxElement, ComboItemElement, ComboElement, CommentElement, CompoundButtonElement, CookiesConsentElement, DataListElement, DataTableElement, dateBoxElementValueAccessor, DateBoxElement, dateTimeBoxElementValueAccessor, DateTimeBoxElement, DialogActionsElement, DialogContentElement, DialogFooterElement, DialogHeaderSubTextElement, DialogHeaderTextElement, DialogHeaderElement, DialogElement, DialogHostElement, DisclosureElement, DividerElement, DotElement, DrawerContainerElement, DrawerContentElement, DrawerElement, DropZoneElement, DropDownButtonElement, ElevationElement, EmojiElement, EmptyStateElement, EpgChannelElement, EpgProgramElement, EpgElement, ErrorStateElement, ErrorElement, ExpandableElement, ExpanderGroupElement, ExpanderHeaderElement, ExpanderSubHeaderElement, ExpanderElement, FloatingActionButtonGroupElement, FloatingActionButtonElement, FilePickerElement, FileUploadItemElement, FileUploadElement, FlipElement, FloatingTriggerElement, FloatingElement, FocusRingElement, FooterItemGroupElement, FooterItemElement, FooterElement, FormFieldElement, FormElement, GridItemElement, GridElement, HelmetElement, HintElement, IconElement, ImageElement, JumbtronHeaderElement, JumbtronSubHeaderElement, JumbtronElement, KbdShortcutElement, KbdElement, LightChainElement, ListItemGroupElement, ListItemElement, ListElement, MarqueeElement, MasonryElement, MenuItemGroupElement, MenuItemElement, MenuElement, MessageBoxElement, MeterBarElement, MeterRingElement, NumberCounterElement, NumberElement, numberBoxElementValueAccessor, NumberBoxElement, PageContentElement, PageHeaderElement, PagePreContentElement, PagePreHeaderElement, PageElement, PageMenuElement, PaginatorElement, passwordBoxElementValueAccessor, PasswordBoxElement, PatternElement, PersonaElement, PerspectiveElement, pinBoxElementValueAccessor, PinBoxElement, PopupElement, PortalProjectionElement, PortalElement, ProgressBarElement, ProgressRingElement, QRCodeElement, radioGroupElementValueAccessor, RadioGroupElement, RadioElement, RatingElement, RepeatButtonElement, ResizeAdornerElement, RibbonElement, richTextBoxElementValueAccessor, RichTextBoxElement, RippleElement, ScaleElement, ScrollElement, searchBoxElementValueAccessor, SearchBoxElement, SegmentItemElement, SegmentElement, SelectItemGroupElement, SelectItemElement, SelectElement, signaturePadElementValueAccessor, SignaturePadElement, SkeletonElement, SliderElement, Slider2ThumbElement, Slider2Element, SpacerElement, SplitButtonElement, SplitElement, StackElement, StickyElement, SuccessStateElement, SummaryElement, SwipeElement, TabItemElement, TabPanelElement, TabStripItemElement, TabStripElement, TabElement, TableBodyElement, TableCellElement, TableHeaderElement, TableRowElement, TableElement, TextFormatElement, TextElement, textBoxElementValueAccessor, TextBoxElement, Theme2Element, TickBarElement, TileListItemElement, TileListElement, timeBoxElementValueAccessor, TimeBoxElement, ToastElement, ToggleButtonElement, ToggleSwitchElement, ToggleTipElement, ToolbarElement, TooltipElement, TreeItemElement, TreeElement, UpDownSpinnerElement, VideoElement, VirtualizeElement, WizardStepElement, WizardElement, WrapElement, EID, Key, ToastServiceLocator } from '@breadstone/mosaik-elements-foundation';
|
|
3
|
+
import { AbsoluteItemElement, AbsoluteElement, AnchorElement, AppHeaderElement, AppElement, AutoCompleteBoxElement, AvatarGroupElement, avatarElementValueAccessor, AvatarElement, BackdropElement, BadgeElement, BannerHeaderElement, BannerSubHeaderElement, BannerElement, BottomSheetElement, BoxElement, BreadcrumbItemElement, BreadcrumbElement, ButtonGroupElement, ButtonElement, CalendarHeaderElement, CalendarItemElement, CalendarSubHeaderElement, calendarElementValueAccessor, CalendarElement, CameraElement, CardActionsElement, CardContentElement, CardFooterElement, CardHeaderElement, CardSubTitleElement, CardTitleElement, CardElement, Carousel2Element, CarouselItem2Element, CarouselItemElement, CarouselElement, CellGroupElement, CellElement, ChartElement, ChatHeaderElement, ChatMarkerElement, ChatMessageAvatarElement, ChatMessageDividerElement, ChatMessageElement, ChatElement, checkBoxGroupElementValueAccessor, CheckBoxGroupElement, checkboxElementValueAccessor, CheckboxElement, CheckmarkElement, ChipElement, chipBoxElementValueAccessor, ChipBoxElement, ChoiceGroupHeaderElement, choiceGroupElementValueAccessor, ChoiceGroupElement, choiceElementValueAccessor, ChoiceElement, CodeElement, ColorAreaElement, ColorPickerElement, ColorSliderElement, ColorSwatchGroupElement, ColorSwatchElement, ColorThumbElement, colorBoxElementValueAccessor, ColorBoxElement, ComboItemElement, comboElementValueAccessor, ComboElement, CommentElement, CompoundButtonElement, CookiesConsentElement, DataListElement, DataTableElement, dateBoxElementValueAccessor, DateBoxElement, dateTimeBoxElementValueAccessor, DateTimeBoxElement, DialogActionsElement, DialogContentElement, DialogFooterElement, DialogHeaderSubTextElement, DialogHeaderTextElement, DialogHeaderElement, DialogElement, DialogHostElement, DisclosureElement, DividerElement, DotElement, DrawerContainerElement, DrawerContentElement, DrawerElement, DropZoneElement, DropDownButtonElement, ElevationElement, EmojiElement, EmptyStateElement, EpgChannelElement, EpgProgramElement, EpgElement, ErrorStateElement, ErrorElement, ExpandableElement, ExpanderGroupElement, ExpanderHeaderElement, ExpanderSubHeaderElement, ExpanderElement, FloatingActionButtonGroupElement, FloatingActionButtonElement, FilePickerElement, FileUploadItemElement, fileUploadElementValueAccessor, FileUploadElement, FlipElement, FloatingTriggerElement, FloatingElement, FocusRingElement, FooterItemGroupElement, FooterItemElement, FooterElement, FormFieldElement, FormElement, GridItemElement, GridElement, HelmetElement, HintElement, IconElement, ImageElement, JumbtronHeaderElement, JumbtronSubHeaderElement, JumbtronElement, KbdShortcutElement, KbdElement, LightChainElement, ListItemGroupElement, ListItemElement, ListElement, MarqueeElement, MasonryElement, MenuItemGroupElement, MenuItemElement, MenuElement, MessageBoxElement, MeterBarElement, MeterRingElement, NumberCounterElement, NumberElement, numberBoxElementValueAccessor, NumberBoxElement, PageContentElement, PageHeaderElement, PagePreContentElement, PagePreHeaderElement, PageElement, PageMenuElement, PaginatorElement, passwordBoxElementValueAccessor, PasswordBoxElement, PatternElement, PersonaElement, PerspectiveElement, pinBoxElementValueAccessor, PinBoxElement, PopupElement, PortalProjectionElement, PortalElement, ProgressBarElement, ProgressRingElement, QRCodeElement, radioGroupElementValueAccessor, RadioGroupElement, radioElementValueAccessor, RadioElement, RatingElement, RepeatButtonElement, ResizeAdornerElement, RibbonElement, richTextBoxElementValueAccessor, RichTextBoxElement, RippleElement, ScaleElement, ScrollElement, searchBoxElementValueAccessor, SearchBoxElement, SegmentItemElement, SegmentElement, SelectItemGroupElement, SelectItemElement, selectElementValueAccessor, SelectElement, signaturePadElementValueAccessor, SignaturePadElement, SkeletonElement, sliderElementValueAccessor, SliderElement, Slider2ThumbElement, Slider2Element, SpacerElement, SplitButtonElement, SplitElement, StackElement, StickyElement, SuccessStateElement, SummaryElement, SwipeElement, TabItemElement, TabPanelElement, TabStripItemElement, TabStripElement, TabElement, TableBodyElement, TableCellElement, TableHeaderElement, TableRowElement, TableElement, TextFormatElement, TextElement, textBoxElementValueAccessor, TextBoxElement, Theme2Element, TickBarElement, TileListItemElement, TileListElement, timeBoxElementValueAccessor, TimeBoxElement, ToastElement, ToggleButtonElement, toggleSwitchElementValueAccessor, ToggleSwitchElement, ToggleTipElement, ToolbarElement, TooltipElement, TreeItemElement, TreeElement, UpDownSpinnerElement, VideoElement, VirtualizeElement, WizardStepElement, WizardElement, WrapElement, EID, Key, ToastServiceLocator } from '@breadstone/mosaik-elements-foundation';
|
|
4
4
|
import { fromEvent, of, isObservable, Subject, BehaviorSubject, filter, takeUntil, from } from 'rxjs';
|
|
5
5
|
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
6
6
|
import { BasePortalOutlet, CdkPortalOutlet, ComponentPortal, TemplatePortal } from '@angular/cdk/portal';
|
|
@@ -1391,6 +1391,7 @@ const AVATAR_DEFAULT_PROPS = new InjectionToken('AVATAR_DEFAULT_PROPS');
|
|
|
1391
1391
|
let AvatarComponent = class AvatarComponent {
|
|
1392
1392
|
_element;
|
|
1393
1393
|
_zone;
|
|
1394
|
+
_accessor;
|
|
1394
1395
|
_connected;
|
|
1395
1396
|
_disconnected;
|
|
1396
1397
|
_changed;
|
|
@@ -1402,6 +1403,8 @@ let AvatarComponent = class AvatarComponent {
|
|
|
1402
1403
|
cdr.detach();
|
|
1403
1404
|
this._element = elementRef.nativeElement;
|
|
1404
1405
|
this._zone = zone;
|
|
1406
|
+
this._accessor = avatarElementValueAccessor(this._element);
|
|
1407
|
+
this._element.addController(this._accessor);
|
|
1405
1408
|
this._connected = new EventEmitter();
|
|
1406
1409
|
this._element.on('connected', (e) => this.onEmit(this._connected, e));
|
|
1407
1410
|
this._disconnected = new EventEmitter();
|
|
@@ -1549,6 +1552,18 @@ let AvatarComponent = class AvatarComponent {
|
|
|
1549
1552
|
get changed() {
|
|
1550
1553
|
return this._changed;
|
|
1551
1554
|
}
|
|
1555
|
+
writeValue(obj) {
|
|
1556
|
+
this._accessor.writeValue(obj);
|
|
1557
|
+
}
|
|
1558
|
+
registerOnChange(fn) {
|
|
1559
|
+
this._accessor.registerOnChange(fn);
|
|
1560
|
+
}
|
|
1561
|
+
registerOnTouched(fn) {
|
|
1562
|
+
this._accessor.registerOnTouched(fn);
|
|
1563
|
+
}
|
|
1564
|
+
setDisabledState(isDisabled) {
|
|
1565
|
+
this._accessor.setDisabled?.(isDisabled);
|
|
1566
|
+
}
|
|
1552
1567
|
invoke(method, ...args) {
|
|
1553
1568
|
return this._element[method](...args);
|
|
1554
1569
|
}
|
|
@@ -1561,7 +1576,7 @@ let AvatarComponent = class AvatarComponent {
|
|
|
1561
1576
|
}
|
|
1562
1577
|
}
|
|
1563
1578
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AvatarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1564
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: AvatarComponent, isStandalone: true, selector: "mosaik-avatar", inputs: { displayMode: "displayMode", hasBadge: "hasBadge", text: "text", textAccessor: "textAccessor", icon: "icon", src: "src", themeName: "themeName", size: "size", appearance: "appearance", variant: "variant", disabled: "disabled", dir: "dir", lang: "lang" }, outputs: { connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1579
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: AvatarComponent, isStandalone: true, selector: "mosaik-avatar", inputs: { displayMode: "displayMode", hasBadge: "hasBadge", text: "text", textAccessor: "textAccessor", icon: "icon", src: "src", themeName: "themeName", size: "size", appearance: "appearance", variant: "variant", disabled: "disabled", dir: "dir", lang: "lang" }, outputs: { connected: "connected", disconnected: "disconnected", changed: "changed" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AvatarComponent), multi: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1565
1580
|
};
|
|
1566
1581
|
AvatarComponent = __decorate$3h([
|
|
1567
1582
|
ProxyCmp({
|
|
@@ -1579,7 +1594,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
1579
1594
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1580
1595
|
template: '<ng-content></ng-content>',
|
|
1581
1596
|
inputs: ['displayMode', 'hasBadge', 'text', 'textAccessor', 'icon', 'src', 'themeName', 'size', 'appearance', 'variant', 'disabled', 'dir', 'lang'],
|
|
1582
|
-
outputs: ['connected', 'disconnected', 'changed']
|
|
1597
|
+
outputs: ['connected', 'disconnected', 'changed'],
|
|
1598
|
+
providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => AvatarComponent), multi: true }]
|
|
1583
1599
|
}]
|
|
1584
1600
|
}], ctorParameters: () => [], propDecorators: { displayMode: [{
|
|
1585
1601
|
type: Input
|
|
@@ -4595,6 +4611,7 @@ const CALENDAR_DEFAULT_PROPS = new InjectionToken('CALENDAR_DEFAULT_PROPS');
|
|
|
4595
4611
|
let CalendarComponent = class CalendarComponent {
|
|
4596
4612
|
_element;
|
|
4597
4613
|
_zone;
|
|
4614
|
+
_accessor;
|
|
4598
4615
|
_dateChanged;
|
|
4599
4616
|
_connected;
|
|
4600
4617
|
_disconnected;
|
|
@@ -4607,6 +4624,8 @@ let CalendarComponent = class CalendarComponent {
|
|
|
4607
4624
|
cdr.detach();
|
|
4608
4625
|
this._element = elementRef.nativeElement;
|
|
4609
4626
|
this._zone = zone;
|
|
4627
|
+
this._accessor = calendarElementValueAccessor(this._element);
|
|
4628
|
+
this._element.addController(this._accessor);
|
|
4610
4629
|
this._dateChanged = new EventEmitter();
|
|
4611
4630
|
this._element.on('dateChanged', (e) => this.onEmit(this._dateChanged, e));
|
|
4612
4631
|
this._connected = new EventEmitter();
|
|
@@ -4919,6 +4938,18 @@ let CalendarComponent = class CalendarComponent {
|
|
|
4919
4938
|
get changed() {
|
|
4920
4939
|
return this._changed;
|
|
4921
4940
|
}
|
|
4941
|
+
writeValue(obj) {
|
|
4942
|
+
this._accessor.writeValue(obj);
|
|
4943
|
+
}
|
|
4944
|
+
registerOnChange(fn) {
|
|
4945
|
+
this._accessor.registerOnChange(fn);
|
|
4946
|
+
}
|
|
4947
|
+
registerOnTouched(fn) {
|
|
4948
|
+
this._accessor.registerOnTouched(fn);
|
|
4949
|
+
}
|
|
4950
|
+
setDisabledState(isDisabled) {
|
|
4951
|
+
this._accessor.setDisabled?.(isDisabled);
|
|
4952
|
+
}
|
|
4922
4953
|
invoke(method, ...args) {
|
|
4923
4954
|
return this._element[method](...args);
|
|
4924
4955
|
}
|
|
@@ -4931,7 +4962,7 @@ let CalendarComponent = class CalendarComponent {
|
|
|
4931
4962
|
}
|
|
4932
4963
|
}
|
|
4933
4964
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: CalendarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
4934
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: CalendarComponent, isStandalone: true, selector: "mosaik-calendar", inputs: { intl: "intl", displayDate: "displayDate", displayDateStart: "displayDateStart", displayDateEnd: "displayDateEnd", header: "header", values: "values", view: "view", selectionMode: "selectionMode", blackoutDates: "blackoutDates", specialDates: "specialDates", minDate: "minDate", maxDate: "maxDate", firstDayOfWeek: "firstDayOfWeek", isTodayHighlighted: "isTodayHighlighted", isWeekendHighlighted: "isWeekendHighlighted", showWeekNumbers: "showWeekNumbers", showAdjacent: "showAdjacent", markerHandler: "markerHandler", themeName: "themeName", locale: "locale", appearance: "appearance", disabled: "disabled", invalid: "invalid", value: "value", orientation: "orientation", variant: "variant", fit: "fit", dir: "dir", lang: "lang" }, outputs: { dateChanged: "dateChanged", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4965
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: CalendarComponent, isStandalone: true, selector: "mosaik-calendar", inputs: { intl: "intl", displayDate: "displayDate", displayDateStart: "displayDateStart", displayDateEnd: "displayDateEnd", header: "header", values: "values", view: "view", selectionMode: "selectionMode", blackoutDates: "blackoutDates", specialDates: "specialDates", minDate: "minDate", maxDate: "maxDate", firstDayOfWeek: "firstDayOfWeek", isTodayHighlighted: "isTodayHighlighted", isWeekendHighlighted: "isWeekendHighlighted", showWeekNumbers: "showWeekNumbers", showAdjacent: "showAdjacent", markerHandler: "markerHandler", themeName: "themeName", locale: "locale", appearance: "appearance", disabled: "disabled", invalid: "invalid", value: "value", orientation: "orientation", variant: "variant", fit: "fit", dir: "dir", lang: "lang" }, outputs: { dateChanged: "dateChanged", connected: "connected", disconnected: "disconnected", changed: "changed" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => CalendarComponent), multi: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
4935
4966
|
};
|
|
4936
4967
|
CalendarComponent = __decorate$32([
|
|
4937
4968
|
ProxyCmp({
|
|
@@ -4949,7 +4980,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
4949
4980
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
4950
4981
|
template: '<ng-content></ng-content>',
|
|
4951
4982
|
inputs: ['intl', 'displayDate', 'displayDateStart', 'displayDateEnd', 'header', 'values', 'view', 'selectionMode', 'blackoutDates', 'specialDates', 'minDate', 'maxDate', 'firstDayOfWeek', 'isTodayHighlighted', 'isWeekendHighlighted', 'showWeekNumbers', 'showAdjacent', 'markerHandler', 'themeName', 'locale', 'appearance', 'disabled', 'invalid', 'value', 'orientation', 'variant', 'fit', 'dir', 'lang'],
|
|
4952
|
-
outputs: ['dateChanged', 'connected', 'disconnected', 'changed']
|
|
4983
|
+
outputs: ['dateChanged', 'connected', 'disconnected', 'changed'],
|
|
4984
|
+
providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => CalendarComponent), multi: true }]
|
|
4953
4985
|
}]
|
|
4954
4986
|
}], ctorParameters: () => [], propDecorators: { intl: [{
|
|
4955
4987
|
type: Input
|
|
@@ -9731,6 +9763,7 @@ const CHECKBOX_DEFAULT_PROPS = new InjectionToken('CHECKBOX_DEFAULT_PROPS');
|
|
|
9731
9763
|
let CheckboxComponent = class CheckboxComponent {
|
|
9732
9764
|
_element;
|
|
9733
9765
|
_zone;
|
|
9766
|
+
_accessor;
|
|
9734
9767
|
_checked;
|
|
9735
9768
|
_unchecked;
|
|
9736
9769
|
_indeterminate;
|
|
@@ -9745,6 +9778,8 @@ let CheckboxComponent = class CheckboxComponent {
|
|
|
9745
9778
|
cdr.detach();
|
|
9746
9779
|
this._element = elementRef.nativeElement;
|
|
9747
9780
|
this._zone = zone;
|
|
9781
|
+
this._accessor = checkboxElementValueAccessor(this._element);
|
|
9782
|
+
this._element.addController(this._accessor);
|
|
9748
9783
|
this._checked = new EventEmitter();
|
|
9749
9784
|
this._element.on('checked', (e) => this.onEmit(this._checked, e));
|
|
9750
9785
|
this._unchecked = new EventEmitter();
|
|
@@ -9927,6 +9962,18 @@ let CheckboxComponent = class CheckboxComponent {
|
|
|
9927
9962
|
get changed() {
|
|
9928
9963
|
return this._changed;
|
|
9929
9964
|
}
|
|
9965
|
+
writeValue(obj) {
|
|
9966
|
+
this._accessor.writeValue(obj);
|
|
9967
|
+
}
|
|
9968
|
+
registerOnChange(fn) {
|
|
9969
|
+
this._accessor.registerOnChange(fn);
|
|
9970
|
+
}
|
|
9971
|
+
registerOnTouched(fn) {
|
|
9972
|
+
this._accessor.registerOnTouched(fn);
|
|
9973
|
+
}
|
|
9974
|
+
setDisabledState(isDisabled) {
|
|
9975
|
+
this._accessor.setDisabled?.(isDisabled);
|
|
9976
|
+
}
|
|
9930
9977
|
invoke(method, ...args) {
|
|
9931
9978
|
return this._element[method](...args);
|
|
9932
9979
|
}
|
|
@@ -9939,7 +9986,7 @@ let CheckboxComponent = class CheckboxComponent {
|
|
|
9939
9986
|
}
|
|
9940
9987
|
}
|
|
9941
9988
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: CheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9942
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: CheckboxComponent, isStandalone: true, selector: "mosaik-checkbox", inputs: { labelPosition: "labelPosition", required: "required", name: "name", themeName: "themeName", invalid: "invalid", value: "value", variant: "variant", appearance: "appearance", disabled: "disabled", label: "label", isChecked: "isChecked", isThreeState: "isThreeState", isFocused: "isFocused", dir: "dir", lang: "lang" }, outputs: { checked: "checked", unchecked: "unchecked", indeterminate: "indeterminate", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9989
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: CheckboxComponent, isStandalone: true, selector: "mosaik-checkbox", inputs: { labelPosition: "labelPosition", required: "required", name: "name", themeName: "themeName", invalid: "invalid", value: "value", variant: "variant", appearance: "appearance", disabled: "disabled", label: "label", isChecked: "isChecked", isThreeState: "isThreeState", isFocused: "isFocused", dir: "dir", lang: "lang" }, outputs: { checked: "checked", unchecked: "unchecked", indeterminate: "indeterminate", connected: "connected", disconnected: "disconnected", changed: "changed" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => CheckboxComponent), multi: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
9943
9990
|
};
|
|
9944
9991
|
CheckboxComponent = __decorate$2H([
|
|
9945
9992
|
ProxyCmp({
|
|
@@ -9957,7 +10004,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
9957
10004
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
9958
10005
|
template: '<ng-content></ng-content>',
|
|
9959
10006
|
inputs: ['labelPosition', 'required', 'name', 'themeName', 'invalid', 'value', 'variant', 'appearance', 'disabled', 'label', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
9960
|
-
outputs: ['checked', 'unchecked', 'indeterminate', 'connected', 'disconnected', 'changed']
|
|
10007
|
+
outputs: ['checked', 'unchecked', 'indeterminate', 'connected', 'disconnected', 'changed'],
|
|
10008
|
+
providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => CheckboxComponent), multi: true }]
|
|
9961
10009
|
}]
|
|
9962
10010
|
}], ctorParameters: () => [], propDecorators: { labelPosition: [{
|
|
9963
10011
|
type: Input
|
|
@@ -11311,6 +11359,7 @@ const CHOICE_DEFAULT_PROPS = new InjectionToken('CHOICE_DEFAULT_PROPS');
|
|
|
11311
11359
|
let ChoiceComponent = class ChoiceComponent {
|
|
11312
11360
|
_element;
|
|
11313
11361
|
_zone;
|
|
11362
|
+
_accessor;
|
|
11314
11363
|
_checked;
|
|
11315
11364
|
_unchecked;
|
|
11316
11365
|
_indeterminate;
|
|
@@ -11325,6 +11374,8 @@ let ChoiceComponent = class ChoiceComponent {
|
|
|
11325
11374
|
cdr.detach();
|
|
11326
11375
|
this._element = elementRef.nativeElement;
|
|
11327
11376
|
this._zone = zone;
|
|
11377
|
+
this._accessor = choiceElementValueAccessor(this._element);
|
|
11378
|
+
this._element.addController(this._accessor);
|
|
11328
11379
|
this._checked = new EventEmitter();
|
|
11329
11380
|
this._element.on('checked', (e) => this.onEmit(this._checked, e));
|
|
11330
11381
|
this._unchecked = new EventEmitter();
|
|
@@ -11527,6 +11578,18 @@ let ChoiceComponent = class ChoiceComponent {
|
|
|
11527
11578
|
get changed() {
|
|
11528
11579
|
return this._changed;
|
|
11529
11580
|
}
|
|
11581
|
+
writeValue(obj) {
|
|
11582
|
+
this._accessor.writeValue(obj);
|
|
11583
|
+
}
|
|
11584
|
+
registerOnChange(fn) {
|
|
11585
|
+
this._accessor.registerOnChange(fn);
|
|
11586
|
+
}
|
|
11587
|
+
registerOnTouched(fn) {
|
|
11588
|
+
this._accessor.registerOnTouched(fn);
|
|
11589
|
+
}
|
|
11590
|
+
setDisabledState(isDisabled) {
|
|
11591
|
+
this._accessor.setDisabled?.(isDisabled);
|
|
11592
|
+
}
|
|
11530
11593
|
invoke(method, ...args) {
|
|
11531
11594
|
return this._element[method](...args);
|
|
11532
11595
|
}
|
|
@@ -11539,7 +11602,7 @@ let ChoiceComponent = class ChoiceComponent {
|
|
|
11539
11602
|
}
|
|
11540
11603
|
}
|
|
11541
11604
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: ChoiceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
11542
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: ChoiceComponent, isStandalone: true, selector: "mosaik-choice", inputs: { name: "name", additional: "additional", required: "required", icon: "icon", iconPosition: "iconPosition", themeName: "themeName", invalid: "invalid", disabled: "disabled", appearance: "appearance", variant: "variant", label: "label", value: "value", isChecked: "isChecked", isThreeState: "isThreeState", isFocused: "isFocused", dir: "dir", lang: "lang" }, outputs: { checked: "checked", unchecked: "unchecked", indeterminate: "indeterminate", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11605
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: ChoiceComponent, isStandalone: true, selector: "mosaik-choice", inputs: { name: "name", additional: "additional", required: "required", icon: "icon", iconPosition: "iconPosition", themeName: "themeName", invalid: "invalid", disabled: "disabled", appearance: "appearance", variant: "variant", label: "label", value: "value", isChecked: "isChecked", isThreeState: "isThreeState", isFocused: "isFocused", dir: "dir", lang: "lang" }, outputs: { checked: "checked", unchecked: "unchecked", indeterminate: "indeterminate", connected: "connected", disconnected: "disconnected", changed: "changed" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => ChoiceComponent), multi: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
11543
11606
|
};
|
|
11544
11607
|
ChoiceComponent = __decorate$2B([
|
|
11545
11608
|
ProxyCmp({
|
|
@@ -11557,7 +11620,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
11557
11620
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
11558
11621
|
template: '<ng-content></ng-content>',
|
|
11559
11622
|
inputs: ['name', 'additional', 'required', 'icon', 'iconPosition', 'themeName', 'invalid', 'disabled', 'appearance', 'variant', 'label', 'value', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
11560
|
-
outputs: ['checked', 'unchecked', 'indeterminate', 'connected', 'disconnected', 'changed']
|
|
11623
|
+
outputs: ['checked', 'unchecked', 'indeterminate', 'connected', 'disconnected', 'changed'],
|
|
11624
|
+
providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => ChoiceComponent), multi: true }]
|
|
11561
11625
|
}]
|
|
11562
11626
|
}], ctorParameters: () => [], propDecorators: { name: [{
|
|
11563
11627
|
type: Input
|
|
@@ -13543,6 +13607,7 @@ const COMBO_DEFAULT_PROPS = new InjectionToken('COMBO_DEFAULT_PROPS');
|
|
|
13543
13607
|
let ComboComponent = class ComboComponent {
|
|
13544
13608
|
_element;
|
|
13545
13609
|
_zone;
|
|
13610
|
+
_accessor;
|
|
13546
13611
|
_selectionChanged;
|
|
13547
13612
|
_itemsChanged;
|
|
13548
13613
|
_connected;
|
|
@@ -13556,6 +13621,8 @@ let ComboComponent = class ComboComponent {
|
|
|
13556
13621
|
cdr.detach();
|
|
13557
13622
|
this._element = elementRef.nativeElement;
|
|
13558
13623
|
this._zone = zone;
|
|
13624
|
+
this._accessor = comboElementValueAccessor(this._element);
|
|
13625
|
+
this._element.addController(this._accessor);
|
|
13559
13626
|
this._selectionChanged = new EventEmitter();
|
|
13560
13627
|
this._element.on('selectionChanged', (e) => this.onEmit(this._selectionChanged, e));
|
|
13561
13628
|
this._itemsChanged = new EventEmitter();
|
|
@@ -13813,6 +13880,18 @@ let ComboComponent = class ComboComponent {
|
|
|
13813
13880
|
get changed() {
|
|
13814
13881
|
return this._changed;
|
|
13815
13882
|
}
|
|
13883
|
+
writeValue(obj) {
|
|
13884
|
+
this._accessor.writeValue(obj);
|
|
13885
|
+
}
|
|
13886
|
+
registerOnChange(fn) {
|
|
13887
|
+
this._accessor.registerOnChange(fn);
|
|
13888
|
+
}
|
|
13889
|
+
registerOnTouched(fn) {
|
|
13890
|
+
this._accessor.registerOnTouched(fn);
|
|
13891
|
+
}
|
|
13892
|
+
setDisabledState(isDisabled) {
|
|
13893
|
+
this._accessor.setDisabled?.(isDisabled);
|
|
13894
|
+
}
|
|
13816
13895
|
invoke(method, ...args) {
|
|
13817
13896
|
return this._element[method](...args);
|
|
13818
13897
|
}
|
|
@@ -13825,7 +13904,7 @@ let ComboComponent = class ComboComponent {
|
|
|
13825
13904
|
}
|
|
13826
13905
|
}
|
|
13827
13906
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: ComboComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
13828
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: ComboComponent, isStandalone: true, selector: "mosaik-combo", inputs: { selectionMode: "selectionMode", placeholder: "placeholder", required: "required", themeName: "themeName", dropDownPlacement: "dropDownPlacement", dropDownStrategy: "dropDownStrategy", dropDownDistance: "dropDownDistance", dropDownSkidding: "dropDownSkidding", dropDownStaysOpen: "dropDownStaysOpen", maxDropDownHeight: "maxDropDownHeight", isDropDownOpen: "isDropDownOpen", appearance: "appearance", variant: "variant", label: "label", isClearable: "isClearable", cleared: "cleared", disabled: "disabled", invalid: "invalid", value: "value", selectedItems: "selectedItems", selectedItem: "selectedItem", dir: "dir", lang: "lang" }, outputs: { selectionChanged: "selectionChanged", itemsChanged: "itemsChanged", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13907
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: ComboComponent, isStandalone: true, selector: "mosaik-combo", inputs: { selectionMode: "selectionMode", placeholder: "placeholder", required: "required", themeName: "themeName", dropDownPlacement: "dropDownPlacement", dropDownStrategy: "dropDownStrategy", dropDownDistance: "dropDownDistance", dropDownSkidding: "dropDownSkidding", dropDownStaysOpen: "dropDownStaysOpen", maxDropDownHeight: "maxDropDownHeight", isDropDownOpen: "isDropDownOpen", appearance: "appearance", variant: "variant", label: "label", isClearable: "isClearable", cleared: "cleared", disabled: "disabled", invalid: "invalid", value: "value", selectedItems: "selectedItems", selectedItem: "selectedItem", dir: "dir", lang: "lang" }, outputs: { selectionChanged: "selectionChanged", itemsChanged: "itemsChanged", connected: "connected", disconnected: "disconnected", changed: "changed" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => ComboComponent), multi: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
13829
13908
|
};
|
|
13830
13909
|
ComboComponent = __decorate$2r([
|
|
13831
13910
|
ProxyCmp({
|
|
@@ -13843,7 +13922,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
13843
13922
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
13844
13923
|
template: '<ng-content></ng-content>',
|
|
13845
13924
|
inputs: ['selectionMode', 'placeholder', 'required', 'themeName', 'dropDownPlacement', 'dropDownStrategy', 'dropDownDistance', 'dropDownSkidding', 'dropDownStaysOpen', 'maxDropDownHeight', 'isDropDownOpen', 'appearance', 'variant', 'label', 'isClearable', 'cleared', 'disabled', 'invalid', 'value', 'selectedItems', 'selectedItem', 'dir', 'lang'],
|
|
13846
|
-
outputs: ['selectionChanged', 'itemsChanged', 'connected', 'disconnected', 'changed']
|
|
13925
|
+
outputs: ['selectionChanged', 'itemsChanged', 'connected', 'disconnected', 'changed'],
|
|
13926
|
+
providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => ComboComponent), multi: true }]
|
|
13847
13927
|
}]
|
|
13848
13928
|
}], ctorParameters: () => [], propDecorators: { selectionMode: [{
|
|
13849
13929
|
type: Input
|
|
@@ -23083,6 +23163,7 @@ const FILEUPLOAD_DEFAULT_PROPS = new InjectionToken('FILEUPLOAD_DEFAULT_PROPS');
|
|
|
23083
23163
|
let FileUploadComponent = class FileUploadComponent {
|
|
23084
23164
|
_element;
|
|
23085
23165
|
_zone;
|
|
23166
|
+
_accessor;
|
|
23086
23167
|
_connected;
|
|
23087
23168
|
_disconnected;
|
|
23088
23169
|
_changed;
|
|
@@ -23094,6 +23175,8 @@ let FileUploadComponent = class FileUploadComponent {
|
|
|
23094
23175
|
cdr.detach();
|
|
23095
23176
|
this._element = elementRef.nativeElement;
|
|
23096
23177
|
this._zone = zone;
|
|
23178
|
+
this._accessor = fileUploadElementValueAccessor(this._element);
|
|
23179
|
+
this._element.addController(this._accessor);
|
|
23097
23180
|
this._connected = new EventEmitter();
|
|
23098
23181
|
this._element.on('connected', (e) => this.onEmit(this._connected, e));
|
|
23099
23182
|
this._disconnected = new EventEmitter();
|
|
@@ -23331,6 +23414,18 @@ let FileUploadComponent = class FileUploadComponent {
|
|
|
23331
23414
|
get changed() {
|
|
23332
23415
|
return this._changed;
|
|
23333
23416
|
}
|
|
23417
|
+
writeValue(obj) {
|
|
23418
|
+
this._accessor.writeValue(obj);
|
|
23419
|
+
}
|
|
23420
|
+
registerOnChange(fn) {
|
|
23421
|
+
this._accessor.registerOnChange(fn);
|
|
23422
|
+
}
|
|
23423
|
+
registerOnTouched(fn) {
|
|
23424
|
+
this._accessor.registerOnTouched(fn);
|
|
23425
|
+
}
|
|
23426
|
+
setDisabledState(isDisabled) {
|
|
23427
|
+
this._accessor.setDisabled?.(isDisabled);
|
|
23428
|
+
}
|
|
23334
23429
|
invoke(method, ...args) {
|
|
23335
23430
|
return this._element[method](...args);
|
|
23336
23431
|
}
|
|
@@ -23343,7 +23438,7 @@ let FileUploadComponent = class FileUploadComponent {
|
|
|
23343
23438
|
}
|
|
23344
23439
|
}
|
|
23345
23440
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: FileUploadComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
23346
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: FileUploadComponent, isStandalone: true, selector: "mosaik-file-upload", inputs: { isDragging: "isDragging", intl: "intl", fileAdded: "fileAdded", fileDeleted: "fileDeleted", fileFailed: "fileFailed", filesChanged: "filesChanged", autoUpload: "autoUpload", view: "view", multiple: "multiple", directory: "directory", accept: "accept", strategy: "strategy", placeholder: "placeholder", maxSize: "maxSize", themeName: "themeName", disabled: "disabled", appearance: "appearance", variant: "variant", invalid: "invalid", value: "value", dir: "dir", lang: "lang" }, outputs: { connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
23441
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: FileUploadComponent, isStandalone: true, selector: "mosaik-file-upload", inputs: { isDragging: "isDragging", intl: "intl", fileAdded: "fileAdded", fileDeleted: "fileDeleted", fileFailed: "fileFailed", filesChanged: "filesChanged", autoUpload: "autoUpload", view: "view", multiple: "multiple", directory: "directory", accept: "accept", strategy: "strategy", placeholder: "placeholder", maxSize: "maxSize", themeName: "themeName", disabled: "disabled", appearance: "appearance", variant: "variant", invalid: "invalid", value: "value", dir: "dir", lang: "lang" }, outputs: { connected: "connected", disconnected: "disconnected", changed: "changed" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => FileUploadComponent), multi: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
23347
23442
|
};
|
|
23348
23443
|
FileUploadComponent = __decorate$1O([
|
|
23349
23444
|
ProxyCmp({
|
|
@@ -23361,7 +23456,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
23361
23456
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
23362
23457
|
template: '<ng-content></ng-content>',
|
|
23363
23458
|
inputs: ['isDragging', 'intl', 'fileAdded', 'fileDeleted', 'fileFailed', 'filesChanged', 'autoUpload', 'view', 'multiple', 'directory', 'accept', 'strategy', 'placeholder', 'maxSize', 'themeName', 'disabled', 'appearance', 'variant', 'invalid', 'value', 'dir', 'lang'],
|
|
23364
|
-
outputs: ['connected', 'disconnected', 'changed']
|
|
23459
|
+
outputs: ['connected', 'disconnected', 'changed'],
|
|
23460
|
+
providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => FileUploadComponent), multi: true }]
|
|
23365
23461
|
}]
|
|
23366
23462
|
}], ctorParameters: () => [], propDecorators: { isDragging: [{
|
|
23367
23463
|
type: Input
|
|
@@ -35067,6 +35163,7 @@ const RADIO_DEFAULT_PROPS = new InjectionToken('RADIO_DEFAULT_PROPS');
|
|
|
35067
35163
|
let RadioComponent = class RadioComponent {
|
|
35068
35164
|
_element;
|
|
35069
35165
|
_zone;
|
|
35166
|
+
_accessor;
|
|
35070
35167
|
_checked;
|
|
35071
35168
|
_unchecked;
|
|
35072
35169
|
_indeterminate;
|
|
@@ -35081,6 +35178,8 @@ let RadioComponent = class RadioComponent {
|
|
|
35081
35178
|
cdr.detach();
|
|
35082
35179
|
this._element = elementRef.nativeElement;
|
|
35083
35180
|
this._zone = zone;
|
|
35181
|
+
this._accessor = radioElementValueAccessor(this._element);
|
|
35182
|
+
this._element.addController(this._accessor);
|
|
35084
35183
|
this._checked = new EventEmitter();
|
|
35085
35184
|
this._element.on('checked', (e) => this.onEmit(this._checked, e));
|
|
35086
35185
|
this._unchecked = new EventEmitter();
|
|
@@ -35263,6 +35362,18 @@ let RadioComponent = class RadioComponent {
|
|
|
35263
35362
|
get changed() {
|
|
35264
35363
|
return this._changed;
|
|
35265
35364
|
}
|
|
35365
|
+
writeValue(obj) {
|
|
35366
|
+
this._accessor.writeValue(obj);
|
|
35367
|
+
}
|
|
35368
|
+
registerOnChange(fn) {
|
|
35369
|
+
this._accessor.registerOnChange(fn);
|
|
35370
|
+
}
|
|
35371
|
+
registerOnTouched(fn) {
|
|
35372
|
+
this._accessor.registerOnTouched(fn);
|
|
35373
|
+
}
|
|
35374
|
+
setDisabledState(isDisabled) {
|
|
35375
|
+
this._accessor.setDisabled?.(isDisabled);
|
|
35376
|
+
}
|
|
35266
35377
|
invoke(method, ...args) {
|
|
35267
35378
|
return this._element[method](...args);
|
|
35268
35379
|
}
|
|
@@ -35275,7 +35386,7 @@ let RadioComponent = class RadioComponent {
|
|
|
35275
35386
|
}
|
|
35276
35387
|
}
|
|
35277
35388
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: RadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
35278
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: RadioComponent, isStandalone: true, selector: "mosaik-radio", inputs: { labelPosition: "labelPosition", required: "required", name: "name", themeName: "themeName", invalid: "invalid", value: "value", variant: "variant", appearance: "appearance", disabled: "disabled", label: "label", isChecked: "isChecked", isThreeState: "isThreeState", isFocused: "isFocused", dir: "dir", lang: "lang" }, outputs: { checked: "checked", unchecked: "unchecked", indeterminate: "indeterminate", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
35389
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: RadioComponent, isStandalone: true, selector: "mosaik-radio", inputs: { labelPosition: "labelPosition", required: "required", name: "name", themeName: "themeName", invalid: "invalid", value: "value", variant: "variant", appearance: "appearance", disabled: "disabled", label: "label", isChecked: "isChecked", isThreeState: "isThreeState", isFocused: "isFocused", dir: "dir", lang: "lang" }, outputs: { checked: "checked", unchecked: "unchecked", indeterminate: "indeterminate", connected: "connected", disconnected: "disconnected", changed: "changed" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => RadioComponent), multi: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
35279
35390
|
};
|
|
35280
35391
|
RadioComponent = __decorate$X([
|
|
35281
35392
|
ProxyCmp({
|
|
@@ -35293,7 +35404,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
35293
35404
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
35294
35405
|
template: '<ng-content></ng-content>',
|
|
35295
35406
|
inputs: ['labelPosition', 'required', 'name', 'themeName', 'invalid', 'value', 'variant', 'appearance', 'disabled', 'label', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
35296
|
-
outputs: ['checked', 'unchecked', 'indeterminate', 'connected', 'disconnected', 'changed']
|
|
35407
|
+
outputs: ['checked', 'unchecked', 'indeterminate', 'connected', 'disconnected', 'changed'],
|
|
35408
|
+
providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => RadioComponent), multi: true }]
|
|
35297
35409
|
}]
|
|
35298
35410
|
}], ctorParameters: () => [], propDecorators: { labelPosition: [{
|
|
35299
35411
|
type: Input
|
|
@@ -38663,6 +38775,7 @@ const SELECT_DEFAULT_PROPS = new InjectionToken('SELECT_DEFAULT_PROPS');
|
|
|
38663
38775
|
let SelectComponent = class SelectComponent {
|
|
38664
38776
|
_element;
|
|
38665
38777
|
_zone;
|
|
38778
|
+
_accessor;
|
|
38666
38779
|
_selectionChanged;
|
|
38667
38780
|
_itemsChanged;
|
|
38668
38781
|
_connected;
|
|
@@ -38676,6 +38789,8 @@ let SelectComponent = class SelectComponent {
|
|
|
38676
38789
|
cdr.detach();
|
|
38677
38790
|
this._element = elementRef.nativeElement;
|
|
38678
38791
|
this._zone = zone;
|
|
38792
|
+
this._accessor = selectElementValueAccessor(this._element);
|
|
38793
|
+
this._element.addController(this._accessor);
|
|
38679
38794
|
this._selectionChanged = new EventEmitter();
|
|
38680
38795
|
this._element.on('selectionChanged', (e) => this.onEmit(this._selectionChanged, e));
|
|
38681
38796
|
this._itemsChanged = new EventEmitter();
|
|
@@ -38933,6 +39048,18 @@ let SelectComponent = class SelectComponent {
|
|
|
38933
39048
|
get changed() {
|
|
38934
39049
|
return this._changed;
|
|
38935
39050
|
}
|
|
39051
|
+
writeValue(obj) {
|
|
39052
|
+
this._accessor.writeValue(obj);
|
|
39053
|
+
}
|
|
39054
|
+
registerOnChange(fn) {
|
|
39055
|
+
this._accessor.registerOnChange(fn);
|
|
39056
|
+
}
|
|
39057
|
+
registerOnTouched(fn) {
|
|
39058
|
+
this._accessor.registerOnTouched(fn);
|
|
39059
|
+
}
|
|
39060
|
+
setDisabledState(isDisabled) {
|
|
39061
|
+
this._accessor.setDisabled?.(isDisabled);
|
|
39062
|
+
}
|
|
38936
39063
|
invoke(method, ...args) {
|
|
38937
39064
|
return this._element[method](...args);
|
|
38938
39065
|
}
|
|
@@ -38945,7 +39072,7 @@ let SelectComponent = class SelectComponent {
|
|
|
38945
39072
|
}
|
|
38946
39073
|
}
|
|
38947
39074
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: SelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
38948
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: SelectComponent, isStandalone: true, selector: "mosaik-select", inputs: { isEditable: "isEditable", isReadOnly: "isReadOnly", placeholder: "placeholder", required: "required", themeName: "themeName", appearance: "appearance", variant: "variant", dropDownPlacement: "dropDownPlacement", dropDownStrategy: "dropDownStrategy", dropDownDistance: "dropDownDistance", dropDownSkidding: "dropDownSkidding", dropDownStaysOpen: "dropDownStaysOpen", maxDropDownHeight: "maxDropDownHeight", isDropDownOpen: "isDropDownOpen", label: "label", isClearable: "isClearable", cleared: "cleared", disabled: "disabled", invalid: "invalid", value: "value", selectedItem: "selectedItem", dir: "dir", lang: "lang" }, outputs: { selectionChanged: "selectionChanged", itemsChanged: "itemsChanged", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
39075
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: SelectComponent, isStandalone: true, selector: "mosaik-select", inputs: { isEditable: "isEditable", isReadOnly: "isReadOnly", placeholder: "placeholder", required: "required", themeName: "themeName", appearance: "appearance", variant: "variant", dropDownPlacement: "dropDownPlacement", dropDownStrategy: "dropDownStrategy", dropDownDistance: "dropDownDistance", dropDownSkidding: "dropDownSkidding", dropDownStaysOpen: "dropDownStaysOpen", maxDropDownHeight: "maxDropDownHeight", isDropDownOpen: "isDropDownOpen", label: "label", isClearable: "isClearable", cleared: "cleared", disabled: "disabled", invalid: "invalid", value: "value", selectedItem: "selectedItem", dir: "dir", lang: "lang" }, outputs: { selectionChanged: "selectionChanged", itemsChanged: "itemsChanged", connected: "connected", disconnected: "disconnected", changed: "changed" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SelectComponent), multi: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
38949
39076
|
};
|
|
38950
39077
|
SelectComponent = __decorate$J([
|
|
38951
39078
|
ProxyCmp({
|
|
@@ -38963,7 +39090,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
38963
39090
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
38964
39091
|
template: '<ng-content></ng-content>',
|
|
38965
39092
|
inputs: ['isEditable', 'isReadOnly', 'placeholder', 'required', 'themeName', 'appearance', 'variant', 'dropDownPlacement', 'dropDownStrategy', 'dropDownDistance', 'dropDownSkidding', 'dropDownStaysOpen', 'maxDropDownHeight', 'isDropDownOpen', 'label', 'isClearable', 'cleared', 'disabled', 'invalid', 'value', 'selectedItem', 'dir', 'lang'],
|
|
38966
|
-
outputs: ['selectionChanged', 'itemsChanged', 'connected', 'disconnected', 'changed']
|
|
39093
|
+
outputs: ['selectionChanged', 'itemsChanged', 'connected', 'disconnected', 'changed'],
|
|
39094
|
+
providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => SelectComponent), multi: true }]
|
|
38967
39095
|
}]
|
|
38968
39096
|
}], ctorParameters: () => [], propDecorators: { isEditable: [{
|
|
38969
39097
|
type: Input
|
|
@@ -39675,6 +39803,7 @@ const SLIDER_DEFAULT_PROPS = new InjectionToken('SLIDER_DEFAULT_PROPS');
|
|
|
39675
39803
|
let SliderComponent = class SliderComponent {
|
|
39676
39804
|
_element;
|
|
39677
39805
|
_zone;
|
|
39806
|
+
_accessor;
|
|
39678
39807
|
_valueChanged;
|
|
39679
39808
|
_connected;
|
|
39680
39809
|
_disconnected;
|
|
@@ -39687,6 +39816,8 @@ let SliderComponent = class SliderComponent {
|
|
|
39687
39816
|
cdr.detach();
|
|
39688
39817
|
this._element = elementRef.nativeElement;
|
|
39689
39818
|
this._zone = zone;
|
|
39819
|
+
this._accessor = sliderElementValueAccessor(this._element);
|
|
39820
|
+
this._element.addController(this._accessor);
|
|
39690
39821
|
this._valueChanged = new EventEmitter();
|
|
39691
39822
|
this._element.on('valueChanged', (e) => this.onEmit(this._valueChanged, e));
|
|
39692
39823
|
this._connected = new EventEmitter();
|
|
@@ -39899,6 +40030,18 @@ let SliderComponent = class SliderComponent {
|
|
|
39899
40030
|
get changed() {
|
|
39900
40031
|
return this._changed;
|
|
39901
40032
|
}
|
|
40033
|
+
writeValue(obj) {
|
|
40034
|
+
this._accessor.writeValue(obj);
|
|
40035
|
+
}
|
|
40036
|
+
registerOnChange(fn) {
|
|
40037
|
+
this._accessor.registerOnChange(fn);
|
|
40038
|
+
}
|
|
40039
|
+
registerOnTouched(fn) {
|
|
40040
|
+
this._accessor.registerOnTouched(fn);
|
|
40041
|
+
}
|
|
40042
|
+
setDisabledState(isDisabled) {
|
|
40043
|
+
this._accessor.setDisabled?.(isDisabled);
|
|
40044
|
+
}
|
|
39902
40045
|
invoke(method, ...args) {
|
|
39903
40046
|
return this._element[method](...args);
|
|
39904
40047
|
}
|
|
@@ -39911,7 +40054,11 @@ let SliderComponent = class SliderComponent {
|
|
|
39911
40054
|
}
|
|
39912
40055
|
}
|
|
39913
40056
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: SliderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
39914
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: SliderComponent, isStandalone: true, selector: "mosaik-slider", inputs: { step: "step", track: "track", ticks: "ticks", tickPlacement: "tickPlacement", showTickLabels: "showTickLabels", tickLabelAccessor: "tickLabelAccessor", tooltipPlacement: "tooltipPlacement", tooltipAccessor: "tooltipAccessor", themeName: "themeName", orientation: "orientation", disabled: "disabled", variant: "variant", appearance: "appearance", isFocused: "isFocused", min: "min", max: "max", value: "value", dir: "dir", lang: "lang" }, outputs: { valueChanged: "valueChanged", connected: "connected", disconnected: "disconnected", changed: "changed" },
|
|
40057
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: SliderComponent, isStandalone: true, selector: "mosaik-slider", inputs: { step: "step", track: "track", ticks: "ticks", tickPlacement: "tickPlacement", showTickLabels: "showTickLabels", tickLabelAccessor: "tickLabelAccessor", tooltipPlacement: "tooltipPlacement", tooltipAccessor: "tooltipAccessor", themeName: "themeName", orientation: "orientation", disabled: "disabled", variant: "variant", appearance: "appearance", isFocused: "isFocused", min: "min", max: "max", value: "value", dir: "dir", lang: "lang" }, outputs: { valueChanged: "valueChanged", connected: "connected", disconnected: "disconnected", changed: "changed" }, providers: [{
|
|
40058
|
+
provide: NG_VALUE_ACCESSOR,
|
|
40059
|
+
useExisting: forwardRef(() => SliderComponent),
|
|
40060
|
+
multi: true
|
|
40061
|
+
}], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
39915
40062
|
};
|
|
39916
40063
|
SliderComponent = __decorate$G([
|
|
39917
40064
|
ProxyCmp({
|
|
@@ -39929,7 +40076,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
39929
40076
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
39930
40077
|
template: '<ng-content></ng-content>',
|
|
39931
40078
|
inputs: ['step', 'track', 'ticks', 'tickPlacement', 'showTickLabels', 'tickLabelAccessor', 'tooltipPlacement', 'tooltipAccessor', 'themeName', 'orientation', 'disabled', 'variant', 'appearance', 'isFocused', 'min', 'max', 'value', 'dir', 'lang'],
|
|
39932
|
-
outputs: ['valueChanged', 'connected', 'disconnected', 'changed']
|
|
40079
|
+
outputs: ['valueChanged', 'connected', 'disconnected', 'changed'],
|
|
40080
|
+
providers: [{
|
|
40081
|
+
provide: NG_VALUE_ACCESSOR,
|
|
40082
|
+
useExisting: forwardRef(() => SliderComponent),
|
|
40083
|
+
multi: true
|
|
40084
|
+
}]
|
|
39933
40085
|
}]
|
|
39934
40086
|
}], ctorParameters: () => [], propDecorators: { step: [{
|
|
39935
40087
|
type: Input
|
|
@@ -47147,6 +47299,7 @@ const TOGGLESWITCH_DEFAULT_PROPS = new InjectionToken('TOGGLESWITCH_DEFAULT_PROP
|
|
|
47147
47299
|
let ToggleSwitchComponent = class ToggleSwitchComponent {
|
|
47148
47300
|
_element;
|
|
47149
47301
|
_zone;
|
|
47302
|
+
_accessor;
|
|
47150
47303
|
_checked;
|
|
47151
47304
|
_unchecked;
|
|
47152
47305
|
_indeterminate;
|
|
@@ -47161,6 +47314,8 @@ let ToggleSwitchComponent = class ToggleSwitchComponent {
|
|
|
47161
47314
|
cdr.detach();
|
|
47162
47315
|
this._element = elementRef.nativeElement;
|
|
47163
47316
|
this._zone = zone;
|
|
47317
|
+
this._accessor = toggleSwitchElementValueAccessor(this._element);
|
|
47318
|
+
this._element.addController(this._accessor);
|
|
47164
47319
|
this._checked = new EventEmitter();
|
|
47165
47320
|
this._element.on('checked', (e) => this.onEmit(this._checked, e));
|
|
47166
47321
|
this._unchecked = new EventEmitter();
|
|
@@ -47343,6 +47498,18 @@ let ToggleSwitchComponent = class ToggleSwitchComponent {
|
|
|
47343
47498
|
get changed() {
|
|
47344
47499
|
return this._changed;
|
|
47345
47500
|
}
|
|
47501
|
+
writeValue(obj) {
|
|
47502
|
+
this._accessor.writeValue(obj);
|
|
47503
|
+
}
|
|
47504
|
+
registerOnChange(fn) {
|
|
47505
|
+
this._accessor.registerOnChange(fn);
|
|
47506
|
+
}
|
|
47507
|
+
registerOnTouched(fn) {
|
|
47508
|
+
this._accessor.registerOnTouched(fn);
|
|
47509
|
+
}
|
|
47510
|
+
setDisabledState(isDisabled) {
|
|
47511
|
+
this._accessor.setDisabled?.(isDisabled);
|
|
47512
|
+
}
|
|
47346
47513
|
invoke(method, ...args) {
|
|
47347
47514
|
return this._element[method](...args);
|
|
47348
47515
|
}
|
|
@@ -47355,7 +47522,7 @@ let ToggleSwitchComponent = class ToggleSwitchComponent {
|
|
|
47355
47522
|
}
|
|
47356
47523
|
}
|
|
47357
47524
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: ToggleSwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
47358
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: ToggleSwitchComponent, isStandalone: true, selector: "mosaik-toggle-switch", inputs: { labelPosition: "labelPosition", required: "required", name: "name", themeName: "themeName", invalid: "invalid", value: "value", variant: "variant", appearance: "appearance", disabled: "disabled", label: "label", isChecked: "isChecked", isThreeState: "isThreeState", isFocused: "isFocused", dir: "dir", lang: "lang" }, outputs: { checked: "checked", unchecked: "unchecked", indeterminate: "indeterminate", connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
47525
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.10", type: ToggleSwitchComponent, isStandalone: true, selector: "mosaik-toggle-switch", inputs: { labelPosition: "labelPosition", required: "required", name: "name", themeName: "themeName", invalid: "invalid", value: "value", variant: "variant", appearance: "appearance", disabled: "disabled", label: "label", isChecked: "isChecked", isThreeState: "isThreeState", isFocused: "isFocused", dir: "dir", lang: "lang" }, outputs: { checked: "checked", unchecked: "unchecked", indeterminate: "indeterminate", connected: "connected", disconnected: "disconnected", changed: "changed" }, providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => ToggleSwitchComponent), multi: true }], ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
47359
47526
|
};
|
|
47360
47527
|
ToggleSwitchComponent = __decorate$b([
|
|
47361
47528
|
ProxyCmp({
|
|
@@ -47373,7 +47540,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
|
|
|
47373
47540
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
47374
47541
|
template: '<ng-content></ng-content>',
|
|
47375
47542
|
inputs: ['labelPosition', 'required', 'name', 'themeName', 'invalid', 'value', 'variant', 'appearance', 'disabled', 'label', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
47376
|
-
outputs: ['checked', 'unchecked', 'indeterminate', 'connected', 'disconnected', 'changed']
|
|
47543
|
+
outputs: ['checked', 'unchecked', 'indeterminate', 'connected', 'disconnected', 'changed'],
|
|
47544
|
+
providers: [{ provide: NG_VALUE_ACCESSOR, useExisting: forwardRef(() => ToggleSwitchComponent), multi: true }]
|
|
47377
47545
|
}]
|
|
47378
47546
|
}], ctorParameters: () => [], propDecorators: { labelPosition: [{
|
|
47379
47547
|
type: Input
|