/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { DefaultIterableDifferFactory } from './differs/default_iterable_differ'; import { DefaultKeyValueDifferFactory } from './differs/default_keyvalue_differ'; import { IterableDiffers } from './differs/iterable_differs'; import { KeyValueDiffers } from './differs/keyvalue_differs'; export { SimpleChange } from '../interface/simple_change'; export { devModeEqual } from '../util/comparison'; export { ChangeDetectorRef } from './change_detector_ref'; export { ChangeDetectionStrategy } from './constants'; export { DefaultIterableDiffer, DefaultIterableDifferFactory } from './differs/default_iterable_differ'; export { DefaultKeyValueDifferFactory } from './differs/default_keyvalue_differ'; export { IterableDiffers } from './differs/iterable_differs'; export { KeyValueDiffers } from './differs/keyvalue_differs'; /** * Structural diffing for `Object`s and `Map`s. */ const keyValDiff = [new DefaultKeyValueDifferFactory()]; /** * Structural diffing for `Iterable` types such as `Array`s. */ const iterableDiff = [new DefaultIterableDifferFactory()]; export const defaultIterableDiffers = new IterableDiffers(iterableDiff); export const defaultKeyValueDiffers = new KeyValueDiffers(keyValDiff); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbmdlX2RldGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvcmUvc3JjL2NoYW5nZV9kZXRlY3Rpb24vY2hhbmdlX2RldGVjdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSCxPQUFPLEVBQUMsNEJBQTRCLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQztBQUMvRSxPQUFPLEVBQUMsNEJBQTRCLEVBQUMsTUFBTSxtQ0FBbUMsQ0FBQztBQUMvRSxPQUFPLEVBQXdCLGVBQWUsRUFBQyxNQUFNLDRCQUE0QixDQUFDO0FBQ2xGLE9BQU8sRU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