@rockshin/tao-ui 0.0.48 → 0.0.49
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/dist/components/affix/affix.js +20 -16
- package/dist/components/alert/alert.js +114 -99
- package/dist/components/app/app-modals.js +134 -96
- package/dist/components/app/app-notices.js +39 -23
- package/dist/components/auto-complete/auto-complete.js +21 -7
- package/dist/components/avatar/avatar.js +31 -11
- package/dist/components/badge/badge.css +1 -1
- package/dist/components/badge/badge.js +72 -257
- package/dist/components/border-beam/border-beam.js +21 -17
- package/dist/components/breadcrumb/breadcrumb.js +178 -159
- package/dist/components/button/button.js +61 -53
- package/dist/components/calendar/calendar.js +6 -4
- package/dist/components/card/card.js +24 -8
- package/dist/components/carousel/carousel.d.ts +1 -1
- package/dist/components/carousel/carousel.js +105 -68
- package/dist/components/cascader/cascader.js +54 -19
- package/dist/components/checkbox/checkbox.css +13 -2
- package/dist/components/checkbox/checkbox.d.ts +2 -0
- package/dist/components/checkbox/checkbox.js +320 -229
- package/dist/components/collapse/collapse-panels.d.ts +1 -1
- package/dist/components/collapse/collapse-panels.js +122 -113
- package/dist/components/collapse/collapse.js +98 -63
- package/dist/components/color-picker/color-picker.js +539 -441
- package/dist/components/color-picker/color.js +1 -1
- package/dist/components/context-menu/context-menu.d.ts +1 -1
- package/dist/components/context-menu/context-menu.js +108 -68
- package/dist/components/date-picker/calendar/calendar-grid.js +42 -39
- package/dist/components/date-picker/calendar/month-grid.d.ts +8 -1
- package/dist/components/date-picker/calendar/month-grid.js +79 -37
- package/dist/components/date-picker/calendar/time-panel.d.ts +2 -1
- package/dist/components/date-picker/calendar/time-panel.js +94 -89
- package/dist/components/date-picker/calendar/year-grid.d.ts +8 -1
- package/dist/components/date-picker/calendar/year-grid.js +66 -35
- package/dist/components/date-picker/date-picker.css +24 -1
- package/dist/components/date-picker/date-picker.js +99 -53
- package/dist/components/date-picker/presets.d.ts +2 -1
- package/dist/components/date-picker/presets.js +27 -24
- package/dist/components/date-picker/range-picker.js +308 -153
- package/dist/components/descriptions/descriptions.js +7 -3
- package/dist/components/divider/divider.css +1 -1
- package/dist/components/divider/divider.js +1 -1
- package/dist/components/drawer/drawer.js +201 -369
- package/dist/components/dropdown/dropdown.d.ts +1 -1
- package/dist/components/dropdown/dropdown.js +183 -279
- package/dist/components/empty/empty.js +57 -78
- package/dist/components/float-button/float-button.d.ts +1 -0
- package/dist/components/float-button/float-button.js +47 -30
- package/dist/components/form/field-control.d.ts +4 -2
- package/dist/components/form/field-control.js +17 -9
- package/dist/components/form/form-context.d.ts +8 -2
- package/dist/components/form/form-context.js +2 -1
- package/dist/components/form/form-item.js +85 -63
- package/dist/components/form/use-form.d.ts +2 -1
- package/dist/components/form/use-form.js +2 -1
- package/dist/components/form-field/form-field-view.d.ts +3 -1
- package/dist/components/form-field/form-field-view.js +194 -141
- package/dist/components/form-section/form-section.d.ts +1 -1
- package/dist/components/form-section/form-section.js +52 -45
- package/dist/components/image/image.js +585 -477
- package/dist/components/input/base-input.js +8 -9
- package/dist/components/input/input-shared.d.ts +5 -2
- package/dist/components/input/input-shared.js +42 -18
- package/dist/components/input/otp.js +236 -217
- package/dist/components/input/password.js +2 -1
- package/dist/components/input/search.js +8 -7
- package/dist/components/list/list-pagination.js +41 -36
- package/dist/components/list/list.js +141 -125
- package/dist/components/listy/listy.js +175 -106
- package/dist/components/masonry/masonry.js +108 -85
- package/dist/components/mentions/mentions.js +12 -3
- package/dist/components/menu/menu-render.d.ts +9 -3
- package/dist/components/menu/menu-render.js +99 -36
- package/dist/components/modal/confirm-dialog.js +10 -4
- package/dist/components/modal/confirm.js +3 -7
- package/dist/components/modal/index.js +9 -3
- package/dist/components/modal/modal.js +390 -365
- package/dist/components/pagination/pagination.js +105 -96
- package/dist/components/popconfirm/popconfirm.d.ts +1 -1
- package/dist/components/popconfirm/popconfirm.js +219 -168
- package/dist/components/popover/popover.js +330 -243
- package/dist/components/progress/progress.css +2 -2
- package/dist/components/progress/progress.js +232 -458
- package/dist/components/qr-code/qr-code.js +72 -66
- package/dist/components/radio/radio.css +15 -4
- package/dist/components/radio/radio.d.ts +2 -1
- package/dist/components/radio/radio.js +260 -198
- package/dist/components/rate/rate.js +173 -113
- package/dist/components/scroll-area/scroll-area.js +241 -211
- package/dist/components/segmented/segmented.js +73 -41
- package/dist/components/select/mobile-select.d.ts +2 -1
- package/dist/components/select/mobile-select.js +24 -13
- package/dist/components/select/select-searchable-list.d.ts +2 -1
- package/dist/components/select/select-searchable-list.js +2 -3
- package/dist/components/select/select.js +49 -25
- package/dist/components/select/use-select-selection.d.ts +1 -1
- package/dist/components/select/use-select-selection.js +7 -4
- package/dist/components/skeleton/skeleton.js +56 -48
- package/dist/components/slider/slider.js +87 -212
- package/dist/components/sonner/sonner.js +109 -93
- package/dist/components/spinner/spinner.js +147 -138
- package/dist/components/splitter/splitter.js +222 -159
- package/dist/components/statistic/statistic.js +7 -6
- package/dist/components/steps/steps.js +88 -81
- package/dist/components/steps/use-display-steps.js +1 -1
- package/dist/components/switch/switch.js +89 -89
- package/dist/components/table/table-filter.js +66 -56
- package/dist/components/table/table-icons.d.ts +2 -1
- package/dist/components/table/table-icons.js +11 -9
- package/dist/components/table/table-model.js +1 -1
- package/dist/components/table/table.js +107 -83
- package/dist/components/table/use-table-data.d.ts +6 -3
- package/dist/components/table/use-table-data.js +166 -130
- package/dist/components/tabs/tabs.css +1 -1
- package/dist/components/tabs/tabs.js +236 -179
- package/dist/components/tag/tag.d.ts +2 -2
- package/dist/components/tag/tag.js +111 -108
- package/dist/components/textarea/textarea.js +22 -17
- package/dist/components/time-picker/time-picker.js +5 -3
- package/dist/components/timeline/timeline.css +6 -1
- package/dist/components/timeline/timeline.js +21 -11
- package/dist/components/tooltip/tooltip.d.ts +2 -2
- package/dist/components/tooltip/tooltip.js +123 -233
- package/dist/components/tour/tour.css +4 -0
- package/dist/components/tour/tour.js +400 -331
- package/dist/components/transfer/transfer-list.js +29 -11
- package/dist/components/transfer/transfer-parts.js +1 -1
- package/dist/components/transfer/transfer-types.d.ts +1 -0
- package/dist/components/transfer/transfer.js +29 -14
- package/dist/components/tree/tree-keyboard.d.ts +1 -1
- package/dist/components/tree/tree-keyboard.js +5 -3
- package/dist/components/tree/tree.js +74 -59
- package/dist/components/tree-select/select-engine.d.ts +3 -2
- package/dist/components/tree-select/select-engine.js +18 -16
- package/dist/components/tree-select/tree-select.js +21 -5
- package/dist/components/upload/upload.css +8 -0
- package/dist/components/upload/upload.js +160 -72
- package/dist/components/watermark/watermark.js +36 -29
- package/dist/number-input/use-number-input.js +129 -90
- package/dist/number-input/validate.js +32 -5
- package/dist/provider/merge-locale.js +12 -9
- package/dist/provider/tao-provider.d.ts +3 -1
- package/dist/provider/tao-provider.js +123 -86
- package/package.json +1 -1
|
@@ -67,7 +67,7 @@ function ChevronRight() {
|
|
|
67
67
|
return t0;
|
|
68
68
|
}
|
|
69
69
|
function Pagination(t0) {
|
|
70
|
-
const $ = c(
|
|
70
|
+
const $ = c(71);
|
|
71
71
|
const { current: currentProp, defaultCurrent: t1, pageSize: pageSizeProp, defaultPageSize: t2, total, onChange, showSizeChanger: t3, pageSizeOptions: t4, showTotal, size, disabled, className, classNames, styles } = t0;
|
|
72
72
|
const defaultCurrent = void 0 === t1 ? 1 : t1;
|
|
73
73
|
const defaultPageSize = void 0 === t2 ? 10 : t2;
|
|
@@ -105,72 +105,78 @@ function Pagination(t0) {
|
|
|
105
105
|
} else t6 = $[4];
|
|
106
106
|
const pages = t6;
|
|
107
107
|
let t7;
|
|
108
|
-
if ($[5] !==
|
|
108
|
+
if ($[5] !== current || $[6] !== isCurrentControlled || $[7] !== isPageSizeControlled || $[8] !== onChange || $[9] !== pageSize || $[10] !== total) {
|
|
109
109
|
t7 = (page, newPageSize)=>{
|
|
110
110
|
const ps = newPageSize ?? pageSize;
|
|
111
111
|
const maxPage = Math.max(1, Math.ceil(total / ps));
|
|
112
112
|
const safePage = Math.min(Math.max(1, page), maxPage);
|
|
113
|
+
if (safePage === current && ps === pageSize) return;
|
|
113
114
|
if (!isCurrentControlled) setInternalCurrent(safePage);
|
|
114
115
|
if (null != newPageSize && !isPageSizeControlled) setInternalPageSize(newPageSize);
|
|
115
116
|
onChange?.(safePage, ps);
|
|
116
117
|
};
|
|
117
|
-
$[5] =
|
|
118
|
-
$[6] =
|
|
119
|
-
$[7] =
|
|
120
|
-
$[8] =
|
|
121
|
-
$[9] =
|
|
122
|
-
$[10] =
|
|
123
|
-
|
|
118
|
+
$[5] = current;
|
|
119
|
+
$[6] = isCurrentControlled;
|
|
120
|
+
$[7] = isPageSizeControlled;
|
|
121
|
+
$[8] = onChange;
|
|
122
|
+
$[9] = pageSize;
|
|
123
|
+
$[10] = total;
|
|
124
|
+
$[11] = t7;
|
|
125
|
+
} else t7 = $[11];
|
|
124
126
|
const goTo = t7;
|
|
125
|
-
const rangeStart =
|
|
127
|
+
const rangeStart = (current - 1) * pageSize + 1;
|
|
126
128
|
const rangeEnd = Math.min(current * pageSize, total);
|
|
127
129
|
const t8 = resolvedDisabled || void 0;
|
|
128
130
|
const t9 = ctx.locale.messages.pagination;
|
|
129
131
|
const t10 = classNames?.root;
|
|
130
132
|
let t11;
|
|
131
|
-
if ($[
|
|
133
|
+
if ($[12] !== className || $[13] !== t10) {
|
|
132
134
|
t11 = cx(t10, className);
|
|
133
|
-
$[
|
|
134
|
-
$[
|
|
135
|
-
$[
|
|
136
|
-
} else t11 = $[
|
|
135
|
+
$[12] = className;
|
|
136
|
+
$[13] = t10;
|
|
137
|
+
$[14] = t11;
|
|
138
|
+
} else t11 = $[14];
|
|
137
139
|
const t12 = styles?.root;
|
|
138
140
|
let t13;
|
|
139
|
-
if ($[
|
|
141
|
+
if ($[15] !== classNames?.total || $[16] !== current || $[17] !== rangeEnd || $[18] !== rangeStart || $[19] !== showTotal || $[20] !== styles?.total || $[21] !== total) {
|
|
140
142
|
t13 = showTotal && /*#__PURE__*/ jsx("span", {
|
|
141
143
|
"data-tao-pagination-total": "",
|
|
142
144
|
className: classNames?.total,
|
|
143
145
|
style: styles?.total,
|
|
144
|
-
children: showTotal(total, [
|
|
146
|
+
children: showTotal(total, current >= 1 && rangeStart <= rangeEnd ? [
|
|
145
147
|
rangeStart,
|
|
146
148
|
rangeEnd
|
|
149
|
+
] : [
|
|
150
|
+
0,
|
|
151
|
+
0
|
|
147
152
|
])
|
|
148
153
|
});
|
|
149
|
-
$[
|
|
150
|
-
$[
|
|
151
|
-
$[
|
|
152
|
-
$[
|
|
153
|
-
$[
|
|
154
|
-
$[
|
|
155
|
-
$[
|
|
156
|
-
|
|
154
|
+
$[15] = classNames?.total;
|
|
155
|
+
$[16] = current;
|
|
156
|
+
$[17] = rangeEnd;
|
|
157
|
+
$[18] = rangeStart;
|
|
158
|
+
$[19] = showTotal;
|
|
159
|
+
$[20] = styles?.total;
|
|
160
|
+
$[21] = total;
|
|
161
|
+
$[22] = t13;
|
|
162
|
+
} else t13 = $[22];
|
|
157
163
|
const t14 = resolvedDisabled || current <= 1;
|
|
158
164
|
let t15;
|
|
159
|
-
if ($[
|
|
165
|
+
if ($[23] !== current || $[24] !== goTo) {
|
|
160
166
|
t15 = ()=>goTo(current - 1);
|
|
161
|
-
$[
|
|
162
|
-
$[
|
|
163
|
-
$[
|
|
164
|
-
} else t15 = $[
|
|
167
|
+
$[23] = current;
|
|
168
|
+
$[24] = goTo;
|
|
169
|
+
$[25] = t15;
|
|
170
|
+
} else t15 = $[25];
|
|
165
171
|
const t16 = classNames?.item;
|
|
166
172
|
const t17 = styles?.item;
|
|
167
173
|
let t18;
|
|
168
|
-
if ($[
|
|
174
|
+
if ($[26] === Symbol.for("react.memo_cache_sentinel")) {
|
|
169
175
|
t18 = /*#__PURE__*/ jsx(ChevronLeft, {});
|
|
170
|
-
$[
|
|
171
|
-
} else t18 = $[
|
|
176
|
+
$[26] = t18;
|
|
177
|
+
} else t18 = $[26];
|
|
172
178
|
let t19;
|
|
173
|
-
if ($[
|
|
179
|
+
if ($[27] !== ctx.locale.messages.previousPage || $[28] !== t14 || $[29] !== t15 || $[30] !== t16 || $[31] !== t17) {
|
|
174
180
|
t19 = /*#__PURE__*/ jsx("button", {
|
|
175
181
|
type: "button",
|
|
176
182
|
"data-tao-pagination-btn": "",
|
|
@@ -181,15 +187,15 @@ function Pagination(t0) {
|
|
|
181
187
|
style: t17,
|
|
182
188
|
children: t18
|
|
183
189
|
});
|
|
184
|
-
$[
|
|
185
|
-
$[
|
|
186
|
-
$[
|
|
187
|
-
$[
|
|
188
|
-
$[
|
|
189
|
-
$[
|
|
190
|
-
} else t19 = $[
|
|
190
|
+
$[27] = ctx.locale.messages.previousPage;
|
|
191
|
+
$[28] = t14;
|
|
192
|
+
$[29] = t15;
|
|
193
|
+
$[30] = t16;
|
|
194
|
+
$[31] = t17;
|
|
195
|
+
$[32] = t19;
|
|
196
|
+
} else t19 = $[32];
|
|
191
197
|
let t20;
|
|
192
|
-
if ($[
|
|
198
|
+
if ($[33] !== classNames?.item || $[34] !== ctx.locale.messages || $[35] !== current || $[36] !== goTo || $[37] !== pages || $[38] !== resolvedDisabled || $[39] !== styles?.item) {
|
|
193
199
|
t20 = pages.map((item, i)=>"ellipsis" === item ? /*#__PURE__*/ jsx("span", {
|
|
194
200
|
"data-tao-pagination-ellipsis": "",
|
|
195
201
|
children: "\xb7\xb7\xb7"
|
|
@@ -205,32 +211,32 @@ function Pagination(t0) {
|
|
|
205
211
|
style: styles?.item,
|
|
206
212
|
children: item
|
|
207
213
|
}, item));
|
|
208
|
-
$[
|
|
209
|
-
$[
|
|
210
|
-
$[
|
|
211
|
-
$[
|
|
212
|
-
$[
|
|
213
|
-
$[
|
|
214
|
-
$[
|
|
215
|
-
$[
|
|
216
|
-
} else t20 = $[
|
|
214
|
+
$[33] = classNames?.item;
|
|
215
|
+
$[34] = ctx.locale.messages;
|
|
216
|
+
$[35] = current;
|
|
217
|
+
$[36] = goTo;
|
|
218
|
+
$[37] = pages;
|
|
219
|
+
$[38] = resolvedDisabled;
|
|
220
|
+
$[39] = styles?.item;
|
|
221
|
+
$[40] = t20;
|
|
222
|
+
} else t20 = $[40];
|
|
217
223
|
const t21 = resolvedDisabled || current >= totalPages;
|
|
218
224
|
let t22;
|
|
219
|
-
if ($[
|
|
225
|
+
if ($[41] !== current || $[42] !== goTo) {
|
|
220
226
|
t22 = ()=>goTo(current + 1);
|
|
221
|
-
$[
|
|
222
|
-
$[
|
|
223
|
-
$[
|
|
224
|
-
} else t22 = $[
|
|
227
|
+
$[41] = current;
|
|
228
|
+
$[42] = goTo;
|
|
229
|
+
$[43] = t22;
|
|
230
|
+
} else t22 = $[43];
|
|
225
231
|
const t23 = classNames?.item;
|
|
226
232
|
const t24 = styles?.item;
|
|
227
233
|
let t25;
|
|
228
|
-
if ($[
|
|
234
|
+
if ($[44] === Symbol.for("react.memo_cache_sentinel")) {
|
|
229
235
|
t25 = /*#__PURE__*/ jsx(ChevronRight, {});
|
|
230
|
-
$[
|
|
231
|
-
} else t25 = $[
|
|
236
|
+
$[44] = t25;
|
|
237
|
+
} else t25 = $[44];
|
|
232
238
|
let t26;
|
|
233
|
-
if ($[
|
|
239
|
+
if ($[45] !== ctx.locale.messages.nextPage || $[46] !== t21 || $[47] !== t22 || $[48] !== t23 || $[49] !== t24) {
|
|
234
240
|
t26 = /*#__PURE__*/ jsx("button", {
|
|
235
241
|
type: "button",
|
|
236
242
|
"data-tao-pagination-btn": "",
|
|
@@ -241,20 +247,27 @@ function Pagination(t0) {
|
|
|
241
247
|
style: t24,
|
|
242
248
|
children: t25
|
|
243
249
|
});
|
|
244
|
-
$[
|
|
245
|
-
$[
|
|
246
|
-
$[
|
|
247
|
-
$[
|
|
248
|
-
$[
|
|
249
|
-
$[
|
|
250
|
-
} else t26 = $[
|
|
250
|
+
$[45] = ctx.locale.messages.nextPage;
|
|
251
|
+
$[46] = t21;
|
|
252
|
+
$[47] = t22;
|
|
253
|
+
$[48] = t23;
|
|
254
|
+
$[49] = t24;
|
|
255
|
+
$[50] = t26;
|
|
256
|
+
} else t26 = $[50];
|
|
251
257
|
let t27;
|
|
252
|
-
if ($[
|
|
258
|
+
if ($[51] !== ctx.locale.messages.itemsPerPage || $[52] !== ctx.locale.messages.pageSize || $[53] !== goTo || $[54] !== pageSize || $[55] !== pageSizeOptions || $[56] !== resolvedDisabled || $[57] !== resolvedSize || $[58] !== showSizeChanger) {
|
|
253
259
|
t27 = showSizeChanger && /*#__PURE__*/ jsx(Select, {
|
|
260
|
+
"aria-label": ctx.locale.messages.pageSize,
|
|
254
261
|
style: {
|
|
255
262
|
width: "auto"
|
|
256
263
|
},
|
|
257
|
-
options: pageSizeOptions.
|
|
264
|
+
options: (pageSizeOptions.includes(pageSize) ? pageSizeOptions : [
|
|
265
|
+
...pageSizeOptions,
|
|
266
|
+
pageSize
|
|
267
|
+
]).map((opt)=>({
|
|
268
|
+
label: `${opt} ${ctx.locale.messages.itemsPerPage}`,
|
|
269
|
+
value: String(opt)
|
|
270
|
+
})),
|
|
258
271
|
value: String(pageSize),
|
|
259
272
|
onChange: (val)=>{
|
|
260
273
|
const newSize = Number(val);
|
|
@@ -263,16 +276,18 @@ function Pagination(t0) {
|
|
|
263
276
|
disabled: resolvedDisabled,
|
|
264
277
|
size: "large" === resolvedSize ? "medium" : resolvedSize
|
|
265
278
|
});
|
|
266
|
-
$[
|
|
267
|
-
$[
|
|
268
|
-
$[
|
|
269
|
-
$[
|
|
270
|
-
$[
|
|
271
|
-
$[
|
|
272
|
-
$[
|
|
273
|
-
|
|
279
|
+
$[51] = ctx.locale.messages.itemsPerPage;
|
|
280
|
+
$[52] = ctx.locale.messages.pageSize;
|
|
281
|
+
$[53] = goTo;
|
|
282
|
+
$[54] = pageSize;
|
|
283
|
+
$[55] = pageSizeOptions;
|
|
284
|
+
$[56] = resolvedDisabled;
|
|
285
|
+
$[57] = resolvedSize;
|
|
286
|
+
$[58] = showSizeChanger;
|
|
287
|
+
$[59] = t27;
|
|
288
|
+
} else t27 = $[59];
|
|
274
289
|
let t28;
|
|
275
|
-
if ($[
|
|
290
|
+
if ($[60] !== ctx.locale.messages.pagination || $[61] !== resolvedSize || $[62] !== t11 || $[63] !== t12 || $[64] !== t13 || $[65] !== t19 || $[66] !== t20 || $[67] !== t26 || $[68] !== t27 || $[69] !== t8) {
|
|
276
291
|
t28 = /*#__PURE__*/ jsxs("nav", {
|
|
277
292
|
"data-tao-pagination": "",
|
|
278
293
|
"data-tao-size": resolvedSize,
|
|
@@ -288,24 +303,18 @@ function Pagination(t0) {
|
|
|
288
303
|
t27
|
|
289
304
|
]
|
|
290
305
|
});
|
|
291
|
-
$[
|
|
292
|
-
$[
|
|
293
|
-
$[
|
|
294
|
-
$[
|
|
295
|
-
$[
|
|
296
|
-
$[
|
|
297
|
-
$[
|
|
298
|
-
$[
|
|
299
|
-
$[
|
|
300
|
-
$[
|
|
301
|
-
$[
|
|
302
|
-
} else t28 = $[
|
|
306
|
+
$[60] = ctx.locale.messages.pagination;
|
|
307
|
+
$[61] = resolvedSize;
|
|
308
|
+
$[62] = t11;
|
|
309
|
+
$[63] = t12;
|
|
310
|
+
$[64] = t13;
|
|
311
|
+
$[65] = t19;
|
|
312
|
+
$[66] = t20;
|
|
313
|
+
$[67] = t26;
|
|
314
|
+
$[68] = t27;
|
|
315
|
+
$[69] = t8;
|
|
316
|
+
$[70] = t28;
|
|
317
|
+
} else t28 = $[70];
|
|
303
318
|
return t28;
|
|
304
319
|
}
|
|
305
|
-
function _temp(opt) {
|
|
306
|
-
return {
|
|
307
|
-
label: `${opt} / page`,
|
|
308
|
-
value: String(opt)
|
|
309
|
-
};
|
|
310
|
-
}
|
|
311
320
|
export { Pagination };
|
|
@@ -38,4 +38,4 @@ export interface PopconfirmProps {
|
|
|
38
38
|
/** Exactly one trigger element. */
|
|
39
39
|
children: ReactNode;
|
|
40
40
|
}
|
|
41
|
-
export declare function Popconfirm({ title, description, onConfirm, onCancel, okText, cancelText, okButtonProps, cancelButtonProps, icon, disabled, open, defaultOpen, onOpenChange, placement, className, style, classNames, styles, children, }: PopconfirmProps): import("react").JSX.Element;
|
|
41
|
+
export declare function Popconfirm({ title, description, onConfirm, onCancel, okText, cancelText, okButtonProps, cancelButtonProps, icon, disabled: disabledProp, open, defaultOpen, onOpenChange, placement, className, style, classNames, styles, children, }: PopconfirmProps): import("react").JSX.Element;
|