@aplus-frontend/ui 0.0.1-beta.39 → 0.0.1-beta.40
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 +104 -98
- package/es/src/ap-action/item-popconfirm/index.vue.d.ts +343 -0
- package/es/src/ap-custom-column/column-select.vue.mjs +19 -19
- package/es/src/ap-field/select/index.vue.d.ts +235 -0
- package/es/src/ap-form/interface.d.ts +1 -0
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +47 -0
- package/es/src/ap-form/items/checkbox/index.vue.mjs +61 -0
- package/es/src/ap-form/items/checkbox/index.vue2.mjs +4 -0
- package/es/src/ap-form/items/index.d.ts +2 -1
- package/es/src/ap-form/items/index.mjs +1 -0
- package/es/src/ap-form/items/interface.d.ts +5 -1
- package/es/src/ap-form/modal-form/index.vue.d.ts +378 -0
- package/es/src/ap-form/search-form/index.vue.mjs +48 -44
- package/es/src/ap-table/ap-table.vue.d.ts +184 -0
- package/es/src/ap-table/ap-table.vue.mjs +258 -0
- package/es/src/ap-table/ap-table.vue2.mjs +4 -0
- package/es/src/ap-table/components/index/index.vue.d.ts +28 -0
- package/es/src/ap-table/components/index/index.vue.mjs +4 -0
- package/es/src/ap-table/components/index/index.vue2.mjs +21 -0
- package/es/src/ap-table/components/interface.d.ts +10 -0
- package/es/src/ap-table/components/style/index.css +12 -0
- package/es/src/ap-table/constants.d.ts +11075 -0
- package/es/src/ap-table/constants.mjs +55 -0
- package/es/src/ap-table/hooks/use-table-paging.d.ts +5 -1
- package/es/src/ap-table/hooks/use-table-paging.mjs +142 -0
- package/es/src/ap-table/index.d.ts +5 -0
- package/es/src/ap-table/index.mjs +6 -0
- package/es/src/ap-table/interface.d.ts +41 -14
- package/es/src/ap-table/interface.mjs +1 -0
- package/es/src/ap-table/style/ap-table.css +26 -0
- package/es/src/ap-table/utils.mjs +35 -0
- package/es/src/config-provider/config-provider-props.d.ts +152 -0
- package/es/src/config-provider/config-provider.d.ts +323 -0
- package/es/src/config-provider/config-provider.mjs +26 -34
- package/es/src/config-provider/hooks/use-global-config.d.ts +154 -0
- package/es/src/config-provider/index.d.ts +691 -0
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +206 -199
- package/es/src/modal/basic.vue.d.ts +464 -0
- package/es/src/modal/components/modal-footer.vue.d.ts +457 -0
- package/es/src/modal/components/modal.d.ts +443 -0
- package/es/src/modal/index.d.ts +963 -0
- package/es/src/modal/props.d.ts +283 -0
- package/es/src/pro-form/hooks/use-label-width.d.ts +312 -0
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +82 -2
- package/es/src/theme/ap-table/ap-table-index.css +12 -0
- package/es/src/theme/ap-table/ap-table.css +26 -0
- package/es/src/theme/work-order-modal/index.css +2 -2
- package/es/src/work-order-modal/style/index.css +2 -2
- package/es/src/work-order-modal/work-order-modal.vue.mjs +35 -25
- package/lib/index.js +1 -1
- package/lib/src/ap-action/item-popconfirm/index.vue.d.ts +343 -0
- package/lib/src/ap-custom-column/column-select.vue.js +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +235 -0
- package/lib/src/ap-form/interface.d.ts +1 -0
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +47 -0
- package/lib/src/ap-form/items/checkbox/index.vue.js +1 -0
- package/lib/src/ap-form/items/checkbox/index.vue2.js +1 -0
- package/lib/src/ap-form/items/index.d.ts +2 -1
- package/lib/src/ap-form/items/index.js +1 -1
- package/lib/src/ap-form/items/interface.d.ts +5 -1
- package/lib/src/ap-form/modal-form/index.vue.d.ts +378 -0
- package/lib/src/ap-form/search-form/index.vue.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +184 -0
- package/lib/src/ap-table/ap-table.vue.js +1 -0
- package/lib/src/ap-table/ap-table.vue2.js +1 -0
- package/lib/src/ap-table/components/index/index.vue.d.ts +28 -0
- package/lib/src/ap-table/components/index/index.vue.js +1 -0
- package/lib/src/ap-table/components/index/index.vue2.js +1 -0
- package/lib/src/ap-table/components/interface.d.ts +10 -0
- package/lib/src/ap-table/components/style/index.css +12 -0
- package/lib/src/ap-table/constants.d.ts +11075 -0
- package/lib/src/ap-table/constants.js +1 -0
- package/lib/src/ap-table/hooks/use-table-paging.d.ts +5 -1
- package/lib/src/ap-table/hooks/use-table-paging.js +1 -0
- package/lib/src/ap-table/index.d.ts +5 -0
- package/lib/src/ap-table/index.js +1 -0
- package/lib/src/ap-table/interface.d.ts +41 -14
- package/lib/src/ap-table/interface.js +1 -0
- package/lib/src/ap-table/style/ap-table.css +26 -0
- package/lib/src/ap-table/utils.js +1 -0
- package/lib/src/config-provider/config-provider-props.d.ts +152 -0
- package/lib/src/config-provider/config-provider.d.ts +323 -0
- package/lib/src/config-provider/config-provider.js +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +154 -0
- package/lib/src/config-provider/index.d.ts +691 -0
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/modal/basic.vue.d.ts +464 -0
- package/lib/src/modal/components/modal-footer.vue.d.ts +457 -0
- package/lib/src/modal/components/modal.d.ts +443 -0
- package/lib/src/modal/index.d.ts +963 -0
- package/lib/src/modal/props.d.ts +283 -0
- package/lib/src/pro-form/hooks/use-label-width.d.ts +312 -0
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +82 -2
- package/lib/src/theme/ap-table/ap-table-index.css +12 -0
- package/lib/src/theme/ap-table/ap-table.css +26 -0
- package/lib/src/theme/work-order-modal/index.css +2 -2
- package/lib/src/work-order-modal/style/index.css +2 -2
- package/lib/src/work-order-modal/work-order-modal.vue.js +1 -1
- package/package.json +1 -1
package/es/index.mjs
CHANGED
|
@@ -4,10 +4,10 @@ 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 i, tableDefaultConfig as u } from "./src/config-provider/constants.mjs";
|
|
6
6
|
import { keysOf as A, provideGlobalConfig as T, useGlobalConfig as F } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
7
|
-
import { buildLocaleContext as S, buildTranslator as I, localeContextKey as
|
|
8
|
-
import { defaultNamespace as v, namespaceContextKey as R, useGetDerivedNamespace as M, useNamespace as
|
|
9
|
-
import { ConfigProvider as
|
|
10
|
-
import { APConfigProvider 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
|
+
import { defaultNamespace as v, namespaceContextKey as R, useGetDerivedNamespace as M, useNamespace as h } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
9
|
+
import { ConfigProvider as k } from "./src/config-provider/config-provider.mjs";
|
|
10
|
+
import { APConfigProvider as G } from "./src/config-provider/index.mjs";
|
|
11
11
|
import { Scrollbar as y } from "./src/scroll-bar/index.mjs";
|
|
12
12
|
import { CollapseContainer as X, ScrollContainer as K } from "./src/container/index.mjs";
|
|
13
13
|
import { IconPicker as E } from "./src/icon-picker/index.mjs";
|
|
@@ -20,12 +20,12 @@ import { useDescription as io } from "./src/description/use-description.mjs";
|
|
|
20
20
|
import { Description as co } from "./src/description/index.mjs";
|
|
21
21
|
import { useComponentRegister as To } from "./src/pro-form/hooks/use-component-register.mjs";
|
|
22
22
|
import { useForm as Co } from "./src/pro-form/hooks/use-form.mjs";
|
|
23
|
-
import { isComponentFormSchema as Io, isSlotFormSchema as
|
|
23
|
+
import { isComponentFormSchema as Io, isSlotFormSchema as bo } from "./src/pro-form/types/form.mjs";
|
|
24
24
|
import { Field as Po } from "./src/pro-form/index.mjs";
|
|
25
25
|
import { default as vo } from "./src/pro-form/components/api-cascader.vue.mjs";
|
|
26
26
|
import { default as Mo } from "./src/pro-form/components/api-radio-group.vue.mjs";
|
|
27
|
-
import { default as
|
|
28
|
-
import { default as
|
|
27
|
+
import { default as Bo } from "./src/pro-form/components/api-select.vue.mjs";
|
|
28
|
+
import { default as wo } from "./src/pro-form/components/api-transfer.vue.mjs";
|
|
29
29
|
import { default as No } from "./src/pro-form/components/api-tree.vue.mjs";
|
|
30
30
|
import { default as Lo } from "./src/pro-form/components/radio-button-group.vue.mjs";
|
|
31
31
|
import { default as Ko } from "./src/pro-form/pro-form.vue.mjs";
|
|
@@ -46,53 +46,56 @@ import { Dropdown as ce } from "./src/dropdown/index.mjs";
|
|
|
46
46
|
import { default as Te } from "./src/pro-table/pro-table.vue.mjs";
|
|
47
47
|
import { default as Ce } from "./src/pro-table/components/table-action.vue.mjs";
|
|
48
48
|
import { default as Ie } from "./src/pro-table/components/edit-table-header-icon.vue.mjs";
|
|
49
|
-
import { default as
|
|
49
|
+
import { default as ge } from "./src/pro-table/components/table-image.vue.mjs";
|
|
50
50
|
import { useTable as De } from "./src/pro-table/hooks/use-table.mjs";
|
|
51
51
|
import { default as Re } from "./src/ap-form/items/text/index.vue.mjs";
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as
|
|
52
|
+
import { default as he } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
53
|
+
import { default as ke } from "./src/ap-form/items/number/index.vue.mjs";
|
|
54
|
+
import { default as Ge } from "./src/ap-form/items/date/index.vue.mjs";
|
|
55
55
|
import { default as ye } from "./src/ap-form/items/date-range/index.vue.mjs";
|
|
56
56
|
import { default as Xe } from "./src/ap-form/items/radio/index.vue.mjs";
|
|
57
57
|
import { default as Ye } from "./src/ap-form/items/select/index.vue.mjs";
|
|
58
58
|
import { default as Oe } from "./src/ap-form/items/switch/index.vue.mjs";
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import { default as $e } from "./src/ap-form/ap-form-item
|
|
62
|
-
import { default as qe } from "./src/ap-form/ap-form-
|
|
63
|
-
import { default as Qe } from "./src/ap-form/
|
|
64
|
-
import { default as _e } from "./src/ap-form/
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import { default as pr } from "./src/ap-field/
|
|
68
|
-
import { default as mr } from "./src/ap-field/
|
|
69
|
-
import { default as sr } from "./src/ap-field/
|
|
70
|
-
import { default as xr } from "./src/ap-field/
|
|
71
|
-
import { default as ir } from "./src/ap-field/
|
|
72
|
-
import { default as cr } from "./src/ap-field/
|
|
73
|
-
import { default as Tr } from "./src/ap-field/
|
|
74
|
-
import { default as Cr } from "./src/ap-field/
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import { default as Mr } from "./src/ap-action/item-
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import { default as Er } from "./src/ap-custom-column/column
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import { default as jr } from "./src/
|
|
89
|
-
import { default as Jr } from "./src/ap-tag/ap-tag
|
|
90
|
-
import { default as Zr } from "./src/ap-
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import { default as at } from "./src/ap-
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
59
|
+
import { default as We } from "./src/ap-form/items/checkbox/index.vue.mjs";
|
|
60
|
+
import { ApForm as Ue } from "./src/ap-form/index.mjs";
|
|
61
|
+
import { default as $e } from "./src/ap-form/ap-form-item.vue.mjs";
|
|
62
|
+
import { default as qe } from "./src/ap-form/ap-form-item-group/index.vue.mjs";
|
|
63
|
+
import { default as Qe } from "./src/ap-form/ap-form-list.vue.mjs";
|
|
64
|
+
import { default as _e } from "./src/ap-form/search-form/index.vue.mjs";
|
|
65
|
+
import { default as er } from "./src/ap-form/modal-form/index.vue.mjs";
|
|
66
|
+
import { ApField as tr } from "./src/ap-field/index.mjs";
|
|
67
|
+
import { default as pr } from "./src/ap-field/text/index.vue.mjs";
|
|
68
|
+
import { default as mr } from "./src/ap-field/checkbox/index.vue.mjs";
|
|
69
|
+
import { default as sr } from "./src/ap-field/date/index.vue.mjs";
|
|
70
|
+
import { default as xr } from "./src/ap-field/number/index.vue.mjs";
|
|
71
|
+
import { default as ir } from "./src/ap-field/radio/index.vue.mjs";
|
|
72
|
+
import { default as cr } from "./src/ap-field/switch/index.vue.mjs";
|
|
73
|
+
import { default as Tr } from "./src/ap-field/text-area/index.vue.mjs";
|
|
74
|
+
import { default as Cr } from "./src/ap-field/date-range/index.vue.mjs";
|
|
75
|
+
import { default as Ir } from "./src/ap-field/select/index.vue.mjs";
|
|
76
|
+
import { adminToken as gr, aplusToken as Pr } from "./src/design-token/index.mjs";
|
|
77
|
+
import { ApActionItem as vr } from "./src/ap-action/index.mjs";
|
|
78
|
+
import { default as Mr } from "./src/ap-action/item-modal/index.vue.mjs";
|
|
79
|
+
import { default as Br } from "./src/ap-action/item-popconfirm/index.vue.mjs";
|
|
80
|
+
import { default as wr } from "./src/ap-action/item-dropdown/index.vue.mjs";
|
|
81
|
+
import { default as Nr } from "./src/ap-action/group/index.vue.mjs";
|
|
82
|
+
import { generateTableList as Lr } from "./src/ap-custom-column/utils.mjs";
|
|
83
|
+
import { useCacheColumnSetting as Kr } from "./src/ap-custom-column/useCacheColumnSetting.mjs";
|
|
84
|
+
import { default as Er } from "./src/ap-custom-column/custom-column.vue.mjs";
|
|
85
|
+
import { default as Hr } from "./src/ap-custom-column/column-select.vue.mjs";
|
|
86
|
+
import { DictCode as zr } from "./src/work-order-modal/interfaces.mjs";
|
|
87
|
+
import { createWorkOrderModal as Vr } from "./src/work-order-modal/createWorkOrder.mjs";
|
|
88
|
+
import { default as jr } from "./src/work-order-modal/work-order-modal.vue.mjs";
|
|
89
|
+
import { default as Jr } from "./src/ap-tag/ap-tag.vue.mjs";
|
|
90
|
+
import { default as Zr } from "./src/ap-tag/ap-tag-group.vue.mjs";
|
|
91
|
+
import { default as ot } from "./src/ap-layout/ap-info-layout/ap-info-layout.vue.mjs";
|
|
92
|
+
import { NeedNameKeyDefault as rt } from "./src/ap-upload/apUploadTypes.mjs";
|
|
93
|
+
import { default as at } from "./src/ap-upload/apUpload.vue.mjs";
|
|
94
|
+
import { default as ft } from "./src/ap-download/ap-download.vue.mjs";
|
|
95
|
+
import { useTablePaging as lt } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
96
|
+
import { default as dt } from "./src/ap-table/ap-table.vue.mjs";
|
|
97
|
+
import { useMessage as nt } from "./src/hooks/useMessage.mjs";
|
|
98
|
+
import { useControllableValue as ut } from "./src/hooks/useControllableValue.mjs";
|
|
96
99
|
const p = {
|
|
97
100
|
install: (r) => {
|
|
98
101
|
for (const t in e) {
|
|
@@ -102,47 +105,49 @@ const p = {
|
|
|
102
105
|
}
|
|
103
106
|
};
|
|
104
107
|
export {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
108
|
+
G as APConfigProvider,
|
|
109
|
+
Nr as ApActionGroup,
|
|
110
|
+
vr as ApActionItem,
|
|
111
|
+
wr as ApActionItemDropdown,
|
|
112
|
+
Mr as ApActionItemModal,
|
|
113
|
+
Br as ApActionItemPopconfirm,
|
|
114
|
+
Er as ApCustomColumn,
|
|
115
|
+
Hr as ApCustomSelect,
|
|
116
|
+
ft as ApDownload,
|
|
117
|
+
tr as ApField,
|
|
118
|
+
mr as ApFieldCheckbox,
|
|
119
|
+
sr as ApFieldDate,
|
|
120
|
+
Cr as ApFieldDateRange,
|
|
121
|
+
xr as ApFieldNumber,
|
|
122
|
+
ir as ApFieldRadio,
|
|
123
|
+
Ir as ApFieldSelect,
|
|
124
|
+
cr as ApFieldSwitch,
|
|
125
|
+
pr as ApFieldText,
|
|
126
|
+
Tr as ApFieldTextArea,
|
|
127
|
+
Ue as ApForm,
|
|
128
|
+
$e as ApFormItem,
|
|
129
|
+
We as ApFormItemCheckbox,
|
|
130
|
+
Ge as ApFormItemDate,
|
|
127
131
|
ye as ApFormItemDateRange,
|
|
128
|
-
|
|
129
|
-
|
|
132
|
+
qe as ApFormItemGroup,
|
|
133
|
+
ke as ApFormItemNumber,
|
|
130
134
|
Xe as ApFormItemRadio,
|
|
131
135
|
Ye as ApFormItemSelect,
|
|
132
136
|
Oe as ApFormItemSwitch,
|
|
133
137
|
Re as ApFormItemText,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
Jr as
|
|
141
|
-
|
|
138
|
+
he as ApFormItemTextArea,
|
|
139
|
+
Qe as ApFormList,
|
|
140
|
+
er as ApFormModalForm,
|
|
141
|
+
_e as ApFormSearchForm,
|
|
142
|
+
ot as ApInfoLayout,
|
|
143
|
+
dt as ApTable,
|
|
144
|
+
Jr as ApTag,
|
|
145
|
+
Zr as ApTagGroup,
|
|
146
|
+
at as ApUpload,
|
|
142
147
|
vo as ApiCascader,
|
|
143
148
|
Mo as ApiRadioGroup,
|
|
144
|
-
|
|
145
|
-
|
|
149
|
+
Bo as ApiSelect,
|
|
150
|
+
wo as ApiTransfer,
|
|
146
151
|
No as ApiTree,
|
|
147
152
|
Eo as ApiTreeSelect,
|
|
148
153
|
Jo as BaseButton,
|
|
@@ -152,13 +157,13 @@ export {
|
|
|
152
157
|
j as BasicTitle,
|
|
153
158
|
X as CollapseContainer,
|
|
154
159
|
J as CollapseTransition,
|
|
155
|
-
|
|
160
|
+
k as ConfigProvider,
|
|
156
161
|
de as CountdownButton,
|
|
157
162
|
xe as CountdownInput,
|
|
158
163
|
me as CropperAvatar,
|
|
159
164
|
le as CropperImage,
|
|
160
165
|
co as Description,
|
|
161
|
-
|
|
166
|
+
zr as DictCode,
|
|
162
167
|
ce as Dropdown,
|
|
163
168
|
Ie as EditTableHeaderIcon,
|
|
164
169
|
Z as ExpandTransition,
|
|
@@ -168,7 +173,7 @@ export {
|
|
|
168
173
|
l as Icon,
|
|
169
174
|
E as IconPicker,
|
|
170
175
|
Vo as ModalButton,
|
|
171
|
-
|
|
176
|
+
rt as NeedNameKeyDefault,
|
|
172
177
|
jo as PopConfirmButton,
|
|
173
178
|
Ko as ProForm,
|
|
174
179
|
Te as ProTable,
|
|
@@ -190,41 +195,42 @@ export {
|
|
|
190
195
|
Zo as StrengthMeter,
|
|
191
196
|
s as SvgIcon,
|
|
192
197
|
Ce as TableAction,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
198
|
+
ge as TableImg,
|
|
199
|
+
jr as WorkOrderModal,
|
|
200
|
+
gr as adminToken,
|
|
201
|
+
Pr as aplusToken,
|
|
197
202
|
S as buildLocaleContext,
|
|
198
203
|
I as buildTranslator,
|
|
199
204
|
i as configProviderContextKey,
|
|
200
205
|
x as configProviderProps,
|
|
201
206
|
ie as createPrompt,
|
|
202
|
-
|
|
207
|
+
Vr as createWorkOrderModal,
|
|
203
208
|
p as default,
|
|
204
209
|
v as defaultNamespace,
|
|
205
210
|
z as en,
|
|
206
|
-
|
|
211
|
+
Lr as generateTableList,
|
|
207
212
|
Io as isComponentFormSchema,
|
|
208
|
-
|
|
213
|
+
bo as isSlotFormSchema,
|
|
209
214
|
A as keysOf,
|
|
210
|
-
|
|
215
|
+
b as localeContextKey,
|
|
211
216
|
R as namespaceContextKey,
|
|
212
217
|
T as provideGlobalConfig,
|
|
213
218
|
u as tableDefaultConfig,
|
|
214
|
-
|
|
215
|
-
|
|
219
|
+
g as translate,
|
|
220
|
+
Kr as useCacheColumnSetting,
|
|
216
221
|
To as useComponentRegister,
|
|
217
|
-
|
|
222
|
+
ut as useControllableValue,
|
|
218
223
|
io as useDescription,
|
|
219
224
|
Co as useForm,
|
|
220
225
|
M as useGetDerivedNamespace,
|
|
221
226
|
F as useGlobalConfig,
|
|
222
227
|
P as useLocale,
|
|
223
|
-
|
|
228
|
+
nt as useMessage,
|
|
224
229
|
re as useModal,
|
|
225
230
|
oe as useModalContext,
|
|
226
231
|
te as useModalInner,
|
|
227
|
-
|
|
232
|
+
h as useNamespace,
|
|
228
233
|
De as useTable,
|
|
234
|
+
lt as useTablePaging,
|
|
229
235
|
H as zhCn
|
|
230
236
|
};
|
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
import { ApActionItemPopconfirmProps, ActionColor } from '../interface';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, HTMLAttributes, CSSProperties } from 'vue';
|
|
3
|
+
import { LegacyButtonType, ButtonHTMLType } from 'ant-design-vue/es/button/buttonTypes';
|
|
4
|
+
import { ButtonType, ButtonShape, ButtonSize } from 'ant-design-vue/es/button';
|
|
5
|
+
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
6
|
+
import { MouseEventHandler } from 'ant-design-vue/es/_util/EventInterface';
|
|
7
|
+
import { TriggerType } from 'ant-design-vue/es/tooltip/abstractTooltipProps';
|
|
8
|
+
import { TooltipPlacement, AdjustOverflow } from 'ant-design-vue/es/tooltip';
|
|
9
|
+
import { LiteralUnion } from 'ant-design-vue/es/_util/type';
|
|
10
|
+
import { PresetColorType } from 'ant-design-vue/es/_util/colors';
|
|
11
|
+
import { AlignType, BuildInPlacements } from 'ant-design-vue/es/vc-trigger/interface';
|
|
12
|
+
|
|
13
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApActionItemPopconfirmProps>, {
|
|
14
|
+
color: string;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
visible: boolean;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
popconfirmProps: () => {};
|
|
19
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApActionItemPopconfirmProps>, {
|
|
20
|
+
color: string;
|
|
21
|
+
disabled: boolean;
|
|
22
|
+
visible: boolean;
|
|
23
|
+
loading: boolean;
|
|
24
|
+
popconfirmProps: () => {};
|
|
25
|
+
}>>>, {
|
|
26
|
+
color: ActionColor;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
visible: boolean;
|
|
29
|
+
loading: boolean;
|
|
30
|
+
popconfirmProps: Partial< ExtractPropTypes<{
|
|
31
|
+
prefixCls: StringConstructor;
|
|
32
|
+
content: {
|
|
33
|
+
default: any;
|
|
34
|
+
type: PropType<any>;
|
|
35
|
+
};
|
|
36
|
+
title: {
|
|
37
|
+
default: string | number;
|
|
38
|
+
type: PropType<string | number>;
|
|
39
|
+
};
|
|
40
|
+
description: {
|
|
41
|
+
default: string | number;
|
|
42
|
+
type: PropType<string | number>;
|
|
43
|
+
};
|
|
44
|
+
okType: {
|
|
45
|
+
type: PropType<LegacyButtonType>;
|
|
46
|
+
default: LegacyButtonType;
|
|
47
|
+
};
|
|
48
|
+
disabled: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
okText: {
|
|
53
|
+
default: any;
|
|
54
|
+
type: PropType<any>;
|
|
55
|
+
};
|
|
56
|
+
cancelText: {
|
|
57
|
+
default: any;
|
|
58
|
+
type: PropType<any>;
|
|
59
|
+
};
|
|
60
|
+
icon: {
|
|
61
|
+
default: any;
|
|
62
|
+
type: PropType<any>;
|
|
63
|
+
};
|
|
64
|
+
okButtonProps: {
|
|
65
|
+
type: PropType<Partial< ExtractPropTypes<{
|
|
66
|
+
prefixCls: StringConstructor;
|
|
67
|
+
type: PropType<ButtonType>;
|
|
68
|
+
htmlType: {
|
|
69
|
+
type: PropType<ButtonHTMLType>;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
shape: {
|
|
73
|
+
type: PropType<ButtonShape>;
|
|
74
|
+
};
|
|
75
|
+
size: {
|
|
76
|
+
type: PropType<ButtonSize>;
|
|
77
|
+
};
|
|
78
|
+
loading: {
|
|
79
|
+
type: PropType<boolean | {
|
|
80
|
+
delay?: number | undefined;
|
|
81
|
+
}>;
|
|
82
|
+
default: () => boolean | {
|
|
83
|
+
delay?: number | undefined;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
disabled: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: any;
|
|
89
|
+
};
|
|
90
|
+
ghost: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: any;
|
|
93
|
+
};
|
|
94
|
+
block: {
|
|
95
|
+
type: BooleanConstructor;
|
|
96
|
+
default: any;
|
|
97
|
+
};
|
|
98
|
+
danger: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: any;
|
|
101
|
+
};
|
|
102
|
+
icon: VueTypeValidableDef<any>;
|
|
103
|
+
href: StringConstructor;
|
|
104
|
+
target: StringConstructor;
|
|
105
|
+
title: StringConstructor;
|
|
106
|
+
onClick: {
|
|
107
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
108
|
+
};
|
|
109
|
+
onMousedown: {
|
|
110
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
111
|
+
};
|
|
112
|
+
}>> & HTMLAttributes>;
|
|
113
|
+
default: Partial< ExtractPropTypes<{
|
|
114
|
+
prefixCls: StringConstructor;
|
|
115
|
+
type: PropType<ButtonType>;
|
|
116
|
+
htmlType: {
|
|
117
|
+
type: PropType<ButtonHTMLType>;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
shape: {
|
|
121
|
+
type: PropType<ButtonShape>;
|
|
122
|
+
};
|
|
123
|
+
size: {
|
|
124
|
+
type: PropType<ButtonSize>;
|
|
125
|
+
};
|
|
126
|
+
loading: {
|
|
127
|
+
type: PropType<boolean | {
|
|
128
|
+
delay?: number | undefined;
|
|
129
|
+
}>;
|
|
130
|
+
default: () => boolean | {
|
|
131
|
+
delay?: number | undefined;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
disabled: {
|
|
135
|
+
type: BooleanConstructor;
|
|
136
|
+
default: any;
|
|
137
|
+
};
|
|
138
|
+
ghost: {
|
|
139
|
+
type: BooleanConstructor;
|
|
140
|
+
default: any;
|
|
141
|
+
};
|
|
142
|
+
block: {
|
|
143
|
+
type: BooleanConstructor;
|
|
144
|
+
default: any;
|
|
145
|
+
};
|
|
146
|
+
danger: {
|
|
147
|
+
type: BooleanConstructor;
|
|
148
|
+
default: any;
|
|
149
|
+
};
|
|
150
|
+
icon: VueTypeValidableDef<any>;
|
|
151
|
+
href: StringConstructor;
|
|
152
|
+
target: StringConstructor;
|
|
153
|
+
title: StringConstructor;
|
|
154
|
+
onClick: {
|
|
155
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
156
|
+
};
|
|
157
|
+
onMousedown: {
|
|
158
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
159
|
+
};
|
|
160
|
+
}>> & HTMLAttributes;
|
|
161
|
+
};
|
|
162
|
+
cancelButtonProps: {
|
|
163
|
+
type: PropType<Partial< ExtractPropTypes<{
|
|
164
|
+
prefixCls: StringConstructor;
|
|
165
|
+
type: PropType<ButtonType>;
|
|
166
|
+
htmlType: {
|
|
167
|
+
type: PropType<ButtonHTMLType>;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
shape: {
|
|
171
|
+
type: PropType<ButtonShape>;
|
|
172
|
+
};
|
|
173
|
+
size: {
|
|
174
|
+
type: PropType<ButtonSize>;
|
|
175
|
+
};
|
|
176
|
+
loading: {
|
|
177
|
+
type: PropType<boolean | {
|
|
178
|
+
delay?: number | undefined;
|
|
179
|
+
}>;
|
|
180
|
+
default: () => boolean | {
|
|
181
|
+
delay?: number | undefined;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
disabled: {
|
|
185
|
+
type: BooleanConstructor;
|
|
186
|
+
default: any;
|
|
187
|
+
};
|
|
188
|
+
ghost: {
|
|
189
|
+
type: BooleanConstructor;
|
|
190
|
+
default: any;
|
|
191
|
+
};
|
|
192
|
+
block: {
|
|
193
|
+
type: BooleanConstructor;
|
|
194
|
+
default: any;
|
|
195
|
+
};
|
|
196
|
+
danger: {
|
|
197
|
+
type: BooleanConstructor;
|
|
198
|
+
default: any;
|
|
199
|
+
};
|
|
200
|
+
icon: VueTypeValidableDef<any>;
|
|
201
|
+
href: StringConstructor;
|
|
202
|
+
target: StringConstructor;
|
|
203
|
+
title: StringConstructor;
|
|
204
|
+
onClick: {
|
|
205
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
206
|
+
};
|
|
207
|
+
onMousedown: {
|
|
208
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
209
|
+
};
|
|
210
|
+
}>> & HTMLAttributes>;
|
|
211
|
+
default: Partial< ExtractPropTypes<{
|
|
212
|
+
prefixCls: StringConstructor;
|
|
213
|
+
type: PropType<ButtonType>;
|
|
214
|
+
htmlType: {
|
|
215
|
+
type: PropType<ButtonHTMLType>;
|
|
216
|
+
default: string;
|
|
217
|
+
};
|
|
218
|
+
shape: {
|
|
219
|
+
type: PropType<ButtonShape>;
|
|
220
|
+
};
|
|
221
|
+
size: {
|
|
222
|
+
type: PropType<ButtonSize>;
|
|
223
|
+
};
|
|
224
|
+
loading: {
|
|
225
|
+
type: PropType<boolean | {
|
|
226
|
+
delay?: number | undefined;
|
|
227
|
+
}>;
|
|
228
|
+
default: () => boolean | {
|
|
229
|
+
delay?: number | undefined;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
disabled: {
|
|
233
|
+
type: BooleanConstructor;
|
|
234
|
+
default: any;
|
|
235
|
+
};
|
|
236
|
+
ghost: {
|
|
237
|
+
type: BooleanConstructor;
|
|
238
|
+
default: any;
|
|
239
|
+
};
|
|
240
|
+
block: {
|
|
241
|
+
type: BooleanConstructor;
|
|
242
|
+
default: any;
|
|
243
|
+
};
|
|
244
|
+
danger: {
|
|
245
|
+
type: BooleanConstructor;
|
|
246
|
+
default: any;
|
|
247
|
+
};
|
|
248
|
+
icon: VueTypeValidableDef<any>;
|
|
249
|
+
href: StringConstructor;
|
|
250
|
+
target: StringConstructor;
|
|
251
|
+
title: StringConstructor;
|
|
252
|
+
onClick: {
|
|
253
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
254
|
+
};
|
|
255
|
+
onMousedown: {
|
|
256
|
+
type: PropType< MouseEventHandler | MouseEventHandler[]>;
|
|
257
|
+
};
|
|
258
|
+
}>> & HTMLAttributes;
|
|
259
|
+
};
|
|
260
|
+
showCancel: {
|
|
261
|
+
type: BooleanConstructor;
|
|
262
|
+
default: boolean;
|
|
263
|
+
};
|
|
264
|
+
onConfirm: PropType<(e: MouseEvent) => void>;
|
|
265
|
+
onCancel: PropType<(e: MouseEvent) => void>;
|
|
266
|
+
trigger: PropType< TriggerType | TriggerType[]>;
|
|
267
|
+
open: {
|
|
268
|
+
type: BooleanConstructor;
|
|
269
|
+
default: any;
|
|
270
|
+
};
|
|
271
|
+
visible: {
|
|
272
|
+
type: BooleanConstructor;
|
|
273
|
+
default: any;
|
|
274
|
+
};
|
|
275
|
+
placement: PropType<TooltipPlacement>;
|
|
276
|
+
color: PropType<LiteralUnion<PresetColorType>>;
|
|
277
|
+
transitionName: StringConstructor;
|
|
278
|
+
overlayStyle: {
|
|
279
|
+
type: PropType<CSSProperties>;
|
|
280
|
+
default: CSSProperties;
|
|
281
|
+
};
|
|
282
|
+
overlayInnerStyle: {
|
|
283
|
+
type: PropType<CSSProperties>;
|
|
284
|
+
default: CSSProperties;
|
|
285
|
+
};
|
|
286
|
+
overlayClassName: StringConstructor;
|
|
287
|
+
openClassName: StringConstructor;
|
|
288
|
+
mouseEnterDelay: NumberConstructor;
|
|
289
|
+
mouseLeaveDelay: NumberConstructor;
|
|
290
|
+
getPopupContainer: PropType<(triggerNode: HTMLElement) => HTMLElement>;
|
|
291
|
+
arrowPointAtCenter: {
|
|
292
|
+
type: BooleanConstructor;
|
|
293
|
+
default: any;
|
|
294
|
+
};
|
|
295
|
+
arrow: {
|
|
296
|
+
type: PropType<boolean | {
|
|
297
|
+
pointAtCenter?: boolean | undefined;
|
|
298
|
+
}>;
|
|
299
|
+
default: boolean | {
|
|
300
|
+
pointAtCenter?: boolean | undefined;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
autoAdjustOverflow: {
|
|
304
|
+
type: PropType<boolean | AdjustOverflow>;
|
|
305
|
+
default: boolean | AdjustOverflow;
|
|
306
|
+
};
|
|
307
|
+
destroyTooltipOnHide: {
|
|
308
|
+
type: BooleanConstructor;
|
|
309
|
+
default: any;
|
|
310
|
+
};
|
|
311
|
+
align: {
|
|
312
|
+
type: PropType<AlignType>;
|
|
313
|
+
default: AlignType;
|
|
314
|
+
};
|
|
315
|
+
builtinPlacements: {
|
|
316
|
+
type: PropType<BuildInPlacements>;
|
|
317
|
+
default: BuildInPlacements;
|
|
318
|
+
};
|
|
319
|
+
children: ArrayConstructor;
|
|
320
|
+
onVisibleChange: PropType<(vis: boolean) => void>;
|
|
321
|
+
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
322
|
+
onOpenChange: PropType<(vis: boolean) => void>;
|
|
323
|
+
'onUpdate:open': PropType<(vis: boolean) => void>;
|
|
324
|
+
}>>;
|
|
325
|
+
}, {}>;
|
|
326
|
+
export default _default;
|
|
327
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
328
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
329
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
330
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
331
|
+
} : {
|
|
332
|
+
type: PropType<T[K]>;
|
|
333
|
+
required: true;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
type __VLS_WithDefaults<P, D> = {
|
|
337
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
338
|
+
default: D[K];
|
|
339
|
+
}> : P[K];
|
|
340
|
+
};
|
|
341
|
+
type __VLS_Prettify<T> = {
|
|
342
|
+
[K in keyof T]: T[K];
|
|
343
|
+
} & {};
|