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

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

@@ -0,0 +1,61 @@
import * as i0 from '@angular/core';
import { OnInit, TemplateRef, OnDestroy, AfterViewInit, QueryList } from '@angular/core';
import { Direction } from '@angular/cdk/bidi';
import { TemplatePortal, CdkPortalOutlet } from '@angular/cdk/portal';
/**
* 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
*/
declare class NzCommentAvatarDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzCommentAvatarDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzCommentAvatarDirective, "nz-avatar[nz-comment-avatar]", ["nzCommentAvatar"], {}, {}, never, never, true, never>;
}
declare class NzCommentContentDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzCommentContentDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzCommentContentDirective, "nz-comment-content, [nz-comment-content]", ["nzCommentContent"], {}, {}, never, never, true, never>;
}
declare class NzCommentActionHostDirective extends CdkPortalOutlet implements OnInit, OnDestroy, AfterViewInit {
nzCommentActionHost?: TemplatePortal | null;
ngOnInit(): void;
ngOnDestroy(): void;
ngAfterViewInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzCommentActionHostDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzCommentActionHostDirective, "[nzCommentActionHost]", ["nzCommentActionHost"], { "nzCommentActionHost": { "alias": "nzCommentActionHost"; "required": false; }; }, {}, never, never, true, never>;
}
declare class NzCommentActionComponent implements OnInit {
implicitContent: TemplateRef<void>;
private viewContainerRef;
private contentPortal;
get content(): TemplatePortal | null;
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzCommentActionComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzCommentActionComponent, "nz-comment-action", ["nzCommentAction"], {}, {}, never, ["*"], true, never>;
}
/**
* 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
*/
declare class NzCommentComponent implements OnInit {
private destroyRef;
private cdr;
private directionality;
nzAuthor?: string | TemplateRef<void>;
nzDatetime?: string | TemplateRef<void>;
dir: Direction;
actions: QueryList<NzCommentActionComponent>;
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzCommentComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzCommentComponent, "nz-comment", ["nzComment"], { "nzAuthor": { "alias": "nzAuthor"; "required": false; }; "nzDatetime": { "alias": "nzDatetime"; "required": false; }; }, {}, ["actions"], ["nz-avatar[nz-comment-avatar]", "nz-comment-content", "*"], true, never>;
}
declare class NzCommentModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NzCommentModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NzCommentModule, never, [typeof NzCommentComponent, typeof NzCommentAvatarDirective, typeof NzCommentContentDirective, typeof NzCommentActionComponent, typeof NzCommentActionHostDirective], [typeof NzCommentComponent, typeof NzCommentAvatarDirective, typeof NzCommentContentDirective, typeof NzCommentActionComponent, typeof NzCommentActionHostDirective]>;
static ɵinj: i0.ɵɵInjectorDeclaration<NzCommentModule>;
}
export { NzCommentActionComponent, NzCommentActionHostDirective, NzCommentAvatarDirective, NzCommentComponent, NzCommentContentDirective, NzCommentModule };

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

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

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

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

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

@@ -0,0 +1,113 @@
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
.ant-comment {
position: relative;
background-color: inherit;
}
.ant-comment-inner {
display: flex;
padding: 16px 0;
}
.ant-comment-avatar {
position: relative;
flex-shrink: 0;
margin-right: 12px;
cursor: pointer;
}
.ant-comment-avatar img {
width: 32px;
height: 32px;
border-radius: 50%;
}
.ant-comment-content {
position: relative;
flex: 1 1 auto;
min-width: 1px;
font-size: 14px;
word-wrap: break-word;
}
.ant-comment-content-author {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
margin-bottom: 4px;
font-size: 14px;
}
.ant-comment-content-author > a,
.ant-comment-content-author > span {
padding-right: 8px;
font-size: 12px;
line-height: 18px;
}
.ant-comment-content-author-name {
color: rgba(0, 0, 0, 0.45);
font-size: 14px;
transition: color 0.3s;
}
.ant-comment-content-author-name > * {
color: rgba(0, 0, 0, 0.45);
}
.ant-comment-content-author-name > *:hover {
color: rgba(0, 0, 0, 0.45);
}
.ant-comment-content-author-time {
color: #ccc;
white-space: nowrap;
cursor: auto;
}
.ant-comment-content-detail p {
margin-bottom: inherit;
white-space: pre-wrap;
}
.ant-comment-actions {
margin-top: 12px;
margin-bottom: inherit;
padding-left: 0;
}
.ant-comment-actions > li {
display: inline-block;
color: rgba(0, 0, 0, 0.45);
}
.ant-comment-actions > li > span {
margin-right: 10px;
color: rgba(0, 0, 0, 0.45);
font-size: 12px;
cursor: pointer;
transition: color 0.3s;
user-select: none;
}
.ant-comment-actions > li > span:hover {
color: #595959;
}
.ant-comment-nested {
margin-left: 44px;
}
.ant-comment-rtl {
direction: rtl;
}
.ant-comment-rtl .ant-comment-avatar {
margin-right: 0;
margin-left: 12px;
}
.ant-comment-rtl .ant-comment-content-author > a,
.ant-comment-rtl .ant-comment-content-author > span {
padding-right: 0;
padding-left: 8px;
}
.ant-comment-rtl .ant-comment-actions {
padding-right: 0;
}
.ant-comment-rtl .ant-comment-actions > li > span {
margin-right: 0;
margin-left: 10px;
}
.ant-comment-rtl .ant-comment-nested {
margin-right: 44px;
margin-left: 0;
}
nz-comment {
display: block;
}
nz-comment-content {
display: block;
}

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

@@ -0,0 +1,105 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@comment-prefix-cls: ~'@{ant-prefix}-comment';
.@{comment-prefix-cls} {
position: relative;
background-color: @comment-bg;
&-inner {
display: flex;
padding: @comment-padding-base;
}
&-avatar {
position: relative;
flex-shrink: 0;
margin-right: @margin-sm;
cursor: pointer;
img {
width: 32px;
height: 32px;
border-radius: 50%;
}
}
&-content {
position: relative;
flex: 1 1 auto;
min-width: 1px;
font-size: @comment-font-size-base;
word-wrap: break-word;
&-author {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
margin-bottom: @margin-xss;
font-size: @comment-font-size-base;
& > a,
& > span {
padding-right: @padding-xs;
font-size: @comment-font-size-sm;
line-height: 18px;
}
&-name {
color: @comment-author-name-color;
font-size: @comment-font-size-base;
transition: color 0.3s;
> * {
color: @comment-author-name-color;
&:hover {
color: @comment-author-name-color;
}
}
}
&-time {
color: @comment-author-time-color;
white-space: nowrap;
cursor: auto;
}
}
&-detail p {
margin-bottom: @comment-content-detail-p-margin-bottom;
white-space: pre-wrap;
}
}
&-actions {
margin-top: @comment-actions-margin-top;
margin-bottom: @comment-actions-margin-bottom;
padding-left: 0;
> li {
display: inline-block;
color: @comment-action-color;
> span {
margin-right: 10px;
color: @comment-action-color;
font-size: @comment-font-size-sm;
cursor: pointer;
transition: color 0.3s;
user-select: none;
&:hover {
color: @comment-action-hover-color;
}
}
}
}
&-nested {
margin-left: @comment-nest-indent;
}
}
@import './rtl';

View File

@@ -0,0 +1 @@
.ant-comment{position:relative;background-color:inherit}.ant-comment-inner{display:flex;padding:16px 0}.ant-comment-avatar{position:relative;flex-shrink:0;margin-right:12px;cursor:pointer}.ant-comment-avatar img{width:32px;height:32px;border-radius:50%}.ant-comment-content{position:relative;flex:1 1 auto;min-width:1px;font-size:14px;word-wrap:break-word}.ant-comment-content-author{display:flex;flex-wrap:wrap;justify-content:flex-start;margin-bottom:4px;font-size:14px}.ant-comment-content-author>a,.ant-comment-content-author>span{padding-right:8px;font-size:12px;line-height:18px}.ant-comment-content-author-name{color:rgba(0,0,0,.45);font-size:14px;transition:color .3s}.ant-comment-content-author-name>*{color:rgba(0,0,0,.45)}.ant-comment-content-author-name>:hover{color:rgba(0,0,0,.45)}.ant-comment-content-author-time{color:#ccc;white-space:nowrap;cursor:auto}.ant-comment-content-detail p{margin-bottom:inherit;white-space:pre-wrap}.ant-comment-actions{margin-top:12px;margin-bottom:inherit;padding-left:0}.ant-comment-actions>li{display:inline-block;color:rgba(0,0,0,.45)}.ant-comment-actions>li>span{margin-right:10px;color:rgba(0,0,0,.45);font-size:12px;cursor:pointer;transition:color .3s;user-select:none}.ant-comment-actions>li>span:hover{color:#595959}.ant-comment-nested{margin-left:44px}.ant-comment-rtl{direction:rtl}.ant-comment-rtl .ant-comment-avatar{margin-right:0;margin-left:12px}.ant-comment-rtl .ant-comment-content-author>a,.ant-comment-rtl .ant-comment-content-author>span{padding-right:0;padding-left:8px}.ant-comment-rtl .ant-comment-actions{padding-right:0}.ant-comment-rtl .ant-comment-actions>li>span{margin-right:0;margin-left:10px}.ant-comment-rtl .ant-comment-nested{margin-right:44px;margin-left:0}nz-comment{display:block}nz-comment-content{display:block}

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

@@ -0,0 +1,7 @@
nz-comment {
display: block;
}
nz-comment-content {
display: block;
}

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

@@ -0,0 +1,51 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@comment-prefix-cls: ~'@{ant-prefix}-comment';
.@{comment-prefix-cls} {
&-rtl {
direction: rtl;
}
&-avatar {
.@{comment-prefix-cls}-rtl & {
margin-right: 0;
margin-left: 12px;
}
}
&-content {
&-author {
& > a,
& > span {
.@{comment-prefix-cls}-rtl & {
padding-right: 0;
padding-left: 8px;
}
}
}
}
&-actions {
.@{comment-prefix-cls}-rtl & {
padding-right: 0;
}
> li {
> span {
.@{comment-prefix-cls}-rtl & {
margin-right: 0;
margin-left: 10px;
}
}
}
}
&-nested {
.@{comment-prefix-cls}-rtl & {
margin-right: @comment-nest-indent;
margin-left: 0;
}
}
}