fw-webbuilder 1.1.149 → 1.1.151

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/index.d.ts CHANGED
@@ -108,6 +108,8 @@ declare class webBuilderService {
108
108
  * Biến để kiểm soát việc có cho phép copy hay không
109
109
  */
110
110
  allowCopy: boolean;
111
+ ctrlZ: any;
112
+ ctrlY: any;
111
113
  constructor(http: HttpClient, socketService: SocketService, route: ActivatedRoute);
112
114
  realTimeUpdate(): void;
113
115
  closeConnection(): void;
@@ -187,7 +189,7 @@ declare class webBuilderService {
187
189
  * @param sync đồng bộ giao diện, true thì giao diện sẽ cập nhật ngay, false thì không cập nhật giao diện chỉ add trên db
188
190
  * @returns
189
191
  */
190
- addObject(data: any): Promise<any>;
192
+ addObject(data: any, code?: any): Promise<any>;
191
193
  updateObject(id: string, data: any): Promise<any>;
192
194
  /**
193
195
  * hàm này xóa tất cả object và nhánh con của nó
@@ -261,6 +263,7 @@ declare class webBuilderService {
261
263
  handleCtrl_C(): Promise<any>;
262
264
  handleCtrl_D(): Promise<any>;
263
265
  handleCtrl_V(): any;
266
+ handleCtrl_Z(): Promise<void>;
264
267
  applyFontLinks(fontLinksFromDB: string): void;
265
268
  getFontNames(fontLinkTag: string): string[];
266
269
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fw-webbuilder",
3
- "version": "1.1.149",
3
+ "version": "1.1.151",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^20.3.0",
6
6
  "@angular/core": "^20.3.0",