@aplus-frontend/ui 6.12.0 → 6.13.1
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-descriptions/interface.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue2.mjs +118 -108
- package/es/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/es/src/ap-form/search-form/hooks/use-collapse-input-count.d.ts +8 -1
- package/es/src/ap-form/search-form/hooks/use-collapse-input-count.mjs +23 -18
- package/es/src/ap-form/search-form/hooks/use-sorter.mjs +31 -30
- package/es/src/ap-form/search-form/index.vue.mjs +42 -41
- package/es/src/ap-grid/index.vue.mjs +221 -225
- package/es/src/ap-modal/interface.d.ts +8 -0
- package/es/src/ap-modal/utils/createModalStream.mjs +69 -66
- package/es/src/ap-table/ap-table.vue2.mjs +107 -111
- package/es/src/ap-table/constants.d.ts +5 -5
- package/es/src/ap-table/context.d.ts +1 -0
- package/es/src/ap-table/context.mjs +6 -5
- package/es/src/ap-table/utils.d.ts +5 -3247
- package/es/src/ap-table/utils.mjs +107 -121
- package/es/src/business/ap-view/ap-view.vue2.mjs +76 -74
- package/es/src/business/ap-view/interface.d.ts +1 -0
- package/es/src/business/batch-input-group/index.vue.d.ts +2 -1
- package/es/src/business/batch-input-group/index.vue.mjs +56 -52
- package/es/src/business/batch-input-group/interface.d.ts +5 -0
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +36 -32
- package/es/src/business/batch-input-group/utils.d.ts +8 -0
- package/es/src/business/batch-input-group/utils.mjs +10 -0
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/src/ap-descriptions/interface.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/select/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.d.ts +8 -1
- package/lib/src/ap-form/search-form/hooks/use-collapse-input-count.js +1 -1
- package/lib/src/ap-form/search-form/hooks/use-sorter.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-grid/index.vue.js +1 -1
- package/lib/src/ap-modal/interface.d.ts +8 -0
- package/lib/src/ap-modal/utils/createModalStream.js +1 -1
- package/lib/src/ap-table/ap-table.vue2.js +1 -1
- package/lib/src/ap-table/constants.d.ts +5 -5
- package/lib/src/ap-table/context.d.ts +1 -0
- package/lib/src/ap-table/context.js +1 -1
- package/lib/src/ap-table/utils.d.ts +5 -3247
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/business/ap-view/ap-view.vue2.js +1 -1
- package/lib/src/business/ap-view/interface.d.ts +1 -0
- package/lib/src/business/batch-input-group/index.vue.d.ts +2 -1
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/interface.d.ts +5 -0
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +3 -2
- package/lib/src/business/batch-input-group/utils.d.ts +8 -0
- package/lib/src/business/batch-input-group/utils.js +1 -0
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +1 -1
- package/theme/ap-grid/index.css +3 -0
- package/theme/ap-grid/index.less +3 -4
- package/theme/index.css +3 -0
- package/es/src/ap-table/components/dynamic-component/index.vue.d.ts +0 -4
- package/es/src/ap-table/components/dynamic-component/index.vue.mjs +0 -4
- package/es/src/ap-table/components/dynamic-component/index.vue2.mjs +0 -15
- package/lib/src/ap-table/components/dynamic-component/index.vue.d.ts +0 -4
- package/lib/src/ap-table/components/dynamic-component/index.vue.js +0 -1
- package/lib/src/ap-table/components/dynamic-component/index.vue2.js +0 -1
|
@@ -211,8 +211,8 @@ export declare const apTableFormItemMap: {
|
|
|
211
211
|
readonly type?: string | undefined;
|
|
212
212
|
readonly name?: string | undefined;
|
|
213
213
|
readonly suffix?: any;
|
|
214
|
-
readonly placeholder?: string | undefined;
|
|
215
214
|
readonly id?: string | undefined;
|
|
215
|
+
readonly placeholder?: string | undefined;
|
|
216
216
|
readonly valueModifiers?: Record<string, any> | undefined;
|
|
217
217
|
readonly addonBefore?: any;
|
|
218
218
|
readonly addonAfter?: any;
|
|
@@ -902,9 +902,9 @@ export declare const apTableFormItemMap: {
|
|
|
902
902
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
903
903
|
readonly virtual?: boolean | undefined;
|
|
904
904
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
905
|
-
readonly placeholder?: any;
|
|
906
905
|
readonly defaultValue?: SelectValue;
|
|
907
906
|
readonly id?: string | undefined;
|
|
907
|
+
readonly placeholder?: any;
|
|
908
908
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
909
909
|
readonly clearIcon?: any;
|
|
910
910
|
readonly allowClear?: boolean | undefined;
|
|
@@ -1645,9 +1645,9 @@ export declare const apTableFormItemMap: {
|
|
|
1645
1645
|
readonly suffix?: any;
|
|
1646
1646
|
readonly focused?: boolean | undefined;
|
|
1647
1647
|
readonly handleReset?: MouseEventHandler | undefined;
|
|
1648
|
-
readonly placeholder?: string | number | undefined;
|
|
1649
1648
|
readonly defaultValue?: string | number | undefined;
|
|
1650
1649
|
readonly id?: string | undefined;
|
|
1650
|
+
readonly placeholder?: string | number | undefined;
|
|
1651
1651
|
readonly autocomplete?: string | undefined;
|
|
1652
1652
|
readonly maxlength?: number | undefined;
|
|
1653
1653
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
@@ -2256,9 +2256,9 @@ export declare const apTableFormItemMap: {
|
|
|
2256
2256
|
readonly suffix?: any;
|
|
2257
2257
|
readonly focused?: boolean | undefined;
|
|
2258
2258
|
readonly handleReset?: MouseEventHandler | undefined;
|
|
2259
|
-
readonly placeholder?: string | number | undefined;
|
|
2260
2259
|
readonly defaultValue?: string | number | undefined;
|
|
2261
2260
|
readonly id?: string | undefined;
|
|
2261
|
+
readonly placeholder?: string | number | undefined;
|
|
2262
2262
|
readonly autocomplete?: string | undefined;
|
|
2263
2263
|
readonly maxlength?: number | undefined;
|
|
2264
2264
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
@@ -2470,9 +2470,9 @@ export declare const apTableFormItemMap: {
|
|
|
2470
2470
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
2471
2471
|
readonly virtual?: boolean | undefined;
|
|
2472
2472
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
2473
|
-
readonly placeholder?: any;
|
|
2474
2473
|
readonly defaultValue?: unknown;
|
|
2475
2474
|
readonly id?: string | undefined;
|
|
2475
|
+
readonly placeholder?: any;
|
|
2476
2476
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
2477
2477
|
readonly clearIcon?: any;
|
|
2478
2478
|
readonly allowClear?: boolean | undefined;
|
|
@@ -32,6 +32,7 @@ type ApTableContextProps<RecordType> = {
|
|
|
32
32
|
setSearchFormValues?: (values: Partial<Recordable>) => void;
|
|
33
33
|
submit?: () => void;
|
|
34
34
|
reset?: () => void;
|
|
35
|
+
refresh?: () => void;
|
|
35
36
|
getSearchFormSorterItems?: () => ApFormSearchFormPopoverSorterItem[];
|
|
36
37
|
setSearchFormSorterItems?: (sortedItems: ApFormSearchFormPopoverSorterItem[]) => void;
|
|
37
38
|
resetSearchFormSorterItems: () => void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { provide as s, inject as a, computed as o } from "vue";
|
|
2
|
-
const
|
|
3
|
-
function n(
|
|
4
|
-
s(
|
|
2
|
+
const r = Symbol("apTableContextKey");
|
|
3
|
+
function n(t) {
|
|
4
|
+
s(r, t);
|
|
5
5
|
}
|
|
6
6
|
const e = () => {
|
|
7
7
|
};
|
|
8
8
|
function c() {
|
|
9
|
-
return a(
|
|
9
|
+
return a(r, {
|
|
10
10
|
columns: o(() => []),
|
|
11
11
|
updateColumns: e,
|
|
12
12
|
size: o(() => "middle"),
|
|
@@ -18,13 +18,14 @@ function c() {
|
|
|
18
18
|
setSearchFormValues: e,
|
|
19
19
|
submit: e,
|
|
20
20
|
reset: e,
|
|
21
|
+
refresh: e,
|
|
21
22
|
getSearchFormSorterItems: () => [],
|
|
22
23
|
setSearchFormSorterItems: e,
|
|
23
24
|
resetSearchFormSorterItems: e
|
|
24
25
|
});
|
|
25
26
|
}
|
|
26
27
|
export {
|
|
27
|
-
|
|
28
|
+
r as ApTableContextKey,
|
|
28
29
|
c as useInjectApTable,
|
|
29
30
|
n as useProvideApTable
|
|
30
31
|
};
|