This commit is contained in:
CHEVALLIER Abel
2025-11-13 16:23:22 +01:00
parent de9c515a47
commit cb235644dc
34924 changed files with 3811102 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
"use strict";
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.CarouselTemplateRule = void 0;
const schematics_1 = require("@angular/cdk/schematics");
class CarouselTemplateRule extends schematics_1.Migration {
constructor() {
super(...arguments);
this.enabled = false;
}
visitTemplate(template) {
(0, schematics_1.findInputsOnElementWithTag)(template.content, 'nzVertical', ['nz-carousel'])
.forEach(offset => {
this.failures.push({
filePath: template.filePath,
position: template.getCharacterAndLineOfPosition(offset),
message: `Found deprecated "[nzVertical]" input. Use "[nzDotPosition]" to instead please.`
});
});
}
}
exports.CarouselTemplateRule = CarouselTemplateRule;
//# sourceMappingURL=carousel-like-template-rule.js.map