@aplus-frontend/ui 0.3.11 → 0.3.13
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 +173 -169
- package/es/src/ap-field/radio/style/index.js +1 -0
- package/es/src/ap-form/ap-form.vue.d.ts +12 -31
- package/es/src/ap-form/ap-form.vue2.mjs +135 -118
- package/es/src/ap-form/drawer-form/index.vue.d.ts +22 -40
- package/es/src/ap-form/drawer-form/index.vue.mjs +3 -3
- package/es/src/ap-form/index.d.ts +3 -1
- package/es/src/ap-form/index.mjs +26 -22
- package/es/src/ap-form/interface.d.ts +3 -1
- package/es/src/ap-form/modal-form/index.vue.d.ts +23 -41
- package/es/src/ap-form/modal-form/index.vue.mjs +60 -59
- package/es/src/ap-form/provider/context.d.ts +3 -0
- package/es/src/ap-form/provider/context.mjs +17 -0
- package/es/src/ap-form/provider/index.vue.d.ts +19 -0
- package/es/src/ap-form/provider/index.vue.mjs +39 -0
- package/es/src/ap-form/provider/index.vue2.mjs +4 -0
- package/es/src/ap-form/provider/interface.d.ts +22 -0
- package/es/src/ap-form/search-form/index.vue.d.ts +22 -40
- package/es/src/business/ap-ladder/style/index.js +1 -0
- package/es/src/business/ap-table-modal/interface.d.ts +2 -0
- package/es/src/business/ap-table-modal/table-modal.vue2.mjs +50 -48
- package/es/src/business/batch-input-group/form-item.vue.d.ts +6 -0
- package/es/src/business/batch-input-group/form-item.vue.mjs +101 -0
- package/es/src/business/batch-input-group/form-item.vue2.mjs +4 -0
- package/es/src/business/batch-input-group/index.d.ts +2 -1
- package/es/src/business/batch-input-group/index.mjs +1 -0
- package/es/src/business/batch-input-group/index.vue.mjs +46 -44
- package/es/src/business/batch-input-group/interface.d.ts +8 -0
- package/es/src/business/batch-input-group/popover-input/index.vue2.mjs +43 -38
- package/es/src/config-provider/config-provider.d.ts +1 -0
- package/es/src/config-provider/css-var.d.ts +1 -0
- package/es/src/config-provider/css-var.mjs +14 -12
- package/es/src/config-provider/index.d.ts +5 -0
- package/es/src/index.mjs +154 -150
- package/es/src/utils/slot.mjs +6 -8
- package/lib/index.js +1 -1
- package/lib/src/ap-field/radio/style/index.js +1 -0
- package/lib/src/ap-form/ap-form.vue.d.ts +12 -31
- package/lib/src/ap-form/ap-form.vue2.js +1 -1
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +22 -40
- package/lib/src/ap-form/drawer-form/index.vue.js +1 -1
- package/lib/src/ap-form/index.d.ts +3 -1
- package/lib/src/ap-form/index.js +1 -1
- package/lib/src/ap-form/interface.d.ts +3 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +23 -41
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/provider/context.d.ts +3 -0
- package/lib/src/ap-form/provider/context.js +1 -0
- package/lib/src/ap-form/provider/index.vue.d.ts +19 -0
- package/lib/src/ap-form/provider/index.vue.js +1 -0
- package/lib/src/ap-form/provider/index.vue2.js +1 -0
- package/lib/src/ap-form/provider/interface.d.ts +22 -0
- package/lib/src/ap-form/render/style/index.d.ts +1 -0
- package/lib/src/ap-form/render/style/index.js +1 -0
- package/lib/src/ap-form/search-form/index.vue.d.ts +22 -40
- package/lib/src/business/ap-ladder/style/index.js +1 -0
- package/lib/src/business/ap-table-modal/interface.d.ts +2 -0
- package/lib/src/business/ap-table-modal/table-modal.vue2.js +1 -1
- package/lib/src/business/batch-input-group/form-item.vue.d.ts +6 -0
- package/lib/src/business/batch-input-group/form-item.vue.js +1 -0
- package/lib/src/business/batch-input-group/form-item.vue2.js +1 -0
- package/lib/src/business/batch-input-group/index.d.ts +2 -1
- package/lib/src/business/batch-input-group/index.js +1 -1
- package/lib/src/business/batch-input-group/index.vue.js +2 -2
- package/lib/src/business/batch-input-group/interface.d.ts +8 -0
- package/lib/src/business/batch-input-group/popover-input/index.vue2.js +2 -2
- package/lib/src/config-provider/config-provider.d.ts +1 -0
- package/lib/src/config-provider/css-var.d.ts +1 -0
- package/lib/src/config-provider/css-var.js +1 -1
- package/lib/src/config-provider/index.d.ts +5 -0
- package/lib/src/index.js +1 -1
- package/lib/src/utils/slot.js +1 -1
- package/package.json +2 -2
- /package/es/src/ap-field/radio/style/{style.d.ts → index.d.ts} +0 -0
- /package/es/src/ap-form/render/style/{style.d.ts → index.d.ts} +0 -0
- /package/{lib/src/ap-form/render/style/style.d.ts → es/src/ap-form/render/style/index.js} +0 -0
- /package/es/src/business/ap-ladder/style/{style.d.ts → index.d.ts} +0 -0
- /package/lib/src/ap-field/radio/style/{style.d.ts → index.d.ts} +0 -0
- /package/lib/src/business/ap-ladder/style/{style.d.ts → index.d.ts} +0 -0
package/es/index.mjs
CHANGED
|
@@ -5,8 +5,8 @@ import { configProviderProps as d } from "./src/config-provider/config-provider-
|
|
|
5
5
|
import { DEFAULT_NAMESPACE as A, DEFAULT_UIMODE as s, configProviderContextKey as n } from "./src/config-provider/constants.mjs";
|
|
6
6
|
import { keysOf as c, provideGlobalConfig as F, useGlobalConfig as I } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
7
7
|
import { buildLocaleContext as T, buildTranslator as C, localeContextKey as D, translate as g, useLocale as S } from "./src/config-provider/hooks/use-locale.mjs";
|
|
8
|
-
import { defaultNamespace as G, namespaceContextKey as
|
|
9
|
-
import { ConfigProvider as
|
|
8
|
+
import { defaultNamespace as G, namespaceContextKey as P, useGetDerivedNamespace as E, useNamespace as L } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
import { ConfigProvider as N, globalConfigCached as y } from "./src/config-provider/config-provider.mjs";
|
|
10
10
|
import { APConfigProvider as R } from "./src/config-provider/index.mjs";
|
|
11
11
|
import { ApFormItemText as v } from "./src/ap-form/items/text/index.mjs";
|
|
12
12
|
import { default as K } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
@@ -29,83 +29,85 @@ import { default as Fo } from "./src/ap-form/set/index.vue.mjs";
|
|
|
29
29
|
import { default as bo } from "./src/ap-form/drawer-form/index.vue.mjs";
|
|
30
30
|
import { default as Co } from "./src/ap-form/render/control.vue.mjs";
|
|
31
31
|
import { default as go } from "./src/ap-form/render/item.vue.mjs";
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as wo } from "./src/ap-field/
|
|
37
|
-
import { default as ko } from "./src/ap-field/
|
|
38
|
-
import { default as Bo } from "./src/ap-field/
|
|
39
|
-
import { default as Uo } from "./src/ap-field/
|
|
40
|
-
import { default as Wo } from "./src/ap-field/
|
|
41
|
-
import { default as zo } from "./src/ap-field/
|
|
42
|
-
import { default as Vo } from "./src/ap-field/
|
|
43
|
-
import { default as jo } from "./src/ap-field/
|
|
44
|
-
import { default as Jo } from "./src/ap-field/
|
|
45
|
-
import { default as Xo } from "./src/ap-field/
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import { default as fe } from "./src/ap-action/item-
|
|
50
|
-
import { default as le } from "./src/ap-action/item-
|
|
51
|
-
import { default as de } from "./src/ap-action/
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import { default as be } from "./src/
|
|
56
|
-
import { default as Ce } from "./src/ap-tag/ap-tag
|
|
57
|
-
import { default as ge } from "./src/ap-
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import { default as We } from "./src/ap-
|
|
67
|
-
import { default as ze } from "./src/ap-button/ap-
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import { default as ft } from "./src/business/
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import { default as It } from "./src/
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
32
|
+
import { default as ho } from "./src/ap-form/provider/index.vue.mjs";
|
|
33
|
+
import { ApField as Po } from "./src/ap-field/index.mjs";
|
|
34
|
+
import { ApFieldText as Lo } from "./src/ap-field/text/index.mjs";
|
|
35
|
+
import { default as No } from "./src/ap-field/checkbox/index.vue.mjs";
|
|
36
|
+
import { default as wo } from "./src/ap-field/date/index.vue.mjs";
|
|
37
|
+
import { default as ko } from "./src/ap-field/number/index.vue.mjs";
|
|
38
|
+
import { default as Bo } from "./src/ap-field/radio/index.vue.mjs";
|
|
39
|
+
import { default as Uo } from "./src/ap-field/switch/index.vue.mjs";
|
|
40
|
+
import { default as Wo } from "./src/ap-field/text-area/index.vue.mjs";
|
|
41
|
+
import { default as zo } from "./src/ap-field/date-range/index.vue.mjs";
|
|
42
|
+
import { default as Vo } from "./src/ap-field/select/index.vue.mjs";
|
|
43
|
+
import { default as jo } from "./src/ap-field/text/password.vue.mjs";
|
|
44
|
+
import { default as Jo } from "./src/ap-field/slider/index.vue.mjs";
|
|
45
|
+
import { default as Xo } from "./src/ap-field/segmented/index.vue.mjs";
|
|
46
|
+
import { default as Zo } from "./src/ap-field/rate/index.vue.mjs";
|
|
47
|
+
import { adminToken as ee, aplusToken as re } from "./src/design-token/index.mjs";
|
|
48
|
+
import { ApActionItem as pe } from "./src/ap-action/index.mjs";
|
|
49
|
+
import { default as fe } from "./src/ap-action/item-modal/index.vue.mjs";
|
|
50
|
+
import { default as le } from "./src/ap-action/item-popconfirm/index.vue.mjs";
|
|
51
|
+
import { default as de } from "./src/ap-action/item-dropdown/index.vue.mjs";
|
|
52
|
+
import { default as Ae } from "./src/ap-action/group/index.vue.mjs";
|
|
53
|
+
import { DictCode as ne, langMap as ie } from "./src/work-order-modal/interfaces.mjs";
|
|
54
|
+
import { createWorkOrderModal as Fe } from "./src/work-order-modal/createWorkOrder.mjs";
|
|
55
|
+
import { default as be } from "./src/work-order-modal/work-order-modal.vue.mjs";
|
|
56
|
+
import { default as Ce } from "./src/ap-tag/ap-tag.vue.mjs";
|
|
57
|
+
import { default as ge } from "./src/ap-tag/ap-tag-group.vue.mjs";
|
|
58
|
+
import { default as he } from "./src/ap-info-layout/ApInfoLayout.vue.mjs";
|
|
59
|
+
import { NeedNameKeyDefault as Pe } from "./src/ap-upload/apUploadTypes.mjs";
|
|
60
|
+
import { default as Le } from "./src/ap-upload/apUpload.vue.mjs";
|
|
61
|
+
import { ApDownLoadNeedNameKeyDefault as Ne } from "./src/ap-download/interface.mjs";
|
|
62
|
+
import { default as we } from "./src/ap-download/ap-download.vue.mjs";
|
|
63
|
+
import { CheckCard as ke } from "./src/check-card/index.mjs";
|
|
64
|
+
import { default as Be } from "./src/check-card/group.vue.mjs";
|
|
65
|
+
import { ApModal as Ue } from "./src/ap-modal/index.mjs";
|
|
66
|
+
import { default as We } from "./src/ap-list/index.vue.mjs";
|
|
67
|
+
import { default as ze } from "./src/ap-button/ap-button.vue.mjs";
|
|
68
|
+
import { default as Ve } from "./src/ap-button/ap-action-button.vue.mjs";
|
|
69
|
+
import { ApDrawer as je } from "./src/ap-drawer/index.mjs";
|
|
70
|
+
import { ApTransformDataHelper as Je } from "./src/utils/ap-trans-data/index.mjs";
|
|
71
|
+
import { default as Xe } from "./src/business/ap-table-modal/index.mjs";
|
|
72
|
+
import { useTableModal as Ze } from "./src/business/ap-table-modal/hooks/use-table-modal.mjs";
|
|
73
|
+
import { useTableSelectModal as er } from "./src/business/ap-table-modal/hooks/use-table-select-modal.mjs";
|
|
74
|
+
import { ApAttachment as tr } from "./src/business/ap-attachment/index.mjs";
|
|
75
|
+
import { ApBatchAction as ar } from "./src/business/ap-batch-action/index.mjs";
|
|
76
|
+
import { ApBatchActionGroup as mr } from "./src/business/ap-batch-action-group/index.mjs";
|
|
77
|
+
import { ApButtonGroup as xr } from "./src/business/ap-button-group/index.mjs";
|
|
78
|
+
import { ApCard as ur } from "./src/business/ap-card/index.mjs";
|
|
79
|
+
import { ApExpandAlert as sr } from "./src/business/ap-expand-alert/index.mjs";
|
|
80
|
+
import { ApExportGroupActionType as ir } from "./src/business/ap-export-group/interface.mjs";
|
|
81
|
+
import { ApExportGroup as Fr } from "./src/business/ap-export-group/index.mjs";
|
|
82
|
+
import { handleExportDownload as br } from "./src/business/ap-export-group/handleExportDownload.mjs";
|
|
83
|
+
import { convertExportField as Cr } from "./src/business/ap-export-group/convertExportField.mjs";
|
|
84
|
+
import { ApImage as gr } from "./src/business/ap-image/index.mjs";
|
|
85
|
+
import { ApInputRadio as hr } from "./src/business/ap-input-radio/index.mjs";
|
|
86
|
+
import { ApLabel as Pr, ApLabelGroup as Er } from "./src/business/ap-label/index.mjs";
|
|
87
|
+
import { locales as Mr } from "./src/business/ap-ladder/interface.mjs";
|
|
88
|
+
import { ApLadder as yr } from "./src/business/ap-ladder/index.mjs";
|
|
89
|
+
import { ApSelectLayout as Rr } from "./src/business/ap-select-layout/index.mjs";
|
|
90
|
+
import { ApStatus as vr, ApStatusGroup as Br } from "./src/business/ap-status/index.mjs";
|
|
91
|
+
import { ApTitle as Ur } from "./src/business/ap-title/index.mjs";
|
|
92
|
+
import { usePageListApTable as Wr } from "./src/business/hooks/usePageListApTable.mjs";
|
|
93
|
+
import { useTableRefresh as zr } from "./src/business/hooks/useTableRefresh.mjs";
|
|
94
|
+
import { computedRecords as Vr, flattenColumns as $r, formatDataIndex as jr, formatNumber as qr } from "./src/business/ap-summary/utils.mjs";
|
|
95
|
+
import { ApSummary as Qr } from "./src/business/ap-summary/index.mjs";
|
|
96
|
+
import { ApNeedNameKeyDefault as Yr } from "./src/business/ap-appendix/interface.mjs";
|
|
97
|
+
import { ApAppendix as ot } from "./src/business/ap-appendix/index.mjs";
|
|
98
|
+
import { ApExtensionSelect as rt, ApGroupSearch as tt, ApPopoverSelect as pt } from "./src/business/ap-group-search/index.mjs";
|
|
99
|
+
import { default as ft } from "./src/business/ap-upload-file/ap-upload-single/ap-upload-single.vue.mjs";
|
|
100
|
+
import { default as lt } from "./src/business/batch-input-group/index.vue.mjs";
|
|
101
|
+
import { default as dt } from "./src/business/batch-input-group/form-item.vue.mjs";
|
|
102
|
+
import { ApSizeInput as At } from "./src/business/ap-size-input/index.mjs";
|
|
103
|
+
import { useTablePaging as nt } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
104
|
+
import { ApTable as ct } from "./src/ap-table/index.mjs";
|
|
105
|
+
import { default as It } from "./src/editable-table/index.vue.mjs";
|
|
106
|
+
import { default as Tt } from "./src/editable-table/form-item.vue.mjs";
|
|
107
|
+
import { default as Dt } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
|
|
108
|
+
import { ApScrollBar as St } from "./src/ap-scroll-bar/index.mjs";
|
|
109
|
+
import { useMessage as Gt } from "./src/hooks/useMessage.mjs";
|
|
110
|
+
import { useControllableValue as Et } from "./src/hooks/useControllableValue.mjs";
|
|
109
111
|
const a = {
|
|
110
112
|
install: (r) => {
|
|
111
113
|
for (const t in e) {
|
|
@@ -116,46 +118,47 @@ const a = {
|
|
|
116
118
|
};
|
|
117
119
|
export {
|
|
118
120
|
R as APConfigProvider,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
121
|
+
Ve as ApActionButton,
|
|
122
|
+
Ae as ApActionGroup,
|
|
123
|
+
pe as ApActionItem,
|
|
124
|
+
de as ApActionItemDropdown,
|
|
125
|
+
fe as ApActionItemModal,
|
|
126
|
+
le as ApActionItemPopconfirm,
|
|
127
|
+
ot as ApAppendix,
|
|
128
|
+
tr as ApAttachment,
|
|
129
|
+
ar as ApBatchAction,
|
|
130
|
+
mr as ApBatchActionGroup,
|
|
131
|
+
ze as ApButton,
|
|
132
|
+
xr as ApButtonGroup,
|
|
133
|
+
ur as ApCard,
|
|
134
|
+
Dt as ApDescriptions,
|
|
135
|
+
Ne as ApDownLoadNeedNameKeyDefault,
|
|
136
|
+
we as ApDownload,
|
|
137
|
+
je as ApDrawer,
|
|
138
|
+
sr as ApExpandAlert,
|
|
139
|
+
Fr as ApExportGroup,
|
|
140
|
+
ir as ApExportGroupActionType,
|
|
141
|
+
rt as ApExtensionSelect,
|
|
142
|
+
Po as ApField,
|
|
143
|
+
No as ApFieldCheckbox,
|
|
144
|
+
wo as ApFieldDate,
|
|
145
|
+
zo as ApFieldDateRange,
|
|
146
|
+
ko as ApFieldNumber,
|
|
147
|
+
jo as ApFieldPassword,
|
|
148
|
+
Bo as ApFieldRadio,
|
|
149
|
+
Zo as ApFieldRate,
|
|
150
|
+
Xo as ApFieldSegmented,
|
|
151
|
+
Vo as ApFieldSelect,
|
|
152
|
+
Jo as ApFieldSlider,
|
|
153
|
+
Uo as ApFieldSwitch,
|
|
154
|
+
Lo as ApFieldText,
|
|
155
|
+
Wo as ApFieldTextArea,
|
|
154
156
|
ro as ApForm,
|
|
155
157
|
Co as ApFormControlRender,
|
|
156
158
|
io as ApFormDependency,
|
|
157
159
|
bo as ApFormDrawerForm,
|
|
158
160
|
po as ApFormItem,
|
|
161
|
+
dt as ApFormItemBatchInput,
|
|
159
162
|
Y as ApFormItemCheckbox,
|
|
160
163
|
_ as ApFormItemDate,
|
|
161
164
|
H as ApFormItemDateRange,
|
|
@@ -170,77 +173,78 @@ export {
|
|
|
170
173
|
oo as ApFormItemTextPassword,
|
|
171
174
|
lo as ApFormList,
|
|
172
175
|
so as ApFormModalForm,
|
|
176
|
+
ho as ApFormProvider,
|
|
173
177
|
uo as ApFormSearchForm,
|
|
174
178
|
Fo as ApFormSet,
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
179
|
+
tt as ApGroupSearch,
|
|
180
|
+
gr as ApImage,
|
|
181
|
+
he as ApInfoLayout,
|
|
182
|
+
hr as ApInputRadio,
|
|
183
|
+
Pr as ApLabel,
|
|
184
|
+
Er as ApLabelGroup,
|
|
185
|
+
yr as ApLadder,
|
|
186
|
+
We as ApList,
|
|
187
|
+
Ue as ApModal,
|
|
188
|
+
Yr as ApNeedNameKeyDefault,
|
|
189
|
+
pt as ApPopoverSelect,
|
|
190
|
+
St as ApScrollBar,
|
|
191
|
+
Rr as ApSelectLayout,
|
|
192
|
+
At as ApSizeInput,
|
|
193
|
+
vr as ApStatus,
|
|
194
|
+
Br as ApStatusGroup,
|
|
195
|
+
Qr as ApSummary,
|
|
196
|
+
ct as ApTable,
|
|
197
|
+
Xe as ApTableModal,
|
|
198
|
+
Ce as ApTag,
|
|
199
|
+
ge as ApTagGroup,
|
|
200
|
+
Ur as ApTitle,
|
|
201
|
+
Je as ApTransformDataHelper,
|
|
202
|
+
Le as ApUpload,
|
|
203
|
+
ft as ApUploadSingle,
|
|
204
|
+
lt as BatchInputGroup,
|
|
205
|
+
ke as CheckCard,
|
|
206
|
+
Be as CheckCardGroup,
|
|
207
|
+
N as ConfigProvider,
|
|
204
208
|
A as DEFAULT_NAMESPACE,
|
|
205
209
|
s as DEFAULT_UIMODE,
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
210
|
+
ne as DictCode,
|
|
211
|
+
It as EditableTable,
|
|
212
|
+
Tt as EditableTableFormItem,
|
|
213
|
+
Pe as NeedNameKeyDefault,
|
|
214
|
+
be as WorkOrderModal,
|
|
215
|
+
ee as adminToken,
|
|
216
|
+
re as aplusToken,
|
|
213
217
|
T as buildLocaleContext,
|
|
214
218
|
C as buildTranslator,
|
|
215
|
-
|
|
219
|
+
Vr as computedRecords,
|
|
216
220
|
n as configProviderContextKey,
|
|
217
221
|
d as configProviderProps,
|
|
218
|
-
|
|
219
|
-
|
|
222
|
+
Cr as convertExportField,
|
|
223
|
+
Fe as createWorkOrderModal,
|
|
220
224
|
a as default,
|
|
221
225
|
G as defaultNamespace,
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
226
|
+
$r as flattenColumns,
|
|
227
|
+
jr as formatDataIndex,
|
|
228
|
+
qr as formatNumber,
|
|
225
229
|
y as globalConfigCached,
|
|
226
|
-
|
|
230
|
+
br as handleExportDownload,
|
|
227
231
|
c as keysOf,
|
|
228
|
-
|
|
232
|
+
ie as langMap,
|
|
229
233
|
D as localeContextKey,
|
|
230
|
-
|
|
231
|
-
|
|
234
|
+
Mr as locales,
|
|
235
|
+
P as namespaceContextKey,
|
|
232
236
|
l as pathMap,
|
|
233
237
|
F as provideGlobalConfig,
|
|
234
238
|
g as translate,
|
|
235
|
-
|
|
236
|
-
|
|
239
|
+
Et as useControllableValue,
|
|
240
|
+
E as useGetDerivedNamespace,
|
|
237
241
|
I as useGlobalConfig,
|
|
238
242
|
S as useLocale,
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
243
|
+
Gt as useMessage,
|
|
244
|
+
L as useNamespace,
|
|
245
|
+
Wr as usePageListApTable,
|
|
246
|
+
Ze as useTableModal,
|
|
247
|
+
nt as useTablePaging,
|
|
248
|
+
zr as useTableRefresh,
|
|
249
|
+
er as useTableSelectModal
|
|
246
250
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@aplus-frontend/ui-theme/src/ap-field/radio.less';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApFormProps,
|
|
1
|
+
import { ApFormProps, WatchFunc, ApFormInternalInstance } from './interface';
|
|
2
2
|
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
3
3
|
import { Recordable } from '../type';
|
|
4
4
|
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, HTMLAttributes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent } from 'vue';
|
|
@@ -9,19 +9,6 @@ import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
|
9
9
|
import { Options } from '../../node_modules/scroll-into-view-if-needed';
|
|
10
10
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
11
11
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
12
|
-
/**
|
|
13
|
-
* 订阅事件
|
|
14
|
-
*/
|
|
15
|
-
declare function registerWatch(callback: WatchFunc, inner: boolean): () => void;
|
|
16
|
-
/**
|
|
17
|
-
* 注册表单项
|
|
18
|
-
* @param field
|
|
19
|
-
*/
|
|
20
|
-
declare function registerField({ initialValue, name, transform }: RegistedFieldType): void;
|
|
21
|
-
declare function getInternalInstance(mark: string): {
|
|
22
|
-
registerField: typeof registerField;
|
|
23
|
-
registerWatch: typeof registerWatch;
|
|
24
|
-
} | undefined;
|
|
25
12
|
declare function __VLS_template(): {
|
|
26
13
|
attrs: Partial<{}>;
|
|
27
14
|
slots: {
|
|
@@ -667,24 +654,18 @@ declare function __VLS_template(): {
|
|
|
667
654
|
};
|
|
668
655
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
669
656
|
declare const __VLS_component: DefineComponent<ApFormProps, {
|
|
657
|
+
setFieldsValue: (fields: Partial<any>) => void;
|
|
658
|
+
setFieldValue: (name: NamePath, value: any, triggerChange?: boolean) => void;
|
|
670
659
|
resetFields: () => Promise<void>;
|
|
671
|
-
clearValidate: (name?: NamePath
|
|
672
|
-
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
}> | undefined;
|
|
681
|
-
scrollToField: (name: NamePath, options?: {}) => void;
|
|
682
|
-
setFieldsValue: (values: Record<string, any>) => void;
|
|
683
|
-
setFieldValue: (name: NamePath, newValue: any, triggerChange?: boolean) => void;
|
|
684
|
-
registerWatch: typeof registerWatch;
|
|
685
|
-
validateFieldsReturnTransformed: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<any>;
|
|
686
|
-
getFieldsValueTransformed: (nameList?: InternalNamePath[] | true) => any;
|
|
687
|
-
getInternalInstance: typeof getInternalInstance;
|
|
660
|
+
clearValidate: (name?: NamePath) => void;
|
|
661
|
+
validateFields: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<Partial<any>> | undefined;
|
|
662
|
+
getFieldsValue: (nameList?: true | InternalNamePath[]) => Partial<any> | undefined;
|
|
663
|
+
validate: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<Partial<any>> | undefined;
|
|
664
|
+
scrollToField: (name: NamePath, options?: any) => void;
|
|
665
|
+
getInternalInstance: (mark: string) => ApFormInternalInstance | undefined;
|
|
666
|
+
validateFieldsReturnTransformed: (nameList?: NamePath[] | string, options?: ValidateOptions) => Promise<Partial<any>> | undefined;
|
|
667
|
+
getFieldsValueTransformed: (nameList?: true | InternalNamePath[]) => Partial<any> | undefined;
|
|
668
|
+
registerWatch: (callback: WatchFunc, inner: boolean) => () => void;
|
|
688
669
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ApFormProps> & Readonly<{}>, {
|
|
689
670
|
layout: string;
|
|
690
671
|
colon: boolean;
|