z-ui-pc 1.1.5 → 1.1.7

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +11 -1
  2. package/dist/index.js +1636 -1567
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -369,7 +369,7 @@ declare class BaseFormInstanceManagement<T = TObj> {
369
369
  }
370
370
 
371
371
  export declare class BaseFormItem<T extends TObj = TObj, U extends TObj = TObj> implements IBaseFormItem<T> {
372
- readonly id: number;
372
+ readonly id: string;
373
373
  private _customTagName?;
374
374
  tag: EFormComponentType;
375
375
  label: string;
@@ -432,6 +432,11 @@ export declare class BaseFormItem<T extends TObj = TObj, U extends TObj = TObj>
432
432
  */
433
433
  initProps(props: Partial<IBaseFormItem<T>>): void;
434
434
  update(props: Partial<IBaseFormItem<T>>): void;
435
+ /**
436
+ * 初始化自定义列的定义
437
+ * @description 在打开高级筛选的时候自定义数据的tag已经被处理了,所以在保存的时候会被销毁。这里增加额外处理逻辑用于重新定义tag
438
+ */
439
+ initCustomColumnDefinition(): void;
435
440
  /**
436
441
  * 校验当前是否可见。
437
442
  * @param formData
@@ -752,6 +757,11 @@ export declare function createCustomFormItem<T extends Component, U extends TObj
752
757
 
753
758
  export declare const createSortColumn: <T extends TObj = TObj>() => IBaseTableColumn<T>;
754
759
 
760
+ /**
761
+ * 创建一个 16位 uuid
762
+ */
763
+ export declare const createUUID: () => string;
764
+
755
765
  export declare const DATE_SHORTCUTS: {
756
766
  text: string;
757
767
  value: () => string[];