This commit is contained in:
owenchen committed 2026-08-25 15:31:16 +08:00
1 parent 1404640f16
commit 2bbf016cbf
167 files changed
+18941 -589

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
import type { Dayjs } from "dayjs";
import { SelectOption } from "@/data/auto/selectOption";
export class BindOption {
public lg: number = 12;
public sm: number = 24;
public DisplayName: string = "";
public BindValue: string = "";
public Column: string = "";
public Type: string = "";
public Operator: string = "";
public Value: string = "";
public Value1: string = "";
public Values: string[] = [];
public NumberValue: number = null!;
public NumberValue1: number = null!;
public NumberValues: number[] = [];
public DayjsValue: Dayjs = null!;
public DayjsValue1: Dayjs = null!;
public DayjsValues: Dayjs[] = [];
public BooleanValue: boolean = false;
public BooleanValue1: boolean = false;
public BooleanValues: boolean[] = [];
public SelectOptions: SelectOption[] = [];
public Format: string = "";
public disabled:boolean=false;
}
@@ -0,0 +1,68 @@
export class DmsFileDisplayData {
public CreatedDatetime: Date = new Date();
public CreatedBy: string = "";
public FileId: number = 0;
public UploadName: string = "";
public FileCategory: string = "";
public OrgFileName: string = "";
public FileName: string = "";
public FilePath: string = "";
public FolderLocalName: string = "";
public FileSize: number = 0;
public OwerId: string = "";
public RevisionNo: number = 0;
public IsDirectoryIndc: string = "";
public IsLinkIndc: string = "";
public LinkedFileId: number = 0;
public OrderKey: string = "";
public FileTag: string = "";
public AllowRenameIndc: string = "";
public AllowDeleteIndc: string = "";
public Url: string = "";
public Selected?: boolean = false;
static readonly CREATED_DATETIME: string = "CreatedDatetime";
static readonly CREATED_BY: string = "CreatedBy";
static readonly FILE_ID: string = "FileId";
static readonly UPLOAD_NAME: string = "UploadName";
static readonly FILE_CATEGORY: string = "FileCategory";
static readonly ORG_FILE_NAME: string = "OrgFileName";
static readonly FILE_NAME: string = "FileName";
static readonly FILE_PATH: string = "FilePath";
static readonly FOLDER_LOCAL_NAME: string = "FolderLocalName";
static readonly FILE_SIZE: string = "FileSize";
static readonly OWER_ID: string = "OwerId";
static readonly REVISION_NO: string = "RevisionNo";
static readonly IS_DIRECTORY_INDC: string = "IsDirectoryIndc";
static readonly IS_LINK_INDC: string = "IsLinkIndc";
static readonly LINKED_FILE_ID: string = "LinkedFileId";
static readonly ORDER_KEY: string = "OrderKey";
static readonly FILE_TAG: string = "FileTag";
static readonly ALLOW_RENAME_INDC: string = "AllowRenameIndc";
static readonly ALLOW_DELETE_INDC: string = "AllowDeleteIndc";
static readonly URL: string = "Url";
static readonly DB_NAME_UPLOAD_DMS_FILE_VIEW: string = "upload_dms_file_view";
static readonly DB_NAME_FIELDS: string =
"created_datetime,created_by,file_id,upload_name,file_category,org_file_name,file_name,file_path,folder_local_name,file_size,ower_id,revision_no,is_directory_indc,is_link_indc,linked_file_id,order_key,file_tag,allow_rename_indc,allow_delete_indc,url";
static readonly DB_CREATED_DATETIME: string = "created_datetime";
static readonly DB_CREATED_BY: string = "created_by";
static readonly DB_FILE_ID: string = "file_id";
static readonly DB_UPLOAD_NAME: string = "upload_name";
static readonly DB_FILE_CATEGORY: string = "file_category";
static readonly DB_ORG_FILE_NAME: string = "org_file_name";
static readonly DB_FILE_NAME: string = "file_name";
static readonly DB_FILE_PATH: string = "file_path";
static readonly DB_FOLDER_LOCAL_NAME: string = "folder_local_name";
static readonly DB_FILE_SIZE: string = "file_size";
static readonly DB_OWER_ID: string = "ower_id";
static readonly DB_REVISION_NO: string = "revision_no";
static readonly DB_IS_DIRECTORY_INDC: string = "is_directory_indc";
static readonly DB_IS_LINK_INDC: string = "is_link_indc";
static readonly DB_LINKED_FILE_ID: string = "linked_file_id";
static readonly DB_ORDER_KEY: string = "order_key";
static readonly DB_FILE_TAG: string = "file_tag";
static readonly DB_ALLOW_RENAME_INDC: string = "allow_rename_indc";
static readonly DB_ALLOW_DELETE_INDC: string = "allow_delete_indc";
static readonly DB_URL: string = "url";
}
+14
View File
@@ -0,0 +1,14 @@
export class GridColumn
{
public DisplayName: string = "";
public ColumnName: string = "";
public Sequence: number = 0;
public DisplayFunction: string = "";
public DisplayHtml: boolean = false;
public Hidden: boolean = false;
public Sortable: string = "";
public Format: string = "";
public FormatCSharp: string = "";
}
@@ -0,0 +1,31 @@
export class SearchFilterOperatorPolicy {
public static readonly EQUAL_TO: string = "equal_to";
public static readonly CONTAIN: string = "contain";
public static readonly START_CONTAIN: string = "start_contain";
public static readonly END_CONTAIN: string = "end_contain";
public static readonly CN_CONTAIN: string = "cn_contain";
public static readonly CN_START_CONTAIN: string = "cn_start_contain";
public static readonly CN_END_CONTAIN: string = "cn_end_contain";
public static readonly IN_RANGE: string = "in_range";
public static readonly NOT_IN_RANGE: string = "not_in_range";
public static readonly NUMBER_GREATER_THAN: string = "number_greater_than";
public static readonly NUMBER_GREATER_THAN_OR_EQUAL_TO: string =
"number_greater_than_or_equal_to";
public static readonly NUMBER_LESS_THAN: string = "number_less_than";
public static readonly NUMBER_LESS_THAN_OR_EQUAL_TO: string =
"number_less_than_or_equal_to";
public static readonly NUMBER_EQUAL_TO: string = "number_equal_to";
public static readonly BETWEEN: string = "between";
public static readonly DATE_BETWEEN: string = "date_between";
public static readonly DATE_GREATER_THAN: string = "date_greater_than";
public static readonly DATE_GREATER_THAN_OR_EQUAL_TO: string =
"date_greater_than_or_equal_to";
public static readonly DATE_LESS_THAN: string = "date_less_than";
public static readonly DATE_LESS_THAN_OR_EQUAL_TO: string =
"date_less_than_or_equal_to";
public static readonly DATE_EQUAL_TO: string = "date_equal_to";
public static readonly CN_MULTIPLE: string = "cn_multiple";
public static readonly CN_IN_RANGE: string = "cn_in_range";
public static readonly MULTIPLE: string = "multiple";
public static readonly SINGLE: string = "single";
}
@@ -0,0 +1,8 @@
export class SearchFilterTypePolicy {
public static readonly TEXT: string = "Text";
public static readonly TEXT_CONTAIN: string = "TextContain";
public static readonly NUMBER: string = "Number";
public static readonly DATE: string = "Date";
public static readonly MULTIPLE_SELECTION: string = "MultipleSelection";
public static readonly SINGLE_SELECTION: string = "SingleSelection";
}
+4
View File
@@ -0,0 +1,4 @@
export class YesNoPolicy {
public static readonly YES: string = "Y";
public static readonly NO: string = "N";
}