ngx-formly-zorro-antd 16.1.0 → 16.1.1
Sign up to get free protection for your applications and to get access to all the features.
- package/card/card.module.d.ts +4 -3
- package/card/card.type.d.ts +36 -0
- package/card/public_api.d.ts +1 -1
- package/card-wrapper/card-wrapper.module.d.ts +11 -0
- package/{card/card.wrapper.d.ts → card-wrapper/card-wrapper.props.d.ts} +10 -12
- package/card-wrapper/card.wrapper.d.ts +23 -0
- package/card-wrapper/index.d.ts +5 -0
- package/card-wrapper/public_api.d.ts +3 -0
- package/common/common.module.d.ts +9 -0
- package/common/formly-box-templates.directive.d.ts +46 -0
- package/common/formly-utils.d.ts +24 -0
- package/common/index.d.ts +5 -0
- package/common/public_api.d.ts +3 -0
- package/esm2022/card/card.module.mjs +16 -12
- package/esm2022/card/card.type.mjs +93 -0
- package/esm2022/card/public_api.mjs +2 -2
- package/esm2022/card-wrapper/card-wrapper.module.mjs +45 -0
- package/esm2022/card-wrapper/card-wrapper.props.mjs +2 -0
- package/esm2022/card-wrapper/card.wrapper.mjs +77 -0
- package/esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs +5 -0
- package/esm2022/card-wrapper/public_api.mjs +3 -0
- package/esm2022/cascader/cascader.type.mjs +1 -3
- package/esm2022/common/common.module.mjs +19 -0
- package/esm2022/common/formly-box-templates.directive.mjs +106 -0
- package/esm2022/common/formly-utils.mjs +46 -0
- package/esm2022/common/ngx-formly-zorro-antd-common.mjs +5 -0
- package/esm2022/common/public_api.mjs +4 -0
- package/esm2022/extension/ngx-formly-zorro-antd-extension.mjs +5 -0
- package/esm2022/extension/public_api.mjs +2 -0
- package/esm2022/extension/value-changes-extension.mjs +31 -0
- package/esm2022/form-field/form-field.props.mjs +1 -1
- package/esm2022/grid/grid.props.mjs +1 -1
- package/esm2022/input/input.type.mjs +3 -3
- package/esm2022/lib/ui-ng-zorro-antd.module.mjs +16 -4
- package/esm2022/select/select.type.mjs +7 -7
- package/esm2022/space/ngx-formly-zorro-antd-space.mjs +5 -0
- package/esm2022/space/public_api.mjs +3 -0
- package/esm2022/space/space.module.mjs +45 -0
- package/esm2022/space/space.type.mjs +63 -0
- package/esm2022/upload/upload.module.mjs +5 -1
- package/esm2022/upload/upload.props.mjs +1 -1
- package/esm2022/upload/upload.type.mjs +25 -14
- package/extension/index.d.ts +5 -0
- package/extension/public_api.d.ts +1 -0
- package/extension/value-changes-extension.d.ts +23 -0
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +123 -0
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -0
- package/fesm2022/ngx-formly-zorro-antd-card.mjs +81 -32
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +0 -2
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-common.mjs +174 -0
- package/fesm2022/ngx-formly-zorro-antd-common.mjs.map +1 -0
- package/fesm2022/ngx-formly-zorro-antd-extension.mjs +37 -0
- package/fesm2022/ngx-formly-zorro-antd-extension.mjs.map +1 -0
- package/fesm2022/ngx-formly-zorro-antd-input.mjs +2 -2
- package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-select.mjs +6 -6
- package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-space.mjs +109 -0
- package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -0
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs +27 -13
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd.mjs +15 -3
- package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -1
- package/form-field/form-field.props.d.ts +3 -2
- package/grid/grid.props.d.ts +15 -13
- package/lib/ui-ng-zorro-antd.module.d.ts +24 -21
- package/package.json +63 -38
- package/space/index.d.ts +5 -0
- package/space/public_api.d.ts +2 -0
- package/space/space.module.d.ts +11 -0
- package/space/space.type.d.ts +50 -0
- package/upload/upload.module.d.ts +6 -5
- package/upload/upload.props.d.ts +2 -0
- package/upload/upload.type.d.ts +6 -1
- package/esm2022/card/card.wrapper.mjs +0 -47
package/card/card.module.d.ts
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
import * as i0 from "@angular/core";
|
2
|
-
import * as i1 from "./card.
|
2
|
+
import * as i1 from "./card.type";
|
3
3
|
import * as i2 from "@angular/common";
|
4
4
|
import * as i3 from "ng-zorro-antd/card";
|
5
|
-
import * as i4 from "
|
5
|
+
import * as i4 from "ng-zorro-antd/core/outlet";
|
6
|
+
import * as i5 from "@ngx-formly/core";
|
6
7
|
export declare class FormlyNzCardModule {
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzCardModule, never>;
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzCardModule, [typeof i1.
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzCardModule, [typeof i1.FormlyFieldCard], [typeof i2.CommonModule, typeof i3.NzCardModule, typeof i4.NzOutletModule, typeof i5.FormlyModule], [typeof i1.FormlyFieldCard]>;
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzCardModule>;
|
10
11
|
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { TemplateRef, Type } from '@angular/core';
|
2
|
+
import { FieldType, FormlyFieldConfig, FieldTypeConfig } from '@ngx-formly/core';
|
3
|
+
import { FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';
|
4
|
+
import { CardWrapperProps } from 'ngx-formly-zorro-antd/card-wrapper';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
interface CardProps extends CardWrapperProps {
|
7
|
+
/**
|
8
|
+
* 内容
|
9
|
+
*/
|
10
|
+
content?: string | TemplateRef<{
|
11
|
+
$implicit: CardProps;
|
12
|
+
options: CardProps;
|
13
|
+
}>;
|
14
|
+
contentName?: string;
|
15
|
+
}
|
16
|
+
export interface FormlyCardFieldConfig extends FormlyFieldConfig<CardProps> {
|
17
|
+
type: 'card' | Type<FormlyFieldCard>;
|
18
|
+
}
|
19
|
+
export declare class FormlyFieldCard extends FieldType<FieldTypeConfig<CardProps>> {
|
20
|
+
fieldTemplates: FormlyBoxTemplates;
|
21
|
+
defaultOptions: {
|
22
|
+
props: {
|
23
|
+
bordered: boolean;
|
24
|
+
type: string;
|
25
|
+
};
|
26
|
+
};
|
27
|
+
constructor(fieldTemplates: FormlyBoxTemplates);
|
28
|
+
get nzTitle(): TemplateRef<any> | undefined;
|
29
|
+
get nzCover(): TemplateRef<any> | undefined;
|
30
|
+
get nzExtra(): TemplateRef<any> | undefined;
|
31
|
+
get nzActions(): TemplateRef<any>[];
|
32
|
+
get nzContent(): TemplateRef<any> | undefined;
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldCard, [{ optional: true; }]>;
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldCard, "formly-field-card", never, {}, {}, never, never, false, never>;
|
35
|
+
}
|
36
|
+
export {};
|
package/card/public_api.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
export { FormlyNzCardModule } from './card.module';
|
2
|
-
export {
|
2
|
+
export { FormlyFieldCard, FormlyCardFieldConfig } from './card.type';
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./card.wrapper";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "ng-zorro-antd/card";
|
5
|
+
import * as i4 from "ngx-formly-zorro-antd/common";
|
6
|
+
import * as i5 from "@ngx-formly/core";
|
7
|
+
export declare class FormlyNzCardWrapperModule {
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyNzCardWrapperModule, never>;
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyNzCardWrapperModule, [typeof i1.FormlyWrapperCard], [typeof i2.CommonModule, typeof i3.NzCardModule, typeof i4.FormlyCommonModule, typeof i5.FormlyModule], never>;
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyNzCardWrapperModule>;
|
11
|
+
}
|
@@ -1,12 +1,11 @@
|
|
1
|
-
import { TemplateRef
|
2
|
-
import { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';
|
1
|
+
import { TemplateRef } from '@angular/core';
|
3
2
|
import type { NzSizeDSType, NgStyleInterface } from 'ng-zorro-antd/core/types';
|
4
|
-
|
5
|
-
interface CardProps {
|
3
|
+
export interface CardWrapperProps {
|
6
4
|
/**
|
7
5
|
* 卡片操作组,位置在卡片底部
|
8
6
|
*/
|
9
7
|
actions?: Array<TemplateRef<void>>;
|
8
|
+
actionsName?: string[];
|
10
9
|
/**
|
11
10
|
* 内容区域自定义样式
|
12
11
|
*/
|
@@ -20,10 +19,12 @@ interface CardProps {
|
|
20
19
|
* 卡片封面
|
21
20
|
*/
|
22
21
|
cover?: TemplateRef<void>;
|
22
|
+
coverName?: string;
|
23
23
|
/**
|
24
24
|
* 卡片右上角的操作区域
|
25
25
|
*/
|
26
26
|
extra?: string | TemplateRef<void>;
|
27
|
+
extraName?: string;
|
27
28
|
/**
|
28
29
|
* 鼠标移过时可浮起
|
29
30
|
* @default false
|
@@ -43,16 +44,13 @@ interface CardProps {
|
|
43
44
|
* 卡片标题
|
44
45
|
*/
|
45
46
|
title?: string | TemplateRef<void>;
|
47
|
+
titleName?: string;
|
46
48
|
/**
|
47
49
|
* 卡片类型,可设置为 inner 或 不设置
|
48
50
|
*/
|
49
51
|
type?: string | 'inner';
|
52
|
+
/**
|
53
|
+
* 是否显示边框
|
54
|
+
*/
|
55
|
+
bordered?: boolean;
|
50
56
|
}
|
51
|
-
export interface FormlyCardWrapperConfig extends FormlyFieldConfig<CardProps> {
|
52
|
-
wrappers: ('card' | Type<FormlyWrapperCard>)[];
|
53
|
-
}
|
54
|
-
export declare class FormlyWrapperCard extends FieldWrapper<FormlyFieldConfig<CardProps>> {
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperCard, never>;
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperCard, "formly-wrapper-card", never, {}, {}, never, never, false, never>;
|
57
|
-
}
|
58
|
-
export {};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { Type } from '@angular/core';
|
2
|
+
import { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';
|
3
|
+
import { FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';
|
4
|
+
import { CardWrapperProps } from './card-wrapper.props';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
export interface FormlyCardWrapperConfig extends FormlyFieldConfig<CardWrapperProps> {
|
7
|
+
wrappers: ('card-wrapper' | Type<FormlyWrapperCard>)[];
|
8
|
+
}
|
9
|
+
export declare class FormlyWrapperCard extends FieldWrapper<FormlyFieldConfig<CardWrapperProps>> {
|
10
|
+
fieldTemplates: FormlyBoxTemplates;
|
11
|
+
defaultOptions: {
|
12
|
+
props: {
|
13
|
+
bordered: boolean;
|
14
|
+
};
|
15
|
+
};
|
16
|
+
constructor(fieldTemplates: FormlyBoxTemplates);
|
17
|
+
get nzTitle(): import("@angular/core").TemplateRef<any> | undefined;
|
18
|
+
get nzCover(): import("@angular/core").TemplateRef<any> | undefined;
|
19
|
+
get nzExtra(): import("@angular/core").TemplateRef<any> | undefined;
|
20
|
+
get nzActions(): import("@angular/core").TemplateRef<any>[];
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyWrapperCard, [{ optional: true; }]>;
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyWrapperCard, "formly-wrapper-card", never, {}, {}, never, never, false, never>;
|
23
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "@angular/common";
|
3
|
+
import * as i2 from "./formly-box-templates.directive";
|
4
|
+
import * as i3 from "@pkt/ng.core";
|
5
|
+
export declare class FormlyCommonModule {
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyCommonModule, never>;
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormlyCommonModule, never, [typeof i1.CommonModule, typeof i2.FormlyBoxTemplates, typeof i3.NamedTemplate], [typeof i2.FormlyBoxTemplates, typeof i3.NamedTemplate]>;
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormlyCommonModule>;
|
9
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import { AfterContentInit, EventEmitter, OnChanges, QueryList, SimpleChange, SimpleChanges, TemplateRef } from '@angular/core';
|
2
|
+
import { NamedTemplate } from '@pkt/ng.core';
|
3
|
+
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class FormlyBoxTemplates implements AfterContentInit, OnChanges {
|
6
|
+
private tplMap;
|
7
|
+
templateList?: TemplateList;
|
8
|
+
templateChange: EventEmitter<Map<string, TemplateRef<any>>>;
|
9
|
+
namedTemplate: QueryList<NamedTemplate<NzSafeAny>>;
|
10
|
+
get templates(): Map<string, TemplateRef<NzSafeAny>>;
|
11
|
+
/**
|
12
|
+
* 根据模板名称获取TemplateRef
|
13
|
+
* @param templateName 模板名称
|
14
|
+
*/
|
15
|
+
get(templateName: string): TemplateRef<NzSafeAny> | undefined;
|
16
|
+
ngAfterContentInit(): void;
|
17
|
+
update(emitChange?: boolean): void;
|
18
|
+
ngOnChanges(changes: {
|
19
|
+
[K in keyof this]?: SimpleChange;
|
20
|
+
} & SimpleChanges): void;
|
21
|
+
/**
|
22
|
+
* 合并参数模板
|
23
|
+
* @param tplMap
|
24
|
+
* @param emitChange
|
25
|
+
*/
|
26
|
+
mergeTemplate(tplMap: Map<string, TemplateRef<NzSafeAny>>, emitChange?: boolean): void;
|
27
|
+
/**
|
28
|
+
* 合并content 模板
|
29
|
+
* @param tplMap
|
30
|
+
* @param templateList
|
31
|
+
* @private
|
32
|
+
*/
|
33
|
+
private mergeQueryTemplate;
|
34
|
+
/**
|
35
|
+
* 合并模板列表
|
36
|
+
* @param tplMap 模板Map
|
37
|
+
* @param templateList
|
38
|
+
*/
|
39
|
+
private mergeTemplates;
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyBoxTemplates, never>;
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormlyBoxTemplates, "[formly-box]", ["FormlyBox"], { "templateList": { "alias": "formly-box"; "required": false; }; }, { "templateChange": "templateChange"; }, ["namedTemplate"], never, true, never>;
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* 模板列表
|
45
|
+
*/
|
46
|
+
export type TemplateList = QueryList<TemplateRef<NzSafeAny>> | QueryList<NamedTemplate<NzSafeAny>> | NamedTemplate<NzSafeAny>[] | TemplateRef<NzSafeAny>;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
2
|
+
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
3
|
+
import { FormlyBoxTemplates } from './formly-box-templates.directive';
|
4
|
+
/**
|
5
|
+
* 根据属性名获取模板名称
|
6
|
+
* @param propName 属性名
|
7
|
+
*/
|
8
|
+
export declare function getTplName(propName: string): string;
|
9
|
+
/**
|
10
|
+
* 处理属性为模板类型, 根据模板名称处理成模板对象
|
11
|
+
* @param value 数据对象
|
12
|
+
* @param fieldTemplates 模板容器
|
13
|
+
* @param propName 属性名
|
14
|
+
* @param propTemplateName 模板属性名称
|
15
|
+
*/
|
16
|
+
export declare function resolveTplName<T = NzSafeAny>(value: NzSafeAny, fieldTemplates: FormlyBoxTemplates, propName: string, propTemplateName?: string): TemplateRef<T> | undefined;
|
17
|
+
/**
|
18
|
+
* 处理属性为模板类型, 根据模板名称处理成模板对象列表
|
19
|
+
* @param value 数据对象
|
20
|
+
* @param fieldTemplates 模板容器
|
21
|
+
* @param propName 属性名
|
22
|
+
* @param propTemplateName 模板属性名称
|
23
|
+
*/
|
24
|
+
export declare function resolveTplNameArray<T = NzSafeAny>(value: NzSafeAny, fieldTemplates: FormlyBoxTemplates, propName: string, propTemplateName?: string): TemplateRef<T>[];
|
@@ -1,22 +1,25 @@
|
|
1
1
|
import { NgModule } from '@angular/core';
|
2
2
|
import { CommonModule } from '@angular/common';
|
3
3
|
import { FormlyModule } from '@ngx-formly/core';
|
4
|
-
import {
|
4
|
+
import { NzOutletModule } from 'ng-zorro-antd/core/outlet';
|
5
|
+
import { FormlyFieldCard } from './card.type';
|
5
6
|
import { NzCardModule } from 'ng-zorro-antd/card';
|
6
7
|
import * as i0 from "@angular/core";
|
7
8
|
import * as i1 from "@ngx-formly/core";
|
9
|
+
const COMPONENT = FormlyFieldCard;
|
8
10
|
export class FormlyNzCardModule {
|
9
11
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
10
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardModule, declarations: [
|
11
|
-
NzCardModule,
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardModule, declarations: [FormlyFieldCard], imports: [CommonModule,
|
13
|
+
NzCardModule,
|
14
|
+
NzOutletModule, i1.FormlyModule], exports: [FormlyFieldCard] }); }
|
12
15
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardModule, imports: [CommonModule,
|
13
16
|
NzCardModule,
|
17
|
+
NzOutletModule,
|
14
18
|
FormlyModule.forChild({
|
15
|
-
|
19
|
+
types: [
|
16
20
|
{
|
17
21
|
name: 'card',
|
18
|
-
component:
|
19
|
-
types: ['card']
|
22
|
+
component: COMPONENT
|
20
23
|
}
|
21
24
|
]
|
22
25
|
})] }); }
|
@@ -24,20 +27,21 @@ export class FormlyNzCardModule {
|
|
24
27
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardModule, decorators: [{
|
25
28
|
type: NgModule,
|
26
29
|
args: [{
|
27
|
-
declarations: [
|
30
|
+
declarations: [COMPONENT],
|
28
31
|
imports: [
|
29
32
|
CommonModule,
|
30
33
|
NzCardModule,
|
34
|
+
NzOutletModule,
|
31
35
|
FormlyModule.forChild({
|
32
|
-
|
36
|
+
types: [
|
33
37
|
{
|
34
38
|
name: 'card',
|
35
|
-
component:
|
36
|
-
types: ['card']
|
39
|
+
component: COMPONENT
|
37
40
|
}
|
38
41
|
]
|
39
42
|
})
|
40
|
-
]
|
43
|
+
],
|
44
|
+
exports: [COMPONENT]
|
41
45
|
}]
|
42
46
|
}] });
|
43
|
-
//# sourceMappingURL=data:application/json;base64,
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL2NhcmQvc3JjL2NhcmQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDM0QsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLGFBQWEsQ0FBQztBQUM5QyxP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9kdWxlIH0gZnJvbSAnbmctem9ycm8tYW50ZC9jb3JlL291dGxldCc7XG5pbXBvcnQgeyBGb3JtbHlGaWVsZENhcmQgfSBmcm9tICcuL2NhcmQudHlwZSc7XG5pbXBvcnQgeyBOekNhcmRNb2R1bGUgfSBmcm9tICduZy16b3Jyby1hbnRkL2NhcmQnO1xuXG5jb25zdCBDT01QT05FTlQgPSBGb3JtbHlGaWVsZENhcmQ7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW0NPTVBPTkVOVF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgTnpDYXJkTW9kdWxlLFxuICAgIE56T3V0bGV0TW9kdWxlLFxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XG4gICAgICB0eXBlczogW1xuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ2NhcmQnLFxuICAgICAgICAgIGNvbXBvbmVudDogQ09NUE9ORU5UXG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9KVxuICBdLFxuICBleHBvcnRzOiBbQ09NUE9ORU5UXVxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlOekNhcmRNb2R1bGUge31cbiJdfQ==
|
@@ -0,0 +1,93 @@
|
|
1
|
+
import { Component, Optional, ChangeDetectionStrategy } from '@angular/core';
|
2
|
+
import { FieldType } from '@ngx-formly/core';
|
3
|
+
import { FormlyBoxTemplates, resolveTplName, resolveTplNameArray } from 'ngx-formly-zorro-antd/common';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
import * as i1 from "ngx-formly-zorro-antd/common";
|
6
|
+
import * as i2 from "@angular/common";
|
7
|
+
import * as i3 from "ng-zorro-antd/card";
|
8
|
+
import * as i4 from "ng-zorro-antd/core/outlet";
|
9
|
+
import * as i5 from "@ngx-formly/core";
|
10
|
+
export class FormlyFieldCard extends FieldType {
|
11
|
+
constructor(fieldTemplates) {
|
12
|
+
super();
|
13
|
+
this.fieldTemplates = fieldTemplates;
|
14
|
+
this.defaultOptions = {
|
15
|
+
props: {
|
16
|
+
bordered: true,
|
17
|
+
type: 'button'
|
18
|
+
}
|
19
|
+
};
|
20
|
+
}
|
21
|
+
get nzTitle() {
|
22
|
+
return resolveTplName(this.props, this.fieldTemplates, 'title');
|
23
|
+
}
|
24
|
+
get nzCover() {
|
25
|
+
return resolveTplName(this.props, this.fieldTemplates, 'cover');
|
26
|
+
}
|
27
|
+
get nzExtra() {
|
28
|
+
return resolveTplName(this.props, this.fieldTemplates, 'extra');
|
29
|
+
}
|
30
|
+
get nzActions() {
|
31
|
+
return resolveTplNameArray(this.props, this.fieldTemplates, 'actions') || [];
|
32
|
+
}
|
33
|
+
get nzContent() {
|
34
|
+
return resolveTplName(this.props, this.fieldTemplates, 'content');
|
35
|
+
}
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldCard, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
37
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: FormlyFieldCard, selector: "formly-field-card", usesInheritance: true, ngImport: i0, template: `
|
38
|
+
<nz-card
|
39
|
+
[nzActions]="nzActions"
|
40
|
+
[formlyAttributes]="field"
|
41
|
+
[nzBodyStyle]="props['bodyStyle'] ?? null"
|
42
|
+
[nzSize]="props['size']!"
|
43
|
+
[nzBorderless]="props['borderless']!!"
|
44
|
+
[nzCover]="nzCover"
|
45
|
+
[nzExtra]="nzExtra"
|
46
|
+
[nzHoverable]="props['hoverable']!!"
|
47
|
+
[nzLoading]="props['loading']!!"
|
48
|
+
[nzTitle]="nzTitle"
|
49
|
+
[nzBordered]="props['bordered']!!"
|
50
|
+
[nzType]="props['type'] ?? null"
|
51
|
+
>
|
52
|
+
<formly-field [field]="item" *ngFor="let item of field.fieldGroup"></formly-field>
|
53
|
+
<ng-container
|
54
|
+
*nzStringTemplateOutlet="nzContent; context: { $implicit: field, options: props }"
|
55
|
+
>
|
56
|
+
{{ nzContent }}
|
57
|
+
</ng-container>
|
58
|
+
</nz-card>
|
59
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }, { kind: "directive", type: i4.NzStringTemplateOutletDirective, selector: "[nzStringTemplateOutlet]", inputs: ["nzStringTemplateOutletContext", "nzStringTemplateOutlet"], exportAs: ["nzStringTemplateOutlet"] }, { kind: "component", type: i5.FormlyField, selector: "formly-field", inputs: ["field"] }, { kind: "directive", type: i5.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
60
|
+
}
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyFieldCard, decorators: [{
|
62
|
+
type: Component,
|
63
|
+
args: [{
|
64
|
+
selector: 'formly-field-card',
|
65
|
+
template: `
|
66
|
+
<nz-card
|
67
|
+
[nzActions]="nzActions"
|
68
|
+
[formlyAttributes]="field"
|
69
|
+
[nzBodyStyle]="props['bodyStyle'] ?? null"
|
70
|
+
[nzSize]="props['size']!"
|
71
|
+
[nzBorderless]="props['borderless']!!"
|
72
|
+
[nzCover]="nzCover"
|
73
|
+
[nzExtra]="nzExtra"
|
74
|
+
[nzHoverable]="props['hoverable']!!"
|
75
|
+
[nzLoading]="props['loading']!!"
|
76
|
+
[nzTitle]="nzTitle"
|
77
|
+
[nzBordered]="props['bordered']!!"
|
78
|
+
[nzType]="props['type'] ?? null"
|
79
|
+
>
|
80
|
+
<formly-field [field]="item" *ngFor="let item of field.fieldGroup"></formly-field>
|
81
|
+
<ng-container
|
82
|
+
*nzStringTemplateOutlet="nzContent; context: { $implicit: field, options: props }"
|
83
|
+
>
|
84
|
+
{{ nzContent }}
|
85
|
+
</ng-container>
|
86
|
+
</nz-card>
|
87
|
+
`,
|
88
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
89
|
+
}]
|
90
|
+
}], ctorParameters: function () { return [{ type: i1.FormlyBoxTemplates, decorators: [{
|
91
|
+
type: Optional
|
92
|
+
}] }]; } });
|
93
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jYXJkL3NyYy9jYXJkLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsUUFBUSxFQUFFLHVCQUF1QixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2hHLE9BQU8sRUFBRSxTQUFTLEVBQXNDLE1BQU0sa0JBQWtCLENBQUM7QUFDakYsT0FBTyxFQUNMLGtCQUFrQixFQUNsQixjQUFjLEVBQ2QsbUJBQW1CLEVBQ3BCLE1BQU0sOEJBQThCLENBQUM7Ozs7Ozs7QUEwQ3RDLE1BQU0sT0FBTyxlQUFnQixTQUFRLFNBQXFDO0lBUXhFLFlBQStCLGNBQWtDO1FBQy9ELEtBQUssRUFBRSxDQUFDO1FBRHFCLG1CQUFjLEdBQWQsY0FBYyxDQUFvQjtRQVB4RCxtQkFBYyxHQUFHO1lBQ3hCLEtBQUssRUFBRTtnQkFDTCxRQUFRLEVBQUUsSUFBSTtnQkFDZCxJQUFJLEVBQUUsUUFBUTthQUNmO1NBQ0YsQ0FBQztJQUlGLENBQUM7SUFFRCxJQU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7XG4gICAgICBib3JkZXJlZDogdHJ1ZSxcbiAgICAgIHR5cGU6ICdidXR0b24nXG4gICAgfVxuICB9O1xuXG4gIGNvbnN0cnVjdG9yKEBPcHRpb25hbCgpIHB1YmxpYyBmaWVsZFRlbXBsYXRlczogRm9ybWx5Qm94VGVtcGxhdGVzKSB7XG4gICAgc3VwZXIoKTtcbiAgfVxuXG4gIGdldCBuelRpdGxlKCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAndGl0bGUnKTtcbiAgfVxuICBnZXQgbnpDb3ZlcigpIHtcbiAgICByZXR1cm4gcmVzb2x2ZVRwbE5hbWUodGhpcy5wcm9wcywgdGhpcy5maWVsZFRlbXBsYXRlcywgJ2NvdmVyJyk7XG4gIH1cbiAgZ2V0IG56RXh0cmEoKSB7XG4gICAgcmV0dXJuIHJlc29sdmVUcGxOYW1lKHRoaXMucHJvcHMsIHRoaXMuZmllbGRUZW1wbGF0ZXMsICdleHRyYScpO1xuICB9XG4gIGdldCBuekFjdGlvbnMoKSB7XG4gICAgcmV0dXJuIHJlc29sdmVUcGxOYW1lQXJyYXkodGhpcy5wcm9wcywgdGhpcy5maWVsZFRlbXBsYXRlcywgJ2FjdGlvbnMnKSB8fCBbXTtcbiAgfVxuICBnZXQgbnpDb250ZW50KCkge1xuICAgIHJldHVybiByZXNvbHZlVHBsTmFtZSh0aGlzLnByb3BzLCB0aGlzLmZpZWxkVGVtcGxhdGVzLCAnY29udGVudCcpO1xuICB9XG59XG4iXX0=
|
@@ -1,3 +1,3 @@
|
|
1
1
|
export { FormlyNzCardModule } from './card.module';
|
2
|
-
export {
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
export { FormlyFieldCard } from './card.type';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2FyZC9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGVBQWUsRUFBeUIsTUFBTSxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOekNhcmRNb2R1bGUgfSBmcm9tICcuL2NhcmQubW9kdWxlJztcbmV4cG9ydCB7IEZvcm1seUZpZWxkQ2FyZCwgRm9ybWx5Q2FyZEZpZWxkQ29uZmlnIH0gZnJvbSAnLi9jYXJkLnR5cGUnO1xuIl19
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { FormlyModule } from '@ngx-formly/core';
|
4
|
+
import { FormlyWrapperCard } from './card.wrapper';
|
5
|
+
import { NzCardModule } from 'ng-zorro-antd/card';
|
6
|
+
import { FormlyCommonModule } from 'ngx-formly-zorro-antd/common';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
import * as i1 from "@ngx-formly/core";
|
9
|
+
export class FormlyNzCardWrapperModule {
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardWrapperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
11
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardWrapperModule, declarations: [FormlyWrapperCard], imports: [CommonModule,
|
12
|
+
NzCardModule,
|
13
|
+
FormlyCommonModule, i1.FormlyModule] }); }
|
14
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardWrapperModule, imports: [CommonModule,
|
15
|
+
NzCardModule,
|
16
|
+
FormlyCommonModule,
|
17
|
+
FormlyModule.forChild({
|
18
|
+
wrappers: [
|
19
|
+
{
|
20
|
+
name: 'card-wrapper',
|
21
|
+
component: FormlyWrapperCard
|
22
|
+
}
|
23
|
+
]
|
24
|
+
})] }); }
|
25
|
+
}
|
26
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyNzCardWrapperModule, decorators: [{
|
27
|
+
type: NgModule,
|
28
|
+
args: [{
|
29
|
+
declarations: [FormlyWrapperCard],
|
30
|
+
imports: [
|
31
|
+
CommonModule,
|
32
|
+
NzCardModule,
|
33
|
+
FormlyCommonModule,
|
34
|
+
FormlyModule.forChild({
|
35
|
+
wrappers: [
|
36
|
+
{
|
37
|
+
name: 'card-wrapper',
|
38
|
+
component: FormlyWrapperCard
|
39
|
+
}
|
40
|
+
]
|
41
|
+
})
|
42
|
+
]
|
43
|
+
}]
|
44
|
+
}] });
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC13cmFwcGVyLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2FyZC13cmFwcGVyL3NyYy9jYXJkLXdyYXBwZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUVoRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxnQkFBZ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uXG4gIC8qKlxuICAgKiDljaHniYfnmoTlsLrlr7hcbiAgICogQGRlZmF1bHQgZGVmYXVsdFxuICAgKi9cbiAgc2l6ZT86IE56U2l6ZURTVHlwZTtcblxuICAvKipcbiAgICogXHTljaHniYfmoIfpophcbiAgICovXG4gIHRpdGxlPzogc3RyaW5nIHwgVGVtcGxhdGVSZWY8dm9pZD47XG4gIHRpdGxlTmFtZT86IHN0cmluZztcblxuICAvKipcbiAgICog5Y2h54mH57G75Z6L77yM5Y+v6K6+572u5Li6IGlubmVyIOaIliDkuI3orr7nva5cbiAgICovXG4gIHR5cGU/OiBzdHJpbmcgfCAnaW5uZXInO1xuXG4gIC8qKlxuICAgKiDmmK/lkKbmmL7npLrovrnmoYZcbiAgICovXG4gIGJvcmRlcmVkPzogYm9vbGVhbjtcbn1cbiJdfQ==
|
@@ -0,0 +1,77 @@
|
|
1
|
+
import { Component, Optional, ChangeDetectionStrategy } from '@angular/core';
|
2
|
+
import { FieldWrapper } from '@ngx-formly/core';
|
3
|
+
import { FormlyBoxTemplates, resolveTplName, resolveTplNameArray } from 'ngx-formly-zorro-antd/common';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
import * as i1 from "ngx-formly-zorro-antd/common";
|
6
|
+
import * as i2 from "ng-zorro-antd/card";
|
7
|
+
import * as i3 from "@ngx-formly/core";
|
8
|
+
export class FormlyWrapperCard extends FieldWrapper {
|
9
|
+
constructor(fieldTemplates) {
|
10
|
+
super();
|
11
|
+
this.fieldTemplates = fieldTemplates;
|
12
|
+
this.defaultOptions = {
|
13
|
+
props: {
|
14
|
+
bordered: true
|
15
|
+
}
|
16
|
+
};
|
17
|
+
}
|
18
|
+
get nzTitle() {
|
19
|
+
return resolveTplName(this.props, this.fieldTemplates, 'title');
|
20
|
+
}
|
21
|
+
get nzCover() {
|
22
|
+
return resolveTplName(this.props, this.fieldTemplates, 'cover');
|
23
|
+
}
|
24
|
+
get nzExtra() {
|
25
|
+
return resolveTplName(this.props, this.fieldTemplates, 'extra');
|
26
|
+
}
|
27
|
+
get nzActions() {
|
28
|
+
return resolveTplNameArray(this.props, this.fieldTemplates, 'actions') || [];
|
29
|
+
}
|
30
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyWrapperCard, deps: [{ token: i1.FormlyBoxTemplates, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
31
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.5", type: FormlyWrapperCard, selector: "formly-wrapper-card", usesInheritance: true, ngImport: i0, template: `
|
32
|
+
<nz-card
|
33
|
+
[nzActions]="nzActions"
|
34
|
+
[formlyAttributes]="field"
|
35
|
+
[nzBodyStyle]="props['bodyStyle'] ?? null"
|
36
|
+
[nzSize]="props['size']!"
|
37
|
+
[nzBorderless]="props['borderless']!!"
|
38
|
+
[nzCover]="nzCover"
|
39
|
+
[nzExtra]="nzExtra"
|
40
|
+
[nzHoverable]="props['hoverable']!!"
|
41
|
+
[nzLoading]="props['loading']!!"
|
42
|
+
[nzTitle]="nzTitle"
|
43
|
+
[nzBordered]="props['bordered']!!"
|
44
|
+
[nzType]="props['type'] ?? null"
|
45
|
+
>
|
46
|
+
<ng-container #fieldComponent></ng-container>
|
47
|
+
</nz-card>
|
48
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i2.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }, { kind: "directive", type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
49
|
+
}
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.5", ngImport: i0, type: FormlyWrapperCard, decorators: [{
|
51
|
+
type: Component,
|
52
|
+
args: [{
|
53
|
+
selector: 'formly-wrapper-card',
|
54
|
+
template: `
|
55
|
+
<nz-card
|
56
|
+
[nzActions]="nzActions"
|
57
|
+
[formlyAttributes]="field"
|
58
|
+
[nzBodyStyle]="props['bodyStyle'] ?? null"
|
59
|
+
[nzSize]="props['size']!"
|
60
|
+
[nzBorderless]="props['borderless']!!"
|
61
|
+
[nzCover]="nzCover"
|
62
|
+
[nzExtra]="nzExtra"
|
63
|
+
[nzHoverable]="props['hoverable']!!"
|
64
|
+
[nzLoading]="props['loading']!!"
|
65
|
+
[nzTitle]="nzTitle"
|
66
|
+
[nzBordered]="props['bordered']!!"
|
67
|
+
[nzType]="props['type'] ?? null"
|
68
|
+
>
|
69
|
+
<ng-container #fieldComponent></ng-container>
|
70
|
+
</nz-card>
|
71
|
+
`,
|
72
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
73
|
+
}]
|
74
|
+
}], ctorParameters: function () { return [{ type: i1.FormlyBoxTemplates, decorators: [{
|
75
|
+
type: Optional
|
76
|
+
}] }]; } });
|
77
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC53cmFwcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jYXJkLXdyYXBwZXIvc3JjL2NhcmQud3JhcHBlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFRLFFBQVEsRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNuRixPQUFPLEVBQUUsWUFBWSxFQUFxQixNQUFNLGtCQUFrQixDQUFDO0FBQ25FLE9BQU8sRUFDTCxrQkFBa0IsRUFDbEIsY0FBYyxFQUNkLG1CQUFtQixFQUNwQixNQUFNLDhCQUE4QixDQUFDOzs7OztBQThCdEMsTUFB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XRlcywgJ2NvdmVyJyk7XG4gIH1cbiAgZ2V0IG56RXh0cmEoKSB7XG4gICAgcmV0dXJuIHJlc29sdmVUcGxOYW1lKHRoaXMucHJvcHMsIHRoaXMuZmllbGRUZW1wbGF0ZXMsICdleHRyYScpO1xuICB9XG4gIGdldCBuekFjdGlvbnMoKSB7XG4gICAgcmV0dXJuIHJlc29sdmVUcGxOYW1lQXJyYXkodGhpcy5wcm9wcywgdGhpcy5maWVsZFRlbXBsYXRlcywgJ2FjdGlvbnMnKSB8fCBbXTtcbiAgfVxufVxuIl19
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLWNhcmQtd3JhcHBlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2FyZC13cmFwcGVyL3NyYy9uZ3gtZm9ybWx5LXpvcnJvLWFudGQtY2FyZC13cmFwcGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export { FormlyNzCardWrapperModule } from './card-wrapper.module';
|
2
|
+
export { FormlyWrapperCard } from './card.wrapper';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2FyZC13cmFwcGVyL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxpQkFBaUIsRUFBMkIsTUFBTSxnQkFBZ0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IEZvcm1seU56Q2FyZFdyYXBwZXJNb2R1bGUgfSBmcm9tICcuL2NhcmQtd3JhcHBlci5tb2R1bGUnO1xuZXhwb3J0IHsgRm9ybWx5V3JhcHBlckNhcmQsIEZvcm1seUNhcmRXcmFwcGVyQ29uZmlnIH0gZnJvbSAnLi9jYXJkLndyYXBwZXInO1xuZXhwb3J0IHsgQ2FyZFdyYXBwZXJQcm9wcyB9IGZyb20gJy4vY2FyZC13cmFwcGVyLnByb3BzJztcbiJdfQ==
|