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

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

@@ -0,0 +1,48 @@
import * as i0 from '@angular/core';
import { ElementRef, EventEmitter } from '@angular/core';
import { NzConfigKey } from 'ng-zorro-antd/core/config';
import { NzTSType, NzSafeAny, NgStyleInterface } from 'ng-zorro-antd/core/types';
import { NzTooltipBaseDirective, NzTooltipTrigger, PropertyMapping, NzTooltipComponent } from 'ng-zorro-antd/tooltip';
declare class NzPopoverDirective extends NzTooltipBaseDirective {
readonly _nzModuleName: NzConfigKey;
arrowPointAtCenter?: boolean;
title?: NzTSType;
titleContext?: NzSafeAny | null;
content?: NzTSType;
contentContext?: NzSafeAny | null;
directiveTitle?: NzTSType | null;
trigger?: NzTooltipTrigger;
placement?: string | string[];
origin?: ElementRef<HTMLElement>;
visible?: boolean;
mouseEnterDelay?: number;
mouseLeaveDelay?: number;
overlayClassName?: string;
overlayStyle?: NgStyleInterface;
overlayClickable?: boolean;
directiveContent?: NzTSType | null;
nzPopoverBackdrop?: boolean;
readonly visibleChange: EventEmitter<boolean>;
protected getProxyPropertyMap(): PropertyMapping;
constructor();
static ɵfac: i0.ɵɵFactoryDeclaration<NzPopoverDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzPopoverDirective, "[nz-popover]", ["nzPopover"], { "arrowPointAtCenter": { "alias": "nzPopoverArrowPointAtCenter"; "required": false; }; "title": { "alias": "nzPopoverTitle"; "required": false; }; "titleContext": { "alias": "nzPopoverTitleContext"; "required": false; }; "content": { "alias": "nzPopoverContent"; "required": false; }; "contentContext": { "alias": "nzPopoverContentContext"; "required": false; }; "directiveTitle": { "alias": "nz-popover"; "required": false; }; "trigger": { "alias": "nzPopoverTrigger"; "required": false; }; "placement": { "alias": "nzPopoverPlacement"; "required": false; }; "origin": { "alias": "nzPopoverOrigin"; "required": false; }; "visible": { "alias": "nzPopoverVisible"; "required": false; }; "mouseEnterDelay": { "alias": "nzPopoverMouseEnterDelay"; "required": false; }; "mouseLeaveDelay": { "alias": "nzPopoverMouseLeaveDelay"; "required": false; }; "overlayClassName": { "alias": "nzPopoverOverlayClassName"; "required": false; }; "overlayStyle": { "alias": "nzPopoverOverlayStyle"; "required": false; }; "overlayClickable": { "alias": "nzPopoverOverlayClickable"; "required": false; }; "nzPopoverBackdrop": { "alias": "nzPopoverBackdrop"; "required": false; }; }, { "visibleChange": "nzPopoverVisibleChange"; }, never, never, true, never>;
static ngAcceptInputType_arrowPointAtCenter: unknown;
}
declare class NzPopoverComponent extends NzTooltipComponent {
_prefix: string;
nzContentContext: object | null;
get hasBackdrop(): boolean;
protected isEmpty(): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<NzPopoverComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzPopoverComponent, "nz-popover", ["nzPopoverComponent"], {}, {}, never, never, true, never>;
}
declare class NzPopoverModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NzPopoverModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NzPopoverModule, never, [typeof NzPopoverDirective, typeof NzPopoverComponent], [typeof NzPopoverDirective, typeof NzPopoverComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<NzPopoverModule>;
}
export { NzPopoverComponent, NzPopoverDirective, NzPopoverModule };

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

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

View File

@@ -0,0 +1,3 @@
@import './index.less';
.popover-customize-bg(@popover-prefix-cls, @popover-background);

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

@@ -0,0 +1,4 @@
@import './index.less';
// style dependencies
// deps-lint-skip: tooltip
@import "./patch";

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

@@ -0,0 +1,283 @@
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
.ant-popover {
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';
--antd-arrow-background-color: #fff;
position: absolute;
top: 0;
left: 0;
z-index: 1030;
max-width: 100vw;
font-weight: normal;
white-space: normal;
text-align: left;
cursor: auto;
user-select: text;
}
.ant-popover-content {
position: relative;
}
.ant-popover::after {
position: absolute;
background: rgba(255, 255, 255, 0.01);
content: '';
}
.ant-popover-hidden {
display: none;
}
.ant-popover-inner {
background-color: #fff;
background-clip: padding-box;
border-radius: 2px;
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);
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
.ant-popover {
/* IE10+ */
}
.ant-popover-inner {
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-popover-title {
min-width: 177px;
min-height: 32px;
margin: 0;
padding: 5px 16px 4px;
color: rgba(0, 0, 0, 0.85);
font-weight: 500;
border-bottom: 1px solid #f0f0f0;
}
.ant-popover-inner-content {
width: max-content;
max-width: 100%;
padding: 12px 16px;
color: rgba(0, 0, 0, 0.85);
}
.ant-popover-message {
display: flex;
padding: 4px 0 12px;
color: rgba(0, 0, 0, 0.85);
font-size: 14px;
}
.ant-popover-message-icon {
display: inline-block;
margin-right: 8px;
color: #faad14;
font-size: 14px;
}
.ant-popover-buttons {
margin-bottom: 4px;
text-align: right;
}
.ant-popover-buttons button:not(:first-child) {
margin-left: 8px;
}
.ant-popover-arrow {
position: absolute;
z-index: 1;
display: block;
width: 16px;
height: 16px;
overflow: hidden;
pointer-events: none;
}
.ant-popover-arrow::before {
position: absolute;
bottom: 0;
width: 16px;
height: calc(16px / 2);
background: var(--antd-arrow-background-color);
content: '';
clip-path: polygon(1.65685425px 100%, 50% 1.65685425px, 14.34314575px 100%, 1.65685425px 100%);
clip-path: path('M 0 8 A 4 4 0 0 0 2.82842712474619 6.82842712474619 L 6.585786437626905 3.0710678118654755 A 2 2 0 0 1 9.414213562373096 3.0710678118654755 L 13.17157287525381 6.82842712474619 A 4 4 0 0 0 16 8 Z');
inset-inline-start: 0;
}
.ant-popover-arrow::after {
position: absolute;
bottom: 0;
z-index: 0;
width: 8.97056275px;
height: 8.97056275px;
margin: auto;
background: transparent;
border-radius: 0 0 2px;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05);
transform: translateY(50%) rotate(-135deg);
content: '';
inset-inline: 0;
}
.ant-popover-arrow::before {
background: var(--antd-arrow-background-color);
}
.ant-popover-placement-top > .ant-popover-arrow,
.ant-popover-placement-topLeft > .ant-popover-arrow,
.ant-popover-placement-topRight > .ant-popover-arrow {
bottom: 0px;
transform: translateY(100%) rotate(180deg);
}
.ant-popover-placement-top > .ant-popover-arrow {
left: 50%;
transform: translateX(-50%) translateY(100%) rotate(180deg);
}
.ant-popover-placement-topLeft > .ant-popover-arrow {
left: 16px;
}
.ant-popover-placement-topRight > .ant-popover-arrow {
right: 16px;
}
.ant-popover-placement-bottom > .ant-popover-arrow,
.ant-popover-placement-bottomLeft > .ant-popover-arrow,
.ant-popover-placement-bottomRight > .ant-popover-arrow {
top: 0px;
transform: translateY(-100%);
}
.ant-popover-placement-bottom > .ant-popover-arrow {
left: 50%;
transform: translateX(-50%) translateY(-100%);
}
.ant-popover-placement-bottomLeft > .ant-popover-arrow {
left: 16px;
}
.ant-popover-placement-bottomRight > .ant-popover-arrow {
right: 16px;
}
.ant-popover-placement-left > .ant-popover-arrow,
.ant-popover-placement-leftTop > .ant-popover-arrow,
.ant-popover-placement-leftBottom > .ant-popover-arrow {
right: 0px;
transform: translateX(100%) rotate(90deg);
}
.ant-popover-placement-left > .ant-popover-arrow {
top: 50%;
transform: translateY(-50%) translateX(100%) rotate(90deg);
}
.ant-popover-placement-leftTop > .ant-popover-arrow {
top: 16px;
}
.ant-popover-placement-leftBottom > .ant-popover-arrow {
bottom: 16px;
}
.ant-popover-placement-right > .ant-popover-arrow,
.ant-popover-placement-rightTop > .ant-popover-arrow,
.ant-popover-placement-rightBottom > .ant-popover-arrow {
left: 0px;
transform: translateX(-100%) rotate(-90deg);
}
.ant-popover-placement-right > .ant-popover-arrow {
top: 50%;
transform: translateY(-50%) translateX(-100%) rotate(-90deg);
}
.ant-popover-placement-rightTop > .ant-popover-arrow {
top: 16px;
}
.ant-popover-placement-rightBottom > .ant-popover-arrow {
bottom: 16px;
}
.ant-popover-pink .ant-popover-inner {
background-color: #eb2f96;
}
.ant-popover-pink .ant-popover-arrow {
background-color: #eb2f96;
}
.ant-popover-magenta .ant-popover-inner {
background-color: #eb2f96;
}
.ant-popover-magenta .ant-popover-arrow {
background-color: #eb2f96;
}
.ant-popover-red .ant-popover-inner {
background-color: #f5222d;
}
.ant-popover-red .ant-popover-arrow {
background-color: #f5222d;
}
.ant-popover-volcano .ant-popover-inner {
background-color: #fa541c;
}
.ant-popover-volcano .ant-popover-arrow {
background-color: #fa541c;
}
.ant-popover-orange .ant-popover-inner {
background-color: #fa8c16;
}
.ant-popover-orange .ant-popover-arrow {
background-color: #fa8c16;
}
.ant-popover-yellow .ant-popover-inner {
background-color: #fadb14;
}
.ant-popover-yellow .ant-popover-arrow {
background-color: #fadb14;
}
.ant-popover-gold .ant-popover-inner {
background-color: #faad14;
}
.ant-popover-gold .ant-popover-arrow {
background-color: #faad14;
}
.ant-popover-cyan .ant-popover-inner {
background-color: #13c2c2;
}
.ant-popover-cyan .ant-popover-arrow {
background-color: #13c2c2;
}
.ant-popover-lime .ant-popover-inner {
background-color: #a0d911;
}
.ant-popover-lime .ant-popover-arrow {
background-color: #a0d911;
}
.ant-popover-green .ant-popover-inner {
background-color: #52c41a;
}
.ant-popover-green .ant-popover-arrow {
background-color: #52c41a;
}
.ant-popover-blue .ant-popover-inner {
background-color: #1890ff;
}
.ant-popover-blue .ant-popover-arrow {
background-color: #1890ff;
}
.ant-popover-geekblue .ant-popover-inner {
background-color: #2f54eb;
}
.ant-popover-geekblue .ant-popover-arrow {
background-color: #2f54eb;
}
.ant-popover-purple .ant-popover-inner {
background-color: #722ed1;
}
.ant-popover-purple .ant-popover-arrow {
background-color: #722ed1;
}
.ant-popover-rtl {
direction: rtl;
text-align: right;
}
.ant-popover-rtl .ant-popover-message-icon {
margin-right: 0;
margin-left: 8px;
}
.ant-popover-rtl .ant-popover-message-title {
padding-left: 16px;
}
.ant-popover-rtl .ant-popover-buttons {
text-align: left;
}
.ant-popover-rtl .ant-popover-buttons button {
margin-right: 8px;
margin-left: 0;
}
.ant-popover {
position: relative;
}

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

@@ -0,0 +1,112 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@popover-prefix-cls: ~'@{ant-prefix}-popover';
.@{popover-prefix-cls} {
.reset-component();
--antd-arrow-background-color: @popover-bg;
position: absolute;
top: 0;
left: 0;
z-index: @zindex-popover;
max-width: 100vw;
font-weight: normal;
white-space: normal;
text-align: left;
cursor: auto;
user-select: text;
&-content {
position: relative;
}
&::after {
position: absolute;
background: fade(@white, 1%);
content: '';
}
&-hidden {
display: none;
}
&-inner {
background-color: @popover-bg;
background-clip: padding-box;
border-radius: @border-radius-base;
box-shadow: @box-shadow-base;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
/* IE10+ */
&-inner {
box-shadow: @box-shadow-base;
}
}
&-title {
min-width: @popover-min-width;
min-height: @popover-min-height;
margin: 0; // reset heading margin
padding: 5px @popover-padding-horizontal 4px;
color: @heading-color;
font-weight: 500;
border-bottom: 1px solid @border-color-split;
}
&-inner-content {
width: max-content;
max-width: 100%;
padding: @padding-sm @popover-padding-horizontal;
color: @popover-color;
}
&-message {
display: flex;
padding: 4px 0 12px;
color: @popover-color;
font-size: @font-size-base;
&-icon {
display: inline-block;
margin-right: 8px;
color: @warning-color;
font-size: @font-size-base;
}
}
&-buttons {
margin-bottom: 4px;
text-align: right;
button:not(:first-child) {
margin-left: 8px;
}
}
// Arrow Style
.placementArrow(@popover-arrow-width, 4px, @arrow-border-radius, var(--antd-arrow-background-color), @popover-arrow-box-shadow);
}
.generator-popover-preset-color(@i: length(@preset-colors)) when (@i > 0) {
.generator-popover-preset-color(@i - 1);
@color: extract(@preset-colors, @i);
@lightColor: '@{color}-6';
.@{popover-prefix-cls}-@{color} {
.@{popover-prefix-cls}-inner {
background-color: @@lightColor;
}
.@{popover-prefix-cls}-arrow {
background-color: @@lightColor;
}
}
}
.generator-popover-preset-color();
@import './rtl';

File diff suppressed because one or more lines are too long

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

@@ -0,0 +1,3 @@
.ant-popover {
position: relative;
}

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

@@ -0,0 +1,39 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@popover-prefix-cls: ~'@{ant-prefix}-popover';
.@{popover-prefix-cls} {
&-rtl {
direction: rtl;
text-align: right;
}
&-message {
&-icon {
.@{popover-prefix-cls}-rtl & {
margin-right: 0;
margin-left: 8px;
}
}
&-title {
.@{popover-prefix-cls}-rtl & {
padding-left: @padding-md;
}
}
}
&-buttons {
.@{popover-prefix-cls}-rtl & {
text-align: left;
}
button {
.@{popover-prefix-cls}-rtl & {
margin-right: 8px;
margin-left: 0;
}
}
}
}