@angular/material 17.0.1 → 17.1.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (158) hide show
  1. package/button/_icon-button-theme.scss +5 -1
  2. package/card/testing/index.d.ts +1 -1
  3. package/checkbox/index.d.ts +1 -1
  4. package/chips/index.d.ts +71 -67
  5. package/core/index.d.ts +1 -1
  6. package/core/tokens/m2/_index.scss +2 -0
  7. package/datepicker/index.d.ts +21 -23
  8. package/datepicker/testing/index.d.ts +1 -1
  9. package/dialog/index.d.ts +1 -1
  10. package/dialog/testing/index.d.ts +1 -1
  11. package/esm2022/button/icon-button.mjs +4 -4
  12. package/esm2022/card/testing/card-harness.mjs +9 -1
  13. package/esm2022/checkbox/checkbox.mjs +29 -14
  14. package/esm2022/chips/chip-action.mjs +14 -13
  15. package/esm2022/chips/chip-grid.mjs +29 -16
  16. package/esm2022/chips/chip-input.mjs +14 -17
  17. package/esm2022/chips/chip-listbox.mjs +19 -22
  18. package/esm2022/chips/chip-option.mjs +11 -10
  19. package/esm2022/chips/chip-row.mjs +4 -4
  20. package/esm2022/chips/chip-set.mjs +19 -18
  21. package/esm2022/chips/chip.mjs +49 -42
  22. package/esm2022/core/ripple/ripple-ref.mjs +10 -2
  23. package/esm2022/core/ripple/ripple-renderer.mjs +11 -11
  24. package/esm2022/core/version.mjs +1 -1
  25. package/esm2022/datepicker/date-range-input.mjs +10 -10
  26. package/esm2022/datepicker/datepicker-base.mjs +41 -49
  27. package/esm2022/datepicker/datepicker-input-base.mjs +6 -6
  28. package/esm2022/datepicker/datepicker-toggle.mjs +6 -6
  29. package/esm2022/datepicker/testing/calendar-harness.mjs +11 -4
  30. package/esm2022/dialog/dialog-ref.mjs +10 -4
  31. package/esm2022/dialog/testing/dialog-harness.mjs +11 -4
  32. package/esm2022/dialog/testing/public-api.mjs +2 -2
  33. package/esm2022/expansion/accordion.mjs +7 -13
  34. package/esm2022/expansion/expansion-panel-header.mjs +13 -13
  35. package/esm2022/expansion/expansion-panel.mjs +6 -6
  36. package/esm2022/expansion/testing/expansion-harness.mjs +14 -6
  37. package/esm2022/grid-list/testing/grid-tile-harness.mjs +9 -3
  38. package/esm2022/icon/icon.mjs +24 -28
  39. package/esm2022/icon/testing/icon-harness-filters.mjs +7 -2
  40. package/esm2022/icon/testing/icon-harness.mjs +4 -3
  41. package/esm2022/list/testing/list-item-harness-base.mjs +18 -6
  42. package/esm2022/list/testing/public-api.mjs +2 -2
  43. package/esm2022/paginator/paginator.mjs +32 -35
  44. package/esm2022/progress-bar/progress-bar.mjs +25 -20
  45. package/esm2022/progress-spinner/progress-spinner.mjs +34 -33
  46. package/esm2022/radio/radio.mjs +40 -34
  47. package/esm2022/select/select.mjs +44 -36
  48. package/esm2022/slider/slider-input.mjs +23 -22
  49. package/esm2022/slider/slider-interface.mjs +16 -1
  50. package/esm2022/slider/slider-thumb.mjs +6 -6
  51. package/esm2022/slider/slider.mjs +73 -72
  52. package/esm2022/slider/testing/slider-harness-filters.mjs +7 -2
  53. package/esm2022/slider/testing/slider-harness.mjs +4 -3
  54. package/esm2022/slider/testing/slider-thumb-harness.mjs +3 -2
  55. package/esm2022/sort/sort-header.mjs +16 -24
  56. package/esm2022/sort/sort.mjs +12 -19
  57. package/esm2022/stepper/step-header.mjs +7 -12
  58. package/esm2022/stepper/stepper.mjs +1 -1
  59. package/esm2022/stepper/testing/step-harness-filters.mjs +7 -2
  60. package/esm2022/stepper/testing/stepper-harness.mjs +4 -3
  61. package/esm2022/tabs/paginated-tab-header.mjs +12 -18
  62. package/esm2022/tabs/tab-group.mjs +54 -70
  63. package/esm2022/tabs/tab-header.mjs +7 -13
  64. package/esm2022/tabs/tab-label-wrapper.mjs +12 -8
  65. package/esm2022/tabs/tab-nav-bar/tab-nav-bar.mjs +43 -37
  66. package/esm2022/tabs/tab.mjs +12 -12
  67. package/esm2022/toolbar/testing/toolbar-harness.mjs +7 -2
  68. package/esm2022/toolbar/toolbar.mjs +11 -16
  69. package/esm2022/tree/node.mjs +20 -20
  70. package/esm2022/tree/padding.mjs +11 -4
  71. package/expansion/index.d.ts +11 -19
  72. package/expansion/testing/index.d.ts +1 -1
  73. package/fesm2022/button.mjs +4 -4
  74. package/fesm2022/button.mjs.map +1 -1
  75. package/fesm2022/card/testing.mjs +9 -1
  76. package/fesm2022/card/testing.mjs.map +1 -1
  77. package/fesm2022/checkbox.mjs +29 -14
  78. package/fesm2022/checkbox.mjs.map +1 -1
  79. package/fesm2022/chips.mjs +144 -119
  80. package/fesm2022/chips.mjs.map +1 -1
  81. package/fesm2022/core.mjs +20 -12
  82. package/fesm2022/core.mjs.map +1 -1
  83. package/fesm2022/datepicker/testing.mjs +11 -4
  84. package/fesm2022/datepicker/testing.mjs.map +1 -1
  85. package/fesm2022/datepicker.mjs +56 -61
  86. package/fesm2022/datepicker.mjs.map +1 -1
  87. package/fesm2022/dialog/testing.mjs +11 -4
  88. package/fesm2022/dialog/testing.mjs.map +1 -1
  89. package/fesm2022/dialog.mjs +10 -4
  90. package/fesm2022/dialog.mjs.map +1 -1
  91. package/fesm2022/expansion/testing.mjs +14 -6
  92. package/fesm2022/expansion/testing.mjs.map +1 -1
  93. package/fesm2022/expansion.mjs +22 -26
  94. package/fesm2022/expansion.mjs.map +1 -1
  95. package/fesm2022/grid-list/testing.mjs +9 -3
  96. package/fesm2022/grid-list/testing.mjs.map +1 -1
  97. package/fesm2022/icon/testing.mjs +10 -3
  98. package/fesm2022/icon/testing.mjs.map +1 -1
  99. package/fesm2022/icon.mjs +24 -27
  100. package/fesm2022/icon.mjs.map +1 -1
  101. package/fesm2022/list/testing.mjs +18 -6
  102. package/fesm2022/list/testing.mjs.map +1 -1
  103. package/fesm2022/paginator.mjs +31 -34
  104. package/fesm2022/paginator.mjs.map +1 -1
  105. package/fesm2022/progress-bar.mjs +25 -19
  106. package/fesm2022/progress-bar.mjs.map +1 -1
  107. package/fesm2022/progress-spinner.mjs +34 -32
  108. package/fesm2022/progress-spinner.mjs.map +1 -1
  109. package/fesm2022/radio.mjs +41 -34
  110. package/fesm2022/radio.mjs.map +1 -1
  111. package/fesm2022/select.mjs +43 -35
  112. package/fesm2022/select.mjs.map +1 -1
  113. package/fesm2022/slider/testing.mjs +11 -4
  114. package/fesm2022/slider/testing.mjs.map +1 -1
  115. package/fesm2022/slider.mjs +109 -91
  116. package/fesm2022/slider.mjs.map +1 -1
  117. package/fesm2022/sort.mjs +25 -38
  118. package/fesm2022/sort.mjs.map +1 -1
  119. package/fesm2022/stepper/testing.mjs +10 -3
  120. package/fesm2022/stepper/testing.mjs.map +1 -1
  121. package/fesm2022/stepper.mjs +8 -12
  122. package/fesm2022/stepper.mjs.map +1 -1
  123. package/fesm2022/tabs.mjs +130 -141
  124. package/fesm2022/tabs.mjs.map +1 -1
  125. package/fesm2022/toolbar/testing.mjs +7 -2
  126. package/fesm2022/toolbar/testing.mjs.map +1 -1
  127. package/fesm2022/toolbar.mjs +11 -15
  128. package/fesm2022/toolbar.mjs.map +1 -1
  129. package/fesm2022/tree.mjs +22 -21
  130. package/fesm2022/tree.mjs.map +1 -1
  131. package/grid-list/_grid-list-theme.scss +47 -14
  132. package/grid-list/testing/index.d.ts +1 -1
  133. package/icon/index.d.ts +10 -16
  134. package/icon/testing/index.d.ts +1 -1
  135. package/list/testing/index.d.ts +2 -2
  136. package/package.json +7 -7
  137. package/paginator/index.d.ts +16 -17
  138. package/prebuilt-themes/deeppurple-amber.css +1 -1
  139. package/prebuilt-themes/indigo-pink.css +1 -1
  140. package/prebuilt-themes/pink-bluegrey.css +1 -1
  141. package/prebuilt-themes/purple-green.css +1 -1
  142. package/progress-bar/index.d.ts +12 -15
  143. package/progress-spinner/index.d.ts +14 -15
  144. package/radio/index.d.ts +20 -22
  145. package/schematics/ng-add/index.js +2 -2
  146. package/schematics/ng-add/index.mjs +2 -2
  147. package/schematics/ng-generate/mdc-migration/index_bundled.js +11 -4
  148. package/schematics/ng-generate/mdc-migration/index_bundled.js.map +3 -3
  149. package/select/index.d.ts +22 -17
  150. package/slider/index.d.ts +30 -30
  151. package/slider/testing/index.d.ts +1 -1
  152. package/sort/index.d.ts +15 -20
  153. package/stepper/index.d.ts +5 -15
  154. package/stepper/testing/index.d.ts +1 -1
  155. package/tabs/index.d.ts +61 -64
  156. package/toolbar/index.d.ts +5 -12
  157. package/toolbar/testing/index.d.ts +1 -1
  158. package/tree/index.d.ts +13 -15
package/radio/index.d.ts CHANGED
@@ -1,17 +1,12 @@
1
- import { _AbstractConstructor } from '@angular/material/core';
2
1
  import { AfterContentInit } from '@angular/core';
3
2
  import { AfterViewInit } from '@angular/core';
4
- import { BooleanInput } from '@angular/cdk/coercion';
5
- import { CanDisableRipple } from '@angular/material/core';
6
3
  import { ChangeDetectorRef } from '@angular/core';
7
- import { _Constructor } from '@angular/material/core';
8
4
  import { ControlValueAccessor } from '@angular/forms';
9
5
  import { DoCheck } from '@angular/core';
10
6
  import { ElementRef } from '@angular/core';
11
7
  import { EventEmitter } from '@angular/core';
12
8
  import { FocusMonitor } from '@angular/cdk/a11y';
13
9
  import { FocusOrigin } from '@angular/cdk/a11y';
14
- import { HasTabIndex } from '@angular/material/core';
15
10
  import * as i0 from '@angular/core';
16
11
  import * as i2 from '@angular/material/core';
17
12
  import * as i3 from '@angular/common';
@@ -53,7 +48,8 @@ export declare const MAT_RADIO_GROUP: InjectionToken<MatRadioGroup>;
53
48
  */
54
49
  export declare const MAT_RADIO_GROUP_CONTROL_VALUE_ACCESSOR: any;
55
50
 
56
- export declare class MatRadioButton extends _MatRadioButtonMixinBase implements OnInit, AfterViewInit, DoCheck, OnDestroy, CanDisableRipple, HasTabIndex {
51
+ export declare class MatRadioButton implements OnInit, AfterViewInit, DoCheck, OnDestroy {
52
+ protected _elementRef: ElementRef;
57
53
  private _changeDetector;
58
54
  private _focusMonitor;
59
55
  private _radioDispatcher;
@@ -69,9 +65,13 @@ export declare class MatRadioButton extends _MatRadioButtonMixinBase implements
69
65
  ariaLabelledby: string;
70
66
  /** The 'aria-describedby' attribute is read after the element's label and field type. */
71
67
  ariaDescribedby: string;
68
+ /** Whether ripples are disabled inside the radio button */
69
+ disableRipple: boolean;
70
+ /** Tabindex of the radio button. */
71
+ tabIndex: number;
72
72
  /** Whether this radio button is checked. */
73
73
  get checked(): boolean;
74
- set checked(value: BooleanInput);
74
+ set checked(value: boolean);
75
75
  /** The value of this radio button. */
76
76
  get value(): any;
77
77
  set value(value: any);
@@ -81,10 +81,10 @@ export declare class MatRadioButton extends _MatRadioButtonMixinBase implements
81
81
  private _labelPosition;
82
82
  /** Whether the radio button is disabled. */
83
83
  get disabled(): boolean;
84
- set disabled(value: BooleanInput);
84
+ set disabled(value: boolean);
85
85
  /** Whether the radio button is required. */
86
86
  get required(): boolean;
87
- set required(value: BooleanInput);
87
+ set required(value: boolean);
88
88
  /** Theme color of the radio button. */
89
89
  get color(): ThemePalette;
90
90
  set color(newValue: ThemePalette);
@@ -115,7 +115,7 @@ export declare class MatRadioButton extends _MatRadioButtonMixinBase implements
115
115
  _inputElement: ElementRef<HTMLInputElement>;
116
116
  /** Whether animations are disabled. */
117
117
  _noopAnimations: boolean;
118
- constructor(radioGroup: MatRadioGroup, elementRef: ElementRef, _changeDetector: ChangeDetectorRef, _focusMonitor: FocusMonitor, _radioDispatcher: UniqueSelectionDispatcher, animationMode?: string, _providerOverride?: MatRadioDefaultOptions | undefined, tabIndex?: string);
118
+ constructor(radioGroup: MatRadioGroup, _elementRef: ElementRef, _changeDetector: ChangeDetectorRef, _focusMonitor: FocusMonitor, _radioDispatcher: UniqueSelectionDispatcher, animationMode?: string, _providerOverride?: MatRadioDefaultOptions | undefined, tabIndex?: string);
119
119
  /** Focuses the radio button. */
120
120
  focus(options?: FocusOptions, origin?: FocusOrigin): void;
121
121
  /**
@@ -141,18 +141,14 @@ export declare class MatRadioButton extends _MatRadioButtonMixinBase implements
141
141
  /** Gets the tabindex for the underlying input element. */
142
142
  private _updateTabIndex;
143
143
  static ɵfac: i0.ɵɵFactoryDeclaration<MatRadioButton, [{ optional: true; }, null, null, null, null, { optional: true; }, { optional: true; }, { attribute: "tabindex"; }]>;
144
- static ɵcmp: i0.ɵɵComponentDeclaration<MatRadioButton, "mat-radio-button", ["matRadioButton"], { "disableRipple": { "alias": "disableRipple"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "value": { "alias": "value"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "change": "change"; }, never, ["*"], false, never>;
144
+ static ɵcmp: i0.ɵɵComponentDeclaration<MatRadioButton, "mat-radio-button", ["matRadioButton"], { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "ariaLabel": { "alias": "aria-label"; "required": false; }; "ariaLabelledby": { "alias": "aria-labelledby"; "required": false; }; "ariaDescribedby": { "alias": "aria-describedby"; "required": false; }; "disableRipple": { "alias": "disableRipple"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "value": { "alias": "value"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "change": "change"; }, never, ["*"], false, never>;
145
+ static ngAcceptInputType_disableRipple: unknown;
146
+ static ngAcceptInputType_tabIndex: unknown;
147
+ static ngAcceptInputType_checked: unknown;
148
+ static ngAcceptInputType_disabled: unknown;
149
+ static ngAcceptInputType_required: unknown;
145
150
  }
146
151
 
147
- /** @docs-private */
148
- declare abstract class MatRadioButtonBase {
149
- _elementRef: ElementRef;
150
- abstract disabled: boolean;
151
- constructor(_elementRef: ElementRef);
152
- }
153
-
154
- declare const _MatRadioButtonMixinBase: _Constructor<CanDisableRipple> & _AbstractConstructor<CanDisableRipple> & _Constructor<HasTabIndex> & _AbstractConstructor<HasTabIndex> & typeof MatRadioButtonBase;
155
-
156
152
  /** Change event object emitted by radio button and radio group. */
157
153
  export declare class MatRadioChange {
158
154
  /** The radio button that emits the change event. */
@@ -231,10 +227,10 @@ export declare class MatRadioGroup implements AfterContentInit, OnDestroy, Contr
231
227
  set selected(selected: MatRadioButton | null);
232
228
  /** Whether the radio group is disabled */
233
229
  get disabled(): boolean;
234
- set disabled(value: BooleanInput);
230
+ set disabled(value: boolean);
235
231
  /** Whether the radio group is required */
236
232
  get required(): boolean;
237
- set required(value: BooleanInput);
233
+ set required(value: boolean);
238
234
  constructor(_changeDetector: ChangeDetectorRef);
239
235
  /**
240
236
  * Initialize properties once content children are available.
@@ -277,6 +273,8 @@ export declare class MatRadioGroup implements AfterContentInit, OnDestroy, Contr
277
273
  setDisabledState(isDisabled: boolean): void;
278
274
  static ɵfac: i0.ɵɵFactoryDeclaration<MatRadioGroup, never>;
279
275
  static ɵdir: i0.ɵɵDirectiveDeclaration<MatRadioGroup, "mat-radio-group", ["matRadioGroup"], { "color": { "alias": "color"; "required": false; }; "name": { "alias": "name"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "change": "change"; }, ["_radios"], never, false, never>;
276
+ static ngAcceptInputType_disabled: unknown;
277
+ static ngAcceptInputType_required: unknown;
280
278
  }
281
279
 
282
280
  export declare class MatRadioModule {
@@ -18,7 +18,7 @@ const package_config_1 = require("./package-config");
18
18
  * Note that the fallback version range does not use caret, but tilde because that is
19
19
  * the default for Angular framework dependencies in CLI projects.
20
20
  */
21
- const fallbackMaterialVersionRange = `~17.0.1`;
21
+ const fallbackMaterialVersionRange = `~17.1.0-next.0`;
22
22
  /**
23
23
  * Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
24
24
  * automatically executed if developers run `ng add @angular/material`.
@@ -33,7 +33,7 @@ function default_1(options) {
33
33
  // have the same version tag if possible.
34
34
  const ngCoreVersionTag = (0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/core');
35
35
  const materialVersionRange = (0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/material');
36
- const angularDependencyVersion = ngCoreVersionTag || `^17.0.0 || ^18.0.0`;
36
+ const angularDependencyVersion = ngCoreVersionTag || `^17.0.0-0 || ^17.1.0-0 || ^17.2.0-0 || ^17.3.0-0 || ^18.0.0-0`;
37
37
  // The CLI inserts `@angular/material` into the `package.json` before this schematic runs.
38
38
  // This means that we do not need to insert Angular Material into `package.json` files again.
39
39
  // In some cases though, it could happen that this schematic runs outside of the CLI `ng add`
@@ -18,7 +18,7 @@ const package_config_1 = require("./package-config");
18
18
  * Note that the fallback version range does not use caret, but tilde because that is
19
19
  * the default for Angular framework dependencies in CLI projects.
20
20
  */
21
- const fallbackMaterialVersionRange = `~17.0.1`;
21
+ const fallbackMaterialVersionRange = `~17.1.0-next.0`;
22
22
  /**
23
23
  * Schematic factory entry-point for the `ng-add` schematic. The ng-add schematic will be
24
24
  * automatically executed if developers run `ng add @angular/material`.
@@ -33,7 +33,7 @@ function default_1(options) {
33
33
  // have the same version tag if possible.
34
34
  const ngCoreVersionTag = (0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/core');
35
35
  const materialVersionRange = (0, package_config_1.getPackageVersionFromPackageJson)(host, '@angular/material');
36
- const angularDependencyVersion = ngCoreVersionTag || `^17.0.0 || ^18.0.0`;
36
+ const angularDependencyVersion = ngCoreVersionTag || `^17.0.0-0 || ^17.1.0-0 || ^17.2.0-0 || ^17.3.0-0 || ^18.0.0-0`;
37
37
  // The CLI inserts `@angular/material` into the `package.json` before this schematic runs.
38
38
  // This means that we do not need to insert Angular Material into `package.json` files again.
39
39
  // In some cases though, it could happen that this schematic runs outside of the CLI `ng add`
@@ -31680,6 +31680,13 @@ var FormFieldTemplateMigrator = class extends TemplateMigrator {
31680
31680
  };
31681
31681
 
31682
31682
  // bazel-out/darwin_arm64-fastbuild/bin/src/material/schematics/ng-generate/mdc-migration/rules/components/slider/slider-template.js
31683
+ var BindingType;
31684
+ (function(BindingType2) {
31685
+ BindingType2[BindingType2["INPUT"] = 0] = "INPUT";
31686
+ BindingType2[BindingType2["OUTPUT"] = 1] = "OUTPUT";
31687
+ BindingType2[BindingType2["ATTRIBUTE"] = 2] = "ATTRIBUTE";
31688
+ BindingType2[BindingType2["TWO_WAY_BINDING"] = 3] = "TWO_WAY_BINDING";
31689
+ })(BindingType || (BindingType = {}));
31683
31690
  var SliderTemplateMigrator = class extends TemplateMigrator {
31684
31691
  getUpdates(ast) {
31685
31692
  const updates = [];
@@ -31770,12 +31777,12 @@ var SliderTemplateMigrator = class extends TemplateMigrator {
31770
31777
  return inputs.concat(outputs).concat(attributes).concat(twoWayBindings);
31771
31778
  }
31772
31779
  _getTwoWayBindings(inputs, outputs) {
31773
- return inputs.filter((input) => outputs.some((output) => output.name === input.name)).map((input) => __spreadProps(__spreadValues({}, input), { type: 3 }));
31780
+ return inputs.filter((input) => outputs.some((output) => output.name === input.name)).map((input) => __spreadProps(__spreadValues({}, input), { type: BindingType.TWO_WAY_BINDING }));
31774
31781
  }
31775
31782
  _getOutputs(node) {
31776
31783
  return node.outputs.map((output) => ({
31777
31784
  node: output,
31778
- type: 1,
31785
+ type: BindingType.OUTPUT,
31779
31786
  name: node.sourceSpan.start.file.content.slice(output.keySpan.start.offset, output.keySpan.end.offset),
31780
31787
  value: node.sourceSpan.start.file.content.slice(output.handlerSpan.start.offset, output.handlerSpan.end.offset)
31781
31788
  }));
@@ -31783,7 +31790,7 @@ var SliderTemplateMigrator = class extends TemplateMigrator {
31783
31790
  _getInputs(node) {
31784
31791
  return node.inputs.map((input) => ({
31785
31792
  node: input,
31786
- type: 0,
31793
+ type: BindingType.INPUT,
31787
31794
  name: node.sourceSpan.start.file.content.slice(input.keySpan.start.offset, input.keySpan.end.offset),
31788
31795
  value: node.sourceSpan.start.file.content.slice(input.value.sourceSpan.start, input.value.sourceSpan.end)
31789
31796
  }));
@@ -31791,7 +31798,7 @@ var SliderTemplateMigrator = class extends TemplateMigrator {
31791
31798
  _getAttributes(node) {
31792
31799
  return node.attributes.map((attribute2) => ({
31793
31800
  node: attribute2,
31794
- type: 2,
31801
+ type: BindingType.ATTRIBUTE,
31795
31802
  name: attribute2.name,
31796
31803
  value: attribute2.value
31797
31804
  }));