fix 添加权限 手机号添加称号 手机号输入框的值未清空

This commit is contained in:
Wang Kejun 2023-08-23 12:41:52 +08:00
parent 7f39b5a722
commit c7eab9ccdb
144 changed files with 166 additions and 165 deletions

View File

@ -37,5 +37,5 @@ export declare type Poi = {
email?: string;
businessArea?: string;
};
declare const Location: (props: LocationProps) => JSX.Element;
declare const Location: (props: LocationProps) => import("react/jsx-runtime").JSX.Element;
export default Location;

View File

@ -29,5 +29,5 @@ export interface AMapProps extends APILoaderProps {
securityJsCode?: string;
serviceHost?: string;
}
declare const memo: (props: AMapProps) => JSX.Element;
declare const memo: (props: AMapProps) => import("react/jsx-runtime").JSX.Element;
export default memo;

View File

@ -7,4 +7,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'article', f
name: string;
width: string;
editor: any;
}, {}>): JSX.Element;
}, {}>): import("react/jsx-runtime").JSX.Element;

View File

@ -8,4 +8,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'article', f
content?: string;
html?: string;
origin?: string;
}, {}>): JSX.Element;
}, {}>): import("react/jsx-runtime").JSX.Element;

View File

@ -8,4 +8,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'article', f
content?: string;
html?: string;
origin?: string;
}, {}>): JSX.Element;
}, {}>): import("react/jsx-runtime").JSX.Element;

View File

@ -12,4 +12,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'articleMenu
openArray: string[];
}, {
createOne: () => Promise<void>;
}>): JSX.Element | null;
}>): import("react/jsx-runtime").JSX.Element | null;

View File

@ -26,4 +26,4 @@ export default function Render(props: WebComponentProps<EntityDict, "article", f
}>;
clearContentTip: () => void;
gotoPreview: (content?: string, title?: string) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -21,4 +21,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'articleMenu
createSubArticle: (name: string) => Promise<void>;
createSubArticleMenu: (name: string) => Promise<void>;
gotoDoc: (articleMenuId: string) => void;
}>): JSX.Element | null;
}>): import("react/jsx-runtime").JSX.Element | null;

View File

@ -18,4 +18,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'articleMenu
}, {
createOne: (name?: string) => Promise<void>;
getDefaultArticle: (rows: EntityDict['articleMenu']['OpSchema'][]) => void;
}>): JSX.Element | null;
}>): import("react/jsx-runtime").JSX.Element | null;

View File

@ -9,4 +9,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'articleMenu
}, {
gotoDoc: () => void;
gotoArticleDetail: (oakId: string) => void;
}>): JSX.Element | null;
}>): import("react/jsx-runtime").JSX.Element | null;

View File

@ -10,4 +10,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', f
setMobile: (value: string) => void;
sendCaptcha: (mobile: string) => Promise<void>;
onConfirmByMobile: (mobile: string, captcha: string, newPassword: string) => Promise<void>;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -5,4 +5,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', f
failTimes: number;
}, {
onConfirm: (prevPassword: string, password: string) => Promise<void>;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -6,4 +6,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', f
oakId: string;
}, {
goToMobile: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -7,7 +7,7 @@ declare type IDownloadProps = {
style?: React.CSSProperties;
filename?: string;
};
declare function Download(props: IDownloadProps): JSX.Element;
declare function Download(props: IDownloadProps): import("react/jsx-runtime").JSX.Element;
declare namespace Download {
var onDownload: (arrayBuffer: ArrayBuffer, filename: string) => void;
var base64ToBlob: (base64String: string) => Blob;

View File

@ -1,3 +1,3 @@
import './index.less';
declare const Empty: () => JSX.Element;
declare const Empty: () => import("react/jsx-runtime").JSX.Element;
export default Empty;

View File

@ -1,3 +1,3 @@
import './index.less';
declare const Empty: () => JSX.Element;
declare const Empty: () => import("react/jsx-runtime").JSX.Element;
export default Empty;

View File

@ -15,5 +15,5 @@ interface IErrorPageProps {
children?: React.ReactNode;
icon?: React.ReactNode;
}
declare function ErrorPage(props: IErrorPageProps): JSX.Element;
declare function ErrorPage(props: IErrorPageProps): import("react/jsx-runtime").JSX.Element;
export default ErrorPage;

View File

@ -15,5 +15,5 @@ declare type GridProps = {
list: Array<Item>;
onChange?: (index: number, event?: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
};
declare const _default: React.MemoExoticComponent<(props: GridProps) => JSX.Element>;
declare const _default: React.MemoExoticComponent<(props: GridProps) => import("react/jsx-runtime").JSX.Element>;
export default _default;

View File

@ -17,5 +17,5 @@ declare type PageHeaderProps = {
children?: React.ReactNode;
showHeader?: boolean;
};
declare const _default: React.MemoExoticComponent<(props: PageHeaderProps) => JSX.Element>;
declare const _default: React.MemoExoticComponent<(props: PageHeaderProps) => import("react/jsx-runtime").JSX.Element>;
export default _default;

View File

@ -14,5 +14,5 @@ declare type IQrCodeProps = {
successed?: boolean;
type?: EntityDict['wechatLogin']['Schema']['type'];
};
declare function QrCode(props: IQrCodeProps): JSX.Element;
declare function QrCode(props: IQrCodeProps): import("react/jsx-runtime").JSX.Element;
export default QrCode;

View File

@ -5,5 +5,5 @@ declare type Props = {
description?: string;
children?: React.ReactNode;
};
declare const _default: React.MemoExoticComponent<(props: Props) => JSX.Element>;
declare const _default: React.MemoExoticComponent<(props: Props) => import("react/jsx-runtime").JSX.Element>;
export default _default;

View File

@ -5,5 +5,5 @@ declare type Props = {
description?: string;
children?: React.ReactNode;
};
declare const _default: React.MemoExoticComponent<(props: Props) => JSX.Element>;
declare const _default: React.MemoExoticComponent<(props: Props) => import("react/jsx-runtime").JSX.Element>;
export default _default;

View File

@ -14,5 +14,5 @@ interface GrantProps {
rootStyle?: React.CSSProperties;
rootClassName?: string;
}
declare function Grant(props: GrantProps): JSX.Element;
declare function Grant(props: GrantProps): import("react/jsx-runtime").JSX.Element;
export default Grant;

View File

@ -14,5 +14,5 @@ interface QrCodeProps {
rootStyle?: React.CSSProperties;
rootClassName?: string;
}
declare function QrCode(props: QrCodeProps): JSX.Element;
declare function QrCode(props: QrCodeProps): import("react/jsx-runtime").JSX.Element;
export default QrCode;

View File

@ -15,5 +15,5 @@ export default function render(props: WebComponentProps<EntityDict, 'user', fals
setValue: (path: string, value: string) => void;
removeItem: (path: string, index: number) => void;
cleanKey: (path: string, key: string) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;
export {};

View File

@ -4,4 +4,4 @@ export default function Web(props: {
setValue: (path: string, value: any) => void;
removeItem: (path: string, index: number) => void;
cleanKey: (path: string, key: string) => void;
}): JSX.Element;
}): import("react/jsx-runtime").JSX.Element;

View File

@ -4,4 +4,4 @@ export default function WechatMp(props: {
setValue: (path: string, value: any) => void;
removeItem: (path: string, index: number) => void;
cleanKey: (path: string, key: string) => void;
}): JSX.Element;
}): import("react/jsx-runtime").JSX.Element;

View File

@ -5,4 +5,4 @@ export default function WechatPublic(props: {
setValue: (path: string, value: any) => void;
removeItem: (path: string, index: number) => void;
cleanKey: (path: string, key: string) => void;
}): JSX.Element;
}): import("react/jsx-runtime").JSX.Element;

View File

@ -3,5 +3,5 @@ declare type StyleProps = {
value?: StyleType | null;
onChange: (value: StyleType) => void;
};
export default function Render(props: StyleProps): JSX.Element;
export default function Render(props: StyleProps): import("react/jsx-runtime").JSX.Element;
export {};

View File

@ -3,4 +3,4 @@ export default function Account(props: {
account: Required<Config>['Account'];
setValue: (path: string, value: any) => void;
removeItem: (path: string, index: number) => void;
}): JSX.Element;
}): import("react/jsx-runtime").JSX.Element;

View File

@ -2,4 +2,4 @@ import { Config } from '../../../../types/Config';
export default function Cos(props: {
cos: Required<Config>['Cos'];
setValue: (path: string, value: any) => void;
}): JSX.Element;
}): import("react/jsx-runtime").JSX.Element;

View File

@ -2,4 +2,4 @@ import { Config } from '../../../../types/Config';
export default function Cos(props: {
live: Required<Config>['Live'];
setValue: (path: string, value: any) => void;
}): JSX.Element;
}): import("react/jsx-runtime").JSX.Element;

View File

@ -2,4 +2,4 @@ import { Config } from '../../../../types/Config';
export default function Cos(props: {
map: Required<Config>['Map'];
setValue: (path: string, value: any) => void;
}): JSX.Element;
}): import("react/jsx-runtime").JSX.Element;

View File

@ -4,4 +4,4 @@ export default function Sms(props: {
setValue: (path: string, value: any) => void;
removeItem: (path: string, index: number) => void;
cleanKey: (path: string, key: string) => void;
}): JSX.Element;
}): import("react/jsx-runtime").JSX.Element;

View File

@ -12,4 +12,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
setValue: (path: string, value: string) => void;
removeItem: (path: string, index: number) => void;
cleanKey: (path: string, key: string) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -6,4 +6,4 @@ export default function render(props: WebComponentProps<EntityDict, 'extraFile',
avatarUrl?: string;
}, {
onPickByWeb: (files: File[]) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -1 +1 @@
export default function render(): JSX.Element;
export default function render(): import("react/jsx-runtime").JSX.Element;

View File

@ -19,5 +19,5 @@ export default function render(props: WebComponentProps<EntityDict, "extraFile",
closeModal: () => void;
onModal1Confirm: (value: number) => void;
setSelectedId: (id: number) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;
export {};

View File

@ -30,5 +30,5 @@ export default function render(props: WebComponentProps<EntityDict, "extraFile",
getUrl: (extraFile: EntityDict['extraFile']['OpSchema']) => string;
getFileName: (extraFile: EntityDict['extraFile']['OpSchema']) => string;
eFFormatBytes: (value: number) => string;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;
export {};

View File

@ -10,4 +10,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
}>;
}, {
onClick: (action: string) => void;
}>): JSX.Element | null;
}>): import("react/jsx-runtime").JSX.Element | null;

View File

@ -10,4 +10,4 @@ export default function render(props: WebComponentProps<EntityDict, 'address', t
resetInitialData: () => void;
downloadEnv: () => void;
resetEnv: (data: Record<string, any>) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -8,4 +8,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
size?: string;
className?: string;
style?: React.CSSProperties;
}, {}>): JSX.Element;
}, {}>): import("react/jsx-runtime").JSX.Element;

View File

@ -11,4 +11,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', f
router: EntityDict['message']['Schema']['router'];
visitState: EntityDict['message']['Schema']['visitState'];
id: string;
}, {}>): JSX.Element;
}, {}>): import("react/jsx-runtime").JSX.Element;

View File

@ -3,4 +3,4 @@ export default function render(props: {
data: {
data: MessageProps;
};
}): JSX.Element;
}): import("react/jsx-runtime").JSX.Element;

View File

@ -5,4 +5,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'messageType
dirtyIds: string[];
messageTypes: string[];
applicationId: string;
}, {}>): JSX.Element;
}, {}>): import("react/jsx-runtime").JSX.Element;

View File

@ -9,4 +9,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'token', fal
iconName?: string;
iconLarger?: string;
onClick?: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -13,4 +13,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'token', fal
}, {
logout: () => void;
updateAttribute: (attr: string, value: any) => Promise<void>;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -13,4 +13,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'token', fal
}, {
logout: () => void;
updateAttribute: (attr: string, value: any) => Promise<void>;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -8,4 +8,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
style?: React.CSSProperties;
}, {
goMessageList: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -10,4 +10,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
buttonClassName?: string;
}, {
goMessageList: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -6,4 +6,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'userEntityG
url: string;
expiresAt: number;
title?: string;
}, {}>): JSX.Element;
}, {}>): import("react/jsx-runtime").JSX.Element;

View File

@ -4,4 +4,4 @@ export default function render(props: WebComponentProps<EntityDict, 'parasite',
loading: boolean;
illegal: boolean;
expired: boolean;
}, {}>): JSX.Element;
}, {}>): import("react/jsx-runtime").JSX.Element;

View File

@ -7,4 +7,4 @@ export default function render(props: WebComponentProps<EntityDict, 'parasite',
}, {
cancel: () => void;
getQrCode: () => Promise<void>;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -19,4 +19,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'parasite',
onSearch: (value: string) => void;
onSelect: (value: string) => void;
setSearchValue: (value: string) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -16,4 +16,4 @@ export default function render(props: WebComponentProps<EntityDict, 'area', true
setCheckedList: (station: string, flag: boolean) => void;
cancel: () => void;
confirm: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -3,5 +3,5 @@ interface IProps {
defaultValue?: number | string;
onChange: (color: string) => void;
}
declare const _default: React.MemoExoticComponent<(props: IProps) => JSX.Element>;
declare const _default: React.MemoExoticComponent<(props: IProps) => import("react/jsx-runtime").JSX.Element>;
export default _default;

View File

@ -9,5 +9,5 @@ interface IProps {
onChange: (value?: any) => void;
options: IOption[];
}
declare const _default: React.MemoExoticComponent<(props: IProps) => JSX.Element>;
declare const _default: React.MemoExoticComponent<(props: IProps) => import("react/jsx-runtime").JSX.Element>;
export default _default;

View File

@ -1 +1 @@
export default function Render(this: any): JSX.Element;
export default function Render(this: any): import("react/jsx-runtime").JSX.Element;

View File

@ -19,4 +19,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'token', fal
sendCaptcha: (mobile: string) => Promise<void>;
loginByMobile: (mobile: string, password?: string, captcha?: string) => Promise<void>;
setLoginMode: (value: number) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -17,4 +17,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', true
goUpsert: () => void;
confirmDelete: (id: string) => Promise<void>;
goUpdate: (id: string) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -11,4 +11,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', true
goUpsert: () => void;
goUpdate: (id: string) => void;
confirmDelete: (id: string) => Promise<void>;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -1 +1 @@
export default function render(this: any): JSX.Element;
export default function render(this: any): import("react/jsx-runtime").JSX.Element;

View File

@ -11,4 +11,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'mobile', fa
onMobileChange: (value: string) => Promise<void>;
onConfirm: () => Promise<void>;
onReset: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -13,4 +13,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'mobile', fa
onMobileChange: (value: string) => Promise<void>;
onConfirm: () => Promise<void>;
onReset: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -11,7 +11,9 @@ function Render(props) {
var _a = props.data, mobileValue = _a.mobileValue, mobileValueReady = _a.mobileValueReady, relations = _a.relations, entity = _a.entity, entityId = _a.entityId, userId = _a.userId, oakFullpath = _a.oakFullpath, oakExecutable = _a.oakExecutable, legal = _a.legal, isNew = _a.isNew;
var _b = props.methods, onConfirm = _b.onConfirm, onMobileChange = _b.onMobileChange, onReset = _b.onReset, t = _b.t;
var _c = tslib_1.__read((0, react_1.useState)(false), 2), passwordConfirm = _c[0], setPasswordConfirm = _c[1];
return ((0, jsx_runtime_1.jsxs)("div", tslib_1.__assign({ className: web_module_less_1.default.container }, { children: [(0, jsx_runtime_1.jsx)(antd_1.Form, tslib_1.__assign({ colon: true, labelCol: { span: 4 }, wrapperCol: { span: 8 } }, { children: (0, jsx_runtime_1.jsx)(antd_1.Form.Item, tslib_1.__assign({ label: "\u624B\u673A\u53F7\u7801", required: true, name: "mobile", rules: [
return ((0, jsx_runtime_1.jsxs)("div", tslib_1.__assign({ className: web_module_less_1.default.container }, { children: [(0, jsx_runtime_1.jsx)(antd_1.Form, tslib_1.__assign({ colon: true, labelCol: { span: 4 }, wrapperCol: { span: 8 } }, { children: (0, jsx_runtime_1.jsx)(antd_1.Form.Item, tslib_1.__assign({ label: "\u624B\u673A\u53F7\u7801", required: true,
// name="mobile"
rules: [
{
message: '手机号不能为空',
},
@ -23,10 +25,10 @@ function Render(props) {
max: 11,
message: '请输入11位手机号',
},
] }, { children: (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(antd_1.Input, { maxLength: 11, value: mobileValue, onChange: function (e) {
var strValue = e.target.value;
onMobileChange(strValue);
}, placeholder: "\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801", type: "tel" }) }) })) })), mobileValueReady && userId && ((0, jsx_runtime_1.jsx)(index_1.default, { oakAutoUnmount: true, oakPath: oakFullpath ? "".concat(oakFullpath, ".user") : undefined, entity: entity, entityId: entityId, relations: relations, oakId: userId, setPasswordConfirm: setPasswordConfirm })), (0, jsx_runtime_1.jsx)(antd_1.Form, tslib_1.__assign({ colon: true, labelCol: { span: 4 }, wrapperCol: { span: 8 } }, { children: (0, jsx_runtime_1.jsx)(antd_1.Form.Item, tslib_1.__assign({ wrapperCol: { offset: 4 } }, { children: (0, jsx_runtime_1.jsxs)(antd_1.Space, { children: [(0, jsx_runtime_1.jsx)(antd_1.Button, tslib_1.__assign({ style: { flex: 2 }, type: "primary", htmlType: "reset", onClick: function () { return tslib_1.__awaiter(_this, void 0, void 0, function () {
] }, { children: (0, jsx_runtime_1.jsx)(antd_1.Input, { maxLength: 11, value: mobileValue, onChange: function (e) {
var strValue = e.target.value;
onMobileChange(strValue);
}, placeholder: "\u8BF7\u8F93\u5165\u624B\u673A\u53F7\u7801", type: "tel" }) })) })), mobileValueReady && userId && ((0, jsx_runtime_1.jsx)(index_1.default, { oakAutoUnmount: true, oakPath: oakFullpath ? "".concat(oakFullpath, ".user") : undefined, entity: entity, entityId: entityId, relations: relations, oakId: userId, setPasswordConfirm: setPasswordConfirm })), (0, jsx_runtime_1.jsx)(antd_1.Form, tslib_1.__assign({ colon: true, labelCol: { span: 4 }, wrapperCol: { span: 8 } }, { children: (0, jsx_runtime_1.jsx)(antd_1.Form.Item, tslib_1.__assign({ wrapperCol: { offset: 4 } }, { children: (0, jsx_runtime_1.jsxs)(antd_1.Space, { children: [(0, jsx_runtime_1.jsx)(antd_1.Button, tslib_1.__assign({ style: { flex: 2 }, type: "primary", htmlType: "reset", onClick: function () { return tslib_1.__awaiter(_this, void 0, void 0, function () {
return tslib_1.__generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, onConfirm()];

View File

@ -8,4 +8,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
}, {
onConfirm: () => Promise<void>;
onReset: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -8,4 +8,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
}, {
onConfirm: () => Promise<void>;
onReset: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -14,5 +14,5 @@ export default function render(props: WebComponentProps<EntityDict, 'userEntityG
setInit: () => void;
setPeriod: (p: number) => void;
setUnit: (u: Unit) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;
export {};

View File

@ -18,5 +18,5 @@ export default function render(props: WebComponentProps<EntityDict, 'userEntityG
setInit: () => void;
setPeriod: (p: number) => void;
setUnit: (u: Unit) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;
export {};

View File

@ -8,4 +8,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
}[];
}, {
onRelationChange: (relation: EntityDict['relation']['OpSchema'], checked: boolean) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -8,4 +8,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
}[];
}, {
onRelationChange: (relation: EntityDict['relation']['OpSchema'], checked: boolean) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -15,4 +15,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
onMobileChange: (value: string) => Promise<void>;
onConfirm: () => Promise<void>;
onReset: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -16,4 +16,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'user', fals
onMobileChange: (value: string) => Promise<void>;
onConfirm: () => Promise<void>;
onReset: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -11,4 +11,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'relation',
entityId: string;
relations: EntityDict['relation']['OpSchema'][];
qrCodeType?: QrCodeType;
}, {}>): JSX.Element;
}, {}>): import("react/jsx-runtime").JSX.Element;

View File

@ -6,4 +6,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'wechatLogin
loading: boolean;
successed: boolean;
type: EntityDict['wechatLogin']['Schema']['type'];
}, {}>): JSX.Element;
}, {}>): import("react/jsx-runtime").JSX.Element;

View File

@ -2,4 +2,4 @@ import { EntityDict } from '../../../oak-app-domain';
import { WebComponentProps } from 'oak-frontend-base';
export default function Render(props: WebComponentProps<EntityDict, 'wechatUser', true, {
wechatUsers: EntityDict['wechatUser']['Schema'][];
}, {}>): JSX.Element;
}, {}>): import("react/jsx-runtime").JSX.Element;

View File

@ -4,4 +4,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'wechatUser'
wechatLoginId: string;
qrCodeUrl: string;
loading: boolean;
}, {}>): JSX.Element;
}, {}>): import("react/jsx-runtime").JSX.Element;

View File

@ -256,11 +256,11 @@ var i18ns = [
}
},
{
id: "65801f60e3c6d0197f2f0a44a794ccf7",
namespace: "oak-general-business-l-common",
id: "ada0227a3fe7b54eddce578f15f015b8",
namespace: "oak-general-business-l-Common",
language: "zh-CN",
module: "oak-general-business",
position: "locales/common",
position: "locales/Common",
data: {
"noData": "暂无数据",
"areYouSure": "请确认",

View File

@ -5,4 +5,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'address', t
}, {
gotoUpsert: (id: string) => void;
goNewAddress: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -9,4 +9,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'address', f
}, {
callAreaPicker: () => void;
confirm: () => Promise<void>;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -8,5 +8,5 @@ export default function render(props: WebComponentProps<EntityDict, 'application
oakId: string;
config: Config;
type: AppType;
}, {}>): JSX.Element;
}, {}>): import("react/jsx-runtime").JSX.Element;
export {};

View File

@ -14,5 +14,5 @@ export default function Render(props: WebComponentProps<EntityDict, 'application
}, {
onTabClick: (key: string) => void;
goWechatPublicTagList: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;
export {};

View File

@ -12,4 +12,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'application
goSetConfig: (id: string) => void;
goUpdate: (id: string) => void;
removeApplication: (id: string) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -15,4 +15,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'application
style: EntityDict['system']['Schema']['style'];
}, {
confirm: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -4,4 +4,4 @@ export default function render(props: WebComponentProps<EntityDict, 'mobile', tr
showBack: boolean;
userId: string;
currentUserId: string;
}, {}>): JSX.Element;
}, {}>): import("react/jsx-runtime").JSX.Element;

View File

@ -4,4 +4,4 @@ export default function render(props: WebComponentProps<EntityDict, 'mobile', tr
showBack: boolean;
userId: string;
currentUserId: string;
}, {}>): JSX.Element;
}, {}>): import("react/jsx-runtime").JSX.Element;

View File

@ -11,4 +11,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'domain', fa
system: EntityDict['system']['Schema'];
}, {
onTabClick: (key: string) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -10,4 +10,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'domain', tr
goDetail: (id: string) => void;
goCreate: () => void;
goUpdate: (id: string) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -11,4 +11,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'domain', fa
showBack: boolean;
}, {
confirm: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -1,3 +1,3 @@
import { EntityDict } from '../../oak-app-domain';
import { WebComponentProps } from 'oak-frontend-base';
export default function Render(props: WebComponentProps<EntityDict, 'token', true, {}, {}>): JSX.Element;
export default function Render(props: WebComponentProps<EntityDict, 'token', true, {}, {}>): import("react/jsx-runtime").JSX.Element;

View File

@ -10,4 +10,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', f
router: EntityDict['message']['Schema']['router'];
}, {
goPage: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -10,4 +10,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', f
router: EntityDict['message']['Schema']['router'];
}, {
goPage: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -7,4 +7,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', f
}, {
goDetailById: (id: string) => void;
goMessageList: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -4,4 +4,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', t
messages: EntityDict['message']['Schema'][];
}, {
goDetailById: (id: string) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -4,4 +4,4 @@ export default function Render(props: WebComponentProps<EntityDict, 'message', t
messages: RowWithActions<EntityDict, 'message'>[];
}, {
goDetailById: (id: string) => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -17,4 +17,4 @@ export default function render(props: WebComponentProps<EntityDict, 'token', fal
setMobile: (mobile: string) => void;
sendCaptcha: () => Promise<void>;
loginByMobile: () => Promise<void>;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -16,4 +16,4 @@ export default function render(props: WebComponentProps<EntityDict, 'token', fal
setMobile: (mobile: string) => void;
sendCaptcha: () => Promise<void>;
loginByMobile: () => Promise<void>;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -5,4 +5,4 @@ export default function render(props: WebComponentProps<EntityDict, 'mobile', tr
allowRemove: boolean;
}, {
goAddMobile: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -6,4 +6,4 @@ export default function render(props: WebComponentProps<EntityDict, 'mobile', tr
showBack: boolean;
}, {
goAddMobile: () => void;
}>): JSX.Element;
}>): import("react/jsx-runtime").JSX.Element;

View File

@ -6,4 +6,4 @@ export default function render(props: WebComponentProps<EntityDict, 'article', f
abstract?: string;
content?: string;
html?: string;
}, {}>): JSX.Element;
}, {}>): import("react/jsx-runtime").JSX.Element;

Some files were not shown because too many files have changed in this diff Show More