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

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

@@ -0,0 +1,87 @@
import { Direction } from '@angular/cdk/bidi';
import * as i0 from '@angular/core';
import { OnInit, OnChanges, AfterViewInit, SimpleChanges } from '@angular/core';
import { ReplaySubject } from 'rxjs';
import { IndexableObject } from 'ng-zorro-antd/core/types';
/**
* 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
*/
type NzJustify = 'start' | 'end' | 'center' | 'space-around' | 'space-between' | 'space-evenly';
type NzAlign = 'top' | 'middle' | 'bottom';
declare class NzRowDirective implements OnInit, OnChanges, AfterViewInit {
private elementRef;
private renderer;
private mediaMatcher;
private platform;
private breakpointService;
private directionality;
private destroyRef;
nzAlign: NzAlign | null;
nzJustify: NzJustify | null;
nzGutter: string | number | IndexableObject | [number, number] | [IndexableObject, IndexableObject] | null;
readonly actualGutter$: ReplaySubject<[number | null, number | null]>;
dir: Direction;
getGutter(): [number | null, number | null];
setGutterStyle(): void;
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngAfterViewInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzRowDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzRowDirective, "[nz-row],nz-row,nz-form-item", ["nzRow"], { "nzAlign": { "alias": "nzAlign"; "required": false; }; "nzJustify": { "alias": "nzJustify"; "required": false; }; "nzGutter": { "alias": "nzGutter"; "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
*/
interface EmbeddedProperty {
span?: number;
pull?: number;
push?: number;
offset?: number;
order?: number;
}
declare class NzColDirective implements OnInit, OnChanges, AfterViewInit {
private elementRef;
private renderer;
private directionality;
private destroyRef;
private classMap;
hostFlexStyle: string | null;
dir: Direction;
nzFlex: string | number | null;
nzSpan: string | number | null;
nzOrder: string | number | null;
nzOffset: string | number | null;
nzPush: string | number | null;
nzPull: string | number | null;
nzXs: string | number | EmbeddedProperty | null;
nzSm: string | number | EmbeddedProperty | null;
nzMd: string | number | EmbeddedProperty | null;
nzLg: string | number | EmbeddedProperty | null;
nzXl: string | number | EmbeddedProperty | null;
nzXXl: string | number | EmbeddedProperty | null;
setHostClassMap(): void;
setHostFlexStyle(): void;
parseFlex(flex: number | string | null): string | null;
generateClass(): object;
nzRowDirective: NzRowDirective | null;
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngAfterViewInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<NzColDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<NzColDirective, "[nz-col],nz-col,nz-form-control,nz-form-label", ["nzCol"], { "nzFlex": { "alias": "nzFlex"; "required": false; }; "nzSpan": { "alias": "nzSpan"; "required": false; }; "nzOrder": { "alias": "nzOrder"; "required": false; }; "nzOffset": { "alias": "nzOffset"; "required": false; }; "nzPush": { "alias": "nzPush"; "required": false; }; "nzPull": { "alias": "nzPull"; "required": false; }; "nzXs": { "alias": "nzXs"; "required": false; }; "nzSm": { "alias": "nzSm"; "required": false; }; "nzMd": { "alias": "nzMd"; "required": false; }; "nzLg": { "alias": "nzLg"; "required": false; }; "nzXl": { "alias": "nzXl"; "required": false; }; "nzXXl": { "alias": "nzXXl"; "required": false; }; }, {}, never, never, true, never>;
}
declare class NzGridModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NzGridModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NzGridModule, never, [typeof NzColDirective, typeof NzRowDirective], [typeof NzColDirective, typeof NzRowDirective]>;
static ɵinj: i0.ɵɵInjectorDeclaration<NzGridModule>;
}
export { NzColDirective, NzGridModule, NzRowDirective };
export type { EmbeddedProperty, NzAlign, NzJustify };

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

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

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

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

5183
node_modules/ng-zorro-antd/grid/style/index.css generated vendored Normal file

File diff suppressed because it is too large Load Diff

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

@@ -0,0 +1,124 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@import './mixin';
// Grid system
.@{row-prefix-cls} {
display: flex;
flex-flow: row wrap;
min-width: 0;
&::before,
&::after {
display: flex;
}
// No wrap of flex
&-no-wrap {
flex-wrap: nowrap;
}
}
// x轴原点
.@{row-prefix-cls}-start {
justify-content: flex-start;
}
// x轴居中
.@{row-prefix-cls}-center {
justify-content: center;
}
// x轴反方向
.@{row-prefix-cls}-end {
justify-content: flex-end;
}
// x轴平分
.@{row-prefix-cls}-space-between {
justify-content: space-between;
}
// x轴有间隔地平分
.@{row-prefix-cls}-space-around {
justify-content: space-around;
}
// x轴有间隔地均分
.@{row-prefix-cls}-space-evenly {
justify-content: space-evenly;
}
// 顶部对齐
.@{row-prefix-cls}-top {
align-items: flex-start;
}
// 居中对齐
.@{row-prefix-cls}-middle {
align-items: center;
}
// 底部对齐
.@{row-prefix-cls}-bottom {
align-items: flex-end;
}
.@{col-prefix-cls} {
position: relative;
max-width: 100%;
// Prevent columns from collapsing when empty
min-height: 1px;
}
.make-grid();
// Extra small grid
//
// Columns, offsets, pushes, and pulls for extra small devices like
// smartphones.
.make-grid(-xs);
// Small grid
//
// Columns, offsets, pushes, and pulls for the small device range, from phones
// to tablets.
@media (min-width: @screen-sm-min) {
.make-grid(-sm);
}
// Medium grid
//
// Columns, offsets, pushes, and pulls for the desktop device range.
@media (min-width: @screen-md-min) {
.make-grid(-md);
}
// Large grid
//
// Columns, offsets, pushes, and pulls for the large desktop device range.
@media (min-width: @screen-lg-min) {
.make-grid(-lg);
}
// Extra Large grid
//
// Columns, offsets, pushes, and pulls for the full hd device range.
@media (min-width: @screen-xl-min) {
.make-grid(-xl);
}
// Extra Extra Large grid
//
// Columns, offsets, pushes, and pulls for the full hd device range.
@media (min-width: @screen-xxl-min) {
.make-grid(-xxl);
}
@import './rtl';

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

File diff suppressed because one or more lines are too long

56
node_modules/ng-zorro-antd/grid/style/mixin.less generated vendored Normal file
View File

@@ -0,0 +1,56 @@
@import '../../style/mixins/index';
@row-prefix-cls: ~'@{ant-prefix}-row';
@col-prefix-cls: ~'@{ant-prefix}-col';
// mixins for grid system
// ------------------------
.loop-grid-columns(@index, @class) when (@index > 0) {
.@{col-prefix-cls}@{class}-@{index} {
display: block;
flex: 0 0 percentage((@index / @grid-columns));
max-width: percentage((@index / @grid-columns));
}
.@{col-prefix-cls}@{class}-push-@{index} {
left: percentage((@index / @grid-columns));
}
.@{col-prefix-cls}@{class}-pull-@{index} {
right: percentage((@index / @grid-columns));
}
.@{col-prefix-cls}@{class}-offset-@{index} {
margin-left: percentage((@index / @grid-columns));
}
.@{col-prefix-cls}@{class}-order-@{index} {
order: @index;
}
.loop-grid-columns((@index - 1), @class);
}
.loop-grid-columns(@index, @class) when (@index = 0) {
.@{col-prefix-cls}@{class}-@{index} {
display: none;
}
.@{col-prefix-cls}-push-@{index} {
left: auto;
}
.@{col-prefix-cls}-pull-@{index} {
right: auto;
}
.@{col-prefix-cls}@{class}-push-@{index} {
left: auto;
}
.@{col-prefix-cls}@{class}-pull-@{index} {
right: auto;
}
.@{col-prefix-cls}@{class}-offset-@{index} {
margin-left: 0;
}
.@{col-prefix-cls}@{class}-order-@{index} {
order: 0;
}
}
.make-grid(@class: ~'') {
.loop-grid-columns(@grid-columns, @class);
}

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

@@ -0,0 +1,69 @@
@import '../../style/themes/index';
@import '../../style/mixins/index';
@import './mixin';
.@{row-prefix-cls} {
&-rtl {
direction: rtl;
}
}
// mixin
.loop-grid-columns(@index, @class) when (@index > 0) {
.@{col-prefix-cls}@{class}-push-@{index} {
// reset property in RTL direction
&.@{col-prefix-cls}-rtl {
right: percentage((@index / @grid-columns));
left: auto;
}
}
.@{col-prefix-cls}@{class}-pull-@{index} {
// reset property in RTL direction
&.@{col-prefix-cls}-rtl {
right: auto;
left: percentage((@index / @grid-columns));
}
}
.@{col-prefix-cls}@{class}-offset-@{index} {
// reset property in RTL direction
&.@{col-prefix-cls}-rtl {
margin-right: percentage((@index / @grid-columns));
margin-left: 0;
}
}
}
.loop-grid-columns(@index, @class) when (@index = 0) {
.@{col-prefix-cls}-push-@{index} {
// reset property in RTL direction
&.@{col-prefix-cls}-rtl {
right: auto;
}
}
.@{col-prefix-cls}-pull-@{index} {
&.@{col-prefix-cls}-rtl {
left: auto;
}
}
.@{col-prefix-cls}@{class}-push-@{index} {
&.@{col-prefix-cls}-rtl {
right: auto;
}
}
.@{col-prefix-cls}@{class}-pull-@{index} {
&.@{col-prefix-cls}-rtl {
left: auto;
}
}
.@{col-prefix-cls}@{class}-offset-@{index} {
&.@{col-prefix-cls}-rtl {
margin-right: 0;
}
}
}