@aplus-frontend/ui 7.10.5 → 7.11.0
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/index.mjs +93 -91
- package/es/src/ag-grid/editable/form-item.vue.mjs +75 -63
- package/es/src/ag-grid/editable/index.vue.mjs +80 -72
- package/es/src/ag-grid/editable/interface.d.ts +2 -1
- package/es/src/ag-grid/editable/utils.d.ts +7 -0
- package/es/src/ag-grid/editable/utils.mjs +32 -17
- package/es/src/ap-form/ap-form.vue2.mjs +144 -153
- package/es/src/ap-form/utils/transform.d.ts +6 -0
- package/es/src/ap-form/utils/transform.mjs +30 -0
- package/es/src/ap-pro-card/components/card/index.vue.d.ts +1 -1
- package/es/src/business/ap-appendix/ap-appendix.vue2.mjs +147 -110
- package/es/src/business/ap-appendix/interface.d.ts +4 -0
- package/es/src/business/ap-appendix/style/index.mjs +56 -34
- package/es/src/business/ap-attachment/ApAttachment.mjs +112 -89
- package/es/src/business/ap-attachment/style/index.mjs +21 -7
- package/es/src/business/ap-file-preview/ap-file-preview.vue.d.ts +4 -0
- package/es/src/business/ap-file-preview/ap-file-preview.vue.mjs +4 -0
- package/es/src/business/ap-file-preview/ap-file-preview.vue2.mjs +103 -0
- package/es/src/business/ap-file-preview/components/error-result/index.vue.d.ts +6 -0
- package/es/src/business/ap-file-preview/components/error-result/index.vue.mjs +4 -0
- package/es/src/business/ap-file-preview/components/error-result/index.vue2.mjs +40 -0
- package/es/src/business/ap-file-preview/icons/not-exist-icon.vue.d.ts +3 -0
- package/es/src/business/ap-file-preview/icons/not-exist-icon.vue.mjs +20 -0
- package/es/src/business/ap-file-preview/icons/not-preview-icon.vue.d.ts +3 -0
- package/es/src/business/ap-file-preview/icons/not-preview-icon.vue.mjs +20 -0
- package/es/src/business/ap-file-preview/index.d.ts +7 -0
- package/es/src/business/ap-file-preview/index.mjs +8 -0
- package/es/src/business/ap-file-preview/interface.d.ts +43 -0
- package/es/src/business/ap-file-preview/style/index.d.ts +5 -0
- package/es/src/business/ap-file-preview/style/index.mjs +46 -0
- package/es/src/business/ap-file-preview/utils/create-file-preview-modal.d.ts +2 -0
- package/es/src/business/ap-file-preview/utils/create-file-preview-modal.mjs +18 -0
- package/es/src/business/ap-file-preview/utils/default-parser-plugin.d.ts +4 -0
- package/es/src/business/ap-file-preview/utils/default-parser-plugin.mjs +48 -0
- package/es/src/business/ap-image/ApImage.vue2.mjs +16 -16
- package/es/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/es/src/business/ap-upload/apUploadTypes.d.ts +2 -2
- package/es/src/business/ap-upload/components/MultipleFile.vue2.mjs +94 -82
- package/es/src/business/ap-upload/style/multiple-file.mjs +6 -3
- package/es/src/business/index.d.ts +1 -0
- package/es/src/business/index.mjs +16 -14
- package/es/src/config-provider/config-provider-props.d.ts +6 -0
- package/es/src/config-provider/config-provider-props.mjs +6 -2
- package/es/src/config-provider/config-provider.d.ts +17 -1
- package/es/src/config-provider/config-provider.mjs +24 -23
- package/es/src/config-provider/hooks/use-global-config.d.ts +7 -0
- package/es/src/config-provider/index.d.ts +31 -3
- package/es/src/index.mjs +74 -72
- package/es/src/locale/lang/en.mjs +5 -0
- package/es/src/locale/lang/zh-cn.mjs +5 -0
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.js +1 -1
- package/lib/src/ag-grid/editable/index.vue.js +1 -1
- package/lib/src/ag-grid/editable/interface.d.ts +2 -1
- package/lib/src/ag-grid/editable/utils.d.ts +7 -0
- package/lib/src/ag-grid/editable/utils.js +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/utils/transform.d.ts +6 -0
- package/lib/src/ap-form/utils/transform.js +1 -0
- package/lib/src/ap-pro-card/components/card/index.vue.d.ts +1 -1
- package/lib/src/business/ap-appendix/ap-appendix.vue2.js +1 -1
- package/lib/src/business/ap-appendix/interface.d.ts +4 -0
- package/lib/src/business/ap-appendix/style/index.js +1 -1
- package/lib/src/business/ap-attachment/ApAttachment.js +1 -1
- package/lib/src/business/ap-attachment/style/index.js +1 -1
- package/lib/src/business/ap-file-preview/ap-file-preview.vue.d.ts +4 -0
- package/lib/src/business/ap-file-preview/ap-file-preview.vue.js +1 -0
- package/lib/src/business/ap-file-preview/ap-file-preview.vue2.js +1 -0
- package/lib/src/business/ap-file-preview/components/error-result/index.vue.d.ts +6 -0
- package/lib/src/business/ap-file-preview/components/error-result/index.vue.js +1 -0
- package/lib/src/business/ap-file-preview/components/error-result/index.vue2.js +1 -0
- package/lib/src/business/ap-file-preview/icons/not-exist-icon.vue.d.ts +3 -0
- package/lib/src/business/ap-file-preview/icons/not-exist-icon.vue.js +1 -0
- package/lib/src/business/ap-file-preview/icons/not-preview-icon.vue.d.ts +3 -0
- package/lib/src/business/ap-file-preview/icons/not-preview-icon.vue.js +1 -0
- package/lib/src/business/ap-file-preview/index.d.ts +7 -0
- package/lib/src/business/ap-file-preview/index.js +1 -0
- package/lib/src/business/ap-file-preview/interface.d.ts +43 -0
- package/lib/src/business/ap-file-preview/style/index.d.ts +5 -0
- package/lib/src/business/ap-file-preview/style/index.js +1 -0
- package/lib/src/business/ap-file-preview/utils/create-file-preview-modal.d.ts +2 -0
- package/lib/src/business/ap-file-preview/utils/create-file-preview-modal.js +1 -0
- package/lib/src/business/ap-file-preview/utils/default-parser-plugin.d.ts +4 -0
- package/lib/src/business/ap-file-preview/utils/default-parser-plugin.js +1 -0
- package/lib/src/business/ap-image/ApImage.vue2.js +1 -1
- package/lib/src/business/ap-upload/apUpload.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/apUploadTypes.d.ts +2 -2
- package/lib/src/business/ap-upload/components/MultipleFile.vue2.js +1 -1
- package/lib/src/business/ap-upload/style/multiple-file.js +1 -1
- package/lib/src/business/index.d.ts +1 -0
- package/lib/src/business/index.js +1 -1
- package/lib/src/config-provider/config-provider-props.d.ts +6 -0
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +17 -1
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +7 -0
- package/lib/src/config-provider/index.d.ts +31 -3
- package/lib/src/index.js +1 -1
- package/lib/src/locale/lang/en.js +1 -1
- package/lib/src/locale/lang/zh-cn.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
|
8
8
|
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
9
9
|
import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '..';
|
|
10
10
|
import { UiModeType, SearchFormGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ApiType, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField } from './constants';
|
|
11
|
+
import { ApFilePreviewParser } from '../business/ap-file-preview/interface';
|
|
11
12
|
import { LocaleType } from '../locale';
|
|
12
13
|
import { RecursivePartial } from '../type';
|
|
13
14
|
export declare const globalConfigCached: Ref<ConfigProviderProps>;
|
|
@@ -180,6 +181,12 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
180
181
|
type: PropType<ApDescriptionsConfig>;
|
|
181
182
|
default: () => {};
|
|
182
183
|
};
|
|
184
|
+
apFilePreview: {
|
|
185
|
+
type: PropType<{
|
|
186
|
+
parserPlugin?: ApFilePreviewParser[] | undefined;
|
|
187
|
+
}>;
|
|
188
|
+
default: () => {};
|
|
189
|
+
};
|
|
183
190
|
aplusLocale: {
|
|
184
191
|
type: PropType<LocaleType>;
|
|
185
192
|
};
|
|
@@ -384,6 +391,12 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
384
391
|
type: PropType<ApDescriptionsConfig>;
|
|
385
392
|
default: () => {};
|
|
386
393
|
};
|
|
394
|
+
apFilePreview: {
|
|
395
|
+
type: PropType<{
|
|
396
|
+
parserPlugin?: ApFilePreviewParser[] | undefined;
|
|
397
|
+
}>;
|
|
398
|
+
default: () => {};
|
|
399
|
+
};
|
|
387
400
|
aplusLocale: {
|
|
388
401
|
type: PropType<LocaleType>;
|
|
389
402
|
};
|
|
@@ -450,9 +463,12 @@ export declare const ConfigProvider: DefineComponent<ExtractPropTypes<{
|
|
|
450
463
|
mentions: MentionsConfig;
|
|
451
464
|
timePicker: TimePickerConfig;
|
|
452
465
|
card: CardConfig;
|
|
453
|
-
apUpload: ApUploadConfig;
|
|
454
466
|
searchForm: SearchFormGlobalConfig;
|
|
467
|
+
apUpload: ApUploadConfig;
|
|
455
468
|
apDescriptions: ApDescriptionsConfig;
|
|
469
|
+
apFilePreview: {
|
|
470
|
+
parserPlugin?: ApFilePreviewParser[] | undefined;
|
|
471
|
+
};
|
|
456
472
|
api: ApiType;
|
|
457
473
|
valueTypeMap: Record<string, ValueTypeRenderConfig>;
|
|
458
474
|
downloadCenterTriggerConfig: downloadCenterTriggerConfig;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { isVNode as
|
|
2
|
-
import { ConfigProvider as
|
|
3
|
-
import { useDevWarning as
|
|
1
|
+
import { isVNode as c, ref as m, defineComponent as f, computed as s, watch as v, onActivated as C, createVNode as P, renderSlot as h } from "vue";
|
|
2
|
+
import { ConfigProvider as w } from "@aplus-frontend/antdv";
|
|
3
|
+
import { useDevWarning as T } from "../utils/warning.mjs";
|
|
4
4
|
import { mergeAntdProviderConfigWithCache as t, mergeAntdProvideConfig as n } from "../utils/config-provider-preset.mjs";
|
|
5
|
-
import { configProviderProps as
|
|
6
|
-
import { DEFAULT_NAMESPACE as
|
|
7
|
-
import { useGlobalConfig as
|
|
5
|
+
import { configProviderProps as b } from "./config-provider-props.mjs";
|
|
6
|
+
import { DEFAULT_NAMESPACE as F } from "./constants.mjs";
|
|
7
|
+
import { useGlobalConfig as A, provideGlobalConfig as D } from "./hooks/use-global-config.mjs";
|
|
8
8
|
function G(e) {
|
|
9
|
-
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !
|
|
9
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !c(e);
|
|
10
10
|
}
|
|
11
|
-
const
|
|
11
|
+
const a = m({}), E = /* @__PURE__ */ f({
|
|
12
12
|
name: "AplusConfigProvider",
|
|
13
|
-
props:
|
|
13
|
+
props: b(),
|
|
14
14
|
setup(e, {
|
|
15
15
|
slots: l
|
|
16
16
|
}) {
|
|
17
|
-
|
|
18
|
-
function o(
|
|
19
|
-
return e[
|
|
17
|
+
T("ConfigProvider")(!e.uiMode, "breaking", "uiMode has been remove, see migrate guild https://aplus.aplnk.com/aplus-ui/guild/migrate-7.2.html");
|
|
18
|
+
function o(i, p) {
|
|
19
|
+
return e[i] ?? d.value?.[i] ?? p;
|
|
20
20
|
}
|
|
21
|
-
const d =
|
|
22
|
-
namespace: o("namespace",
|
|
21
|
+
const d = A(), u = s(() => ({
|
|
22
|
+
namespace: o("namespace", F),
|
|
23
23
|
apGrid: o("apGrid"),
|
|
24
24
|
agGrid: o("agGrid"),
|
|
25
25
|
apProCard: o("apProCard"),
|
|
@@ -28,6 +28,7 @@ const i = f({}), E = /* @__PURE__ */ p({
|
|
|
28
28
|
searchForm: o("searchForm"),
|
|
29
29
|
apUpload: o("apUpload"),
|
|
30
30
|
apDescriptions: o("apDescriptions"),
|
|
31
|
+
apFilePreview: o("apFilePreview"),
|
|
31
32
|
aplusLocale: e.aplusLocale,
|
|
32
33
|
aplusToken: e.aplusToken,
|
|
33
34
|
api: e.api,
|
|
@@ -36,10 +37,10 @@ const i = f({}), E = /* @__PURE__ */ p({
|
|
|
36
37
|
exportField: e.exportField,
|
|
37
38
|
scrollYDomName: e.scrollYDomName,
|
|
38
39
|
viewCacheOption: e.viewCacheOption
|
|
39
|
-
})), g =
|
|
40
|
+
})), g = D(u);
|
|
40
41
|
let r = !0;
|
|
41
|
-
return v(() => e, (
|
|
42
|
-
|
|
42
|
+
return v(() => e, (i) => {
|
|
43
|
+
a.value = t(n(i), a.value);
|
|
43
44
|
}, {
|
|
44
45
|
deep: !0,
|
|
45
46
|
immediate: !0
|
|
@@ -48,18 +49,18 @@ const i = f({}), E = /* @__PURE__ */ p({
|
|
|
48
49
|
r = !1;
|
|
49
50
|
return;
|
|
50
51
|
}
|
|
51
|
-
|
|
52
|
+
a.value = t(n(e), a.value);
|
|
52
53
|
}), () => {
|
|
53
|
-
let
|
|
54
|
-
return P(
|
|
54
|
+
let i;
|
|
55
|
+
return P(w, a.value, G(i = h(l, "default", {
|
|
55
56
|
config: g?.value
|
|
56
|
-
})) ?
|
|
57
|
-
default: () => [
|
|
57
|
+
})) ? i : {
|
|
58
|
+
default: () => [i]
|
|
58
59
|
});
|
|
59
60
|
};
|
|
60
61
|
}
|
|
61
62
|
});
|
|
62
63
|
export {
|
|
63
64
|
E as ConfigProvider,
|
|
64
|
-
|
|
65
|
+
a as globalConfigCached
|
|
65
66
|
};
|
|
@@ -9,6 +9,7 @@ import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
|
9
9
|
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
10
10
|
import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '../..';
|
|
11
11
|
import { UiModeType, SearchFormGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ApiType, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField } from '..';
|
|
12
|
+
import { ApFilePreviewParser } from '../../business/ap-file-preview/interface';
|
|
12
13
|
import { LocaleType } from '../../locale';
|
|
13
14
|
import { RecursivePartial } from '../../type';
|
|
14
15
|
export declare const keysOf: <T extends Record<string, any>>(arr: T) => Array<keyof T>;
|
|
@@ -183,6 +184,12 @@ export declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContex
|
|
|
183
184
|
type: PropType<ApDescriptionsConfig>;
|
|
184
185
|
default: () => {};
|
|
185
186
|
};
|
|
187
|
+
apFilePreview: {
|
|
188
|
+
type: PropType<{
|
|
189
|
+
parserPlugin?: ApFilePreviewParser[] | undefined;
|
|
190
|
+
}>;
|
|
191
|
+
default: () => {};
|
|
192
|
+
};
|
|
186
193
|
aplusLocale: {
|
|
187
194
|
type: PropType<LocaleType>;
|
|
188
195
|
};
|
|
@@ -7,6 +7,7 @@ import { ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
|
7
7
|
import { ThemeConfig, InputConfig, PaginationConfig, FormConfig, SelectConfig, CascaderConfig, DatePickerConfig, RangePickerConfig, TreeSelectConfig, TextAreaConfig, InputNumberConfig, MentionsConfig, TimePickerConfig, CardConfig } from '@aplus-frontend/antdv/es/config-provider/context';
|
|
8
8
|
import { ApGridRowSelection, AgGridRowSelection, FullToken, ViewCacheOption } from '..';
|
|
9
9
|
import { UiModeType, SearchFormGlobalConfig, ApUploadConfig, ApDescriptionsConfig, ApiType, ValueTypeRenderConfig, downloadCenterTriggerConfig, ExportField } from './constants';
|
|
10
|
+
import { ApFilePreviewParser } from '../business/ap-file-preview/interface';
|
|
10
11
|
import { LocaleType } from '../locale';
|
|
11
12
|
import { RecursivePartial } from '../type';
|
|
12
13
|
export * from './config-provider-props';
|
|
@@ -185,6 +186,12 @@ export declare const APConfigProvider: {
|
|
|
185
186
|
type: PropType<ApDescriptionsConfig>;
|
|
186
187
|
default: () => {};
|
|
187
188
|
};
|
|
189
|
+
apFilePreview: {
|
|
190
|
+
type: PropType<{
|
|
191
|
+
parserPlugin?: ApFilePreviewParser[] | undefined;
|
|
192
|
+
}>;
|
|
193
|
+
default: () => {};
|
|
194
|
+
};
|
|
188
195
|
aplusLocale: {
|
|
189
196
|
type: PropType<LocaleType>;
|
|
190
197
|
};
|
|
@@ -251,9 +258,12 @@ export declare const APConfigProvider: {
|
|
|
251
258
|
mentions: MentionsConfig;
|
|
252
259
|
timePicker: TimePickerConfig;
|
|
253
260
|
card: CardConfig;
|
|
254
|
-
apUpload: ApUploadConfig;
|
|
255
261
|
searchForm: SearchFormGlobalConfig;
|
|
262
|
+
apUpload: ApUploadConfig;
|
|
256
263
|
apDescriptions: ApDescriptionsConfig;
|
|
264
|
+
apFilePreview: {
|
|
265
|
+
parserPlugin?: ApFilePreviewParser[] | undefined;
|
|
266
|
+
};
|
|
257
267
|
api: ApiType;
|
|
258
268
|
valueTypeMap: Record<string, ValueTypeRenderConfig>;
|
|
259
269
|
downloadCenterTriggerConfig: downloadCenterTriggerConfig;
|
|
@@ -435,6 +445,12 @@ export declare const APConfigProvider: {
|
|
|
435
445
|
type: PropType<ApDescriptionsConfig>;
|
|
436
446
|
default: () => {};
|
|
437
447
|
};
|
|
448
|
+
apFilePreview: {
|
|
449
|
+
type: PropType<{
|
|
450
|
+
parserPlugin?: ApFilePreviewParser[] | undefined;
|
|
451
|
+
}>;
|
|
452
|
+
default: () => {};
|
|
453
|
+
};
|
|
438
454
|
aplusLocale: {
|
|
439
455
|
type: PropType<LocaleType>;
|
|
440
456
|
};
|
|
@@ -501,9 +517,12 @@ export declare const APConfigProvider: {
|
|
|
501
517
|
mentions: MentionsConfig;
|
|
502
518
|
timePicker: TimePickerConfig;
|
|
503
519
|
card: CardConfig;
|
|
504
|
-
apUpload: ApUploadConfig;
|
|
505
520
|
searchForm: SearchFormGlobalConfig;
|
|
521
|
+
apUpload: ApUploadConfig;
|
|
506
522
|
apDescriptions: ApDescriptionsConfig;
|
|
523
|
+
apFilePreview: {
|
|
524
|
+
parserPlugin?: ApFilePreviewParser[] | undefined;
|
|
525
|
+
};
|
|
507
526
|
api: ApiType;
|
|
508
527
|
valueTypeMap: Record<string, ValueTypeRenderConfig>;
|
|
509
528
|
downloadCenterTriggerConfig: downloadCenterTriggerConfig;
|
|
@@ -682,6 +701,12 @@ export declare const APConfigProvider: {
|
|
|
682
701
|
type: PropType<ApDescriptionsConfig>;
|
|
683
702
|
default: () => {};
|
|
684
703
|
};
|
|
704
|
+
apFilePreview: {
|
|
705
|
+
type: PropType<{
|
|
706
|
+
parserPlugin?: ApFilePreviewParser[] | undefined;
|
|
707
|
+
}>;
|
|
708
|
+
default: () => {};
|
|
709
|
+
};
|
|
685
710
|
aplusLocale: {
|
|
686
711
|
type: PropType<LocaleType>;
|
|
687
712
|
};
|
|
@@ -748,9 +773,12 @@ export declare const APConfigProvider: {
|
|
|
748
773
|
mentions: MentionsConfig;
|
|
749
774
|
timePicker: TimePickerConfig;
|
|
750
775
|
card: CardConfig;
|
|
751
|
-
apUpload: ApUploadConfig;
|
|
752
776
|
searchForm: SearchFormGlobalConfig;
|
|
777
|
+
apUpload: ApUploadConfig;
|
|
753
778
|
apDescriptions: ApDescriptionsConfig;
|
|
779
|
+
apFilePreview: {
|
|
780
|
+
parserPlugin?: ApFilePreviewParser[] | undefined;
|
|
781
|
+
};
|
|
754
782
|
api: ApiType;
|
|
755
783
|
valueTypeMap: Record<string, ValueTypeRenderConfig>;
|
|
756
784
|
downloadCenterTriggerConfig: downloadCenterTriggerConfig;
|
package/es/src/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { APConfigProvider as I } from "./config-provider/index.mjs";
|
|
2
2
|
import { ApForm as S } from "./ap-form/index.mjs";
|
|
3
3
|
import { ApField as b, ApFieldRead as C } from "./ap-field/index.mjs";
|
|
4
|
-
import { adminToken as D, aplusToken as
|
|
5
|
-
import { ApActionItem as
|
|
4
|
+
import { adminToken as D, aplusToken as P } from "./design-token/index.mjs";
|
|
5
|
+
import { ApActionItem as E } from "./ap-action/index.mjs";
|
|
6
6
|
import { CheckCard as N } from "./check-card/index.mjs";
|
|
7
|
-
import { ApModal as
|
|
7
|
+
import { ApModal as v } from "./ap-modal/index.mjs";
|
|
8
8
|
import "./ap-list/index.mjs";
|
|
9
9
|
import "./ap-button/index.mjs";
|
|
10
|
-
import { ApDrawer as
|
|
10
|
+
import { ApDrawer as y } from "./ap-drawer/index.mjs";
|
|
11
11
|
import { ApProCard as B, ApStatisticCard as k } from "./ap-pro-card/index.mjs";
|
|
12
12
|
import { LoadingBar as O } from "./loading-bar/index.mjs";
|
|
13
13
|
import "./render/index.mjs";
|
|
@@ -38,10 +38,10 @@ import { default as ge } from "./ap-form/items/text-area/index.vue.mjs";
|
|
|
38
38
|
import { default as Te } from "./ap-form/items/number/index.vue.mjs";
|
|
39
39
|
import { default as Ce } from "./ap-form/items/date/index.vue.mjs";
|
|
40
40
|
import { default as De } from "./ap-form/items/date-range/index.vue.mjs";
|
|
41
|
-
import { default as
|
|
41
|
+
import { default as he } from "./ap-form/items/radio/index.vue.mjs";
|
|
42
42
|
import { default as Le } from "./ap-form/items/select/index.vue.mjs";
|
|
43
43
|
import { default as Re } from "./ap-form/items/switch/index.vue.mjs";
|
|
44
|
-
import { default as
|
|
44
|
+
import { default as we } from "./ap-form/items/checkbox/index.vue.mjs";
|
|
45
45
|
import { default as Me } from "./ap-form/items/text/password.vue.mjs";
|
|
46
46
|
import { default as ke } from "./ap-form/items/tree-select/index.vue.mjs";
|
|
47
47
|
import { default as Oe } from "./ap-form/item/index.vue.mjs";
|
|
@@ -64,11 +64,11 @@ import { default as Io } from "./ap-field/switch/index.vue.mjs";
|
|
|
64
64
|
import { default as So } from "./ap-field/text-area/index.vue.mjs";
|
|
65
65
|
import { default as bo } from "./ap-field/date-range/index.vue.mjs";
|
|
66
66
|
import { default as Go } from "./ap-field/select/index.vue.mjs";
|
|
67
|
-
import { default as
|
|
68
|
-
import { default as
|
|
67
|
+
import { default as Po } from "./ap-field/text/password.vue.mjs";
|
|
68
|
+
import { default as Eo } from "./ap-field/slider/index.vue.mjs";
|
|
69
69
|
import { default as No } from "./ap-field/segmented/index.vue.mjs";
|
|
70
|
-
import { default as
|
|
71
|
-
import { default as
|
|
70
|
+
import { default as vo } from "./ap-field/rate/index.vue.mjs";
|
|
71
|
+
import { default as yo } from "./ap-field/tree-select/index.vue.mjs";
|
|
72
72
|
import { default as Bo } from "./ap-field/second/index.vue.mjs";
|
|
73
73
|
import { default as Ko } from "./ap-action/item-modal/index.vue.mjs";
|
|
74
74
|
import { default as Uo } from "./ap-action/item-popconfirm/index.vue.mjs";
|
|
@@ -91,11 +91,11 @@ import { ApAttachment as Ir } from "./business/ap-attachment/index.mjs";
|
|
|
91
91
|
import { ApBatchAction as Sr } from "./business/ap-batch-action/index.mjs";
|
|
92
92
|
import { ApBatchActionGroup as br } from "./business/ap-batch-action-group/index.mjs";
|
|
93
93
|
import { ApButtonGroup as Gr } from "./business/ap-button-group/index.mjs";
|
|
94
|
-
import { ApCard as
|
|
95
|
-
import { default as
|
|
94
|
+
import { ApCard as Pr } from "./business/ap-card/index.mjs";
|
|
95
|
+
import { default as Er } from "./business/ap-expand-alert/ApExpandAlert.vue.mjs";
|
|
96
96
|
import { ApExportGroupActionType as Nr } from "./business/ap-export-group/interface.mjs";
|
|
97
|
-
import { ApExportGroup as
|
|
98
|
-
import { handleExportDownload as
|
|
97
|
+
import { ApExportGroup as vr } from "./business/ap-export-group/index.mjs";
|
|
98
|
+
import { handleExportDownload as yr } from "./business/ap-export-group/handleExportDownload.mjs";
|
|
99
99
|
import { convertExportField as Br } from "./business/ap-export-group/convertExportField.mjs";
|
|
100
100
|
import { ApImage as Kr } from "./business/ap-image/index.mjs";
|
|
101
101
|
import { ApInputRadio as Ur } from "./business/ap-input-radio/index.mjs";
|
|
@@ -116,10 +116,10 @@ import { default as gt } from "./business/ap-upload-file/ap-upload-single/ap-upl
|
|
|
116
116
|
import { default as Tt } from "./business/batch-input-group/index.vue.mjs";
|
|
117
117
|
import { default as Ct } from "./business/batch-input-group/form-item.vue.mjs";
|
|
118
118
|
import { ApSizeInput as Dt } from "./business/ap-size-input/index.mjs";
|
|
119
|
-
import { default as
|
|
119
|
+
import { default as ht } from "./business/ap-size-input/form-item.vue.mjs";
|
|
120
120
|
import { ApProductInfo as Lt } from "./business/ap-product-info/index.mjs";
|
|
121
121
|
import { ApCopy as Rt } from "./business/ap-copy/index.mjs";
|
|
122
|
-
import { ApView as
|
|
122
|
+
import { ApView as wt } from "./business/ap-view/index.mjs";
|
|
123
123
|
import { ApRadioGroup as Mt } from "./business/ap-radio-group/index.mjs";
|
|
124
124
|
import { ApKeepAliveProps as kt, forceStopTags as Kt } from "./business/ap-keep-alive/interface.mjs";
|
|
125
125
|
import { ApKeepAlive as Ut } from "./business/ap-keep-alive/index.mjs";
|
|
@@ -139,33 +139,34 @@ import { ApDownLoadNeedNameKeyDefault as Ap } from "./business/ap-download/inter
|
|
|
139
139
|
import { default as ip } from "./business/ap-download/ap-download.vue.mjs";
|
|
140
140
|
import { formatString as cp } from "./business/ap-descriptions/formatter/utils.mjs";
|
|
141
141
|
import { default as Ip } from "./business/ap-descriptions/ap-descriptions.vue.mjs";
|
|
142
|
-
import {
|
|
143
|
-
import {
|
|
144
|
-
import { default as Gp } from "./editable-table/
|
|
145
|
-
import {
|
|
146
|
-
import {
|
|
147
|
-
import { default as Np } from "./scroll-bar/
|
|
142
|
+
import { ApFilePreview as Sp } from "./business/ap-file-preview/index.mjs";
|
|
143
|
+
import { useTablePaging as bp } from "./ap-table/hooks/use-table-paging.mjs";
|
|
144
|
+
import { default as Gp } from "./editable-table/index.vue.mjs";
|
|
145
|
+
import { default as Pp } from "./editable-table/form-item.vue.mjs";
|
|
146
|
+
import { ensureRangeValue as Ep } from "./scroll-bar/utils/index.mjs";
|
|
147
|
+
import { default as Np } from "./scroll-bar/index.vue.mjs";
|
|
148
|
+
import { default as vp } from "./scroll-bar/internal.vue.mjs";
|
|
148
149
|
import { default as yp } from "./scroll-view/index.vue.mjs";
|
|
149
|
-
import { default as
|
|
150
|
-
import { default as
|
|
151
|
-
import { default as
|
|
152
|
-
import { ROW_SELECTION_FIELD as
|
|
153
|
-
import { toTreeArray as
|
|
154
|
-
import { default as
|
|
155
|
-
import { default as
|
|
156
|
-
import { default as
|
|
157
|
-
import { default as
|
|
158
|
-
import { default as
|
|
159
|
-
import { default as
|
|
160
|
-
import { default as
|
|
161
|
-
import { default as
|
|
162
|
-
import { default as
|
|
150
|
+
import { default as Bp } from "./portal/index.vue.mjs";
|
|
151
|
+
import { default as Kp } from "./full-screen/index.vue.mjs";
|
|
152
|
+
import { default as Up } from "./resize-observer/index.vue.mjs";
|
|
153
|
+
import { ROW_SELECTION_FIELD as _p } from "./ap-grid/constants.mjs";
|
|
154
|
+
import { toTreeArray as Hp } from "./ap-grid/utils/to-tree-array.mjs";
|
|
155
|
+
import { default as Wp } from "./ap-grid/index.vue.mjs";
|
|
156
|
+
import { default as Jp } from "./ap-grid/editable/index.vue.mjs";
|
|
157
|
+
import { default as Xp } from "./ap-grid/editable/form-item.vue.mjs";
|
|
158
|
+
import { default as Zp } from "./text/index.vue.mjs";
|
|
159
|
+
import { default as ea } from "./text/group.vue.mjs";
|
|
160
|
+
import { default as ra } from "./mask/index.vue.mjs";
|
|
161
|
+
import { default as pa } from "./ag-grid/index.vue.mjs";
|
|
162
|
+
import { default as ma } from "./ag-grid/editable/index.vue.mjs";
|
|
163
|
+
import { default as la } from "./ag-grid/editable/form-item.vue.mjs";
|
|
163
164
|
export {
|
|
164
165
|
I as APConfigProvider,
|
|
165
|
-
|
|
166
|
+
pa as AgGrid,
|
|
166
167
|
Zo as ApActionButton,
|
|
167
168
|
Ho as ApActionGroup,
|
|
168
|
-
|
|
169
|
+
E as ApActionItem,
|
|
169
170
|
_o as ApActionItemDropdown,
|
|
170
171
|
Ko as ApActionItemModal,
|
|
171
172
|
Uo as ApActionItemPopconfirm,
|
|
@@ -175,49 +176,50 @@ export {
|
|
|
175
176
|
br as ApBatchActionGroup,
|
|
176
177
|
Xo as ApButton,
|
|
177
178
|
Gr as ApButtonGroup,
|
|
178
|
-
|
|
179
|
+
Pr as ApCard,
|
|
179
180
|
er as ApConfirmButton,
|
|
180
181
|
Rt as ApCopy,
|
|
181
182
|
Ip as ApDescriptions,
|
|
182
183
|
Ap as ApDownLoadNeedNameKeyDefault,
|
|
183
184
|
ip as ApDownload,
|
|
184
185
|
Jt as ApDraggableGrid,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
y as ApDrawer,
|
|
187
|
+
Er as ApExpandAlert,
|
|
188
|
+
vr as ApExportGroup,
|
|
188
189
|
Nr as ApExportGroupActionType,
|
|
189
190
|
b as ApField,
|
|
190
191
|
xo as ApFieldCheckbox,
|
|
191
192
|
Ao as ApFieldDate,
|
|
192
193
|
bo as ApFieldDateRange,
|
|
193
194
|
io as ApFieldNumber,
|
|
194
|
-
|
|
195
|
+
Po as ApFieldPassword,
|
|
195
196
|
co as ApFieldRadio,
|
|
196
|
-
|
|
197
|
+
vo as ApFieldRate,
|
|
197
198
|
C as ApFieldRead,
|
|
198
199
|
Bo as ApFieldSecond,
|
|
199
200
|
No as ApFieldSegmented,
|
|
200
201
|
Go as ApFieldSelect,
|
|
201
|
-
|
|
202
|
+
Eo as ApFieldSlider,
|
|
202
203
|
Io as ApFieldSwitch,
|
|
203
204
|
fo as ApFieldText,
|
|
204
205
|
So as ApFieldTextArea,
|
|
205
|
-
|
|
206
|
+
yo as ApFieldTreeSelect,
|
|
207
|
+
Sp as ApFilePreview,
|
|
206
208
|
S as ApForm,
|
|
207
209
|
oo as ApFormControlRender,
|
|
208
210
|
Qe as ApFormDependency,
|
|
209
211
|
$e as ApFormDrawerForm,
|
|
210
212
|
Oe as ApFormItem,
|
|
211
213
|
Ct as ApFormItemBatchInput,
|
|
212
|
-
|
|
214
|
+
we as ApFormItemCheckbox,
|
|
213
215
|
Ce as ApFormItemDate,
|
|
214
216
|
De as ApFormItemDateRange,
|
|
215
217
|
Ve as ApFormItemGroup,
|
|
216
218
|
Te as ApFormItemNumber,
|
|
217
|
-
|
|
219
|
+
he as ApFormItemRadio,
|
|
218
220
|
to as ApFormItemRender,
|
|
219
221
|
Le as ApFormItemSelect,
|
|
220
|
-
|
|
222
|
+
ht as ApFormItemSizeInput,
|
|
221
223
|
Re as ApFormItemSwitch,
|
|
222
224
|
Fe as ApFormItemText,
|
|
223
225
|
ge as ApFormItemTextArea,
|
|
@@ -228,7 +230,7 @@ export {
|
|
|
228
230
|
ao as ApFormProvider,
|
|
229
231
|
je as ApFormSearchForm,
|
|
230
232
|
Ye as ApFormSet,
|
|
231
|
-
|
|
233
|
+
Wp as ApGrid,
|
|
232
234
|
Kr as ApImage,
|
|
233
235
|
Ur as ApInputRadio,
|
|
234
236
|
Ut as ApKeepAlive,
|
|
@@ -237,7 +239,7 @@ export {
|
|
|
237
239
|
zr as ApLabelGroup,
|
|
238
240
|
qr as ApLadder,
|
|
239
241
|
Jo as ApList,
|
|
240
|
-
|
|
242
|
+
v as ApModal,
|
|
241
243
|
nt as ApNeedNameKeyDefault,
|
|
242
244
|
B as ApProCard,
|
|
243
245
|
Lt as ApProductInfo,
|
|
@@ -254,43 +256,43 @@ export {
|
|
|
254
256
|
Ar as ApTableModal,
|
|
255
257
|
pp as ApTag,
|
|
256
258
|
mp as ApTagGroup,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
+
Zp as ApText,
|
|
260
|
+
ea as ApTextGroup,
|
|
259
261
|
et as ApTitle,
|
|
260
262
|
xr as ApTransformDataHelper,
|
|
261
263
|
xp as ApUpload,
|
|
262
264
|
gt as ApUploadSingle,
|
|
263
265
|
Xt as ApValueSelectCard,
|
|
264
|
-
|
|
266
|
+
wt as ApView,
|
|
265
267
|
Tt as BatchInputGroup,
|
|
266
268
|
N as CheckCard,
|
|
267
269
|
Wo as CheckCardGroup,
|
|
268
270
|
ie as ConfigProvider,
|
|
269
271
|
Q as DEFAULT_NAMESPACE,
|
|
270
272
|
X as DEFAULT_UIMODE,
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
273
|
+
ma as EditableAgGrid,
|
|
274
|
+
la as EditableAgGridFormItem,
|
|
275
|
+
Jp as EditableGrid,
|
|
276
|
+
Xp as EditableGridFormItem,
|
|
277
|
+
Gp as EditableTable,
|
|
278
|
+
Pp as EditableTableFormItem,
|
|
279
|
+
Kp as FullScreen,
|
|
278
280
|
lr as Highlight,
|
|
279
|
-
|
|
281
|
+
vp as InternalScrollBar,
|
|
280
282
|
O as LoadingBar,
|
|
281
283
|
_t as LruCacher,
|
|
282
|
-
|
|
284
|
+
ra as Mask,
|
|
283
285
|
lp as NeedNameKeyDefault,
|
|
284
|
-
|
|
285
|
-
|
|
286
|
+
Bp as Portal,
|
|
287
|
+
_p as ROW_SELECTION_FIELD,
|
|
286
288
|
rr as Render,
|
|
287
|
-
|
|
288
|
-
|
|
289
|
+
Up as ResizeObserver,
|
|
290
|
+
Np as ScrollBar,
|
|
289
291
|
yp as ScrollView,
|
|
290
292
|
z as Splitter,
|
|
291
293
|
pr as TimeAgo,
|
|
292
294
|
D as adminToken,
|
|
293
|
-
|
|
295
|
+
P as aplusToken,
|
|
294
296
|
te as buildLocaleContext,
|
|
295
297
|
pe as buildTranslator,
|
|
296
298
|
lt as computedRecords,
|
|
@@ -298,21 +300,21 @@ export {
|
|
|
298
300
|
q as configProviderProps,
|
|
299
301
|
Br as convertExportField,
|
|
300
302
|
de as defaultNamespace,
|
|
301
|
-
|
|
303
|
+
Ep as ensureRangeValue,
|
|
302
304
|
dt as flattenColumns,
|
|
303
305
|
Kt as forceStopTags,
|
|
304
306
|
xt as formatDataIndex,
|
|
305
307
|
ut as formatNumber,
|
|
306
308
|
cp as formatString,
|
|
307
309
|
ne as globalConfigCached,
|
|
308
|
-
|
|
310
|
+
yr as handleExportDownload,
|
|
309
311
|
Wt as isNameMatches,
|
|
310
312
|
$ as keysOf,
|
|
311
313
|
ae as localeContextKey,
|
|
312
314
|
jr as locales,
|
|
313
315
|
xe as namespaceContextKey,
|
|
314
316
|
ee as provideGlobalConfig,
|
|
315
|
-
|
|
317
|
+
Hp as toTreeArray,
|
|
316
318
|
me as translate,
|
|
317
319
|
Zt as useAgGridModal,
|
|
318
320
|
ep as useAgGridSelectModal,
|
|
@@ -325,7 +327,7 @@ export {
|
|
|
325
327
|
pt as usePageListApGrid,
|
|
326
328
|
rt as usePageListApTable,
|
|
327
329
|
ir as useTableModal,
|
|
328
|
-
|
|
330
|
+
bp as useTablePaging,
|
|
329
331
|
cr as useTableSelectModal,
|
|
330
332
|
mr as useTimeAgo
|
|
331
333
|
};
|
|
@@ -145,6 +145,7 @@ const a = {
|
|
|
145
145
|
apAppendix: {
|
|
146
146
|
downloadAll: "Download All",
|
|
147
147
|
downloadFile: "Download file",
|
|
148
|
+
previewFile: "Preview file",
|
|
148
149
|
appendix: "Appendix",
|
|
149
150
|
empty: "No data"
|
|
150
151
|
},
|
|
@@ -191,6 +192,10 @@ const a = {
|
|
|
191
192
|
nextYear: "Next year",
|
|
192
193
|
years: "Years"
|
|
193
194
|
},
|
|
195
|
+
apFilePreview: {
|
|
196
|
+
notPreview: "File cannot be previewed",
|
|
197
|
+
notExist: "File does not exist"
|
|
198
|
+
},
|
|
194
199
|
...e
|
|
195
200
|
}
|
|
196
201
|
};
|
|
@@ -153,6 +153,7 @@ const a = {
|
|
|
153
153
|
apAppendix: {
|
|
154
154
|
downloadAll: "下载全部",
|
|
155
155
|
downloadFile: "下载文件",
|
|
156
|
+
previewFile: "预览文件",
|
|
156
157
|
appendix: "附件",
|
|
157
158
|
empty: "暂无数据"
|
|
158
159
|
},
|
|
@@ -199,6 +200,10 @@ const a = {
|
|
|
199
200
|
nextYear: "明年",
|
|
200
201
|
years: "年"
|
|
201
202
|
},
|
|
203
|
+
apFilePreview: {
|
|
204
|
+
notPreview: "暂不支持预览该格式",
|
|
205
|
+
notExist: "文件不存在"
|
|
206
|
+
},
|
|
202
207
|
...e
|
|
203
208
|
}
|
|
204
209
|
};
|
package/es/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "7.
|
|
1
|
+
declare const _default: "7.11.0";
|
|
2
2
|
export default _default;
|
package/es/src/version.mjs
CHANGED