@aplus-frontend/ui 0.1.35 → 0.1.37
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 +136 -133
- package/es/src/ap-button/ap-action-button.vue.d.ts +5 -0
- package/es/src/ap-button/ap-action-button.vue.mjs +8 -8
- package/es/src/ap-form/ap-form.vue2.mjs +93 -93
- package/es/src/ap-form/index.d.ts +3 -1
- package/es/src/ap-form/index.mjs +5 -1
- package/es/src/ap-form/interface.d.ts +4 -0
- package/es/src/ap-form/set/index.vue.d.ts +43 -0
- package/es/src/ap-form/set/index.vue.mjs +35 -0
- package/es/src/ap-form/set/index.vue2.mjs +4 -0
- package/es/src/ap-table/ap-table.vue.d.ts +1 -0
- package/es/src/ap-table/ap-table.vue.mjs +109 -107
- package/es/src/ap-table/components/setting/utils.d.ts +1 -1
- package/es/src/ap-table/components/setting/utils.mjs +12 -21
- package/es/src/ap-table/components/style/setting/modal.css +15 -3
- package/es/src/ap-table/interface.d.ts +5 -0
- package/es/src/ap-table/utils.mjs +14 -13
- package/es/src/ap-upload/apUpload.vue.mjs +40 -39
- package/es/src/business/ap-button-group/ApButtonGroup.vue.d.ts +21 -0
- package/es/src/business/ap-button-group/ApButtonGroup.vue.mjs +4 -0
- package/es/src/business/ap-button-group/ApButtonGroup.vue2.mjs +71 -0
- package/es/src/business/ap-button-group/interface.d.ts +29 -0
- package/es/src/business/ap-button-group/interface.mjs +1 -0
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
- package/es/src/business/ap-table-modal/hooks/use-create-table-modal.mjs +11 -11
- package/es/src/business/hooks/usePageListApTable.d.ts +1 -0
- package/es/src/business/index.d.ts +607 -4
- package/es/src/business/index.mjs +27 -23
- package/es/src/editable-table/form-item.vue.mjs +76 -97
- package/es/src/editable-table/hooks/use-get-columns.mjs +41 -35
- package/es/src/editable-table/index.vue.mjs +79 -100
- package/es/src/editable-table/style/index.css +12 -0
- package/es/src/editable-table/utils.d.ts +8 -1
- package/es/src/editable-table/utils.mjs +103 -69
- package/es/src/index.mjs +220 -217
- package/es/src/theme/ap-table/setting/modal.css +15 -3
- package/es/src/theme/editable-table/index.css +12 -0
- package/lib/index.js +1 -1
- package/lib/src/ap-button/ap-action-button.vue.d.ts +5 -0
- package/lib/src/ap-button/ap-action-button.vue.js +1 -1
- package/lib/src/ap-form/ap-form.vue2.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 +4 -0
- package/lib/src/ap-form/set/index.vue.d.ts +43 -0
- package/lib/src/ap-form/set/index.vue.js +1 -0
- package/lib/src/ap-form/set/index.vue2.js +1 -0
- package/lib/src/ap-table/ap-table.vue.d.ts +1 -0
- package/lib/src/ap-table/ap-table.vue.js +1 -1
- package/lib/src/ap-table/components/setting/utils.d.ts +1 -1
- package/lib/src/ap-table/components/setting/utils.js +1 -1
- package/lib/src/ap-table/components/style/setting/modal.css +15 -3
- package/lib/src/ap-table/interface.d.ts +5 -0
- package/lib/src/ap-table/utils.js +1 -1
- package/lib/src/ap-upload/apUpload.vue.js +1 -1
- package/lib/src/business/ap-button-group/ApButtonGroup.vue.d.ts +21 -0
- package/lib/src/business/ap-button-group/ApButtonGroup.vue.js +1 -0
- package/lib/src/business/ap-button-group/ApButtonGroup.vue2.js +1 -0
- package/lib/src/business/ap-button-group/interface.d.ts +29 -0
- package/lib/src/business/ap-button-group/interface.js +1 -0
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.d.ts +1 -1
- package/lib/src/business/ap-table-modal/hooks/use-create-table-modal.js +1 -1
- package/lib/src/business/hooks/usePageListApTable.d.ts +1 -0
- package/lib/src/business/index.d.ts +607 -4
- package/lib/src/business/index.js +1 -1
- package/lib/src/editable-table/form-item.vue.js +1 -1
- package/lib/src/editable-table/hooks/use-get-columns.js +1 -1
- package/lib/src/editable-table/index.vue.js +1 -1
- package/lib/src/editable-table/style/index.css +12 -0
- package/lib/src/editable-table/utils.d.ts +8 -1
- package/lib/src/editable-table/utils.js +1 -1
- package/lib/src/index.js +1 -1
- package/lib/src/theme/ap-table/setting/modal.css +15 -3
- package/lib/src/theme/editable-table/index.css +12 -0
- package/package.json +5 -5
package/es/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ import { configProviderProps as x } from "./src/config-provider/config-provider-
|
|
|
5
5
|
import { configProviderContextKey as n, tableDefaultConfig as i } from "./src/config-provider/constants.mjs";
|
|
6
6
|
import { keysOf as c, provideGlobalConfig as T, useGlobalConfig as F } from "./src/config-provider/hooks/use-global-config.mjs";
|
|
7
7
|
import { buildLocaleContext as b, buildTranslator as S, localeContextKey as I, translate as g, useLocale as D } from "./src/config-provider/hooks/use-locale.mjs";
|
|
8
|
-
import { defaultNamespace as P, namespaceContextKey as M, useGetDerivedNamespace as
|
|
8
|
+
import { defaultNamespace as P, namespaceContextKey as M, useGetDerivedNamespace as B, useNamespace as R } from "./src/config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
import { ConfigProvider as v, globalConfigCached as w } from "./src/config-provider/config-provider.mjs";
|
|
10
10
|
import { APConfigProvider as k } from "./src/config-provider/index.mjs";
|
|
11
11
|
import { Scrollbar as N } from "./src/scroll-bar/index.mjs";
|
|
@@ -23,7 +23,7 @@ import { useForm as Ce } from "./src/pro-form/hooks/use-form.mjs";
|
|
|
23
23
|
import { isComponentFormSchema as Se, isSlotFormSchema as Ie } from "./src/pro-form/types/form.mjs";
|
|
24
24
|
import { Field as De } from "./src/pro-form/index.mjs";
|
|
25
25
|
import { default as Pe } from "./src/pro-form/components/api-cascader.vue.mjs";
|
|
26
|
-
import { default as
|
|
26
|
+
import { default as Be } from "./src/pro-form/components/api-radio-group.vue.mjs";
|
|
27
27
|
import { default as Ge } from "./src/pro-form/components/api-select.vue.mjs";
|
|
28
28
|
import { default as we } from "./src/pro-form/components/api-transfer.vue.mjs";
|
|
29
29
|
import { default as ke } from "./src/pro-form/components/api-tree.vue.mjs";
|
|
@@ -48,7 +48,7 @@ import { default as bo } from "./src/pro-table/components/table-action.vue.mjs";
|
|
|
48
48
|
import { default as Io } from "./src/pro-table/components/edit-table-header-icon.vue.mjs";
|
|
49
49
|
import { default as Do } from "./src/pro-table/components/table-image.vue.mjs";
|
|
50
50
|
import { useTable as Po } from "./src/pro-table/hooks/use-table.mjs";
|
|
51
|
-
import { ApFormItemText as
|
|
51
|
+
import { ApFormItemText as Bo } from "./src/ap-form/items/text/index.mjs";
|
|
52
52
|
import { default as Go } from "./src/ap-form/items/text-area/index.vue.mjs";
|
|
53
53
|
import { default as wo } from "./src/ap-form/items/number/index.vue.mjs";
|
|
54
54
|
import { default as ko } from "./src/ap-form/items/date/index.vue.mjs";
|
|
@@ -65,61 +65,62 @@ import { default as er } from "./src/ap-form/ap-form-list.vue.mjs";
|
|
|
65
65
|
import { default as rr } from "./src/ap-form/search-form/index.vue.mjs";
|
|
66
66
|
import { default as ar } from "./src/ap-form/modal-form/index.vue.mjs";
|
|
67
67
|
import { default as fr } from "./src/ap-form/dependency/index.vue.mjs";
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import { default as ir } from "./src/ap-field/
|
|
72
|
-
import { default as cr } from "./src/ap-field/
|
|
73
|
-
import { default as Fr } from "./src/ap-field/
|
|
74
|
-
import { default as br } from "./src/ap-field/
|
|
75
|
-
import { default as Ir } from "./src/ap-field/
|
|
76
|
-
import { default as Dr } from "./src/ap-field/
|
|
77
|
-
import { default as Pr } from "./src/ap-field/
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as Gr } from "./src/ap-field/
|
|
80
|
-
import { default as wr } from "./src/ap-field/
|
|
81
|
-
import { default as kr } from "./src/ap-field/
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import { default as Wr } from "./src/ap-action/item-
|
|
86
|
-
import { default as Ur } from "./src/ap-action/item-
|
|
87
|
-
import { default as $r } from "./src/ap-action/
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import { default as ot } from "./src/ap-custom-column/column
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import { default as dt } from "./src/
|
|
96
|
-
import { default as ut } from "./src/ap-tag/ap-tag
|
|
97
|
-
import { default as it } from "./src/ap-
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import { default as wt } from "./src/ap-
|
|
107
|
-
import { default as kt } from "./src/ap-button/ap-
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import { default as
|
|
119
|
-
import { default as
|
|
120
|
-
import { default as
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
68
|
+
import { default as lr } from "./src/ap-form/set/index.vue.mjs";
|
|
69
|
+
import { ApField as dr } from "./src/ap-field/index.mjs";
|
|
70
|
+
import { ApFieldText as ur } from "./src/ap-field/text/index.mjs";
|
|
71
|
+
import { default as ir } from "./src/ap-field/checkbox/index.vue.mjs";
|
|
72
|
+
import { default as cr } from "./src/ap-field/date/index.vue.mjs";
|
|
73
|
+
import { default as Fr } from "./src/ap-field/number/index.vue.mjs";
|
|
74
|
+
import { default as br } from "./src/ap-field/radio/index.vue.mjs";
|
|
75
|
+
import { default as Ir } from "./src/ap-field/switch/index.vue.mjs";
|
|
76
|
+
import { default as Dr } from "./src/ap-field/text-area/index.vue.mjs";
|
|
77
|
+
import { default as Pr } from "./src/ap-field/date-range/index.vue.mjs";
|
|
78
|
+
import { default as Br } from "./src/ap-field/select/index.vue.mjs";
|
|
79
|
+
import { default as Gr } from "./src/ap-field/text/password.vue.mjs";
|
|
80
|
+
import { default as wr } from "./src/ap-field/slider/index.vue.mjs";
|
|
81
|
+
import { default as kr } from "./src/ap-field/segmented/index.vue.mjs";
|
|
82
|
+
import { default as Nr } from "./src/ap-field/rate/index.vue.mjs";
|
|
83
|
+
import { adminToken as Kr, aplusToken as Xr } from "./src/design-token/index.mjs";
|
|
84
|
+
import { ApActionItem as Hr } from "./src/ap-action/index.mjs";
|
|
85
|
+
import { default as Wr } from "./src/ap-action/item-modal/index.vue.mjs";
|
|
86
|
+
import { default as Ur } from "./src/ap-action/item-popconfirm/index.vue.mjs";
|
|
87
|
+
import { default as $r } from "./src/ap-action/item-dropdown/index.vue.mjs";
|
|
88
|
+
import { default as qr } from "./src/ap-action/group/index.vue.mjs";
|
|
89
|
+
import { generateTableList as Qr } from "./src/ap-custom-column/utils.mjs";
|
|
90
|
+
import { useCacheColumnSetting as _r } from "./src/ap-custom-column/useCacheColumnSetting.mjs";
|
|
91
|
+
import { default as ot } from "./src/ap-custom-column/custom-column.vue.mjs";
|
|
92
|
+
import { default as tt } from "./src/ap-custom-column/column-select.vue.mjs";
|
|
93
|
+
import { DictCode as pt, langMap as ft } from "./src/work-order-modal/interfaces.mjs";
|
|
94
|
+
import { createWorkOrderModal as lt } from "./src/work-order-modal/createWorkOrder.mjs";
|
|
95
|
+
import { default as dt } from "./src/work-order-modal/work-order-modal.vue.mjs";
|
|
96
|
+
import { default as ut } from "./src/ap-tag/ap-tag.vue.mjs";
|
|
97
|
+
import { default as it } from "./src/ap-tag/ap-tag-group.vue.mjs";
|
|
98
|
+
import { default as ct } from "./src/ap-layout/ApInfoLayout.vue.mjs";
|
|
99
|
+
import { NeedNameKeyDefault as Ft } from "./src/ap-upload/apUploadTypes.mjs";
|
|
100
|
+
import { default as bt } from "./src/ap-upload/apUpload.vue.mjs";
|
|
101
|
+
import { ApDownLoadNeedNameKeyDefault as It } from "./src/ap-download/interface.mjs";
|
|
102
|
+
import { default as Dt } from "./src/ap-download/ap-download.vue.mjs";
|
|
103
|
+
import { CheckCard as Pt } from "./src/check-card/index.mjs";
|
|
104
|
+
import { default as Bt } from "./src/check-card/group.vue.mjs";
|
|
105
|
+
import { ApModal as Gt } from "./src/ap-modal/index.mjs";
|
|
106
|
+
import { default as wt } from "./src/ap-list/index.vue.mjs";
|
|
107
|
+
import { default as kt } from "./src/ap-button/ap-button.vue.mjs";
|
|
108
|
+
import { default as Nt } from "./src/ap-button/ap-action-button.vue.mjs";
|
|
109
|
+
import { usePageListApTable as Kt } from "./src/business/hooks/usePageListApTable.mjs";
|
|
110
|
+
import { useTableRefresh as Yt } from "./src/business/hooks/useTableRefresh.mjs";
|
|
111
|
+
import { handleExportDownload as Ot } from "./src/business/ap-export-group/handleExportDownload.mjs";
|
|
112
|
+
import { default as zt } from "./src/business/ap-table-modal/index.mjs";
|
|
113
|
+
import { useTableModal as Vt } from "./src/business/ap-table-modal/hooks/use-table-modal.mjs";
|
|
114
|
+
import { useTableSelectModal as jt } from "./src/business/ap-table-modal/hooks/use-table-select-modal.mjs";
|
|
115
|
+
import { ApAttachment as Jt, ApBatchAction as Qt, ApBatchActionGroup as Zt, ApButtonGroup as _t, ApCard as ea, ApExpandAlert as oa, ApExportGroup as ra, ApImage as ta, ApInputRadio as aa, ApLabel as pa, ApLabelGroup as fa, ApLadder as ma, ApSelectLayout as la, ApStatus as sa, ApStatusGroup as da, ApTitle as xa } from "./src/business/index.mjs";
|
|
116
|
+
import { ApTransformDataHelper as na } from "./src/utils/ap-trans-data/index.mjs";
|
|
117
|
+
import { useTablePaging as Aa } from "./src/ap-table/hooks/use-table-paging.mjs";
|
|
118
|
+
import { default as Ta } from "./src/ap-table/ap-table.vue.mjs";
|
|
119
|
+
import { default as Ca } from "./src/editable-table/index.vue.mjs";
|
|
120
|
+
import { default as Sa } from "./src/editable-table/form-item.vue.mjs";
|
|
121
|
+
import { default as ga } from "./src/ap-descriptions/ap-descriptions.vue.mjs";
|
|
122
|
+
import { useMessage as ha } from "./src/hooks/useMessage.mjs";
|
|
123
|
+
import { useControllableValue as Ma } from "./src/hooks/useControllableValue.mjs";
|
|
123
124
|
const p = {
|
|
124
125
|
install: (r) => {
|
|
125
126
|
for (const t in o) {
|
|
@@ -130,38 +131,39 @@ const p = {
|
|
|
130
131
|
};
|
|
131
132
|
export {
|
|
132
133
|
k as APConfigProvider,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
ot as
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
It as
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
ir as
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
134
|
+
Nt as ApActionButton,
|
|
135
|
+
qr as ApActionGroup,
|
|
136
|
+
Hr as ApActionItem,
|
|
137
|
+
$r as ApActionItemDropdown,
|
|
138
|
+
Wr as ApActionItemModal,
|
|
139
|
+
Ur as ApActionItemPopconfirm,
|
|
140
|
+
Jt as ApAttachment,
|
|
141
|
+
Qt as ApBatchAction,
|
|
142
|
+
Zt as ApBatchActionGroup,
|
|
143
|
+
kt as ApButton,
|
|
144
|
+
_t as ApButtonGroup,
|
|
145
|
+
ea as ApCard,
|
|
146
|
+
ot as ApCustomColumn,
|
|
147
|
+
tt as ApCustomSelect,
|
|
148
|
+
ga as ApDescriptions,
|
|
149
|
+
It as ApDownLoadNeedNameKeyDefault,
|
|
150
|
+
Dt as ApDownload,
|
|
151
|
+
oa as ApExpandAlert,
|
|
152
|
+
ra as ApExportGroup,
|
|
153
|
+
dr as ApField,
|
|
154
|
+
ir as ApFieldCheckbox,
|
|
155
|
+
cr as ApFieldDate,
|
|
156
|
+
Pr as ApFieldDateRange,
|
|
157
|
+
Fr as ApFieldNumber,
|
|
158
|
+
Gr as ApFieldPassword,
|
|
159
|
+
br as ApFieldRadio,
|
|
160
|
+
Nr as ApFieldRate,
|
|
161
|
+
kr as ApFieldSegmented,
|
|
162
|
+
Br as ApFieldSelect,
|
|
163
|
+
wr as ApFieldSlider,
|
|
164
|
+
Ir as ApFieldSwitch,
|
|
165
|
+
ur as ApFieldText,
|
|
166
|
+
Dr as ApFieldTextArea,
|
|
165
167
|
jo as ApForm,
|
|
166
168
|
fr as ApFormDependency,
|
|
167
169
|
Jo as ApFormItem,
|
|
@@ -173,32 +175,33 @@ export {
|
|
|
173
175
|
Ko as ApFormItemRadio,
|
|
174
176
|
Yo as ApFormItemSelect,
|
|
175
177
|
Oo as ApFormItemSwitch,
|
|
176
|
-
|
|
178
|
+
Bo as ApFormItemText,
|
|
177
179
|
Go as ApFormItemTextArea,
|
|
178
180
|
Vo as ApFormItemTextPassword,
|
|
179
181
|
er as ApFormList,
|
|
180
182
|
ar as ApFormModalForm,
|
|
181
183
|
rr as ApFormSearchForm,
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
ut as
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
184
|
+
lr as ApFormSet,
|
|
185
|
+
ta as ApImage,
|
|
186
|
+
ct as ApInfoLayout,
|
|
187
|
+
aa as ApInputRadio,
|
|
188
|
+
pa as ApLabel,
|
|
189
|
+
fa as ApLabelGroup,
|
|
190
|
+
ma as ApLadder,
|
|
191
|
+
wt as ApList,
|
|
192
|
+
Gt as ApModal,
|
|
193
|
+
la as ApSelectLayout,
|
|
194
|
+
sa as ApStatus,
|
|
195
|
+
da as ApStatusGroup,
|
|
196
|
+
Ta as ApTable,
|
|
197
|
+
zt as ApTableModal,
|
|
198
|
+
ut as ApTag,
|
|
199
|
+
it as ApTagGroup,
|
|
200
|
+
xa as ApTitle,
|
|
201
|
+
na as ApTransformDataHelper,
|
|
202
|
+
bt as ApUpload,
|
|
200
203
|
Pe as ApiCascader,
|
|
201
|
-
|
|
204
|
+
Be as ApiRadioGroup,
|
|
202
205
|
Ge as ApiSelect,
|
|
203
206
|
we as ApiTransfer,
|
|
204
207
|
ke as ApiTree,
|
|
@@ -208,8 +211,8 @@ export {
|
|
|
208
211
|
$ as BasicArrow,
|
|
209
212
|
j as BasicHelp,
|
|
210
213
|
q as BasicTitle,
|
|
211
|
-
|
|
212
|
-
|
|
214
|
+
Pt as CheckCard,
|
|
215
|
+
Bt as CheckCardGroup,
|
|
213
216
|
K as CollapseContainer,
|
|
214
217
|
Q as CollapseTransition,
|
|
215
218
|
v as ConfigProvider,
|
|
@@ -218,11 +221,11 @@ export {
|
|
|
218
221
|
mo as CropperAvatar,
|
|
219
222
|
lo as CropperImage,
|
|
220
223
|
Ae as Description,
|
|
221
|
-
|
|
224
|
+
pt as DictCode,
|
|
222
225
|
co as Dropdown,
|
|
223
226
|
Io as EditTableHeaderIcon,
|
|
224
|
-
|
|
225
|
-
|
|
227
|
+
Ca as EditableTable,
|
|
228
|
+
Sa as EditableTableFormItem,
|
|
226
229
|
_ as ExpandTransition,
|
|
227
230
|
ee as ExpandXTransition,
|
|
228
231
|
oe as FadeTransition,
|
|
@@ -230,7 +233,7 @@ export {
|
|
|
230
233
|
l as Icon,
|
|
231
234
|
H as IconPicker,
|
|
232
235
|
Ve as ModalButton,
|
|
233
|
-
|
|
236
|
+
Ft as NeedNameKeyDefault,
|
|
234
237
|
je as PopConfirmButton,
|
|
235
238
|
Ke as ProForm,
|
|
236
239
|
Fo as ProTable,
|
|
@@ -253,48 +256,48 @@ export {
|
|
|
253
256
|
s as SvgIcon,
|
|
254
257
|
bo as TableAction,
|
|
255
258
|
Do as TableImg,
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
+
dt as WorkOrderModal,
|
|
260
|
+
Kr as adminToken,
|
|
261
|
+
Xr as aplusToken,
|
|
259
262
|
b as buildLocaleContext,
|
|
260
263
|
S as buildTranslator,
|
|
261
264
|
n as configProviderContextKey,
|
|
262
265
|
x as configProviderProps,
|
|
263
266
|
io as createPrompt,
|
|
264
|
-
|
|
267
|
+
lt as createWorkOrderModal,
|
|
265
268
|
p as default,
|
|
266
269
|
P as defaultNamespace,
|
|
267
270
|
U as en,
|
|
268
|
-
|
|
271
|
+
Qr as generateTableList,
|
|
269
272
|
w as globalConfigCached,
|
|
270
|
-
|
|
273
|
+
Ot as handleExportDownload,
|
|
271
274
|
Se as isComponentFormSchema,
|
|
272
275
|
Ie as isSlotFormSchema,
|
|
273
276
|
c as keysOf,
|
|
274
|
-
|
|
277
|
+
ft as langMap,
|
|
275
278
|
I as localeContextKey,
|
|
276
279
|
M as namespaceContextKey,
|
|
277
280
|
T as provideGlobalConfig,
|
|
278
281
|
i as tableDefaultConfig,
|
|
279
282
|
g as translate,
|
|
280
|
-
|
|
283
|
+
_r as useCacheColumnSetting,
|
|
281
284
|
Te as useComponentRegister,
|
|
282
|
-
|
|
285
|
+
Ma as useControllableValue,
|
|
283
286
|
ne as useDescription,
|
|
284
287
|
Ce as useForm,
|
|
285
|
-
|
|
288
|
+
B as useGetDerivedNamespace,
|
|
286
289
|
F as useGlobalConfig,
|
|
287
290
|
D as useLocale,
|
|
288
|
-
|
|
291
|
+
ha as useMessage,
|
|
289
292
|
ro as useModal,
|
|
290
293
|
eo as useModalContext,
|
|
291
294
|
to as useModalInner,
|
|
292
|
-
|
|
293
|
-
|
|
295
|
+
R as useNamespace,
|
|
296
|
+
Kt as usePageListApTable,
|
|
294
297
|
Po as useTable,
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
298
|
+
Vt as useTableModal,
|
|
299
|
+
Aa as useTablePaging,
|
|
300
|
+
Yt as useTableRefresh,
|
|
301
|
+
jt as useTableSelectModal,
|
|
299
302
|
W as zhCn
|
|
300
303
|
};
|
|
@@ -10,12 +10,17 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
|
10
10
|
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption< ApButtonProps>, {
|
|
11
11
|
type: string;
|
|
12
12
|
minWidth: boolean;
|
|
13
|
+
loading: undefined;
|
|
13
14
|
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption< ApButtonProps>, {
|
|
14
15
|
type: string;
|
|
15
16
|
minWidth: boolean;
|
|
17
|
+
loading: undefined;
|
|
16
18
|
}>>>, {
|
|
17
19
|
type: ButtonType | "borderLink";
|
|
18
20
|
minWidth: boolean | number | string;
|
|
21
|
+
loading: boolean | {
|
|
22
|
+
delay?: number;
|
|
23
|
+
};
|
|
19
24
|
}, {}>;
|
|
20
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
26
|
export default _default;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as p, openBlock as s, createBlock as i, normalizeProps as t, guardReactiveProps as r, createSlots as d, renderList as c, withCtx as m, renderSlot as u } from "vue";
|
|
2
2
|
import "./ap-button.vue2.mjs";
|
|
3
3
|
import f from "./ap-button.vue.mjs";
|
|
4
|
-
const k = /* @__PURE__ */
|
|
4
|
+
const k = /* @__PURE__ */ p({
|
|
5
5
|
__name: "ap-action-button",
|
|
6
6
|
props: {
|
|
7
7
|
prefixCls: {},
|
|
8
8
|
htmlType: {},
|
|
9
9
|
shape: {},
|
|
10
10
|
size: {},
|
|
11
|
-
loading: { type: [Boolean, Object] },
|
|
11
|
+
loading: { type: [Boolean, Object], default: void 0 },
|
|
12
12
|
disabled: { type: Boolean },
|
|
13
13
|
ghost: { type: Boolean },
|
|
14
14
|
block: { type: Boolean },
|
|
@@ -25,14 +25,14 @@ const k = /* @__PURE__ */ s({
|
|
|
25
25
|
},
|
|
26
26
|
setup(n) {
|
|
27
27
|
const a = n;
|
|
28
|
-
return (e, y) => (
|
|
28
|
+
return (e, y) => (s(), i(f, t(r({
|
|
29
29
|
...e.$attrs,
|
|
30
30
|
...a
|
|
31
|
-
})),
|
|
32
|
-
|
|
31
|
+
})), d({ _: 2 }, [
|
|
32
|
+
c(Object.keys(e.$slots), (o) => ({
|
|
33
33
|
name: o,
|
|
34
|
-
fn: m((
|
|
35
|
-
u(e.$slots, o, t(r(
|
|
34
|
+
fn: m((l) => [
|
|
35
|
+
u(e.$slots, o, t(r(l || {})))
|
|
36
36
|
])
|
|
37
37
|
}))
|
|
38
38
|
]), 1040));
|