@aplus-frontend/ui 7.19.0-beta.1 → 7.19.0-beta.2

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 (157) hide show
  1. package/es/src/ag-grid/context.mjs +1 -1
  2. package/es/src/ag-grid/editable/form-item.vue.d.ts +2 -4
  3. package/es/src/ag-grid/editable/form-item.vue.mjs +1 -0
  4. package/es/src/ag-grid/editable/index.vue.d.ts +2 -4
  5. package/es/src/ag-grid/editable/index.vue.mjs +9 -8
  6. package/es/src/ag-grid/hooks/use-columns.mjs +31 -23
  7. package/es/src/ag-grid/hooks/use-pinned-row.mjs +2 -2
  8. package/es/src/ag-grid/index.vue.d.ts +2 -4
  9. package/es/src/ag-grid/index.vue.mjs +353 -335
  10. package/es/src/ag-grid/interface.d.ts +40 -1
  11. package/es/src/ag-grid/utils.d.ts +18 -0
  12. package/es/src/ag-grid/utils.mjs +39 -18
  13. package/es/src/ap-field/cascader/use-options.d.ts +4 -4
  14. package/es/src/ap-field/date/index.vue.d.ts +0 -1
  15. package/es/src/ap-field/date-range/index.vue.d.ts +0 -1
  16. package/es/src/ap-field/select/use-select-options.d.ts +2 -2
  17. package/es/src/ap-field/text/password.vue.d.ts +4 -4
  18. package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
  19. package/es/src/ap-form/ap-form.vue.d.ts +1 -2
  20. package/es/src/ap-form/context.mjs +1 -1
  21. package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  22. package/es/src/ap-form/item/index.vue.d.ts +6 -6
  23. package/es/src/ap-form/item-group/helper.mjs +2 -2
  24. package/es/src/ap-form/items/date/index.vue.d.ts +9 -11
  25. package/es/src/ap-form/items/date-range/index.vue.d.ts +13 -15
  26. package/es/src/ap-form/items/number/index.vue.d.ts +2 -3
  27. package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
  28. package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
  29. package/es/src/ap-form/provider/context.mjs +1 -1
  30. package/es/src/ap-form/search-form/index.vue.d.ts +3 -4
  31. package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  32. package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
  33. package/es/src/ap-grid/index.vue.d.ts +2 -4
  34. package/es/src/ap-grid/utils/table.mjs +2 -2
  35. package/es/src/ap-list/index.vue.d.ts +2 -4
  36. package/es/src/ap-modal/utils/confirm.d.ts +1 -1
  37. package/es/src/ap-pro-card/components/card/index.vue2.mjs +2 -2
  38. package/es/src/ap-table/ap-table.vue.d.ts +2 -4
  39. package/es/src/ap-table/components/setting/context.d.ts +1 -1
  40. package/es/src/ap-table/components/setting/context.mjs +1 -1
  41. package/es/src/ap-table/components/setting/modal/index.vue.mjs +119 -109
  42. package/es/src/ap-table/components/setting/sorter/context.mjs +1 -1
  43. package/es/src/ap-table/components/setting/template/edit-form.vue.d.ts +2 -3
  44. package/es/src/ap-table/constants.d.ts +20 -22
  45. package/es/src/ap-table/context.mjs +1 -1
  46. package/es/src/ap-table/hooks/use-table-paging-ng.mjs +9 -9
  47. package/es/src/ap-table/hooks/use-table-template-storage.d.ts +9 -9
  48. package/es/src/ap-table/hooks/use-table-template-storage.mjs +94 -88
  49. package/es/src/ap-table/utils.mjs +1 -1
  50. package/es/src/business/ag-grid-modal/hooks/use-ag-grid-instance.mjs +1 -1
  51. package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
  52. package/es/src/business/ap-download/hooks/index.mjs +1 -1
  53. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
  54. package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue2.mjs +1 -3
  55. package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
  56. package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  57. package/es/src/business/ap-keep-alive/hook.mjs +1 -1
  58. package/es/src/business/ap-keep-alive/utils.mjs +1 -1
  59. package/es/src/business/ap-select-layout/index.d.ts +2 -4
  60. package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  61. package/es/src/business/ap-table-modal/index.d.ts +17 -5
  62. package/es/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  63. package/es/src/business/ap-value-select-card/index.vue.d.ts +2 -4
  64. package/es/src/business/ap-view/ap-view.vue.d.ts +1 -1
  65. package/es/src/business/ap-view/ap-view.vue2.mjs +87 -81
  66. package/es/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
  67. package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
  68. package/es/src/business/ap-view/hooks/use-send-to-url.d.ts +2 -0
  69. package/es/src/business/ap-view/hooks/use-send-to-url.mjs +46 -30
  70. package/es/src/business/ap-view/hooks/use-view-provide.mjs +1 -1
  71. package/es/src/business/ap-view/index.d.ts +3 -3
  72. package/es/src/business/ap-view/interface.d.ts +7 -1
  73. package/es/src/check-card/context.mjs +1 -1
  74. package/es/src/config-provider/constants.mjs +1 -1
  75. package/es/src/config-provider/hooks/use-locale.mjs +1 -1
  76. package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
  77. package/es/src/config-provider/hooks/use-namespace.mjs +1 -1
  78. package/es/src/config-provider/hooks/use-token.mjs +1 -1
  79. package/es/src/editable-table/form-item.vue.d.ts +2 -4
  80. package/es/src/editable-table/index.vue.d.ts +2 -4
  81. package/es/src/editable-table/utils.mjs +1 -1
  82. package/es/src/scroll-view/index.vue.d.ts +5 -5
  83. package/es/src/tests/wrapper.d.ts +4 -4
  84. package/es/src/text/context.mjs +1 -1
  85. package/es/src/time-ago/useTimeAgo.mjs +1 -1
  86. package/es/src/type.d.ts +1 -0
  87. package/es/src/utils/slot.mjs +1 -1
  88. package/es/src/version.d.ts +1 -1
  89. package/es/src/version.mjs +1 -1
  90. package/lib/src/ag-grid/editable/form-item.vue.d.ts +2 -4
  91. package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
  92. package/lib/src/ag-grid/editable/index.vue.d.ts +2 -4
  93. package/lib/src/ag-grid/editable/index.vue.js +1 -1
  94. package/lib/src/ag-grid/hooks/use-columns.js +1 -1
  95. package/lib/src/ag-grid/hooks/use-pinned-row.js +1 -1
  96. package/lib/src/ag-grid/index.vue.d.ts +2 -4
  97. package/lib/src/ag-grid/index.vue.js +1 -1
  98. package/lib/src/ag-grid/interface.d.ts +40 -1
  99. package/lib/src/ag-grid/utils.d.ts +18 -0
  100. package/lib/src/ag-grid/utils.js +1 -1
  101. package/lib/src/ap-field/cascader/use-options.d.ts +4 -4
  102. package/lib/src/ap-field/date/index.vue.d.ts +0 -1
  103. package/lib/src/ap-field/date-range/index.vue.d.ts +0 -1
  104. package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
  105. package/lib/src/ap-field/text/password.vue.d.ts +4 -4
  106. package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
  107. package/lib/src/ap-form/ap-form.vue.d.ts +1 -2
  108. package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
  109. package/lib/src/ap-form/item/index.vue.d.ts +6 -6
  110. package/lib/src/ap-form/items/date/index.vue.d.ts +9 -11
  111. package/lib/src/ap-form/items/date-range/index.vue.d.ts +13 -15
  112. package/lib/src/ap-form/items/number/index.vue.d.ts +2 -3
  113. package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
  114. package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
  115. package/lib/src/ap-form/search-form/index.vue.d.ts +3 -4
  116. package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
  117. package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
  118. package/lib/src/ap-grid/index.vue.d.ts +2 -4
  119. package/lib/src/ap-grid/utils/table.js +1 -1
  120. package/lib/src/ap-list/index.vue.d.ts +2 -4
  121. package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
  122. package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
  123. package/lib/src/ap-table/components/setting/context.d.ts +1 -1
  124. package/lib/src/ap-table/components/setting/modal/index.vue.js +1 -1
  125. package/lib/src/ap-table/components/setting/template/edit-form.vue.d.ts +2 -3
  126. package/lib/src/ap-table/constants.d.ts +20 -22
  127. package/lib/src/ap-table/hooks/use-table-paging-ng.js +1 -1
  128. package/lib/src/ap-table/hooks/use-table-template-storage.d.ts +9 -9
  129. package/lib/src/ap-table/hooks/use-table-template-storage.js +1 -1
  130. package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
  131. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
  132. package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue2.js +1 -1
  133. package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
  134. package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
  135. package/lib/src/business/ap-select-layout/index.d.ts +2 -4
  136. package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
  137. package/lib/src/business/ap-table-modal/index.d.ts +17 -5
  138. package/lib/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
  139. package/lib/src/business/ap-value-select-card/index.vue.d.ts +2 -4
  140. package/lib/src/business/ap-view/ap-view.vue.d.ts +1 -1
  141. package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
  142. package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
  143. package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
  144. package/lib/src/business/ap-view/hooks/use-send-to-url.d.ts +2 -0
  145. package/lib/src/business/ap-view/hooks/use-send-to-url.js +1 -1
  146. package/lib/src/business/ap-view/index.d.ts +3 -3
  147. package/lib/src/business/ap-view/interface.d.ts +7 -1
  148. package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
  149. package/lib/src/editable-table/form-item.vue.d.ts +2 -4
  150. package/lib/src/editable-table/index.vue.d.ts +2 -4
  151. package/lib/src/scroll-view/index.vue.d.ts +5 -5
  152. package/lib/src/tests/wrapper.d.ts +4 -4
  153. package/lib/src/time-ago/useTimeAgo.js +1 -1
  154. package/lib/src/type.d.ts +1 -0
  155. package/lib/src/version.d.ts +1 -1
  156. package/lib/src/version.js +1 -1
  157. package/package.json +1 -1
@@ -131,14 +131,14 @@ declare function __VLS_template(): {
131
131
  readonly onInputKeyDown?: ((e: KeyboardEvent) => void) | undefined;
132
132
  readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
133
133
  readonly multiple?: boolean | undefined;
134
- readonly value?: SelectProps["value"];
134
+ readonly value?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
135
135
  readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
136
- readonly searchMode?: ("filter" | "request") | undefined;
136
+ readonly searchMode?: "filter" | "request" | undefined;
137
137
  readonly refetchOnFocus?: boolean | undefined;
138
138
  readonly fetchOnFocus?: boolean | undefined;
139
139
  readonly fetchOnOpen?: boolean | undefined;
140
- readonly lazy?: (boolean | "first-focus" | "first-open") | undefined;
141
- readonly addAll?: (boolean | number) | undefined;
140
+ readonly lazy?: boolean | "first-focus" | "first-open" | undefined;
141
+ readonly addAll?: boolean | number | undefined;
142
142
  readonly params?: Recordable | undefined;
143
143
  readonly searchDelay?: number | undefined;
144
144
  readonly allowOnlySelect?: boolean | undefined;
@@ -797,14 +797,14 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
797
797
  readonly onInputKeyDown?: ((e: KeyboardEvent) => void) | undefined;
798
798
  readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
799
799
  readonly multiple?: boolean | undefined;
800
- readonly value?: SelectProps["value"];
800
+ readonly value?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
801
801
  readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
802
- readonly searchMode?: ("filter" | "request") | undefined;
802
+ readonly searchMode?: "filter" | "request" | undefined;
803
803
  readonly refetchOnFocus?: boolean | undefined;
804
804
  readonly fetchOnFocus?: boolean | undefined;
805
805
  readonly fetchOnOpen?: boolean | undefined;
806
- readonly lazy?: (boolean | "first-focus" | "first-open") | undefined;
807
- readonly addAll?: (boolean | number) | undefined;
806
+ readonly lazy?: boolean | "first-focus" | "first-open" | undefined;
807
+ readonly addAll?: boolean | number | undefined;
808
808
  readonly params?: Recordable | undefined;
809
809
  readonly searchDelay?: number | undefined;
810
810
  readonly allowOnlySelect?: boolean | undefined;
@@ -1,4 +1,4 @@
1
- import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } from '@aplus-frontend/antdv/es/form/interface';
1
+ import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
2
2
  import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, RendererNode, RendererElement, CSSProperties } from 'vue';
3
3
  import { Recordable } from '../../type';
4
4
  import { ApFormModalFormProps } from '../interface';
@@ -7,7 +7,6 @@ import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
7
7
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
8
8
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
9
9
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
10
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
11
10
  import { SizeType, ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
@@ -121,7 +120,7 @@ declare function __VLS_template(): {
121
120
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
122
121
  readonly initialValues?: Recordable | undefined;
123
122
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
124
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
123
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
125
124
  readonly syncToUrlPriority?: boolean | undefined;
126
125
  readonly autoFocusFirstInput?: boolean | undefined;
127
126
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -1326,7 +1325,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
1326
1325
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
1327
1326
  readonly initialValues?: Recordable | undefined;
1328
1327
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1329
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1328
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1330
1329
  readonly syncToUrlPriority?: boolean | undefined;
1331
1330
  readonly autoFocusFirstInput?: boolean | undefined;
1332
1331
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -1,5 +1,5 @@
1
1
  import { provide as e, inject as t } from "vue";
2
- const r = Symbol("InternalContextProps"), m = (o) => {
2
+ const r = /* @__PURE__ */ Symbol("InternalContextProps"), m = (o) => {
3
3
  e(r, o);
4
4
  }, n = {
5
5
  triggerFormChange: () => {
@@ -1,13 +1,12 @@
1
1
  import { ApFormExpose, ApFormSearchFormProps } from '../interface';
2
2
  import { ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
3
3
  import { ColSize } from '@aplus-frontend/antdv/es/grid';
4
- import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
4
+ import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
5
5
  import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
6
6
  import { RuleObject } from '@aplus-frontend/antdv/es/form';
7
7
  import { Options } from '../../../node_modules/scroll-into-view-if-needed';
8
8
  import { Recordable } from '../../type';
9
9
  import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
10
- import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
11
10
  import { SizeType } from '@aplus-frontend/antdv/es/button';
12
11
  import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
13
12
  import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSearchFormPopoverSorterItem } from '..';
@@ -119,7 +118,7 @@ declare function __VLS_template(): {
119
118
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
120
119
  readonly initialValues?: Recordable | undefined;
121
120
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
122
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
121
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
123
122
  readonly syncToUrlPriority?: boolean | undefined;
124
123
  readonly autoFocusFirstInput?: boolean | undefined;
125
124
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -1109,7 +1108,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
1109
1108
  readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
1110
1109
  readonly initialValues?: Recordable | undefined;
1111
1110
  readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
1112
- readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
1111
+ readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
1113
1112
  readonly syncToUrlPriority?: boolean | undefined;
1114
1113
  readonly autoFocusFirstInput?: boolean | undefined;
1115
1114
  } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -1,15 +1,13 @@
1
1
  import { Recordable } from '../../type';
2
2
  import { EditableGridFormItemExpose, EditableGridFormItemProps } from './interface';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableGridFormItemProps<RecordType> & Partial<{}>> & PublicProps;
6
6
  expose(exposed: ShallowUnwrapRef<EditableGridFormItemExpose>): void;
7
7
  attrs: any;
8
8
  slots: Readonly<Record<string, any>> & Record<string, any>;
9
9
  emit: {};
10
- }>) => VNode<RendererNode, RendererElement, {
11
- [key: string]: any;
12
- }> & {
10
+ }>) => VNode & {
13
11
  __ctx?: Awaited<typeof __VLS_setup>;
14
12
  };
15
13
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { Recordable } from '../../type';
2
2
  import { EditableGridExpose, EditableGridProps } from './interface';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
4
4
  declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
6
6
  readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
@@ -9,9 +9,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
9
9
  attrs: any;
10
10
  slots: Readonly<Record<string, any>> & Record<string, any>;
11
11
  emit: (event: "update:value", ...args: any[]) => void;
12
- }>) => VNode<RendererNode, RendererElement, {
13
- [key: string]: any;
14
- }> & {
12
+ }>) => VNode & {
15
13
  __ctx?: Awaited<typeof __VLS_setup>;
16
14
  };
17
15
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { VxeTableSlots } from 'vxe-table';
2
2
  import { ApGridColumnType, ApGridExpose, ApGridProps } from './interface';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
4
4
  declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
5
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApGridProps<RecordType> & Partial<{}>> & PublicProps;
6
6
  expose(exposed: ShallowUnwrapRef<ApGridExpose>): void;
@@ -35,9 +35,7 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
35
35
  }) => any;
36
36
  };
37
37
  emit: {};
38
- }>) => VNode<RendererNode, RendererElement, {
39
- [key: string]: any;
40
- }> & {
38
+ }>) => VNode & {
41
39
  __ctx?: Awaited<typeof __VLS_setup>;
42
40
  };
43
41
  export default _default;
@@ -74,7 +74,7 @@ function x(e) {
74
74
  return e === !0 ? "left" : e;
75
75
  }
76
76
  function F(e, i, t) {
77
- const n = e === !0 || !e.type ? "checkbox" : e.type, r = (t === "mini" ? 9 * 2 : 12 * 2) + 16, a = e === !0 ? r : e.columnWidth || r;
77
+ const n = e === !0 || !e.type ? "checkbox" : e.type, r = (t === "mini" ? 18 : 24) + 16, a = e === !0 ? r : e.columnWidth || r;
78
78
  let o = e === !0 ? void 0 : x(e.fixed);
79
79
  return o || (o === !1 ? o = void 0 : o = i.some(
80
80
  (u) => u.fixed === "left" || u.fixed === !0
@@ -102,7 +102,7 @@ function R(e, i) {
102
102
  if (!e)
103
103
  return "auto";
104
104
  const t = getComputedStyle(e);
105
- let n = i === "medium" ? 12 * 2 : 9 * 2;
105
+ let n = i === "medium" ? 24 : 18;
106
106
  const r = (Number.parseFloat(t.fontSize) || 14) * 1.6;
107
107
  return n += r, e.querySelector("span.anticon-question-circle") && (n += 20), n += h(e.querySelector(".vxe-cell--sort")) + h(e.querySelector(".vxe-cell--filter")), Math.ceil(n);
108
108
  }
@@ -1,6 +1,6 @@
1
1
  import { Recordable } from '../type';
2
2
  import { ApListExpose, ApListProps } from './interface';
3
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode, RendererNode, RendererElement } from 'vue';
3
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode } from 'vue';
4
4
  import { ApFormSearchFormExpose } from '..';
5
5
  declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
6
6
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApListProps<RecordType> & Partial<{}>> & PublicProps;
@@ -35,9 +35,7 @@ declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable
35
35
  }): any;
36
36
  };
37
37
  emit: {};
38
- }>) => VNode<RendererNode, RendererElement, {
39
- [key: string]: any;
40
- }> & {
38
+ }>) => VNode & {
41
39
  __ctx?: Awaited<typeof __VLS_setup>;
42
40
  };
43
41
  export default _default;
@@ -6,7 +6,7 @@ export type ModalFunc = (props: ModalFuncProps) => {
6
6
  update: (configUpdate: ConfigUpdate) => void;
7
7
  };
8
8
  declare const confirm: (config: ModalFuncProps) => {
9
- destroy: (this: any, ...args: any[]) => void;
9
+ destroy: (this: /*elided*/ any, ...args: any[]) => void;
10
10
  update: (configUpdate: ConfigUpdate) => void;
11
11
  };
12
12
  export default confirm;
@@ -161,7 +161,7 @@ const $e = /* @__PURE__ */ ee({
161
161
  transform: m.value ? "rotate(-90deg)" : "rotate(0deg)"
162
162
  }
163
163
  }, null)]), O = (e, l = []) => {
164
- if (e?.type === Symbol.for("v-fgt")) {
164
+ if (e?.type === /* @__PURE__ */ Symbol.for("v-fgt")) {
165
165
  const r = Array.isArray(e?.children) ? e?.children : [e?.children];
166
166
  if (r?.length)
167
167
  for (let o = 0; o < r.length; o++)
@@ -174,7 +174,7 @@ const $e = /* @__PURE__ */ ee({
174
174
  return E(!1), a(f, null, [e?.reduce((l, r) => {
175
175
  const o = O(r);
176
176
  return [...l, ...o];
177
- }, [])?.filter((l) => l.type !== Symbol.for("v-cmt"))?.map((l, r, o) => {
177
+ }, [])?.filter((l) => l.type !== /* @__PURE__ */ Symbol.for("v-cmt"))?.map((l, r, o) => {
178
178
  if (l && typeof l == "object" && "type" in l && l.type?.isProCard === !0) {
179
179
  E(!0);
180
180
  const c = l?.props?.colSpan || l?.props?.["col-span"] || {}, {
@@ -2,7 +2,7 @@ import { ColumnsType, ColumnType } from '@aplus-frontend/antdv/es/table';
2
2
  import { ApFormSearchFormPopoverSorterItem } from '../ap-form';
3
3
  import { RowSelectionReturnType } from './hooks/use-table-row-selection';
4
4
  import { ApColumnType, ApTableProps } from './interface';
5
- import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode, RendererNode, RendererElement } from 'vue';
5
+ import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode } from 'vue';
6
6
  declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
7
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApTableProps<RecordType> & Partial<{}>> & PublicProps;
8
8
  expose(exposed: ShallowUnwrapRef<{
@@ -98,9 +98,7 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
98
98
  }) => void;
99
99
  };
100
100
  emit: {};
101
- }>) => VNode<RendererNode, RendererElement, {
102
- [key: string]: any;
103
- }> & {
101
+ }>) => VNode & {
104
102
  __ctx?: Awaited<typeof __VLS_setup>;
105
103
  };
106
104
  export default _default;
@@ -4,7 +4,7 @@ type ApColumnSettingContextProps = {
4
4
  /**
5
5
  * 当前选中的模版
6
6
  */
7
- activeKey: Ref<string>;
7
+ activeKey: Ref<string | null | undefined>;
8
8
  /**
9
9
  * 缓存设置
10
10
  */
@@ -1,5 +1,5 @@
1
1
  import { provide as o, inject as i, ref as e } from "vue";
2
- const t = Symbol("ap-column-setting");
2
+ const t = /* @__PURE__ */ Symbol("ap-column-setting");
3
3
  function u(n) {
4
4
  o(t, n);
5
5
  }