source: trip-planner-front/node_modules/@angular/material/esm2015/form-field/form-field-errors.js

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 2.3 KB
Line 
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/** @docs-private */
9export function getMatFormFieldPlaceholderConflictError() {
10 return Error('Placeholder attribute and child element were both specified.');
11}
12/** @docs-private */
13export function getMatFormFieldDuplicatedHintError(align) {
14 return Error(`A hint was already declared for 'align="${align}"'.`);
15}
16/** @docs-private */
17export function getMatFormFieldMissingControlError() {
18 return Error('mat-form-field must contain a MatFormFieldControl.');
19}
20//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9ybS1maWVsZC1lcnJvcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbWF0ZXJpYWwvZm9ybS1maWVsZC9mb3JtLWZpZWxkLWVycm9ycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSCxvQkFBb0I7QUFDcEIsTUFBTSxVQUFVLHVDQUF1QztJQUNyRCxPQUFPLEtBQUssQ0FBQyw4REFBOEQsQ0FBQyxDQUFDO0FBQy9FLENBQUM7QUFFRCxvQkFBb0I7QUFDcEIsTUFBTSxVQUFVLGtDQUFrQyxDQUFDLEtBQWE7SUFDOUQsT0FBTyxLQUFLLENBQUMsMkNBQTJDLEtBQUssS0FBSyxDQUFDLENBQUM7QUFDdEUsQ0FBQztBQUVELG9CQUFvQjtBQUNwQixNQUFNLFVBQVUsa0NBQWtDO0lBQ2hELE9BQU8sS0FBSyxDQUFDLG9EQUFvRCxDQUFDLENBQUM7QUFDckUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2V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