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

56
node_modules/ng-zorro-antd/back-top/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,56 @@
import { Direction } from '@angular/cdk/bidi';
import * as i0 from '@angular/core';
import { OnInit, OnChanges, TemplateRef, EventEmitter, ElementRef, SimpleChanges } from '@angular/core';
import { NzConfigService, NzConfigKey } from 'ng-zorro-antd/core/config';
/**
* 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
*/
/**
* @deprecated Will be removed in v21. It is recommended to use `<nz-float-button-top>` instead.
*/
declare class NzBackTopComponent implements OnInit, OnChanges {
nzConfigService: NzConfigService;
private scrollSrv;
private platform;
private zone;
private cdr;
private directionality;
private destroyRef;
readonly _nzModuleName: NzConfigKey;
private scrollListenerDestroy$;
private target;
visible: boolean;
dir: Direction;
nzTemplate?: TemplateRef<void>;
nzVisibilityHeight: number;
nzTarget?: string | HTMLElement;
nzDuration: number;
readonly nzClick: EventEmitter<boolean>;
set backTop(backTop: ElementRef<HTMLElement> | undefined);
private backTopClickSubscription;
private doc;
constructor();
ngOnInit(): void;
private getTarget;
private handleScroll;
private registerScrollEvent;
ngOnChanges(changes: SimpleChanges): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzBackTopComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzBackTopComponent, "nz-back-top", ["nzBackTop"], { "nzTemplate": { "alias": "nzTemplate"; "required": false; }; "nzVisibilityHeight": { "alias": "nzVisibilityHeight"; "required": false; }; "nzTarget": { "alias": "nzTarget"; "required": false; }; "nzDuration": { "alias": "nzDuration"; "required": false; }; }, { "nzClick": "nzClick"; }, never, never, true, never>;
static ngAcceptInputType_nzVisibilityHeight: unknown;
static ngAcceptInputType_nzDuration: unknown;
}
/**
* @deprecated Will be removed in v21. It is recommended to use `<nz-float-button-top>` instead.
*/
declare class NzBackTopModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NzBackTopModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NzBackTopModule, never, [typeof NzBackTopComponent], [typeof NzBackTopComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<NzBackTopModule>;
}
export { NzBackTopComponent, NzBackTopModule };

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

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

1
node_modules/ng-zorro-antd/back-top/style/entry.less generated vendored Normal file
View File

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

64
node_modules/ng-zorro-antd/back-top/style/index.css generated vendored Normal file
View File

@@ -0,0 +1,64 @@
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
.ant-back-top {
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: fixed;
right: 100px;
bottom: 50px;
z-index: 10;
width: 40px;
height: 40px;
cursor: pointer;
}
.ant-back-top:empty {
display: none;
}
.ant-back-top-rtl {
right: auto;
left: 100px;
direction: rtl;
}
.ant-back-top-content {
width: 40px;
height: 40px;
overflow: hidden;
color: #fff;
text-align: center;
background-color: rgba(0, 0, 0, 0.45);
border-radius: 20px;
transition: all 0.3s;
}
.ant-back-top-content:hover {
background-color: rgba(0, 0, 0, 0.85);
transition: all 0.3s;
}
.ant-back-top-icon {
font-size: 24px;
line-height: 40px;
}
@media screen and (max-width: 768px) {
.ant-back-top {
right: 60px;
}
.ant-back-top-rtl {
right: auto;
left: 60px;
}
}
@media screen and (max-width: 480px) {
.ant-back-top {
right: 20px;
}
.ant-back-top-rtl {
right: auto;
left: 20px;
}
}

49
node_modules/ng-zorro-antd/back-top/style/index.less generated vendored Normal file
View File

@@ -0,0 +1,49 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@backtop-prefix-cls: ~'@{ant-prefix}-back-top';
.@{backtop-prefix-cls} {
.reset-component();
position: fixed;
right: 100px;
bottom: 50px;
z-index: @zindex-back-top;
width: 40px;
height: 40px;
cursor: pointer;
&:empty {
display: none;
}
&-rtl {
right: auto;
left: 100px;
direction: rtl;
}
&-content {
width: 40px;
height: 40px;
overflow: hidden;
color: @back-top-color;
text-align: center;
background-color: @back-top-bg;
border-radius: 20px;
transition: all 0.3s;
&:hover {
background-color: @back-top-hover-bg;
transition: all 0.3s;
}
}
&-icon {
font-size: 24px;
line-height: 40px;
}
}
@import './responsive';

View File

@@ -0,0 +1 @@
.ant-back-top{box-sizing:border-box;margin:0;padding:0;color:rgba(0,0,0,.85);font-size:14px;font-variant:tabular-nums;line-height:1.5715;list-style:none;font-feature-settings:'tnum';position:fixed;right:100px;bottom:50px;z-index:10;width:40px;height:40px;cursor:pointer}.ant-back-top:empty{display:none}.ant-back-top-rtl{right:auto;left:100px;direction:rtl}.ant-back-top-content{width:40px;height:40px;overflow:hidden;color:#fff;text-align:center;background-color:rgba(0,0,0,.45);border-radius:20px;transition:all .3s}.ant-back-top-content:hover{background-color:rgba(0,0,0,.85);transition:all .3s}.ant-back-top-icon{font-size:24px;line-height:40px}@media screen and (max-width:768px){.ant-back-top{right:60px}.ant-back-top-rtl{right:auto;left:60px}}@media screen and (max-width:480px){.ant-back-top{right:20px}.ant-back-top-rtl{right:auto;left:20px}}

View File

@@ -0,0 +1,21 @@
@media screen and (max-width: @screen-md) {
.@{backtop-prefix-cls} {
right: 60px;
&-rtl {
right: auto;
left: 60px;
}
}
}
@media screen and (max-width: @screen-xs) {
.@{backtop-prefix-cls} {
right: 20px;
&-rtl {
right: auto;
left: 20px;
}
}
}