@angular/material 22.0.1 → 22.0.2

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 (62) hide show
  1. package/fesm2022/_error-options-chunk.mjs +6 -6
  2. package/fesm2022/_form-field-chunk.mjs +30 -30
  3. package/fesm2022/_icon-button-chunk.mjs +6 -6
  4. package/fesm2022/_icon-registry-chunk.mjs +3 -3
  5. package/fesm2022/_internal-form-field-chunk.mjs +3 -3
  6. package/fesm2022/_line-chunk.mjs +7 -7
  7. package/fesm2022/_option-chunk.mjs +6 -6
  8. package/fesm2022/_option-module-chunk.mjs +4 -4
  9. package/fesm2022/_pseudo-checkbox-chunk.mjs +3 -3
  10. package/fesm2022/_pseudo-checkbox-module-chunk.mjs +4 -4
  11. package/fesm2022/_public-api-chunk.mjs +2 -2
  12. package/fesm2022/_public-api-chunk.mjs.map +1 -1
  13. package/fesm2022/_ripple-chunk.mjs +6 -6
  14. package/fesm2022/_ripple-loader-chunk.mjs +3 -3
  15. package/fesm2022/_ripple-module-chunk.mjs +4 -4
  16. package/fesm2022/_structural-styles-chunk.mjs +3 -3
  17. package/fesm2022/_tooltip-chunk.mjs +6 -6
  18. package/fesm2022/autocomplete.mjs +13 -13
  19. package/fesm2022/badge.mjs +10 -10
  20. package/fesm2022/bottom-sheet.mjs +28 -26
  21. package/fesm2022/bottom-sheet.mjs.map +1 -1
  22. package/fesm2022/button-toggle.mjs +10 -10
  23. package/fesm2022/button.mjs +13 -13
  24. package/fesm2022/card.mjs +46 -46
  25. package/fesm2022/checkbox.mjs +7 -7
  26. package/fesm2022/chips.mjs +64 -55
  27. package/fesm2022/chips.mjs.map +1 -1
  28. package/fesm2022/core.mjs +12 -12
  29. package/fesm2022/core.mjs.map +1 -1
  30. package/fesm2022/datepicker.mjs +82 -82
  31. package/fesm2022/dialog.mjs +25 -25
  32. package/fesm2022/divider.mjs +7 -7
  33. package/fesm2022/expansion.mjs +25 -25
  34. package/fesm2022/form-field.mjs +4 -4
  35. package/fesm2022/grid-list.mjs +22 -22
  36. package/fesm2022/icon-testing.mjs +7 -7
  37. package/fesm2022/icon.mjs +7 -7
  38. package/fesm2022/input.mjs +7 -7
  39. package/fesm2022/list.mjs +49 -49
  40. package/fesm2022/menu.mjs +22 -22
  41. package/fesm2022/paginator.mjs +10 -10
  42. package/fesm2022/progress-bar.mjs +7 -7
  43. package/fesm2022/progress-spinner.mjs +7 -7
  44. package/fesm2022/radio.mjs +10 -10
  45. package/fesm2022/select.mjs +10 -10
  46. package/fesm2022/sidenav.mjs +22 -22
  47. package/fesm2022/slide-toggle.mjs +7 -7
  48. package/fesm2022/slider.mjs +16 -16
  49. package/fesm2022/snack-bar.mjs +22 -22
  50. package/fesm2022/sort.mjs +13 -13
  51. package/fesm2022/stepper.mjs +38 -32
  52. package/fesm2022/stepper.mjs.map +1 -1
  53. package/fesm2022/table.mjs +55 -55
  54. package/fesm2022/tabs.mjs +43 -43
  55. package/fesm2022/timepicker.mjs +13 -13
  56. package/fesm2022/toolbar.mjs +10 -10
  57. package/fesm2022/tooltip.mjs +4 -4
  58. package/fesm2022/tree.mjs +25 -25
  59. package/package.json +2 -2
  60. package/schematics/ng-add/index.js +1 -1
  61. package/types/bottom-sheet.d.ts +1 -1
  62. package/types/chips.d.ts +3 -2
@@ -1 +1 @@
1
- {"version":3,"file":"_public-api-chunk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/tile-coordinator.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/public-api.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * Interface describing a tile.\n * @docs-private\n */\nexport interface Tile {\n /** Amount of rows that the tile takes up. */\n rowspan: number;\n /** Amount of columns that the tile takes up. */\n colspan: number;\n}\n\n/**\n * Class for determining, from a list of tiles, the (row, col) position of each of those tiles\n * in the grid. This is necessary (rather than just rendering the tiles in normal document flow)\n * because the tiles can have a rowspan.\n *\n * The positioning algorithm greedily places each tile as soon as it encounters a gap in the grid\n * large enough to accommodate it so that the tiles still render in the same order in which they\n * are given.\n *\n * The basis of the algorithm is the use of an array to track the already placed tiles. Each\n * element of the array corresponds to a column, and the value indicates how many cells in that\n * column are already occupied; zero indicates an empty cell. Moving \"down\" to the next row\n * decrements each value in the tracking array (indicating that the column is one cell closer to\n * being free).\n *\n * @docs-private\n */\nexport class TileCoordinator {\n /** Tracking array (see class description). */\n tracker!: number[];\n\n /** Index at which the search for the next gap will start. */\n columnIndex: number = 0;\n\n /** The current row index. */\n rowIndex: number = 0;\n\n /** Gets the total number of rows occupied by tiles */\n get rowCount(): number {\n return this.rowIndex + 1;\n }\n\n /**\n * Gets the total span of rows occupied by tiles.\n * Ex: A list with 1 row that contains a tile with rowspan 2 will have a total rowspan of 2.\n */\n get rowspan() {\n const lastRowMax = Math.max(...this.tracker);\n // if any of the tiles has a rowspan that pushes it beyond the total row count,\n // add the difference to the rowcount\n return lastRowMax > 1 ? this.rowCount + lastRowMax - 1 : this.rowCount;\n }\n\n /** The computed (row, col) position of each tile (the output). */\n positions!: TilePosition[];\n\n /**\n * Updates the tile positions.\n * @param numColumns Amount of columns in the grid.\n * @param tiles Tiles to be positioned.\n */\n update(numColumns: number, tiles: Tile[]) {\n this.columnIndex = 0;\n this.rowIndex = 0;\n\n this.tracker = new Array(numColumns);\n this.tracker.fill(0, 0, this.tracker.length);\n this.positions = tiles.map(tile => this._trackTile(tile));\n }\n\n /** Calculates the row and col position of a tile. */\n private _trackTile(tile: Tile): TilePosition {\n // Find a gap large enough for this tile.\n const gapStartIndex = this._findMatchingGap(tile.colspan);\n\n // Place tile in the resulting gap.\n this._markTilePosition(gapStartIndex, tile);\n\n // The next time we look for a gap, the search will start at columnIndex, which should be\n // immediately after the tile that has just been placed.\n this.columnIndex = gapStartIndex + tile.colspan;\n\n return new TilePosition(this.rowIndex, gapStartIndex);\n }\n\n /** Finds the next available space large enough to fit the tile. */\n private _findMatchingGap(tileCols: number): number {\n if (tileCols > this.tracker.length && (typeof ngDevMode === 'undefined' || ngDevMode)) {\n throw Error(\n `mat-grid-list: tile with colspan ${tileCols} is wider than ` +\n `grid with cols=\"${this.tracker.length}\".`,\n );\n }\n\n // Start index is inclusive, end index is exclusive.\n let gapStartIndex = -1;\n let gapEndIndex = -1;\n\n // Look for a gap large enough to fit the given tile. Empty spaces are marked with a zero.\n do {\n // If we've reached the end of the row, go to the next row.\n if (this.columnIndex + tileCols > this.tracker.length) {\n this._nextRow();\n gapStartIndex = this.tracker.indexOf(0, this.columnIndex);\n gapEndIndex = this._findGapEndIndex(gapStartIndex);\n continue;\n }\n\n gapStartIndex = this.tracker.indexOf(0, this.columnIndex);\n\n // If there are no more empty spaces in this row at all, move on to the next row.\n if (gapStartIndex == -1) {\n this._nextRow();\n gapStartIndex = this.tracker.indexOf(0, this.columnIndex);\n gapEndIndex = this._findGapEndIndex(gapStartIndex);\n continue;\n }\n\n gapEndIndex = this._findGapEndIndex(gapStartIndex);\n\n // If a gap large enough isn't found, we want to start looking immediately after the current\n // gap on the next iteration.\n this.columnIndex = gapStartIndex + 1;\n\n // Continue iterating until we find a gap wide enough for this tile. Since gapEndIndex is\n // exclusive, gapEndIndex is 0 means we didn't find a gap and should continue.\n } while (gapEndIndex - gapStartIndex < tileCols || gapEndIndex == 0);\n\n // If we still didn't manage to find a gap, ensure that the index is\n // at least zero so the tile doesn't get pulled out of the grid.\n return Math.max(gapStartIndex, 0);\n }\n\n /** Move \"down\" to the next row. */\n private _nextRow(): void {\n this.columnIndex = 0;\n this.rowIndex++;\n\n // Decrement all spaces by one to reflect moving down one row.\n for (let i = 0; i < this.tracker.length; i++) {\n this.tracker[i] = Math.max(0, this.tracker[i] - 1);\n }\n }\n\n /**\n * Finds the end index (exclusive) of a gap given the index from which to start looking.\n * The gap ends when a non-zero value is found.\n */\n private _findGapEndIndex(gapStartIndex: number): number {\n for (let i = gapStartIndex + 1; i < this.tracker.length; i++) {\n if (this.tracker[i] != 0) {\n return i;\n }\n }\n\n // The gap ends with the end of the row.\n return this.tracker.length;\n }\n\n /** Update the tile tracker to account for the given tile in the given space. */\n private _markTilePosition(start: number, tile: Tile): void {\n for (let i = 0; i < tile.colspan; i++) {\n this.tracker[start + i] = tile.rowspan;\n }\n }\n}\n\n/**\n * Simple data structure for tile position (row, col).\n * @docs-private\n */\nexport class TilePosition {\n constructor(\n public row: number,\n public col: number,\n ) {}\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\nimport {TileCoordinator} from './tile-coordinator';\n\nexport * from './grid-list-module';\nexport * from './grid-list';\nexport * from './grid-tile';\n\n// Privately exported for the grid-list harness.\nexport const ɵTileCoordinator = TileCoordinator;\n"],"names":["TileCoordinator","tracker","columnIndex","rowIndex","rowCount","rowspan","lastRowMax","Math","max","positions","update","numColumns","tiles","Array","fill","length","map","tile","_trackTile","gapStartIndex","_findMatchingGap","colspan","_markTilePosition","TilePosition","tileCols","ngDevMode","Error","gapEndIndex","_nextRow","indexOf","_findGapEndIndex","i","start","row","col","constructor","ɵTileCoordinator"],"mappings":"MAoCaA,eAAe,CAAA;EAE1BC,OAAO;AAGPC,EAAAA,WAAW,GAAW,CAAC;AAGvBC,EAAAA,QAAQ,GAAW,CAAC;EAGpB,IAAIC,QAAQA,GAAA;AACV,IAAA,OAAO,IAAI,CAACD,QAAQ,GAAG,CAAC;AAC1B,EAAA;EAMA,IAAIE,OAAOA,GAAA;IACT,MAAMC,UAAU,GAAGC,IAAI,CAACC,GAAG,CAAC,GAAG,IAAI,CAACP,OAAO,CAAC;AAG5C,IAAA,OAAOK,UAAU,GAAG,CAAC,GAAG,IAAI,CAACF,QAAQ,GAAGE,UAAU,GAAG,CAAC,GAAG,IAAI,CAACF,QAAQ;AAC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IAAI,CAACP,OAAO,CAAC8B,CAAC,CAAC,GAAG,CAAC,CAAC;AACpD,IAAA;AACF,EAAA;EAMQD,gBAAgBA,CAACX,aAAqB,EAAA;AAC5C,IAAA,KAAK,IAAIY,CAAC,GAAGZ,aAAa,GAAG,CAAC,EAAEY,CAAC,GAAG,IAAI,CAAC9B,OAAO,CAACc,MAAM,EAAEgB,CAAC,EAAE,EAAE;MAC5D,IAAI,IAAI,CAAC9B,OAAO,CAAC8B,CAAC,CAAC,IAAI,CAAC,EAAE;AACxB,QAAA,OAAOA,CAAC;AACV,MAAA;AACF,IAAA;AAGA,IAAA,OAAO,IAAI,CAAC9B,OAAO,CAACc,MAAM;AAC5B,EAAA;AAGQO,EAAAA,iBAAiBA,CAACU,KAAa,EAAEf,IAAU,EAAA;AACjD,IAAA,KAAK,IAAIc,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGd,IAAI,CAACI,OAAO,EAAEU,CAAC,EAAE,EAAE;MACrC,IAAI,CAAC9B,OAAO,CAAC+B,KAAK,GAAGD,CAAC,CAAC,GAAGd,IAAI,CAACZ,OAAO;AACxC,IAAA;AACF,EAAA;AACD;MAMYkB,YAAY,CAAA;EAEdU,GAAA;EACAC,GAAA;AAFTC,EAAAA,WAAAA,CACSF,GAAW,EACXC,GAAW,EAAA;IADX,IAAA,CAAAD,GAAG,GAAHA,GAAG;IACH,IAAA,CAAAC,GAAG,GAAHA,GAAG;AACT,EAAA;AACJ;;AC3KM,MAAME,gBAAgB,GAAGpC;;;;"}
1
+ {"version":3,"file":"_public-api-chunk.mjs","sources":["../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/tile-coordinator.ts","../../../../../darwin_arm64-fastbuild-ST-fdfa778d11ba/bin/src/material/grid-list/public-api.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * Interface describing a tile.\n * @docs-private\n */\nexport interface Tile {\n /** Amount of rows that the tile takes up. */\n rowspan: number;\n /** Amount of columns that the tile takes up. */\n colspan: number;\n}\n\n/**\n * Class for determining, from a list of tiles, the (row, col) position of each of those tiles\n * in the grid. This is necessary (rather than just rendering the tiles in normal document flow)\n * because the tiles can have a rowspan.\n *\n * The positioning algorithm greedily places each tile as soon as it encounters a gap in the grid\n * large enough to accommodate it so that the tiles still render in the same order in which they\n * are given.\n *\n * The basis of the algorithm is the use of an array to track the already placed tiles. Each\n * element of the array corresponds to a column, and the value indicates how many cells in that\n * column are already occupied; zero indicates an empty cell. Moving \"down\" to the next row\n * decrements each value in the tracking array (indicating that the column is one cell closer to\n * being free).\n *\n * @docs-private\n */\nexport class TileCoordinator {\n /** Tracking array (see class description). */\n tracker!: number[];\n\n /** Index at which the search for the next gap will start. */\n columnIndex: number = 0;\n\n /** The current row index. */\n rowIndex: number = 0;\n\n /** Gets the total number of rows occupied by tiles */\n get rowCount(): number {\n return this.rowIndex + 1;\n }\n\n /**\n * Gets the total span of rows occupied by tiles.\n * Ex: A list with 1 row that contains a tile with rowspan 2 will have a total rowspan of 2.\n */\n get rowspan() {\n const lastRowMax = Math.max(...this.tracker);\n // if any of the tiles has a rowspan that pushes it beyond the total row count,\n // add the difference to the rowcount\n return lastRowMax > 1 ? this.rowCount + lastRowMax - 1 : this.rowCount;\n }\n\n /** The computed (row, col) position of each tile (the output). */\n positions!: TilePosition[];\n\n /**\n * Updates the tile positions.\n * @param numColumns Amount of columns in the grid.\n * @param tiles Tiles to be positioned.\n */\n update(numColumns: number, tiles: Tile[]) {\n this.columnIndex = 0;\n this.rowIndex = 0;\n\n this.tracker = new Array(numColumns);\n this.tracker.fill(0, 0, this.tracker.length);\n this.positions = tiles.map(tile => this._trackTile(tile));\n }\n\n /** Calculates the row and col position of a tile. */\n private _trackTile(tile: Tile): TilePosition {\n // Find a gap large enough for this tile.\n const gapStartIndex = this._findMatchingGap(tile.colspan);\n\n // Place tile in the resulting gap.\n this._markTilePosition(gapStartIndex, tile);\n\n // The next time we look for a gap, the search will start at columnIndex, which should be\n // immediately after the tile that has just been placed.\n this.columnIndex = gapStartIndex + tile.colspan;\n\n return new TilePosition(this.rowIndex, gapStartIndex);\n }\n\n /** Finds the next available space large enough to fit the tile. */\n private _findMatchingGap(tileCols: number): number {\n if (tileCols > this.tracker.length) {\n throw Error(\n `mat-grid-list: tile with colspan ${tileCols} is wider than grid with cols=\"${this.tracker.length}\".`,\n );\n }\n\n // Start index is inclusive, end index is exclusive.\n let gapStartIndex = -1;\n let gapEndIndex = -1;\n\n // Look for a gap large enough to fit the given tile. Empty spaces are marked with a zero.\n do {\n // If we've reached the end of the row, go to the next row.\n if (this.columnIndex + tileCols > this.tracker.length) {\n this._nextRow();\n gapStartIndex = this.tracker.indexOf(0, this.columnIndex);\n gapEndIndex = this._findGapEndIndex(gapStartIndex);\n continue;\n }\n\n gapStartIndex = this.tracker.indexOf(0, this.columnIndex);\n\n // If there are no more empty spaces in this row at all, move on to the next row.\n if (gapStartIndex == -1) {\n this._nextRow();\n gapStartIndex = this.tracker.indexOf(0, this.columnIndex);\n gapEndIndex = this._findGapEndIndex(gapStartIndex);\n continue;\n }\n\n gapEndIndex = this._findGapEndIndex(gapStartIndex);\n\n // If a gap large enough isn't found, we want to start looking immediately after the current\n // gap on the next iteration.\n this.columnIndex = gapStartIndex + 1;\n\n // Continue iterating until we find a gap wide enough for this tile. Since gapEndIndex is\n // exclusive, gapEndIndex is 0 means we didn't find a gap and should continue.\n } while (gapEndIndex - gapStartIndex < tileCols || gapEndIndex == 0);\n\n // If we still didn't manage to find a gap, ensure that the index is\n // at least zero so the tile doesn't get pulled out of the grid.\n return Math.max(gapStartIndex, 0);\n }\n\n /** Move \"down\" to the next row. */\n private _nextRow(): void {\n this.columnIndex = 0;\n this.rowIndex++;\n\n // Decrement all spaces by one to reflect moving down one row.\n for (let i = 0; i < this.tracker.length; i++) {\n this.tracker[i] = Math.max(0, this.tracker[i] - 1);\n }\n }\n\n /**\n * Finds the end index (exclusive) of a gap given the index from which to start looking.\n * The gap ends when a non-zero value is found.\n */\n private _findGapEndIndex(gapStartIndex: number): number {\n for (let i = gapStartIndex + 1; i < this.tracker.length; i++) {\n if (this.tracker[i] != 0) {\n return i;\n }\n }\n\n // The gap ends with the end of the row.\n return this.tracker.length;\n }\n\n /** Update the tile tracker to account for the given tile in the given space. */\n private _markTilePosition(start: number, tile: Tile): void {\n for (let i = 0; i < tile.colspan; i++) {\n this.tracker[start + i] = tile.rowspan;\n }\n }\n}\n\n/**\n * Simple data structure for tile position (row, col).\n * @docs-private\n */\nexport class TilePosition {\n constructor(\n public row: number,\n public col: number,\n ) {}\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\nimport {TileCoordinator} from './tile-coordinator';\n\nexport * from './grid-list-module';\nexport * from './grid-list';\nexport * from './grid-tile';\n\n// Privately exported for the grid-list harness.\nexport const ɵTileCoordinator = TileCoordinator;\n"],"names":["TileCoordinator","tracker","columnIndex","rowIndex","rowCount","rowspan","lastRowMax","Math","max","positions","update","numColumns","tiles","Array","fill","length","map","tile","_trackTile","gapStartIndex","_findMatchingGap","colspan","_markTilePosition","TilePosition","tileCols","Error","gapEndIndex","_nextRow","indexOf","_findGapEndIndex","i","start","row","col","constructor","ɵTileCoordinator"],"mappings":"MAoCaA,eAAe,CAAA;EAE1BC,OAAO;AAGPC,EAAAA,WAAW,GAAW,CAAC;AAGvBC,EAAAA,QAAQ,GAAW,CAAC;EAGpB,IAAIC,QAAQA,GAAA;AACV,IAAA,OAAO,IAAI,CAACD,QAAQ,GAAG,CAAC;AAC1B,EAAA;EAMA,IAAIE,OAAOA,GAAA;IACT,MAAMC,UAAU,GAAGC,IAAI,CAACC,GAAG,CAAC,GAAG,IAAI,CAACP,OAAO,CAAC;AAG5C,IAAA,OAAOK,UAAU,GAAG,CAAC,GAAG,IAA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AACP,OAAO,CAAC6B,CAAC,CAAC,GAAG,CAAC,CAAC;AACpD,IAAA;AACF,EAAA;EAMQD,gBAAgBA,CAACV,aAAqB,EAAA;AAC5C,IAAA,KAAK,IAAIW,CAAC,GAAGX,aAAa,GAAG,CAAC,EAAEW,CAAC,GAAG,IAAI,CAAC7B,OAAO,CAACc,MAAM,EAAEe,CAAC,EAAE,EAAE;MAC5D,IAAI,IAAI,CAAC7B,OAAO,CAAC6B,CAAC,CAAC,IAAI,CAAC,EAAE;AACxB,QAAA,OAAOA,CAAC;AACV,MAAA;AACF,IAAA;AAGA,IAAA,OAAO,IAAI,CAAC7B,OAAO,CAACc,MAAM;AAC5B,EAAA;AAGQO,EAAAA,iBAAiBA,CAACS,KAAa,EAAEd,IAAU,EAAA;AACjD,IAAA,KAAK,IAAIa,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGb,IAAI,CAACI,OAAO,EAAES,CAAC,EAAE,EAAE;MACrC,IAAI,CAAC7B,OAAO,CAAC8B,KAAK,GAAGD,CAAC,CAAC,GAAGb,IAAI,CAACZ,OAAO;AACxC,IAAA;AACF,EAAA;AACD;MAMYkB,YAAY,CAAA;EAEdS,GAAA;EACAC,GAAA;AAFTC,EAAAA,WAAAA,CACSF,GAAW,EACXC,GAAW,EAAA;IADX,IAAA,CAAAD,GAAG,GAAHA,GAAG;IACH,IAAA,CAAAC,GAAG,GAAHA,GAAG;AACT,EAAA;AACJ;;AC1KM,MAAME,gBAAgB,GAAGnC;;;;"}
@@ -96,7 +96,7 @@ const pointerUpEvents = ['mouseup', 'mouseleave', 'touchend', 'touchcancel'];
96
96
  class _MatRippleStylesLoader {
97
97
  static ɵfac = i0.ɵɵngDeclareFactory({
98
98
  minVersion: "12.0.0",
99
- version: "22.0.0",
99
+ version: "22.0.2",
100
100
  ngImport: i0,
101
101
  type: _MatRippleStylesLoader,
102
102
  deps: [],
@@ -104,7 +104,7 @@ class _MatRippleStylesLoader {
104
104
  });
105
105
  static ɵcmp = i0.ɵɵngDeclareComponent({
106
106
  minVersion: "14.0.0",
107
- version: "22.0.0",
107
+ version: "22.0.2",
108
108
  type: _MatRippleStylesLoader,
109
109
  isStandalone: true,
110
110
  selector: "ng-component",
@@ -122,7 +122,7 @@ class _MatRippleStylesLoader {
122
122
  }
123
123
  i0.ɵɵngDeclareClassMetadata({
124
124
  minVersion: "12.0.0",
125
- version: "22.0.0",
125
+ version: "22.0.2",
126
126
  ngImport: i0,
127
127
  type: _MatRippleStylesLoader,
128
128
  decorators: [{
@@ -458,7 +458,7 @@ class MatRipple {
458
458
  }
459
459
  static ɵfac = i0.ɵɵngDeclareFactory({
460
460
  minVersion: "12.0.0",
461
- version: "22.0.0",
461
+ version: "22.0.2",
462
462
  ngImport: i0,
463
463
  type: MatRipple,
464
464
  deps: [],
@@ -466,7 +466,7 @@ class MatRipple {
466
466
  });
467
467
  static ɵdir = i0.ɵɵngDeclareDirective({
468
468
  minVersion: "14.0.0",
469
- version: "22.0.0",
469
+ version: "22.0.2",
470
470
  type: MatRipple,
471
471
  isStandalone: true,
472
472
  selector: "[mat-ripple], [matRipple]",
@@ -491,7 +491,7 @@ class MatRipple {
491
491
  }
492
492
  i0.ɵɵngDeclareClassMetadata({
493
493
  minVersion: "12.0.0",
494
- version: "22.0.0",
494
+ version: "22.0.2",
495
495
  ngImport: i0,
496
496
  type: MatRipple,
497
497
  decorators: [{
@@ -112,7 +112,7 @@ class MatRippleLoader {
112
112
  }
113
113
  static ɵfac = i0.ɵɵngDeclareFactory({
114
114
  minVersion: "12.0.0",
115
- version: "22.0.0",
115
+ version: "22.0.2",
116
116
  ngImport: i0,
117
117
  type: MatRippleLoader,
118
118
  deps: [],
@@ -120,14 +120,14 @@ class MatRippleLoader {
120
120
  });
121
121
  static ɵprov = i0.ɵɵngDeclareService({
122
122
  minVersion: "22.0.0",
123
- version: "22.0.0",
123
+ version: "22.0.2",
124
124
  ngImport: i0,
125
125
  type: MatRippleLoader
126
126
  });
127
127
  }
128
128
  i0.ɵɵngDeclareClassMetadata({
129
129
  minVersion: "12.0.0",
130
- version: "22.0.0",
130
+ version: "22.0.2",
131
131
  ngImport: i0,
132
132
  type: MatRippleLoader,
133
133
  decorators: [{
@@ -6,7 +6,7 @@ import { MatRipple } from './_ripple-chunk.mjs';
6
6
  class MatRippleModule {
7
7
  static ɵfac = i0.ɵɵngDeclareFactory({
8
8
  minVersion: "12.0.0",
9
- version: "22.0.0",
9
+ version: "22.0.2",
10
10
  ngImport: i0,
11
11
  type: MatRippleModule,
12
12
  deps: [],
@@ -14,7 +14,7 @@ class MatRippleModule {
14
14
  });
15
15
  static ɵmod = i0.ɵɵngDeclareNgModule({
16
16
  minVersion: "14.0.0",
17
- version: "22.0.0",
17
+ version: "22.0.2",
18
18
  ngImport: i0,
19
19
  type: MatRippleModule,
20
20
  imports: [MatRipple],
@@ -22,7 +22,7 @@ class MatRippleModule {
22
22
  });
23
23
  static ɵinj = i0.ɵɵngDeclareInjector({
24
24
  minVersion: "12.0.0",
25
- version: "22.0.0",
25
+ version: "22.0.2",
26
26
  ngImport: i0,
27
27
  type: MatRippleModule,
28
28
  imports: [BidiModule]
@@ -30,7 +30,7 @@ class MatRippleModule {
30
30
  }
31
31
  i0.ɵɵngDeclareClassMetadata({
32
32
  minVersion: "12.0.0",
33
- version: "22.0.0",
33
+ version: "22.0.2",
34
34
  ngImport: i0,
35
35
  type: MatRippleModule,
36
36
  decorators: [{
@@ -4,7 +4,7 @@ import { ViewEncapsulation, Component } from '@angular/core';
4
4
  class _StructuralStylesLoader {
5
5
  static ɵfac = i0.ɵɵngDeclareFactory({
6
6
  minVersion: "12.0.0",
7
- version: "22.0.0",
7
+ version: "22.0.2",
8
8
  ngImport: i0,
9
9
  type: _StructuralStylesLoader,
10
10
  deps: [],
@@ -12,7 +12,7 @@ class _StructuralStylesLoader {
12
12
  });
13
13
  static ɵcmp = i0.ɵɵngDeclareComponent({
14
14
  minVersion: "14.0.0",
15
- version: "22.0.0",
15
+ version: "22.0.2",
16
16
  type: _StructuralStylesLoader,
17
17
  isStandalone: true,
18
18
  selector: "structural-styles",
@@ -25,7 +25,7 @@ class _StructuralStylesLoader {
25
25
  }
26
26
  i0.ɵɵngDeclareClassMetadata({
27
27
  minVersion: "12.0.0",
28
- version: "22.0.0",
28
+ version: "22.0.2",
29
29
  ngImport: i0,
30
30
  type: _StructuralStylesLoader,
31
31
  decorators: [{
@@ -577,7 +577,7 @@ class MatTooltip {
577
577
  };
578
578
  static ɵfac = i0.ɵɵngDeclareFactory({
579
579
  minVersion: "12.0.0",
580
- version: "22.0.0",
580
+ version: "22.0.2",
581
581
  ngImport: i0,
582
582
  type: MatTooltip,
583
583
  deps: [],
@@ -585,7 +585,7 @@ class MatTooltip {
585
585
  });
586
586
  static ɵdir = i0.ɵɵngDeclareDirective({
587
587
  minVersion: "14.0.0",
588
- version: "22.0.0",
588
+ version: "22.0.2",
589
589
  type: MatTooltip,
590
590
  isStandalone: true,
591
591
  selector: "[matTooltip]",
@@ -611,7 +611,7 @@ class MatTooltip {
611
611
  }
612
612
  i0.ɵɵngDeclareClassMetadata({
613
613
  minVersion: "12.0.0",
614
- version: "22.0.0",
614
+ version: "22.0.2",
615
615
  ngImport: i0,
616
616
  type: MatTooltip,
617
617
  decorators: [{
@@ -783,7 +783,7 @@ class TooltipComponent {
783
783
  }
784
784
  static ɵfac = i0.ɵɵngDeclareFactory({
785
785
  minVersion: "12.0.0",
786
- version: "22.0.0",
786
+ version: "22.0.2",
787
787
  ngImport: i0,
788
788
  type: TooltipComponent,
789
789
  deps: [],
@@ -791,7 +791,7 @@ class TooltipComponent {
791
791
  });
792
792
  static ɵcmp = i0.ɵɵngDeclareComponent({
793
793
  minVersion: "14.0.0",
794
- version: "22.0.0",
794
+ version: "22.0.2",
795
795
  type: TooltipComponent,
796
796
  isStandalone: true,
797
797
  selector: "mat-tooltip-component",
@@ -818,7 +818,7 @@ class TooltipComponent {
818
818
  }
819
819
  i0.ɵɵngDeclareClassMetadata({
820
820
  minVersion: "12.0.0",
821
- version: "22.0.0",
821
+ version: "22.0.2",
822
822
  ngImport: i0,
823
823
  type: TooltipComponent,
824
824
  decorators: [{
@@ -152,7 +152,7 @@ class MatAutocomplete {
152
152
  }
153
153
  static ɵfac = i0.ɵɵngDeclareFactory({
154
154
  minVersion: "12.0.0",
155
- version: "22.0.0",
155
+ version: "22.0.2",
156
156
  ngImport: i0,
157
157
  type: MatAutocomplete,
158
158
  deps: [],
@@ -160,7 +160,7 @@ class MatAutocomplete {
160
160
  });
161
161
  static ɵcmp = i0.ɵɵngDeclareComponent({
162
162
  minVersion: "16.1.0",
163
- version: "22.0.0",
163
+ version: "22.0.2",
164
164
  type: MatAutocomplete,
165
165
  isStandalone: true,
166
166
  selector: "mat-autocomplete",
@@ -219,7 +219,7 @@ class MatAutocomplete {
219
219
  }
220
220
  i0.ɵɵngDeclareClassMetadata({
221
221
  minVersion: "12.0.0",
222
- version: "22.0.0",
222
+ version: "22.0.2",
223
223
  ngImport: i0,
224
224
  type: MatAutocomplete,
225
225
  decorators: [{
@@ -330,7 +330,7 @@ class MatAutocompleteOrigin {
330
330
  elementRef = inject(ElementRef);
331
331
  static ɵfac = i0.ɵɵngDeclareFactory({
332
332
  minVersion: "12.0.0",
333
- version: "22.0.0",
333
+ version: "22.0.2",
334
334
  ngImport: i0,
335
335
  type: MatAutocompleteOrigin,
336
336
  deps: [],
@@ -338,7 +338,7 @@ class MatAutocompleteOrigin {
338
338
  });
339
339
  static ɵdir = i0.ɵɵngDeclareDirective({
340
340
  minVersion: "14.0.0",
341
- version: "22.0.0",
341
+ version: "22.0.2",
342
342
  type: MatAutocompleteOrigin,
343
343
  isStandalone: true,
344
344
  selector: "[matAutocompleteOrigin]",
@@ -348,7 +348,7 @@ class MatAutocompleteOrigin {
348
348
  }
349
349
  i0.ɵɵngDeclareClassMetadata({
350
350
  minVersion: "12.0.0",
351
- version: "22.0.0",
351
+ version: "22.0.2",
352
352
  ngImport: i0,
353
353
  type: MatAutocompleteOrigin,
354
354
  decorators: [{
@@ -891,7 +891,7 @@ class MatAutocompleteTrigger {
891
891
  }
892
892
  static ɵfac = i0.ɵɵngDeclareFactory({
893
893
  minVersion: "12.0.0",
894
- version: "22.0.0",
894
+ version: "22.0.2",
895
895
  ngImport: i0,
896
896
  type: MatAutocompleteTrigger,
897
897
  deps: [],
@@ -899,7 +899,7 @@ class MatAutocompleteTrigger {
899
899
  });
900
900
  static ɵdir = i0.ɵɵngDeclareDirective({
901
901
  minVersion: "16.1.0",
902
- version: "22.0.0",
902
+ version: "22.0.2",
903
903
  type: MatAutocompleteTrigger,
904
904
  isStandalone: true,
905
905
  selector: "input[matAutocomplete], textarea[matAutocomplete]",
@@ -937,7 +937,7 @@ class MatAutocompleteTrigger {
937
937
  }
938
938
  i0.ɵɵngDeclareClassMetadata({
939
939
  minVersion: "12.0.0",
940
- version: "22.0.0",
940
+ version: "22.0.2",
941
941
  ngImport: i0,
942
942
  type: MatAutocompleteTrigger,
943
943
  decorators: [{
@@ -993,7 +993,7 @@ i0.ɵɵngDeclareClassMetadata({
993
993
  class MatAutocompleteModule {
994
994
  static ɵfac = i0.ɵɵngDeclareFactory({
995
995
  minVersion: "12.0.0",
996
- version: "22.0.0",
996
+ version: "22.0.2",
997
997
  ngImport: i0,
998
998
  type: MatAutocompleteModule,
999
999
  deps: [],
@@ -1001,7 +1001,7 @@ class MatAutocompleteModule {
1001
1001
  });
1002
1002
  static ɵmod = i0.ɵɵngDeclareNgModule({
1003
1003
  minVersion: "14.0.0",
1004
- version: "22.0.0",
1004
+ version: "22.0.2",
1005
1005
  ngImport: i0,
1006
1006
  type: MatAutocompleteModule,
1007
1007
  imports: [OverlayModule, MatOptionModule, MatAutocomplete, MatAutocompleteTrigger, MatAutocompleteOrigin],
@@ -1009,7 +1009,7 @@ class MatAutocompleteModule {
1009
1009
  });
1010
1010
  static ɵinj = i0.ɵɵngDeclareInjector({
1011
1011
  minVersion: "12.0.0",
1012
- version: "22.0.0",
1012
+ version: "22.0.2",
1013
1013
  ngImport: i0,
1014
1014
  type: MatAutocompleteModule,
1015
1015
  imports: [OverlayModule, MatOptionModule, CdkScrollableModule, MatOptionModule, BidiModule]
@@ -1017,7 +1017,7 @@ class MatAutocompleteModule {
1017
1017
  }
1018
1018
  i0.ɵɵngDeclareClassMetadata({
1019
1019
  minVersion: "12.0.0",
1020
- version: "22.0.0",
1020
+ version: "22.0.2",
1021
1021
  ngImport: i0,
1022
1022
  type: MatAutocompleteModule,
1023
1023
  decorators: [{
@@ -11,7 +11,7 @@ const BADGE_CONTENT_CLASS = 'mat-badge-content';
11
11
  class _MatBadgeStyleLoader {
12
12
  static ɵfac = i0.ɵɵngDeclareFactory({
13
13
  minVersion: "12.0.0",
14
- version: "22.0.0",
14
+ version: "22.0.2",
15
15
  ngImport: i0,
16
16
  type: _MatBadgeStyleLoader,
17
17
  deps: [],
@@ -19,7 +19,7 @@ class _MatBadgeStyleLoader {
19
19
  });
20
20
  static ɵcmp = i0.ɵɵngDeclareComponent({
21
21
  minVersion: "14.0.0",
22
- version: "22.0.0",
22
+ version: "22.0.2",
23
23
  type: _MatBadgeStyleLoader,
24
24
  isStandalone: true,
25
25
  selector: "ng-component",
@@ -32,7 +32,7 @@ class _MatBadgeStyleLoader {
32
32
  }
33
33
  i0.ɵɵngDeclareClassMetadata({
34
34
  minVersion: "12.0.0",
35
- version: "22.0.0",
35
+ version: "22.0.2",
36
36
  ngImport: i0,
37
37
  type: _MatBadgeStyleLoader,
38
38
  decorators: [{
@@ -210,7 +210,7 @@ class MatBadge {
210
210
  }
211
211
  static ɵfac = i0.ɵɵngDeclareFactory({
212
212
  minVersion: "12.0.0",
213
- version: "22.0.0",
213
+ version: "22.0.2",
214
214
  ngImport: i0,
215
215
  type: MatBadge,
216
216
  deps: [],
@@ -218,7 +218,7 @@ class MatBadge {
218
218
  });
219
219
  static ɵdir = i0.ɵɵngDeclareDirective({
220
220
  minVersion: "16.1.0",
221
- version: "22.0.0",
221
+ version: "22.0.2",
222
222
  type: MatBadge,
223
223
  isStandalone: true,
224
224
  selector: "[matBadge]",
@@ -252,7 +252,7 @@ class MatBadge {
252
252
  }
253
253
  i0.ɵɵngDeclareClassMetadata({
254
254
  minVersion: "12.0.0",
255
- version: "22.0.0",
255
+ version: "22.0.2",
256
256
  ngImport: i0,
257
257
  type: MatBadge,
258
258
  decorators: [{
@@ -323,7 +323,7 @@ i0.ɵɵngDeclareClassMetadata({
323
323
  class MatBadgeModule {
324
324
  static ɵfac = i0.ɵɵngDeclareFactory({
325
325
  minVersion: "12.0.0",
326
- version: "22.0.0",
326
+ version: "22.0.2",
327
327
  ngImport: i0,
328
328
  type: MatBadgeModule,
329
329
  deps: [],
@@ -331,7 +331,7 @@ class MatBadgeModule {
331
331
  });
332
332
  static ɵmod = i0.ɵɵngDeclareNgModule({
333
333
  minVersion: "14.0.0",
334
- version: "22.0.0",
334
+ version: "22.0.2",
335
335
  ngImport: i0,
336
336
  type: MatBadgeModule,
337
337
  imports: [A11yModule, MatBadge, _MatBadgeStyleLoader],
@@ -339,7 +339,7 @@ class MatBadgeModule {
339
339
  });
340
340
  static ɵinj = i0.ɵɵngDeclareInjector({
341
341
  minVersion: "12.0.0",
342
- version: "22.0.0",
342
+ version: "22.0.2",
343
343
  ngImport: i0,
344
344
  type: MatBadgeModule,
345
345
  imports: [A11yModule, BidiModule]
@@ -347,7 +347,7 @@ class MatBadgeModule {
347
347
  }
348
348
  i0.ɵɵngDeclareClassMetadata({
349
349
  minVersion: "12.0.0",
350
- version: "22.0.0",
350
+ version: "22.0.2",
351
351
  ngImport: i0,
352
352
  type: MatBadgeModule,
353
353
  decorators: [{
@@ -55,8 +55,8 @@ class MatBottomSheetContainer extends CdkDialogContainer {
55
55
  }
56
56
  _simulateAnimation(name) {
57
57
  this._ngZone.run(() => {
58
- this._handleAnimationEvent(true, name);
59
- setTimeout(() => this._handleAnimationEvent(false, name));
58
+ this._handleAnimationEvent(true, name, this._elementRef.nativeElement);
59
+ setTimeout(() => this._handleAnimationEvent(false, name, this._elementRef.nativeElement));
60
60
  });
61
61
  }
62
62
  _trapFocus() {
@@ -64,19 +64,21 @@ class MatBottomSheetContainer extends CdkDialogContainer {
64
64
  preventScroll: true
65
65
  });
66
66
  }
67
- _handleAnimationEvent(isStart, animationName) {
68
- const isEnter = animationName === ENTER_ANIMATION;
69
- const isExit = animationName === EXIT_ANIMATION;
70
- if (isEnter || isExit) {
71
- this._animationStateChanged.emit({
72
- toState: isEnter ? 'visible' : 'hidden',
73
- phase: isStart ? 'start' : 'done'
74
- });
67
+ _handleAnimationEvent(isStart, animationName, target) {
68
+ if (target === this._elementRef.nativeElement) {
69
+ const isEnter = animationName === ENTER_ANIMATION;
70
+ const isExit = animationName === EXIT_ANIMATION;
71
+ if (isEnter || isExit) {
72
+ this._animationStateChanged.emit({
73
+ toState: isEnter ? 'visible' : 'hidden',
74
+ phase: isStart ? 'start' : 'done'
75
+ });
76
+ }
75
77
  }
76
78
  }
77
79
  static ɵfac = i0.ɵɵngDeclareFactory({
78
80
  minVersion: "12.0.0",
79
- version: "22.0.0",
81
+ version: "22.0.2",
80
82
  ngImport: i0,
81
83
  type: MatBottomSheetContainer,
82
84
  deps: [],
@@ -84,7 +86,7 @@ class MatBottomSheetContainer extends CdkDialogContainer {
84
86
  });
85
87
  static ɵcmp = i0.ɵɵngDeclareComponent({
86
88
  minVersion: "14.0.0",
87
- version: "22.0.0",
89
+ version: "22.0.2",
88
90
  type: MatBottomSheetContainer,
89
91
  isStandalone: true,
90
92
  selector: "mat-bottom-sheet-container",
@@ -93,9 +95,9 @@ class MatBottomSheetContainer extends CdkDialogContainer {
93
95
  "tabindex": "-1"
94
96
  },
95
97
  listeners: {
96
- "animationstart": "_handleAnimationEvent(true, $event.animationName)",
97
- "animationend": "_handleAnimationEvent(false, $event.animationName)",
98
- "animationcancel": "_handleAnimationEvent(false, $event.animationName)"
98
+ "animationstart": "_handleAnimationEvent(true, $event.animationName, $event.target)",
99
+ "animationend": "_handleAnimationEvent(false, $event.animationName, $event.target)",
100
+ "animationcancel": "_handleAnimationEvent(false, $event.animationName, $event.target)"
99
101
  },
100
102
  properties: {
101
103
  "class.mat-bottom-sheet-container-animations-enabled": "!_animationsDisabled",
@@ -125,7 +127,7 @@ class MatBottomSheetContainer extends CdkDialogContainer {
125
127
  }
126
128
  i0.ɵɵngDeclareClassMetadata({
127
129
  minVersion: "12.0.0",
128
- version: "22.0.0",
130
+ version: "22.0.2",
129
131
  ngImport: i0,
130
132
  type: MatBottomSheetContainer,
131
133
  decorators: [{
@@ -143,9 +145,9 @@ i0.ɵɵngDeclareClassMetadata({
143
145
  '[attr.role]': '_config.role',
144
146
  '[attr.aria-modal]': '_config.ariaModal',
145
147
  '[attr.aria-label]': '_config.ariaLabel',
146
- '(animationstart)': '_handleAnimationEvent(true, $event.animationName)',
147
- '(animationend)': '_handleAnimationEvent(false, $event.animationName)',
148
- '(animationcancel)': '_handleAnimationEvent(false, $event.animationName)'
148
+ '(animationstart)': '_handleAnimationEvent(true, $event.animationName, $event.target)',
149
+ '(animationend)': '_handleAnimationEvent(false, $event.animationName, $event.target)',
150
+ '(animationcancel)': '_handleAnimationEvent(false, $event.animationName, $event.target)'
149
151
  },
150
152
  imports: [CdkPortalOutlet],
151
153
  template: "<ng-template cdkPortalOutlet></ng-template>\r\n",
@@ -317,7 +319,7 @@ class MatBottomSheet {
317
319
  }
318
320
  static ɵfac = i0.ɵɵngDeclareFactory({
319
321
  minVersion: "12.0.0",
320
- version: "22.0.0",
322
+ version: "22.0.2",
321
323
  ngImport: i0,
322
324
  type: MatBottomSheet,
323
325
  deps: [],
@@ -325,14 +327,14 @@ class MatBottomSheet {
325
327
  });
326
328
  static ɵprov = i0.ɵɵngDeclareService({
327
329
  minVersion: "22.0.0",
328
- version: "22.0.0",
330
+ version: "22.0.2",
329
331
  ngImport: i0,
330
332
  type: MatBottomSheet
331
333
  });
332
334
  }
333
335
  i0.ɵɵngDeclareClassMetadata({
334
336
  minVersion: "12.0.0",
335
- version: "22.0.0",
337
+ version: "22.0.2",
336
338
  ngImport: i0,
337
339
  type: MatBottomSheet,
338
340
  decorators: [{
@@ -343,7 +345,7 @@ i0.ɵɵngDeclareClassMetadata({
343
345
  class MatBottomSheetModule {
344
346
  static ɵfac = i0.ɵɵngDeclareFactory({
345
347
  minVersion: "12.0.0",
346
- version: "22.0.0",
348
+ version: "22.0.2",
347
349
  ngImport: i0,
348
350
  type: MatBottomSheetModule,
349
351
  deps: [],
@@ -351,7 +353,7 @@ class MatBottomSheetModule {
351
353
  });
352
354
  static ɵmod = i0.ɵɵngDeclareNgModule({
353
355
  minVersion: "14.0.0",
354
- version: "22.0.0",
356
+ version: "22.0.2",
355
357
  ngImport: i0,
356
358
  type: MatBottomSheetModule,
357
359
  imports: [DialogModule, PortalModule, MatBottomSheetContainer],
@@ -359,7 +361,7 @@ class MatBottomSheetModule {
359
361
  });
360
362
  static ɵinj = i0.ɵɵngDeclareInjector({
361
363
  minVersion: "12.0.0",
362
- version: "22.0.0",
364
+ version: "22.0.2",
363
365
  ngImport: i0,
364
366
  type: MatBottomSheetModule,
365
367
  providers: [MatBottomSheet],
@@ -368,7 +370,7 @@ class MatBottomSheetModule {
368
370
  }
369
371
  i0.ɵɵngDeclareClassMetadata({
370
372
  minVersion: "12.0.0",
371
- version: "22.0.0",
373
+ version: "22.0.2",
372
374
  ngImport: i0,
373
375
  type: MatBottomSheetModule,
374
376
  decorators: [{