@dignite-ng/expand.dynamic-form 0.0.19 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/dignite-ng-expand.dynamic-form.mjs +1 -1
- package/esm2022/dynamic-form.mjs +5 -0
- package/esm2022/lib/components/dynamic/dynamic.component.mjs +9 -8
- package/esm2022/lib/components/dynamic/index.mjs +1 -1
- package/esm2022/lib/components/form/date-edit/date-edit-config.component.mjs +62 -0
- package/esm2022/lib/components/form/date-edit/date-edit-config.mjs +19 -0
- package/esm2022/lib/components/form/date-edit/date-edit-control.component.mjs +84 -0
- package/esm2022/lib/components/form/date-edit/index.mjs +3 -0
- package/esm2022/lib/components/form/form-control-group.mjs +52 -0
- package/esm2022/lib/components/form/index.mjs +7 -0
- package/esm2022/lib/components/form/numeric-edit/index.mjs +3 -0
- package/esm2022/lib/components/form/numeric-edit/numberic-edit-config.component.mjs +60 -0
- package/esm2022/lib/components/form/numeric-edit/numberic-edit-config.mjs +24 -0
- package/esm2022/lib/components/form/numeric-edit/numberic-edit-control.component.mjs +104 -0
- package/esm2022/lib/components/form/select/index.mjs +3 -0
- package/esm2022/lib/components/form/select/select-config.component.mjs +94 -0
- package/esm2022/lib/components/form/select/select-config.mjs +19 -0
- package/esm2022/lib/components/form/select/select-control.component.mjs +81 -0
- package/esm2022/lib/components/form/switch/index.mjs +3 -0
- package/esm2022/lib/components/form/switch/switch-config.component.mjs +60 -0
- package/esm2022/lib/components/form/switch/switch-config.mjs +14 -0
- package/esm2022/lib/components/form/switch/switch-control.component.mjs +71 -0
- package/esm2022/lib/components/form/text-edit/index.mjs +4 -0
- package/esm2022/lib/components/form/text-edit/text-edit-config.component.mjs +62 -0
- package/esm2022/lib/components/form/text-edit/text-edit-config.mjs +18 -0
- package/esm2022/lib/components/form/text-edit/text-edit.component.mjs +81 -0
- package/esm2022/lib/components/index.mjs +2 -2
- package/esm2022/lib/dynamic-form.module.mjs +16 -14
- package/esm2022/lib/enums/date-edit-interfaces.mjs +1 -1
- package/esm2022/lib/enums/text-edit-mode.mjs +1 -1
- package/esm2022/lib/interfaces/form-config-interfaces.mjs +1 -1
- package/esm2022/lib/interfaces/index.mjs +1 -1
- package/esm2022/lib/services/df-api.service.mjs +7 -6
- package/esm2022/lib/services/index.mjs +1 -1
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/dignite-ng-expand.dynamic-form.mjs +64 -391
- package/fesm2022/dignite-ng-expand.dynamic-form.mjs.map +1 -1
- package/fesm2022/dynamic-form.mjs +1141 -0
- package/fesm2022/dynamic-form.mjs.map +1 -0
- package/lib/components/{from → form}/index.d.ts +0 -1
- package/lib/components/index.d.ts +1 -1
- package/lib/dynamic-form.module.d.ts +17 -19
- package/package.json +2 -4
- package/esm2022/lib/components/from/ck-editor/ck-editor-config.component.mjs +0 -57
- package/esm2022/lib/components/from/ck-editor/ck-editor-config.mjs +0 -18
- package/esm2022/lib/components/from/ck-editor/ck-editor-control.component.mjs +0 -211
- package/esm2022/lib/components/from/ck-editor/ckEditorUpload.mjs +0 -51
- package/esm2022/lib/components/from/ck-editor/index.mjs +0 -3
- package/esm2022/lib/components/from/date-edit/date-edit-config.component.mjs +0 -62
- package/esm2022/lib/components/from/date-edit/date-edit-config.mjs +0 -19
- package/esm2022/lib/components/from/date-edit/date-edit-control.component.mjs +0 -83
- package/esm2022/lib/components/from/date-edit/index.mjs +0 -3
- package/esm2022/lib/components/from/form-control-group.mjs +0 -59
- package/esm2022/lib/components/from/index.mjs +0 -8
- package/esm2022/lib/components/from/numeric-edit/index.mjs +0 -3
- package/esm2022/lib/components/from/numeric-edit/numberic-edit-config.component.mjs +0 -60
- package/esm2022/lib/components/from/numeric-edit/numberic-edit-config.mjs +0 -24
- package/esm2022/lib/components/from/numeric-edit/numberic-edit-control.component.mjs +0 -103
- package/esm2022/lib/components/from/select/index.mjs +0 -3
- package/esm2022/lib/components/from/select/select-config.component.mjs +0 -94
- package/esm2022/lib/components/from/select/select-config.mjs +0 -19
- package/esm2022/lib/components/from/select/select-control.component.mjs +0 -80
- package/esm2022/lib/components/from/switch/index.mjs +0 -3
- package/esm2022/lib/components/from/switch/switch-config.component.mjs +0 -60
- package/esm2022/lib/components/from/switch/switch-config.mjs +0 -14
- package/esm2022/lib/components/from/switch/switch-control.component.mjs +0 -69
- package/esm2022/lib/components/from/text-edit/index.mjs +0 -4
- package/esm2022/lib/components/from/text-edit/text-edit-config.component.mjs +0 -62
- package/esm2022/lib/components/from/text-edit/text-edit-config.mjs +0 -18
- package/esm2022/lib/components/from/text-edit/text-edit.component.mjs +0 -80
- package/esm2022/lib/proxy/dignite/file-explorer/files/file-descriptor.service.mjs +0 -59
- package/esm2022/lib/proxy/dignite/file-explorer/files/index.mjs +0 -3
- package/esm2022/lib/proxy/dignite/file-explorer/files/models.mjs +0 -2
- package/esm2022/lib/proxy/microsoft/asp-net-core/mvc/models.mjs +0 -2
- package/esm2022/lib/proxy/microsoft/extensions/primitives/models.mjs +0 -2
- package/esm2022/lib/proxy/microsoft/net/http/headers/models.mjs +0 -2
- package/esm2022/lib/proxy/volo/abp/content/models.mjs +0 -2
- package/lib/components/from/ck-editor/ck-editor-config.component.d.ts +0 -21
- package/lib/components/from/ck-editor/ck-editor-config.d.ts +0 -7
- package/lib/components/from/ck-editor/ck-editor-control.component.d.ts +0 -77
- package/lib/components/from/ck-editor/ckEditorUpload.d.ts +0 -12
- package/lib/components/from/ck-editor/index.d.ts +0 -2
- package/lib/proxy/dignite/file-explorer/files/file-descriptor.service.d.ts +0 -20
- package/lib/proxy/dignite/file-explorer/files/index.d.ts +0 -2
- package/lib/proxy/dignite/file-explorer/files/models.d.ts +0 -50
- package/lib/proxy/microsoft/asp-net-core/mvc/models.d.ts +0 -10
- package/lib/proxy/microsoft/extensions/primitives/models.d.ts +0 -8
- package/lib/proxy/microsoft/net/http/headers/models.d.ts +0 -6
- package/lib/proxy/volo/abp/content/models.d.ts +0 -5
- /package/lib/components/{from → form}/date-edit/date-edit-config.component.d.ts +0 -0
- /package/lib/components/{from → form}/date-edit/date-edit-config.d.ts +0 -0
- /package/lib/components/{from → form}/date-edit/date-edit-control.component.d.ts +0 -0
- /package/lib/components/{from → form}/date-edit/index.d.ts +0 -0
- /package/lib/components/{from → form}/form-control-group.d.ts +0 -0
- /package/lib/components/{from → form}/numeric-edit/index.d.ts +0 -0
- /package/lib/components/{from → form}/numeric-edit/numberic-edit-config.component.d.ts +0 -0
- /package/lib/components/{from → form}/numeric-edit/numberic-edit-config.d.ts +0 -0
- /package/lib/components/{from → form}/numeric-edit/numberic-edit-control.component.d.ts +0 -0
- /package/lib/components/{from → form}/select/index.d.ts +0 -0
- /package/lib/components/{from → form}/select/select-config.component.d.ts +0 -0
- /package/lib/components/{from → form}/select/select-config.d.ts +0 -0
- /package/lib/components/{from → form}/select/select-control.component.d.ts +0 -0
- /package/lib/components/{from → form}/switch/index.d.ts +0 -0
- /package/lib/components/{from → form}/switch/switch-config.component.d.ts +0 -0
- /package/lib/components/{from → form}/switch/switch-config.d.ts +0 -0
- /package/lib/components/{from → form}/switch/switch-control.component.d.ts +0 -0
- /package/lib/components/{from → form}/text-edit/index.d.ts +0 -0
- /package/lib/components/{from → form}/text-edit/text-edit-config.component.d.ts +0 -0
- /package/lib/components/{from → form}/text-edit/text-edit-config.d.ts +0 -0
- /package/lib/components/{from → form}/text-edit/text-edit.component.d.ts +0 -0
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { FormGroup } from '@angular/forms';
|
|
3
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/zh-cn.js';
|
|
4
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/zh.js';
|
|
5
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/de.js';
|
|
6
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/de-ch.js';
|
|
7
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/ar';
|
|
8
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/cs.js';
|
|
9
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/hi.js';
|
|
10
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/fi.js';
|
|
11
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/hu.js';
|
|
12
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/fr.js';
|
|
13
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/it.js';
|
|
14
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/en-gb.js';
|
|
15
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/pt-br.js';
|
|
16
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/sk';
|
|
17
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/ja.js';
|
|
18
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/es.js';
|
|
19
|
-
import '@ckeditor/ckeditor5-build-classic/build/translations/vi.js';
|
|
20
|
-
import * as i0 from "@angular/core";
|
|
21
|
-
export declare class CkEditorControlComponent {
|
|
22
|
-
private renderer;
|
|
23
|
-
private document;
|
|
24
|
-
private _restService;
|
|
25
|
-
private config;
|
|
26
|
-
languagesMap: {
|
|
27
|
-
ar: string;
|
|
28
|
-
cs: string;
|
|
29
|
-
en: string;
|
|
30
|
-
hi: string;
|
|
31
|
-
fi: string;
|
|
32
|
-
hu: string;
|
|
33
|
-
fr: string;
|
|
34
|
-
it: string;
|
|
35
|
-
'en-GB': string;
|
|
36
|
-
'pt-BR': string;
|
|
37
|
-
'zh-Hant': string;
|
|
38
|
-
'zh-Hans': string;
|
|
39
|
-
tr: string;
|
|
40
|
-
sk: string;
|
|
41
|
-
'de-DE': string;
|
|
42
|
-
es: string;
|
|
43
|
-
ja: string;
|
|
44
|
-
vi: string;
|
|
45
|
-
};
|
|
46
|
-
ckeditor: ElementRef | undefined;
|
|
47
|
-
Editor: any;
|
|
48
|
-
constructor(renderer: Renderer2, document: Document);
|
|
49
|
-
addScript(url: string): void;
|
|
50
|
-
ClassicEditor_view: any;
|
|
51
|
-
_init_Editor(): void;
|
|
52
|
-
private fb;
|
|
53
|
-
/**表单实体 */
|
|
54
|
-
_entity: FormGroup | undefined;
|
|
55
|
-
set entity(v: any);
|
|
56
|
-
/**字段配置列表 */
|
|
57
|
-
_fields: any;
|
|
58
|
-
set fields(v: any);
|
|
59
|
-
/**父级字段名称,用于为表单设置控件赋值 */
|
|
60
|
-
_parentFiledName: any;
|
|
61
|
-
set parentFiledName(v: any);
|
|
62
|
-
/**父级字段名称,用于为表单设置控件赋值 */
|
|
63
|
-
_selected: any;
|
|
64
|
-
set selected(v: any);
|
|
65
|
-
submitclick: ElementRef;
|
|
66
|
-
get extraProperties(): FormGroup<any>;
|
|
67
|
-
get ckeditorInput(): FormGroup<any>;
|
|
68
|
-
/**数据加载完成 */
|
|
69
|
-
dataLoaded(): Promise<void>;
|
|
70
|
-
invalidfeedback: boolean;
|
|
71
|
-
setckeditorInput(val: any): void;
|
|
72
|
-
/**图片容器名称 */
|
|
73
|
-
imagesContainerName: any;
|
|
74
|
-
AfterInit(): Promise<unknown>;
|
|
75
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CkEditorControlComponent, never>;
|
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CkEditorControlComponent, "df-ck-editor-control", never, { "entity": { "alias": "entity"; "required": false; }; "fields": { "alias": "fields"; "required": false; }; "parentFiledName": { "alias": "parentFiledName"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
|
|
77
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Rest, RestService } from "@abp/ng.core";
|
|
2
|
-
import { FileDescriptorDto } from "../../../proxy/dignite/file-explorer/files";
|
|
3
|
-
export declare class isBase64UploadAdapter {
|
|
4
|
-
reader: FileReader;
|
|
5
|
-
restService: RestService;
|
|
6
|
-
loader: any;
|
|
7
|
-
ImagesContainerName: any;
|
|
8
|
-
Base64: boolean;
|
|
9
|
-
constructor(loader: any, ImagesContainerName: any, restService: RestService);
|
|
10
|
-
upload(): Promise<unknown>;
|
|
11
|
-
createFile: (input: any, config?: Partial<Rest.Config>) => import("rxjs").Observable<FileDescriptorDto>;
|
|
12
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { CreateFileInput, FileContainerConfigurationDto, FileDescriptorDto, GetFilesInput, ImageResizeInput, UpdateFileInput } from './models';
|
|
2
|
-
import { RestService, Rest } from '@abp/ng.core';
|
|
3
|
-
import type { PagedResultDto } from '@abp/ng.core';
|
|
4
|
-
import type { FileResult } from '../../../microsoft/asp-net-core/mvc/models';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class FileDescriptorService {
|
|
7
|
-
private restService;
|
|
8
|
-
apiName: string;
|
|
9
|
-
create: (input: CreateFileInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<FileDescriptorDto>;
|
|
10
|
-
delete: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<void>;
|
|
11
|
-
download: (containerName: string, blobName: string, fileName: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<FileResult>;
|
|
12
|
-
get: (id: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<FileDescriptorDto>;
|
|
13
|
-
getFileContainerConfiguration: (containerName: string, config?: Partial<Rest.Config>) => import("rxjs").Observable<FileContainerConfigurationDto>;
|
|
14
|
-
getList: (input: GetFilesInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<PagedResultDto<FileDescriptorDto>>;
|
|
15
|
-
getStream: (containerName: string, blobName: string, imageResize?: ImageResizeInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<Blob>;
|
|
16
|
-
update: (id: string, input: UpdateFileInput, config?: Partial<Rest.Config>) => import("rxjs").Observable<FileDescriptorDto>;
|
|
17
|
-
constructor(restService: RestService);
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FileDescriptorService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<FileDescriptorService>;
|
|
20
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { IRemoteStreamContent } from '../../../volo/abp/content/models';
|
|
2
|
-
import type { CreationAuditedEntityDto, PagedAndSortedResultRequestDto } from '@abp/ng.core';
|
|
3
|
-
export interface CreateFileInput {
|
|
4
|
-
containerName: string;
|
|
5
|
-
cellName?: string;
|
|
6
|
-
directoryId?: string;
|
|
7
|
-
entityId?: string;
|
|
8
|
-
file: IRemoteStreamContent;
|
|
9
|
-
}
|
|
10
|
-
export interface FileCellDto {
|
|
11
|
-
name?: string;
|
|
12
|
-
displayName?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface FileContainerConfigurationDto {
|
|
15
|
-
maxBlobSize: number;
|
|
16
|
-
allowedFileTypeNames: string[];
|
|
17
|
-
fileCells: FileCellDto[];
|
|
18
|
-
createDirectoryPermissionName?: string;
|
|
19
|
-
createFilePermissionName?: string;
|
|
20
|
-
updateFilePermissionName?: string;
|
|
21
|
-
deleteFilePermissionName?: string;
|
|
22
|
-
getFilePermissionName?: string;
|
|
23
|
-
}
|
|
24
|
-
export interface FileDescriptorDto extends CreationAuditedEntityDto<string> {
|
|
25
|
-
entityId?: string;
|
|
26
|
-
containerName?: string;
|
|
27
|
-
blobName?: string;
|
|
28
|
-
cellName?: string;
|
|
29
|
-
directoryId?: string;
|
|
30
|
-
size: number;
|
|
31
|
-
name?: string;
|
|
32
|
-
mimeType?: string;
|
|
33
|
-
url?: string;
|
|
34
|
-
}
|
|
35
|
-
export interface GetFilesInput extends PagedAndSortedResultRequestDto {
|
|
36
|
-
containerName: string;
|
|
37
|
-
directoryId?: string;
|
|
38
|
-
creatorId?: string;
|
|
39
|
-
filter?: string;
|
|
40
|
-
entityId?: string;
|
|
41
|
-
}
|
|
42
|
-
export interface ImageResizeInput {
|
|
43
|
-
width?: number;
|
|
44
|
-
height?: number;
|
|
45
|
-
}
|
|
46
|
-
export interface UpdateFileInput {
|
|
47
|
-
cellName?: string;
|
|
48
|
-
directoryId?: string;
|
|
49
|
-
name?: string;
|
|
50
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { EntityTagHeaderValue } from '../../net/http/headers/models';
|
|
2
|
-
export interface ActionResult {
|
|
3
|
-
}
|
|
4
|
-
export interface FileResult extends ActionResult {
|
|
5
|
-
contentType?: string;
|
|
6
|
-
fileDownloadName?: string;
|
|
7
|
-
lastModified?: string;
|
|
8
|
-
entityTag: EntityTagHeaderValue;
|
|
9
|
-
enableRangeProcessing: boolean;
|
|
10
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|