@breadstone/mosaik-elements-angular 0.0.122 → 0.0.124
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/CHANGELOG.md +14 -0
- package/fesm2022/mosaik-elements-angular.mjs +75 -15
- package/fesm2022/mosaik-elements-angular.mjs.map +1 -1
- package/index.d.ts +15 -5
- package/index.d.ts.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 0.0.124 (2025-08-20)
|
|
2
|
+
|
|
3
|
+
### 🚀 Features
|
|
4
|
+
|
|
5
|
+
- add formatter property to Checkbox, Choice, Radio, and ToggleSwitch components for enhanced text formatting ([e43a9d30b4](https://github.com/RueDeRennes/mosaik/commit/e43a9d30b4))
|
|
6
|
+
- update ChoiceElement template and styles for additional slot support ([e9d020bdf9](https://github.com/RueDeRennes/mosaik/commit/e9d020bdf9))
|
|
7
|
+
|
|
8
|
+
## 0.0.123 (2025-08-20)
|
|
9
|
+
|
|
10
|
+
### 🚀 Features
|
|
11
|
+
|
|
12
|
+
- add alignment property to HintComponent for better layout control ([2213e85eb3](https://github.com/RueDeRennes/mosaik/commit/2213e85eb3))
|
|
13
|
+
- add alignment property to HintElement and update template to support it ([985785e116](https://github.com/RueDeRennes/mosaik/commit/985785e116))
|
|
14
|
+
|
|
1
15
|
## 0.0.122 (2025-08-20)
|
|
2
16
|
|
|
3
17
|
### 🩹 Fixes
|
|
@@ -10802,6 +10802,16 @@ let CheckboxComponent = class CheckboxComponent {
|
|
|
10802
10802
|
this._element.label = value;
|
|
10803
10803
|
});
|
|
10804
10804
|
}
|
|
10805
|
+
get formatter() {
|
|
10806
|
+
// @ts-ignore - temporary fix for the type error
|
|
10807
|
+
return this._element.formatter;
|
|
10808
|
+
}
|
|
10809
|
+
set formatter(value) {
|
|
10810
|
+
this._zone.runOutsideAngular(() => {
|
|
10811
|
+
// @ts-ignore - temporary fix for the type error
|
|
10812
|
+
this._element.formatter = value;
|
|
10813
|
+
});
|
|
10814
|
+
}
|
|
10805
10815
|
get isChecked() {
|
|
10806
10816
|
// @ts-ignore - temporary fix for the type error
|
|
10807
10817
|
return this._element.isChecked;
|
|
@@ -10894,7 +10904,7 @@ let CheckboxComponent = class CheckboxComponent {
|
|
|
10894
10904
|
}
|
|
10895
10905
|
}
|
|
10896
10906
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: CheckboxComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10897
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", 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: [
|
|
10907
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", 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", formatter: "formatter", isChecked: "isChecked", isThreeState: "isThreeState", isFocused: "isFocused", dir: "dir", lang: "lang" }, outputs: { checked: "checked", unchecked: "unchecked", indeterminate: "indeterminate", connected: "connected", disconnected: "disconnected", changed: "changed" }, providers: [
|
|
10898
10908
|
{
|
|
10899
10909
|
provide: NG_VALUE_ACCESSOR,
|
|
10900
10910
|
useExisting: forwardRef(() => CheckboxComponent),
|
|
@@ -10909,7 +10919,7 @@ let CheckboxComponent = class CheckboxComponent {
|
|
|
10909
10919
|
CheckboxComponent = __decorate$2N([
|
|
10910
10920
|
ProxyCmp({
|
|
10911
10921
|
defineCustomElementFn: () => customElements.define('mosaik-checkbox', CheckboxElement),
|
|
10912
|
-
inputs: ['labelPosition', 'required', 'name', 'themeName', 'invalid', 'value', 'variant', 'appearance', 'disabled', 'label', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
10922
|
+
inputs: ['labelPosition', 'required', 'name', 'themeName', 'invalid', 'value', 'variant', 'appearance', 'disabled', 'label', 'formatter', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
10913
10923
|
methods: ['reset', 'checkValidity', 'check', 'uncheck', 'toggle', 'hasVisibleFocusInTree', 'adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
|
|
10914
10924
|
}),
|
|
10915
10925
|
__metadata$2N("design:paramtypes", [])
|
|
@@ -10921,7 +10931,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
10921
10931
|
standalone: true,
|
|
10922
10932
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
10923
10933
|
template: '<ng-content></ng-content>',
|
|
10924
|
-
inputs: ['labelPosition', 'required', 'name', 'themeName', 'invalid', 'value', 'variant', 'appearance', 'disabled', 'label', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
10934
|
+
inputs: ['labelPosition', 'required', 'name', 'themeName', 'invalid', 'value', 'variant', 'appearance', 'disabled', 'label', 'formatter', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
10925
10935
|
outputs: ['checked', 'unchecked', 'indeterminate', 'connected', 'disconnected', 'changed'],
|
|
10926
10936
|
hostDirectives: [FormStatusDirective],
|
|
10927
10937
|
providers: [
|
|
@@ -10956,6 +10966,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
10956
10966
|
type: Input
|
|
10957
10967
|
}], label: [{
|
|
10958
10968
|
type: Input
|
|
10969
|
+
}], formatter: [{
|
|
10970
|
+
type: Input
|
|
10959
10971
|
}], isChecked: [{
|
|
10960
10972
|
type: Input
|
|
10961
10973
|
}], isThreeState: [{
|
|
@@ -12557,6 +12569,16 @@ let ChoiceComponent = class ChoiceComponent {
|
|
|
12557
12569
|
this._element.value = value;
|
|
12558
12570
|
});
|
|
12559
12571
|
}
|
|
12572
|
+
get formatter() {
|
|
12573
|
+
// @ts-ignore - temporary fix for the type error
|
|
12574
|
+
return this._element.formatter;
|
|
12575
|
+
}
|
|
12576
|
+
set formatter(value) {
|
|
12577
|
+
this._zone.runOutsideAngular(() => {
|
|
12578
|
+
// @ts-ignore - temporary fix for the type error
|
|
12579
|
+
this._element.formatter = value;
|
|
12580
|
+
});
|
|
12581
|
+
}
|
|
12560
12582
|
get isChecked() {
|
|
12561
12583
|
// @ts-ignore - temporary fix for the type error
|
|
12562
12584
|
return this._element.isChecked;
|
|
@@ -12649,7 +12671,7 @@ let ChoiceComponent = class ChoiceComponent {
|
|
|
12649
12671
|
}
|
|
12650
12672
|
}
|
|
12651
12673
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ChoiceComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
12652
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", 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: [
|
|
12674
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", 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", formatter: "formatter", isChecked: "isChecked", isThreeState: "isThreeState", isFocused: "isFocused", dir: "dir", lang: "lang" }, outputs: { checked: "checked", unchecked: "unchecked", indeterminate: "indeterminate", connected: "connected", disconnected: "disconnected", changed: "changed" }, providers: [
|
|
12653
12675
|
{
|
|
12654
12676
|
provide: NG_VALUE_ACCESSOR,
|
|
12655
12677
|
useExisting: forwardRef(() => ChoiceComponent),
|
|
@@ -12664,7 +12686,7 @@ let ChoiceComponent = class ChoiceComponent {
|
|
|
12664
12686
|
ChoiceComponent = __decorate$2H([
|
|
12665
12687
|
ProxyCmp({
|
|
12666
12688
|
defineCustomElementFn: () => customElements.define('mosaik-choice', ChoiceElement),
|
|
12667
|
-
inputs: ['name', 'additional', 'required', 'icon', 'iconPosition', 'themeName', 'invalid', 'disabled', 'appearance', 'variant', 'label', 'value', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
12689
|
+
inputs: ['name', 'additional', 'required', 'icon', 'iconPosition', 'themeName', 'invalid', 'disabled', 'appearance', 'variant', 'label', 'value', 'formatter', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
12668
12690
|
methods: ['reset', 'checkValidity', 'check', 'uncheck', 'toggle', 'hasVisibleFocusInTree', 'adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
|
|
12669
12691
|
}),
|
|
12670
12692
|
__metadata$2H("design:paramtypes", [])
|
|
@@ -12676,7 +12698,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
12676
12698
|
standalone: true,
|
|
12677
12699
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
12678
12700
|
template: '<ng-content></ng-content>',
|
|
12679
|
-
inputs: ['name', 'additional', 'required', 'icon', 'iconPosition', 'themeName', 'invalid', 'disabled', 'appearance', 'variant', 'label', 'value', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
12701
|
+
inputs: ['name', 'additional', 'required', 'icon', 'iconPosition', 'themeName', 'invalid', 'disabled', 'appearance', 'variant', 'label', 'value', 'formatter', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
12680
12702
|
outputs: ['checked', 'unchecked', 'indeterminate', 'connected', 'disconnected', 'changed'],
|
|
12681
12703
|
hostDirectives: [FormStatusDirective],
|
|
12682
12704
|
providers: [
|
|
@@ -12715,6 +12737,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
12715
12737
|
type: Input
|
|
12716
12738
|
}], value: [{
|
|
12717
12739
|
type: Input
|
|
12740
|
+
}], formatter: [{
|
|
12741
|
+
type: Input
|
|
12718
12742
|
}], isChecked: [{
|
|
12719
12743
|
type: Input
|
|
12720
12744
|
}], isThreeState: [{
|
|
@@ -28082,6 +28106,16 @@ let HintComponent = class HintComponent {
|
|
|
28082
28106
|
this._element.truncate = value;
|
|
28083
28107
|
});
|
|
28084
28108
|
}
|
|
28109
|
+
get alignment() {
|
|
28110
|
+
// @ts-ignore - temporary fix for the type error
|
|
28111
|
+
return this._element.alignment;
|
|
28112
|
+
}
|
|
28113
|
+
set alignment(value) {
|
|
28114
|
+
this._zone.runOutsideAngular(() => {
|
|
28115
|
+
// @ts-ignore - temporary fix for the type error
|
|
28116
|
+
this._element.alignment = value;
|
|
28117
|
+
});
|
|
28118
|
+
}
|
|
28085
28119
|
get themeName() {
|
|
28086
28120
|
// @ts-ignore - temporary fix for the type error
|
|
28087
28121
|
return this._element.themeName;
|
|
@@ -28143,12 +28177,12 @@ let HintComponent = class HintComponent {
|
|
|
28143
28177
|
}
|
|
28144
28178
|
}
|
|
28145
28179
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: HintComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
28146
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: HintComponent, isStandalone: true, selector: "mosaik-hint", inputs: { text: "text", wrap: "wrap", truncate: "truncate", themeName: "themeName", formatter: "formatter", dir: "dir", lang: "lang" }, outputs: { connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
28180
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: HintComponent, isStandalone: true, selector: "mosaik-hint", inputs: { text: "text", wrap: "wrap", truncate: "truncate", alignment: "alignment", themeName: "themeName", formatter: "formatter", dir: "dir", lang: "lang" }, outputs: { connected: "connected", disconnected: "disconnected", changed: "changed" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
28147
28181
|
};
|
|
28148
28182
|
HintComponent = __decorate$1G([
|
|
28149
28183
|
ProxyCmp({
|
|
28150
28184
|
defineCustomElementFn: () => customElements.define('mosaik-hint', HintElement),
|
|
28151
|
-
inputs: ['text', 'wrap', 'truncate', 'themeName', 'formatter', 'dir', 'lang'],
|
|
28185
|
+
inputs: ['text', 'wrap', 'truncate', 'alignment', 'themeName', 'formatter', 'dir', 'lang'],
|
|
28152
28186
|
methods: ['adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
|
|
28153
28187
|
}),
|
|
28154
28188
|
__metadata$1G("design:paramtypes", [])
|
|
@@ -28160,7 +28194,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
28160
28194
|
standalone: true,
|
|
28161
28195
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
28162
28196
|
template: '<ng-content></ng-content>',
|
|
28163
|
-
inputs: ['text', 'wrap', 'truncate', 'themeName', 'formatter', 'dir', 'lang'],
|
|
28197
|
+
inputs: ['text', 'wrap', 'truncate', 'alignment', 'themeName', 'formatter', 'dir', 'lang'],
|
|
28164
28198
|
outputs: ['connected', 'disconnected', 'changed']
|
|
28165
28199
|
}]
|
|
28166
28200
|
}], ctorParameters: () => [], propDecorators: { text: [{
|
|
@@ -28169,6 +28203,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
28169
28203
|
type: Input
|
|
28170
28204
|
}], truncate: [{
|
|
28171
28205
|
type: Input
|
|
28206
|
+
}], alignment: [{
|
|
28207
|
+
type: Input
|
|
28172
28208
|
}], themeName: [{
|
|
28173
28209
|
type: Input
|
|
28174
28210
|
}], formatter: [{
|
|
@@ -38397,6 +38433,16 @@ let RadioComponent = class RadioComponent {
|
|
|
38397
38433
|
this._element.label = value;
|
|
38398
38434
|
});
|
|
38399
38435
|
}
|
|
38436
|
+
get formatter() {
|
|
38437
|
+
// @ts-ignore - temporary fix for the type error
|
|
38438
|
+
return this._element.formatter;
|
|
38439
|
+
}
|
|
38440
|
+
set formatter(value) {
|
|
38441
|
+
this._zone.runOutsideAngular(() => {
|
|
38442
|
+
// @ts-ignore - temporary fix for the type error
|
|
38443
|
+
this._element.formatter = value;
|
|
38444
|
+
});
|
|
38445
|
+
}
|
|
38400
38446
|
get isChecked() {
|
|
38401
38447
|
// @ts-ignore - temporary fix for the type error
|
|
38402
38448
|
return this._element.isChecked;
|
|
@@ -38489,7 +38535,7 @@ let RadioComponent = class RadioComponent {
|
|
|
38489
38535
|
}
|
|
38490
38536
|
}
|
|
38491
38537
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
38492
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", 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: [
|
|
38538
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", 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", formatter: "formatter", isChecked: "isChecked", isThreeState: "isThreeState", isFocused: "isFocused", dir: "dir", lang: "lang" }, outputs: { checked: "checked", unchecked: "unchecked", indeterminate: "indeterminate", connected: "connected", disconnected: "disconnected", changed: "changed" }, providers: [
|
|
38493
38539
|
{
|
|
38494
38540
|
provide: NG_VALUE_ACCESSOR,
|
|
38495
38541
|
useExisting: forwardRef(() => RadioComponent),
|
|
@@ -38504,7 +38550,7 @@ let RadioComponent = class RadioComponent {
|
|
|
38504
38550
|
RadioComponent = __decorate$_([
|
|
38505
38551
|
ProxyCmp({
|
|
38506
38552
|
defineCustomElementFn: () => customElements.define('mosaik-radio', RadioElement),
|
|
38507
|
-
inputs: ['labelPosition', 'required', 'name', 'themeName', 'invalid', 'value', 'variant', 'appearance', 'disabled', 'label', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
38553
|
+
inputs: ['labelPosition', 'required', 'name', 'themeName', 'invalid', 'value', 'variant', 'appearance', 'disabled', 'label', 'formatter', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
38508
38554
|
methods: ['reset', 'checkValidity', 'check', 'uncheck', 'toggle', 'hasVisibleFocusInTree', 'adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
|
|
38509
38555
|
}),
|
|
38510
38556
|
__metadata$_("design:paramtypes", [])
|
|
@@ -38516,7 +38562,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
38516
38562
|
standalone: true,
|
|
38517
38563
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
38518
38564
|
template: '<ng-content></ng-content>',
|
|
38519
|
-
inputs: ['labelPosition', 'required', 'name', 'themeName', 'invalid', 'value', 'variant', 'appearance', 'disabled', 'label', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
38565
|
+
inputs: ['labelPosition', 'required', 'name', 'themeName', 'invalid', 'value', 'variant', 'appearance', 'disabled', 'label', 'formatter', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
38520
38566
|
outputs: ['checked', 'unchecked', 'indeterminate', 'connected', 'disconnected', 'changed'],
|
|
38521
38567
|
hostDirectives: [FormStatusDirective],
|
|
38522
38568
|
providers: [
|
|
@@ -38551,6 +38597,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
38551
38597
|
type: Input
|
|
38552
38598
|
}], label: [{
|
|
38553
38599
|
type: Input
|
|
38600
|
+
}], formatter: [{
|
|
38601
|
+
type: Input
|
|
38554
38602
|
}], isChecked: [{
|
|
38555
38603
|
type: Input
|
|
38556
38604
|
}], isThreeState: [{
|
|
@@ -52071,6 +52119,16 @@ let ToggleSwitchComponent = class ToggleSwitchComponent {
|
|
|
52071
52119
|
this._element.label = value;
|
|
52072
52120
|
});
|
|
52073
52121
|
}
|
|
52122
|
+
get formatter() {
|
|
52123
|
+
// @ts-ignore - temporary fix for the type error
|
|
52124
|
+
return this._element.formatter;
|
|
52125
|
+
}
|
|
52126
|
+
set formatter(value) {
|
|
52127
|
+
this._zone.runOutsideAngular(() => {
|
|
52128
|
+
// @ts-ignore - temporary fix for the type error
|
|
52129
|
+
this._element.formatter = value;
|
|
52130
|
+
});
|
|
52131
|
+
}
|
|
52074
52132
|
get isChecked() {
|
|
52075
52133
|
// @ts-ignore - temporary fix for the type error
|
|
52076
52134
|
return this._element.isChecked;
|
|
@@ -52163,7 +52221,7 @@ let ToggleSwitchComponent = class ToggleSwitchComponent {
|
|
|
52163
52221
|
}
|
|
52164
52222
|
}
|
|
52165
52223
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ToggleSwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
52166
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", 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: [
|
|
52224
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", 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", formatter: "formatter", isChecked: "isChecked", isThreeState: "isThreeState", isFocused: "isFocused", dir: "dir", lang: "lang" }, outputs: { checked: "checked", unchecked: "unchecked", indeterminate: "indeterminate", connected: "connected", disconnected: "disconnected", changed: "changed" }, providers: [
|
|
52167
52225
|
{
|
|
52168
52226
|
provide: NG_VALUE_ACCESSOR,
|
|
52169
52227
|
useExisting: forwardRef(() => ToggleSwitchComponent),
|
|
@@ -52178,7 +52236,7 @@ let ToggleSwitchComponent = class ToggleSwitchComponent {
|
|
|
52178
52236
|
ToggleSwitchComponent = __decorate$b([
|
|
52179
52237
|
ProxyCmp({
|
|
52180
52238
|
defineCustomElementFn: () => customElements.define('mosaik-toggle-switch', ToggleSwitchElement),
|
|
52181
|
-
inputs: ['labelPosition', 'required', 'name', 'themeName', 'invalid', 'value', 'variant', 'appearance', 'disabled', 'label', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
52239
|
+
inputs: ['labelPosition', 'required', 'name', 'themeName', 'invalid', 'value', 'variant', 'appearance', 'disabled', 'label', 'formatter', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
52182
52240
|
methods: ['checkValidity', 'reset', 'check', 'uncheck', 'toggle', 'hasVisibleFocusInTree', 'adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
|
|
52183
52241
|
}),
|
|
52184
52242
|
__metadata$b("design:paramtypes", [])
|
|
@@ -52190,7 +52248,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
52190
52248
|
standalone: true,
|
|
52191
52249
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
52192
52250
|
template: '<ng-content></ng-content>',
|
|
52193
|
-
inputs: ['labelPosition', 'required', 'name', 'themeName', 'invalid', 'value', 'variant', 'appearance', 'disabled', 'label', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
52251
|
+
inputs: ['labelPosition', 'required', 'name', 'themeName', 'invalid', 'value', 'variant', 'appearance', 'disabled', 'label', 'formatter', 'isChecked', 'isThreeState', 'isFocused', 'dir', 'lang'],
|
|
52194
52252
|
outputs: ['checked', 'unchecked', 'indeterminate', 'connected', 'disconnected', 'changed'],
|
|
52195
52253
|
hostDirectives: [FormStatusDirective],
|
|
52196
52254
|
providers: [
|
|
@@ -52225,6 +52283,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
|
|
|
52225
52283
|
type: Input
|
|
52226
52284
|
}], label: [{
|
|
52227
52285
|
type: Input
|
|
52286
|
+
}], formatter: [{
|
|
52287
|
+
type: Input
|
|
52228
52288
|
}], isChecked: [{
|
|
52229
52289
|
type: Input
|
|
52230
52290
|
}], isThreeState: [{
|