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

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

@@ -0,0 +1,72 @@
import * as i0 from '@angular/core';
import { TemplateRef, OnInit, QueryList } from '@angular/core';
import * as i5 from '@angular/cdk/bidi';
import { Direction } from '@angular/cdk/bidi';
import { NzConfigKey } from 'ng-zorro-antd/core/config';
import { NgStyleInterface, NzSizeDSType } from 'ng-zorro-antd/core/types';
declare class NzCardGridDirective {
nzHoverable: boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<NzCardGridDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzCardGridDirective, "[nz-card-grid]", ["nzCardGrid"], { "nzHoverable": { "alias": "nzHoverable"; "required": false; }; }, {}, never, never, true, never>;
static ngAcceptInputType_nzHoverable: unknown;
}
declare class NzCardMetaComponent {
nzTitle: string | TemplateRef<void> | null;
nzDescription: string | TemplateRef<void> | null;
nzAvatar: TemplateRef<void> | null;
static ɵfac: i0.ɵɵFactoryDeclaration<NzCardMetaComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzCardMetaComponent, "nz-card-meta", ["nzCardMeta"], { "nzTitle": { "alias": "nzTitle"; "required": false; }; "nzDescription": { "alias": "nzDescription"; "required": false; }; "nzAvatar": { "alias": "nzAvatar"; "required": false; }; }, {}, never, 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 NzCardTabComponent {
template: TemplateRef<void>;
static ɵfac: i0.ɵɵFactoryDeclaration<NzCardTabComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzCardTabComponent, "nz-card-tab", ["nzCardTab"], {}, {}, 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 NzCardComponent implements OnInit {
private cdr;
private directionality;
private destroyRef;
readonly _nzModuleName: NzConfigKey;
nzBordered: boolean;
nzLoading: boolean;
nzHoverable: boolean;
nzBodyStyle: NgStyleInterface | null;
nzCover?: TemplateRef<void>;
nzActions: Array<TemplateRef<void>>;
nzType: string | 'inner' | null;
nzSize: NzSizeDSType;
nzTitle?: string | TemplateRef<void>;
nzExtra?: string | TemplateRef<void>;
listOfNzCardTabComponent?: NzCardTabComponent;
listOfNzCardGridDirective: QueryList<NzCardGridDirective>;
dir: Direction;
constructor();
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzCardComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzCardComponent, "nz-card", ["nzCard"], { "nzBordered": { "alias": "nzBordered"; "required": false; }; "nzLoading": { "alias": "nzLoading"; "required": false; }; "nzHoverable": { "alias": "nzHoverable"; "required": false; }; "nzBodyStyle": { "alias": "nzBodyStyle"; "required": false; }; "nzCover": { "alias": "nzCover"; "required": false; }; "nzActions": { "alias": "nzActions"; "required": false; }; "nzType": { "alias": "nzType"; "required": false; }; "nzSize": { "alias": "nzSize"; "required": false; }; "nzTitle": { "alias": "nzTitle"; "required": false; }; "nzExtra": { "alias": "nzExtra"; "required": false; }; }, {}, ["listOfNzCardTabComponent", "listOfNzCardGridDirective"], ["*"], true, never>;
static ngAcceptInputType_nzBordered: unknown;
static ngAcceptInputType_nzLoading: unknown;
static ngAcceptInputType_nzHoverable: unknown;
}
declare class NzCardModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NzCardModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NzCardModule, never, [typeof NzCardComponent, typeof NzCardGridDirective, typeof NzCardMetaComponent, typeof NzCardTabComponent], [typeof i5.BidiModule, typeof NzCardComponent, typeof NzCardGridDirective, typeof NzCardMetaComponent, typeof NzCardTabComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<NzCardModule>;
}
export { NzCardComponent, NzCardGridDirective, NzCardMetaComponent, NzCardModule, NzCardTabComponent };

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

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

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

@@ -0,0 +1,5 @@
@import './index.less';
// style dependencies
@import '../../tabs/style/entry.less';
@import '../../grid/style/entry.less';
@import './patch.less';

6164
node_modules/ng-zorro-antd/card/style/index.css generated vendored Normal file

File diff suppressed because it is too large Load Diff

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

@@ -0,0 +1,277 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@card-prefix-cls: ~'@{ant-prefix}-card';
@card-hoverable-hover-border: transparent;
@card-action-icon-size: 16px;
@gradient-min: fade(@card-skeleton-bg, 20%);
@gradient-max: fade(@card-skeleton-bg, 40%);
.@{card-prefix-cls} {
.reset-component();
position: relative;
background: @card-background;
border-radius: @card-radius;
&-rtl {
direction: rtl;
}
&-hoverable {
cursor: pointer;
transition: box-shadow 0.3s, border-color 0.3s;
&:hover {
border-color: @card-hoverable-hover-border;
box-shadow: @card-shadow;
}
}
&-bordered {
border: @border-width-base @border-style-base @border-color-split;
}
&-head {
min-height: @card-head-height;
margin-bottom: -1px; // Fix card grid overflow bug: https://gw.alipayobjects.com/zos/rmsportal/XonYxBikwpgbqIQBeuhk.png
padding: 0 @card-padding-base;
color: @card-head-color;
font-weight: 500;
font-size: @card-head-font-size;
background: @card-head-background;
border-bottom: @border-width-base @border-style-base @border-color-split;
border-radius: @card-radius @card-radius 0 0;
.clearfix();
&-wrapper {
display: flex;
align-items: center;
}
&-title {
display: inline-block;
flex: 1;
padding: @card-head-padding 0;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
> .@{ant-prefix}-typography,
> .@{ant-prefix}-typography-edit-content {
left: 0;
margin-top: 0;
margin-bottom: 0;
}
}
.@{ant-prefix}-tabs-top {
clear: both;
margin-bottom: @card-head-tabs-margin-bottom;
color: @text-color;
font-weight: normal;
font-size: @font-size-base;
&-bar {
border-bottom: @border-width-base @border-style-base @border-color-split;
}
}
}
&-extra {
// https://stackoverflow.com/a/22429853/3040605
margin-left: auto;
padding: @card-head-padding 0;
color: @card-head-extra-color;
font-weight: normal;
font-size: @font-size-base;
.@{card-prefix-cls}-rtl & {
margin-right: auto;
margin-left: 0;
}
}
&-body {
padding: @card-padding-base;
.clearfix();
}
&-contain-grid &-body {
display: flex;
flex-wrap: wrap;
}
&-contain-grid:not(&-loading) &-body {
margin: -1px 0 0 -1px;
padding: 0;
}
&-grid {
width: 33.33%;
padding: @card-padding-base;
border: 0;
border-radius: 0;
box-shadow: 1px 0 0 0 @border-color-split, 0 1px 0 0 @border-color-split,
1px 1px 0 0 @border-color-split, 1px 0 0 0 @border-color-split inset,
0 1px 0 0 @border-color-split inset;
transition: all 0.3s;
&-hoverable {
&:hover {
position: relative;
z-index: 1;
box-shadow: @card-shadow;
}
}
}
&-contain-tabs > &-head &-head-title {
min-height: @card-head-height - @card-head-padding;
padding-bottom: 0;
}
&-contain-tabs > &-head &-extra {
padding-bottom: 0;
}
&-bordered &-cover {
margin-top: -1px;
margin-right: -1px;
margin-left: -1px;
}
&-cover {
> * {
display: block;
width: 100%;
}
img {
border-radius: @card-radius @card-radius 0 0;
}
}
&-actions {
display: flex;
margin: 0;
padding: 0;
list-style: none;
background: @card-actions-background;
border-top: @border-width-base @border-style-base @border-color-split;
.clearfix();
& > li {
margin: @card-actions-li-margin;
color: @text-color-secondary;
text-align: center;
> span {
position: relative;
display: block;
min-width: 32px;
font-size: @font-size-base;
line-height: @line-height-base;
cursor: pointer;
&:hover {
color: @primary-color;
transition: color 0.3s;
}
a:not(.@{ant-prefix}-btn),
> .@{iconfont-css-prefix} {
display: inline-block;
width: 100%;
color: @text-color-secondary;
line-height: 22px;
transition: color 0.3s;
&:hover {
color: @primary-color;
}
}
> .@{iconfont-css-prefix} {
font-size: @card-action-icon-size;
line-height: 22px;
}
}
&:not(:last-child) {
border-right: @border-width-base @border-style-base @border-color-split;
.@{card-prefix-cls}-rtl & {
border-right: none;
border-left: @border-width-base @border-style-base @border-color-split;
}
}
}
}
&-type-inner &-head {
padding: 0 @card-padding-base;
background: @background-color-light;
&-title {
padding: @card-inner-head-padding 0;
font-size: @font-size-base;
}
}
&-type-inner &-body {
padding: 16px @card-padding-base;
}
&-type-inner &-extra {
padding: @card-inner-head-padding + 1.5px 0;
}
&-meta {
display: flex;
margin: -4px 0;
.clearfix();
&-avatar {
padding-right: 16px;
.@{card-prefix-cls}-rtl & {
padding-right: 0;
padding-left: 16px;
}
}
&-detail {
flex: 1;
overflow: hidden;
> div:not(:last-child) {
margin-bottom: @margin-xs;
}
}
&-title {
overflow: hidden;
color: @card-head-color;
font-weight: 500;
font-size: @font-size-lg;
white-space: nowrap;
text-overflow: ellipsis;
}
&-description {
color: @text-color-secondary;
}
}
&-loading {
overflow: hidden;
}
&-loading &-body {
user-select: none;
}
}
@import './size';

1
node_modules/ng-zorro-antd/card/style/index.min.css generated vendored Normal file

File diff suppressed because one or more lines are too long

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

@@ -0,0 +1,20 @@
@skeleton-prefix-cls: ~'@{ant-prefix}-skeleton';
.@{card-prefix-cls} {
&-rtl {
.@{skeleton-prefix-cls}-header {
padding: 0 0 0 @card-head-padding;
}
}
}
nz-card {
display: block;
}
nz-card-meta {
display: block;
}
nz-card-loading {
display: block;
}

20
node_modules/ng-zorro-antd/card/style/size.less generated vendored Normal file
View File

@@ -0,0 +1,20 @@
.@{card-prefix-cls}-small {
> .@{card-prefix-cls}-head {
min-height: @card-head-height-sm;
padding: 0 @card-padding-base-sm;
font-size: @card-head-font-size-sm;
> .@{card-prefix-cls}-head-wrapper {
> .@{card-prefix-cls}-head-title {
padding: @card-head-padding-sm 0;
}
> .@{card-prefix-cls}-extra {
padding: @card-head-padding-sm 0;
font-size: @card-head-font-size-sm;
}
}
}
> .@{card-prefix-cls}-body {
padding: @card-padding-base-sm;
}
}