@aplus-frontend/ui 0.5.25 → 0.5.26
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/ap-action/group/index.vue.mjs +3 -3
- package/es/src/ap-action/item/index.vue2.mjs +5 -5
- package/es/src/ap-action/item-dropdown/index.vue.mjs +7 -7
- package/es/src/ap-action/item-modal/index.vue.mjs +2 -2
- package/es/src/ap-action/item-popconfirm/index.vue.mjs +2 -2
- package/es/src/ap-button/ap-action-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-button.vue.mjs +2 -2
- package/es/src/ap-button/ap-confirm-button.vue.mjs +2 -2
- package/es/src/ap-descriptions/ap-descriptions.vue.mjs +4 -4
- package/es/src/ap-descriptions/help-message/index.vue2.mjs +4 -4
- package/es/src/ap-download/ap-download.vue.mjs +1 -1
- package/es/src/ap-field/checkbox/index.vue.mjs +1 -1
- package/es/src/ap-field/date/index.vue.mjs +4 -4
- package/es/src/ap-field/date-range/index.vue.mjs +8 -8
- package/es/src/ap-field/index.mjs +36 -36
- package/es/src/ap-field/number/index.vue.mjs +8 -8
- package/es/src/ap-field/radio/index.vue.mjs +1 -1
- package/es/src/ap-field/rate/index.vue.mjs +2 -2
- package/es/src/ap-field/segmented/index.vue.mjs +1 -1
- package/es/src/ap-field/select/index.vue.mjs +2 -2
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/slider/index.vue.mjs +4 -4
- package/es/src/ap-field/switch/index.vue.mjs +3 -3
- package/es/src/ap-field/text/index.vue2.mjs +2 -2
- package/es/src/ap-field/text/password.vue.mjs +2 -2
- package/es/src/ap-field/text-area/index.vue.mjs +3 -3
- package/es/src/ap-field/tree-select/index.vue.mjs +3 -3
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -2
- package/es/src/ap-form/ap-form.vue2.mjs +2 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- package/es/src/ap-form/drawer-form/index.vue.mjs +9 -9
- package/es/src/ap-form/item/index.vue.mjs +7 -7
- package/es/src/ap-form/item-group/index.vue.mjs +3 -3
- package/es/src/ap-form/items/checkbox/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date/index.vue.mjs +2 -2
- package/es/src/ap-form/items/date-range/index.vue.mjs +2 -2
- package/es/src/ap-form/items/number/index.vue.mjs +2 -2
- package/es/src/ap-form/items/radio/index.vue.mjs +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/es/src/ap-form/items/select/index.vue.mjs +2 -2
- package/es/src/ap-form/items/switch/index.vue.mjs +2 -2
- package/es/src/ap-form/items/text/group.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/index.vue2.mjs +2 -2
- package/es/src/ap-form/items/text/password.vue.mjs +2 -2
- package/es/src/ap-form/items/text-area/index.vue.mjs +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.mjs +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
- package/es/src/ap-form/modal-form/index.vue.mjs +7 -7
- package/es/src/ap-form/render/item.vue.mjs +2 -2
- package/es/src/ap-form/search-form/index.vue.d.ts +3 -4
- package/es/src/ap-form/search-form/index.vue.mjs +2 -2
- package/es/src/ap-form/set/index.vue.mjs +1 -1
- package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/form-item.vue.mjs +16 -16
- package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/index.vue.mjs +11 -11
- package/es/src/ap-grid/hooks/use-inner-params.mjs +3 -3
- package/es/src/ap-grid/index.vue.d.ts +2 -4
- package/es/src/ap-grid/index.vue.mjs +4 -4
- package/es/src/ap-info-layout/ApInfoLayout.vue.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-admin/ApInfoLayoutAdmin.vue2.mjs +2 -2
- package/es/src/ap-info-layout/ap-info-layout-aplus/ap-info-layout.vue2.mjs +1 -1
- package/es/src/ap-list/index.vue.d.ts +2 -4
- package/es/src/ap-list/index.vue.mjs +4 -4
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-table/ap-table.vue.d.ts +2 -4
- package/es/src/ap-table/ap-table.vue2.mjs +13 -13
- package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/index/index.vue2.mjs +2 -2
- package/es/src/ap-table/components/paragraph-ellipsis/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/modal/index.vue2.mjs +3 -3
- package/es/src/ap-table/components/setting/select-group/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sortable/item.vue2.mjs +1 -1
- package/es/src/ap-table/components/setting/sorter/index.vue2.mjs +11 -11
- package/es/src/ap-table/components/setting/tree-select/index.vue2.mjs +1 -1
- package/es/src/ap-table/components/status/index.vue2.mjs +2 -2
- package/es/src/ap-table/constants.d.ts +5 -5
- package/es/src/ap-table/constants.mjs +45 -45
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/ap-table/hooks/use-table-column-state.mjs +3 -3
- package/es/src/ap-table/utils.d.ts +5 -5
- package/es/src/ap-tag/ap-tag-group.vue.mjs +8 -8
- package/es/src/ap-tag/ap-tag.vue.mjs +2 -2
- package/es/src/ap-upload/apUpload.vue.mjs +5 -5
- package/es/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/ap-upload/components/MultipleFile.vue2.mjs +3 -3
- package/es/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/es/src/ap-upload/components/Picture.vue2.mjs +6 -6
- package/es/src/ap-upload/components/SingleFile.vue2.mjs +7 -7
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +1 -1
- package/es/src/business/ap-appendix/icons/file-icon.vue.mjs +2 -2
- package/es/src/business/ap-batch-action/ApBatchAction.vue2.mjs +2 -2
- package/es/src/business/ap-batch-action-group/ApBatchActionGroup.vue2.mjs +10 -10
- package/es/src/business/ap-batch-action-group/MenuItemGroup.vue2.mjs +1 -1
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +1 -1
- package/es/src/business/ap-card/ApCard.vue2.mjs +7 -7
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue2.mjs +11 -11
- package/es/src/business/ap-expand-alert/index.d.ts +4 -6
- package/es/src/business/ap-export-group/ApExportGroup.vue2.mjs +9 -9
- package/es/src/business/ap-group-search/ap-group-search.vue2.mjs +5 -5
- package/es/src/business/ap-group-search/extension-select/index.vue2.mjs +4 -4
- package/es/src/business/ap-group-search/images/icon-down.vue.mjs +2 -2
- package/es/src/business/ap-group-search/images/icon-line-select.vue.mjs +2 -2
- package/es/src/business/ap-group-search/popover-select/index.vue2.mjs +2 -2
- package/es/src/business/ap-image/ApImage.vue2.mjs +1 -1
- package/es/src/business/ap-input-radio/ApInputRadio.vue2.mjs +2 -2
- package/es/src/business/ap-ladder/ApLadder.vue2.mjs +1 -1
- package/es/src/business/ap-ladder/components/SimpleMode.vue2.mjs +4 -4
- package/es/src/business/ap-ladder/components/ValueGroupMode.vue2.mjs +13 -13
- package/es/src/business/ap-ladder/utils.mjs +1 -1
- package/es/src/business/ap-select-layout/index.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +4 -4
- package/es/src/business/ap-status/ApStatus.vue2.mjs +8 -8
- package/es/src/business/ap-status/group/ApStatusGroup.vue2.mjs +4 -4
- package/es/src/business/ap-summary/ap-summary.vue2.mjs +1 -1
- package/es/src/business/ap-table-modal/modal-title.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/table-layout/index.vue2.mjs +14 -14
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +3 -3
- package/es/src/business/ap-title/ApTitle.vue2.mjs +7 -7
- package/es/src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs +1 -1
- package/es/src/business/ap-upload-file/icon/delete-icon.vue.mjs +2 -2
- package/es/src/business/ap-upload-file/icon/file-icon.vue.mjs +2 -2
- package/es/src/business/batch-input-group/form-item.vue.mjs +2 -2
- package/es/src/business/batch-input-group/index.vue.mjs +1 -1
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +2 -2
- package/es/src/check-card/index.vue2.mjs +3 -3
- package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/es/src/editable-table/form-item.vue.d.ts +2 -4
- package/es/src/editable-table/form-item.vue.mjs +83 -83
- package/es/src/editable-table/index.vue.d.ts +2 -4
- package/es/src/editable-table/index.vue.mjs +84 -79
- package/es/src/full-screen/index.vue.mjs +3 -3
- package/es/src/hooks/useFullScreen.mjs +5 -5
- package/es/src/mask/index.vue.mjs +10 -10
- package/es/src/portal/index.vue.mjs +2 -2
- package/es/src/scroll-bar/index.vue.mjs +3 -3
- package/es/src/scroll-bar/internal.vue.mjs +2 -2
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/scroll-view/index.vue.mjs +9 -9
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/text/group.vue.mjs +2 -2
- package/es/src/text/index.vue.mjs +4 -4
- package/es/src/work-order-modal/help-message.vue2.mjs +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
- package/es/src/work-order-modal/work-order-modal.vue.mjs +2 -2
- package/lib/src/ap-action/item-dropdown/index.vue.js +1 -1
- package/lib/src/ap-field/index.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 +1 -2
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/items/select/index.vue.d.ts +6 -6
- package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/search-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.d.ts +2 -4
- package/lib/src/ap-list/index.vue.d.ts +2 -4
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
- package/lib/src/ap-table/constants.d.ts +5 -5
- package/lib/src/ap-table/constants.js +1 -1
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/ap-table/utils.d.ts +5 -5
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/ap-upload/components/Picture.vue.d.ts +2 -7
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
- package/lib/src/business/ap-ladder/utils.js +1 -1
- package/lib/src/business/ap-select-layout/index.d.ts +2 -4
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/lib/src/editable-table/form-item.vue.d.ts +2 -4
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/index.vue.d.ts +2 -4
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/work-order-modal/work-order-modal.vue.d.ts +2 -3
- package/package.json +3 -3
- package/theme/ap-grid/index.css +4 -3
- package/theme/ap-grid/index.less +4 -3
- package/theme/index.css +4 -3
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { EditableGridFormItemExpose, EditableGridFormItemProps } from './interface';
|
|
2
2
|
import { Recordable } from '../../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
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
|
|
11
|
-
[key: string]: any;
|
|
12
|
-
}> & {
|
|
10
|
+
}>) => VNode & {
|
|
13
11
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
14
12
|
};
|
|
15
13
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as P, useSlots as A, toRef as H, ref as h, unref as f, watch as W, nextTick as G,
|
|
1
|
+
import { defineComponent as P, useSlots as A, toRef as H, ref as h, unref as f, watch as W, nextTick as G, createBlock as K, openBlock as U, mergeProps as g, withCtx as y, createVNode as $, createSlots as q, renderList as J, renderSlot as Q, normalizeProps as X, guardReactiveProps as Y } from "vue";
|
|
2
2
|
import { ApForm as C } from "../../ap-form/index.mjs";
|
|
3
3
|
import { isArray as Z, isUndefined as I, isNumber as m, cloneDeep as M, omit as ee } from "lodash-unified";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
@@ -172,31 +172,31 @@ const ye = /* @__PURE__ */ P({
|
|
|
172
172
|
});
|
|
173
173
|
const c = h(), v = le("valueTypeMap"), D = oe(l, v);
|
|
174
174
|
function L(e, o) {
|
|
175
|
-
var
|
|
176
|
-
const n = ((
|
|
175
|
+
var u;
|
|
176
|
+
const n = ((u = f(d)) == null ? void 0 : u.length) || 0;
|
|
177
177
|
if (w(l.maxLength) && n >= l.maxLength)
|
|
178
178
|
return;
|
|
179
179
|
const t = {
|
|
180
180
|
...e || {}
|
|
181
181
|
};
|
|
182
|
-
a == null || a.setFieldValue(l.name, t, !0, (
|
|
183
|
-
|
|
182
|
+
a == null || a.setFieldValue(l.name, t, !0, (s, r) => {
|
|
183
|
+
s[r] || (s[r] = [t]), I(o) ? s[r].push(t) : s[r].splice(o, 0, t);
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
function V(e, o = "suffix") {
|
|
187
|
-
var
|
|
188
|
-
const n = ((
|
|
187
|
+
var s;
|
|
188
|
+
const n = ((s = f(d)) == null ? void 0 : s.length) || 0, t = m(e) ? e : e.length;
|
|
189
189
|
if (w(l.maxLength) && n + t > l.maxLength)
|
|
190
190
|
return;
|
|
191
|
-
const
|
|
192
|
-
a == null || a.setFieldValue(l.name,
|
|
193
|
-
r[i] || (r[i] = [...
|
|
191
|
+
const u = m(e) ? new Array(e).fill(0).map(() => ({})) : M(e);
|
|
192
|
+
a == null || a.setFieldValue(l.name, u, !0, (r, i) => {
|
|
193
|
+
r[i] || (r[i] = [...u]), o === "suffix" ? r[i].push(...u) : r[i].unshift(...u);
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
196
|
function T(e) {
|
|
197
197
|
const o = new Set(m(e) ? [e] : e);
|
|
198
198
|
a == null || a.setFieldValue(l.name, void 0, !0, (n, t) => {
|
|
199
|
-
n[t] = n[t].filter((
|
|
199
|
+
n[t] = n[t].filter((u, s) => !o.has(s));
|
|
200
200
|
});
|
|
201
201
|
}
|
|
202
202
|
function _() {
|
|
@@ -207,9 +207,9 @@ const ye = /* @__PURE__ */ P({
|
|
|
207
207
|
return (o = f(d)) == null ? void 0 : o[e];
|
|
208
208
|
}
|
|
209
209
|
function k(e, o, n = !0) {
|
|
210
|
-
a == null || a.setFieldValue(l.name,
|
|
211
|
-
!t[
|
|
212
|
-
...n ? t[
|
|
210
|
+
a == null || a.setFieldValue(l.name, void 0, !0, (t, u) => {
|
|
211
|
+
!t[u] || !t[u][e] || (t[u][e] = {
|
|
212
|
+
...n ? t[u][e] : {},
|
|
213
213
|
...o
|
|
214
214
|
});
|
|
215
215
|
});
|
|
@@ -236,7 +236,7 @@ const ye = /* @__PURE__ */ P({
|
|
|
236
236
|
scrollTo: z,
|
|
237
237
|
setTableData: j,
|
|
238
238
|
clear: O
|
|
239
|
-
}), (e, o) => (
|
|
239
|
+
}), (e, o) => (U(), K(f(C).FormItem, g(e.formItem, {
|
|
240
240
|
name: e.name,
|
|
241
241
|
label: e.label
|
|
242
242
|
}), {
|
|
@@ -251,7 +251,7 @@ const ye = /* @__PURE__ */ P({
|
|
|
251
251
|
_: 2
|
|
252
252
|
}, [J(R, (n, t) => ({
|
|
253
253
|
name: t,
|
|
254
|
-
fn: y((
|
|
254
|
+
fn: y((u) => [Q(e.$slots, t, X(Y(u || {})))])
|
|
255
255
|
}))]), 1040, ["class", "columns", "data-source"])]),
|
|
256
256
|
_: 3
|
|
257
257
|
}, 16, ["name", "label"]));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditableGridExpose, EditableGridProps } from './interface';
|
|
2
2
|
import { Recordable } from '../../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
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
|
|
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
|
-
import { defineComponent as U, useSlots as $, ref as w, watch as x, unref as u,
|
|
2
|
-
import { ApForm as
|
|
3
|
-
import { isEqual as ae, isArray as R, isUndefined as te, isNumber as
|
|
1
|
+
import { defineComponent as U, useSlots as $, ref as w, watch as x, unref as u, createBlock as q, openBlock as J, withCtx as h, createVNode as v, mergeProps as Q, createSlots as X, renderList as Y, renderSlot as Z, normalizeProps as M, guardReactiveProps as ee } from "vue";
|
|
2
|
+
import { ApForm as y } from "../../ap-form/index.mjs";
|
|
3
|
+
import { isEqual as ae, isArray as R, isUndefined as te, isNumber as g, cloneDeep as le, omit as oe } from "lodash-unified";
|
|
4
4
|
import "../../config-provider/index.mjs";
|
|
5
5
|
import "../../hooks/index.mjs";
|
|
6
6
|
import { isDef as b } from "../../utils/index.mjs";
|
|
@@ -160,7 +160,7 @@ const Re = /* @__PURE__ */ U({
|
|
|
160
160
|
} = se("editable-grid"), _ = S, C = w(), {
|
|
161
161
|
value: m,
|
|
162
162
|
updateValue: L
|
|
163
|
-
} = re(t, _), i = w(), E = ue("valueTypeMap"), c =
|
|
163
|
+
} = re(t, _), i = w(), E = ue("valueTypeMap"), c = y.useWatch(t.name, i);
|
|
164
164
|
x(() => c.value, (e) => {
|
|
165
165
|
var a;
|
|
166
166
|
L(e), (a = t.onChange) == null || a.call(t, e);
|
|
@@ -195,22 +195,22 @@ const Re = /* @__PURE__ */ U({
|
|
|
195
195
|
...e || {}
|
|
196
196
|
};
|
|
197
197
|
(r = (s = i.value) == null ? void 0 : s.setFieldValue) == null || r.call(s, t.name, o, !0, (d, f) => {
|
|
198
|
-
|
|
198
|
+
d[f] || (d[f] = [o]), te(a) ? d[f].push(o) : d[f].splice(a, 0, o);
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
201
|
function z(e, a = "suffix") {
|
|
202
202
|
var s, r, d;
|
|
203
|
-
const l = ((s = u(m)) == null ? void 0 : s.length) || 0, o =
|
|
203
|
+
const l = ((s = u(m)) == null ? void 0 : s.length) || 0, o = g(e) ? e : e.length;
|
|
204
204
|
if (b(t.maxLength) && l + o > t.maxLength)
|
|
205
205
|
return;
|
|
206
|
-
const n =
|
|
206
|
+
const n = g(e) ? new Array(e).fill(0).map(() => ({})) : le(e);
|
|
207
207
|
(d = (r = i.value) == null ? void 0 : r.setFieldValue) == null || d.call(r, t.name, n, !0, (f, p) => {
|
|
208
208
|
f[p] || (f[p] = [...n]), a === "suffix" ? f[p].push(...n) : f[p].unshift(...n);
|
|
209
209
|
});
|
|
210
210
|
}
|
|
211
211
|
function I(e) {
|
|
212
212
|
var l, o;
|
|
213
|
-
const a = new Set(
|
|
213
|
+
const a = new Set(g(e) ? [e] : e);
|
|
214
214
|
(o = (l = i.value) == null ? void 0 : l.setFieldValue) == null || o.call(l, t.name, void 0, !0, (n, s) => {
|
|
215
215
|
n[s] = n[s].filter((r, d) => !a.has(d));
|
|
216
216
|
});
|
|
@@ -228,7 +228,7 @@ const Re = /* @__PURE__ */ U({
|
|
|
228
228
|
}
|
|
229
229
|
function W(e, a, l = !0) {
|
|
230
230
|
var o, n;
|
|
231
|
-
(n = (o = i.value) == null ? void 0 : o.setFieldValue) == null || n.call(o, t.name,
|
|
231
|
+
(n = (o = i.value) == null ? void 0 : o.setFieldValue) == null || n.call(o, t.name, void 0, !0, (s, r) => {
|
|
232
232
|
!s[r] || !s[r][e] || (s[r][e] = {
|
|
233
233
|
...l ? s[r][e] : {},
|
|
234
234
|
...a
|
|
@@ -256,7 +256,7 @@ const Re = /* @__PURE__ */ U({
|
|
|
256
256
|
scrollTo: G,
|
|
257
257
|
clear: K,
|
|
258
258
|
setTableData: P
|
|
259
|
-
}), (e, a) => (
|
|
259
|
+
}), (e, a) => (J(), q(u(y), {
|
|
260
260
|
ref_key: "formRef",
|
|
261
261
|
ref: i,
|
|
262
262
|
"initial-values": {
|
|
@@ -266,7 +266,7 @@ const Re = /* @__PURE__ */ U({
|
|
|
266
266
|
height: "100%"
|
|
267
267
|
}
|
|
268
268
|
}, {
|
|
269
|
-
default: h(() => [v(u(
|
|
269
|
+
default: h(() => [v(u(y).FormItem, {
|
|
270
270
|
name: e.name,
|
|
271
271
|
"no-style": ""
|
|
272
272
|
}, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DEFAULT_PAGE_SIZE as g, DEFAULT_CURRENT as E } from "../../ap-table/hooks/use-table-paging-ng.mjs";
|
|
2
2
|
const a = {
|
|
3
3
|
asc: "ascend",
|
|
4
4
|
desc: "descend"
|
|
@@ -6,8 +6,8 @@ const a = {
|
|
|
6
6
|
const t = {};
|
|
7
7
|
let c = {};
|
|
8
8
|
const s = {
|
|
9
|
-
current:
|
|
10
|
-
pageSize:
|
|
9
|
+
current: E,
|
|
10
|
+
pageSize: g
|
|
11
11
|
};
|
|
12
12
|
function i(n) {
|
|
13
13
|
o == null || o(s, c, t, {
|
|
@@ -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
|
|
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
|
|
39
|
-
[key: string]: any;
|
|
40
|
-
}> & {
|
|
38
|
+
}>) => VNode & {
|
|
41
39
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
42
40
|
};
|
|
43
41
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Fe, useSlots as Be, getCurrentInstance as Ie, ref as k, computed as n, unref as o, watch as T, openBlock as s,
|
|
1
|
+
import { defineComponent as Fe, useSlots as Be, getCurrentInstance as Ie, ref as k, computed as n, unref as o, watch as T, createElementBlock as F, openBlock as s, normalizeStyle as z, normalizeClass as f, createCommentVNode as C, createElementVNode as B, createVNode as U, mergeProps as g, createSlots as G, withCtx as v, Fragment as X, renderList as A, createBlock as c, resolveDynamicComponent as _, renderSlot as V, normalizeProps as J, guardReactiveProps as Pe } from "vue";
|
|
2
2
|
import { VxeTable as Ee, VxeColumn as Q } from "vxe-table";
|
|
3
3
|
import "vxe-table/es/style.css";
|
|
4
4
|
import "vxe-pc-ui/es/style.css";
|
|
@@ -14,7 +14,7 @@ import { useInnerParams as Oe } from "./hooks/use-inner-params.mjs";
|
|
|
14
14
|
import { toVxeProps as Ke, getRowExpandProps as $e, getRowSelectionProps as He } from "./utils/table.mjs";
|
|
15
15
|
import je from "../ap-table/hooks/use-table-row-selection.mjs";
|
|
16
16
|
import { useProvideApTable as We } from "../ap-table/context.mjs";
|
|
17
|
-
import {
|
|
17
|
+
import { sizeReverseMap as Me, sizeMap as qe } from "./constants.mjs";
|
|
18
18
|
import { useRenderColumns as Ue } from "./hooks/use-render-columns.mjs";
|
|
19
19
|
import { useToken as Ge } from "@aplus-frontend/antdv/es/theme/internal";
|
|
20
20
|
import "../scroll-bar/index.mjs";
|
|
@@ -196,12 +196,12 @@ const ko = /* @__PURE__ */ Fe({
|
|
|
196
196
|
We({
|
|
197
197
|
columns: n(() => i.value),
|
|
198
198
|
columnsBackup: n(() => D.value),
|
|
199
|
-
size: n(() => S.value ?
|
|
199
|
+
size: n(() => S.value ? qe[S.value] : "middle"),
|
|
200
200
|
updateColumns(e) {
|
|
201
201
|
i.value = e;
|
|
202
202
|
},
|
|
203
203
|
updateSize(e) {
|
|
204
|
-
S.value =
|
|
204
|
+
S.value = Me[e];
|
|
205
205
|
},
|
|
206
206
|
renderConfig: n(() => ({
|
|
207
207
|
className: te("table-header", "title"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as a, computed as n,
|
|
1
|
+
import { defineComponent as a, computed as n, createBlock as p, openBlock as s, resolveDynamicComponent as i, normalizeProps as l, guardReactiveProps as m, createSlots as c, renderList as u, withCtx as d, renderSlot as f } from "vue";
|
|
2
2
|
import "./ap-info-layout-aplus/ap-info-layout.vue.mjs";
|
|
3
3
|
import "./ap-info-layout-admin/ApInfoLayoutAdmin.vue.mjs";
|
|
4
4
|
import "../config-provider/index.mjs";
|
|
@@ -26,7 +26,7 @@ const D = /* @__PURE__ */ a({
|
|
|
26
26
|
}
|
|
27
27
|
return e;
|
|
28
28
|
});
|
|
29
|
-
return (e, h) => (
|
|
29
|
+
return (e, h) => (s(), p(i(t.value), l(m(e.$props)), c({ _: 2 }, [
|
|
30
30
|
u(e.$slots, (k, o) => ({
|
|
31
31
|
name: o,
|
|
32
32
|
fn: d(() => [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as u, ref as t,
|
|
1
|
+
import { defineComponent as u, ref as t, createElementBlock as p, openBlock as y, normalizeClass as s, unref as e, createElementVNode as n, normalizeStyle as h, renderSlot as d } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import { useNamespace as v } from "../../config-provider/hooks/use-namespace.mjs";
|
|
4
4
|
import { useGlobalConfig as _ } from "../../config-provider/hooks/use-global-config.mjs";
|
|
@@ -12,7 +12,7 @@ const L = /* @__PURE__ */ u({
|
|
|
12
12
|
const l = t(), a = t(), f = () => {
|
|
13
13
|
l.value && a.value && (l.value.scrollTop > 0 ? a.value.classList.add(o("header-shadow")) : a.value.classList.remove(o("header-shadow")));
|
|
14
14
|
}, { b: i, e: o, m: c } = v("ap-info-layout-admin"), m = _("uiMode", "admin");
|
|
15
|
-
return (r, k) => (
|
|
15
|
+
return (r, k) => (y(), p("div", {
|
|
16
16
|
ref_key: "containerRef",
|
|
17
17
|
ref: l,
|
|
18
18
|
class: s([e(i)(), `${e(c)(e(m))}`]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as $, computed as t, onActivated as y, onDeactivated as B,
|
|
1
|
+
import { defineComponent as $, computed as t, onActivated as y, onDeactivated as B, createElementBlock as E, openBlock as d, normalizeClass as a, createBlock as H, createElementVNode as o, Teleport as k, renderSlot as s, createVNode as A, unref as N } from "vue";
|
|
2
2
|
import { Divider as T } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../config-provider/index.mjs";
|
|
4
4
|
import { useNamespace as V } from "../../config-provider/hooks/use-namespace.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApListProps } from './interface';
|
|
2
2
|
import { Recordable } from '../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode
|
|
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;
|
|
@@ -41,9 +41,7 @@ declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable
|
|
|
41
41
|
}): any;
|
|
42
42
|
};
|
|
43
43
|
emit: {};
|
|
44
|
-
}>) => VNode
|
|
45
|
-
[key: string]: any;
|
|
46
|
-
}> & {
|
|
44
|
+
}>) => VNode & {
|
|
47
45
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
48
46
|
};
|
|
49
47
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as H, ref as J, unref as t, computed as d, watch as Q,
|
|
1
|
+
import { defineComponent as H, ref as J, unref as t, computed as d, watch as Q, createBlock as S, openBlock as i, normalizeClass as u, withCtx as f, createElementVNode as X, normalizeStyle as h, renderSlot as l, createElementBlock as p, createCommentVNode as Y, createVNode as v, Fragment as I, renderList as Z, mergeProps as _ } from "vue";
|
|
2
2
|
import { Empty as E, Spin as x, Pagination as ee } from "@aplus-frontend/antdv";
|
|
3
3
|
import { useTablePaging as te } from "../ap-table/hooks/use-table-paging-ng.mjs";
|
|
4
4
|
import "../config-provider/index.mjs";
|
|
@@ -165,7 +165,7 @@ const he = /* @__PURE__ */ H({
|
|
|
165
165
|
key: 1,
|
|
166
166
|
dataSource: s.value
|
|
167
167
|
}, () => [
|
|
168
|
-
(i(!0), p(I, null,
|
|
168
|
+
(i(!0), p(I, null, Z(s.value, (r, o) => l(e.$slots, "renderItem", {
|
|
169
169
|
item: r,
|
|
170
170
|
index: o
|
|
171
171
|
})), 256))
|
|
@@ -176,11 +176,11 @@ const he = /* @__PURE__ */ H({
|
|
|
176
176
|
class: u(t(N)("footer")),
|
|
177
177
|
style: h(e.footerWarpperStyle)
|
|
178
178
|
}, [
|
|
179
|
-
v(t(ee),
|
|
179
|
+
v(t(ee), _(
|
|
180
180
|
c.value ? t(B) : t(ne)(t(z).pagination, ["showTotal"]),
|
|
181
181
|
{ onChange: K }
|
|
182
182
|
), null, 16)
|
|
183
|
-
], 6)) :
|
|
183
|
+
], 6)) : Y("", !0)
|
|
184
184
|
], 6)
|
|
185
185
|
]),
|
|
186
186
|
_: 3
|
|
@@ -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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApColumnType, ApTableProps } from './interface';
|
|
2
2
|
import { ColumnsType, ColumnType } from '@aplus-frontend/antdv/es/table';
|
|
3
3
|
import { RowSelectionReturnType } from './hooks/use-table-row-selection';
|
|
4
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, Ref, VNode
|
|
4
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, Ref, VNode } from 'vue';
|
|
5
5
|
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<{
|
|
6
6
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApTableProps<RecordType> & Partial<{}>> & PublicProps;
|
|
7
7
|
expose(exposed: ShallowUnwrapRef<{
|
|
@@ -85,9 +85,7 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
|
|
|
85
85
|
}) => void;
|
|
86
86
|
};
|
|
87
87
|
emit: {};
|
|
88
|
-
}>) => VNode
|
|
89
|
-
[key: string]: any;
|
|
90
|
-
}> & {
|
|
88
|
+
}>) => VNode & {
|
|
91
89
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
92
90
|
};
|
|
93
91
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Ke, useSlots as Ee, ref as h, computed as s, unref as l, createVNode as p, Fragment as Z, watch as k, openBlock as m,
|
|
1
|
+
import { defineComponent as Ke, useSlots as Ee, ref as h, computed as s, unref as l, createVNode as p, Fragment as Z, watch as k, createElementBlock as B, openBlock as m, normalizeStyle as V, normalizeClass as y, createCommentVNode as ee, createElementVNode as K, mergeProps as w, createSlots as oe, withCtx as v, renderList as re, createBlock as ae, resolveDynamicComponent as Oe, renderSlot as R, normalizeProps as Le, guardReactiveProps as $e } from "vue";
|
|
2
2
|
import { Divider as Ae, Table as De } from "@aplus-frontend/antdv";
|
|
3
3
|
import { useToken as je } from "@aplus-frontend/antdv/es/theme/internal";
|
|
4
4
|
import { ApForm as We } from "../ap-form/index.mjs";
|
|
@@ -6,7 +6,7 @@ import { noRenderAsFormItemValueList as te } from "./constants.mjs";
|
|
|
6
6
|
import "../config-provider/index.mjs";
|
|
7
7
|
import { useTablePaging as _e } from "./hooks/use-table-paging-ng.mjs";
|
|
8
8
|
import { isUndefined as g, omit as le, isBoolean as He } from "lodash-unified";
|
|
9
|
-
import { getColumnOrder as ne, updateFormProps as Ue, getFieldProps as qe, getSearchFormItemRenderNode as Me, recursionApColumns as se,
|
|
9
|
+
import { getColumnOrder as ne, updateFormProps as Ue, getFieldProps as qe, getSearchFormItemRenderNode as Me, recursionApColumns as se, getTableTitle as Ge, getTableRenderType as Je, getTableRenderProps as Qe, getTableCellRenderNode as Xe, apColumnToColumn as Ye, falseToUndefined as Ze, objectToString as eo } from "./utils.mjs";
|
|
10
10
|
import oo from "./hooks/use-table-content-height.mjs";
|
|
11
11
|
import ro from "./hooks/use-table-row-selection.mjs";
|
|
12
12
|
import { getScrollbarSize as ao, isDef as to } from "../utils/index.mjs";
|
|
@@ -245,23 +245,23 @@ const Eo = /* @__PURE__ */ Ke({
|
|
|
245
245
|
function a(t, d) {
|
|
246
246
|
return t.map((n) => ({
|
|
247
247
|
resizable: to(n.resizable) ? n.resizable : o.columnResizable,
|
|
248
|
-
...le(
|
|
248
|
+
...le(Ye(n), ["ellipsis"]),
|
|
249
249
|
// tips: 此函数内部依赖查询&筛选的相应式值
|
|
250
250
|
...M(n),
|
|
251
251
|
fixed: d ? d.fixed : n.fixed,
|
|
252
|
-
title:
|
|
252
|
+
title: Ge(n, O("table-header", "title"), C.headerCell, l(ie).colorPrimary),
|
|
253
253
|
customRender({
|
|
254
254
|
value: f,
|
|
255
255
|
...S
|
|
256
256
|
}) {
|
|
257
257
|
var X, Y;
|
|
258
|
-
const J =
|
|
258
|
+
const J = Je(n), Ie = Qe({
|
|
259
259
|
...n,
|
|
260
260
|
valueType: J
|
|
261
261
|
}, {
|
|
262
262
|
value: f,
|
|
263
263
|
...S
|
|
264
|
-
}), Ne =
|
|
264
|
+
}), Ne = Xe(J, Ie, S.record, l(L)), Q = ((X = n.renderText) == null ? void 0 : X.call(n, {
|
|
265
265
|
value: f,
|
|
266
266
|
...S
|
|
267
267
|
})) || f, Ve = n.renderText ? p(Z, null, [(Y = n.renderText) == null ? void 0 : Y.call(n, {
|
|
@@ -414,8 +414,8 @@ const Eo = /* @__PURE__ */ Ke({
|
|
|
414
414
|
"submit-loading": l(q).loading,
|
|
415
415
|
onSubmit: l(H),
|
|
416
416
|
onReset: l(U)
|
|
417
|
-
}),
|
|
418
|
-
default: v(() => [(m(!0), B(Z, null,
|
|
417
|
+
}), oe({
|
|
418
|
+
default: v(() => [(m(!0), B(Z, null, re(_.value, (r) => (m(), ae(Oe(r.renderNode.Comp), w({
|
|
419
419
|
key: r.dataIndex,
|
|
420
420
|
item: r,
|
|
421
421
|
ref_for: !0
|
|
@@ -428,7 +428,7 @@ const Eo = /* @__PURE__ */ Ke({
|
|
|
428
428
|
name: "extra",
|
|
429
429
|
fn: v(() => [R(e.$slots, "searchFormExtra")]),
|
|
430
430
|
key: "0"
|
|
431
|
-
} : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) :
|
|
431
|
+
} : void 0]), 1040, ["submit-loading", "onSubmit", "onReset"])], 6)) : ee("", !0), K("div", {
|
|
432
432
|
ref_key: "contentRef",
|
|
433
433
|
ref: me,
|
|
434
434
|
class: y([l(z)("table-wrapper"), e.card ? l(z)("table-wrapper-card") : null]),
|
|
@@ -444,10 +444,10 @@ const Eo = /* @__PURE__ */ Ke({
|
|
|
444
444
|
selectedRows: l(F),
|
|
445
445
|
selectedRowKeys: l(T).selectedRowKeys,
|
|
446
446
|
shownColumns: u.value
|
|
447
|
-
}, x))], 2), C.title ? (m(),
|
|
447
|
+
}, x))], 2), C.title ? (m(), ae(l(Ae), {
|
|
448
448
|
key: 0,
|
|
449
449
|
type: "vertical"
|
|
450
|
-
})) :
|
|
450
|
+
})) : ee("", !0), p(co, {
|
|
451
451
|
config: e.settings === !0 ? {} : e.settings
|
|
452
452
|
}, null, 8, ["config"])], 2)) : R(e.$slots, "title", w({
|
|
453
453
|
key: 1,
|
|
@@ -463,7 +463,7 @@ const Eo = /* @__PURE__ */ Ke({
|
|
|
463
463
|
"table-layout": Fe.value,
|
|
464
464
|
columns: u.value,
|
|
465
465
|
onResizeColumn: a[0] || (a[0] = (r, t) => t.width = r)
|
|
466
|
-
}),
|
|
466
|
+
}), oe({
|
|
467
467
|
summary: v(() => [R(e.$slots, "summary", {
|
|
468
468
|
columns: u.value,
|
|
469
469
|
records: G.value.dataSource,
|
|
@@ -482,7 +482,7 @@ const Eo = /* @__PURE__ */ Ke({
|
|
|
482
482
|
}, null, 8, ["scroll-container"])];
|
|
483
483
|
}),
|
|
484
484
|
key: "0"
|
|
485
|
-
} : void 0,
|
|
485
|
+
} : void 0, re(l(le)(C, ["title", "searchFormExtra", "headerCell", "summary"]), (r, t) => ({
|
|
486
486
|
name: t,
|
|
487
487
|
fn: v((d) => [R(e.$slots, t, Le($e(d || {})))])
|
|
488
488
|
}))]), 1040, ["class", "size", "table-layout", "columns"])], 6)], 6));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n,
|
|
1
|
+
import { defineComponent as n, createBlock as o, openBlock as t, resolveDynamicComponent as r } from "vue";
|
|
2
2
|
const s = /* @__PURE__ */ n({
|
|
3
3
|
name: "ApTableDynamicComponent",
|
|
4
4
|
inheritAttrs: !1,
|
|
@@ -7,7 +7,7 @@ const s = /* @__PURE__ */ n({
|
|
|
7
7
|
customRender: { type: Function }
|
|
8
8
|
},
|
|
9
9
|
setup(p) {
|
|
10
|
-
return (e, a) => (
|
|
10
|
+
return (e, a) => (t(), o(r(e.customRender(e.$attrs))));
|
|
11
11
|
}
|
|
12
12
|
});
|
|
13
13
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as n, computed as l,
|
|
1
|
+
import { defineComponent as n, computed as l, createElementBlock as s, openBlock as p, normalizeClass as d, toDisplayString as m } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { useNamespace as c } from "../../../config-provider/hooks/use-namespace.mjs";
|
|
4
4
|
const _ = /* @__PURE__ */ n({
|
|
@@ -10,7 +10,7 @@ const _ = /* @__PURE__ */ n({
|
|
|
10
10
|
},
|
|
11
11
|
setup(e) {
|
|
12
12
|
const o = e, { m: a } = c("ap-table-index"), r = l(() => [o.bordered ? a("bordered") : null].filter(Boolean));
|
|
13
|
-
return (t, i) => (
|
|
13
|
+
return (t, i) => (p(), s("div", {
|
|
14
14
|
class: d(r.value)
|
|
15
15
|
}, m(t.value), 3));
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as x, ref as _, computed as B,
|
|
1
|
+
import { defineComponent as x, ref as _, computed as B, createElementBlock as f, openBlock as i, mergeProps as E, unref as o, createElementVNode as O, createCommentVNode as N, normalizeClass as y, createVNode as b, createSlots as V, withCtx as m, createBlock as c, resolveDynamicComponent as v, h as w } from "vue";
|
|
2
2
|
import "../../../config-provider/index.mjs";
|
|
3
3
|
import { Tooltip as h } from "@aplus-frontend/antdv";
|
|
4
4
|
import { CopyOutlined as j, CheckOutlined as S } from "@ant-design/icons-vue";
|
|
@@ -65,7 +65,7 @@ const G = /* @__PURE__ */ x({
|
|
|
65
65
|
O("div", {
|
|
66
66
|
class: y([o(u)("content")])
|
|
67
67
|
}, [
|
|
68
|
-
b(o(h), null,
|
|
68
|
+
b(o(h), null, V({
|
|
69
69
|
default: m(() => {
|
|
70
70
|
var s;
|
|
71
71
|
return [
|
|
@@ -98,7 +98,7 @@ const G = /* @__PURE__ */ x({
|
|
|
98
98
|
]),
|
|
99
99
|
_: 1
|
|
100
100
|
}, 8, ["title"])
|
|
101
|
-
], 2)) :
|
|
101
|
+
], 2)) : N("", !0)
|
|
102
102
|
], 16);
|
|
103
103
|
};
|
|
104
104
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as G, ref as y, unref as e, computed as H, useSlots as L, createVNode as l, cloneVNode as M,
|
|
1
|
+
import { defineComponent as G, ref as y, unref as e, computed as H, useSlots as L, createVNode as l, cloneVNode as M, createElementBlock as P, openBlock as x, Fragment as q, createBlock as J, createCommentVNode as Q, resolveDynamicComponent as W, withCtx as i, createElementVNode as s, normalizeClass as r, toDisplayString as c, createTextVNode as C, isRef as X } from "vue";
|
|
2
2
|
import { Button as B, Modal as Y, RadioGroup as Z, RadioButton as _, Divider as h } from "@aplus-frontend/antdv";
|
|
3
3
|
import { getSingleVNode as ee } from "../../../../utils/slot.mjs";
|
|
4
4
|
import { useInjectApTable as te } from "../../../context.mjs";
|
|
@@ -62,9 +62,9 @@ const re = {
|
|
|
62
62
|
const p = N(n.value);
|
|
63
63
|
E(p), I(p), (o = (t = m.config) == null ? void 0 : t.onChange) == null || o.call(t, p);
|
|
64
64
|
}
|
|
65
|
-
return (p, t) => (x(), P(q, null, [e(k) ? (x(), J(
|
|
65
|
+
return (p, t) => (x(), P(q, null, [e(k) ? (x(), J(W(e(k)), {
|
|
66
66
|
key: 0
|
|
67
|
-
})) :
|
|
67
|
+
})) : Q("", !0), l(e(Y), {
|
|
68
68
|
open: u.value,
|
|
69
69
|
"onUpdate:open": t[2] || (t[2] = (o) => u.value = o),
|
|
70
70
|
title: e(a)("ap.apTable.setting.title"),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as P, ref as U, computed as p, unref as l, watch as x,
|
|
1
|
+
import { defineComponent as P, ref as U, computed as p, unref as l, watch as x, createElementBlock as v, openBlock as s, createElementVNode as k, normalizeClass as D, createVNode as u, withCtx as i, createBlock as h, resolveDynamicComponent as w, Fragment as L, renderList as j, mergeProps as z } from "vue";
|
|
2
2
|
import { Checkbox as b, Row as F, Col as I } from "@aplus-frontend/antdv";
|
|
3
3
|
import "../../../../config-provider/index.mjs";
|
|
4
4
|
import { useInjectApTable as R } from "../../../context.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as f, ref as c,
|
|
1
|
+
import { defineComponent as f, ref as c, createElementBlock as u, openBlock as n, normalizeClass as m, unref as r, createVNode as i, createCommentVNode as p, withCtx as k, createBlock as y } from "vue";
|
|
2
2
|
import "./item.vue.mjs";
|
|
3
3
|
import "../../../../config-provider/index.mjs";
|
|
4
4
|
import V from "vuedraggable";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as E,
|
|
1
|
+
import { defineComponent as E, createElementBlock as g, openBlock as s, normalizeClass as t, unref as e, createElementVNode as p, createVNode as c, createCommentVNode as r, createBlock as u, resolveDynamicComponent as I, withCtx as d } from "vue";
|
|
2
2
|
import { Space as O, Tooltip as m } from "@aplus-frontend/antdv";
|
|
3
3
|
import { HolderOutlined as D, VerticalAlignTopOutlined as k, VerticalAlignMiddleOutlined as z, DeleteOutlined as A } from "@ant-design/icons-vue";
|
|
4
4
|
import "../../../../config-provider/index.mjs";
|