angular/packages/common/src
arturovt 9b7cb227ff refactor(common): drop enums by changing to const enum (#59468)
Note: this enums are not a part of the public API.

Prior to this commit, the compiler produced:

```js
var DateType;
(function (DateType) {
    DateType[DateType["FullYear"] = 0] = "FullYear";
    DateType[DateType["Month"] = 1] = "Month";
    DateType[DateType["Date"] = 2] = "Date";
    DateType[DateType["Hours"] = 3] = "Hours";
    DateType[DateType["Minutes"] = 4] = "Minutes";
    DateType[DateType["Seconds"] = 5] = "Seconds";
    DateType[DateType["FractionalSeconds"] = 6] = "FractionalSeconds";
    DateType[DateType["Day"] = 7] = "Day";
})(DateType || (DateType = {}));
```

With these changes, we allow objects to be dropped entirely and inlined.

PR Close #59468
2025-01-13 11:14:27 -05:00
..
directives refactor(common): drop PRELOADED_IMAGES name in production (#59425) 2025-01-08 16:12:02 +00:00
i18n refactor(common): drop enums by changing to const enum (#59468) 2025-01-13 11:14:27 -05:00
location refactor(docs-infra): convert code-example-s that have only region param to @example-s (#59004) 2024-12-04 18:06:00 +01:00
navigation refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
pipes refactor(docs-infra): convert code-example-s that have only region param to @example-s (#59004) 2024-12-04 18:06:00 +01:00
common.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
common_module.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
cookie.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
dom_adapter.ts refactor: remove unnecessary TSLint rule flags (#59365) 2025-01-07 16:06:21 +00:00
dom_tokens.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
errors.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
platform_id.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
private_export.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
version.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
viewport_scroller.ts refactor(common): drop NullViewportScroller for client bundles (#59440) 2025-01-09 12:33:05 -05:00
xhr.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00