@aplus-frontend/ui 7.12.3 → 7.12.5
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/es/src/ag-grid/editable/form-item.vue.d.ts +4 -2
- package/es/src/ag-grid/editable/index.vue.d.ts +4 -2
- package/es/src/ag-grid/index.vue.d.ts +4 -2
- package/es/src/ag-grid/index.vue.mjs +33 -31
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +2 -1
- package/es/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- package/es/src/ap-form/items/number/index.vue.d.ts +3 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/es/src/ap-form/search-form/index.vue.d.ts +4 -3
- package/es/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/es/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/es/src/ap-grid/index.vue.d.ts +4 -2
- package/es/src/ap-list/index.vue.d.ts +4 -2
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +4 -2
- package/es/src/ap-table/constants.d.ts +6 -6
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/es/src/business/ap-select-layout/index.d.ts +4 -2
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/es/src/business/ap-table-modal/index.d.ts +5 -17
- package/es/src/business/ap-upload/apUpload.vue.d.ts +19 -0
- package/es/src/business/ap-upload/apUpload.vue.mjs +38 -30
- package/es/src/business/ap-upload/apUploadTypes.d.ts +9 -0
- package/es/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/business/ap-upload/components/MultipleFile.vue2.mjs +101 -101
- package/es/src/business/ap-value-select-card/index.vue.d.ts +4 -2
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +4 -3
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
- package/es/src/business/batch-input-group/index.vue.mjs +67 -72
- package/es/src/business/batch-input-group/interface.d.ts +3 -0
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +65 -43
- package/es/src/business/batch-input-group/style/index.mjs +9 -9
- package/es/src/check-card/style/index.mjs +1 -1
- package/es/src/config-provider/config-provider.mjs +33 -32
- package/es/src/config-provider/hooks/use-global-config.mjs +40 -37
- package/es/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/es/src/editable-table/form-item.vue.d.ts +4 -2
- package/es/src/editable-table/index.vue.d.ts +4 -2
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/utils/cssinjs/utils.d.ts +1 -0
- package/es/src/utils/cssinjs/utils.mjs +9 -9
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ag-grid/editable/index.vue.d.ts +4 -2
- package/lib/src/ag-grid/index.vue.d.ts +4 -2
- package/lib/src/ag-grid/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +2 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/items/number/index.vue.d.ts +3 -2
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/search-form/index.vue.d.ts +4 -3
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +4 -2
- package/lib/src/ap-grid/editable/index.vue.d.ts +4 -2
- package/lib/src/ap-grid/index.vue.d.ts +4 -2
- package/lib/src/ap-list/index.vue.d.ts +4 -2
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +4 -2
- package/lib/src/ap-table/constants.d.ts +6 -6
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +4 -2
- package/lib/src/business/ap-select-layout/index.d.ts +4 -2
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +4 -2
- package/lib/src/business/ap-table-modal/index.d.ts +5 -17
- package/lib/src/business/ap-upload/apUpload.vue.d.ts +19 -0
- package/lib/src/business/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/business/ap-upload/apUploadTypes.d.ts +9 -0
- package/lib/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/business/ap-value-select-card/index.vue.d.ts +4 -2
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +4 -3
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +3 -2
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/interface.d.ts +3 -0
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +3 -3
- package/lib/src/business/batch-input-group/style/index.js +1 -1
- package/lib/src/check-card/style/index.js +1 -1
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.js +1 -1
- package/lib/src/config-provider/hooks/use-namespace.d.ts +1 -5
- package/lib/src/editable-table/form-item.vue.d.ts +4 -2
- package/lib/src/editable-table/index.vue.d.ts +4 -2
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/utils/cssinjs/utils.d.ts +1 -0
- package/lib/src/utils/cssinjs/utils.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +3 -3
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { Recordable } from '../../type';
|
|
2
2
|
import { EditableAgGridFormItemExpose, EditableAgGridFormItemProps } from './interface';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } 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> & EditableAgGridFormItemProps<RecordType> & Partial<{}>> & PublicProps;
|
|
6
6
|
expose(exposed: ShallowUnwrapRef<EditableAgGridFormItemExpose<RecordType>>): void;
|
|
7
7
|
attrs: any;
|
|
8
8
|
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
9
9
|
emit: {};
|
|
10
|
-
}>) => VNode
|
|
10
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}> & {
|
|
11
13
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
12
14
|
};
|
|
13
15
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Recordable } from '../../type';
|
|
2
2
|
import { EditableAgGridExpose, EditableAgGridProps } from './interface';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } 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,7 +9,9 @@ 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
|
|
12
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}> & {
|
|
13
15
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
14
16
|
};
|
|
15
17
|
export default _default;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { Recordable } from '../type';
|
|
2
2
|
import { AgGridExpose, AgGridProps, AgGridSlots } from './interface';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } from 'vue';
|
|
4
4
|
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<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & AgGridProps<RecordType> & Partial<{}>> & PublicProps;
|
|
6
6
|
expose(exposed: ShallowUnwrapRef<AgGridExpose>): void;
|
|
7
7
|
attrs: any;
|
|
8
8
|
slots: Readonly<AgGridSlots<RecordType>> & AgGridSlots<RecordType>;
|
|
9
9
|
emit: {};
|
|
10
|
-
}>) => VNode
|
|
10
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}> & {
|
|
11
13
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
12
14
|
};
|
|
13
15
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as fo, useSlots as go, ref as M, toRef as F, unref as t, computed as n, nextTick as
|
|
1
|
+
import { defineComponent as fo, useSlots as go, ref as M, toRef as F, unref as t, computed as n, nextTick as N, watch as G, createElementBlock as L, openBlock as C, normalizeStyle as O, normalizeClass as g, createCommentVNode as se, createElementVNode as B, createVNode as ie, mergeProps as W, createSlots as wo, withCtx as ue, Fragment as So, renderList as ho, createBlock as H, resolveDynamicComponent as Co, renderSlot as de, withDirectives as yo, vShow as Ro } from "vue";
|
|
2
2
|
import { AG_GRID_LOCALE_EN as vo, AG_GRID_LOCALE_CN as bo } from "@ag-grid-community/locale";
|
|
3
3
|
import { Spin as Mo, Pagination as Fo } from "@aplus-frontend/antdv";
|
|
4
4
|
import { useToken as Bo } from "@aplus-frontend/antdv/es/theme/internal";
|
|
5
5
|
import { ModuleRegistry as ko, ValidationModule as xo, ColumnAutoSizeModule as Io, PinnedRowModule as Ao, RowAutoHeightModule as No, RowStyleModule as To, CellSpanModule as Do, CellStyleModule as Eo, TooltipModule as Po, RowSelectionModule as Ko, LocaleModule as Vo, ValueCacheModule as zo, GridStateModule as Go, ColumnApiModule as Lo, RowApiModule as Oo, CellApiModule as Wo, RenderApiModule as Ho, EventApiModule as Uo, ScrollApiModule as _o, ClientSideRowModelApiModule as jo, ClientSideRowModelModule as $o } from "ag-grid-community";
|
|
6
6
|
import { AgGridVue as qo } from "ag-grid-vue3";
|
|
7
|
-
import { isUndefined as k, isFunction as
|
|
7
|
+
import { isUndefined as k, isFunction as T } from "lodash-unified";
|
|
8
8
|
import { DEFAULT_ROW_SELECTION_CONFIG as ce, sizeReverseMap as Jo, sizeMap as Qo } from "../ap-grid/constants.mjs";
|
|
9
9
|
import { useProvideApTable as Xo } from "../ap-table/context.mjs";
|
|
10
10
|
import { useTablePaging as Yo } from "../ap-table/hooks/use-table-paging-ng.mjs";
|
|
@@ -181,10 +181,10 @@ const Zt = /* @__PURE__ */ fo({
|
|
|
181
181
|
return;
|
|
182
182
|
const r = e.getColumnState()?.map((l) => ({ ...l, sort: null }));
|
|
183
183
|
e.applyColumnState({ state: r });
|
|
184
|
-
},
|
|
184
|
+
}, D = M(!0), Ne = n(() => wt(o.manual) ? o.manual : et(U.searchFormExtra?.() || []).some((r) => r.type?.name === "ApView")), {
|
|
185
185
|
formRef: S,
|
|
186
|
-
submit:
|
|
187
|
-
reset:
|
|
186
|
+
submit: E,
|
|
187
|
+
reset: P,
|
|
188
188
|
data: m,
|
|
189
189
|
tableProps: J,
|
|
190
190
|
handleTableChangeOptional: Q,
|
|
@@ -196,7 +196,7 @@ const Zt = /* @__PURE__ */ fo({
|
|
|
196
196
|
getLastParams: Pe
|
|
197
197
|
} = Yo({
|
|
198
198
|
async request(e) {
|
|
199
|
-
if (R = !1, h.value && !h.value.preserveSelectedRowKeys && k(o.dataSource) && !
|
|
199
|
+
if (R = !1, h.value && !h.value.preserveSelectedRowKeys && k(o.dataSource) && !D.value && z(), D.value && (D.value = !1), !k(o.dataSource)) {
|
|
200
200
|
const l = e.pageSize * (e.current - 1);
|
|
201
201
|
return {
|
|
202
202
|
data: (o.pagination === !1 ? o.dataSource : o.dataSource.slice(l, l + e.pageSize)) || [],
|
|
@@ -230,7 +230,7 @@ const Zt = /* @__PURE__ */ fo({
|
|
|
230
230
|
), {
|
|
231
231
|
select: ze,
|
|
232
232
|
unSelect: Ge,
|
|
233
|
-
selectedRows:
|
|
233
|
+
selectedRows: K,
|
|
234
234
|
selectedRowKeys: Le,
|
|
235
235
|
clearAll: Oe,
|
|
236
236
|
selectMultiByKeys: We,
|
|
@@ -254,25 +254,25 @@ const Zt = /* @__PURE__ */ fo({
|
|
|
254
254
|
hideDisabledCheckboxes: e.hideDisabled ?? !1
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
|
-
function
|
|
258
|
-
return
|
|
257
|
+
function V(e) {
|
|
258
|
+
return T(o.rowKey) ? o.rowKey(e) : e[o.rowKey];
|
|
259
259
|
}
|
|
260
260
|
const A = ({
|
|
261
261
|
api: e = s.value
|
|
262
262
|
}) => {
|
|
263
263
|
if (o.onUpdate?.(), !h.value)
|
|
264
264
|
return;
|
|
265
|
-
const r =
|
|
265
|
+
const r = K.value || [];
|
|
266
266
|
R = !1;
|
|
267
267
|
const l = [];
|
|
268
268
|
e.forEachNode((i) => {
|
|
269
|
-
const v = i.data, u =
|
|
270
|
-
r.find((f) =>
|
|
269
|
+
const v = i.data, u = V(v), p = i.isSelected();
|
|
270
|
+
r.find((f) => V(f) === u) ? !p && l.push(i) : p && i.setSelected(!1);
|
|
271
271
|
}), e.setNodesSelected({ nodes: l, newValue: !0 }), setTimeout(() => {
|
|
272
272
|
R = !0;
|
|
273
273
|
}, 0);
|
|
274
274
|
}, $e = (e) => {
|
|
275
|
-
R && (e.node.isSelected() ? ze(e.data) : Ge(e.data),
|
|
275
|
+
R && (e.node.isSelected() ? ze(e.data) : Ge(e.data), T(h.value?.tooltip) && e.api.refreshCells({
|
|
276
276
|
rowNodes: [e.node],
|
|
277
277
|
// todo: 取消硬编码
|
|
278
278
|
columns: ["ag-Grid-SelectionColumn"],
|
|
@@ -280,11 +280,11 @@ const Zt = /* @__PURE__ */ fo({
|
|
|
280
280
|
}));
|
|
281
281
|
}, qe = () => {
|
|
282
282
|
R = !0;
|
|
283
|
-
},
|
|
283
|
+
}, z = () => {
|
|
284
284
|
Oe(), s.value?.deselectAll();
|
|
285
285
|
};
|
|
286
286
|
function Je(e) {
|
|
287
|
-
We(e),
|
|
287
|
+
We(e), N(() => {
|
|
288
288
|
A({});
|
|
289
289
|
});
|
|
290
290
|
}
|
|
@@ -299,12 +299,12 @@ const Zt = /* @__PURE__ */ fo({
|
|
|
299
299
|
} : {};
|
|
300
300
|
});
|
|
301
301
|
function Xe(e) {
|
|
302
|
-
He(e),
|
|
302
|
+
He(e), N(() => {
|
|
303
303
|
A({});
|
|
304
304
|
});
|
|
305
305
|
}
|
|
306
306
|
function Ye(e) {
|
|
307
|
-
Ue(e),
|
|
307
|
+
Ue(e), N(() => {
|
|
308
308
|
A({});
|
|
309
309
|
});
|
|
310
310
|
}
|
|
@@ -371,9 +371,9 @@ const Zt = /* @__PURE__ */ fo({
|
|
|
371
371
|
dataSource: n(() => t(m).records),
|
|
372
372
|
getSearchFormValues: Z,
|
|
373
373
|
setSearchFormValues: ee,
|
|
374
|
-
submit:
|
|
374
|
+
submit: E,
|
|
375
375
|
submitWith: X,
|
|
376
|
-
reset:
|
|
376
|
+
reset: P,
|
|
377
377
|
refresh: Y,
|
|
378
378
|
getSearchFormSorterItems: oe,
|
|
379
379
|
setSearchFormSorterItems: te,
|
|
@@ -397,10 +397,10 @@ const Zt = /* @__PURE__ */ fo({
|
|
|
397
397
|
};
|
|
398
398
|
function lo(e) {
|
|
399
399
|
const r = e.data;
|
|
400
|
-
return
|
|
400
|
+
return V(r);
|
|
401
401
|
}
|
|
402
402
|
function ao(e, r) {
|
|
403
|
-
(
|
|
403
|
+
(T(e) ? s.value?.ensureNodeVisible : s.value?.ensureIndexVisible)?.(e, r);
|
|
404
404
|
}
|
|
405
405
|
function no(e, r) {
|
|
406
406
|
s.value?.ensureColumnVisible(e, r);
|
|
@@ -422,7 +422,7 @@ const Zt = /* @__PURE__ */ fo({
|
|
|
422
422
|
j.value.getRowClass?.(e)
|
|
423
423
|
];
|
|
424
424
|
if (!e.node.rowPinned) {
|
|
425
|
-
const l =
|
|
425
|
+
const l = T(o.rowClassName) ? o.rowClassName(e.data, e.rowIndex) : o.rowClassName;
|
|
426
426
|
r.push(l);
|
|
427
427
|
}
|
|
428
428
|
return r.flat().filter(Boolean);
|
|
@@ -430,7 +430,9 @@ const Zt = /* @__PURE__ */ fo({
|
|
|
430
430
|
return G(
|
|
431
431
|
() => o.dataSource,
|
|
432
432
|
(e) => {
|
|
433
|
-
|
|
433
|
+
N(() => {
|
|
434
|
+
Ee(e);
|
|
435
|
+
});
|
|
434
436
|
},
|
|
435
437
|
{ immediate: !0, deep: !0 }
|
|
436
438
|
), G(
|
|
@@ -444,18 +446,18 @@ const Zt = /* @__PURE__ */ fo({
|
|
|
444
446
|
o.onLoadingChange?.(e);
|
|
445
447
|
}
|
|
446
448
|
), pe({
|
|
447
|
-
submit:
|
|
448
|
-
reset:
|
|
449
|
+
submit: E,
|
|
450
|
+
reset: P,
|
|
449
451
|
refresh: Y,
|
|
450
452
|
submitWith: X,
|
|
451
453
|
setSearchFormValues: ee,
|
|
452
454
|
getSearchFormValues: Z,
|
|
453
455
|
getShowColumns: () => t(w),
|
|
454
456
|
rowSelection: {
|
|
455
|
-
selectedRows: n(() =>
|
|
457
|
+
selectedRows: n(() => K.value),
|
|
456
458
|
setSelectedRowKeys: Je,
|
|
457
459
|
setSelectedRows: Xe,
|
|
458
|
-
clearAll:
|
|
460
|
+
clearAll: z,
|
|
459
461
|
unSelectRows: Ye
|
|
460
462
|
},
|
|
461
463
|
scrollToRow: ao,
|
|
@@ -483,8 +485,8 @@ const Zt = /* @__PURE__ */ fo({
|
|
|
483
485
|
ref: S,
|
|
484
486
|
"custom-reset": "",
|
|
485
487
|
"submit-loading": t(J).loading,
|
|
486
|
-
onSubmit: t(
|
|
487
|
-
onReset: t(
|
|
488
|
+
onSubmit: t(E),
|
|
489
|
+
onReset: t(P)
|
|
488
490
|
}), wo({
|
|
489
491
|
default: ue(() => [
|
|
490
492
|
(C(!0), L(So, null, ho(t($), (l) => (C(), H(Co(l.renderNode), {
|
|
@@ -510,10 +512,10 @@ const Zt = /* @__PURE__ */ fo({
|
|
|
510
512
|
class: g(t(d)("header-wrapper"))
|
|
511
513
|
}, [
|
|
512
514
|
de(e.$slots, "title", {
|
|
513
|
-
selectedRows: t(
|
|
515
|
+
selectedRows: t(K),
|
|
514
516
|
selectedRowKeys: t(Le),
|
|
515
517
|
shownColumns: t(w),
|
|
516
|
-
clearAll:
|
|
518
|
+
clearAll: z
|
|
517
519
|
})
|
|
518
520
|
], 2),
|
|
519
521
|
B("div", {
|
|
@@ -6,13 +6,13 @@ export declare const useSelectOptions: (props: ApFieldSelectProps) => {
|
|
|
6
6
|
options: Ref<{
|
|
7
7
|
[x: string]: any;
|
|
8
8
|
label?: any;
|
|
9
|
-
value?: string | number | null | undefined;
|
|
9
|
+
value?: (string | number | null) | undefined;
|
|
10
10
|
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
11
11
|
disabled?: boolean | undefined;
|
|
12
12
|
}[], DefaultOptionType[] | {
|
|
13
13
|
[x: string]: any;
|
|
14
14
|
label?: any;
|
|
15
|
-
value?: string | number | null | undefined;
|
|
15
|
+
value?: (string | number | null) | undefined;
|
|
16
16
|
children?: Omit<DefaultOptionType, "children">[] | undefined;
|
|
17
17
|
disabled?: boolean | undefined;
|
|
18
18
|
}[]>;
|
|
@@ -8,14 +8,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
|
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
checkable?: boolean | undefined;
|
|
10
10
|
disableCheckbox?: boolean | undefined;
|
|
11
|
-
children?:
|
|
11
|
+
children?: any[] | undefined;
|
|
12
12
|
} | {
|
|
13
13
|
[x: string]: any;
|
|
14
14
|
value?: RawValueType | undefined;
|
|
15
15
|
title?: any;
|
|
16
16
|
label?: any;
|
|
17
17
|
key?: Key | undefined;
|
|
18
|
-
children?:
|
|
18
|
+
children?: any[] | undefined;
|
|
19
19
|
disabled?: boolean | undefined;
|
|
20
20
|
checkable?: boolean | undefined;
|
|
21
21
|
disableCheckbox?: boolean | undefined;
|
|
@@ -24,14 +24,14 @@ export declare const useRequest: (props: ApFieldTreeSelectProps) => {
|
|
|
24
24
|
disabled?: boolean | undefined;
|
|
25
25
|
checkable?: boolean | undefined;
|
|
26
26
|
disableCheckbox?: boolean | undefined;
|
|
27
|
-
children?:
|
|
27
|
+
children?: any[] | undefined;
|
|
28
28
|
} | {
|
|
29
29
|
[x: string]: any;
|
|
30
30
|
value?: RawValueType | undefined;
|
|
31
31
|
title?: any;
|
|
32
32
|
label?: any;
|
|
33
33
|
key?: Key | undefined;
|
|
34
|
-
children?:
|
|
34
|
+
children?: any[] | undefined;
|
|
35
35
|
disabled?: boolean | undefined;
|
|
36
36
|
checkable?: boolean | undefined;
|
|
37
37
|
disableCheckbox?: boolean | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
1
|
+
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, RuleObject, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
2
2
|
import { Recordable } from '../type';
|
|
3
3
|
import { ApFormProps, UpdateModelOptimizeFn, WatchFunc, ApFormInternalInstance } from './interface';
|
|
4
4
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
@@ -7,6 +7,7 @@ import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
|
7
7
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
8
8
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
9
9
|
import { Options } from '../../node_modules/scroll-into-view-if-needed';
|
|
10
|
+
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
10
11
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
11
12
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
13
|
declare function __VLS_template(): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
1
|
+
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } 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, CSSProperties } from 'vue';
|
|
3
3
|
import { ApFormDrawerFormProps, CustomizeResizeType } from '../interface';
|
|
4
4
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
@@ -7,6 +7,7 @@ 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';
|
|
10
11
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
11
12
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
13
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
|
|
@@ -118,7 +119,7 @@ declare function __VLS_template(): {
|
|
|
118
119
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
119
120
|
readonly initialValues?: Recordable | undefined;
|
|
120
121
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
121
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
122
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
122
123
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
123
124
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
124
125
|
$attrs: {
|
|
@@ -1086,7 +1087,7 @@ declare const __VLS_component: DefineComponent<ApFormDrawerFormProps, {
|
|
|
1086
1087
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
1087
1088
|
readonly initialValues?: Recordable | undefined;
|
|
1088
1089
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1089
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
1090
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
1090
1091
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
1091
1092
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1092
1093
|
$attrs: {
|
|
@@ -4,6 +4,7 @@ import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, Component
|
|
|
4
4
|
import { FieldMode, ApFieldNumberProps } from '../../..';
|
|
5
5
|
import { ValueType } from '@aplus-frontend/antdv/es/input-number/src/utils/MiniDecimal';
|
|
6
6
|
import { KeyboardEventHandler } from '@aplus-frontend/antdv/es/_util/EventInterface';
|
|
7
|
+
import { InputNumberProps } from '@aplus-frontend/antdv';
|
|
7
8
|
import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
8
9
|
import { VueTypeValidableDef } from '../../../../node_modules/vue-types';
|
|
9
10
|
import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
@@ -78,7 +79,7 @@ declare function __VLS_template(): {
|
|
|
78
79
|
offset: ValueType;
|
|
79
80
|
type: "up" | "down";
|
|
80
81
|
}) => void) | undefined;
|
|
81
|
-
readonly inputMode?: "
|
|
82
|
+
readonly inputMode?: InputNumberProps["mode"];
|
|
82
83
|
readonly emptyText?: string | undefined;
|
|
83
84
|
readonly thousands?: boolean | undefined;
|
|
84
85
|
readonly limitDecimalsRetain?: boolean | undefined;
|
|
@@ -599,7 +600,7 @@ declare const __VLS_component: DefineComponent<ApFormItemNumberProps, {
|
|
|
599
600
|
offset: ValueType;
|
|
600
601
|
type: "up" | "down";
|
|
601
602
|
}) => void) | undefined;
|
|
602
|
-
readonly inputMode?: "
|
|
603
|
+
readonly inputMode?: InputNumberProps["mode"];
|
|
603
604
|
readonly emptyText?: string | undefined;
|
|
604
605
|
readonly thousands?: boolean | undefined;
|
|
605
606
|
readonly limitDecimalsRetain?: boolean | undefined;
|
|
@@ -130,12 +130,12 @@ declare function __VLS_template(): {
|
|
|
130
130
|
readonly emptyText?: string | undefined;
|
|
131
131
|
readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
|
|
132
132
|
readonly multiple?: boolean | undefined;
|
|
133
|
-
readonly value?:
|
|
133
|
+
readonly value?: SelectProps["value"];
|
|
134
134
|
readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
|
|
135
|
-
readonly searchMode?: "filter" | "request" | undefined;
|
|
135
|
+
readonly searchMode?: ("filter" | "request") | undefined;
|
|
136
136
|
readonly refetchOnFocus?: boolean | undefined;
|
|
137
137
|
readonly lazy?: boolean | undefined;
|
|
138
|
-
readonly addAll?: boolean | number | undefined;
|
|
138
|
+
readonly addAll?: (boolean | number) | undefined;
|
|
139
139
|
readonly params?: Recordable | undefined;
|
|
140
140
|
readonly searchDelay?: number | undefined;
|
|
141
141
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -788,12 +788,12 @@ declare const __VLS_component: DefineComponent<ApFormItemSelectProps, {
|
|
|
788
788
|
readonly emptyText?: string | undefined;
|
|
789
789
|
readonly request?: ((value?: string, extraParams?: Recordable) => Promise< SelectProps["options"]>) | undefined;
|
|
790
790
|
readonly multiple?: boolean | undefined;
|
|
791
|
-
readonly value?:
|
|
791
|
+
readonly value?: SelectProps["value"];
|
|
792
792
|
readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
|
|
793
|
-
readonly searchMode?: "filter" | "request" | undefined;
|
|
793
|
+
readonly searchMode?: ("filter" | "request") | undefined;
|
|
794
794
|
readonly refetchOnFocus?: boolean | undefined;
|
|
795
795
|
readonly lazy?: boolean | undefined;
|
|
796
|
-
readonly addAll?: boolean | number | undefined;
|
|
796
|
+
readonly addAll?: (boolean | number) | undefined;
|
|
797
797
|
readonly params?: Recordable | undefined;
|
|
798
798
|
readonly searchDelay?: number | undefined;
|
|
799
799
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
1
|
+
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, RuleObject } 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,6 +7,7 @@ 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';
|
|
10
11
|
import { SizeType, ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
11
12
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
13
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
|
|
@@ -120,7 +121,7 @@ declare function __VLS_template(): {
|
|
|
120
121
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
121
122
|
readonly initialValues?: Recordable | undefined;
|
|
122
123
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
123
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
124
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
124
125
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
125
126
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
126
127
|
$attrs: {
|
|
@@ -1323,7 +1324,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1323
1324
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
1324
1325
|
readonly initialValues?: Recordable | undefined;
|
|
1325
1326
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1326
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
1327
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
1327
1328
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
1328
1329
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1329
1330
|
$attrs: {
|
|
@@ -1,12 +1,13 @@
|
|
|
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, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
|
+
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, RuleObject, 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';
|
|
10
11
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
11
12
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
13
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSearchFormPopoverSorterItem } from '..';
|
|
@@ -118,7 +119,7 @@ declare function __VLS_template(): {
|
|
|
118
119
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
119
120
|
readonly initialValues?: Recordable | undefined;
|
|
120
121
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
121
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
122
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
122
123
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
123
124
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
124
125
|
$attrs: {
|
|
@@ -1106,7 +1107,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
|
1106
1107
|
readonly onValidate?: ((name: string | number | string[] | number[], status: boolean, errors: string[]) => void) | undefined;
|
|
1107
1108
|
readonly initialValues?: Recordable | undefined;
|
|
1108
1109
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1109
|
-
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
1110
|
+
readonly syncToUrl?: (boolean | ((values: Recordable, type: "get" | "set") => Recordable)) | undefined;
|
|
1110
1111
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
1111
1112
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1112
1113
|
$attrs: {
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { Recordable } from '../../type';
|
|
2
2
|
import { EditableGridFormItemExpose, EditableGridFormItemProps } from './interface';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } 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
|
|
10
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}> & {
|
|
11
13
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
12
14
|
};
|
|
13
15
|
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 } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } 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,7 +9,9 @@ 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
|
|
12
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}> & {
|
|
13
15
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
14
16
|
};
|
|
15
17
|
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 } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode, RendererNode, RendererElement } 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,7 +35,9 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
|
|
|
35
35
|
}) => any;
|
|
36
36
|
};
|
|
37
37
|
emit: {};
|
|
38
|
-
}>) => VNode
|
|
38
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
}> & {
|
|
39
41
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
40
42
|
};
|
|
41
43
|
export default _default;
|
|
@@ -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 } from 'vue';
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode, RendererNode, RendererElement } 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,7 +35,9 @@ declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable
|
|
|
35
35
|
}): any;
|
|
36
36
|
};
|
|
37
37
|
emit: {};
|
|
38
|
-
}>) => VNode
|
|
38
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
}> & {
|
|
39
41
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
40
42
|
};
|
|
41
43
|
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:
|
|
9
|
+
destroy: (this: any, ...args: any[]) => void;
|
|
10
10
|
update: (configUpdate: ConfigUpdate) => void;
|
|
11
11
|
};
|
|
12
12
|
export default confirm;
|
|
@@ -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 } from 'vue';
|
|
5
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode, RendererNode, RendererElement } 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,7 +98,9 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
|
|
|
98
98
|
}) => void;
|
|
99
99
|
};
|
|
100
100
|
emit: {};
|
|
101
|
-
}>) => VNode
|
|
101
|
+
}>) => VNode<RendererNode, RendererElement, {
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
}> & {
|
|
102
104
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
103
105
|
};
|
|
104
106
|
export default _default;
|