@dignite-ng/expand.cms 2.0.0-rc.8 → 2.0.0-rc.9

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,9 +1,11 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
3
+ import { CmsApiService } from '../../../services';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class MatrixControlComponent {
5
6
  private fb;
6
- constructor(fb: FormBuilder);
7
+ private _CmsApiService;
8
+ constructor(fb: FormBuilder, _CmsApiService: CmsApiService);
7
9
  /**字段配置列表 */
8
10
  _fields: any;
9
11
  set fields(v: any);
@@ -1,8 +1,10 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { FormArray, FormGroup } from '@angular/forms';
3
+ import { CmsApiService } from '../../../services';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class TableControlComponent {
5
- constructor();
6
+ private _CmsApiService;
7
+ constructor(_CmsApiService: CmsApiService);
6
8
  private fb;
7
9
  /**表单实体 */
8
10
  _entity: FormGroup | undefined;
@@ -9,8 +9,15 @@ export declare class CmsApiService {
9
9
  * */
10
10
  chineseToPinyin(value: any): any;
11
11
  /**
12
- * 深拷贝--方法 */
12
+ * 深拷贝--方法 */
13
13
  deepClone(obj: any): any;
14
+ /**
15
+ * 递归将对象属性名首字母转为小写
16
+ * @param obj 需要处理的对象或数组
17
+ * @param isInsideFormConfig 标记是否在 FormConfiguration 内部
18
+ * @returns 处理后的新对象
19
+ */
20
+ convertKeysToCamelCase(obj: any, isInsideFormConfig?: boolean): any;
14
21
  static ɵfac: i0.ɵɵFactoryDeclaration<CmsApiService, never>;
15
22
  static ɵprov: i0.ɵɵInjectableDeclaration<CmsApiService>;
16
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dignite-ng/expand.cms",
3
- "version": "2.0.0-rc.8",
3
+ "version": "2.0.0-rc.9",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "~18.1.0",
6
6
  "@angular/core": "~18.1.0"