zhihao-ui 1.3.52 → 1.3.53

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 (46) hide show
  1. package/dist/es/{BaseInfo-Cu3ME-K_.js → BaseInfo-BZ34efZZ.js} +1 -1
  2. package/dist/es/{BaseItem-Co7KlYD6.js → BaseItem-DxfKmzHN.js} +3 -3
  3. package/dist/es/{Button-Dp3Eoz3O.js → Button-ByWikGvS.js} +2 -2
  4. package/dist/es/CascaderLoadMore-CF_J-i8H.js +261 -0
  5. package/dist/es/{DatePicker-BilQVlgi.js → DatePicker-BS2zGuNF.js} +6 -6
  6. package/dist/es/{DetailHeader-DTHE-pQa.js → DetailHeader-Bdjj2rT_.js} +3 -3
  7. package/dist/es/{DetailSubTitle-BG-q2NNN.js → DetailSubTitle-oDZVGEDj.js} +2 -2
  8. package/dist/es/{Dialog-B0N_UsO3.js → Dialog-6oittA9s.js} +3 -3
  9. package/dist/es/DiyDataTable-BzfRDF0J.js +366 -0
  10. package/dist/es/{EditInfoPair-DwrwCanm.js → EditInfoPair-CZXKGl2-.js} +3 -3
  11. package/dist/es/{FileWrapper-BDK8YvRB.js → FileWrapper-B4nZf2F1.js} +4 -4
  12. package/dist/es/{Grid-pVjqXcmJ.js → Grid-anvIeL2d.js} +2 -2
  13. package/dist/es/{InfoPair-lu2zDhpQ.js → InfoPair-C6PjunKe.js} +3 -3
  14. package/dist/es/{Input-Du4ztfNG.js → Input-v0wMSltt.js} +14 -14
  15. package/dist/es/{Loading-Dc9138dn.js → Loading-C86LqgY4.js} +2 -2
  16. package/dist/es/{Map-BTSSoA-T.js → Map-CGiEKZ7_.js} +3 -3
  17. package/dist/es/{MessageBox-CJMqwEqr.js → MessageBox-Mt0l51rJ.js} +2 -2
  18. package/dist/es/{MoneyInput-CJxSKPIk.js → MoneyInput-DU9wly48.js} +5 -5
  19. package/dist/es/{PageHeadPanel-BChW8Tal.js → PageHeadPanel-CJNtdEZb.js} +2 -2
  20. package/dist/es/Table-BgW-kh7S.js +1177 -0
  21. package/dist/es/{ToolTips-Y6yG2q7L.js → ToolTips-DtkJa3Ld.js} +3 -3
  22. package/dist/es/index.js +43 -40
  23. package/dist/es/{utils-Co2iJhr8.js → utils-BXhGHET2.js} +3 -3
  24. package/dist/es/{vendor-Crdostgq.js → vendor-DIFwbdTH.js} +12157 -11172
  25. package/dist/index.css +1 -1
  26. package/dist/types/components/BaseItem/BaseItem.vue.d.ts +1 -1
  27. package/dist/types/components/BaseItem/index.d.ts +10 -10
  28. package/dist/types/components/BaseItem/types.d.ts +1 -1
  29. package/dist/types/components/CascaderLoadMore/CascaderLoadMore.vue.d.ts +2 -0
  30. package/dist/types/components/CascaderLoadMore/index.d.ts +5 -0
  31. package/dist/types/components/DetailHeader/index.d.ts +3 -3
  32. package/dist/types/components/DetailHeader/types.d.ts +1 -1
  33. package/dist/types/components/Dialog/Dialog.vue.d.ts +12 -12
  34. package/dist/types/components/Dialog/index.d.ts +18 -18
  35. package/dist/types/components/DiyDataTable/DiyDataTable.vue.d.ts +386 -1
  36. package/dist/types/components/DiyDataTable/index.d.ts +1131 -0
  37. package/dist/types/components/DiyDataTable/type.d.ts +17 -1
  38. package/dist/types/components/Table/types.d.ts +1 -0
  39. package/dist/types/components/Table/utils.d.ts +4 -0
  40. package/dist/types/components/ToolTips/index.d.ts +12 -12
  41. package/dist/types/components/index.d.ts +1 -0
  42. package/dist/umd/index.css +1 -1
  43. package/dist/umd/index.umd.cjs +70 -50
  44. package/package.json +1 -1
  45. package/dist/es/DiyDataTable-BQaaClFf.js +0 -331
  46. package/dist/es/Table-CzNjEPnP.js +0 -1155
@@ -7,7 +7,8 @@ export declare enum DIY_DATA_TYPE {
7
7
  /** 格式化文本 */
8
8
  FORMAT = "format",
9
9
  /** 文本,初始化要传数据,配合isSameData使用 */
10
- TEXT = "text"
10
+ TEXT = "text",
11
+ INDEX = "index"
11
12
  }
12
13
  /** 列配置 */
13
14
  export type DiyDataTableColumnItem = {
@@ -51,4 +52,19 @@ export type DiyDataTableColumnItem = {
51
52
  fixed?: "left" | "right";
52
53
  /** 列插槽 */
53
54
  slot?: string;
55
+ /** show是否显示列,目前只对序号列 prop:index,生效 */
56
+ isShow?: boolean;
57
+ isNewlyColumn?: boolean;
54
58
  };
59
+ /** 增行,增列操作列的配置项 */
60
+ export interface DiytableOperationType {
61
+ isShow?: boolean;
62
+ /** 宽度 */
63
+ width?: number | string;
64
+ /** 最小宽度 */
65
+ minWidth?: number | string;
66
+ customAddRow?: boolean;
67
+ addRowText?: string;
68
+ customAddColumn?: boolean;
69
+ addColumnText?: string;
70
+ }
@@ -23,6 +23,7 @@ export type SearchRenderScope = {
23
23
  };
24
24
  export type SearchProps = {
25
25
  el?: SearchType;
26
+ type?: string;
26
27
  label?: string;
27
28
  props?: any;
28
29
  key?: string;
@@ -52,4 +52,8 @@ export declare const useColSetting: (customColumnCacheKey?: string) => {
52
52
  setColumnCache: (key: string, value: ColumnProps[]) => void;
53
53
  removeColumnCache: (key: string) => void;
54
54
  };
55
+ /**
56
+ * @description Loading Svg
57
+ */
58
+ export declare const defaultLoadingSvg = "<g clip-path=\"url(#clip0_94_5585)\">\n <path d=\"M9.48792 55.1851C11.0631 55.1851 12.3401 53.9081 12.3401 52.3329C12.3401 50.7577 11.0631 49.4807 9.48792 49.4807C7.91271 49.4807 6.63574 50.7577 6.63574 52.3329C6.63574 53.9081 7.91271 55.1851 9.48792 55.1851Z\" fill=\"#9CBEFC\"/>\n <path d=\"M2.44202 35.4087C4.01723 35.4087 5.2942 34.1317 5.2942 32.5565C5.2942 30.9813 4.01723 29.7043 2.44202 29.7043C0.866808 29.7043 -0.410156 30.9813 -0.410156 32.5565C-0.410156 34.1317 0.866808 35.4087 2.44202 35.4087Z\" fill=\"#9CBEFC\"/>\n <path d=\"M9.48799 16.7354C11.859 16.7354 13.7812 14.8133 13.7812 12.4422C13.7812 10.0712 11.859 8.14907 9.48799 8.14907C7.11694 8.14907 5.19482 10.0712 5.19482 12.4422C5.19482 14.8133 7.11694 16.7354 9.48799 16.7354Z\" fill=\"#9CBEFC\"/>\n <path d=\"M29.2644 63.7615C31.6354 63.7615 33.5575 61.8394 33.5575 59.4683C33.5575 57.0973 31.6354 55.1752 29.2644 55.1752C26.8933 55.1752 24.9712 57.0973 24.9712 59.4683C24.9712 61.8394 26.8933 63.7615 29.2644 63.7615Z\" fill=\"#9CBEFC\"/>\n <path d=\"M49.5177 57.7491C52.509 57.7491 54.9339 55.3242 54.9339 52.3329C54.9339 49.3417 52.509 46.9168 49.5177 46.9168C46.5265 46.9168 44.1016 49.3417 44.1016 52.3329C44.1016 55.3242 46.5265 57.7491 49.5177 57.7491Z\" fill=\"#9CBEFC\"/>\n <path d=\"M29.2643 10.8323C32.2555 10.8323 34.6804 8.40741 34.6804 5.41615C34.6804 2.4249 32.2555 0 29.2643 0C26.273 0 23.8481 2.4249 23.8481 5.41615C23.8481 8.40741 26.273 10.8323 29.2643 10.8323Z\" fill=\"#9CBEFC\"/>\n <path d=\"M48.9613 20.4422C53.1106 20.4422 56.4743 17.0785 56.4743 12.9292C56.4743 8.77985 53.1106 5.41615 48.9613 5.41615C44.8119 5.41615 41.4482 8.77985 41.4482 12.9292C41.4482 17.0785 44.8119 20.4422 48.9613 20.4422Z\" fill=\"#9CBEFC\"/>\n <path d=\"M56.4744 39.672C60.4042 39.672 63.5899 36.4863 63.5899 32.5565C63.5899 28.6267 60.4042 25.441 56.4744 25.441C52.5446 25.441 49.3589 28.6267 49.3589 32.5565C49.3589 36.4863 52.5446 39.672 56.4744 39.672Z\" fill=\"#9CBEFC\"/>\n </g>\n <defs>\n <clipPath id=\"clip0_94_5585\">\n <rect width=\"64\" height=\"64\" fill=\"white\"/>\n </clipPath>\n </defs>";
55
59
  export {};
@@ -1,14 +1,14 @@
1
1
  export declare const ZhToolTips: {
2
2
  new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
- content: {
4
- type: import('vue').PropType<string>;
5
- required: true;
6
- };
7
3
  placement: {
8
4
  type: import('vue').PropType<import('element-plus').Placement>;
9
5
  required: true;
10
6
  default: string;
11
7
  };
8
+ content: {
9
+ type: import('vue').PropType<string>;
10
+ required: true;
11
+ };
12
12
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
13
13
  placement: import('element-plus').Placement;
14
14
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
@@ -19,15 +19,15 @@ export declare const ZhToolTips: {
19
19
  M: {};
20
20
  Defaults: {};
21
21
  }, Readonly<import('vue').ExtractPropTypes<{
22
- content: {
23
- type: import('vue').PropType<string>;
24
- required: true;
25
- };
26
22
  placement: {
27
23
  type: import('vue').PropType<import('element-plus').Placement>;
28
24
  required: true;
29
25
  default: string;
30
26
  };
27
+ content: {
28
+ type: import('vue').PropType<string>;
29
+ required: true;
30
+ };
31
31
  }>> & Readonly<{}>, {}, {}, {}, {}, {
32
32
  placement: import('element-plus').Placement;
33
33
  }>;
@@ -35,15 +35,15 @@ export declare const ZhToolTips: {
35
35
  __isTeleport?: never;
36
36
  __isSuspense?: never;
37
37
  } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
38
- content: {
39
- type: import('vue').PropType<string>;
40
- required: true;
41
- };
42
38
  placement: {
43
39
  type: import('vue').PropType<import('element-plus').Placement>;
44
40
  required: true;
45
41
  default: string;
46
42
  };
43
+ content: {
44
+ type: import('vue').PropType<string>;
45
+ required: true;
46
+ };
47
47
  }>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
48
48
  placement: import('element-plus').Placement;
49
49
  }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
@@ -20,3 +20,4 @@ export * from './DiyDataTable';
20
20
  export * from './Map';
21
21
  export * from './Table';
22
22
  export * from './BaseItem';
23
+ export * from './CascaderLoadMore';