@breadstone/mosaik-elements-angular 0.0.123 → 0.0.125

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 CHANGED
@@ -1,3 +1,14 @@
1
+ ## 0.0.125 (2025-08-20)
2
+
3
+ This was a version bump only for mosaik-elements-angular to align it with other projects, there were no code changes.
4
+
5
+ ## 0.0.124 (2025-08-20)
6
+
7
+ ### 🚀 Features
8
+
9
+ - add formatter property to Checkbox, Choice, Radio, and ToggleSwitch components for enhanced text formatting ([e43a9d30b4](https://github.com/RueDeRennes/mosaik/commit/e43a9d30b4))
10
+ - update ChoiceElement template and styles for additional slot support ([e9d020bdf9](https://github.com/RueDeRennes/mosaik/commit/e9d020bdf9))
11
+
1
12
  ## 0.0.123 (2025-08-20)
2
13
 
3
14
  ### 🚀 Features
@@ -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: [{
@@ -12315,7 +12327,7 @@ ChoiceGroupComponent = __decorate$2I([
12315
12327
  ProxyCmp({
12316
12328
  defineCustomElementFn: () => customElements.define('mosaik-choice-group', ChoiceGroupElement),
12317
12329
  inputs: ['name', 'required', 'themeName', 'orientation', 'invalid', 'value', 'disabled', 'appearance', 'variant', 'dir', 'lang'],
12318
- methods: ['checkValidity', 'onSlotChanges', 'assignToSlot', 'getSlotAssignments', 'getSlotAssignmentsOf', 'hasSlotContent', 'hasSlot', 'adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
12330
+ methods: ['onSlotChanges', 'checkValidity', 'reset', 'assignToSlot', 'getSlotAssignments', 'getSlotAssignmentsOf', 'hasSlotContent', 'hasSlot', 'adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
12319
12331
  }),
12320
12332
  __metadata$2I("design:paramtypes", [])
12321
12333
  ], ChoiceGroupComponent);
@@ -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: [{
@@ -38409,6 +38433,16 @@ let RadioComponent = class RadioComponent {
38409
38433
  this._element.label = value;
38410
38434
  });
38411
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
+ }
38412
38446
  get isChecked() {
38413
38447
  // @ts-ignore - temporary fix for the type error
38414
38448
  return this._element.isChecked;
@@ -38501,7 +38535,7 @@ let RadioComponent = class RadioComponent {
38501
38535
  }
38502
38536
  }
38503
38537
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: RadioComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
38504
- 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: [
38505
38539
  {
38506
38540
  provide: NG_VALUE_ACCESSOR,
38507
38541
  useExisting: forwardRef(() => RadioComponent),
@@ -38516,7 +38550,7 @@ let RadioComponent = class RadioComponent {
38516
38550
  RadioComponent = __decorate$_([
38517
38551
  ProxyCmp({
38518
38552
  defineCustomElementFn: () => customElements.define('mosaik-radio', RadioElement),
38519
- 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'],
38520
38554
  methods: ['reset', 'checkValidity', 'check', 'uncheck', 'toggle', 'hasVisibleFocusInTree', 'adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
38521
38555
  }),
38522
38556
  __metadata$_("design:paramtypes", [])
@@ -38528,7 +38562,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
38528
38562
  standalone: true,
38529
38563
  changeDetection: ChangeDetectionStrategy.OnPush,
38530
38564
  template: '<ng-content></ng-content>',
38531
- 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'],
38532
38566
  outputs: ['checked', 'unchecked', 'indeterminate', 'connected', 'disconnected', 'changed'],
38533
38567
  hostDirectives: [FormStatusDirective],
38534
38568
  providers: [
@@ -38563,6 +38597,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
38563
38597
  type: Input
38564
38598
  }], label: [{
38565
38599
  type: Input
38600
+ }], formatter: [{
38601
+ type: Input
38566
38602
  }], isChecked: [{
38567
38603
  type: Input
38568
38604
  }], isThreeState: [{
@@ -52083,6 +52119,16 @@ let ToggleSwitchComponent = class ToggleSwitchComponent {
52083
52119
  this._element.label = value;
52084
52120
  });
52085
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
+ }
52086
52132
  get isChecked() {
52087
52133
  // @ts-ignore - temporary fix for the type error
52088
52134
  return this._element.isChecked;
@@ -52175,7 +52221,7 @@ let ToggleSwitchComponent = class ToggleSwitchComponent {
52175
52221
  }
52176
52222
  }
52177
52223
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ToggleSwitchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
52178
- 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: [
52179
52225
  {
52180
52226
  provide: NG_VALUE_ACCESSOR,
52181
52227
  useExisting: forwardRef(() => ToggleSwitchComponent),
@@ -52190,7 +52236,7 @@ let ToggleSwitchComponent = class ToggleSwitchComponent {
52190
52236
  ToggleSwitchComponent = __decorate$b([
52191
52237
  ProxyCmp({
52192
52238
  defineCustomElementFn: () => customElements.define('mosaik-toggle-switch', ToggleSwitchElement),
52193
- 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'],
52194
52240
  methods: ['checkValidity', 'reset', 'check', 'uncheck', 'toggle', 'hasVisibleFocusInTree', 'adoptStyle', 'on', 'off', 'emit', 'requestUpdate']
52195
52241
  }),
52196
52242
  __metadata$b("design:paramtypes", [])
@@ -52202,7 +52248,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
52202
52248
  standalone: true,
52203
52249
  changeDetection: ChangeDetectionStrategy.OnPush,
52204
52250
  template: '<ng-content></ng-content>',
52205
- 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'],
52206
52252
  outputs: ['checked', 'unchecked', 'indeterminate', 'connected', 'disconnected', 'changed'],
52207
52253
  hostDirectives: [FormStatusDirective],
52208
52254
  providers: [
@@ -52237,6 +52283,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImpor
52237
52283
  type: Input
52238
52284
  }], label: [{
52239
52285
  type: Input
52286
+ }], formatter: [{
52287
+ type: Input
52240
52288
  }], isChecked: [{
52241
52289
  type: Input
52242
52290
  }], isThreeState: [{