v0.6.38
This commit is contained in:
@@ -900,9 +900,9 @@ const In = (t, e, i, r) => ae.redirect(i, e, r), Mn = (t, e = {}, i, r = {}) =>
|
||||
return `${a}/${u}`;
|
||||
}, `/api/${i}`);
|
||||
return I.del(n, e.param).msg();
|
||||
}, Ni = (t, e, i, { status: { loading: r, disabled: n }, setStatus: o }) => {
|
||||
const a = { loading: (s) => s === void 0 ? r : o((l) => ({ ...l, loading: s })), disabled: (s) => s === void 0 ? n : o((l) => ({ ...l, disabled: s })) };
|
||||
return f.isFunction(i) ? i.call(null, { ...e, ...a }) : f.isString(i) && i ? Me.exec(i, e, a) : null;
|
||||
}, Ni = (t, e, i, { status: { loading: r, disabled: n }, setStatus: o, listFn: a }) => {
|
||||
const s = { loading: (l) => l === void 0 ? r : o((d) => ({ ...d, loading: l })), disabled: (l) => l === void 0 ? n : o((d) => ({ ...d, disabled: l })), list: a };
|
||||
return f.isFunction(i) ? i.call(null, e, s) : f.isString(i) && i ? Me.exec(i, e, s) : null;
|
||||
}, vi = (t, e, i, r, n) => f.isString(i) && i ? pe.getWidgetComponent(i).then(({ default: o }) => re.modal(o, { ...e, $setting: r }, n != null && n.title ? { ...n, title: f.template(n.title)(t) } : n)).catch((o) => {
|
||||
re.error(i, { content: o.toString() });
|
||||
}) : re.modal(i, { ...e, $setting: r }, n != null && n.title ? { ...n, title: f.template(n.title)(t) } : n), Vn = (t, e, i, r, n) => re.modal(rr, { ...e, $setting: r, code: i }, n != null && n.title ? { ...n, title: f.template(n.title)(t) } : n), Dn = (t, e, i, r, n) => re.modal(ti, { base62params: e, $setting: r, listCode: i }, n != null && n.title ? { ...n, title: f.template(n.title)(t) } : n), zn = ({ widget: t, widgetType: e, widgetData: i, widgetProps: r, widgetSetting: n, widgetContainerProps: o }, { onAfterClick: a, onBeforeClick: s } = {}) => {
|
||||
Reference in New Issue
Block a user