@byteluck-fe/runtime-engine 3.0.1 → 6.2.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/dist/runtime-engine.js +2452 -2478
  2. package/dist/src/entry_desktop/controls/rok-date-picker/hook.d.ts +0 -1
  3. package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useColumns.d.ts +8 -1
  4. package/dist/src/entry_mobile/controls/rok-grid-table/hooks/useRender.d.ts +2 -2
  5. package/dist/src/hooks/components/useLayoutChildren.d.ts +1 -1
  6. package/dist/src/hooks/context/useInstanceSchemaChangeContext.d.ts +1 -4
  7. package/dist/src/plugins/engine/EventListenerPlugin/type.d.ts +2 -1
  8. package/dist/src/utils/controls/dateUtils.d.ts +1 -1
  9. package/dist/src/utils/core/customVariables.d.ts +4 -0
  10. package/dist/src/utils/core/index.d.ts +1 -0
  11. package/dist/src/utils/tools/index.d.ts +0 -2
  12. package/package.json +1 -1
  13. package/dist/src/constant/controls/props/base/button.d.ts +0 -14
  14. package/dist/src/constant/controls/props/base/dashboard.d.ts +0 -9
  15. package/dist/src/constant/controls/props/base/divider.d.ts +0 -9
  16. package/dist/src/constant/controls/props/base/formSelectButton.d.ts +0 -9
  17. package/dist/src/constant/controls/props/base/invoiceCheckButton.d.ts +0 -9
  18. package/dist/src/constant/controls/props/base/link.d.ts +0 -9
  19. package/dist/src/constant/controls/props/base/listSelectButton.d.ts +0 -9
  20. package/dist/src/constant/controls/props/base/listViewSelect.d.ts +0 -12
  21. package/dist/src/constant/controls/props/base/referenceList.d.ts +0 -10
  22. package/dist/src/constant/controls/props/base/text.d.ts +0 -7
  23. package/dist/src/constant/controls/props/base/textOcrButton.d.ts +0 -8
  24. package/dist/src/constant/controls/props/base/title.d.ts +0 -8
  25. package/dist/src/constant/controls/props/column/approvalStatusColumn.d.ts +0 -12
  26. package/dist/src/constant/controls/props/column/arrayColumn.d.ts +0 -12
  27. package/dist/src/constant/controls/props/column/autoNumberColumn.d.ts +0 -10
  28. package/dist/src/constant/controls/props/column/customColumn.d.ts +0 -11
  29. package/dist/src/constant/controls/props/column/decimalColumn.d.ts +0 -11
  30. package/dist/src/constant/controls/props/column/departmentColumn.d.ts +0 -12
  31. package/dist/src/constant/controls/props/column/employeeColumn.d.ts +0 -12
  32. package/dist/src/constant/controls/props/column/fileColumn.d.ts +0 -12
  33. package/dist/src/constant/controls/props/column/imageColumn.d.ts +0 -12
  34. package/dist/src/constant/controls/props/column/locationColumn.d.ts +0 -10
  35. package/dist/src/constant/controls/props/column/peopleColumn.d.ts +0 -12
  36. package/dist/src/constant/controls/props/column/timestampColumn.d.ts +0 -10
  37. package/dist/src/constant/controls/props/defaultProps.d.ts +0 -24
  38. package/dist/src/constant/controls/props/form/address.d.ts +0 -8
  39. package/dist/src/constant/controls/props/form/amount.d.ts +0 -8
  40. package/dist/src/constant/controls/props/form/attachment.d.ts +0 -8
  41. package/dist/src/constant/controls/props/form/autoNumber.d.ts +0 -11
  42. package/dist/src/constant/controls/props/form/calc.d.ts +0 -8
  43. package/dist/src/constant/controls/props/form/checkbox.d.ts +0 -8
  44. package/dist/src/constant/controls/props/form/dataView.d.ts +0 -12
  45. package/dist/src/constant/controls/props/form/datePicker.d.ts +0 -8
  46. package/dist/src/constant/controls/props/form/dateRange.d.ts +0 -8
  47. package/dist/src/constant/controls/props/form/department.d.ts +0 -12
  48. package/dist/src/constant/controls/props/form/department2.d.ts +0 -11
  49. package/dist/src/constant/controls/props/form/electronicSignature.d.ts +0 -7
  50. package/dist/src/constant/controls/props/form/employee.d.ts +0 -11
  51. package/dist/src/constant/controls/props/form/employee2.d.ts +0 -12
  52. package/dist/src/constant/controls/props/form/image.d.ts +0 -7
  53. package/dist/src/constant/controls/props/form/input.d.ts +0 -11
  54. package/dist/src/constant/controls/props/form/number.d.ts +0 -8
  55. package/dist/src/constant/controls/props/form/organizationSelection.d.ts +0 -11
  56. package/dist/src/constant/controls/props/form/radio.d.ts +0 -8
  57. package/dist/src/constant/controls/props/form/richText.d.ts +0 -11
  58. package/dist/src/constant/controls/props/form/score.d.ts +0 -8
  59. package/dist/src/constant/controls/props/form/searchDateRange.d.ts +0 -8
  60. package/dist/src/constant/controls/props/form/searchInput.d.ts +0 -9
  61. package/dist/src/constant/controls/props/form/searchNumberRange.d.ts +0 -8
  62. package/dist/src/constant/controls/props/form/select.d.ts +0 -8
  63. package/dist/src/constant/controls/props/form/selectMultiple.d.ts +0 -11
  64. package/dist/src/constant/controls/props/form/selectRelation.d.ts +0 -8
  65. package/dist/src/constant/controls/props/form/textarea.d.ts +0 -8
  66. package/dist/src/constant/controls/props/form/tree.d.ts +0 -10
  67. package/dist/src/constant/controls/props/form/vueFormItem.d.ts +0 -8
  68. package/dist/src/constant/controls/props/form/vuePage.d.ts +0 -8
  69. package/dist/src/constant/controls/props/form/wps.d.ts +0 -7
  70. package/dist/src/constant/controls/props/layout/actionBar.d.ts +0 -11
  71. package/dist/src/constant/controls/props/layout/cardGroup.d.ts +0 -10
  72. package/dist/src/constant/controls/props/layout/col.d.ts +0 -10
  73. package/dist/src/constant/controls/props/layout/grid.d.ts +0 -10
  74. package/dist/src/constant/controls/props/layout/gridLayoutContainer.d.ts +0 -10
  75. package/dist/src/constant/controls/props/layout/gridLayoutWrap.d.ts +0 -10
  76. package/dist/src/constant/controls/props/layout/gridRow.d.ts +0 -11
  77. package/dist/src/constant/controls/props/layout/row.d.ts +0 -10
  78. package/dist/src/constant/controls/props/layout/simpleSearch.d.ts +0 -13
  79. package/dist/src/constant/controls/props/layout/step.d.ts +0 -7
  80. package/dist/src/constant/controls/props/layout/stepPane.d.ts +0 -7
  81. package/dist/src/constant/controls/props/layout/tab.d.ts +0 -7
  82. package/dist/src/constant/controls/props/list/subtable.d.ts +0 -11
  83. package/dist/src/constant/controls/props/renderEngine.d.ts +0 -63
  84. package/dist/src/entry_mobile/controls/rok-subtable/hooks/useSubtableList.d.ts +0 -120
  85. package/dist/src/hooks/controls/subtable/useSubtableInstanceSchemaChange.d.ts +0 -66
  86. package/dist/src/utils/tools/setAdaptiveTextColor.d.ts +0 -2
@@ -1,4 +1,3 @@
1
- import { ComputedRef } from 'vue';
2
1
  import { CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
3
2
  import { PropsInstanceType } from '../../../constant';
4
3
 
@@ -2,6 +2,12 @@ import { ComputedRef, Ref, ShallowRef } from 'vue';
2
2
  import { ControlRuntimeInstance } from '@byteluck-fe/model-driven-core-all';
3
3
  import { DragStoppedEvent, GridApi, ColDef, ColumnResizedEvent } from '@ag-grid-community/core';
4
4
 
5
+ /**
6
+ * 扩展 ColDef 类型,支持合并表头的 children 属性
7
+ */
8
+ interface ExtendedColDef extends ColDef {
9
+ children?: ExtendedColDef[];
10
+ }
5
11
  export declare function useColumns(params: {
6
12
  instance: ControlRuntimeInstance<'grid-table'> | ComputedRef<ControlRuntimeInstance<'grid-table'>>;
7
13
  isShowSelection?: ComputedRef<boolean>;
@@ -16,7 +22,7 @@ export declare function useColumns(params: {
16
22
  operationbtns: any;
17
23
  onColumnsMounted: () => void;
18
24
  onDragStopped: (params: DragStoppedEvent) => void;
19
- handleSortsColumns: (viewColumns: ColDef[], customConfig?: typing.ListHeaderConfigVo[]) => ColDef<any, any>[];
25
+ handleSortsColumns: (viewColumns: ExtendedColDef[], customConfig?: typing.ListHeaderConfigVo[]) => ExtendedColDef[];
20
26
  isViewShowColumns: (item: ColDef) => any;
21
27
  onColumnResized: (event: ColumnResizedEvent) => void;
22
28
  onSetColumnVisible: (hideKeys: string[], type?: 'reset' | 'resetVisible') => void;
@@ -33,3 +39,4 @@ export declare function useColumns(params: {
33
39
  isShowTreeGroupStatisticsBtn: ComputedRef<boolean | undefined>;
34
40
  isMasterDetail: ComputedRef<boolean>;
35
41
  };
42
+ export {};
@@ -1,3 +1,3 @@
1
- import { ControlRuntimeInstance, RuntimeControl } from '@byteluck-fe/model-driven-core-all';
1
+ import { ControlRuntimeInstance, RuntimeColumnControl } from '@byteluck-fe/model-driven-core-all';
2
2
 
3
- export declare function useColumns(props: ControlRuntimeInstance<'grid-table'>): RuntimeControl[];
3
+ export declare function useColumns(instance: ControlRuntimeInstance<'grid-table'>): RuntimeColumnControl[];
@@ -3,7 +3,7 @@ import { ShallowRef, Ref, ComputedRef } from 'vue';
3
3
  import { IfAny } from '@vue/shared';
4
4
 
5
5
  export declare function useLayoutChildren<T extends RuntimeLayoutControl | RuntimeListControl>(instance: T): ShallowRef<never[]> | ( Ref<any> extends T["children"] ? T["children"] extends infer T_1 ? T_1 extends T["children"] ? T_1 extends T_1 & Ref<any> ? IfAny<T_1, ShallowRef<T_1>, T_1> : ShallowRef<T_1> : never : never : ShallowRef<T["children"]>);
6
- export declare function useListHeader<T extends RuntimeListControl>(props: any): {
6
+ export declare function useListHeader<T extends RuntimeListControl>(instance: T): {
7
7
  headers: Ref<any> extends T["props"]["headers"] ? T["props"]["headers"] extends infer T_1 ? T_1 extends T["props"]["headers"] ? T_1 extends T_1 & Ref<any> ? IfAny<T_1, ShallowRef<T_1>, T_1> : ShallowRef<T_1> : never : never : ShallowRef<T["props"]["headers"]>;
8
8
  operationBtns: ComputedRef<any>;
9
9
  };
@@ -4,8 +4,5 @@ import { Engine, SchemaEventPayload } from '@byteluck-fe/model-driven-engine';
4
4
  import { ShallowRef } from 'vue';
5
5
 
6
6
  export declare function initInstanceSchemaChangeContext(engine: Engine): Mitt;
7
- export declare function useInstanceSchemaChangeProps<T extends RuntimeControl>(init_props: {
8
- instance: T;
9
- rowIndex?: number;
10
- }): ShallowRef<T['props']>;
7
+ export declare function useInstanceSchemaChangeProps<T extends RuntimeControl>(instance: T, rowIndex?: number): ShallowRef<T['props']>;
11
8
  export declare function useInstanceSchemaChangePropsCallBack<T extends RuntimeControl>(callBack: (props: SchemaEventPayload) => void, instance: T, rowIndex?: number): void;
@@ -86,7 +86,8 @@ export declare enum RuleType {
86
86
  form = "form",
87
87
  system = "system",
88
88
  fx = "fx",
89
- page = "page"
89
+ page = "page",
90
+ customVariable = "custom-variable"
90
91
  }
91
92
  export declare enum OpenMode {
92
93
  newTab = "newTab",
@@ -38,7 +38,7 @@ export declare const searchDateRangeSettingList: () => ({
38
38
  exclude?: undefined;
39
39
  })[];
40
40
  declare const formatDateValue: (value: any) => any;
41
- declare const computedDisabledDate: (current: any, limitDateList: any, dateType: 'date' | 'datetime' | 'datemin' | 'datehour' | 'month' | 'year' | string) => any;
41
+ declare const computedDisabledDate: (current: any, limitDateList: any, dateType: 'date' | 'datetime' | 'datemin' | 'datehour' | 'month' | 'year') => any;
42
42
  declare const boundaryTime: (value: number | string, type?: string) => string[] | "";
43
43
  declare const boundaryRange: (range: any, type: any) => string[];
44
44
  declare const getSystemTime: (type: any) => number;
@@ -0,0 +1,4 @@
1
+ export declare const CUSTOM_VARIABLE_RIGHT_VALUE_TYPE = "custom-variable";
2
+ export type CustomVariables = Record<string, unknown>;
3
+ export declare function normalizeCustomVariables<T extends Record<string, any>>(params: T): T;
4
+ export declare function hasCustomVariables(params?: Record<string, any> | null): any;
@@ -3,6 +3,7 @@ export * from './cacheRequest';
3
3
  export * from './setFormData';
4
4
  export * from './setSubtableData';
5
5
  export * from './buildFiltersToDataSetValues';
6
+ export * from './customVariables';
6
7
  export * from './math';
7
8
  export { default as vueApp } from './vueApp';
8
9
  export { default as Mitt } from './tinyMitt';
@@ -20,5 +20,3 @@ export * from './getMultipleTabsTitle';
20
20
  export * from './getPageDefaultProps';
21
21
  export * from './displayValue';
22
22
  export * from './replacePrefixPath';
23
- export * from './getPageDefaultProps';
24
- export * from './setAdaptiveTextColor';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/runtime-engine",
3
- "version": "3.0.1",
3
+ "version": "6.2.0-beta.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/runtime-engine.js",
@@ -1,14 +0,0 @@
1
- import { ButtonPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { BasePropsInterface } from '../defaultProps';
3
-
4
- export interface ButtonPropsInterface extends ButtonPropertyInterface, BasePropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.BUTTON>;
6
- disabled?: boolean;
7
- onClick?: (e: any) => void;
8
- preventEngineEvent?: boolean;
9
- loading?: boolean;
10
- noClickEvent?: boolean;
11
- }
12
- export declare const ButtonPropsDefaultValue: {
13
- name: string;
14
- };
@@ -1,9 +0,0 @@
1
- import { ControlRuntimeInstance, DashboardPropertyInterface, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { BasePropsInterface } from '../defaultProps';
3
-
4
- export interface DashboardPropsInterface extends DashboardPropertyInterface, BasePropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.DASHBOARD>;
6
- }
7
- export declare const DashboardPropsDefaultValue: {
8
- name: string;
9
- };
@@ -1,9 +0,0 @@
1
- import { ControlRuntimeInstance, DividerPropertyInterface, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { BasePropsInterface } from '../defaultProps';
3
-
4
- export interface DividerPropsInterface extends DividerPropertyInterface, BasePropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.DIVIDER>;
6
- }
7
- export declare const DividerPropsDefaultValue: {
8
- name: string;
9
- };
@@ -1,9 +0,0 @@
1
- import { ControlRuntimeInstance, FormSelectButtonPropertyInterface, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { BasePropsInterface } from '../defaultProps';
3
-
4
- export interface FormSelectButtonPropsInterface extends FormSelectButtonPropertyInterface, BasePropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.FORM_SELECT_BUTTON>;
6
- }
7
- export declare const FormSelectButtonPropsDefaultValue: {
8
- name: string;
9
- };
@@ -1,9 +0,0 @@
1
- import { ControlRuntimeInstance, InvoiceCheckButtonPropertyInterface, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { BasePropsInterface } from '../defaultProps';
3
-
4
- export interface InvoiceCheckButtonPropsInterface extends InvoiceCheckButtonPropertyInterface, BasePropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.INVOICE_CHECK_BUTTON>;
6
- disabled?: boolean;
7
- svcCode?: string;
8
- }
9
- export declare const InvoiceCheckButtonPropsDefaultValue: {};
@@ -1,9 +0,0 @@
1
- import { ControlRuntimeInstance, LinkPropertyInterface, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { BasePropsInterface } from '../defaultProps';
3
-
4
- export interface LinkPropsInterface extends LinkPropertyInterface, BasePropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.LINK>;
6
- }
7
- export declare const LinkPropsDefaultValue: {
8
- name: string;
9
- };
@@ -1,9 +0,0 @@
1
- import { ControlRuntimeInstance, ListSelectButtonPropertyInterface, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { BasePropsInterface } from '../defaultProps';
3
-
4
- export interface ListSelectButtonPropsInterface extends ListSelectButtonPropertyInterface, BasePropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.LIST_SELECT_BUTTON>;
6
- }
7
- export declare const ListSelectButtonPropsDefaultValue: {
8
- name: string;
9
- };
@@ -1,12 +0,0 @@
1
- import { ControlRuntimeInstance, ListViewSelectPropertyInterface, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { BasePropsInterface } from '../defaultProps';
3
-
4
- export interface ListViewSelectPropsInterface extends ListViewSelectPropertyInterface, BasePropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.LIST_VIEW_SELECT>;
6
- isHaveShadow?: boolean;
7
- targetRef?: HTMLElement;
8
- clearSelectedRows?: boolean;
9
- tableId?: string;
10
- device?: string;
11
- }
12
- export declare const ListViewSelectPropsDefaultValue: {};
@@ -1,10 +0,0 @@
1
- import { ControlRuntimeInstance, ReferenceListPropertyInterface, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { BasePropsInterface } from '../defaultProps';
3
-
4
- export interface ReferenceListPropsInterface extends ReferenceListPropertyInterface, BasePropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.REFERENCE_LIST>;
6
- value?: string[];
7
- }
8
- export declare const ReferenceListPropsDefaultValue: {
9
- name: string;
10
- };
@@ -1,7 +0,0 @@
1
- import { ControlRuntimeInstance, TextPropertyInterface, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { BasePropsInterface } from '../defaultProps';
3
-
4
- export interface TextPropsInterface extends TextPropertyInterface, BasePropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.TEXT>;
6
- }
7
- export declare const TextPropsDefaultValue: {};
@@ -1,8 +0,0 @@
1
- import { ControlRuntimeInstance, TextOcrButtonPropertyInterface, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { BasePropsInterface } from '../defaultProps';
3
-
4
- export interface TextOcrButtonPropsInterface extends TextOcrButtonPropertyInterface, BasePropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.TEXT_OCR_BUTTON>;
6
- disabled?: boolean;
7
- }
8
- export declare const TextOcrButtonPropsDefaultValue: {};
@@ -1,8 +0,0 @@
1
- import { ControlRuntimeInstance, TitlePropertyInterface, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { BasePropsInterface } from '../defaultProps';
3
-
4
- export interface TitlePropsInterface extends TitlePropertyInterface, BasePropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.TITLE>;
6
- value: object;
7
- }
8
- export declare const TitlePropsDefaultValue: {};
@@ -1,12 +0,0 @@
1
- import { ControlPropertyInstance, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { ColumnPropsInterface } from '../defaultProps';
3
- import { ShallowRef } from 'vue';
4
-
5
- export interface ApprovalStatusColumnPropsInterface extends ColumnPropsInterface {
6
- instance: ControlRuntimeInstance<CONTROL_TYPE.Approval_Status_Column>;
7
- instanceProps: ShallowRef<ControlPropertyInstance<CONTROL_TYPE.Approval_Status_Column>>;
8
- }
9
- export declare const ApprovalStatusColumnPropsDefaultValue: {
10
- rowRecord: () => void;
11
- value: () => never[];
12
- };
@@ -1,12 +0,0 @@
1
- import { ControlRuntimeInstance, ControlPropertyInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { ColumnPropsInterface } from '../defaultProps';
3
- import { ShallowRef } from 'vue';
4
-
5
- export interface ArrayColumnPropsInterface extends ColumnPropsInterface {
6
- instance: ControlRuntimeInstance<CONTROL_TYPE.ARRAY_COLUMN>;
7
- instanceProps: ShallowRef<ControlPropertyInstance<CONTROL_TYPE.ARRAY_COLUMN>>;
8
- }
9
- export declare const ArrayColumnPropsDefaultValue: {
10
- rowRecord: () => void;
11
- value: () => never[];
12
- };
@@ -1,10 +0,0 @@
1
- import { ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { ColumnPropsInterface } from '../defaultProps';
3
-
4
- export interface AutoNumberColumnPropsInterface extends ColumnPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.AUTO_NUMBER_COLUMN>;
6
- }
7
- export declare const AutoNumberColumnPropsDefaultValue: {
8
- rowRecord: () => void;
9
- value: () => never[];
10
- };
@@ -1,11 +0,0 @@
1
- import { ControlRuntimeInstance, ControlPropertyInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { ColumnPropsInterface } from '../defaultProps';
3
- import { ShallowRef } from 'vue';
4
-
5
- export interface CustomColumnPropsInterface extends ColumnPropsInterface {
6
- instance: ControlRuntimeInstance<CONTROL_TYPE.CUSTOM_COLUMN>;
7
- instanceProps: ShallowRef<ControlPropertyInstance<CONTROL_TYPE.CUSTOM_COLUMN>>;
8
- }
9
- export declare const CustomColumnPropsDefaultValue: {
10
- rowRecord: () => void;
11
- };
@@ -1,11 +0,0 @@
1
- import { ControlRuntimeInstance, ControlPropertyInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { ColumnPropsInterface } from '../defaultProps';
3
- import { ShallowRef } from 'vue';
4
-
5
- export interface DecimalColumnPropsInterface extends ColumnPropsInterface {
6
- instance: ControlRuntimeInstance<CONTROL_TYPE.DECIMAL_COLUMN>;
7
- instanceProps: ShallowRef<ControlPropertyInstance<CONTROL_TYPE.DECIMAL_COLUMN>>;
8
- }
9
- export declare const DecimalColumnPropsDefaultValue: {
10
- rowRecord: () => void;
11
- };
@@ -1,12 +0,0 @@
1
- import { ControlRuntimeInstance, ControlPropertyInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { ColumnPropsInterface } from '../defaultProps';
3
- import { ShallowRef } from 'vue';
4
-
5
- export interface DepartmentColumnPropsInterface extends ColumnPropsInterface {
6
- instance: ControlRuntimeInstance<CONTROL_TYPE.DEPARTMENT_COLUMN>;
7
- instanceProps: ShallowRef<ControlPropertyInstance<CONTROL_TYPE.DEPARTMENT_COLUMN>>;
8
- }
9
- export declare const DepartmentColumnPropsDefaultValue: {
10
- rowRecord: () => void;
11
- value: () => never[];
12
- };
@@ -1,12 +0,0 @@
1
- import { ControlRuntimeInstance, ControlPropertyInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { ColumnPropsInterface } from '../defaultProps';
3
- import { ShallowRef } from 'vue';
4
-
5
- export interface EmployeeColumnPropsInterface extends ColumnPropsInterface {
6
- instance: ControlRuntimeInstance<CONTROL_TYPE.EMPLOYEE_COLUMN>;
7
- instanceProps: ShallowRef<ControlPropertyInstance<CONTROL_TYPE.EMPLOYEE_COLUMN>>;
8
- }
9
- export declare const EmployeeColumnPropsDefaultValue: {
10
- rowRecord: () => void;
11
- value: () => never[];
12
- };
@@ -1,12 +0,0 @@
1
- import { ControlRuntimeInstance, ControlPropertyInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { ColumnPropsInterface } from '../defaultProps';
3
- import { ShallowRef } from 'vue';
4
-
5
- export interface FileColumnPropsInterface extends ColumnPropsInterface {
6
- instance: ControlRuntimeInstance<CONTROL_TYPE.FILE_COLUMN>;
7
- instanceProps: ShallowRef<ControlPropertyInstance<CONTROL_TYPE.FILE_COLUMN>>;
8
- }
9
- export declare const FileColumnPropsDefaultValue: {
10
- rowRecord: () => void;
11
- value: () => never[];
12
- };
@@ -1,12 +0,0 @@
1
- import { ControlRuntimeInstance, ControlPropertyInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { ColumnPropsInterface } from '../defaultProps';
3
- import { ShallowRef } from 'vue';
4
-
5
- export interface ImageColumnPropsInterface extends ColumnPropsInterface {
6
- instance: ControlRuntimeInstance<CONTROL_TYPE.IMAGE_COLUMN>;
7
- instanceProps: ShallowRef<ControlPropertyInstance<CONTROL_TYPE.IMAGE_COLUMN>>;
8
- }
9
- export declare const ImageColumnPropsDefaultValue: {
10
- rowRecord: () => void;
11
- value: () => never[];
12
- };
@@ -1,10 +0,0 @@
1
- import { ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { ColumnPropsInterface } from '../defaultProps';
3
-
4
- export interface LocationColumnPropsInterface extends ColumnPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.LOCATION_COLUMN>;
6
- }
7
- export declare const LocationColumnPropsDefaultValue: {
8
- rowRecord: () => void;
9
- value: () => never[];
10
- };
@@ -1,12 +0,0 @@
1
- import { ControlRuntimeInstance, ControlPropertyInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { ColumnPropsInterface } from '../defaultProps';
3
- import { ShallowRef } from 'vue';
4
-
5
- export interface PeopleColumnPropsInterface extends ColumnPropsInterface {
6
- instance: ControlRuntimeInstance<CONTROL_TYPE.PEOPLE_COLUMN>;
7
- instanceProps: ShallowRef<ControlPropertyInstance<CONTROL_TYPE.PEOPLE_COLUMN>>;
8
- }
9
- export declare const PeopleColumnPropsDefaultValue: {
10
- rowRecord: () => void;
11
- value: () => never[];
12
- };
@@ -1,10 +0,0 @@
1
- import { ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { ColumnPropsInterface } from '../defaultProps';
3
-
4
- export interface TimestampColumnPropsInterface extends ColumnPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.TIMESTAMP_COLUMN>;
6
- }
7
- export declare const TimestampColumnPropsDefaultValue: {
8
- rowRecord: () => void;
9
- value: () => never[];
10
- };
@@ -1,24 +0,0 @@
1
- import { ControlRuntimeInstance, ControlsKeys } from '@byteluck-fe/model-driven-core-all';
2
-
3
- export interface DefaultPropsInterface<T extends ControlsKeys = ControlsKeys> {
4
- instance: ControlRuntimeInstance<T>;
5
- keepFormItem?: boolean;
6
- rowIndex?: number;
7
- name?: string;
8
- isStatic?: boolean;
9
- }
10
- export interface LayoutPropsInterface extends DefaultPropsInterface {
11
- }
12
- export interface FormPropsInterface extends DefaultPropsInterface {
13
- value: any;
14
- }
15
- export interface BasePropsInterface extends DefaultPropsInterface {
16
- }
17
- export interface ListPropsInterface extends DefaultPropsInterface {
18
- }
19
- export interface ColumnPropsInterface extends DefaultPropsInterface {
20
- value: any;
21
- rowRecord?: any;
22
- width?: number;
23
- instanceProps?: any;
24
- }
@@ -1,8 +0,0 @@
1
- import { AddressPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface AddressPropsInterface extends AddressPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.ADDRESS>;
6
- value: string[] | object[];
7
- }
8
- export declare const AddressPropsDefaultValue: {};
@@ -1,8 +0,0 @@
1
- import { AmountPropertyInterface, AmountValue, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface AmountPropsInterface extends AmountPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.AMOUNT>;
6
- value: AmountValue;
7
- }
8
- export declare const AmountPropsDefaultValue: {};
@@ -1,8 +0,0 @@
1
- import { AttachmentPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface AttachmentPropsInterface extends AttachmentPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.ATTACHMENT>;
6
- value: any[];
7
- }
8
- export declare const AttachmentPropsDefaultValue: {};
@@ -1,11 +0,0 @@
1
- import { AutoNumberPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface AutoNumberPropsInterface extends AutoNumberPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.AUTO_NUMBER>;
6
- value: string;
7
- from: string;
8
- }
9
- export declare const AutoNumberPropsDefaultValue: {
10
- from: string;
11
- };
@@ -1,8 +0,0 @@
1
- import { CalcPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE, CalcValue } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface CalcPropsInterface extends CalcPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.CALC>;
6
- value: CalcValue;
7
- }
8
- export declare const CalcPropsDefaultValue: {};
@@ -1,8 +0,0 @@
1
- import { CheckboxPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface CheckboxPropsInterface extends CheckboxPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.CHECKBOX>;
6
- value: string[];
7
- }
8
- export declare const CheckboxPropsDefaultValue: {};
@@ -1,12 +0,0 @@
1
- import { DataViewPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface DataViewPropsInterface extends DataViewPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.DATA_VIEW>;
6
- isSubmitButtonDisabled: boolean;
7
- isBindProcess: boolean;
8
- isStatic?: boolean;
9
- }
10
- export declare const DataViewPropsDefaultValue: {
11
- isStatic: boolean;
12
- };
@@ -1,8 +0,0 @@
1
- import { DatePickerPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface DatePickerPropsInterface extends DatePickerPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.DATE_PICKER>;
6
- value: string;
7
- }
8
- export declare const DatePickerPropsDefaultValue: {};
@@ -1,8 +0,0 @@
1
- import { DateRangePropertyInterface, ControlRuntimeInstance, CONTROL_TYPE, RangeDateValue } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface DateRangePropsInterface extends DateRangePropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.DATE_RANGE>;
6
- value: RangeDateValue;
7
- }
8
- export declare const DateRangePropsDefaultValue: {};
@@ -1,12 +0,0 @@
1
- import { DepartmentPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface DepartmentPropsInterface extends DepartmentPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.DEPARTMENT>;
6
- value: string[] | object[];
7
- options?: any[];
8
- from?: string;
9
- width?: number;
10
- hasBorder?: boolean;
11
- }
12
- export declare const DepartmentPropsDefaultValue: {};
@@ -1,11 +0,0 @@
1
- import { Department2PropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface Department2PropsInterface extends Department2PropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.DEPARTMENT2>;
6
- options?: any[];
7
- from?: string;
8
- width?: number;
9
- hasBorder?: boolean;
10
- }
11
- export declare const Department2PropsDefaultValue: {};
@@ -1,7 +0,0 @@
1
- import { ElectronicSignaturePropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface ElectronicSignaturePropsInterface extends ElectronicSignaturePropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.ELECTRONIC_SIGNATURE>;
6
- }
7
- export declare const ElectronicSignaturePropsDefaultValue: {};
@@ -1,11 +0,0 @@
1
- import { EmployeePropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface EmployeePropsInterface extends EmployeePropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.EMPLOYEE>;
6
- from?: string;
7
- hasBorder?: boolean;
8
- }
9
- export declare const EmployeePropsDefaultValue: {
10
- hasBorder: boolean;
11
- };
@@ -1,12 +0,0 @@
1
- import { Employee2PropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface Employee2PropsInterface extends Employee2PropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.EMPLOYEE2>;
6
- from?: string;
7
- orgType?: string;
8
- hasBorder?: boolean;
9
- }
10
- export declare const Employee2PropsDefaultValue: {
11
- showType: string;
12
- };
@@ -1,7 +0,0 @@
1
- import { ImagePropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface ImagePropsInterface extends ImagePropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.IMAGE>;
6
- }
7
- export declare const ImagePropsDefaultValue: {};
@@ -1,11 +0,0 @@
1
- import { InputPropertyInterface, CONTROL_TYPE, ControlRuntimeInstance } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface InputPropsInterface extends InputPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.INPUT>;
6
- rules?: any[];
7
- showType?: string;
8
- }
9
- export declare const InputPropsDefaultValue: {
10
- showType: string;
11
- };
@@ -1,8 +0,0 @@
1
- import { NumberPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface NumberPropsInterface extends NumberPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.NUMBER>;
6
- value: number | '';
7
- }
8
- export declare const NumberPropsDefaultValue: {};