import { IPSEditorContainer } from '../ipseditor-container'; import { IPSSearchBarItem } from './ipssearch-bar-item'; import { IPSDEFSearchMode } from '../../dataentity/defield/ipsdefsearch-mode'; import { IPSLanguageRes } from '../../res/ipslanguage-res'; import { IPSSysCss } from '../../res/ipssys-css'; import { IPSSysImage } from '../../res/ipssys-image'; /** * * @export * @interface IPSSearchBarFilter */ export interface IPSSearchBarFilter extends IPSSearchBarItem, IPSEditorContainer { /** * 标题多语言资源对象 * * @type {IPSLanguageRes} */ getCapPSLanguageRes(): IPSLanguageRes | null; /** * 标题多语言资源对象 * * @type {IPSLanguageRes} */ get capPSLanguageRes(): IPSLanguageRes | null; /** * 标题多语言资源对象(必须存在) * * @type {IPSLanguageRes} */ getCapPSLanguageResMust(): IPSLanguageRes; /** * 标题 * @type {string} */ caption: string; /** * 建立默认值 * @type {string} */ createDV: string; /** * 建立默认值类型 * @description 值模式 [实体属性界面项默认值类型] {SESSION:用户全局对象、 APPLICATION:系统全局对象、 UNIQUEID:唯一编码、 CONTEXT:网页请求、 PARAM:数据对象属性、 OPERATOR:当前操作用户(编号)、 OPERATORNAME:当前操作用户(名称)、 CURTIME:当前时间、 APPDATA:当前应用数据 } * @type {( string | 'SESSION' | 'APPLICATION' | 'UNIQUEID' | 'CONTEXT' | 'PARAM' | 'OPERATOR' | 'OPERATORNAME' | 'CURTIME' | 'APPDATA')} */ createDVT: string | 'SESSION' | 'APPLICATION' | 'UNIQUEID' | 'CONTEXT' | 'PARAM' | 'OPERATOR' | 'OPERATORNAME' | 'CURTIME' | 'APPDATA'; /** * 标准数据类型 * @description 值模式 [属性标准数据类型] {0:UNKNOWN、 1:BIGINT、 2:BINARY、 3:BIT、 4:CHAR、 5:DATETIME、 6:DECIMAL、 7:FLOAT、 8:IMAGE、 9:INT、 10:MONEY、 11:NCHAR、 12:NTEXT、 13:NVARCHAR、 14:NUMERIC、 15:REAL、 16:SMALLDATETIME、 17:SMALLINT、 18:SMALLMONEY、 19:SQL_VARIANT、 20:SYSNAME、 21:TEXT、 22:TIMESTAMP、 23:TINYINT、 24:VARBINARY、 25:VARCHAR、 26:UNIQUEIDENTIFIER、 27:DATE、 28:TIME、 29:BIGDECIMAL } * @type {( number | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29)} */ dataType: number | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29; /** * 表单项高度 * @type {number} * @default 0.0 */ itemHeight: number; /** * 表单项宽度 * @type {number} * @default 0.0 */ itemWidth: number; /** * 标签直接样式 * @type {string} */ labelCssStyle: string; /** * 标签位置 * @description 值模式 [云实体表单表单项标签位置] {LEFT:左边、 TOP:上方、 RIGHT:右边、 BOTTOM:下方、 NONE:不显示 } * @type {( string | 'LEFT' | 'TOP' | 'RIGHT' | 'BOTTOM' | 'NONE')} */ labelPos: string | 'LEFT' | 'TOP' | 'RIGHT' | 'BOTTOM' | 'NONE'; /** * 标签宽度 * @type {number} */ labelWidth: number; /** * 输出代码表配置模式 * @description 值模式 [实体属性界面配置输出代码表配置] {0:无、 1:只输出选择项、 2:输出子项 } * @type {( number | 0 | 1 | 2)} * @default 0 */ outputCodeListConfigMode: number | 0 | 1 | 2; /** * 输入提示语言资源 * * @type {IPSLanguageRes} */ getPHPSLanguageRes(): IPSLanguageRes | null; /** * 输入提示语言资源 * * @type {IPSLanguageRes} */ get pHPSLanguageRes(): IPSLanguageRes | null; /** * 输入提示语言资源(必须存在) * * @type {IPSLanguageRes} */ getPHPSLanguageResMust(): IPSLanguageRes; /** * 属性搜索模式 * * @type {IPSDEFSearchMode} */ getPSDEFSearchMode(): IPSDEFSearchMode | null; /** * 属性搜索模式 * * @type {IPSDEFSearchMode} */ get psDEFSearchMode(): IPSDEFSearchMode | null; /** * 属性搜索模式(必须存在) * * @type {IPSDEFSearchMode} */ getPSDEFSearchModeMust(): IPSDEFSearchMode; /** * 过滤项界面样式表 * * @type {IPSSysCss} */ getPSSysCss(): IPSSysCss | null; /** * 过滤项界面样式表 * * @type {IPSSysCss} */ get psSysCss(): IPSSysCss | null; /** * 过滤项界面样式表(必须存在) * * @type {IPSSysCss} */ getPSSysCssMust(): IPSSysCss; /** * 项图片对象 * * @type {IPSSysImage} */ getPSSysImage(): IPSSysImage | null; /** * 项图片对象 * * @type {IPSSysImage} */ get psSysImage(): IPSSysImage | null; /** * 项图片对象(必须存在) * * @type {IPSSysImage} */ getPSSysImageMust(): IPSSysImage; /** * 重置项名称 * @type {string} */ resetItemName: string; /** * 单位名称 * @type {string} */ unitName: string; /** * 单位宽度 * @type {number} * @default 0 */ unitNameWidth: number; /** * 宽度 * @type {number} * @default 0.0 */ width: number; /** * 添加分隔栏 * @type {boolean} * @default false */ addSeparator: boolean; /** * 允许空值输入 * @type {boolean} */ allowEmpty: boolean; /** * 转换为代码项文本 * @type {boolean} * @default false */ convertToCodeItemText: boolean; /** * 是否空白标签 * @type {boolean} */ emptyCaption: boolean; /** * 启用项权限控制 * @type {boolean} * @default false */ enableItemPriv: boolean; /** * 支持单位 * @type {boolean} * @default false */ enableUnitName: boolean; /** * 隐藏表单项 * @type {boolean} */ hidden: boolean; /** * 需要代码表配置 * @type {boolean} * @default false */ needCodeListConfig: boolean; /** * 显示标题 * @type {boolean} */ showCaption: boolean; }