@hoenergy/hoenergy-template-pc 1.1.42 → 1.1.44

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.
@@ -77,6 +77,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
77
77
  getProps: import('vue').ComputedRef<FormProps>;
78
78
  getBindValue: import('vue').ComputedRef<any>;
79
79
  getSchema: import('vue').ComputedRef<FormSchema[]>;
80
+ getShowSchema: import('vue').ComputedRef<FormSchema[]>;
80
81
  getSubmitBtnOptions: import('vue').ComputedRef<{
81
82
  size: string;
82
83
  textColor: string;
@@ -18,6 +18,7 @@ export interface FormSchema {
18
18
  maxlength?: Number;
19
19
  showCount?: boolean;
20
20
  suffix?: string;
21
+ ifShow?: boolean | ((formModel: any) => boolean);
21
22
  }
22
23
  export interface FormProps {
23
24
  model?: any;
@@ -13,6 +13,7 @@ declare const _default: import('vue').DefineComponent<{}, {
13
13
  expandedRowKeys: import('vue').Ref<never[], never[]>;
14
14
  remote: boolean;
15
15
  defaultExpandAll: boolean;
16
+ 'max-height': string;
16
17
  title?: string;
17
18
  dataSource: Function;
18
19
  pagination: object;
@@ -53,6 +54,7 @@ declare const _default: import('vue').DefineComponent<{}, {
53
54
  isStriped: import('vue').Ref<boolean, boolean>;
54
55
  getBordered: import('vue').ComputedRef<boolean>;
55
56
  $at: typeof $at;
57
+ forwardedSlotFns: import('vue').ComputedRef<Record<string, unknown>>;
56
58
  tableSize: import('vue').Ref<any, any>;
57
59
  isColumnSetting: import('vue').Ref<boolean, boolean>;
58
60
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("fetch-success" | "fetch-error" | "update:checked-row-keys" | "edit-end" | "edit-cancel" | "edit-row-end" | "edit-change")[], "fetch-success" | "fetch-error" | "update:checked-row-keys" | "edit-end" | "edit-cancel" | "edit-row-end" | "edit-change", import('vue').PublicProps, Readonly<{}> & Readonly<{
@@ -90,5 +92,20 @@ declare const _default: import('vue').DefineComponent<{}, {
90
92
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {
91
93
  FormaxIcon: any;
92
94
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
95
+ DataTableSlotRoot: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
96
+ slotFns: {
97
+ type: import('vue').PropType<Record<string, ((props?: Record<string, unknown>) => unknown) | undefined>>;
98
+ default: () => {};
99
+ };
100
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
101
+ [key: string]: any;
102
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
103
+ slotFns: {
104
+ type: import('vue').PropType<Record<string, ((props?: Record<string, unknown>) => unknown) | undefined>>;
105
+ default: () => {};
106
+ };
107
+ }>> & Readonly<{}>, {
108
+ slotFns: Record<string, ((props?: Record<string, unknown>) => unknown) | undefined>;
109
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
93
110
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
94
111
  export default _default;
@@ -0,0 +1,18 @@
1
+ import { PropType } from 'vue';
2
+ /** 用 render 转发插槽,避免模板里 v-for + 动态 #slot 触发 “Codegen node is missing” */
3
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
+ slotFns: {
5
+ type: PropType<Record<string, ((props?: Record<string, unknown>) => unknown) | undefined>>;
6
+ default: () => {};
7
+ };
8
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
9
+ [key: string]: any;
10
+ }>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
11
+ slotFns: {
12
+ type: PropType<Record<string, ((props?: Record<string, unknown>) => unknown) | undefined>>;
13
+ default: () => {};
14
+ };
15
+ }>> & Readonly<{}>, {
16
+ slotFns: Record<string, ((props?: Record<string, unknown>) => unknown) | undefined>;
17
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
18
+ export default _default;
@@ -24,9 +24,9 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
24
24
  title: string;
25
25
  address: string;
26
26
  visible: boolean;
27
+ mode: "select" | "view";
27
28
  longitude: number | string;
28
29
  latitude: number | string;
29
- mode: "select" | "view";
30
30
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
31
31
  modalRef: unknown;
32
32
  }, any>;