@dignite-ng/expand.dynamic-form 0.0.4 → 0.0.6

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.
@@ -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 { RestService } from '@abp/ng.core';
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
- constructor(fb: FormBuilder, restService: RestService);
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
  }
@@ -7,7 +7,7 @@ export declare class DfApiService {
7
7
  * 大写转小写
8
8
  *
9
9
  * */
10
- chineseToPinyin(value: string): string;
10
+ chineseToPinyin(value: any): any;
11
11
  /**获取图片的本地连接 */
12
12
  getImageLacolBase64Url(file: File): Promise<unknown>;
13
13
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dignite-ng/expand.dynamic-form",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.2.0",
6
6
  "@angular/core": "^16.2.0",