@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,11 +0,0 @@
1
- import { OrganizationSelectionPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface OrganizationSelectionPropsInterface extends OrganizationSelectionPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.ORGANIZATION_SELECTION>;
6
- options?: any[];
7
- width?: number;
8
- }
9
- export declare const OrganizationSelectionPropsDefaultValue: {
10
- showType: string;
11
- };
@@ -1,8 +0,0 @@
1
- import { RadioPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface RadioPropsInterface extends RadioPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.RADIO>;
6
- value: string[];
7
- }
8
- export declare const RadioPropsDefaultValue: {};
@@ -1,11 +0,0 @@
1
- import { RichTextPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface RichTextPropsInterface extends RichTextPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.RICH_TEXT>;
6
- value: string;
7
- editing?: boolean;
8
- }
9
- export declare const RichTextPropsDefaultValue: {
10
- editing: boolean;
11
- };
@@ -1,8 +0,0 @@
1
- import { ScorePropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface ScorePropsInterface extends ScorePropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.SCORE>;
6
- value: number;
7
- }
8
- export declare const ScorePropsDefaultValue: {};
@@ -1,8 +0,0 @@
1
- import { SearchDateRangePropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface SearchDateRangePropsInterface extends SearchDateRangePropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.SEARCH_DATE_RANGE>;
6
- value: string[];
7
- }
8
- export declare const SearchDateRangePropsDefaultValue: {};
@@ -1,9 +0,0 @@
1
- import { SearchInputPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface SearchInputPropsInterface extends SearchInputPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.SEARCH_INPUT>;
6
- value: string;
7
- rules?: any[];
8
- }
9
- export declare const SearchInputPropsDefaultValue: {};
@@ -1,8 +0,0 @@
1
- import { SearchNumberRangePropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface SearchNumberRangePropsInterface extends SearchNumberRangePropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.SEARCH_NUMBER_RANGE>;
6
- value: number[];
7
- }
8
- export declare const SearchNumberRangePropsDefaultValue: {};
@@ -1,8 +0,0 @@
1
- import { SelectPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface SelectPropsInterface extends SelectPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.SELECT>;
6
- value: string[];
7
- }
8
- export declare const SelectPropsDefaultValue: {};
@@ -1,11 +0,0 @@
1
- import { SelectMultiplePropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
- import { SourceType } from '../../../enums/status';
4
-
5
- export interface SelectMultiplePropsInterface extends SelectMultiplePropertyInterface, FormPropsInterface {
6
- instance: ControlRuntimeInstance<CONTROL_TYPE.SELECT_MULTIPLE>;
7
- value: any[];
8
- width?: number;
9
- source?: SourceType;
10
- }
11
- export declare const SelectMultiplePropsDefaultValue: {};
@@ -1,8 +0,0 @@
1
- import { SelectRelationPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface SelectRelationPropsInterface extends SelectRelationPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.SELECT_RELATION>;
6
- value: string[];
7
- }
8
- export declare const SelectRelationPropsDefaultValue: {};
@@ -1,8 +0,0 @@
1
- import { TextareaPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface TextareaPropsInterface extends TextareaPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.TEXTAREA>;
6
- value: string;
7
- }
8
- export declare const TextareaPropsDefaultValue: {};
@@ -1,10 +0,0 @@
1
- import { TreePropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface TreePropsInterface extends TreePropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.TREE>;
6
- value: string | string[];
7
- selectFilterVlaue?: string;
8
- setLoading?: (loading: boolean) => void;
9
- }
10
- export declare const TreePropsDefaultValue: {};
@@ -1,8 +0,0 @@
1
- import { VueFormItemPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface VueFormItemPropsInterface extends VueFormItemPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.VUE_FORM_ITEM>;
6
- rowRecord?: any;
7
- }
8
- export declare const VueFormItemPropsDefaultValue: {};
@@ -1,8 +0,0 @@
1
- import { VuePagePropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface VuePagePropsInterface extends VuePagePropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.VUE_PAGE>;
6
- rowRecord?: any;
7
- }
8
- export declare const VuePagePropsDefaultValue: {};
@@ -1,7 +0,0 @@
1
- import { WPSPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { FormPropsInterface } from '../defaultProps';
3
-
4
- export interface WpsPropsInterface extends WPSPropertyInterface, FormPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.WPS>;
6
- }
7
- export declare const WpsPropsDefaultValue: {};
@@ -1,11 +0,0 @@
1
- import { ActionBarPropertyInterface, ControlRuntimeInstance, ControlsKeys, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { LayoutPropsInterface } from '../defaultProps';
3
-
4
- export interface ActionBarPropsInterface extends ActionBarPropertyInterface, LayoutPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.ACTION_BAR>;
6
- subtableInstance?: ControlRuntimeInstance<ControlsKeys>;
7
- isBindProcess?: boolean;
8
- processView?: boolean;
9
- onProcessView?: () => void;
10
- }
11
- export declare const ActionBarPropsDefaultValue: {};
@@ -1,10 +0,0 @@
1
- import { CardGroupPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { LayoutPropsInterface } from '../defaultProps';
3
-
4
- export interface CardGroupPropsInterface extends CardGroupPropertyInterface, LayoutPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.CARD_GROUP>;
6
- isStatic?: boolean;
7
- }
8
- export declare const CardGroupPropsDefaultValue: {
9
- isStatic: boolean;
10
- };
@@ -1,10 +0,0 @@
1
- import { ColPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { LayoutPropsInterface } from '../defaultProps';
3
-
4
- export interface ColPropsInterface extends ColPropertyInterface, LayoutPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.COL>;
6
- gutter?: number;
7
- }
8
- export declare const ColPropsDefaultValue: {
9
- gutter: number;
10
- };
@@ -1,10 +0,0 @@
1
- import { GridPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { LayoutPropsInterface } from '../defaultProps';
3
-
4
- export interface GridPropsInterface extends GridPropertyInterface, LayoutPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.GRID>;
6
- isStatic?: boolean;
7
- }
8
- export declare const GridPropsDefaultValue: {
9
- isStatic: boolean;
10
- };
@@ -1,10 +0,0 @@
1
- import { GridLayoutContainerPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { LayoutPropsInterface } from '../defaultProps';
3
-
4
- export interface GridLayoutContainerPropsInterface extends GridLayoutContainerPropertyInterface, LayoutPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.GRID_LAYOUT_CONTAINER>;
6
- isStatic?: boolean;
7
- }
8
- export declare const GridLayoutContainerPropsDefaultValue: {
9
- isStatic: boolean;
10
- };
@@ -1,10 +0,0 @@
1
- import { GridLayoutWrapPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { LayoutPropsInterface } from '../defaultProps';
3
-
4
- export interface GridLayoutWrapPropsInterface extends GridLayoutWrapPropertyInterface, LayoutPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.GRID_LAYOUT_WRAP>;
6
- isStatic?: boolean;
7
- }
8
- export declare const GridLayoutWrapPropsDefaultValue: {
9
- isStatic: boolean;
10
- };
@@ -1,11 +0,0 @@
1
- import { GridRowPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { LayoutPropsInterface } from '../defaultProps';
3
-
4
- export interface GridRowPropsInterface extends GridRowPropertyInterface, LayoutPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.GRID_ROW>;
6
- state?: string;
7
- isStatic?: boolean;
8
- }
9
- export declare const GridRowPropsDefaultValue: {
10
- isStatic: boolean;
11
- };
@@ -1,10 +0,0 @@
1
- import { RowPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { LayoutPropsInterface } from '../defaultProps';
3
-
4
- export interface RowPropsInterface extends RowPropertyInterface, LayoutPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.ROW>;
6
- isStatic?: boolean;
7
- }
8
- export declare const RowPropsDefaultValue: {
9
- isStatic: boolean;
10
- };
@@ -1,13 +0,0 @@
1
- import { SimpleSearchPropertyInterface, ControlRuntimeInstance, ControlPropertyInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { LayoutPropsInterface } from '../defaultProps';
3
- import { ShallowRef } from 'vue';
4
-
5
- export interface SimpleSearchPropsInterface extends SimpleSearchPropertyInterface, LayoutPropsInterface {
6
- instance: ControlRuntimeInstance<CONTROL_TYPE.SIMPLE_SEARCH>;
7
- showType?: string;
8
- tableId?: string;
9
- clearSelectedRows?: boolean;
10
- isHaveToolbar?: boolean;
11
- instanceProps: ShallowRef<ControlPropertyInstance<CONTROL_TYPE.SIMPLE_SEARCH>>;
12
- }
13
- export declare const SimpleSearchPropsDefaultValue: {};
@@ -1,7 +0,0 @@
1
- import { StepPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { LayoutPropsInterface } from '../defaultProps';
3
-
4
- export interface StepPropsInterface extends StepPropertyInterface, LayoutPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.STEP>;
6
- }
7
- export declare const StepPropsDefaultValue: {};
@@ -1,7 +0,0 @@
1
- import { StepPanePropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { LayoutPropsInterface } from '../defaultProps';
3
-
4
- export interface StepPanePropsInterface extends StepPanePropertyInterface, LayoutPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.STEP_PANE>;
6
- }
7
- export declare const StepPanePropsDefaultValue: {};
@@ -1,7 +0,0 @@
1
- import { TabPropertyInterface, ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { LayoutPropsInterface } from '../defaultProps';
3
-
4
- export interface TabPropsInterface extends TabPropertyInterface, LayoutPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.TAB>;
6
- }
7
- export declare const TabPropsDefaultValue: {};
@@ -1,11 +0,0 @@
1
- import { ControlRuntimeInstance, SubTablePropertyInterface, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
- import { ListPropsInterface } from '../defaultProps';
3
-
4
- export interface SubtablePropsInterface extends SubTablePropertyInterface<'Schema'>, ListPropsInterface {
5
- instance: ControlRuntimeInstance<CONTROL_TYPE.SUBTABLE>;
6
- value: any[];
7
- state?: string;
8
- }
9
- export declare const SubtablePropsDefaultValue: {
10
- value: () => never[];
11
- };
@@ -1,63 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { Engine, EngineProps } from '@byteluck-fe/model-driven-engine';
3
- import { LocaleEnum } from '@byteluck-fe/locale-message';
4
-
5
- export declare const renderEngine: {
6
- state: {
7
- type: PropType<{
8
- data: {
9
- content: any;
10
- name: string;
11
- app_id: string;
12
- form_key: string;
13
- form_type: number;
14
- rel_custom_pages: any;
15
- };
16
- }>;
17
- required: boolean;
18
- };
19
- pageStatus: {
20
- type: NumberConstructor;
21
- required: boolean;
22
- };
23
- descript: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
- device: {
28
- type: StringConstructor;
29
- required: boolean;
30
- };
31
- isServiceSubtablePage: {
32
- type: BooleanConstructor;
33
- default: boolean;
34
- };
35
- engineOptionsBuilder: {
36
- type: PropType<(options: EngineProps) => EngineProps | undefined>;
37
- default: undefined;
38
- };
39
- relationValue: {
40
- type: PropType<RelationValue>;
41
- default: undefined;
42
- };
43
- isWatchTitle: {
44
- type: BooleanConstructor;
45
- default: boolean;
46
- };
47
- locale: {
48
- type: PropType<LocaleEnum>;
49
- default: undefined;
50
- };
51
- showDataViewOperationBtn: {
52
- type: BooleanConstructor;
53
- default: boolean;
54
- };
55
- parentEngine: {
56
- type: PropType<Engine>;
57
- default: undefined;
58
- };
59
- isBindProcess: {
60
- type: BooleanConstructor;
61
- default: boolean;
62
- };
63
- };
@@ -1,120 +0,0 @@
1
- import { ControlRuntimeInstance, PAGE_STATUS, CONTROL_TYPE, ControlsKeys, ControlPropertyInstance, BaseControlTypes, FieldTypes } from '@byteluck-fe/model-driven-core-all';
2
- import { GridApi } from '@ag-grid-community/core';
3
- import { ComputedRef, StyleValue, Ref, ShallowRef } from 'vue';
4
- import { SubtablePropsInterface } from '../../../../constant/controls/props/list/subtable';
5
- import { default as __DTS_DEFAULT_0__ } from '../utils/vs-full';
6
-
7
- declare const useSubtableList: (props: SubtablePropsInterface, instanceProps: ShallowRef<ControlPropertyInstance<CONTROL_TYPE.SUBTABLE>>) => {
8
- gridColumns: ComputedRef<({
9
- headerName: string;
10
- dataIndex: string;
11
- field: string;
12
- resizable: boolean;
13
- editable: boolean;
14
- width: number;
15
- suppressSizeToFit: boolean;
16
- suppressMovable: boolean;
17
- pinned: string;
18
- cellClass: string;
19
- cellRenderer: ({ rowIndex }: {
20
- rowIndex: number;
21
- }) => HTMLDivElement;
22
- } | {
23
- id: string;
24
- field: string;
25
- dataIndex: string;
26
- type: string;
27
- hide: boolean;
28
- headerName: string;
29
- controlType: CONTROL_TYPE;
30
- })[]>;
31
- rotateFull: () => void;
32
- closeFullScreen: () => void;
33
- isBroadwiseFull: Ref<boolean>;
34
- broadwiseFull: Ref< __DTS_DEFAULT_0__ | undefined>;
35
- displayHeaders: Ref<{
36
- controlType: "layout";
37
- children: {
38
- id: string;
39
- type: ControlsKeys;
40
- props: {
41
- isHide: boolean;
42
- className?: string[] | undefined;
43
- style: {
44
- width: number | "";
45
- height: number | "";
46
- widthConfig: "fill" | "px" | "%" | "hug";
47
- heightConfig: "fill" | "px" | "%" | "hug";
48
- };
49
- caption: string;
50
- defaultState: "default" | "readonly";
51
- };
52
- controlType: BaseControlTypes;
53
- fieldType?: FieldTypes | undefined;
54
- pageStatus?: PAGE_STATUS | undefined;
55
- }[];
56
- id: string;
57
- type: "subtable-column";
58
- props: {
59
- metaAutoWidth: {
60
- pc: {
61
- width: number;
62
- widthType: "auto" | "px";
63
- minWidth: number;
64
- maxWidth?: number | undefined;
65
- flex: number;
66
- };
67
- mobile: {
68
- width: number;
69
- widthType: "auto" | "px";
70
- minWidth: number;
71
- maxWidth?: number | undefined;
72
- flex: number;
73
- };
74
- };
75
- caption: string;
76
- fixed: boolean;
77
- isShowCaptionTip: boolean;
78
- captionTip: string;
79
- isHideCaption: boolean;
80
- isHide: boolean;
81
- className?: string[] | undefined;
82
- style: {
83
- width: number | "";
84
- height: number | "";
85
- widthConfig: "fill" | "px" | "%" | "hug";
86
- heightConfig: "fill" | "px" | "%" | "hug";
87
- };
88
- defaultState: "default" | "readonly";
89
- };
90
- fieldType?: FieldTypes | undefined;
91
- pageStatus?: PAGE_STATUS | undefined;
92
- }[]>;
93
- initGridApi: (api: GridApi) => void;
94
- verticalFull: Ref< __DTS_DEFAULT_0__ | undefined>;
95
- publicPath: string | undefined;
96
- subtableRef: Ref<any>;
97
- isVerticalFull: Ref<boolean>;
98
- hideInstances: ControlRuntimeInstance<ControlsKeys>[] | undefined;
99
- subtableStyle: ComputedRef<StyleValue>;
100
- currentAggridApi: ShallowRef<GridApi<any> | undefined>;
101
- rules: ComputedRef<{
102
- validator: () => Promise<void>;
103
- }[]>;
104
- isRotate: ComputedRef<boolean>;
105
- dataSource: ComputedRef<any[]>;
106
- rotateImgsrc: ComputedRef<string>;
107
- isEdit: ComputedRef<boolean>;
108
- bodyScrollEnd: () => void;
109
- agGridListStyle: ComputedRef<{
110
- padding: string;
111
- }>;
112
- bodyScroll: () => void;
113
- subtableStyle1: ComputedRef<StyleValue>;
114
- isBodyScrollIng: Ref<boolean>;
115
- getTotal: ComputedRef<number>;
116
- serverPagination: ComputedRef<boolean>;
117
- setLastPage: (isDelete?: boolean) => Promise<void>;
118
- spinning: Ref<boolean>;
119
- };
120
- export { useSubtableList };
@@ -1,66 +0,0 @@
1
- import { ShallowRef, Ref } from 'vue';
2
- import { Engine } from '@byteluck-fe/model-driven-engine';
3
- import { GridApi } from '@ag-grid-community/core';
4
- import { SubtablePropsInterface } from '../../../constant/controls/props/list/subtable';
5
- import { ControlsKeys, BaseControlTypes, FieldTypes, PAGE_STATUS } from '@byteluck-fe/model-driven-core-all';
6
-
7
- export declare const useSubtableInstanceSchemaChange: (props: SubtablePropsInterface, context: Ref<Engine> | undefined, currentAggridApi?: ShallowRef<GridApi | undefined>) => {
8
- displayHeaders: Ref<{
9
- controlType: "layout";
10
- children: {
11
- id: string;
12
- type: ControlsKeys;
13
- props: {
14
- isHide: boolean;
15
- className?: string[] | undefined;
16
- style: {
17
- width: number | "";
18
- height: number | "";
19
- widthConfig: "fill" | "px" | "%" | "hug";
20
- heightConfig: "fill" | "px" | "%" | "hug";
21
- };
22
- caption: string;
23
- defaultState: "default" | "readonly";
24
- };
25
- controlType: BaseControlTypes;
26
- fieldType?: FieldTypes | undefined;
27
- pageStatus?: PAGE_STATUS | undefined;
28
- }[];
29
- id: string;
30
- type: "subtable-column";
31
- props: {
32
- metaAutoWidth: {
33
- pc: {
34
- width: number;
35
- widthType: "auto" | "px";
36
- minWidth: number;
37
- maxWidth?: number | undefined;
38
- flex: number;
39
- };
40
- mobile: {
41
- width: number;
42
- widthType: "auto" | "px";
43
- minWidth: number;
44
- maxWidth?: number | undefined;
45
- flex: number;
46
- };
47
- };
48
- caption: string;
49
- fixed: boolean;
50
- isShowCaptionTip: boolean;
51
- captionTip: string;
52
- isHideCaption: boolean;
53
- isHide: boolean;
54
- className?: string[] | undefined;
55
- style: {
56
- width: number | "";
57
- height: number | "";
58
- widthConfig: "fill" | "px" | "%" | "hug";
59
- heightConfig: "fill" | "px" | "%" | "hug";
60
- };
61
- defaultState: "default" | "readonly";
62
- };
63
- fieldType?: FieldTypes | undefined;
64
- pageStatus?: PAGE_STATUS | undefined;
65
- }[]>;
66
- };
@@ -1,2 +0,0 @@
1
- declare const setAdaptiveTextColor: (bgColor: string) => "black" | "white";
2
- export { setAdaptiveTextColor };