@ng-matero/extensions 19.3.3 → 20.0.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 (283) hide show
  1. package/_index.scss +1 -1
  2. package/alert/_alert-theme.scss +26 -31
  3. package/alert/_m2-alert.scss +59 -0
  4. package/alert/_m3-alert.scss +41 -0
  5. package/alert/alert.scss +27 -31
  6. package/alert/index.d.ts +30 -5
  7. package/button/index.d.ts +31 -5
  8. package/checkbox-group/index.d.ts +117 -5
  9. package/colorpicker/_colorpicker-theme.scss +31 -36
  10. package/{core/tokens/m2/mtx/_colorpicker.scss → colorpicker/_m2-colorpicker.scss} +6 -10
  11. package/colorpicker/_m3-colorpicker.scss +23 -0
  12. package/colorpicker/colorpicker-toggle.scss +4 -9
  13. package/colorpicker/index.d.ts +285 -3
  14. package/column-resize/index.d.ts +456 -3
  15. package/core/index.d.ts +147 -5
  16. package/core/theming/_color-api-backwards-compatibility.scss +8 -15
  17. package/core/theming/_definition.scss +81 -75
  18. package/core/theming/_palettes.scss +1036 -0
  19. package/core/tokens/{m2/_index.scss → _m2-tokens.scss} +22 -22
  20. package/core/tokens/_m2-utils.scss +108 -0
  21. package/core/tokens/_m3-system.scss +128 -106
  22. package/core/tokens/_m3-tokens.scss +36 -282
  23. package/core/tokens/_m3-utils.scss +48 -0
  24. package/core/tokens/_token-utils.scss +67 -239
  25. package/core/tokens/m3/_index.scss +7 -0
  26. package/core/tokens/m3/_md-sys-color.scss +156 -0
  27. package/core/tokens/m3/_md-sys-elevation.scss +15 -0
  28. package/core/tokens/m3/_md-sys-motion.scss +35 -0
  29. package/core/tokens/m3/_md-sys-shape.scss +21 -0
  30. package/core/tokens/m3/_md-sys-state.scss +13 -0
  31. package/core/tokens/m3/_md-sys-typescale.scss +128 -0
  32. package/core/tokens/m3/_theme.scss +47 -0
  33. package/datetimepicker/_datetimepicker-theme.scss +29 -39
  34. package/datetimepicker/_m2-datetimepicker.scss +149 -0
  35. package/datetimepicker/_m3-datetimepicker.scss +81 -0
  36. package/datetimepicker/calendar-body.scss +31 -56
  37. package/datetimepicker/calendar.scss +43 -79
  38. package/datetimepicker/clock.scss +28 -47
  39. package/datetimepicker/datetimepicker-content.scss +9 -15
  40. package/datetimepicker/datetimepicker-toggle.scss +4 -9
  41. package/datetimepicker/index.d.ts +1208 -3
  42. package/datetimepicker/time-view.scss +26 -32
  43. package/dialog/index.d.ts +54 -5
  44. package/drawer/_drawer-theme.scss +25 -30
  45. package/{core/tokens/m2/mtx/_drawer.scss → drawer/_m2-drawer.scss} +9 -12
  46. package/drawer/_m3-drawer.scss +24 -0
  47. package/drawer/drawer-container.scss +13 -24
  48. package/drawer/index.d.ts +221 -3
  49. package/fesm2022/mtxAlert.mjs +12 -15
  50. package/fesm2022/mtxAlert.mjs.map +1 -1
  51. package/fesm2022/mtxButton.mjs +7 -7
  52. package/fesm2022/mtxCheckboxGroup.mjs +7 -7
  53. package/fesm2022/mtxColorpicker.mjs +21 -21
  54. package/fesm2022/mtxColorpicker.mjs.map +1 -1
  55. package/fesm2022/mtxColumnResize.mjs +232 -103
  56. package/fesm2022/mtxColumnResize.mjs.map +1 -1
  57. package/fesm2022/mtxCore.mjs +21 -21
  58. package/fesm2022/mtxDatetimepicker.mjs +63 -63
  59. package/fesm2022/mtxDatetimepicker.mjs.map +1 -1
  60. package/fesm2022/mtxDialog.mjs +10 -10
  61. package/fesm2022/mtxDialog.mjs.map +1 -1
  62. package/fesm2022/mtxDrawer.mjs +10 -10
  63. package/fesm2022/mtxGrid.mjs +99 -106
  64. package/fesm2022/mtxGrid.mjs.map +1 -1
  65. package/fesm2022/mtxLoader.mjs +7 -7
  66. package/fesm2022/mtxPhotoviewer.mjs +11 -11
  67. package/fesm2022/mtxPhotoviewer.mjs.map +1 -1
  68. package/fesm2022/mtxPopover.mjs +24 -25
  69. package/fesm2022/mtxPopover.mjs.map +1 -1
  70. package/fesm2022/mtxProgress.mjs +7 -7
  71. package/fesm2022/mtxSelect.mjs +54 -54
  72. package/fesm2022/mtxSelect.mjs.map +1 -1
  73. package/fesm2022/mtxSplit.mjs +10 -10
  74. package/fesm2022/mtxTooltip.mjs +13 -13
  75. package/fesm2022/mtxTooltip.mjs.map +1 -1
  76. package/grid/_grid-theme.scss +22 -35
  77. package/grid/_m2-grid.scss +66 -0
  78. package/grid/_m3-grid.scss +35 -0
  79. package/grid/column-menu.scss +6 -23
  80. package/grid/column-resize/_column-resize.scss +35 -30
  81. package/grid/grid.scss +41 -73
  82. package/grid/index.d.ts +799 -3
  83. package/index.d.ts +2 -5
  84. package/loader/_loader-theme.scss +26 -31
  85. package/{core/tokens/m2/mtx/_loader.scss → loader/_m2-loader.scss} +5 -10
  86. package/loader/_m3-loader.scss +20 -0
  87. package/loader/index.d.ts +43 -5
  88. package/loader/loader.scss +4 -5
  89. package/package.json +29 -29
  90. package/photoviewer/index.d.ts +26 -5
  91. package/{core/tokens/m2/mtx/_popover.scss → popover/_m2-popover.scss} +9 -12
  92. package/popover/_m3-popover.scss +26 -0
  93. package/popover/_popover-theme.scss +26 -31
  94. package/popover/index.d.ts +399 -3
  95. package/popover/popover.scss +23 -29
  96. package/prebuilt-themes/azure-blue.css +1 -1
  97. package/prebuilt-themes/cyan-orange.css +1 -1
  98. package/prebuilt-themes/deeppurple-amber.css +1 -1
  99. package/prebuilt-themes/indigo-pink.css +1 -1
  100. package/prebuilt-themes/magenta-violet.css +1 -1
  101. package/prebuilt-themes/pink-bluegrey.css +1 -1
  102. package/prebuilt-themes/purple-green.css +1 -1
  103. package/prebuilt-themes/rose-red.css +1 -1
  104. package/progress/_m2-progress.scss +53 -0
  105. package/progress/_m3-progress.scss +33 -0
  106. package/progress/_progress-theme.scss +22 -34
  107. package/progress/index.d.ts +35 -5
  108. package/progress/progress.scss +28 -43
  109. package/select/_m2-select.scss +79 -0
  110. package/select/_m3-select.scss +46 -0
  111. package/select/_select-theme.scss +27 -37
  112. package/select/index.d.ts +381 -3
  113. package/select/select.scss +189 -205
  114. package/{core/tokens/m2/mtx/_split.scss → split/_m2-split.scss} +6 -9
  115. package/split/_m3-split.scss +23 -0
  116. package/split/_split-theme.scss +31 -34
  117. package/split/index.d.ts +255 -3
  118. package/split/split.scss +8 -11
  119. package/tooltip/_m2-tooltip.scss +50 -0
  120. package/tooltip/_m3-tooltip.scss +28 -0
  121. package/tooltip/_tooltip-theme.scss +23 -47
  122. package/tooltip/index.d.ts +345 -3
  123. package/tooltip/tooltip.scss +11 -15
  124. package/alert/alert-module.d.ts +0 -8
  125. package/alert/alert.d.ts +0 -19
  126. package/alert/public-api.d.ts +0 -2
  127. package/button/button-loading.d.ts +0 -19
  128. package/button/button-module.d.ts +0 -10
  129. package/button/public-api.d.ts +0 -2
  130. package/checkbox-group/checkbox-group-module.d.ts +0 -11
  131. package/checkbox-group/checkbox-group.d.ts +0 -86
  132. package/checkbox-group/interfaces.d.ts +0 -17
  133. package/checkbox-group/public-api.d.ts +0 -3
  134. package/colorpicker/colorpicker-animations.d.ts +0 -9
  135. package/colorpicker/colorpicker-input.d.ts +0 -88
  136. package/colorpicker/colorpicker-module.d.ts +0 -15
  137. package/colorpicker/colorpicker-toggle.d.ts +0 -39
  138. package/colorpicker/colorpicker.d.ts +0 -140
  139. package/colorpicker/public-api.d.ts +0 -5
  140. package/column-resize/column-resize-directives/column-resize-flex.d.ts +0 -29
  141. package/column-resize/column-resize-directives/column-resize.d.ts +0 -29
  142. package/column-resize/column-resize-directives/constants.d.ts +0 -10
  143. package/column-resize/column-resize-module.d.ts +0 -12
  144. package/column-resize/column-resize-notifier.d.ts +0 -48
  145. package/column-resize/column-resize.d.ts +0 -39
  146. package/column-resize/column-size-store.d.ts +0 -12
  147. package/column-resize/event-dispatcher.d.ts +0 -35
  148. package/column-resize/overlay-handle.d.ts +0 -43
  149. package/column-resize/polyfill.d.ts +0 -9
  150. package/column-resize/public-api.d.ts +0 -12
  151. package/column-resize/resizable.d.ts +0 -63
  152. package/column-resize/resize-ref.d.ts +0 -17
  153. package/column-resize/resize-strategy.d.ts +0 -84
  154. package/column-resize/selectors.d.ts +0 -10
  155. package/core/datetime/datetime-adapter.d.ts +0 -45
  156. package/core/datetime/datetime-formats.d.ts +0 -22
  157. package/core/datetime/datetime.module.d.ts +0 -15
  158. package/core/datetime/index.d.ts +0 -5
  159. package/core/datetime/native-datetime-adapter.d.ts +0 -40
  160. package/core/datetime/native-datetime-formats.d.ts +0 -2
  161. package/core/pipes/index.d.ts +0 -3
  162. package/core/pipes/is-template-ref.pipe.d.ts +0 -7
  163. package/core/pipes/pipes.module.d.ts +0 -9
  164. package/core/pipes/to-observable.pipe.d.ts +0 -8
  165. package/core/public-api.d.ts +0 -2
  166. package/core/theming/_inspection.scss +0 -38
  167. package/core/theming/_validation.scss +0 -5
  168. package/core/tokens/_density.scss +0 -49
  169. package/core/tokens/_format-tokens.scss +0 -5
  170. package/core/tokens/_token-definition.scss +0 -271
  171. package/core/tokens/m2/mdc/_plain-tooltip.scss +0 -63
  172. package/core/tokens/m2/mtx/_alert.scss +0 -62
  173. package/core/tokens/m2/mtx/_datetimepicker.scss +0 -152
  174. package/core/tokens/m2/mtx/_grid.scss +0 -69
  175. package/core/tokens/m2/mtx/_progress.scss +0 -56
  176. package/core/tokens/m2/mtx/_select.scss +0 -82
  177. package/core/tokens/m3/definitions/_index.scss +0 -9
  178. package/core/tokens/m3/definitions/_md-comp-plain-tooltip.scss +0 -51
  179. package/core/tokens/m3/definitions/_md-ref-palette.scss +0 -100
  180. package/core/tokens/m3/definitions/_md-ref-typeface.scss +0 -14
  181. package/core/tokens/m3/definitions/_md-sys-color.scss +0 -126
  182. package/core/tokens/m3/definitions/_md-sys-elevation.scss +0 -15
  183. package/core/tokens/m3/definitions/_md-sys-motion.scss +0 -46
  184. package/core/tokens/m3/definitions/_md-sys-shape.scss +0 -24
  185. package/core/tokens/m3/definitions/_md-sys-state.scss +0 -13
  186. package/core/tokens/m3/definitions/_md-sys-typescale.scss +0 -308
  187. package/core/tokens/m3/index.scss +0 -47
  188. package/core/tokens/m3/mdc/_plain-tooltip.scss +0 -15
  189. package/core/tokens/m3/mtx/_alert.scss +0 -41
  190. package/core/tokens/m3/mtx/_colorpicker.scss +0 -19
  191. package/core/tokens/m3/mtx/_datetimepicker.scss +0 -140
  192. package/core/tokens/m3/mtx/_drawer.scss +0 -22
  193. package/core/tokens/m3/mtx/_grid.scss +0 -32
  194. package/core/tokens/m3/mtx/_loader.scss +0 -22
  195. package/core/tokens/m3/mtx/_popover.scss +0 -25
  196. package/core/tokens/m3/mtx/_progress.scss +0 -32
  197. package/core/tokens/m3/mtx/_select.scss +0 -76
  198. package/core/tokens/m3/mtx/_split.scss +0 -30
  199. package/datetimepicker/calendar-body.d.ts +0 -66
  200. package/datetimepicker/calendar.d.ts +0 -157
  201. package/datetimepicker/clock.d.ts +0 -101
  202. package/datetimepicker/datetimepicker-actions.d.ts +0 -36
  203. package/datetimepicker/datetimepicker-animations.d.ts +0 -11
  204. package/datetimepicker/datetimepicker-errors.d.ts +0 -2
  205. package/datetimepicker/datetimepicker-filtertype.d.ts +0 -5
  206. package/datetimepicker/datetimepicker-input.d.ts +0 -105
  207. package/datetimepicker/datetimepicker-intl.d.ts +0 -53
  208. package/datetimepicker/datetimepicker-module.d.ts +0 -22
  209. package/datetimepicker/datetimepicker-toggle.d.ts +0 -42
  210. package/datetimepicker/datetimepicker-types.d.ts +0 -6
  211. package/datetimepicker/datetimepicker.d.ts +0 -274
  212. package/datetimepicker/month-view.d.ts +0 -80
  213. package/datetimepicker/multi-year-view.d.ts +0 -86
  214. package/datetimepicker/public-api.d.ts +0 -16
  215. package/datetimepicker/time-view.d.ts +0 -147
  216. package/datetimepicker/year-view.d.ts +0 -68
  217. package/dialog/dialog-config.d.ts +0 -17
  218. package/dialog/dialog-container.d.ts +0 -11
  219. package/dialog/dialog-module.d.ts +0 -12
  220. package/dialog/dialog.d.ts +0 -15
  221. package/dialog/public-api.d.ts +0 -4
  222. package/drawer/drawer-animations.d.ts +0 -8
  223. package/drawer/drawer-config.d.ts +0 -63
  224. package/drawer/drawer-container.d.ts +0 -35
  225. package/drawer/drawer-module.d.ts +0 -10
  226. package/drawer/drawer-ref.d.ts +0 -53
  227. package/drawer/drawer.d.ts +0 -59
  228. package/drawer/public-api.d.ts +0 -6
  229. package/grid/cell.d.ts +0 -32
  230. package/grid/column-menu.d.ts +0 -39
  231. package/grid/column-resize/column-resize-directives/column-resize-flex.d.ts +0 -24
  232. package/grid/column-resize/column-resize-directives/column-resize.d.ts +0 -24
  233. package/grid/column-resize/column-resize-directives/common.d.ts +0 -13
  234. package/grid/column-resize/column-resize-module.d.ts +0 -17
  235. package/grid/column-resize/index.d.ts +0 -7
  236. package/grid/column-resize/overlay-handle.d.ts +0 -32
  237. package/grid/column-resize/resizable-directives/common.d.ts +0 -19
  238. package/grid/column-resize/resizable-directives/resizable.d.ts +0 -32
  239. package/grid/column-resize/resize-strategy.d.ts +0 -20
  240. package/grid/expansion-toggle.d.ts +0 -19
  241. package/grid/grid-module.d.ts +0 -31
  242. package/grid/grid-pipes.d.ts +0 -39
  243. package/grid/grid-utils.d.ts +0 -33
  244. package/grid/grid.d.ts +0 -268
  245. package/grid/interfaces.d.ts +0 -180
  246. package/grid/public-api.d.ts +0 -17
  247. package/grid/selectable-cell.d.ts +0 -16
  248. package/loader/loader-module.d.ts +0 -10
  249. package/loader/loader.d.ts +0 -30
  250. package/loader/public-api.d.ts +0 -2
  251. package/photoviewer/photoviewer-module.d.ts +0 -7
  252. package/photoviewer/photoviewer.d.ts +0 -17
  253. package/photoviewer/public-api.d.ts +0 -2
  254. package/popover/popover-animations.d.ts +0 -11
  255. package/popover/popover-content.d.ts +0 -43
  256. package/popover/popover-errors.d.ts +0 -14
  257. package/popover/popover-interfaces.d.ts +0 -50
  258. package/popover/popover-module.d.ts +0 -13
  259. package/popover/popover-target.d.ts +0 -7
  260. package/popover/popover-trigger.d.ts +0 -132
  261. package/popover/popover-types.d.ts +0 -10
  262. package/popover/popover.d.ts +0 -147
  263. package/popover/public-api.d.ts +0 -8
  264. package/progress/progress-module.d.ts +0 -8
  265. package/progress/progress.d.ts +0 -24
  266. package/progress/public-api.d.ts +0 -2
  267. package/public-api.d.ts +0 -2
  268. package/select/option.d.ts +0 -21
  269. package/select/public-api.d.ts +0 -5
  270. package/select/select-intl.d.ts +0 -18
  271. package/select/select-module.d.ts +0 -12
  272. package/select/select.d.ts +0 -270
  273. package/select/templates.d.ts +0 -67
  274. package/split/interfaces.d.ts +0 -52
  275. package/split/public-api.d.ts +0 -5
  276. package/split/split-module.d.ts +0 -9
  277. package/split/split-pane.d.ts +0 -53
  278. package/split/split.d.ts +0 -133
  279. package/split/utils.d.ts +0 -13
  280. package/tooltip/public-api.d.ts +0 -3
  281. package/tooltip/tooltip-animations.d.ts +0 -9
  282. package/tooltip/tooltip-module.d.ts +0 -13
  283. package/tooltip/tooltip.d.ts +0 -321
@@ -1,17 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { ElementRef } from '@angular/core';
9
- import { OverlayRef } from '@angular/cdk/overlay';
10
- /** Tracks state of resize events in progress. */
11
- export declare class ResizeRef {
12
- readonly origin: ElementRef;
13
- readonly overlayRef: OverlayRef;
14
- readonly minWidthPx: number;
15
- readonly maxWidthPx: number;
16
- constructor(origin: ElementRef, overlayRef: OverlayRef, minWidthPx: number, maxWidthPx: number);
17
- }
@@ -1,84 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- import { OnDestroy, Provider } from '@angular/core';
9
- import { CdkTable, _CoalescedStyleScheduler } from '@angular/cdk/table';
10
- import { ColumnResize } from './column-resize';
11
- import * as i0 from "@angular/core";
12
- /**
13
- * Provides an implementation for resizing a column.
14
- * The details of how resizing works for tables for flex mat-tables are quite different.
15
- */
16
- export declare abstract class ResizeStrategy {
17
- protected abstract readonly columnResize: ColumnResize;
18
- protected abstract readonly styleScheduler: _CoalescedStyleScheduler;
19
- protected abstract readonly table: CdkTable<unknown>;
20
- private _pendingResizeDelta;
21
- /** Updates the width of the specified column. */
22
- abstract applyColumnSize(cssFriendlyColumnName: string, columnHeader: HTMLElement, sizeInPx: number, previousSizeInPx?: number): void;
23
- /** Applies a minimum width to the specified column, updating its current width as needed. */
24
- abstract applyMinColumnSize(cssFriendlyColumnName: string, columnHeader: HTMLElement, minSizeInPx: number): void;
25
- /** Applies a maximum width to the specified column, updating its current width as needed. */
26
- abstract applyMaxColumnSize(cssFriendlyColumnName: string, columnHeader: HTMLElement, minSizeInPx: number): void;
27
- /** Adjusts the width of the table element by the specified delta. */
28
- protected updateTableWidthAndStickyColumns(delta: number): void;
29
- static ɵfac: i0.ɵɵFactoryDeclaration<ResizeStrategy, never>;
30
- static ɵprov: i0.ɵɵInjectableDeclaration<ResizeStrategy>;
31
- }
32
- /**
33
- * The optimally performing resize strategy for &lt;table&gt; elements with table-layout: fixed.
34
- * Tested against and outperformed:
35
- * CSS selector
36
- * CSS selector w/ CSS variable
37
- * Updating all cell nodes
38
- */
39
- export declare class TableLayoutFixedResizeStrategy extends ResizeStrategy {
40
- protected readonly columnResize: ColumnResize;
41
- protected readonly styleScheduler: _CoalescedStyleScheduler;
42
- protected readonly table: CdkTable<unknown>;
43
- /** Inserted by Angular inject() migration for backwards compatibility */
44
- constructor(...args: unknown[]);
45
- applyColumnSize(_: string, columnHeader: HTMLElement, sizeInPx: number, previousSizeInPx?: number): void;
46
- applyMinColumnSize(_: string, columnHeader: HTMLElement, sizeInPx: number): void;
47
- applyMaxColumnSize(_: string, columnHeader: HTMLElement, sizeInPx: number): void;
48
- static ɵfac: i0.ɵɵFactoryDeclaration<TableLayoutFixedResizeStrategy, never>;
49
- static ɵprov: i0.ɵɵInjectableDeclaration<TableLayoutFixedResizeStrategy>;
50
- }
51
- /**
52
- * The optimally performing resize strategy for flex mat-tables.
53
- * Tested against and outperformed:
54
- * CSS selector w/ CSS variable
55
- * Updating all mat-cell nodes
56
- */
57
- export declare class CdkFlexTableResizeStrategy extends ResizeStrategy implements OnDestroy {
58
- protected readonly columnResize: ColumnResize;
59
- protected readonly styleScheduler: _CoalescedStyleScheduler;
60
- protected readonly table: CdkTable<unknown>;
61
- private readonly _nonce;
62
- private readonly _document;
63
- private readonly _columnIndexes;
64
- private readonly _columnProperties;
65
- private _styleElement?;
66
- private _indexSequence;
67
- protected readonly defaultMinSize = 0;
68
- protected readonly defaultMaxSize: number;
69
- applyColumnSize(cssFriendlyColumnName: string, columnHeader: HTMLElement, sizeInPx: number, previousSizeInPx?: number): void;
70
- applyMinColumnSize(cssFriendlyColumnName: string, _: HTMLElement, sizeInPx: number): void;
71
- applyMaxColumnSize(cssFriendlyColumnName: string, _: HTMLElement, sizeInPx: number): void;
72
- protected getColumnCssClass(cssFriendlyColumnName: string): string;
73
- ngOnDestroy(): void;
74
- private _getPropertyValue;
75
- private _getAppliedWidth;
76
- private _applyProperty;
77
- private _getStyleSheet;
78
- private _getColumnPropertiesMap;
79
- private _applySizeCss;
80
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkFlexTableResizeStrategy, never>;
81
- static ɵprov: i0.ɵɵInjectableDeclaration<CdkFlexTableResizeStrategy>;
82
- }
83
- export declare const TABLE_LAYOUT_FIXED_RESIZE_STRATEGY_PROVIDER: Provider;
84
- export declare const FLEX_RESIZE_STRATEGY_PROVIDER: Provider;
@@ -1,10 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright Google LLC All Rights Reserved.
4
- *
5
- * Use of this source code is governed by an MIT-style license that can be
6
- * found in the LICENSE file at https://angular.io/license
7
- */
8
- export declare const HEADER_CELL_SELECTOR = ".cdk-header-cell, .mat-header-cell";
9
- export declare const HEADER_ROW_SELECTOR = ".cdk-header-row, .mat-header-row";
10
- export declare const RESIZE_OVERLAY_SELECTOR = ".mat-column-resize-overlay-thumb";
@@ -1,45 +0,0 @@
1
- import { DateAdapter } from '@angular/material/core';
2
- export declare abstract class DatetimeAdapter<D> extends DateAdapter<D> {
3
- protected _delegate: DateAdapter<D, any>;
4
- abstract getHour(date: D): number;
5
- abstract getMinute(date: D): number;
6
- abstract getFirstDateOfMonth(date: D): D;
7
- abstract getWeek(date: D, firstDayOfWeek: number): number;
8
- abstract isInNextMonth(startDate: D, endDate: D): boolean;
9
- abstract getHourNames(): string[];
10
- abstract getMinuteNames(): string[];
11
- abstract addCalendarHours(date: D, months: number): D;
12
- abstract addCalendarMinutes(date: D, minutes: number): D;
13
- abstract createDatetime(year: number, month: number, date: number, hour: number, minute: number): D;
14
- getValidDateOrNull(obj: any): D | null;
15
- compareDatetime(first: D, second: D, respectMinutePart?: boolean): number | boolean;
16
- sameDatetime(first: D | null, second: D | null): boolean;
17
- sameYear(first: D, second: D): boolean;
18
- sameDay(first: D, second: D): boolean;
19
- sameHour(first: D, second: D): boolean;
20
- sameMinute(first: D, second: D): boolean;
21
- sameMonthAndYear(first: D | null, second: D | null): boolean;
22
- clone(date: D): D;
23
- addCalendarYears(date: D, years: number): D;
24
- addCalendarMonths(date: D, months: number): D;
25
- addCalendarDays(date: D, days: number): D;
26
- getYear(date: D): number;
27
- getMonth(date: D): number;
28
- getDate(date: D): number;
29
- getDayOfWeek(date: D): number;
30
- getMonthNames(style: any): string[];
31
- getDateNames(): string[];
32
- getDayOfWeekNames(style: any): string[];
33
- getYearName(date: D): string;
34
- getFirstDayOfWeek(): number;
35
- getNumDaysInMonth(date: D): number;
36
- createDate(year: number, month: number, date: number): D;
37
- today(): D;
38
- parse(value: any, parseFormat: any): D | null;
39
- format(date: D, displayFormat: any): string;
40
- toIso8601(date: D): string;
41
- isDateInstance(obj: any): boolean;
42
- isValid(date: D): boolean;
43
- invalid(): D;
44
- clampDate(date: D, min?: D | null, max?: D | null): D;
45
- }
@@ -1,22 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export interface MtxDatetimeFormats {
3
- parse: {
4
- dateInput?: any;
5
- monthInput?: any;
6
- yearInput?: any;
7
- timeInput?: any;
8
- datetimeInput?: any;
9
- };
10
- display: {
11
- dateInput: any;
12
- monthInput: any;
13
- yearInput?: any;
14
- timeInput: any;
15
- datetimeInput: any;
16
- monthYearLabel: any;
17
- dateA11yLabel: any;
18
- monthYearA11yLabel: any;
19
- popupHeaderDateLabel: any;
20
- };
21
- }
22
- export declare const MTX_DATETIME_FORMATS: InjectionToken<MtxDatetimeFormats>;
@@ -1,15 +0,0 @@
1
- import { Provider } from '@angular/core';
2
- import { MtxDatetimeFormats } from './datetime-formats';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@angular/material/core";
5
- export declare class NativeDatetimeModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<NativeDatetimeModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<NativeDatetimeModule, never, [typeof i1.NativeDateModule], never>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<NativeDatetimeModule>;
9
- }
10
- export declare function provideNativeDatetimeAdapter(formats?: MtxDatetimeFormats): Provider[];
11
- export declare class MtxNativeDatetimeModule {
12
- static ɵfac: i0.ɵɵFactoryDeclaration<MtxNativeDatetimeModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<MtxNativeDatetimeModule, never, never, never>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<MtxNativeDatetimeModule>;
15
- }
@@ -1,5 +0,0 @@
1
- export * from './datetime.module';
2
- export * from './datetime-adapter';
3
- export * from './datetime-formats';
4
- export * from './native-datetime-adapter';
5
- export * from './native-datetime-formats';
@@ -1,40 +0,0 @@
1
- import { DatetimeAdapter } from './datetime-adapter';
2
- import * as i0 from "@angular/core";
3
- export declare class NativeDatetimeAdapter extends DatetimeAdapter<Date> {
4
- /** Inserted by Angular inject() migration for backwards compatibility */
5
- constructor(...args: unknown[]);
6
- clone(date: Date): Date;
7
- getHour(date: Date): number;
8
- getMinute(date: Date): number;
9
- isInNextMonth(startDate: Date, endDate: Date): boolean;
10
- getWeek(date: Date, firstDayOfWeek: number): number;
11
- createDatetime(year: number, month: number, date: number, hour: number, minute: number): Date;
12
- getFirstDateOfMonth(date: Date): Date;
13
- getHourNames(): string[];
14
- getMinuteNames(): string[];
15
- addCalendarYears(date: Date, years: number): Date;
16
- addCalendarMonths(date: Date, months: number): Date;
17
- addCalendarDays(date: Date, days: number): Date;
18
- addCalendarHours(date: Date, hours: number): Date;
19
- addCalendarMinutes(date: Date, minutes: number): Date;
20
- toIso8601(date: Date): string;
21
- private getDateInNextMonth;
22
- /**
23
- * Strip out unicode LTR and RTL characters. Edge and IE insert these into formatted dates while
24
- * other browsers do not. We remove them to make output consistent and because they interfere with
25
- * date parsing.
26
- * @param str The string to strip direction characters from.
27
- * @returns The stripped string.
28
- */
29
- private _stripDirectionalityCharacters;
30
- /**
31
- * Pads a number to make it two digits.
32
- * @param n The number to pad.
33
- * @returns The padded number.
34
- */
35
- private _2digit;
36
- /** Creates a date but allows the month and date to overflow. */
37
- private _createDateWithOverflow;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<NativeDatetimeAdapter, never>;
39
- static ɵprov: i0.ɵɵInjectableDeclaration<NativeDatetimeAdapter>;
40
- }
@@ -1,2 +0,0 @@
1
- import { MtxDatetimeFormats } from './datetime-formats';
2
- export declare const MTX_NATIVE_DATETIME_FORMATS: MtxDatetimeFormats;
@@ -1,3 +0,0 @@
1
- export * from './pipes.module';
2
- export * from './to-observable.pipe';
3
- export * from './is-template-ref.pipe';
@@ -1,7 +0,0 @@
1
- import { PipeTransform, TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class MtxIsTemplateRefPipe implements PipeTransform {
4
- transform(obj: any): obj is TemplateRef<any>;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<MtxIsTemplateRefPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<MtxIsTemplateRefPipe, "isTemplateRef", true>;
7
- }
@@ -1,9 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "@angular/common";
3
- import * as i2 from "./to-observable.pipe";
4
- import * as i3 from "./is-template-ref.pipe";
5
- export declare class MtxPipesModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<MtxPipesModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<MtxPipesModule, never, [typeof i1.CommonModule, typeof i2.MtxToObservablePipe, typeof i3.MtxIsTemplateRefPipe], [typeof i2.MtxToObservablePipe, typeof i3.MtxIsTemplateRefPipe]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<MtxPipesModule>;
9
- }
@@ -1,8 +0,0 @@
1
- import { PipeTransform } from '@angular/core';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from "@angular/core";
4
- export declare class MtxToObservablePipe implements PipeTransform {
5
- transform(value: Observable<any> | unknown): Observable<any>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<MtxToObservablePipe, never>;
7
- static ɵpipe: i0.ɵɵPipeDeclaration<MtxToObservablePipe, "toObservable", true>;
8
- }
@@ -1,2 +0,0 @@
1
- export * from './datetime';
2
- export * from './pipes';
@@ -1,38 +0,0 @@
1
- @use 'sass:list';
2
- @use 'sass:map';
3
- @use '@angular/material' as mat;
4
-
5
- $_internals: _mat-theming-internals-do-not-access;
6
-
7
- /// Validates that the given value is a versioned theme object.
8
- /// @param {Any} $theme The theme object to validate.
9
- /// @return {Boolean|Null} true if the theme has errors, else null.
10
- @function _validate-theme-object($theme) {
11
- $err: mat.private-validate-type($theme, 'map') or
12
- map.get($theme, $_internals, theme-version) == null;
13
- @return if($err, true, null);
14
- }
15
-
16
- /// Gets the set of tokens from the given theme, limited to those affected by the requested theming
17
- /// systems.
18
- /// @param {Map} $theme The theme to get tokens from.
19
- /// @param {String...} $systems The theming systems to get tokens for. Valid values are: color,
20
- /// typography, density, base. If no systems are passed, all tokens will be returned.
21
- /// @return {Map} The requested tokens for the theme.
22
- @function get-theme-tokens($theme, $systems...) {
23
- $systems: if(list.length($systems) == 0, (color, typography, density, base), $systems);
24
- $err: _validate-theme-object($theme);
25
- @if $err {
26
- @error #{'Expected $theme to be an Angular Material theme object. Got:'} $theme;
27
- }
28
- $err: mat.private-validate-allowed-values($systems, color, typography, density, base);
29
- @if $err {
30
- @error #{'Expected $systems to contain valid system names (color, typography, density, or'}
31
- #{'base). Got invalid system names:'} $err;
32
- }
33
- $result: ();
34
- @each $system in $systems {
35
- $result: map.deep-merge($result, map.get($theme, $_internals, '#{$system}-tokens') or ());
36
- }
37
- @return $result;
38
- }
@@ -1,5 +0,0 @@
1
- @mixin selector-defined($msg) {
2
- @if #{&} == '' {
3
- @error $msg;
4
- }
5
- }
@@ -1,49 +0,0 @@
1
- @use 'sass:list';
2
- @use 'sass:map';
3
- @use '@angular/material' as mat;
4
-
5
- /// Maps namespaced tokens to per-density-scale values.
6
- /// This is used as a temporary solution for density, since Material Design currently does not have
7
- /// systemized density.
8
- /// Format:
9
- /// (
10
- /// (mdc, comp): (
11
- /// token: (<scale 0 value>, <scale -1 value>, <scale -2 value>, ...),
12
- /// ...
13
- /// ),
14
- /// ...
15
- /// )
16
- $_density-tokens: (
17
- );
18
-
19
- /// Gets the value for the given density scale from the given set of density values.
20
- /// @param {List} $density-values The list of values for each density scale.
21
- /// @param {Number} $scale The density scale to get the value for.
22
- /// @return {*} The value for the given scale.
23
- @function _get-value-for-scale($density-values, $scale) {
24
- $scale: mat.private-clamp-density($scale, -1 * list.length($density-values) + 1);
25
- $index: -$scale + 1;
26
- @return list.nth($density-values, $index);
27
- }
28
-
29
- /// Gets a map of all density tokens for the given scale
30
- /// @param {Number} $scale The density scale
31
- /// @return {Map} Map of all fully qualified density tokens for the given scale.
32
- @function get-tokens-for-scale($scale) {
33
- $result: ();
34
- @each $namespace, $tokens in $_density-tokens {
35
- @each $token, $density-values in $tokens {
36
- $tokens: map.set($tokens, $token, _get-value-for-scale($density-values, $scale));
37
- }
38
- $result: map.set($result, $namespace, $tokens);
39
- }
40
- @return $result;
41
- }
42
-
43
- /// Checks whether the given token is systemized by Angular Material's made up density system.
44
- /// @param {List} $namespace The namespace of the token
45
- /// @param {String} $token The name of the token
46
- /// @return {Boolean} Whether the token is systemized by the density system
47
- @function is-systemized($namespace, $token) {
48
- @return map.get($_density-tokens, $namespace, $token) != null;
49
- }
@@ -1,5 +0,0 @@
1
- // DO NOT REMOVE
2
- // This function is used internally.
3
- @function private-format-tokens($systems) {
4
- @return $systems;
5
- }
@@ -1,271 +0,0 @@
1
- @use 'sass:color';
2
- @use 'sass:list';
3
- @use 'sass:map';
4
- @use 'sass:meta';
5
- @use 'sass:math';
6
- @use '@angular/material' as mat;
7
- @use '../m2/typography' as m2-typography;
8
- @use './m3/definitions' as m3-token-definitions;
9
-
10
- // Indicates whether we're building internally. Used for backwards compatibility.
11
- $private-is-internal-build: false;
12
-
13
- $_placeholder-color-palette: mat.m2-define-palette(mat.$m2-red-palette);
14
-
15
- // Placeholder color config that can be passed to token getter functions when generating token
16
- // slots.
17
- $placeholder-color-config: (
18
- primary: $_placeholder-color-palette,
19
- accent: $_placeholder-color-palette,
20
- warn: $_placeholder-color-palette,
21
- is-dark: false,
22
- foreground: mat.$m2-light-theme-foreground-palette,
23
- background: mat.$m2-light-theme-background-palette,
24
- );
25
-
26
- $_placeholder-typography-level-config: m2-typography.typography-config-level-from-mdc(body1);
27
-
28
- // Placeholder typography config that can be passed to token getter functions when generating token
29
- // slots.
30
- $placeholder-typography-config: (
31
- font-family: 'Roboto, sans-serif',
32
- headline-1: $_placeholder-typography-level-config,
33
- headline-2: $_placeholder-typography-level-config,
34
- headline-3: $_placeholder-typography-level-config,
35
- headline-4: $_placeholder-typography-level-config,
36
- headline-5: $_placeholder-typography-level-config,
37
- headline-6: $_placeholder-typography-level-config,
38
- subtitle-1: $_placeholder-typography-level-config,
39
- subtitle-2: $_placeholder-typography-level-config,
40
- body-1: $_placeholder-typography-level-config,
41
- body-2: $_placeholder-typography-level-config,
42
- caption: $_placeholder-typography-level-config,
43
- button: $_placeholder-typography-level-config,
44
- overline: $_placeholder-typography-level-config,
45
- subheading-1: $_placeholder-typography-level-config,
46
- title: $_placeholder-typography-level-config,
47
- );
48
-
49
- // Placeholder density config that can be passed to token getter functions when generating token
50
- // slots.
51
- $placeholder-density-config: 0;
52
-
53
- $_tokens: null;
54
- $_component-prefix: null;
55
- $_system-fallbacks: null;
56
-
57
- /// Gets all the MDC token values for a specific component. This function serves as single
58
- /// point at which we directly reference a specific version of the MDC tokens.
59
- /// @param {String} $component Name of the component for which to get the tokens
60
- /// @param {Map} $systems The MDC system tokens
61
- /// @param {Boolean} $exclude-hardcoded Whether to exclude hardcoded token values
62
- /// @return {List} Map of token names to values
63
- @function get-mdc-tokens($component, $systems, $exclude-hardcoded) {
64
- $full-name: 'md-comp-' + $component + '-values';
65
- $fn: meta.get-function($name: $full-name, $module: 'm3-token-definitions');
66
- @return meta.call($fn, $systems, $exclude-hardcoded);
67
- }
68
-
69
- /// Gets the MDC tokens for the given prefix, M3 token values, and supported token slots.
70
- /// @param {List} $prefix The token prefix for the given tokens.
71
- /// @param {Map|(Map, Map)} $values A map of M3 token values for the given prefix.
72
- /// This param may also be a tuple of maps, the first one representing the default M3 token values,
73
- // and the second containing overrides for different color variants.
74
- // Single map example:
75
- // (token1: green, token2: 2px)
76
- // Tuple example:
77
- // (
78
- // (token1: green, token2: 2px),
79
- // (
80
- // secondary: (token1: blue),
81
- // error: (token1: red),
82
- // )
83
- // )
84
- /// @param {Map} $slots A map of token slots, with null value indicating the token is not supported.
85
- /// @param {String|null} $variant The name of the variant the token values are for.
86
- /// @return {Map} A map of fully qualified token names to values, for only the supported tokens.
87
- @function namespace-tokens($prefix, $values, $slots, $variant: null) {
88
- $result: ();
89
- @if $variant == null and meta.type-of($values) == 'list' and list.length($values == 2) {
90
- $variants: list.nth($values, 2);
91
- $values: list.nth($values, 1);
92
- @each $variant, $overrides in $variants {
93
- $result: map.merge($result, namespace-tokens($prefix, $overrides, $slots, $variant));
94
- }
95
- }
96
- $used-token-names: map.keys(_filter-nulls(map.get($slots, $prefix)));
97
- $used-m3-tokens: _pick(_filter-nulls($values), $used-token-names);
98
- $prefix: if($variant == null, $prefix, list.append($prefix, $variant));
99
- @return map.merge($result, ($prefix: $used-m3-tokens));
100
- }
101
-
102
- /// Hardcode the given value, or null if hardcoded values are excluded.
103
- @function hardcode($value, $exclude-hardcoded) {
104
- @return if($exclude-hardcoded, null, $value);
105
- }
106
-
107
- /// Sets all of the standard typography tokens for the given token base name to the given typography
108
- /// level.
109
- /// @param {Map} $systems The MDC system tokens
110
- /// @param {String} $base-name The token base name to get the typography tokens for
111
- /// @param {String} $typography-level The typography level to base the token values on
112
- /// @return {Map} A map containing the typography tokens for the given base token name
113
- @function generate-typography-tokens($systems, $base-name, $typography-level) {
114
- $result: ();
115
- @each $prop in (font, line-height, size, tracking, weight) {
116
- $result: map.set($result, #{$base-name}-#{$prop},
117
- map.get($systems, md-sys-typescale, #{$typography-level}-#{$prop}));
118
- }
119
- @return $result;
120
- }
121
-
122
- /// Maps the values in a map to new values using the given mapping function
123
- /// @param {Map} $map The maps whose values will be mapped to new values.
124
- /// @param {Function} $fn The value mapping function.
125
- /// @param {Map} A new map with its values updated using the mapping function.
126
- /* stylelint-disable-next-line scss/no-global-function-names */
127
- @function map-values($map, $fn) {
128
- $result: ();
129
- @each $key, $value in $map {
130
- $result: map.set($result, $key, meta.call($fn, $value));
131
- }
132
- @return $result;
133
- }
134
-
135
- /// Renames the keys in a map
136
- /// @param {Map} $map The map whose keys should be renamed
137
- /// @param {Map} $rename-keys A map of original key to renamed key to apply to $map
138
- /// @return {Map} The result of applying the given key renames to the given map.
139
- @function rename-map-keys($map, $rename-keys) {
140
- $result: $map;
141
- @each $old-key-name, $new-key-name in $rename-keys {
142
- @if map.has-key($map, $old-key-name) {
143
- $result: map.set($result, $new-key-name, map.get($map, $old-key-name));
144
- }
145
- }
146
- @return $result;
147
- }
148
-
149
- /// At the time of writing, some color tokens (e.g. disabled state) are defined as a solid color
150
- /// token and a separate opacity token. This function applies the opacity to the color and drops the
151
- /// opacity key from the map. Can be removed once b/213331407 is resolved.
152
- /// @param {Map} $tokens The map of tokens currently being generated
153
- /// @param {Map} $all-tokens A map of all tokens, including hardcoded values
154
- /// @param {List} $pairs Pairs of color token names and their opacities. Should be in the shape of
155
- /// `((color: 'color-key', opacity: 'opacity-key'))`.
156
- /// @return {Map} The initial tokens with the combined color values.
157
- @function combine-color-tokens($tokens, $opacity-lookup, $pairs) {
158
- $result: $tokens;
159
-
160
- @each $pair in $pairs {
161
- $color-key: map.get($pair, color);
162
- $opacity-key: map.get($pair, opacity);
163
- $color: map.get($tokens, $color-key);
164
-
165
- @if (mat.private-is-css-var-name($color)) {
166
- $color: var(#{$color});
167
- }
168
-
169
- $opacity: map.get($opacity-lookup, $opacity-key);
170
-
171
- @if(meta.type-of($color) == 'color') {
172
- $result: map.remove($result, $opacity-key);
173
- $result: map.set($result, $color-key, rgba($color, $opacity));
174
- }
175
- @else if($color != null) {
176
- $result: map.remove($result, $opacity-key);
177
- $combined-color: #{color-mix(in srgb, #{$color} #{($opacity * 100) + '%'}, transparent)};
178
- $result: map.set($result, $color-key, $combined-color);
179
- }
180
- }
181
-
182
- @return $result;
183
- }
184
-
185
- /// Inherited function from MDC that computes which contrast tone to use on top of a color.
186
- /// This is used only in a narrow set of use cases when generating M2 button tokens to maintain
187
- /// backwards compatibility.
188
- /// @param {Color} $value Color for which we're calculating the contrast tone.
189
- /// @param {Boolean} $is-dark Whether the current theme is dark.
190
- /// @return {Map} Either `dark` or `light`.
191
- @function contrast-tone($value, $is-dark) {
192
- @if ($value == 'dark') {
193
- @return 'light';
194
- }
195
-
196
- @if ($value == 'light') {
197
- @return 'dark';
198
- }
199
-
200
- // Fallback if the app is using a non-color palette (e.g. CSS variable based).
201
- @if (meta.type-of($value) != 'color') {
202
- @return if($is-dark, 'light', 'dark');
203
- }
204
-
205
- $minimum-contrast: 3.1;
206
- $light-contrast: _contrast($value, #fff);
207
- $dark-contrast: _contrast($value, rgba(0, 0, 0, 0.87));
208
-
209
- @if ($light-contrast < $minimum-contrast) and ($dark-contrast > $light-contrast) {
210
- @return 'dark';
211
- }
212
-
213
- @return 'light';
214
- }
215
-
216
- @function _linear-channel-value($channel-value) {
217
- $normalized-channel-value: math.div($channel-value, 255);
218
-
219
- @if ($normalized-channel-value < 0.03928) {
220
- @return math.div($normalized-channel-value, 12.92);
221
- }
222
-
223
- @return math.pow(math.div($normalized-channel-value + 0.055, 1.055), 2.4);
224
- }
225
-
226
- // Calculate the luminance for a color.
227
- // See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
228
- @function _luminance($color) {
229
- $red: _linear-channel-value(color.red($color));
230
- $green: _linear-channel-value(color.green($color));
231
- $blue: _linear-channel-value(color.blue($color));
232
-
233
- @return 0.2126 * $red + 0.7152 * $green + 0.0722 * $blue;
234
- }
235
-
236
- // Calculate the contrast ratio between two colors.
237
- // See https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests
238
- @function _contrast($back, $front) {
239
- $back-lum: _luminance($back) + 0.05;
240
- $fore-lum: _luminance($front) + 0.05;
241
-
242
- @return math.div(math.max($back-lum, $fore-lum), math.min($back-lum, $fore-lum));
243
- }
244
-
245
- /// Picks a submap containing only the given keys out the given map.
246
- /// @param {Map} $map The map to pick from.
247
- /// @param {List} $keys The map keys to pick.
248
- /// @return {Map} A submap containing only the given keys.
249
- @function _pick($map, $keys) {
250
- $result: ();
251
- @each $key in $keys {
252
- @if map.has-key($map, $key) {
253
- $result: map.set($result, $key, map.get($map, $key));
254
- }
255
- }
256
- @return $result;
257
- }
258
-
259
-
260
- /// Filters keys with a null value out of the map.
261
- /// @param {Map} $map The map to filter.
262
- /// @return {Map} The given map with all of the null keys filtered out.
263
- @function _filter-nulls($map) {
264
- $result: ();
265
- @each $key, $val in $map {
266
- @if $val != null {
267
- $result: map.set($result, $key, $val);
268
- }
269
- }
270
- @return $result;
271
- }