@dignite-ng/expand.dynamic-form 0.0.4 → 0.0.5
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/lib/components/dynamic/dynamic.component.mjs +1 -1
- package/esm2022/lib/components/from/ck-editor/ck-editor-control.component.mjs +72 -30
- package/esm2022/lib/components/from/file-explorer/file-explorer-control.component.mjs +3 -3
- package/esm2022/lib/components/from/text-edit/text-edit.component.mjs +7 -1
- package/esm2022/lib/services/df-api.service.mjs +3 -2
- package/fesm2022/dignite-ng-expand.dynamic-form.mjs +80 -32
- package/fesm2022/dignite-ng-expand.dynamic-form.mjs.map +1 -1
- package/lib/components/from/ck-editor/ck-editor-control.component.d.ts +41 -17
- package/lib/components/from/text-edit/text-edit.component.d.ts +1 -0
- package/lib/services/df-api.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,29 +1,53 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
3
|
import ClassicEditor from '@ckeditor/ckeditor5-build-classic';
|
|
4
|
-
import
|
|
4
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/zh-cn.js';
|
|
5
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/zh.js';
|
|
6
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/de.js';
|
|
7
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/de-ch.js';
|
|
8
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/ar';
|
|
9
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/cs.js';
|
|
10
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/hi.js';
|
|
11
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/fi.js';
|
|
12
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/hu.js';
|
|
13
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/fr.js';
|
|
14
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/it.js';
|
|
15
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/en-gb.js';
|
|
16
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/pt-br.js';
|
|
17
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/sk';
|
|
18
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/ja.js';
|
|
19
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/es.js';
|
|
20
|
+
import '@ckeditor/ckeditor5-build-classic/build/translations/vi.js';
|
|
21
|
+
import { ConfigStateService, RestService } from '@abp/ng.core';
|
|
5
22
|
import * as i0 from "@angular/core";
|
|
6
23
|
export declare class CkEditorControlComponent {
|
|
7
24
|
private fb;
|
|
8
25
|
private restService;
|
|
9
|
-
|
|
26
|
+
private config;
|
|
27
|
+
languagesMap: {
|
|
28
|
+
ar: string;
|
|
29
|
+
cs: string;
|
|
30
|
+
en: string;
|
|
31
|
+
hi: string;
|
|
32
|
+
fi: string;
|
|
33
|
+
hu: string;
|
|
34
|
+
fr: string;
|
|
35
|
+
it: string;
|
|
36
|
+
'en-GB': string;
|
|
37
|
+
'pt-BR': string;
|
|
38
|
+
'zh-Hant': string;
|
|
39
|
+
'zh-Hans': string;
|
|
40
|
+
tr: string;
|
|
41
|
+
sk: string;
|
|
42
|
+
'de-DE': string;
|
|
43
|
+
es: string;
|
|
44
|
+
ja: string;
|
|
45
|
+
vi: string;
|
|
46
|
+
};
|
|
47
|
+
constructor(fb: FormBuilder, restService: RestService, config: ConfigStateService);
|
|
10
48
|
Editor: typeof ClassicEditor;
|
|
11
49
|
/**富文本配置 */
|
|
12
|
-
editorConfig: {
|
|
13
|
-
language: string;
|
|
14
|
-
placeholder: string;
|
|
15
|
-
toolbar: {
|
|
16
|
-
removeItems: string[];
|
|
17
|
-
shouldNotGroupWhenFull: boolean;
|
|
18
|
-
};
|
|
19
|
-
styles: string[];
|
|
20
|
-
image: {
|
|
21
|
-
toolbar: string[];
|
|
22
|
-
insert: {
|
|
23
|
-
integrations: string[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
50
|
+
editorConfig: {};
|
|
27
51
|
onReady(editor: any): void;
|
|
28
52
|
/**富文本内容改变 */
|
|
29
53
|
onChange({ editor }: any): void;
|
|
@@ -22,6 +22,7 @@ export declare class TextEditComponent {
|
|
|
22
22
|
extraProperties: FormGroup | undefined;
|
|
23
23
|
dataLoaded(): Promise<void>;
|
|
24
24
|
AfterInit(): Promise<unknown>;
|
|
25
|
+
isObjEmpty: (obj: any) => boolean;
|
|
25
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextEditComponent, never>;
|
|
26
27
|
static ɵcmp: i0.ɵɵComponentDeclaration<TextEditComponent, "df-text-edit", 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>;
|
|
27
28
|
}
|