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

79
node_modules/ng-zorro-antd/page-header/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,79 @@
import * as i0 from '@angular/core';
import { AfterViewInit, OnInit, TemplateRef, EventEmitter, ElementRef, ChangeDetectorRef } from '@angular/core';
import { Direction, Directionality } from '@angular/cdk/bidi';
import { NzResizeObserver } from 'ng-zorro-antd/cdk/resize-observer';
import { NzConfigService, NzConfigKey } from 'ng-zorro-antd/core/config';
declare class NzPageHeaderTitleDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzPageHeaderTitleDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzPageHeaderTitleDirective, "nz-page-header-title, [nz-page-header-title]", ["nzPageHeaderTitle"], {}, {}, never, never, true, never>;
}
declare class NzPageHeaderSubtitleDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzPageHeaderSubtitleDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzPageHeaderSubtitleDirective, "nz-page-header-subtitle, [nz-page-header-subtitle]", ["nzPageHeaderSubtitle"], {}, {}, never, never, true, never>;
}
declare class NzPageHeaderContentDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzPageHeaderContentDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzPageHeaderContentDirective, "nz-page-header-content, [nz-page-header-content]", ["nzPageHeaderContent"], {}, {}, never, never, true, never>;
}
declare class NzPageHeaderTagDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzPageHeaderTagDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzPageHeaderTagDirective, "nz-page-header-tags, [nz-page-header-tags]", ["nzPageHeaderTags"], {}, {}, never, never, true, never>;
}
declare class NzPageHeaderExtraDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzPageHeaderExtraDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzPageHeaderExtraDirective, "nz-page-header-extra, [nz-page-header-extra]", ["nzPageHeaderExtra"], {}, {}, never, never, true, never>;
}
declare class NzPageHeaderFooterDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzPageHeaderFooterDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzPageHeaderFooterDirective, "nz-page-header-footer, [nz-page-header-footer]", ["nzPageHeaderFooter"], {}, {}, never, never, true, never>;
}
declare class NzPageHeaderBreadcrumbDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzPageHeaderBreadcrumbDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzPageHeaderBreadcrumbDirective, "nz-breadcrumb[nz-page-header-breadcrumb]", ["nzPageHeaderBreadcrumb"], {}, {}, never, never, true, never>;
}
declare class NzPageHeaderAvatarDirective {
static ɵfac: i0.ɵɵFactoryDeclaration<NzPageHeaderAvatarDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzPageHeaderAvatarDirective, "nz-avatar[nz-page-header-avatar]", ["nzPageHeaderAvatar"], {}, {}, 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 NzPageHeaderComponent implements AfterViewInit, OnInit {
nzConfigService: NzConfigService;
private elementRef;
private nzResizeObserver;
private cdr;
private directionality;
private location;
private destroyRef;
readonly _nzModuleName: NzConfigKey;
nzBackIcon: string | TemplateRef<void> | null;
nzTitle?: string | TemplateRef<void>;
nzSubtitle?: string | TemplateRef<void>;
nzGhost: boolean;
readonly nzBack: EventEmitter<void>;
nzPageHeaderFooter?: ElementRef<NzPageHeaderFooterDirective>;
nzPageHeaderBreadcrumb?: ElementRef<NzPageHeaderBreadcrumbDirective>;
compact: boolean;
dir: Direction;
enableBackButton: boolean;
constructor(nzConfigService: NzConfigService, elementRef: ElementRef, nzResizeObserver: NzResizeObserver, cdr: ChangeDetectorRef, directionality: Directionality);
ngOnInit(): void;
ngAfterViewInit(): void;
onBack(): void;
getBackIcon(): string;
static ɵfac: i0.ɵɵFactoryDeclaration<NzPageHeaderComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzPageHeaderComponent, "nz-page-header", ["nzPageHeader"], { "nzBackIcon": { "alias": "nzBackIcon"; "required": false; }; "nzTitle": { "alias": "nzTitle"; "required": false; }; "nzSubtitle": { "alias": "nzSubtitle"; "required": false; }; "nzGhost": { "alias": "nzGhost"; "required": false; }; }, { "nzBack": "nzBack"; }, ["nzPageHeaderFooter", "nzPageHeaderBreadcrumb"], ["nz-breadcrumb[nz-page-header-breadcrumb]", "nz-avatar[nz-page-header-avatar]", "nz-page-header-title, [nz-page-header-title]", "nz-page-header-subtitle, [nz-page-header-subtitle]", "nz-page-header-tags, [nz-page-header-tags]", "nz-page-header-extra, [nz-page-header-extra]", "nz-page-header-content, [nz-page-header-content]", "nz-page-header-footer, [nz-page-header-footer]"], true, never>;
}
declare class NzPageHeaderModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NzPageHeaderModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NzPageHeaderModule, never, [typeof NzPageHeaderComponent, typeof NzPageHeaderTitleDirective, typeof NzPageHeaderSubtitleDirective, typeof NzPageHeaderContentDirective, typeof NzPageHeaderTagDirective, typeof NzPageHeaderExtraDirective, typeof NzPageHeaderFooterDirective, typeof NzPageHeaderBreadcrumbDirective, typeof NzPageHeaderAvatarDirective], [typeof NzPageHeaderComponent, typeof NzPageHeaderTitleDirective, typeof NzPageHeaderSubtitleDirective, typeof NzPageHeaderContentDirective, typeof NzPageHeaderTagDirective, typeof NzPageHeaderExtraDirective, typeof NzPageHeaderFooterDirective, typeof NzPageHeaderBreadcrumbDirective, typeof NzPageHeaderAvatarDirective]>;
static ɵinj: i0.ɵɵInjectorDeclaration<NzPageHeaderModule>;
}
export { NzPageHeaderAvatarDirective, NzPageHeaderBreadcrumbDirective, NzPageHeaderComponent, NzPageHeaderContentDirective, NzPageHeaderExtraDirective, NzPageHeaderFooterDirective, NzPageHeaderModule, NzPageHeaderSubtitleDirective, NzPageHeaderTagDirective, NzPageHeaderTitleDirective };

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

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

View File

@@ -0,0 +1,5 @@
@import './index.less';
// style dependencies
@import '../../divider/style/entry.less';
@import '../../breadcrumb/style/entry.less';
@import "./patch";

389
node_modules/ng-zorro-antd/page-header/style/index.css generated vendored Normal file
View File

@@ -0,0 +1,389 @@
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
.ant-page-header {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5715;
list-style: none;
font-feature-settings: 'tnum';
position: relative;
padding: 16px 24px;
background-color: #fff;
}
.ant-page-header-ghost {
background-color: inherit;
}
.ant-page-header.has-breadcrumb {
padding-top: 12px;
}
.ant-page-header.has-footer {
padding-bottom: 0;
}
.ant-page-header-back {
margin-right: 16px;
font-size: 16px;
line-height: 1;
}
.ant-page-header-back-button {
color: #1890ff;
outline: none;
cursor: pointer;
transition: color 0.3s;
color: #000;
}
.ant-page-header-back-button:focus-visible,
.ant-page-header-back-button:hover {
color: #40a9ff;
}
.ant-page-header-back-button:active {
color: #096dd9;
}
.ant-page-header .ant-divider-vertical {
height: 14px;
margin: 0 12px;
vertical-align: middle;
}
.ant-breadcrumb + .ant-page-header-heading {
margin-top: 8px;
}
.ant-page-header-heading {
display: flex;
justify-content: space-between;
}
.ant-page-header-heading-left {
display: flex;
align-items: center;
margin: 4px 0;
overflow: hidden;
}
.ant-page-header-heading-title {
margin-right: 12px;
margin-bottom: 0;
color: rgba(0, 0, 0, 0.85);
font-weight: 600;
font-size: 20px;
line-height: 32px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.ant-page-header-heading .ant-avatar {
margin-right: 12px;
}
.ant-page-header-heading-sub-title {
margin-right: 12px;
color: rgba(0, 0, 0, 0.45);
font-size: 14px;
line-height: 1.5715;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.ant-page-header-heading-extra {
margin: 4px 0;
white-space: nowrap;
}
.ant-page-header-heading-extra > * {
white-space: unset;
}
.ant-page-header-content {
padding-top: 12px;
}
.ant-page-header-footer {
margin-top: 16px;
}
.ant-page-header-footer .ant-tabs > .ant-tabs-nav {
margin: 0;
}
.ant-page-header-footer .ant-tabs > .ant-tabs-nav::before {
border: none;
}
.ant-page-header-footer .ant-tabs .ant-tabs-tab {
padding-top: 8px;
padding-bottom: 8px;
font-size: 16px;
}
.ant-page-header-compact .ant-page-header-heading {
flex-wrap: wrap;
}
.ant-page-header-rtl {
direction: rtl;
}
.ant-page-header-rtl .ant-page-header-back {
float: right;
margin-right: 0;
margin-left: 16px;
}
.ant-page-header-rtl .ant-page-header-heading-title {
margin-right: 0;
margin-left: 12px;
}
.ant-page-header-rtl .ant-page-header-heading .ant-avatar {
margin-right: 0;
margin-left: 12px;
}
.ant-page-header-rtl .ant-page-header-heading-sub-title {
float: right;
margin-right: 0;
margin-left: 12px;
}
.ant-page-header-rtl .ant-page-header-heading-tags {
float: right;
}
.ant-page-header-rtl .ant-page-header-heading-extra {
float: left;
}
.ant-page-header-rtl .ant-page-header-heading-extra > * {
margin-right: 12px;
margin-left: 0;
}
.ant-page-header-rtl .ant-page-header-heading-extra > *:first-child {
margin-right: 0;
}
.ant-page-header-rtl .ant-page-header-footer .ant-tabs-bar .ant-tabs-nav {
float: right;
}
.ant-divider {
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5715;
list-style: none;
font-feature-settings: 'tnum';
border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.ant-divider-vertical {
position: relative;
top: -0.06em;
display: inline-block;
height: 0.9em;
margin: 0 8px;
vertical-align: middle;
border-top: 0;
border-left: 1px solid rgba(0, 0, 0, 0.06);
}
.ant-divider-horizontal {
display: flex;
clear: both;
width: 100%;
min-width: 100%;
margin: 24px 0;
}
.ant-divider-horizontal.ant-divider-with-text {
display: flex;
align-items: center;
margin: 16px 0;
color: rgba(0, 0, 0, 0.85);
font-weight: 500;
font-size: 16px;
white-space: nowrap;
text-align: center;
border-top: 0;
border-top-color: rgba(0, 0, 0, 0.06);
}
.ant-divider-horizontal.ant-divider-with-text::before,
.ant-divider-horizontal.ant-divider-with-text::after {
position: relative;
width: 50%;
border-top: 1px solid transparent;
border-top-color: inherit;
border-bottom: 0;
transform: translateY(50%);
content: '';
}
.ant-divider-horizontal.ant-divider-with-text-left::before {
width: 5%;
}
.ant-divider-horizontal.ant-divider-with-text-left::after {
width: 95%;
}
.ant-divider-horizontal.ant-divider-with-text-right::before {
width: 95%;
}
.ant-divider-horizontal.ant-divider-with-text-right::after {
width: 5%;
}
.ant-divider-inner-text {
display: inline-block;
padding: 0 1em;
}
.ant-divider-dashed {
background: none;
border-color: rgba(0, 0, 0, 0.06);
border-style: dashed;
border-width: 1px 0 0;
}
.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::before,
.ant-divider-horizontal.ant-divider-with-text.ant-divider-dashed::after {
border-style: dashed none none;
}
.ant-divider-vertical.ant-divider-dashed {
border-width: 0 0 0 1px;
}
.ant-divider-plain.ant-divider-with-text {
color: rgba(0, 0, 0, 0.85);
font-weight: normal;
font-size: 14px;
}
.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::before {
width: 0;
}
.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left::after {
width: 100%;
}
.ant-divider-horizontal.ant-divider-with-text-left.ant-divider-no-default-orientation-margin-left .ant-divider-inner-text {
padding-left: 0;
}
.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::before {
width: 100%;
}
.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right::after {
width: 0;
}
.ant-divider-horizontal.ant-divider-with-text-right.ant-divider-no-default-orientation-margin-right .ant-divider-inner-text {
padding-right: 0;
}
.ant-divider-rtl {
direction: rtl;
}
.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::before {
width: 95%;
}
.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-left::after {
width: 5%;
}
.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::before {
width: 5%;
}
.ant-divider-rtl.ant-divider-horizontal.ant-divider-with-text-right::after {
width: 95%;
}
.ant-divider-dotted {
background: none;
border-color: rgba(0, 0, 0, 0.06);
border-style: dotted;
border-width: 1px 0 0;
}
.ant-divider-horizontal.ant-divider-with-text.ant-divider-dotted::after,
.ant-divider-horizontal.ant-divider-with-text.ant-divider-dotted::before {
border-style: dotted none none;
}
.ant-divider-vertical.ant-divider-dotted {
border-width: 0 0 0 1px;
}
.ant-divider-sm {
margin-block: 8px;
}
.ant-divider-md {
margin-block: 16px;
}
.ant-breadcrumb {
box-sizing: border-box;
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';
color: rgba(0, 0, 0, 0.45);
font-size: 14px;
}
.ant-breadcrumb .anticon {
font-size: 14px;
}
.ant-breadcrumb ol {
display: flex;
flex-wrap: wrap;
margin: 0;
padding: 0;
list-style: none;
}
.ant-breadcrumb a {
color: rgba(0, 0, 0, 0.45);
transition: color 0.3s;
}
.ant-breadcrumb a:hover {
color: rgba(0, 0, 0, 0.85);
}
.ant-breadcrumb li:last-child {
color: rgba(0, 0, 0, 0.85);
}
.ant-breadcrumb li:last-child a {
color: rgba(0, 0, 0, 0.85);
}
li:last-child > .ant-breadcrumb-separator {
display: none;
}
.ant-breadcrumb-separator {
margin: 0 8px;
color: rgba(0, 0, 0, 0.45);
}
.ant-breadcrumb-link > .anticon + span,
.ant-breadcrumb-link > .anticon + a {
margin-left: 4px;
}
.ant-breadcrumb-overlay-link > .anticon {
margin-left: 4px;
}
.ant-breadcrumb-rtl {
direction: rtl;
}
.ant-breadcrumb-rtl::before {
display: table;
content: '';
}
.ant-breadcrumb-rtl::after {
display: table;
clear: both;
content: '';
}
.ant-breadcrumb-rtl > span {
float: right;
}
.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + span,
.ant-breadcrumb-rtl .ant-breadcrumb-link > .anticon + a {
margin-right: 4px;
margin-left: 0;
}
.ant-breadcrumb-rtl .ant-breadcrumb-overlay-link > .anticon {
margin-right: 4px;
margin-left: 0;
}
.ant-breadcrumb-link .anticon + span {
margin-left: 4px;
}
.ant-breadcrumb > nz-breadcrumb-item:last-child {
color: rgba(0, 0, 0, 0.85);
}
.ant-breadcrumb > nz-breadcrumb-item:last-child a {
color: rgba(0, 0, 0, 0.85);
}
.ant-breadcrumb-rtl > nz-breadcrumb-item {
float: right;
}
nz-breadcrumb {
display: block;
}
nz-breadcrumb-item:last-child .ant-breadcrumb-separator {
display: none;
}
.ant-page-header-back-button {
display: inline-block;
padding: 0;
line-height: inherit;
background: transparent;
border: 0;
}
nz-page-header,
nz-page-header-content,
nz-page-header-footer {
display: block;
}

122
node_modules/ng-zorro-antd/page-header/style/index.less generated vendored Normal file
View File

@@ -0,0 +1,122 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@pageheader-prefix-cls: ~'@{ant-prefix}-page-header';
.@{pageheader-prefix-cls} {
.reset-component();
position: relative;
padding: @page-header-padding-vertical @page-header-padding;
background-color: @component-background;
&-ghost {
background-color: @page-header-ghost-bg;
}
&.has-breadcrumb {
padding-top: @page-header-padding-breadcrumb;
}
&.has-footer {
padding-bottom: 0;
}
&-back {
margin-right: @margin-md;
font-size: 16px;
line-height: 1;
&-button {
.operation-unit();
color: @page-header-back-color;
}
}
.@{ant-prefix}-divider-vertical {
height: 14px;
margin: 0 @margin-sm;
vertical-align: middle;
}
.@{ant-prefix}-breadcrumb + &-heading {
margin-top: @margin-xs;
}
.text-overflow-ellipsis() {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
&-heading {
display: flex;
justify-content: space-between;
&-left {
display: flex;
align-items: center;
margin: (@margin-xs / 2) 0;
overflow: hidden;
}
&-title {
margin-right: @margin-sm;
margin-bottom: 0;
color: @heading-color;
font-weight: 600;
font-size: @page-header-heading-title;
line-height: @height-base;
.text-overflow-ellipsis();
}
.@{ant-prefix}-avatar {
margin-right: @margin-sm;
}
&-sub-title {
margin-right: @margin-sm;
color: @text-color-secondary;
font-size: @page-header-heading-sub-title;
line-height: @line-height-base;
.text-overflow-ellipsis();
}
&-extra {
margin: (@margin-xs / 2) 0;
white-space: nowrap;
> * {
white-space: unset;
}
}
}
&-content {
padding-top: @page-header-content-padding-vertical;
}
&-footer {
margin-top: @margin-md;
.@{ant-prefix}-tabs {
> .@{ant-prefix}-tabs-nav {
margin: 0;
&::before {
border: none;
}
}
.@{ant-prefix}-tabs-tab {
padding-top: @padding-xs;
padding-bottom: @padding-xs;
font-size: @page-header-tabs-tab-font-size;
}
}
}
&-compact &-heading {
flex-wrap: wrap;
}
}
@import './rtl';

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,13 @@
.ant-page-header-back-button {
display: inline-block;
padding: 0;
line-height: inherit;
background: transparent;
border: 0;
}
nz-page-header,
nz-page-header-content,
nz-page-header-footer {
display: block;
}

77
node_modules/ng-zorro-antd/page-header/style/rtl.less generated vendored Normal file
View File

@@ -0,0 +1,77 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@pageheader-prefix-cls: ~'@{ant-prefix}-page-header';
.@{pageheader-prefix-cls} {
&-rtl {
direction: rtl;
}
&-back {
.@{pageheader-prefix-cls}-rtl & {
float: right;
margin-right: 0;
margin-left: 16px;
}
}
&-heading {
&-title {
.@{pageheader-prefix-cls}-rtl & {
margin-right: 0;
margin-left: @margin-sm;
}
}
.@{ant-prefix}-avatar {
.@{pageheader-prefix-cls}-rtl & {
margin-right: 0;
margin-left: @margin-sm;
}
}
&-sub-title {
.@{pageheader-prefix-cls}-rtl & {
float: right;
margin-right: 0;
margin-left: 12px;
}
}
&-tags {
.@{pageheader-prefix-cls}-rtl & {
float: right;
}
}
&-extra {
.@{pageheader-prefix-cls}-rtl & {
float: left;
}
> * {
.@{pageheader-prefix-cls}-rtl & {
margin-right: @margin-sm;
margin-left: 0;
}
}
> *:first-child {
.@{pageheader-prefix-cls}-rtl & {
margin-right: 0;
}
}
}
}
&-footer {
.@{ant-prefix}-tabs-bar {
.@{ant-prefix}-tabs-nav {
.@{pageheader-prefix-cls}-rtl & {
float: right;
}
}
}
}
}