前端初始化时,注入了selection/operation的rewriter
This commit is contained in:
parent
5674bedb75
commit
bd1c30d8d9
|
|
@ -103,7 +103,7 @@ export async function createSession(params, context) {
|
||||||
origin: 'wechat',
|
origin: 'wechat',
|
||||||
type: 'image',
|
type: 'image',
|
||||||
tag1: 'image',
|
tag1: 'image',
|
||||||
objectId: await generateNewIdAsync(), // 这个域用来标识唯一性
|
objectId: await generateNewIdAsync(),
|
||||||
sort: 1000,
|
sort: 1000,
|
||||||
uploadState: 'success',
|
uploadState: 'success',
|
||||||
extra1: data.MediaId,
|
extra1: data.MediaId,
|
||||||
|
|
@ -128,7 +128,7 @@ export async function createSession(params, context) {
|
||||||
origin: 'wechat',
|
origin: 'wechat',
|
||||||
type: 'video',
|
type: 'video',
|
||||||
tag1: 'video',
|
tag1: 'video',
|
||||||
objectId: await generateNewIdAsync(), // 这个域用来标识唯一性
|
objectId: await generateNewIdAsync(),
|
||||||
sort: 1000,
|
sort: 1000,
|
||||||
uploadState: 'success',
|
uploadState: 'success',
|
||||||
extra1: data.MediaId,
|
extra1: data.MediaId,
|
||||||
|
|
@ -150,7 +150,7 @@ export async function createSession(params, context) {
|
||||||
origin: 'wechat',
|
origin: 'wechat',
|
||||||
type: 'audio',
|
type: 'audio',
|
||||||
tag1: 'audio',
|
tag1: 'audio',
|
||||||
objectId: await generateNewIdAsync(), // 这个域用来标识唯一性
|
objectId: await generateNewIdAsync(),
|
||||||
sort: 1000,
|
sort: 1000,
|
||||||
uploadState: 'success',
|
uploadState: 'success',
|
||||||
extra1: data.MediaId,
|
extra1: data.MediaId,
|
||||||
|
|
|
||||||
|
|
@ -2418,8 +2418,8 @@ export async function refreshToken(params, context) {
|
||||||
// 只有server模式去刷新token
|
// 只有server模式去刷新token
|
||||||
// 'development' | 'production' | 'staging'
|
// 'development' | 'production' | 'staging'
|
||||||
const intervals = {
|
const intervals = {
|
||||||
development: 7200 * 1000, // 2小时
|
development: 7200 * 1000,
|
||||||
staging: 600 * 1000, // 十分钟
|
staging: 600 * 1000,
|
||||||
production: 600 * 1000, // 十分钟
|
production: 600 * 1000, // 十分钟
|
||||||
};
|
};
|
||||||
let applicationId = token.applicationId;
|
let applicationId = token.applicationId;
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ import { shrinkUuidTo32Bytes } from 'oak-domain/lib/utils/uuid';
|
||||||
* @returns
|
* @returns
|
||||||
*/
|
*/
|
||||||
export async function createWechatQrCode(options, context) {
|
export async function createWechatQrCode(options, context) {
|
||||||
|
console.warn('本接口将被封闭,请直接使用operation来实现wechatQrCode的创建动作');
|
||||||
const { entity, entityId, tag, permanent = false, props, type: qrCodeType, } = options;
|
const { entity, entityId, tag, permanent = false, props, type: qrCodeType, } = options;
|
||||||
const applicationId = context.getApplicationId();
|
const applicationId = context.getApplicationId();
|
||||||
assert(applicationId);
|
assert(applicationId);
|
||||||
|
|
@ -161,7 +162,7 @@ export async function createWechatQrCode(options, context) {
|
||||||
permanent,
|
permanent,
|
||||||
url,
|
url,
|
||||||
expired: false,
|
expired: false,
|
||||||
expiresAt: Date.now() + 2592000 * 1000, // wecharQrCode里的过期时间都放到最大,由上层关联对象来主动过期(by Xc, 20230131)
|
expiresAt: Date.now() + 2592000 * 1000,
|
||||||
props,
|
props,
|
||||||
};
|
};
|
||||||
// 直接创建
|
// 直接创建
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "address", true, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "address", true, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "address", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "address", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "application", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "application", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "application", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "application", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "application", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "application", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
import { EntityDict } from '../../../oak-app-domain';
|
import { EntityDict } from '../../../oak-app-domain';
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "application", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "application", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { EntityDict } from "../../oak-app-domain";
|
import { EntityDict } from "../../oak-app-domain";
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "applicationPassport", true, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "applicationPassport", true, {
|
||||||
systemId: string;
|
systemId: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "article", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "article", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -8,5 +8,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
scrollId: string;
|
scrollId: string;
|
||||||
tocWidth: number | "auto" | undefined;
|
tocWidth: number | "auto" | undefined;
|
||||||
tocHeight: number | "auto" | undefined;
|
tocHeight: number | "auto" | undefined;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,9 @@ export default OakComponent({
|
||||||
tocFixed: true,
|
tocFixed: true,
|
||||||
tocPosition: 'none',
|
tocPosition: 'none',
|
||||||
highlightBgColor: 'none',
|
highlightBgColor: 'none',
|
||||||
headerTop: 0, //页面中吸顶部分高度
|
headerTop: 0,
|
||||||
className: '',
|
className: '',
|
||||||
scrollId: '', // 滚动条所在容器id,不传默认body
|
scrollId: '',
|
||||||
tocWidth: undefined,
|
tocWidth: undefined,
|
||||||
tocHeight: undefined,
|
tocHeight: undefined,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -8,5 +8,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
scrollId: string;
|
scrollId: string;
|
||||||
tocWidth: number | "auto" | undefined;
|
tocWidth: number | "auto" | undefined;
|
||||||
tocHeight: number | "auto" | undefined;
|
tocHeight: number | "auto" | undefined;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -28,9 +28,9 @@ export default OakComponent({
|
||||||
tocFixed: true,
|
tocFixed: true,
|
||||||
tocPosition: 'none',
|
tocPosition: 'none',
|
||||||
highlightBgColor: 'none',
|
highlightBgColor: 'none',
|
||||||
headerTop: 0, //页面中吸顶部分高度
|
headerTop: 0,
|
||||||
className: '',
|
className: '',
|
||||||
scrollId: '', // 滚动条所在容器id,不传默认body
|
scrollId: '',
|
||||||
tocWidth: undefined,
|
tocWidth: undefined,
|
||||||
tocHeight: undefined,
|
tocHeight: undefined,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
/// <reference types="react" />
|
|
||||||
export type TocItem = {
|
export type TocItem = {
|
||||||
id: string;
|
id: string;
|
||||||
level: number;
|
level: number;
|
||||||
|
|
|
||||||
|
|
@ -16,5 +16,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
currentArticle: string;
|
currentArticle: string;
|
||||||
setCurrentArticle: (id: string) => void;
|
setCurrentArticle: (id: string) => void;
|
||||||
setCopyArticleUrl: (id: string) => string;
|
setCopyArticleUrl: (id: string) => string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ export default OakComponent({
|
||||||
properties: {
|
properties: {
|
||||||
articleMenuId: '',
|
articleMenuId: '',
|
||||||
onChildEditArticleChange: (data) => undefined,
|
onChildEditArticleChange: (data) => undefined,
|
||||||
show: 'edit', // edit为编辑,doc为查看,preview为预览
|
show: 'edit',
|
||||||
getBreadcrumbItemsByParent: (breadcrumbItems) => undefined,
|
getBreadcrumbItemsByParent: (breadcrumbItems) => undefined,
|
||||||
breadcrumbItems: [],
|
breadcrumbItems: [],
|
||||||
drawerOpen: false,
|
drawerOpen: false,
|
||||||
|
|
|
||||||
|
|
@ -8,5 +8,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
origin: string;
|
origin: string;
|
||||||
scrollId: string;
|
scrollId: string;
|
||||||
height: number | "auto";
|
height: number | "auto";
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -25,11 +25,11 @@ export default OakComponent({
|
||||||
properties: {
|
properties: {
|
||||||
articleMenuId: '',
|
articleMenuId: '',
|
||||||
changeIsEdit: () => undefined,
|
changeIsEdit: () => undefined,
|
||||||
tocPosition: 'none', //目录显示位置,none为不显示目录
|
tocPosition: 'none',
|
||||||
highlightBgColor: 'none', //点击目录时标题高亮背景色,none为不显示高亮背景色
|
highlightBgColor: 'none',
|
||||||
onArticlePreview: (content, title) => undefined, //预览文章
|
onArticlePreview: (content, title) => undefined,
|
||||||
origin: 'qiniu', // 默认为七牛云
|
origin: 'qiniu',
|
||||||
scrollId: '', // 滚动条所在容器id,不传默认页面编辑器容器id
|
scrollId: '',
|
||||||
height: 600,
|
height: 600,
|
||||||
},
|
},
|
||||||
listeners: {
|
listeners: {
|
||||||
|
|
|
||||||
|
|
@ -25,5 +25,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
onMenuViewById: (articleMenuId: string) => void;
|
onMenuViewById: (articleMenuId: string) => void;
|
||||||
setCopyArticleUrl: (id: string) => string;
|
setCopyArticleUrl: (id: string) => string;
|
||||||
origin: string;
|
origin: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ export default OakComponent({
|
||||||
onRemove: () => undefined,
|
onRemove: () => undefined,
|
||||||
onUpdateName: async (name) => undefined,
|
onUpdateName: async (name) => undefined,
|
||||||
onChildEditArticleChange: (data) => undefined,
|
onChildEditArticleChange: (data) => undefined,
|
||||||
show: 'edit', // edit为编辑,doc为查看,preview为预览
|
show: 'edit',
|
||||||
getBreadcrumbItemsByParent: (breadcrumbItems) => undefined,
|
getBreadcrumbItemsByParent: (breadcrumbItems) => undefined,
|
||||||
breadItems: [],
|
breadItems: [],
|
||||||
drawerOpen: false,
|
drawerOpen: false,
|
||||||
|
|
|
||||||
|
|
@ -32,5 +32,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
onMenuViewById: (articleMenuId: string) => void;
|
onMenuViewById: (articleMenuId: string) => void;
|
||||||
setCopyArticleUrl: (id: string) => string;
|
setCopyArticleUrl: (id: string) => string;
|
||||||
origin: string;
|
origin: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ export default OakComponent({
|
||||||
entityId: '',
|
entityId: '',
|
||||||
parentId: '',
|
parentId: '',
|
||||||
onGrandChildEditArticleChange: (data) => undefined,
|
onGrandChildEditArticleChange: (data) => undefined,
|
||||||
show: 'edit', // edit为编辑,doc为查看,preview为预览
|
show: 'edit',
|
||||||
articleMenuId: '',
|
articleMenuId: '',
|
||||||
articleId: '',
|
articleId: '',
|
||||||
getBreadcrumbItems: (breadcrumbItems) => undefined,
|
getBreadcrumbItems: (breadcrumbItems) => undefined,
|
||||||
|
|
|
||||||
|
|
@ -14,5 +14,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
setCopyArticleUrl: (articleId: string) => string;
|
setCopyArticleUrl: (articleId: string) => string;
|
||||||
origin: string;
|
origin: string;
|
||||||
scrollId: string;
|
scrollId: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -14,18 +14,18 @@ export default OakComponent({
|
||||||
properties: {
|
properties: {
|
||||||
entity: '',
|
entity: '',
|
||||||
entityId: '',
|
entityId: '',
|
||||||
show: 'edit', // edit为编辑,doc为查看,preview为预览
|
show: 'edit',
|
||||||
articleMenuId: '', // 菜单id
|
articleMenuId: '',
|
||||||
articleId: '', //文章id
|
articleId: '',
|
||||||
tocPosition: 'none', //文章目录显示位置,none为不显示目录
|
tocPosition: 'none',
|
||||||
highlightBgColor: 'none', //点击文章目录时标题高亮背景色,none为不显示高亮背景色
|
highlightBgColor: 'none',
|
||||||
onMenuView: () => undefined, //查看全部菜单
|
onMenuView: () => undefined,
|
||||||
onMenuViewById: (articleMenuId) => undefined, //查看指定id菜单
|
onMenuViewById: (articleMenuId) => undefined,
|
||||||
onArticleView: (articleId) => undefined, //查看文章
|
onArticleView: (articleId) => undefined,
|
||||||
onArticlePreview: (content, title) => undefined, //预览文章
|
onArticlePreview: (content, title) => undefined,
|
||||||
onArticleEdit: (articleId) => undefined, //编辑文章
|
onArticleEdit: (articleId) => undefined,
|
||||||
setCopyArticleUrl: (articleId) => '',
|
setCopyArticleUrl: (articleId) => '',
|
||||||
origin: 'qiniu', // cos origin默认七牛云
|
origin: 'qiniu',
|
||||||
scrollId: '', // 滚动条所在容器id,不传默认页面编辑器容器id
|
scrollId: '', // 滚动条所在容器id,不传默认页面编辑器容器id
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "user", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "user", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "user", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "user", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../oak-app-domain").EntityDict, keyof import("../../oak-app-domain").EntityDict, false, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../oak-app-domain").EntityDict, keyof import("../../oak-app-domain").EntityDict, false, {
|
||||||
oakId: string;
|
oakId: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ export default OakComponent({
|
||||||
code: '',
|
code: '',
|
||||||
title: '',
|
title: '',
|
||||||
desc: '',
|
desc: '',
|
||||||
icon: '', //web独有
|
icon: '',
|
||||||
imagePath: '', //小程序独有
|
imagePath: '', //小程序独有
|
||||||
},
|
},
|
||||||
lifetimes: {
|
lifetimes: {
|
||||||
|
|
|
||||||
|
|
@ -17,5 +17,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
border: boolean;
|
border: boolean;
|
||||||
selectedIconPath: string;
|
selectedIconPath: string;
|
||||||
iconPath: string;
|
iconPath: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ export default OakComponent({
|
||||||
color: '#666',
|
color: '#666',
|
||||||
selectedColor: '',
|
selectedColor: '',
|
||||||
border: false,
|
border: false,
|
||||||
selectedIconPath: '', //一般在list设置
|
selectedIconPath: '',
|
||||||
iconPath: '',
|
iconPath: '',
|
||||||
},
|
},
|
||||||
lifetimes: {
|
lifetimes: {
|
||||||
|
|
|
||||||
|
|
@ -8,5 +8,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
entityId: string;
|
entityId: string;
|
||||||
type: string;
|
type: string;
|
||||||
isService: boolean;
|
isService: boolean;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import { Style } from '../../../../types/Style';
|
import { Style } from '../../../../types/Style';
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../../oak-app-domain").EntityDict, keyof import("../../../../oak-app-domain").EntityDict, false, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../../oak-app-domain").EntityDict, keyof import("../../../../oak-app-domain").EntityDict, false, {
|
||||||
style: Style;
|
style: Style;
|
||||||
entity: "system" | "platform" | "application";
|
entity: "platform" | "application" | "system";
|
||||||
entityId: string;
|
entityId: string;
|
||||||
name: string;
|
name: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
import { Config } from '../../../types/Config';
|
import { Config } from '../../../types/Config';
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, keyof import("../../../oak-app-domain").EntityDict, false, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, keyof import("../../../oak-app-domain").EntityDict, false, {
|
||||||
config: Config;
|
config: Config;
|
||||||
entity: "system" | "platform";
|
entity: "platform" | "system";
|
||||||
name: string;
|
name: string;
|
||||||
entityId: string;
|
entityId: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "domain", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "domain", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "domain", true, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "domain", true, {
|
||||||
systemId: string;
|
systemId: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "domain", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "domain", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -12,5 +12,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
entityId: string;
|
entityId: string;
|
||||||
tag1: string;
|
tag1: string;
|
||||||
tag2: string;
|
tag2: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
entity: keyof EntityDict;
|
entity: keyof EntityDict;
|
||||||
entityId: string;
|
entityId: string;
|
||||||
autoUpload: boolean;
|
autoUpload: boolean;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
/// <reference types="react" />
|
|
||||||
import { EntityDict } from '../../../oak-app-domain';
|
import { EntityDict } from '../../../oak-app-domain';
|
||||||
import { EntityDict as BaseEntityDict } from 'oak-domain/lib/types/Entity';
|
import { EntityDict as BaseEntityDict } from 'oak-domain/lib/types/Entity';
|
||||||
import { ReactComponentProps } from 'oak-frontend-base/lib/types/Page';
|
import { ReactComponentProps } from 'oak-frontend-base/lib/types/Page';
|
||||||
|
|
@ -24,7 +23,7 @@ declare const _default: <ED2 extends EntityDict & BaseEntityDict, T2 extends key
|
||||||
loadingIcon?: import("react").ReactNode;
|
loadingIcon?: import("react").ReactNode;
|
||||||
disabled?: boolean | undefined;
|
disabled?: boolean | undefined;
|
||||||
onClick?: ((event: import("react").MouseEvent<HTMLButtonElement, MouseEvent>) => unknown) | undefined;
|
onClick?: ((event: import("react").MouseEvent<HTMLButtonElement, MouseEvent>) => unknown) | undefined;
|
||||||
type?: "button" | "reset" | "submit" | undefined;
|
type?: "reset" | "submit" | "button" | undefined;
|
||||||
shape?: "default" | "rounded" | "rectangular" | undefined;
|
shape?: "default" | "rounded" | "rectangular" | undefined;
|
||||||
children?: import("react").ReactNode;
|
children?: import("react").ReactNode;
|
||||||
} & Pick<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement>, "id" | "onMouseDown" | "onMouseUp" | "onTouchEnd" | "onTouchStart"> & {
|
} & Pick<import("react").ClassAttributes<HTMLButtonElement> & import("react").ButtonHTMLAttributes<HTMLButtonElement>, "id" | "onMouseDown" | "onMouseUp" | "onTouchEnd" | "onTouchStart"> & {
|
||||||
|
|
|
||||||
|
|
@ -47,19 +47,19 @@ export default OakComponent({
|
||||||
bucket: '',
|
bucket: '',
|
||||||
autoUpload: false,
|
autoUpload: false,
|
||||||
maxNumber: 20,
|
maxNumber: 20,
|
||||||
extension: [], //小程序独有 chooseMessageFile
|
extension: [],
|
||||||
selectCount: 1, // 每次打开图片时,可选中的数量 小程序独有
|
selectCount: 1,
|
||||||
sourceType: ['album', 'camera'], // 小程序独有 chooseMedia
|
sourceType: ['album', 'camera'],
|
||||||
mediaType: ['image'], // 小程序独有 chooseMedia
|
mediaType: ['image'],
|
||||||
mode: 'aspectFit', // 图片显示模式
|
mode: 'aspectFit',
|
||||||
size: 3, // 每行可显示的个数 小程序独有
|
size: 3,
|
||||||
showUploadList: true, //web独有
|
showUploadList: true,
|
||||||
showUploadProgress: false, // web独有
|
showUploadProgress: false,
|
||||||
accept: 'image/*', // web独有
|
accept: 'image/*',
|
||||||
disablePreview: false, // 图片是否可预览
|
disablePreview: false,
|
||||||
disableDelete: false, // 图片是否可删除
|
disableDelete: false,
|
||||||
disableAdd: false, // 上传按钮隐藏
|
disableAdd: false,
|
||||||
disableDownload: false, // 下载按钮隐藏
|
disableDownload: false,
|
||||||
type: 'image',
|
type: 'image',
|
||||||
origin: 'qiniu',
|
origin: 'qiniu',
|
||||||
tag1: '',
|
tag1: '',
|
||||||
|
|
@ -67,40 +67,40 @@ export default OakComponent({
|
||||||
entity: '',
|
entity: '',
|
||||||
entityId: '',
|
entityId: '',
|
||||||
theme: 'image',
|
theme: 'image',
|
||||||
enableCrop: false, //启用裁剪
|
enableCrop: false,
|
||||||
enableCompross: false, //启用压缩
|
enableCompross: false,
|
||||||
//图片裁剪
|
//图片裁剪
|
||||||
cropQuality: 1, //图片裁剪质量,范围:0 ~ 1
|
cropQuality: 1,
|
||||||
showRest: false, //显示重置按钮,重置缩放及旋转
|
showRest: false,
|
||||||
showGrid: false, //显示裁切区域网格(九宫格)
|
showGrid: false,
|
||||||
fillColor: 'white', //裁切图像填充色
|
fillColor: 'white',
|
||||||
rotationSlider: false, //图片旋转控制
|
rotationSlider: false,
|
||||||
aspectSlider: false, //裁切比率控制
|
aspectSlider: false,
|
||||||
zoomSlider: true, //图片缩放控制
|
zoomSlider: true,
|
||||||
resetText: '重置', //重置按钮文字
|
resetText: '重置',
|
||||||
aspect: 1 / 1, //裁切区域宽高比,width / height
|
aspect: 1 / 1,
|
||||||
minZoom: 1, //最小缩放倍数
|
minZoom: 1,
|
||||||
maxZoom: 3, //最大缩放倍数
|
maxZoom: 3,
|
||||||
cropShape: 'rect', //裁切区域形状,'rect' 或 'round'
|
cropShape: 'rect',
|
||||||
cropperProps: {}, //recat-easy-crop的props
|
cropperProps: {},
|
||||||
modalTitle: '编辑图片', //弹窗标题
|
modalTitle: '编辑图片',
|
||||||
modalWidth: '40vw', //弹窗宽度
|
modalWidth: '40vw',
|
||||||
modalOk: '确定', //确定按钮文字
|
modalOk: '确定',
|
||||||
modalCancel: '取消', //取消按钮的文字
|
modalCancel: '取消',
|
||||||
//图片压缩
|
//图片压缩
|
||||||
strict: true, //当压缩后的图片尺寸大于原图尺寸时输出原图
|
strict: true,
|
||||||
checkOrientation: true, //读取图像的Exif方向值并自动旋转或翻转图像(仅限 JPEG 图像)
|
checkOrientation: true,
|
||||||
retainExif: false, //压缩后保留图片的Exif信息
|
retainExif: false,
|
||||||
maxWidth: Infinity, //输出图片的最大宽度,值需大于0
|
maxWidth: Infinity,
|
||||||
maxHeight: Infinity, //输出图片的最大高度,值需大于0
|
maxHeight: Infinity,
|
||||||
minWidth: 0, //输出图片的最小宽度,值需大于0且不应大于maxWidth
|
minWidth: 0,
|
||||||
minHeight: 0, //输出图片的最小高度。值需大于0且不应大于maxHeight
|
minHeight: 0,
|
||||||
compressWidth: undefined, //输出图像的宽度。如果未指定,则将使用原始图像的宽度,若设置了height,则宽度将根据自然纵横比自动计算。
|
compressWidth: undefined,
|
||||||
compressHeight: undefined, //输出图像的高度。如果未指定,则将使用原始图像的高度,若设置了width,则高度将根据自然纵横比自动计算。
|
compressHeight: undefined,
|
||||||
resize: 'none', //仅在同时指定了width和height时生效
|
resize: 'none',
|
||||||
compressQuality: 0.8, //输出图像的质量。范围:0 ~ 1
|
compressQuality: 0.8,
|
||||||
mimeType: 'auto', //输出图片的 MIME 类型。默认情况下,将使用源图片文件的原始 MIME 类型。
|
mimeType: 'auto',
|
||||||
convertTypes: ['image/png'], //文件类型包含在其中且文件大小超过该convertSize值的文件将被转换为 JPEG。
|
convertTypes: ['image/png'],
|
||||||
convertSize: Infinity, //文件类型包含在convertTypes中且文件大小超过此值的文件将转换为 JPEG,Infinity表示禁用该功能
|
convertSize: Infinity, //文件类型包含在convertTypes中且文件大小超过此值的文件将转换为 JPEG,Infinity表示禁用该功能
|
||||||
},
|
},
|
||||||
features: ['extraFile'],
|
features: ['extraFile'],
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ export default function render(props) {
|
||||||
};
|
};
|
||||||
return (<>
|
return (<>
|
||||||
{enableCrop ? (<ImgCrop showReset={showRest} showGrid={showGrid} fillColor={fillColor} rotationSlider={rotationSlider} aspectSlider={aspectSlider} zoomSlider={zoomSlider} resetText={resetText} aspect={aspect} minZoom={minZoom} maxZoom={maxZoom} cropShape={cropShape} quality={cropQuality} cropperProps={{
|
{enableCrop ? (<ImgCrop showReset={showRest} showGrid={showGrid} fillColor={fillColor} rotationSlider={rotationSlider} aspectSlider={aspectSlider} zoomSlider={zoomSlider} resetText={resetText} aspect={aspect} minZoom={minZoom} maxZoom={maxZoom} cropShape={cropShape} quality={cropQuality} cropperProps={{
|
||||||
restrictPosition: false, //允许移动图片位置
|
restrictPosition: false,
|
||||||
...cropperProps,
|
...cropperProps,
|
||||||
}} modalTitle={modalTitle} modalWidth={modalWidth} modalOk={modalOk} modalCancel={modalCancel}>
|
}} modalTitle={modalTitle} modalWidth={modalWidth} modalOk={modalOk} modalCancel={modalCancel}>
|
||||||
<ExtrafileUpload oakPath={oakFullpath} bucket={bucket} autoUpload={autoUpload} maxNumber={maxNumber} mode={mode} showUploadList={showUploadList} showUploadProgress={showUploadProgress} accept={accept} disablePreview={disablePreview} disableDelete={disableDelete} disableAdd={disableAdd} disableDownload={disableDownload} disabled={disabled} type={type} origin={origin} tag1={tag1} tag2={tag2} entity={entity} entityId={entityId} theme={theme} children={children} beforeUpload={async (file) => {
|
<ExtrafileUpload oakPath={oakFullpath} bucket={bucket} autoUpload={autoUpload} maxNumber={maxNumber} mode={mode} showUploadList={showUploadList} showUploadProgress={showUploadProgress} accept={accept} disablePreview={disablePreview} disableDelete={disableDelete} disableAdd={disableAdd} disableDownload={disableDownload} disabled={disabled} type={type} origin={origin} tag1={tag1} tag2={tag2} entity={entity} entityId={entityId} theme={theme} children={children} beforeUpload={async (file) => {
|
||||||
|
|
|
||||||
|
|
@ -55,9 +55,9 @@ export default OakComponent({
|
||||||
data: {
|
data: {
|
||||||
isModalOpen: false,
|
isModalOpen: false,
|
||||||
isModalOpen1: false,
|
isModalOpen1: false,
|
||||||
renderImgs: [], // 读取的原文图片,在modal使用
|
renderImgs: [],
|
||||||
methodsType: '',
|
methodsType: '',
|
||||||
bridgeUrl: '', // 通过桥接方式获得的url
|
bridgeUrl: '',
|
||||||
selectedId: -1,
|
selectedId: -1,
|
||||||
},
|
},
|
||||||
properties: {
|
properties: {
|
||||||
|
|
|
||||||
|
|
@ -67,10 +67,10 @@ export default OakComponent({
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
properties: {
|
properties: {
|
||||||
mode: 'aspectFit', // 图片显示模式
|
mode: 'aspectFit',
|
||||||
size: 3, // 每行可显示的个数 小程序独有
|
size: 3,
|
||||||
disablePreview: false, // 图片是否可预览
|
disablePreview: false,
|
||||||
disableDownload: false, // 下载按钮隐藏
|
disableDownload: false,
|
||||||
tag1: '',
|
tag1: '',
|
||||||
tag2: '',
|
tag2: '',
|
||||||
entity: '',
|
entity: '',
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
/// <reference types="react" />
|
|
||||||
import { EntityDict } from '../../../oak-app-domain';
|
import { EntityDict } from '../../../oak-app-domain';
|
||||||
import { FileState } from '../../../features/extraFile';
|
import { FileState } from '../../../features/extraFile';
|
||||||
import { EntityDict as BaseEntityDict } from 'oak-domain/lib/types/Entity';
|
import { EntityDict as BaseEntityDict } from 'oak-domain/lib/types/Entity';
|
||||||
|
|
|
||||||
|
|
@ -50,19 +50,19 @@ export default OakComponent({
|
||||||
bucket: '',
|
bucket: '',
|
||||||
autoUpload: false,
|
autoUpload: false,
|
||||||
maxNumber: 20,
|
maxNumber: 20,
|
||||||
extension: [], //小程序独有 chooseMessageFile
|
extension: [],
|
||||||
selectCount: 1, // 每次打开图片时,可选中的数量 小程序独有
|
selectCount: 1,
|
||||||
sourceType: ['album', 'camera'], // 小程序独有 chooseMedia
|
sourceType: ['album', 'camera'],
|
||||||
mediaType: ['image'], // 小程序独有 chooseMedia
|
mediaType: ['image'],
|
||||||
mode: 'aspectFit', // 图片显示模式
|
mode: 'aspectFit',
|
||||||
size: 3, // 每行可显示的个数 小程序独有
|
size: 3,
|
||||||
showUploadList: true, //web独有
|
showUploadList: true,
|
||||||
showUploadProgress: false, // web独有
|
showUploadProgress: false,
|
||||||
accept: 'image/*', // web独有
|
accept: 'image/*',
|
||||||
disablePreview: false, // 图片是否可预览
|
disablePreview: false,
|
||||||
disableDelete: false, // 图片是否可删除
|
disableDelete: false,
|
||||||
disableAdd: false, // 上传按钮隐藏
|
disableAdd: false,
|
||||||
disableDownload: false, // 下载按钮隐藏
|
disableDownload: false,
|
||||||
type: 'image',
|
type: 'image',
|
||||||
origin: 'qiniu',
|
origin: 'qiniu',
|
||||||
tag1: '',
|
tag1: '',
|
||||||
|
|
@ -147,7 +147,7 @@ export default OakComponent({
|
||||||
type,
|
type,
|
||||||
tag1,
|
tag1,
|
||||||
tag2,
|
tag2,
|
||||||
objectId: generateNewId(), // 这个域用来标识唯一性
|
objectId: generateNewId(),
|
||||||
entity,
|
entity,
|
||||||
filename,
|
filename,
|
||||||
size,
|
size,
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, keyof import("../../../oak-app-domain").EntityDict, boolean, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, keyof import("../../../oak-app-domain").EntityDict, boolean, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "message", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "message", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "message", true, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "message", true, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "message", true, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "message", true, {
|
||||||
onClose: (() => void) | undefined;
|
onClose: (() => void) | undefined;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,5 @@ import { EntityDict } from '../../../oak-app-domain';
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "messageTypeSmsTemplate", true, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "messageTypeSmsTemplate", true, {
|
||||||
systemId: string;
|
systemId: string;
|
||||||
origin: import("../../../oak-app-domain/SmsTemplate/_baseSchema").Origin;
|
origin: import("../../../oak-app-domain/SmsTemplate/_baseSchema").Origin;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { EntityDict } from '../../../oak-app-domain';
|
import { EntityDict } from '../../../oak-app-domain';
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, keyof EntityDict, false, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, keyof EntityDict, false, {
|
||||||
systemId: string;
|
systemId: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import { EntityDict } from '../../../oak-app-domain';
|
import { EntityDict } from '../../../oak-app-domain';
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "messageTypeTemplate", true, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "messageTypeTemplate", true, {
|
||||||
applicationId: string;
|
applicationId: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
onlyPassword: boolean;
|
onlyPassword: boolean;
|
||||||
eventLoggedIn: string;
|
eventLoggedIn: string;
|
||||||
callback: (() => void) | undefined;
|
callback: (() => void) | undefined;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "mobile", true, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "mobile", true, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
onFinish: (() => void) | undefined;
|
onFinish: (() => void) | undefined;
|
||||||
maxNum: number;
|
maxNum: number;
|
||||||
userId: string;
|
userId: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
size: string | number;
|
size: string | number;
|
||||||
iconColor: string;
|
iconColor: string;
|
||||||
iconName: string;
|
iconName: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, keyof import("../../../oak-app-domain").EntityDict, false, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, keyof import("../../../oak-app-domain").EntityDict, false, {
|
||||||
showLogout: boolean;
|
showLogout: boolean;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, keyof import("../../../oak-app-domain").EntityDict, false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, keyof import("../../../oak-app-domain").EntityDict, false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "parasite", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "parasite", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
import { EntityDict } from '../../../oak-app-domain';
|
import { EntityDict } from '../../../oak-app-domain';
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, keyof EntityDict, false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, keyof EntityDict, false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
entity: string;
|
entity: string;
|
||||||
entityId: string;
|
entityId: string;
|
||||||
nameLabel: string;
|
nameLabel: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,5 @@ import { EntityDict } from "../../oak-app-domain";
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "passport", true, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "passport", true, {
|
||||||
systemId: string;
|
systemId: string;
|
||||||
systemName: string;
|
systemName: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "area", true, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "area", true, {
|
||||||
depth: number;
|
depth: number;
|
||||||
onAreaSelected: (id: string) => void;
|
onAreaSelected: (id: string) => void;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "platform", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "platform", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "platform", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "platform", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "system", true, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "system", true, {
|
||||||
platformId: string;
|
platformId: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "platform", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "platform", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
onSelect: (id: string) => void;
|
onSelect: (id: string) => void;
|
||||||
isEntity: boolean;
|
isEntity: boolean;
|
||||||
name: string;
|
name: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
isEntity: boolean;
|
isEntity: boolean;
|
||||||
entityDisplay: (data: any) => any[];
|
entityDisplay: (data: any) => any[];
|
||||||
entityProjection: any;
|
entityProjection: any;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ export default OakComponent({
|
||||||
properties: {
|
properties: {
|
||||||
sessionId: '',
|
sessionId: '',
|
||||||
isEntity: false,
|
isEntity: false,
|
||||||
entityDisplay: (data) => [], // user端,指示如何显示entity对象名称
|
entityDisplay: (data) => [],
|
||||||
entityProjection: null, // user端,指示需要取哪些entity的属性来显示entityDisplay
|
entityProjection: null, // user端,指示需要取哪些entity的属性来显示entityDisplay
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, keyof import("../../../oak-app-domain").EntityDict, false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, keyof import("../../../oak-app-domain").EntityDict, false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -9,5 +9,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
sessionId: string;
|
sessionId: string;
|
||||||
dialog: boolean;
|
dialog: boolean;
|
||||||
onItemClick: ((sessionId: string) => {}) | null | undefined;
|
onItemClick: ((sessionId: string) => {}) | null | undefined;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -140,12 +140,12 @@ export default OakComponent({
|
||||||
unSub: undefined,
|
unSub: undefined,
|
||||||
},
|
},
|
||||||
properties: {
|
properties: {
|
||||||
entity: '', // entity端,指示相应的entity
|
entity: '',
|
||||||
entityFilter: null, // entity端,指示相应的entity查询条件
|
entityFilter: null,
|
||||||
entityFilterSubStr: '',
|
entityFilterSubStr: '',
|
||||||
entityDisplay: (data) => [], // user端,指示如何显示entity对象名称
|
entityDisplay: (data) => [],
|
||||||
entityProjection: null, // user端,指示需要取哪些entity的属性来显示entityDisplay
|
entityProjection: null,
|
||||||
sessionId: '', // 指示需要打开的默认session
|
sessionId: '',
|
||||||
dialog: false,
|
dialog: false,
|
||||||
onItemClick: null,
|
onItemClick: null,
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
sessionId: string;
|
sessionId: string;
|
||||||
entity: string;
|
entity: string;
|
||||||
entityId: string;
|
entityId: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "sessionMessage", false, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "sessionMessage", false, {
|
||||||
isEntity: boolean;
|
isEntity: boolean;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -8,5 +8,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
entityId: string;
|
entityId: string;
|
||||||
entityDisplay: (data: EntityDict['session']['Schema'][] | RowWithActions<EntityDict, 'session'>[]) => any[];
|
entityDisplay: (data: EntityDict['session']['Schema'][] | RowWithActions<EntityDict, 'session'>[]) => any[];
|
||||||
entityProjection: any;
|
entityProjection: any;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ export default OakComponent({
|
||||||
dialog: false,
|
dialog: false,
|
||||||
entity: '',
|
entity: '',
|
||||||
entityId: '',
|
entityId: '',
|
||||||
entityDisplay: (data) => [], // user端,指示如何显示entity对象名称
|
entityDisplay: (data) => [],
|
||||||
entityProjection: null, // user端,指示需要取哪些entity的属性来显示entityDisplay
|
entityProjection: null, // user端,指示需要取哪些entity的属性来显示entityDisplay
|
||||||
},
|
},
|
||||||
filters: [
|
filters: [
|
||||||
|
|
|
||||||
|
|
@ -5,5 +5,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
customUpload: (file: UploadFile) => void;
|
customUpload: (file: UploadFile) => void;
|
||||||
send: () => void;
|
send: () => void;
|
||||||
setText: (text: string) => void;
|
setText: (text: string) => void;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../../oak-app-domain").EntityDict, "subscription", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../../oak-app-domain").EntityDict, "subscription", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "subscription", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "subscription", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,5 @@ import { EntityDict } from '../../../oak-app-domain/EntityDict';
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "subscription", false, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "subscription", false, {
|
||||||
entityId: string;
|
entityId: string;
|
||||||
entity: keyof EntityDict;
|
entity: keyof EntityDict;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
import { EntityDict } from '../../../oak-app-domain';
|
import { EntityDict } from '../../../oak-app-domain';
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "subway", true, {}>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "subway", true, {}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
onCancel: (() => void) | undefined;
|
onCancel: (() => void) | undefined;
|
||||||
onConfirm: ((stationIds: string[]) => void) | undefined;
|
onConfirm: ((stationIds: string[]) => void) | undefined;
|
||||||
selectIds: string[] | undefined;
|
selectIds: string[] | undefined;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -3,5 +3,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
openStation: boolean;
|
openStation: boolean;
|
||||||
onClose: () => void;
|
onClose: () => void;
|
||||||
subwayId: string;
|
subwayId: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,5 @@ import { EntityDict } from '../../../oak-app-domain';
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "subway", false, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<EntityDict, "subway", false, {
|
||||||
openSubway: boolean;
|
openSubway: boolean;
|
||||||
onClose: () => void;
|
onClose: () => void;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "application", true, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "application", true, {
|
||||||
systemId: string;
|
systemId: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "system", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "system", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "system", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "system", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, keyof import("../../../oak-app-domain").EntityDict, false, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, keyof import("../../../oak-app-domain").EntityDict, false, {
|
||||||
systemId: string;
|
systemId: string;
|
||||||
systemName: string;
|
systemName: string;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "system", false, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "system", false, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
/// <reference types="wechat-miniprogram" />
|
/// <reference types="wechat-miniprogram" />
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../../oak-app-domain").EntityDict, keyof import("../../../../oak-app-domain").EntityDict, boolean, WechatMiniprogram.Component.DataOption>) => React.ReactElement;
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../../oak-app-domain").EntityDict, keyof import("../../../../oak-app-domain").EntityDict, boolean, WechatMiniprogram.Component.DataOption>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,8 @@
|
||||||
/// <reference types="react" />
|
|
||||||
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "token", true, {
|
declare const _default: (props: import("oak-frontend-base").ReactComponentProps<import("../../../oak-app-domain").EntityDict, "token", true, {
|
||||||
onMyInfoClicked: () => void;
|
onMyInfoClicked: () => void;
|
||||||
myInfoUrl: string;
|
myInfoUrl: string;
|
||||||
manageUserUrl: string;
|
manageUserUrl: string;
|
||||||
loginUrl: string;
|
loginUrl: string;
|
||||||
Body: import("react").ReactNode;
|
Body: import("react").ReactNode;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -6,5 +6,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
entity: string;
|
entity: string;
|
||||||
autoUpload: boolean;
|
autoUpload: boolean;
|
||||||
disabled: boolean;
|
disabled: boolean;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
autoUpload: boolean;
|
autoUpload: boolean;
|
||||||
onFinish: (() => void) | undefined;
|
onFinish: (() => void) | undefined;
|
||||||
needUploadPhotos: boolean;
|
needUploadPhotos: boolean;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -4,5 +4,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
changePasswordUrl: string;
|
changePasswordUrl: string;
|
||||||
authenticateUrl: string;
|
authenticateUrl: string;
|
||||||
onConfirm: () => void;
|
onConfirm: () => void;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -5,5 +5,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
callback: (() => void) | undefined;
|
callback: (() => void) | undefined;
|
||||||
setLoginMode: (value: string) => void;
|
setLoginMode: (value: string) => void;
|
||||||
digit: number;
|
digit: number;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,8 @@ export default OakComponent({
|
||||||
},
|
},
|
||||||
properties: {
|
properties: {
|
||||||
disabled: '',
|
disabled: '',
|
||||||
url: '', // 登录系统之后要返回的页面
|
url: '',
|
||||||
callback: undefined, // 登录成功回调,排除微信登录方式
|
callback: undefined,
|
||||||
setLoginMode: (value) => undefined,
|
setLoginMode: (value) => undefined,
|
||||||
digit: 4, //验证码位数
|
digit: 4, //验证码位数
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -6,5 +6,5 @@ declare const _default: (props: import("oak-frontend-base").ReactComponentProps<
|
||||||
redirectUri: string;
|
redirectUri: string;
|
||||||
url: string;
|
url: string;
|
||||||
callback: (() => void) | undefined;
|
callback: (() => void) | undefined;
|
||||||
}>) => React.ReactElement;
|
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
||||||
export default _default;
|
export default _default;
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue