vhobjects-service 0.5.5 → 0.5.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.
@@ -234,6 +234,25 @@ export declare class AnimationsConfigComponent implements OnInit {
234
234
  * Sao chép đường dẫn hình ảnh vào bộ nhớ tạm
235
235
  */
236
236
  copyLinkImg(text?: string): void;
237
+ /**
238
+ * Hàm lấy ra giới hạn min max cho cấu hình transform
239
+ * > **Lưu ý: Hàm này chỉ được dùng trong nz-input-number không dùng trong nz-slider**
240
+ * @param item mục trong customize
241
+ * @param limit `min` | `max` để tạo thành field
242
+ * @param direction `X` | `Y` hướng của giới hạn để tạo thành field
243
+ * @param property thuộc tính giá trị để tạo thành field
244
+ * @param defaultValue giá trị mặc định nếu cả 2 field đều là undefined
245
+ */
246
+ getLimitTransform(item: any, limit: 'min' | 'max', direction: 'X' | 'Y', property: any, defaultValue?: number): number | null;
247
+ /**
248
+ * Hàm lấy ra giới hạn min max cho cấu hình của thuộc tính bất kì
249
+ * > **Lưu ý: Hàm này chỉ được dùng trong nz-input-number không dùng trong nz-slider**
250
+ * @param item mục trong customize
251
+ * @param limit `min` | `max` để tạo thành field
252
+ * @param property thuộc tính giá trị để tạo thành field
253
+ * @param defaultValue giá trị mặc định nếu cả 2 field đều là undefined
254
+ */
255
+ getLimitSingleAttribute(item: any, limit: 'min' | 'max', defaultValue?: number): number | null;
237
256
  static ɵfac: i0.ɵɵFactoryDeclaration<AnimationsConfigComponent, never>;
238
257
  static ɵcmp: i0.ɵɵComponentDeclaration<AnimationsConfigComponent, "app-animations-config", never, { "staticdata": "staticdata"; "elementChoosing": "elementChoosing"; "config": "config"; "device": "device"; "id_object": "id_object"; "customize": "customize"; "type": "type"; "isPage": "isPage"; "isBlock": "isBlock"; "isParent": "isParent"; }, {}, never, never>;
239
258
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vhobjects-service",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^12.2.0",
6
6
  "@angular/core": "^12.2.0"