@aplus-frontend/ui 0.0.12 → 0.0.14
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 +146 -140
- package/es/src/ap-action/item/index.vue2.mjs +5 -5
- package/es/src/ap-field/checkbox/index.vue.mjs +2 -0
- package/es/src/ap-field/date/index.vue.mjs +2 -0
- package/es/src/ap-field/date-range/index.vue.mjs +2 -0
- package/es/src/ap-field/interface.d.ts +2 -0
- package/es/src/ap-field/number/index.vue.mjs +2 -0
- package/es/src/ap-field/radio/index.vue.mjs +9 -7
- package/es/src/ap-field/rate/index.vue.mjs +4 -2
- package/es/src/ap-field/segmented/index.vue.mjs +15 -13
- package/es/src/ap-field/select/index.vue.mjs +18 -16
- package/es/src/ap-field/slider/index.vue.mjs +11 -9
- package/es/src/ap-field/switch/index.vue.mjs +10 -8
- package/es/src/ap-field/text/index.vue.d.ts +1 -1
- package/es/src/ap-field/text/index.vue2.mjs +12 -10
- package/es/src/ap-field/text/password.vue.d.ts +1 -1
- package/es/src/ap-field/text/password.vue.mjs +16 -14
- package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/es/src/ap-field/text-area/index.vue.mjs +2 -0
- package/es/src/ap-form/ap-form.vue2.mjs +22 -22
- package/es/src/ap-table/ap-table.vue.d.ts +5 -1
- package/es/src/ap-table/constants.d.ts +715 -487
- package/es/src/ap-table/utils.d.ts +3 -3
- package/es/src/business/index.d.ts +123 -0
- package/es/src/business/index.mjs +7 -0
- package/es/src/business/title/ApTitle.vue.d.ts +45 -0
- package/es/src/business/title/ApTitle.vue.mjs +4 -0
- package/es/src/business/title/ApTitle.vue2.mjs +50 -0
- package/es/src/business/title/interface.d.ts +21 -0
- package/es/src/business/title/style.css +39 -0
- package/es/src/components.d.ts +1 -0
- package/es/src/config-provider/config-provider-props.d.ts +1 -1
- package/es/src/config-provider/config-provider-props.mjs +5 -6
- package/es/src/config-provider/config-provider.d.ts +11 -11
- package/es/src/config-provider/hooks/use-global-config.d.ts +1 -1
- package/es/src/config-provider/index.d.ts +31 -31
- package/es/src/description/description.vue.d.ts +1 -1
- package/es/src/description/index.d.ts +3 -3
- package/es/src/editable-table/form-item.vue.d.ts +304 -0
- package/es/src/editable-table/form-item.vue.mjs +189 -0
- package/es/src/editable-table/form-item.vue2.mjs +4 -0
- package/es/src/editable-table/hooks/use-get-columns.d.ts +5 -0
- package/es/src/editable-table/hooks/use-get-columns.mjs +76 -0
- package/es/src/editable-table/index.d.ts +5 -0
- package/es/src/editable-table/index.mjs +3 -0
- package/es/src/editable-table/index.vue.d.ts +196 -0
- package/es/src/editable-table/index.vue.mjs +209 -0
- package/es/src/editable-table/index.vue2.mjs +4 -0
- package/es/src/editable-table/interface.d.ts +71 -6
- package/es/src/editable-table/interface.mjs +1 -0
- package/es/src/editable-table/style/index.css +35 -0
- package/es/src/editable-table/utils.mjs +10 -0
- package/es/src/icon-picker/icon-picker.vue.d.ts +2 -2
- package/es/src/icon-picker/index.d.ts +26 -26
- package/es/src/index.d.ts +2 -0
- package/es/src/index.mjs +232 -225
- package/es/src/modal/basic.vue.d.ts +1 -1
- package/es/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/es/src/modal/index.d.ts +2 -2
- package/es/src/pro-form/components/api-cascader.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-select.vue.d.ts +2 -2
- package/es/src/pro-form/components/api-transfer.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-tree-select.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/es/src/pro-form/hooks/use-label-width.d.ts +6 -6
- package/es/src/pro-form/pro-form.vue.d.ts +1 -1
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
- package/es/src/pro-table/pro-table.vue.d.ts +1 -1
- package/es/src/scroll-bar/index.d.ts +12 -12
- package/es/src/theme/antd-global-overwrite/admin/index.css +8 -0
- package/es/src/theme/antd-global-overwrite/admin/table.css +8 -0
- package/es/src/theme/ap-title/ap-title.css +39 -0
- package/es/src/theme/editable-table/index.css +35 -0
- package/es/src/utils/config-provider-preset.d.ts +12 -12
- package/lib/index.js +1 -1
- package/lib/src/ap-action/item/index.vue2.js +1 -1
- package/lib/src/ap-field/checkbox/index.vue.js +1 -1
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/date-range/index.vue.js +1 -1
- package/lib/src/ap-field/interface.d.ts +2 -0
- package/lib/src/ap-field/number/index.vue.js +1 -1
- package/lib/src/ap-field/radio/index.vue.js +1 -1
- package/lib/src/ap-field/rate/index.vue.js +1 -1
- package/lib/src/ap-field/segmented/index.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.js +1 -1
- package/lib/src/ap-field/slider/index.vue.js +1 -1
- package/lib/src/ap-field/switch/index.vue.js +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text/index.vue2.js +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +1 -1
- package/lib/src/ap-field/text/password.vue.js +1 -1
- package/lib/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text-area/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +5 -1
- package/lib/src/ap-table/constants.d.ts +715 -487
- package/lib/src/ap-table/utils.d.ts +3 -3
- package/lib/src/business/index.d.ts +123 -0
- package/lib/src/business/index.js +1 -0
- package/lib/src/business/title/ApTitle.vue.d.ts +45 -0
- package/lib/src/business/title/ApTitle.vue.js +1 -0
- package/lib/src/business/title/ApTitle.vue2.js +1 -0
- package/lib/src/business/title/interface.d.ts +21 -0
- package/lib/src/business/title/style.css +39 -0
- package/lib/src/components.d.ts +1 -0
- package/lib/src/config-provider/config-provider-props.d.ts +1 -1
- package/lib/src/config-provider/config-provider-props.js +1 -1
- package/lib/src/config-provider/config-provider.d.ts +11 -11
- package/lib/src/config-provider/hooks/use-global-config.d.ts +1 -1
- package/lib/src/config-provider/index.d.ts +31 -31
- package/lib/src/description/description.vue.d.ts +1 -1
- package/lib/src/description/index.d.ts +3 -3
- package/lib/src/editable-table/form-item.vue.d.ts +304 -0
- package/lib/src/editable-table/form-item.vue.js +1 -0
- package/lib/src/editable-table/form-item.vue2.js +1 -0
- package/lib/src/editable-table/hooks/use-get-columns.d.ts +5 -0
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -0
- package/lib/src/editable-table/index.d.ts +5 -0
- package/lib/src/editable-table/index.js +1 -0
- package/lib/src/editable-table/index.vue.d.ts +196 -0
- package/lib/src/editable-table/index.vue.js +1 -0
- package/lib/src/editable-table/index.vue2.js +1 -0
- package/lib/src/editable-table/interface.d.ts +71 -6
- package/lib/src/editable-table/interface.js +1 -0
- package/lib/src/editable-table/style/index.css +35 -0
- package/lib/src/editable-table/utils.js +1 -0
- package/lib/src/icon-picker/icon-picker.vue.d.ts +2 -2
- package/lib/src/icon-picker/index.d.ts +26 -26
- package/lib/src/index.d.ts +2 -0
- package/lib/src/index.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +1 -1
- package/lib/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/lib/src/modal/index.d.ts +2 -2
- package/lib/src/pro-form/components/api-cascader.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-select.vue.d.ts +2 -2
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-tree-select.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-label-width.d.ts +6 -6
- package/lib/src/pro-form/pro-form.vue.d.ts +1 -1
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +1 -1
- package/lib/src/pro-table/pro-table.vue.d.ts +1 -1
- package/lib/src/scroll-bar/index.d.ts +12 -12
- package/lib/src/theme/antd-global-overwrite/admin/index.css +8 -0
- package/lib/src/theme/antd-global-overwrite/admin/table.css +8 -0
- package/lib/src/theme/ap-title/ap-title.css +39 -0
- package/lib/src/theme/editable-table/index.css +35 -0
- package/lib/src/utils/config-provider-preset.d.ts +12 -12
- package/package.json +1 -1
package/es/index.mjs
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as o from "./src/index.mjs";
|
|
2
2
|
import "./src/hooks/index.mjs";
|
|
3
3
|
import { Icon as l, SvgIcon as s } from "./src/icon/index.mjs";
|
|
4
4
|
import { configProviderProps as x } from "./src/config-provider/config-provider-props.mjs";
|
|
5
5
|
import { configProviderContextKey as n, tableDefaultConfig as u } from "./src/config-provider/constants.mjs";
|
|
6
6
|
import { keysOf as c, provideGlobalConfig as F, useGlobalConfig as T } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
7
|
-
import { buildLocaleContext as S, buildTranslator as I, localeContextKey as
|
|
7
|
+
import { buildLocaleContext as S, buildTranslator as I, localeContextKey as b, translate as g, useLocale as P } from "./src/config-provider/hooks/use-locale.mjs";
|
|
8
8
|
import { defaultNamespace as R, namespaceContextKey as v, useGetDerivedNamespace as M, useNamespace as h } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
import { ConfigProvider as B } from "./src/config-provider/config-provider.mjs";
|
|
10
10
|
import { APConfigProvider as G } from "./src/config-provider/index.mjs";
|
|
11
11
|
import { Scrollbar as y } from "./src/scroll-bar/index.mjs";
|
|
12
|
-
import { CollapseContainer as
|
|
13
|
-
import { IconPicker as
|
|
12
|
+
import { CollapseContainer as L, ScrollContainer as X } from "./src/container/index.mjs";
|
|
13
|
+
import { IconPicker as Y } from "./src/icon-picker/index.mjs";
|
|
14
14
|
import { default as H } from "./src/locale/lang/zh-cn.mjs";
|
|
15
15
|
import { default as z } from "./src/locale/lang/en.mjs";
|
|
16
16
|
import { BasicArrow as V, BasicHelp as $, BasicTitle as j } from "./src/basic/index.mjs";
|
|
17
17
|
import { default as J } from "./src/transition/collapse-transition.vue.mjs";
|
|
18
|
-
import { ExpandTransition as Z, ExpandXTransition as _, FadeTransition as
|
|
19
|
-
import { useDescription as
|
|
20
|
-
import { Description as
|
|
21
|
-
import { useComponentRegister as
|
|
22
|
-
import { useForm as
|
|
23
|
-
import { isComponentFormSchema as
|
|
24
|
-
import { Field as
|
|
25
|
-
import { default as
|
|
26
|
-
import { default as
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
29
|
-
import { default as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
34
|
-
import { default as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { BaseButton as
|
|
38
|
-
import { StrengthMeter as
|
|
39
|
-
import { useModalContext as
|
|
40
|
-
import { useModal as
|
|
41
|
-
import { BaseModal as
|
|
42
|
-
import { CropperAvatar as
|
|
43
|
-
import { CountdownButton as
|
|
44
|
-
import { createPrompt as
|
|
45
|
-
import { Dropdown as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { default as
|
|
50
|
-
import { useTable as
|
|
51
|
-
import { ApFormItemText as
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
55
|
-
import { default as
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as
|
|
60
|
-
import { default as
|
|
61
|
-
import { ApForm as $
|
|
62
|
-
import { default as
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
65
|
-
import { default as
|
|
18
|
+
import { ExpandTransition as Z, ExpandXTransition as _, FadeTransition as ee, ScaleRotateTransition as oe, ScaleTransition as re, ScrollXReverseTransition as te, ScrollXTransition as ae, ScrollYReverseTransition as pe, ScrollYTransition as fe, SlideXReverseTransition as me, SlideXTransition as le, SlideYReverseTransition as se, SlideYTransition as de } from "./src/transition/index.mjs";
|
|
19
|
+
import { useDescription as ie } from "./src/description/use-description.mjs";
|
|
20
|
+
import { Description as ue } from "./src/description/index.mjs";
|
|
21
|
+
import { useComponentRegister as ce } from "./src/pro-form/hooks/use-component-register.mjs";
|
|
22
|
+
import { useForm as Te } from "./src/pro-form/hooks/use-form.mjs";
|
|
23
|
+
import { isComponentFormSchema as Se, isSlotFormSchema as Ie } from "./src/pro-form/types/form.mjs";
|
|
24
|
+
import { Field as ge } from "./src/pro-form/index.mjs";
|
|
25
|
+
import { default as De } from "./src/pro-form/components/api-cascader.vue.mjs";
|
|
26
|
+
import { default as ve } from "./src/pro-form/components/api-radio-group.vue.mjs";
|
|
27
|
+
import { default as he } from "./src/pro-form/components/api-select.vue.mjs";
|
|
28
|
+
import { default as Be } from "./src/pro-form/components/api-transfer.vue.mjs";
|
|
29
|
+
import { default as Ge } from "./src/pro-form/components/api-tree.vue.mjs";
|
|
30
|
+
import { default as ye } from "./src/pro-form/components/radio-button-group.vue.mjs";
|
|
31
|
+
import { default as Le } from "./src/pro-form/pro-form.vue.mjs";
|
|
32
|
+
import { default as Ke } from "./src/pro-form/components/api-tree-select.vue.mjs";
|
|
33
|
+
import { default as Oe } from "./src/pro-form/table-form.vue.mjs";
|
|
34
|
+
import { default as We } from "./src/pro-form/table-form-inner.vue.mjs";
|
|
35
|
+
import { default as Ue } from "./src/base-button/modal-button.vue.mjs";
|
|
36
|
+
import { default as $e } from "./src/base-button/pop-confirm-button.vue.mjs";
|
|
37
|
+
import { BaseButton as qe } from "./src/base-button/index.mjs";
|
|
38
|
+
import { StrengthMeter as Qe } from "./src/strength-meter/index.mjs";
|
|
39
|
+
import { useModalContext as _e } from "./src/modal/hooks/use-modal-context.mjs";
|
|
40
|
+
import { useModal as oo, useModalInner as ro } from "./src/modal/hooks/use-modal.mjs";
|
|
41
|
+
import { BaseModal as ao } from "./src/modal/index.mjs";
|
|
42
|
+
import { CropperAvatar as fo, CropperImage as mo } from "./src/cropper/index.mjs";
|
|
43
|
+
import { CountdownButton as so, CountdownInput as xo } from "./src/count-down/index.mjs";
|
|
44
|
+
import { createPrompt as no } from "./src/prompt/index.mjs";
|
|
45
|
+
import { Dropdown as Ao } from "./src/dropdown/index.mjs";
|
|
46
|
+
import { default as Fo } from "./src/pro-table/pro-table.vue.mjs";
|
|
47
|
+
import { default as Co } from "./src/pro-table/components/table-action.vue.mjs";
|
|
48
|
+
import { default as Io } from "./src/pro-table/components/edit-table-header-icon.vue.mjs";
|
|
49
|
+
import { default as go } from "./src/pro-table/components/table-image.vue.mjs";
|
|
50
|
+
import { useTable as Do } from "./src/pro-table/hooks/use-table.mjs";
|
|
51
|
+
import { ApFormItemText as vo } from "./src/ap-form/items/text/index.mjs";
|
|
52
|
+
import { default as ho } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
53
|
+
import { default as Bo } from "./src/ap-form/items/number/index.vue.mjs";
|
|
54
|
+
import { default as Go } from "./src/ap-form/items/date/index.vue.mjs";
|
|
55
|
+
import { default as yo } from "./src/ap-form/items/date-range/index.vue.mjs";
|
|
56
|
+
import { default as Lo } from "./src/ap-form/items/radio/index.vue.mjs";
|
|
57
|
+
import { default as Ko } from "./src/ap-form/items/select/index.vue.mjs";
|
|
58
|
+
import { default as Oo } from "./src/ap-form/items/switch/index.vue.mjs";
|
|
59
|
+
import { default as Wo } from "./src/ap-form/items/checkbox/index.vue.mjs";
|
|
60
|
+
import { default as Uo } from "./src/ap-form/items/text/password.vue.mjs";
|
|
61
|
+
import { ApForm as $o } from "./src/ap-form/index.mjs";
|
|
62
|
+
import { default as qo } from "./src/ap-form/ap-form-item.vue.mjs";
|
|
63
|
+
import { default as Qo } from "./src/ap-form/ap-form-item-group/index.vue.mjs";
|
|
64
|
+
import { default as _o } from "./src/ap-form/ap-form-list.vue.mjs";
|
|
65
|
+
import { default as or } from "./src/ap-form/search-form/index.vue.mjs";
|
|
66
66
|
import { default as tr } from "./src/ap-form/modal-form/index.vue.mjs";
|
|
67
67
|
import { ApField as pr } from "./src/ap-field/index.mjs";
|
|
68
68
|
import { ApFieldText as mr } from "./src/ap-field/text/index.mjs";
|
|
@@ -73,22 +73,22 @@ import { default as Ar } from "./src/ap-field/radio/index.vue.mjs";
|
|
|
73
73
|
import { default as Fr } from "./src/ap-field/switch/index.vue.mjs";
|
|
74
74
|
import { default as Cr } from "./src/ap-field/text-area/index.vue.mjs";
|
|
75
75
|
import { default as Ir } from "./src/ap-field/date-range/index.vue.mjs";
|
|
76
|
-
import { default as
|
|
76
|
+
import { default as gr } from "./src/ap-field/select/index.vue.mjs";
|
|
77
77
|
import { default as Dr } from "./src/ap-field/text/password.vue.mjs";
|
|
78
78
|
import { default as vr } from "./src/ap-field/slider/index.vue.mjs";
|
|
79
79
|
import { default as hr } from "./src/ap-field/segmented/index.vue.mjs";
|
|
80
80
|
import { default as Br } from "./src/ap-field/rate/index.vue.mjs";
|
|
81
81
|
import { adminToken as Gr, aplusToken as Nr } from "./src/design-token/index.mjs";
|
|
82
|
-
import { ApActionItem as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
82
|
+
import { ApActionItem as Er } from "./src/ap-action/index.mjs";
|
|
83
|
+
import { default as Xr } from "./src/ap-action/item-modal/index.vue.mjs";
|
|
84
|
+
import { default as Yr } from "./src/ap-action/item-popconfirm/index.vue.mjs";
|
|
85
85
|
import { default as Hr } from "./src/ap-action/item-dropdown/index.vue.mjs";
|
|
86
86
|
import { default as zr } from "./src/ap-action/group/index.vue.mjs";
|
|
87
87
|
import { generateTableList as Vr } from "./src/ap-custom-column/utils.mjs";
|
|
88
88
|
import { useCacheColumnSetting as jr } from "./src/ap-custom-column/useCacheColumnSetting.mjs";
|
|
89
89
|
import { default as Jr } from "./src/ap-custom-column/custom-column.vue.mjs";
|
|
90
90
|
import { default as Zr } from "./src/ap-custom-column/column-select.vue.mjs";
|
|
91
|
-
import { DictCode as
|
|
91
|
+
import { DictCode as et } from "./src/work-order-modal/interfaces.mjs";
|
|
92
92
|
import { createWorkOrderModal as rt } from "./src/work-order-modal/createWorkOrder.mjs";
|
|
93
93
|
import { default as at } from "./src/work-order-modal/work-order-modal.vue.mjs";
|
|
94
94
|
import { default as ft } from "./src/ap-tag/ap-tag.vue.mjs";
|
|
@@ -97,25 +97,28 @@ import { default as dt } from "./src/ap-layout/ap-info-layout/ap-info-layout.vue
|
|
|
97
97
|
import { NeedNameKeyDefault as it } from "./src/ap-upload/apUploadTypes.mjs";
|
|
98
98
|
import { default as ut } from "./src/ap-upload/apUpload.vue.mjs";
|
|
99
99
|
import { default as ct } from "./src/ap-download/ap-download.vue.mjs";
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
100
|
+
import { ApTitle as Tt } from "./src/business/index.mjs";
|
|
101
|
+
import { useTablePaging as St } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
102
|
+
import { default as bt } from "./src/ap-table/ap-table.vue.mjs";
|
|
103
|
+
import { default as Pt } from "./src/editable-table/index.vue.mjs";
|
|
104
|
+
import { default as Rt } from "./src/editable-table/form-item.vue.mjs";
|
|
105
|
+
import { useMessage as Mt } from "./src/hooks/useMessage.mjs";
|
|
106
|
+
import { useControllableValue as wt } from "./src/hooks/useControllableValue.mjs";
|
|
104
107
|
const p = {
|
|
105
108
|
install: (r) => {
|
|
106
|
-
for (const t in
|
|
107
|
-
const
|
|
108
|
-
|
|
109
|
+
for (const t in o) {
|
|
110
|
+
const e = o[t];
|
|
111
|
+
e.install && r.use(e);
|
|
109
112
|
}
|
|
110
113
|
}
|
|
111
114
|
};
|
|
112
115
|
export {
|
|
113
116
|
G as APConfigProvider,
|
|
114
117
|
zr as ApActionGroup,
|
|
115
|
-
|
|
118
|
+
Er as ApActionItem,
|
|
116
119
|
Hr as ApActionItemDropdown,
|
|
117
|
-
|
|
118
|
-
|
|
120
|
+
Xr as ApActionItemModal,
|
|
121
|
+
Yr as ApActionItemPopconfirm,
|
|
119
122
|
Jr as ApCustomColumn,
|
|
120
123
|
Zr as ApCustomSelect,
|
|
121
124
|
ct as ApDownload,
|
|
@@ -128,84 +131,87 @@ export {
|
|
|
128
131
|
Ar as ApFieldRadio,
|
|
129
132
|
Br as ApFieldRate,
|
|
130
133
|
hr as ApFieldSegmented,
|
|
131
|
-
|
|
134
|
+
gr as ApFieldSelect,
|
|
132
135
|
vr as ApFieldSlider,
|
|
133
136
|
Fr as ApFieldSwitch,
|
|
134
137
|
mr as ApFieldText,
|
|
135
138
|
Cr as ApFieldTextArea,
|
|
136
|
-
$
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
139
|
+
$o as ApForm,
|
|
140
|
+
qo as ApFormItem,
|
|
141
|
+
Wo as ApFormItemCheckbox,
|
|
142
|
+
Go as ApFormItemDate,
|
|
143
|
+
yo as ApFormItemDateRange,
|
|
144
|
+
Qo as ApFormItemGroup,
|
|
145
|
+
Bo as ApFormItemNumber,
|
|
146
|
+
Lo as ApFormItemRadio,
|
|
147
|
+
Ko as ApFormItemSelect,
|
|
148
|
+
Oo as ApFormItemSwitch,
|
|
149
|
+
vo as ApFormItemText,
|
|
150
|
+
ho as ApFormItemTextArea,
|
|
151
|
+
Uo as ApFormItemTextPassword,
|
|
152
|
+
_o as ApFormList,
|
|
150
153
|
tr as ApFormModalForm,
|
|
151
|
-
|
|
154
|
+
or as ApFormSearchForm,
|
|
152
155
|
dt as ApInfoLayout,
|
|
153
|
-
|
|
156
|
+
bt as ApTable,
|
|
154
157
|
ft as ApTag,
|
|
155
158
|
lt as ApTagGroup,
|
|
159
|
+
Tt as ApTitle,
|
|
156
160
|
ut as ApUpload,
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
161
|
+
De as ApiCascader,
|
|
162
|
+
ve as ApiRadioGroup,
|
|
163
|
+
he as ApiSelect,
|
|
164
|
+
Be as ApiTransfer,
|
|
165
|
+
Ge as ApiTree,
|
|
166
|
+
Ke as ApiTreeSelect,
|
|
167
|
+
qe as BaseButton,
|
|
168
|
+
ao as BaseModal,
|
|
165
169
|
V as BasicArrow,
|
|
166
170
|
$ as BasicHelp,
|
|
167
171
|
j as BasicTitle,
|
|
168
|
-
|
|
172
|
+
L as CollapseContainer,
|
|
169
173
|
J as CollapseTransition,
|
|
170
174
|
B as ConfigProvider,
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
175
|
+
so as CountdownButton,
|
|
176
|
+
xo as CountdownInput,
|
|
177
|
+
fo as CropperAvatar,
|
|
178
|
+
mo as CropperImage,
|
|
179
|
+
ue as Description,
|
|
180
|
+
et as DictCode,
|
|
181
|
+
Ao as Dropdown,
|
|
182
|
+
Io as EditTableHeaderIcon,
|
|
183
|
+
Pt as EditableTable,
|
|
184
|
+
Rt as EditableTableFormItem,
|
|
179
185
|
Z as ExpandTransition,
|
|
180
186
|
_ as ExpandXTransition,
|
|
181
|
-
|
|
182
|
-
|
|
187
|
+
ee as FadeTransition,
|
|
188
|
+
ge as Field,
|
|
183
189
|
l as Icon,
|
|
184
|
-
|
|
185
|
-
|
|
190
|
+
Y as IconPicker,
|
|
191
|
+
Ue as ModalButton,
|
|
186
192
|
it as NeedNameKeyDefault,
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
193
|
+
$e as PopConfirmButton,
|
|
194
|
+
Le as ProForm,
|
|
195
|
+
Fo as ProTable,
|
|
196
|
+
Oe as ProTableForm,
|
|
197
|
+
We as ProTableFormInner,
|
|
198
|
+
ye as RadioButtonGroup,
|
|
199
|
+
oe as ScaleRotateTransition,
|
|
200
|
+
re as ScaleTransition,
|
|
201
|
+
X as ScrollContainer,
|
|
202
|
+
te as ScrollXReverseTransition,
|
|
203
|
+
ae as ScrollXTransition,
|
|
204
|
+
pe as ScrollYReverseTransition,
|
|
205
|
+
fe as ScrollYTransition,
|
|
200
206
|
y as Scrollbar,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
207
|
+
me as SlideXReverseTransition,
|
|
208
|
+
le as SlideXTransition,
|
|
209
|
+
se as SlideYReverseTransition,
|
|
210
|
+
de as SlideYTransition,
|
|
211
|
+
Qe as StrengthMeter,
|
|
206
212
|
s as SvgIcon,
|
|
207
|
-
|
|
208
|
-
|
|
213
|
+
Co as TableAction,
|
|
214
|
+
go as TableImg,
|
|
209
215
|
at as WorkOrderModal,
|
|
210
216
|
Gr as adminToken,
|
|
211
217
|
Nr as aplusToken,
|
|
@@ -213,34 +219,34 @@ export {
|
|
|
213
219
|
I as buildTranslator,
|
|
214
220
|
n as configProviderContextKey,
|
|
215
221
|
x as configProviderProps,
|
|
216
|
-
|
|
222
|
+
no as createPrompt,
|
|
217
223
|
rt as createWorkOrderModal,
|
|
218
224
|
p as default,
|
|
219
225
|
R as defaultNamespace,
|
|
220
226
|
z as en,
|
|
221
227
|
Vr as generateTableList,
|
|
222
|
-
|
|
223
|
-
|
|
228
|
+
Se as isComponentFormSchema,
|
|
229
|
+
Ie as isSlotFormSchema,
|
|
224
230
|
c as keysOf,
|
|
225
|
-
|
|
231
|
+
b as localeContextKey,
|
|
226
232
|
v as namespaceContextKey,
|
|
227
233
|
F as provideGlobalConfig,
|
|
228
234
|
u as tableDefaultConfig,
|
|
229
|
-
|
|
235
|
+
g as translate,
|
|
230
236
|
jr as useCacheColumnSetting,
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
237
|
+
ce as useComponentRegister,
|
|
238
|
+
wt as useControllableValue,
|
|
239
|
+
ie as useDescription,
|
|
240
|
+
Te as useForm,
|
|
235
241
|
M as useGetDerivedNamespace,
|
|
236
242
|
T as useGlobalConfig,
|
|
237
243
|
P as useLocale,
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
244
|
+
Mt as useMessage,
|
|
245
|
+
oo as useModal,
|
|
246
|
+
_e as useModalContext,
|
|
247
|
+
ro as useModalInner,
|
|
242
248
|
h as useNamespace,
|
|
243
|
-
|
|
244
|
-
|
|
249
|
+
Do as useTable,
|
|
250
|
+
St as useTablePaging,
|
|
245
251
|
H as zhCn
|
|
246
252
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as C, ref as b, unref as n, computed as
|
|
1
|
+
import { defineComponent as C, ref as b, unref as n, computed as r, openBlock as t, createElementBlock as c, normalizeClass as v, createBlock as d, createCommentVNode as u, renderSlot as B, isVNode as A, resolveDynamicComponent as x, toDisplayString as h } from "vue";
|
|
2
2
|
import "../../config-provider/index.mjs";
|
|
3
3
|
import I from "ant-design-vue/es/button/LoadingIcon";
|
|
4
4
|
import "../style/item.css";
|
|
@@ -17,16 +17,16 @@ const _ = { key: 1 }, G = /* @__PURE__ */ C({
|
|
|
17
17
|
loading: { type: Boolean, default: !1 }
|
|
18
18
|
},
|
|
19
19
|
setup(m) {
|
|
20
|
-
const e = m, { b: f, m:
|
|
20
|
+
const e = m, { b: f, m: s, bm: p } = L("action-item"), g = N("uiMode", "aplus"), l = b(!1);
|
|
21
21
|
function k(o) {
|
|
22
22
|
var i;
|
|
23
23
|
n(a) || e.disabled || ((i = e.onClick) == null || i.call(e, o), e.onAction && (l.value = !0, e.onAction(o).finally(() => l.value = !1)));
|
|
24
24
|
}
|
|
25
|
-
const a =
|
|
25
|
+
const a = r(() => e.loading || n(l)), y = r(() => [
|
|
26
26
|
f(),
|
|
27
27
|
p(n(g), e.color),
|
|
28
|
-
e.disabled ?
|
|
29
|
-
a.value ?
|
|
28
|
+
e.disabled ? s("disabled") : null,
|
|
29
|
+
a.value ? s("loading") : null
|
|
30
30
|
].filter(Boolean));
|
|
31
31
|
return (o, i) => o.visible ? (t(), c("span", {
|
|
32
32
|
key: 0,
|
|
@@ -9,6 +9,8 @@ import { InputPasswordProps } from './text/input-password-props';
|
|
|
9
9
|
export type FieldMode = 'read' | 'edit';
|
|
10
10
|
export type BasicApFieldProps<FieldPropsType = any> = {
|
|
11
11
|
mode?: FieldMode;
|
|
12
|
+
class?: unknown;
|
|
13
|
+
style?: unknown;
|
|
12
14
|
} & FieldPropsType;
|
|
13
15
|
export type ApFieldTextProps = BasicApFieldProps<InputProps> & {
|
|
14
16
|
emptyText?: string;
|
|
@@ -9,6 +9,8 @@ const j = /* @__PURE__ */ V({
|
|
|
9
9
|
__name: "index",
|
|
10
10
|
props: {
|
|
11
11
|
mode: { default: "edit" },
|
|
12
|
+
class: {},
|
|
13
|
+
style: {},
|
|
12
14
|
prefixCls: {},
|
|
13
15
|
value: {},
|
|
14
16
|
size: {},
|
|
@@ -25,10 +27,10 @@ const j = /* @__PURE__ */ V({
|
|
|
25
27
|
},
|
|
26
28
|
emits: ["update:value"],
|
|
27
29
|
setup(c, { expose: v, emit: y }) {
|
|
28
|
-
const t = c, g = y,
|
|
30
|
+
const t = c, g = y, l = i(), u = i((t == null ? void 0 : t.options) || []), { value: s, updateValue: x } = O(t, g), r = i(!1);
|
|
29
31
|
q(() => {
|
|
30
32
|
var e;
|
|
31
|
-
t.request && (r.value = !0, (e = t.request) == null || e.call(t).then((a) =>
|
|
33
|
+
t.request && (r.value = !0, (e = t.request) == null || e.call(t).then((a) => u.value = a).finally(() => {
|
|
32
34
|
r.value = !1;
|
|
33
35
|
}));
|
|
34
36
|
});
|
|
@@ -37,18 +39,18 @@ const j = /* @__PURE__ */ V({
|
|
|
37
39
|
const e = o(s);
|
|
38
40
|
if (S(e))
|
|
39
41
|
return t.emptyText;
|
|
40
|
-
const a = (p =
|
|
42
|
+
const a = (p = u.value) == null ? void 0 : p.find(
|
|
41
43
|
(_) => e === F(_)
|
|
42
44
|
);
|
|
43
45
|
return N(a) || t.emptyText;
|
|
44
46
|
});
|
|
45
47
|
function b() {
|
|
46
48
|
var e;
|
|
47
|
-
(e =
|
|
49
|
+
(e = l.value) == null || e.focus();
|
|
48
50
|
}
|
|
49
51
|
function T() {
|
|
50
52
|
var e;
|
|
51
|
-
(e =
|
|
53
|
+
(e = l.value) == null || e.blur();
|
|
52
54
|
}
|
|
53
55
|
return v({
|
|
54
56
|
focus: b,
|
|
@@ -62,9 +64,9 @@ const j = /* @__PURE__ */ V({
|
|
|
62
64
|
})) : (n(), f(o(G), U({ key: 1 }, o(z)(t, ["value", "onUpdate:value", "options", "request"]), {
|
|
63
65
|
value: o(s),
|
|
64
66
|
"onUpdate:value": o(x),
|
|
65
|
-
options:
|
|
67
|
+
options: u.value,
|
|
66
68
|
ref_key: "radioGroupRef",
|
|
67
|
-
ref:
|
|
69
|
+
ref: l
|
|
68
70
|
}), null, 16, ["value", "onUpdate:value", "options"]))
|
|
69
71
|
], 64));
|
|
70
72
|
}
|
|
@@ -8,6 +8,8 @@ const D = /* @__PURE__ */ v({
|
|
|
8
8
|
__name: "index",
|
|
9
9
|
props: {
|
|
10
10
|
mode: { default: "edit" },
|
|
11
|
+
class: {},
|
|
12
|
+
style: {},
|
|
11
13
|
prefixCls: {},
|
|
12
14
|
count: { default: 5 },
|
|
13
15
|
value: {},
|
|
@@ -30,7 +32,7 @@ const D = /* @__PURE__ */ v({
|
|
|
30
32
|
},
|
|
31
33
|
emits: ["update:value"],
|
|
32
34
|
setup(r, { expose: u, emit: n }) {
|
|
33
|
-
const a = r, l = b(),
|
|
35
|
+
const a = r, l = b(), s = n, d = h(), { value: f, updateValue: c } = V(a, s), i = y(() => a.mode === "read" ? !0 : a.disabled);
|
|
34
36
|
function p() {
|
|
35
37
|
var e, t;
|
|
36
38
|
(t = (e = l.value) == null ? void 0 : e.focus) == null || t.call(e);
|
|
@@ -49,7 +51,7 @@ const D = /* @__PURE__ */ v({
|
|
|
49
51
|
ref_key: "rateRef",
|
|
50
52
|
ref: l
|
|
51
53
|
}), x({ _: 2 }, [
|
|
52
|
-
|
|
54
|
+
d.character ? {
|
|
53
55
|
name: "character",
|
|
54
56
|
fn: g(() => [
|
|
55
57
|
k(e.$slots, "character")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as S, ref as c, useSlots as B, onMounted as U, computed as V, unref as
|
|
1
|
+
import { defineComponent as S, ref as c, useSlots as B, onMounted as U, computed as V, unref as a, createVNode as s, Fragment as o, openBlock as r, createBlock as m, createElementBlock as _, resolveDynamicComponent as h, mergeProps as N, withCtx as q, renderSlot as z, normalizeProps as F, guardReactiveProps as P } from "vue";
|
|
2
2
|
import { Spin as T, Segmented as R } from "ant-design-vue";
|
|
3
3
|
import { isFunction as v, isUndefined as w, isString as A, isNumber as D, omit as E } from "lodash-unified";
|
|
4
4
|
import "../../hooks/index.mjs";
|
|
@@ -10,6 +10,8 @@ const J = /* @__PURE__ */ S({
|
|
|
10
10
|
mode: {
|
|
11
11
|
default: "edit"
|
|
12
12
|
},
|
|
13
|
+
class: {},
|
|
14
|
+
style: {},
|
|
13
15
|
prefixCls: {},
|
|
14
16
|
options: {},
|
|
15
17
|
block: {
|
|
@@ -46,29 +48,29 @@ const J = /* @__PURE__ */ S({
|
|
|
46
48
|
});
|
|
47
49
|
const C = V(() => {
|
|
48
50
|
var f;
|
|
49
|
-
const t =
|
|
51
|
+
const t = a(p);
|
|
50
52
|
if (w(t))
|
|
51
|
-
return s(
|
|
52
|
-
const l = (f =
|
|
53
|
+
return s(o, null, [e.emptyText]);
|
|
54
|
+
const l = (f = a(i)) == null ? void 0 : f.find((u) => u === t || (u == null ? void 0 : u.value) === t);
|
|
53
55
|
if (A(l) || D(l))
|
|
54
|
-
return s(
|
|
56
|
+
return s(o, null, [l]);
|
|
55
57
|
const n = (l == null ? void 0 : l.label) || x.label;
|
|
56
|
-
return v(n) ? s(
|
|
58
|
+
return v(n) ? s(o, null, [n == null ? void 0 : n({
|
|
57
59
|
...l
|
|
58
|
-
})]) : s(
|
|
60
|
+
})]) : s(o, null, [n || e.emptyText]);
|
|
59
61
|
});
|
|
60
|
-
return (t, l) => d.value ? (r(), m(
|
|
62
|
+
return (t, l) => d.value ? (r(), m(a(T), {
|
|
61
63
|
key: 0,
|
|
62
64
|
size: "small"
|
|
63
|
-
})) : (r(), _(
|
|
65
|
+
})) : (r(), _(o, {
|
|
64
66
|
key: 1
|
|
65
67
|
}, [t.mode === "read" ? (r(), m(h(C.value), {
|
|
66
68
|
key: 0
|
|
67
|
-
})) : (r(), m(
|
|
69
|
+
})) : (r(), m(a(R), N({
|
|
68
70
|
key: 1
|
|
69
|
-
},
|
|
70
|
-
value:
|
|
71
|
-
"onUpdate:value":
|
|
71
|
+
}, a(E)(e, ["onUpdate:value", "value", "defaultValue", "options"]), {
|
|
72
|
+
value: a(p),
|
|
73
|
+
"onUpdate:value": a(b),
|
|
72
74
|
options: i.value
|
|
73
75
|
}), {
|
|
74
76
|
label: q((n) => [z(t.$slots, "label", F(P(n)))]),
|