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

147
node_modules/ng-zorro-antd/mention/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,147 @@
import * as i0 from '@angular/core';
import { ElementRef, EventEmitter, ExistingProvider, OnInit, AfterViewInit, OnChanges, TemplateRef, QueryList, SimpleChanges } from '@angular/core';
import { Direction } from '@angular/cdk/bidi';
import { OnChangeType, OnTouchedType, NzSafeAny, NzStatus, NzVariant, NgClassInterface, NzValidateStatus } from 'ng-zorro-antd/core/types';
import { ControlValueAccessor } from '@angular/forms';
/**
* @deprecated Internally used, will be removed in v21, please do not use it.
*/
declare const NZ_MENTION_TRIGGER_ACCESSOR: ExistingProvider;
declare class NzMentionTriggerDirective implements ControlValueAccessor {
readonly elementRef: ElementRef<HTMLInputElement | HTMLTextAreaElement>;
private readonly ngZone;
private readonly cdr;
private readonly destroyRef;
readonly onFocusin: EventEmitter<FocusEvent>;
readonly onBlur: EventEmitter<FocusEvent>;
readonly onInput: EventEmitter<KeyboardEvent>;
readonly onKeydown: EventEmitter<KeyboardEvent>;
readonly onClick: EventEmitter<MouseEvent>;
readonly value: i0.WritableSignal<string>;
readonly disabled: i0.WritableSignal<boolean>;
constructor();
completeEvents(): void;
focus(caretPos?: number | null): void;
insertMention(mention: Mention): void;
clear(): void;
writeValue(value: string): void;
onChange: OnChangeType;
onTouched: OnTouchedType;
registerOnChange(fn: (value: string) => void): void;
registerOnTouched(fn: () => void): void;
setDisabledState(isDisabled: boolean): void;
private setupEventListener;
static ɵfac: i0.ɵɵFactoryDeclaration<NzMentionTriggerDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzMentionTriggerDirective, "input[nzMentionTrigger], textarea[nzMentionTrigger]", ["nzMentionTrigger"], {}, { "onFocusin": "onFocusin"; "onBlur": "onBlur"; "onInput": "onInput"; "onKeydown": "onKeydown"; "onClick": "onClick"; }, never, never, true, never>;
}
interface MentionOnSearchTypes {
value: string;
prefix: string;
}
interface Mention {
startPos: number;
endPos: number;
mention: string;
}
type MentionPlacement = 'top' | 'bottom';
declare class NzMentionComponent implements OnInit, AfterViewInit, OnChanges {
private ngZone;
private directionality;
private cdr;
private injector;
private viewContainerRef;
private elementRef;
private renderer;
private destroyRef;
nzValueWith: (value: NzSafeAny) => string;
nzPrefix: string | string[];
nzLoading: boolean;
nzNotFoundContent: string;
nzPlacement: MentionPlacement;
nzSuggestions: NzSafeAny[];
nzStatus: NzStatus;
nzVariant: NzVariant;
nzAllowClear: boolean;
nzClearIcon: TemplateRef<NzSafeAny> | null;
readonly nzOnSelect: EventEmitter<any>;
readonly nzOnSearchChange: EventEmitter<MentionOnSearchTypes>;
readonly nzOnClear: EventEmitter<void>;
suggestionsTemp?: TemplateRef<void>;
items: QueryList<ElementRef>;
set suggestionChild(value: TemplateRef<{
$implicit: NzSafeAny;
}>);
readonly trigger: i0.Signal<NzMentionTriggerDirective>;
isOpen: boolean;
filteredSuggestions: string[];
suggestionTemplate: TemplateRef<{
$implicit: NzSafeAny;
}> | null;
activeIndex: number;
dir: Direction;
prefixCls: string;
statusCls: NgClassInterface;
status: NzValidateStatus;
hasFeedback: boolean;
readonly focused: i0.WritableSignal<boolean>;
readonly disabled: i0.Signal<boolean>;
readonly hasValue: i0.Signal<boolean>;
private previousValue;
private cursorMention;
private cursorMentionStart?;
private cursorMentionEnd?;
private overlayRef;
private portal?;
private positionStrategy;
private overlayOutsideClickSubscription;
private document;
private get triggerNativeElement();
private get focusItemElement();
private nzFormStatusService;
private nzFormNoStatusService;
constructor();
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngAfterViewInit(): void;
closeDropdown(): void;
openDropdown(): void;
getMentions(): string[];
selectSuggestion(suggestion: string | {}): void;
clear(): void;
private handleInput;
private handleKeydown;
private handleClick;
private bindTriggerEvents;
private suggestionsFilter;
private resetDropdown;
private setNextItemActive;
private setPreviousItemActive;
private scrollToFocusItem;
private canOpen;
private resetCursorMention;
private updatePositions;
private subscribeOverlayOutsideClick;
private attachOverlay;
private getOverlayPosition;
private setStatusStyles;
static ɵfac: i0.ɵɵFactoryDeclaration<NzMentionComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzMentionComponent, "nz-mention", ["nzMention"], { "nzValueWith": { "alias": "nzValueWith"; "required": false; }; "nzPrefix": { "alias": "nzPrefix"; "required": false; }; "nzLoading": { "alias": "nzLoading"; "required": false; }; "nzNotFoundContent": { "alias": "nzNotFoundContent"; "required": false; }; "nzPlacement": { "alias": "nzPlacement"; "required": false; }; "nzSuggestions": { "alias": "nzSuggestions"; "required": false; }; "nzStatus": { "alias": "nzStatus"; "required": false; }; "nzVariant": { "alias": "nzVariant"; "required": false; }; "nzAllowClear": { "alias": "nzAllowClear"; "required": false; }; "nzClearIcon": { "alias": "nzClearIcon"; "required": false; }; }, { "nzOnSelect": "nzOnSelect"; "nzOnSearchChange": "nzOnSearchChange"; "nzOnClear": "nzOnClear"; }, ["trigger", "suggestionChild"], ["*"], true, never>;
static ngAcceptInputType_nzLoading: unknown;
static ngAcceptInputType_nzAllowClear: unknown;
}
declare class NzMentionSuggestionDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzMentionSuggestionDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzMentionSuggestionDirective, "[nzMentionSuggestion]", ["nzMentionSuggestion"], {}, {}, never, never, true, never>;
}
declare class NzMentionModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NzMentionModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NzMentionModule, never, [typeof NzMentionComponent, typeof NzMentionTriggerDirective, typeof NzMentionSuggestionDirective], [typeof NzMentionComponent, typeof NzMentionTriggerDirective, typeof NzMentionSuggestionDirective]>;
static ɵinj: i0.ɵɵInjectorDeclaration<NzMentionModule>;
}
export { NZ_MENTION_TRIGGER_ACCESSOR, NzMentionComponent, NzMentionModule, NzMentionSuggestionDirective, NzMentionTriggerDirective };
export type { Mention, MentionOnSearchTypes, MentionPlacement };

3
node_modules/ng-zorro-antd/mention/package.json generated vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"module": "../fesm2022/ng-zorro-antd-mention.mjs"
}

2
node_modules/ng-zorro-antd/mention/style/entry.less generated vendored Normal file
View File

@@ -0,0 +1,2 @@
@import './index.less';
@import "./patch";

367
node_modules/ng-zorro-antd/mention/style/index.css generated vendored Normal file
View File

@@ -0,0 +1,367 @@
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions,
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover {
background: #fff;
border-color: #ff4d4f;
}
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus,
.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {
border-color: #ff7875;
box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
border-right-width: 1px;
outline: 0;
}
.ant-mentions-status-error .ant-input-prefix {
color: #ff4d4f;
}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions,
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:hover {
background: #fff;
border-color: #faad14;
}
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus,
.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions-focused {
border-color: #ffc53d;
box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
border-right-width: 1px;
outline: 0;
}
.ant-mentions-status-warning .ant-input-prefix {
color: #faad14;
}
.ant-mentions {
box-sizing: border-box;
margin: 0;
font-variant: tabular-nums;
list-style: none;
font-feature-settings: 'tnum';
width: 100%;
min-width: 0;
padding: 4px 11px;
color: rgba(0, 0, 0, 0.85);
font-size: 14px;
background-color: #fff;
background-image: none;
border: 1px solid #d9d9d9;
border-radius: 2px;
transition: all 0.3s;
position: relative;
display: inline-block;
height: auto;
padding: 0;
overflow: hidden;
line-height: 1.5715;
white-space: pre-wrap;
vertical-align: bottom;
}
.ant-mentions::placeholder {
color: #bfbfbf;
user-select: none;
}
.ant-mentions:placeholder-shown {
text-overflow: ellipsis;
}
.ant-mentions:hover {
border-color: #40a9ff;
border-right-width: 1px;
}
.ant-mentions:focus,
.ant-mentions-focused {
border-color: #40a9ff;
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
border-right-width: 1px;
outline: 0;
}
.ant-mentions-disabled {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #d9d9d9;
box-shadow: none;
cursor: not-allowed;
opacity: 1;
}
.ant-mentions-disabled:hover {
border-color: #d9d9d9;
border-right-width: 1px;
}
.ant-mentions[disabled] {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #d9d9d9;
box-shadow: none;
cursor: not-allowed;
opacity: 1;
}
.ant-mentions[disabled]:hover {
border-color: #d9d9d9;
border-right-width: 1px;
}
.ant-mentions.ant-mentions-borderless,
.ant-mentions.ant-mentions-borderless:hover,
.ant-mentions.ant-mentions-borderless:focus,
.ant-mentions.ant-mentions-borderless.ant-mentions-focused,
.ant-mentions.ant-mentions-borderless.ant-mentions-disabled,
.ant-mentions.ant-mentions-borderless.ant-mentions[disabled] {
background-color: transparent;
border: none;
box-shadow: none;
}
.ant-mentions.ant-mentions-filled {
background-color: #f5f5f5;
border-color: transparent;
box-shadow: none;
}
.ant-mentions.ant-mentions-filled:hover {
background-color: #f0f0f0;
}
.ant-mentions.ant-mentions-filled:focus,
.ant-mentions.ant-mentions-filled.ant-mentions-focused {
border-color: #40a9ff;
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
border-right-width: 1px;
outline: 0;
background-color: transparent;
box-shadow: none;
}
.ant-mentions.ant-mentions-filled.ant-mentions-disabled,
.ant-mentions.ant-mentions-filled.ant-mentions[disabled] {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #d9d9d9;
box-shadow: none;
cursor: not-allowed;
opacity: 1;
}
.ant-mentions.ant-mentions-filled.ant-mentions-disabled:hover,
.ant-mentions.ant-mentions-filled.ant-mentions[disabled]:hover {
border-color: #d9d9d9;
border-right-width: 1px;
}
.ant-mentions.ant-mentions-underlined,
.ant-mentions.ant-mentions-underlined:hover,
.ant-mentions.ant-mentions-underlined:focus,
.ant-mentions.ant-mentions-underlined.ant-mentions-focused,
.ant-mentions.ant-mentions-underlined.ant-mentions-disabled,
.ant-mentions.ant-mentions-underlined.ant-mentions[disabled] {
background-color: transparent;
border-width: 0 0 1px;
border-radius: 0;
box-shadow: none;
}
.ant-mentions.ant-mentions-underlined:hover:not(.ant-mentions-focused):not(:focus) {
border-color: #d9d9d9;
}
textarea.ant-mentions {
max-width: 100%;
height: auto;
min-height: 32px;
line-height: 1.5715;
vertical-align: bottom;
transition: all 0.3s, height 0s;
}
.ant-mentions-lg {
padding: 6.5px 11px;
font-size: 16px;
}
.ant-mentions-sm {
padding: 0px 7px;
}
.ant-mentions-disabled > .ant-input {
color: rgba(0, 0, 0, 0.25);
background-color: #f5f5f5;
border-color: #d9d9d9;
box-shadow: none;
cursor: not-allowed;
opacity: 1;
}
.ant-mentions-disabled > .ant-input:hover {
border-color: #d9d9d9;
border-right-width: 1px;
}
.ant-mentions-focused {
border-color: #40a9ff;
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
border-right-width: 1px;
outline: 0;
}
.ant-mentions > .ant-input,
.ant-mentions-measure {
min-height: 30px;
margin: 0;
padding: 4px 11px;
overflow: inherit;
overflow-x: hidden;
overflow-y: auto;
/* stylelint-disable declaration-block-no-redundant-longhand-properties */
font-weight: inherit;
font-size: inherit;
font-family: inherit;
font-style: inherit;
font-variant: inherit;
font-size-adjust: inherit;
font-stretch: inherit;
line-height: inherit;
/* stylelint-enable declaration-block-no-redundant-longhand-properties */
direction: inherit;
letter-spacing: inherit;
white-space: inherit;
text-align: inherit;
vertical-align: top;
word-wrap: break-word;
word-break: inherit;
tab-size: inherit;
}
.ant-mentions > .ant-input {
width: 100%;
background-color: inherit;
border: none;
outline: none;
resize: none;
}
.ant-mentions > .ant-input::placeholder {
color: #bfbfbf;
user-select: none;
}
.ant-mentions > .ant-input:placeholder-shown {
text-overflow: ellipsis;
}
.ant-mentions-measure {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -1;
color: transparent;
pointer-events: none;
}
.ant-mentions-measure > span {
display: inline-block;
min-height: 1em;
}
.ant-mentions-dropdown {
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-variant: tabular-nums;
line-height: 1.5715;
list-style: none;
font-feature-settings: 'tnum';
position: absolute;
top: -9999px;
left: -9999px;
z-index: 1050;
box-sizing: border-box;
font-size: 14px;
font-variant: initial;
background-color: #fff;
border-radius: 2px;
outline: none;
box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
}
.ant-mentions-dropdown-hidden {
display: none;
}
.ant-mentions-dropdown-menu {
max-height: 250px;
margin-bottom: 0;
padding-left: 0;
overflow: auto;
list-style: none;
outline: none;
}
.ant-mentions-dropdown-menu-item {
position: relative;
display: block;
min-width: 100px;
padding: 5px 12px;
overflow: hidden;
color: rgba(0, 0, 0, 0.85);
font-weight: normal;
line-height: 1.5715;
white-space: nowrap;
text-overflow: ellipsis;
cursor: pointer;
transition: background 0.3s ease;
}
.ant-mentions-dropdown-menu-item:hover {
background-color: #f5f5f5;
}
.ant-mentions-dropdown-menu-item:first-child {
border-radius: 2px 2px 0 0;
}
.ant-mentions-dropdown-menu-item:last-child {
border-radius: 0 0 2px 2px;
}
.ant-mentions-dropdown-menu-item-disabled {
color: rgba(0, 0, 0, 0.25);
cursor: not-allowed;
}
.ant-mentions-dropdown-menu-item-disabled:hover {
color: rgba(0, 0, 0, 0.25);
background-color: #fff;
cursor: not-allowed;
}
.ant-mentions-dropdown-menu-item-selected {
color: rgba(0, 0, 0, 0.85);
font-weight: 600;
background-color: #fafafa;
}
.ant-mentions-dropdown-menu-item-active {
background-color: #f5f5f5;
}
.ant-mentions-suffix {
position: absolute;
top: 0;
right: 11px;
bottom: 0;
z-index: 1;
display: inline-flex;
align-items: center;
margin: auto;
}
.ant-mentions-clear-icon {
padding: 0;
color: rgba(0, 0, 0, 0.25);
font-size: 12px;
line-height: 0;
vertical-align: -1px;
background-color: transparent;
border: none;
outline: none;
cursor: pointer;
transition: color 0.3s;
}
.ant-mentions-clear-icon:hover {
color: rgba(0, 0, 0, 0.45);
}
.ant-mentions-rtl {
direction: rtl;
}
.ant-mentions-dropdown {
position: relative;
top: 100%;
left: 12px;
width: 100%;
margin-top: 8px;
margin-bottom: 4px;
}
.ant-mentions:focus-within {
border-color: #40a9ff;
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
border-right-width: 1px;
outline: 0;
}
.ant-mentions.ant-mentions-status-error:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus-within {
border-color: #ff7875;
box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
border-right-width: 1px;
outline: 0;
}
.ant-mentions.ant-mentions-status-warning:not(.ant-mentions-disabled):not(.ant-mentions-borderless).ant-mentions:focus-within {
border-color: #ffc53d;
box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
border-right-width: 1px;
outline: 0;
}

199
node_modules/ng-zorro-antd/mention/style/index.less generated vendored Normal file
View File

@@ -0,0 +1,199 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@import '../../input/style/mixin';
@import './status';
@mention-prefix-cls: ~'@{ant-prefix}-mentions';
.@{mention-prefix-cls} {
.reset-component();
.input();
position: relative;
display: inline-block;
height: auto;
padding: 0;
overflow: hidden;
line-height: @line-height-base;
white-space: pre-wrap;
vertical-align: bottom;
// =================== Status ===================
&-disabled {
> .@{ant-prefix}-input {
.disabled();
}
}
&-focused {
.active();
}
// ================= Input Area =================
> .@{ant-prefix}-input,
&-measure {
min-height: @input-height-base - 2px;
margin: 0;
padding: @input-padding-vertical-base @input-padding-horizontal-base;
overflow: inherit;
overflow-x: hidden;
overflow-y: auto;
/* stylelint-disable declaration-block-no-redundant-longhand-properties */
font-weight: inherit;
font-size: inherit;
font-family: inherit;
font-style: inherit;
font-variant: inherit;
font-size-adjust: inherit;
font-stretch: inherit;
line-height: inherit;
/* stylelint-enable declaration-block-no-redundant-longhand-properties */
direction: inherit;
letter-spacing: inherit;
white-space: inherit;
text-align: inherit;
vertical-align: top;
word-wrap: break-word;
word-break: inherit;
tab-size: inherit;
}
> .@{ant-prefix}-input {
width: 100%;
background-color: inherit;
border: none;
outline: none;
resize: none;
& when (@theme = dark) {
background-color: transparent;
}
.placeholder();
}
&-measure {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -1;
color: transparent;
pointer-events: none;
> span {
display: inline-block;
min-height: 1em;
}
}
// ================== Dropdown ==================
&-dropdown {
// Ref select dropdown style
.reset-component();
position: absolute;
top: -9999px;
left: -9999px;
z-index: @zindex-dropdown;
box-sizing: border-box;
font-size: @font-size-base;
font-variant: initial;
background-color: @mentions-dropdown-bg;
border-radius: @border-radius-base;
outline: none;
box-shadow: @box-shadow-base;
&-hidden {
display: none;
}
&-menu {
max-height: 250px;
margin-bottom: 0;
padding-left: 0; // Override default ul/ol
overflow: auto;
list-style: none;
outline: none;
&-item {
position: relative;
display: block;
min-width: 100px;
padding: 5px @control-padding-horizontal;
overflow: hidden;
color: @text-color;
font-weight: normal;
line-height: @line-height-base;
white-space: nowrap;
text-overflow: ellipsis;
cursor: pointer;
transition: background 0.3s ease;
&:hover {
background-color: @item-hover-bg;
}
&:first-child {
border-radius: @border-radius-base @border-radius-base 0 0;
}
&:last-child {
border-radius: 0 0 @border-radius-base @border-radius-base;
}
&-disabled {
color: @disabled-color;
cursor: not-allowed;
&:hover {
color: @disabled-color;
background-color: @mentions-dropdown-menu-item-hover-bg;
cursor: not-allowed;
}
}
&-selected {
color: @text-color;
font-weight: @select-item-selected-font-weight;
background-color: @background-color-light;
}
&-active {
background-color: @item-hover-bg;
}
}
}
}
&-suffix {
position: absolute;
top: 0;
right: @input-padding-horizontal-base;
bottom: 0;
z-index: 1;
display: inline-flex;
align-items: center;
margin: auto;
}
&-clear-icon {
padding: 0;
color: @disabled-color;
font-size: @font-size-sm;
line-height: 0;
vertical-align: -1px;
background-color: transparent;
border: none;
outline: none;
cursor: pointer;
transition: color 0.3s;
&:hover {
color: @text-color-secondary;
}
}
}
@import './rtl';

File diff suppressed because one or more lines are too long

30
node_modules/ng-zorro-antd/mention/style/patch.less generated vendored Normal file
View File

@@ -0,0 +1,30 @@
.@{mention-prefix-cls} {
&-dropdown {
position: relative;
top: 100%;
left: 12px;
width: 100%;
margin-top: 8px;
margin-bottom: 4px;
}
&:focus-within {
.active();
}
&&-status-error {
&:not(.@{mention-prefix-cls}-disabled):not(.@{mention-prefix-cls}-borderless).@{mention-prefix-cls} {
&:focus-within {
.active(@error-color, @error-color-hover, @error-color-outline);
}
}
}
&&-status-warning {
&:not(.@{mention-prefix-cls}-disabled):not(.@{mention-prefix-cls}-borderless).@{mention-prefix-cls} {
&:focus-within {
.active(@warning-color, @warning-color-hover, @warning-color-outline);
}
}
}
}

10
node_modules/ng-zorro-antd/mention/style/rtl.less generated vendored Normal file
View File

@@ -0,0 +1,10 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@mention-prefix-cls: ~'@{ant-prefix}-mentions';
.@{mention-prefix-cls} {
&-rtl {
direction: rtl;
}
}

16
node_modules/ng-zorro-antd/mention/style/status.less generated vendored Normal file
View File

@@ -0,0 +1,16 @@
@import '../../input/style/mixin';
@mention-prefix-cls: ~'@{ant-prefix}-mentions';
@input-prefix-cls: ~'@{ant-prefix}-input';
.@{mention-prefix-cls} {
&-status-error {
.status-color(@mention-prefix-cls, @error-color, @error-color, @input-bg, @error-color-hover, @error-color-outline);
.status-color-common(@input-prefix-cls, @error-color, @error-color, @input-bg, @error-color-hover, @error-color-outline);
}
&-status-warning {
.status-color(@mention-prefix-cls, @warning-color, @warning-color, @input-bg, @warning-color-hover, @warning-color-outline);
.status-color-common(@input-prefix-cls, @warning-color, @warning-color, @input-bg, @warning-color-hover, @warning-color-outline);
}
}