@byteluck-fe/runtime-engine 3.0.0 → 7.0.0-beta.0
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.
- package/dist/runtime-engine.js +19292 -15985
- package/dist/src/components/meKeepAlive/core/renderer.d.ts +10 -10
- package/dist/src/components/meKeepAlive/core/vnode.d.ts +3 -3
- package/dist/src/components/meKeepAlive/index.d.ts +1 -1
- package/dist/src/components/update-log/utils.d.ts +2 -2
- package/dist/src/constant/controls/props/base/button.d.ts +14 -0
- package/dist/src/constant/controls/props/base/dashboard.d.ts +9 -0
- package/dist/src/constant/controls/props/base/divider.d.ts +9 -0
- package/dist/src/constant/controls/props/base/formSelectButton.d.ts +9 -0
- package/dist/src/constant/controls/props/base/invoiceCheckButton.d.ts +9 -0
- package/dist/src/constant/controls/props/base/link.d.ts +9 -0
- package/dist/src/constant/controls/props/base/listSelectButton.d.ts +9 -0
- package/dist/src/constant/controls/props/base/listViewSelect.d.ts +12 -0
- package/dist/src/constant/controls/props/base/referenceList.d.ts +10 -0
- package/dist/src/constant/controls/props/base/text.d.ts +7 -0
- package/dist/src/constant/controls/props/base/textOcrButton.d.ts +8 -0
- package/dist/src/constant/controls/props/base/title.d.ts +8 -0
- package/dist/src/constant/controls/props/column/approvalStatusColumn.d.ts +12 -0
- package/dist/src/constant/controls/props/column/arrayColumn.d.ts +12 -0
- package/dist/src/constant/controls/props/column/autoNumberColumn.d.ts +10 -0
- package/dist/src/constant/controls/props/column/customColumn.d.ts +11 -0
- package/dist/src/constant/controls/props/column/decimalColumn.d.ts +11 -0
- package/dist/src/constant/controls/props/column/departmentColumn.d.ts +12 -0
- package/dist/src/constant/controls/props/column/employeeColumn.d.ts +12 -0
- package/dist/src/constant/controls/props/column/fileColumn.d.ts +12 -0
- package/dist/src/constant/controls/props/column/imageColumn.d.ts +12 -0
- package/dist/src/constant/controls/props/column/locationColumn.d.ts +10 -0
- package/dist/src/constant/controls/props/column/peopleColumn.d.ts +12 -0
- package/dist/src/constant/controls/props/column/timestampColumn.d.ts +10 -0
- package/dist/src/constant/controls/props/defaultProps.d.ts +24 -0
- package/dist/src/constant/controls/props/form/address.d.ts +8 -0
- package/dist/src/constant/controls/props/form/amount.d.ts +8 -0
- package/dist/src/constant/controls/props/form/attachment.d.ts +8 -0
- package/dist/src/constant/controls/props/form/autoNumber.d.ts +11 -0
- package/dist/src/constant/controls/props/form/calc.d.ts +8 -0
- package/dist/src/constant/controls/props/form/checkbox.d.ts +8 -0
- package/dist/src/constant/controls/props/form/dataView.d.ts +12 -0
- package/dist/src/constant/controls/props/form/datePicker.d.ts +8 -0
- package/dist/src/constant/controls/props/form/dateRange.d.ts +8 -0
- package/dist/src/constant/controls/props/form/department.d.ts +12 -0
- package/dist/src/constant/controls/props/form/department2.d.ts +11 -0
- package/dist/src/constant/controls/props/form/electronicSignature.d.ts +7 -0
- package/dist/src/constant/controls/props/form/employee.d.ts +11 -0
- package/dist/src/constant/controls/props/form/employee2.d.ts +12 -0
- package/dist/src/constant/controls/props/form/image.d.ts +7 -0
- package/dist/src/constant/controls/props/form/input.d.ts +11 -0
- package/dist/src/constant/controls/props/form/number.d.ts +8 -0
- package/dist/src/constant/controls/props/form/organizationSelection.d.ts +11 -0
- package/dist/src/constant/controls/props/form/radio.d.ts +8 -0
- package/dist/src/constant/controls/props/form/richText.d.ts +11 -0
- package/dist/src/constant/controls/props/form/score.d.ts +8 -0
- package/dist/src/constant/controls/props/form/searchDateRange.d.ts +8 -0
- package/dist/src/constant/controls/props/form/searchInput.d.ts +9 -0
- package/dist/src/constant/controls/props/form/searchNumberRange.d.ts +8 -0
- package/dist/src/constant/controls/props/form/select.d.ts +8 -0
- package/dist/src/constant/controls/props/form/selectMultiple.d.ts +11 -0
- package/dist/src/constant/controls/props/form/selectRelation.d.ts +8 -0
- package/dist/src/constant/controls/props/form/textarea.d.ts +8 -0
- package/dist/src/constant/controls/props/form/tree.d.ts +10 -0
- package/dist/src/constant/controls/props/form/vueFormItem.d.ts +8 -0
- package/dist/src/constant/controls/props/form/vuePage.d.ts +8 -0
- package/dist/src/constant/controls/props/form/wps.d.ts +7 -0
- package/dist/src/constant/controls/props/layout/actionBar.d.ts +11 -0
- package/dist/src/constant/controls/props/layout/cardGroup.d.ts +10 -0
- package/dist/src/constant/controls/props/layout/col.d.ts +10 -0
- package/dist/src/constant/controls/props/layout/grid.d.ts +10 -0
- package/dist/src/constant/controls/props/layout/gridLayoutContainer.d.ts +10 -0
- package/dist/src/constant/controls/props/layout/gridLayoutWrap.d.ts +10 -0
- package/dist/src/constant/controls/props/layout/gridRow.d.ts +11 -0
- package/dist/src/constant/controls/props/layout/row.d.ts +10 -0
- package/dist/src/constant/controls/props/layout/simpleSearch.d.ts +13 -0
- package/dist/src/constant/controls/props/layout/step.d.ts +7 -0
- package/dist/src/constant/controls/props/layout/stepPane.d.ts +7 -0
- package/dist/src/constant/controls/props/layout/tab.d.ts +7 -0
- package/dist/src/constant/controls/props/list/subtable.d.ts +11 -0
- package/dist/src/constant/controls/props/renderEngine.d.ts +63 -0
- package/dist/src/constant/page/address.d.ts +12 -12
- package/dist/src/constant/page/table/column.d.ts +3 -3
- package/dist/src/entry_desktop/components/EllipsisTooltip/EllipsisTooltip.d.ts +87 -0
- package/dist/src/entry_desktop/components/FormEngine/index.d.ts +3 -0
- package/dist/src/entry_desktop/controls/components/base-table/components/editable/componentMap.d.ts +2 -2
- package/dist/src/entry_desktop/controls/components/base-table/hooks/useTableContext.d.ts +2 -2
- package/dist/src/entry_desktop/controls/components/base-table/types/table.d.ts +2 -2
- package/dist/src/entry_desktop/controls/components/subtable-ag-grid/hooks/use-sort-hooks.d.ts +1 -1
- package/dist/src/entry_desktop/controls/components/subtable-ag-grid/hooks/useWCModalComponentChangeValue.d.ts +1 -1
- package/dist/src/entry_desktop/controls/rok-comment/index.d.ts +3 -0
- package/dist/src/entry_desktop/controls/rok-date-picker/hook.d.ts +1 -0
- package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useAgGrid.d.ts +1 -1
- package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useBackgroundStyle.d.ts +1 -1
- package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useColumns.d.ts +13 -4
- package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useModel.d.ts +1 -1
- package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useNonePage.d.ts +1 -1
- package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useViewStyle.d.ts +1 -1
- package/dist/src/entry_desktop/controls/rok-list-view-title/rule-filter/sok-advanced-filter/utils/date-range.d.ts +1 -1
- package/dist/src/entry_desktop/controls/rok-step/index.d.ts +3 -0
- package/dist/src/entry_desktop/controls/rok-sublist/hooks/useModel.d.ts +1 -0
- package/dist/src/entry_desktop/controls/rok-subtable/hooks/useGetTemplateList.d.ts +1 -1
- package/dist/src/entry_desktop/controls/rok-subtable/hooks/useSubtableSelectionState.d.ts +1 -1
- package/dist/src/entry_desktop/controls/rok-table-layout/index.d.ts +3 -0
- package/dist/src/entry_desktop/controls/rok-table-layout-row/index.d.ts +4 -0
- package/dist/src/entry_desktop/controls/rok-table-layout-wrapper/index.d.ts +3 -0
- package/dist/src/entry_desktop/hooks/layoutVar.d.ts +197 -0
- package/dist/src/entry_desktop/views/list-application/hooks/useListApplication.d.ts +3 -3
- package/dist/src/entry_mobile/components/VanSuperForm/VanSuperForm.d.ts +2 -2
- package/dist/src/entry_mobile/controls/components/table/hooks/hook.d.ts +2 -0
- package/dist/src/entry_mobile/controls/components/table/types/table.d.ts +1 -1
- package/dist/src/entry_mobile/controls/rok-attachment/hook-file-base.d.ts +40 -3
- package/dist/src/entry_mobile/controls/rok-attachment/upload.type.d.ts +5 -5
- package/dist/src/entry_mobile/controls/rok-attachment/utils.d.ts +2 -1
- package/dist/src/entry_mobile/controls/rok-comment/index.d.ts +3 -0
- package/dist/src/entry_mobile/controls/rok-date-picker/hook.d.ts +148 -3
- package/dist/src/entry_mobile/controls/rok-date-range/hook.d.ts +149 -3
- package/dist/src/entry_mobile/controls/rok-department/hook.d.ts +20 -3
- package/dist/src/entry_mobile/controls/rok-department2/hook.d.ts +21 -3
- package/dist/src/entry_mobile/controls/rok-employee/src/constant/index.d.ts +4 -4
- package/dist/src/entry_mobile/controls/rok-employee2/src/constant/index.d.ts +4 -4
- package/dist/src/entry_mobile/controls/rok-grid-table/hooks/useRender.d.ts +3 -0
- package/dist/src/entry_mobile/controls/rok-image/image.type.d.ts +3 -3
- package/dist/src/entry_mobile/controls/rok-list-view/hook.d.ts +2 -1
- package/dist/src/entry_mobile/controls/rok-organization-selection/hook.d.ts +20 -3
- package/dist/src/entry_mobile/controls/rok-search-date-range/hook.d.ts +146 -3
- package/dist/src/entry_mobile/controls/rok-step/index.d.ts +3 -0
- package/dist/src/entry_mobile/controls/rok-subtable/components/AgGrid/hooks/useAgGrid.d.ts +2 -0
- package/dist/src/entry_mobile/controls/rok-subtable/hooks/useFull.d.ts +1 -1
- package/dist/src/entry_mobile/controls/rok-subtable/hooks/useSubtableList.d.ts +120 -0
- package/dist/src/entry_mobile/controls/rok-table-layout/index.d.ts +3 -0
- package/dist/src/entry_mobile/controls/rok-table-layout-row/index.d.ts +4 -0
- package/dist/src/entry_mobile/controls/rok-table-layout-wrapper/index.d.ts +3 -0
- package/dist/src/entry_mobile/views/page-render/process-form/hooks.d.ts +1 -0
- package/dist/src/entry_mobile/views/page-render/useCancel.d.ts +1 -1
- package/dist/src/hooks/ag-grid-config.d.ts +4 -0
- package/dist/src/hooks/atomic/useEventListener.d.ts +1 -1
- package/dist/src/hooks/components/formEngineModal/index.d.ts +1 -0
- package/dist/src/hooks/components/formEngineModal/useFormEngine.d.ts +43 -0
- package/dist/src/hooks/components/formEngineModal/useFormEngineModal.d.ts +1 -0
- package/dist/src/hooks/components/formEngineModal/useFormState.d.ts +1 -0
- package/dist/src/hooks/components/listEngineModal/useListEngineModal.d.ts +3 -0
- package/dist/src/hooks/components/listEngineModal/useListState.d.ts +2 -1
- package/dist/src/hooks/components/useGroupTaskCommentTag.d.ts +3 -0
- package/dist/src/hooks/components/useLayoutChildren.d.ts +3 -3
- package/dist/src/hooks/components/useList.d.ts +9 -0
- package/dist/src/hooks/context/useGlobalEngineContext.d.ts +1 -0
- package/dist/src/hooks/context/useInstanceSchemaChangeContext.d.ts +4 -1
- package/dist/src/hooks/controls/department2/useDepartmentDisabledSelected.d.ts +5 -0
- package/dist/src/hooks/controls/form/interface.d.ts +2 -2
- package/dist/src/hooks/controls/listMaster/useModel.d.ts +1 -0
- package/dist/src/hooks/controls/listSelectButton/useEngineFillState.d.ts +2 -2
- package/dist/src/hooks/controls/listSelectButton/useListSelectButton.d.ts +1 -1
- package/dist/src/hooks/controls/listView/useIframe.d.ts +2 -1
- package/dist/src/hooks/controls/listView/useListRows.d.ts +5 -0
- package/dist/src/hooks/controls/listView/useModel.d.ts +5 -4
- package/dist/src/hooks/controls/listView/useRowSpanModel.d.ts +1 -1
- package/dist/src/hooks/controls/selecRelation/useSelectRelationEngineInit.d.ts +1 -1
- package/dist/src/hooks/controls/simpleSearch/useSimpleSearch.d.ts +1 -1
- package/dist/src/hooks/controls/subtable/useSubtableFormEngineModal.d.ts +4 -1
- package/dist/src/hooks/controls/subtable/useSubtableInstanceSchemaChange.d.ts +66 -0
- package/dist/src/hooks/controls/tab/useTab.d.ts +14 -0
- package/dist/src/hooks/controls/useDateRange.d.ts +137 -0
- package/dist/src/hooks/form/useBaseForm.d.ts +35 -0
- package/dist/src/hooks/form/useBatchPrint.d.ts +1 -1
- package/dist/src/hooks/form/useChangeLog.d.ts +2 -2
- package/dist/src/hooks/form/useFormEvents.d.ts +4 -4
- package/dist/src/hooks/form/useFormPageMask.d.ts +4 -0
- package/dist/src/hooks/model/useDashboardState.d.ts +9 -1
- package/dist/src/hooks/views/useApprovalForm.d.ts +5 -0
- package/dist/src/hooks/views/useExternalFormData.d.ts +1 -0
- package/dist/src/hooks/views/useFormRenderByApprovalProcess.d.ts +4 -0
- package/dist/src/hooks/views/useFormRenderByFormKeyAndUid.d.ts +1 -0
- package/dist/src/hooks/views/usePageForm.d.ts +1 -0
- package/dist/src/hooks/views/usePrintForm.d.ts +1 -0
- package/dist/src/hooks/views/useProcessForm.d.ts +3 -0
- package/dist/src/hooks/views/useProcessFormRenderByFormKeyAndUid.d.ts +3 -0
- package/dist/src/plugins/engine/ActionUtilsPlugin.d.ts +12 -8
- package/dist/src/plugins/engine/CustomVueControlPlugin.d.ts +2 -2
- package/dist/src/plugins/engine/DataSourceManagePlugin.d.ts +1 -1
- package/dist/src/plugins/engine/DataViewPlugin.d.ts +3 -1
- package/dist/src/plugins/engine/DatasourceSearchPlugin.d.ts +3 -1
- package/dist/src/plugins/engine/DisplayPlugin.d.ts +2 -0
- package/dist/src/plugins/engine/EventListenerPlugin/index.d.ts +1 -0
- package/dist/src/plugins/engine/EventListenerPlugin/type.d.ts +11 -11
- package/dist/src/plugins/engine/ExpressionPlugin.d.ts +9 -1
- package/dist/src/plugins/engine/MultistageFillingPlugin.d.ts +1 -1
- package/dist/src/plugins/engine/TitleSettingPlugin.d.ts +1 -0
- package/dist/src/plugins/utils/ActionHandle/ActionHandler.d.ts +1 -1
- package/dist/src/plugins/utils/ActionHandle/ExecuteAction.d.ts +1 -1
- package/dist/src/services/services.auto.d.ts +25 -1
- package/dist/src/services/template.d.ts +1 -1
- package/dist/src/store/index.d.ts +2 -1
- package/dist/src/types/PageContext.d.ts +1 -1
- package/dist/src/types/approval-submit.d.ts +1 -1
- package/dist/src/types/type.d.ts +8 -8
- package/dist/src/utils/controls/attachmentUtils.d.ts +1 -1
- package/dist/src/utils/controls/dateUtils.d.ts +1 -1
- package/dist/src/utils/controls/formCopy.d.ts +1 -1
- package/dist/src/utils/controls/formatColumnData.d.ts +1 -1
- package/dist/src/utils/controls/imageUtils.d.ts +1 -1
- package/dist/src/utils/controls/scrollIntoDomView.d.ts +1 -1
- package/dist/src/utils/controls/subtableDealTableColumn.d.ts +49 -0
- package/dist/src/utils/controls/subtableReadonlyCellRenders.d.ts +13 -0
- package/dist/src/utils/core/captionStyle.d.ts +1 -0
- package/dist/src/utils/core/crossMessageProcessor.d.ts +1 -1
- package/dist/src/utils/core/expressionTools.d.ts +1 -1
- package/dist/src/utils/core/index.d.ts +1 -0
- package/dist/src/utils/core/math.d.ts +1 -1
- package/dist/src/utils/model/operateCache.d.ts +2 -2
- package/dist/src/utils/tools/asyncInterval.d.ts +1 -1
- package/dist/src/utils/tools/dateUtils.d.ts +1 -0
- package/dist/src/utils/tools/displayValue.d.ts +2 -2
- package/dist/src/utils/tools/getCachedApplyRender.d.ts +1 -1
- package/dist/src/utils/tools/index.d.ts +2 -0
- package/dist/src/utils/tools/setAdaptiveTextColor.d.ts +2 -0
- package/dist/src/utils/tools/subtableAgGridUtils.d.ts +1 -1
- package/package.json +1 -1
- package/dist/src/entry_desktop/controls/rok-attachment/hook-file-base.d.ts +0 -4
- package/dist/src/entry_desktop/controls/rok-attachment/hook.d.ts +0 -30
|
@@ -5,6 +5,7 @@ interface ProcessParams {
|
|
|
5
5
|
taskId?: string;
|
|
6
6
|
processInstanceId?: string;
|
|
7
7
|
noticeId?: string;
|
|
8
|
+
noteId?: string;
|
|
8
9
|
formKey?: string;
|
|
9
10
|
additional_query?: string;
|
|
10
11
|
}
|
|
@@ -22,6 +23,7 @@ export declare function useFormRenderByApprovalProcess(requestParams?: ProcessPa
|
|
|
22
23
|
formKey: string;
|
|
23
24
|
dataCode?: string | undefined;
|
|
24
25
|
formType: string;
|
|
26
|
+
viewType?: string | undefined;
|
|
25
27
|
};
|
|
26
28
|
processInfo: {
|
|
27
29
|
appId: string;
|
|
@@ -34,6 +36,8 @@ export declare function useFormRenderByApprovalProcess(requestParams?: ProcessPa
|
|
|
34
36
|
processDefinitionKey: string;
|
|
35
37
|
bizKey: string;
|
|
36
38
|
processParam: {};
|
|
39
|
+
noticeId: string;
|
|
40
|
+
noteId: string;
|
|
37
41
|
};
|
|
38
42
|
getFormDataDisplayPromise: Ref<Promise<typing.PageDataDisplayBo | undefined> | undefined>;
|
|
39
43
|
dataCode: ComputedRef<any>;
|
|
@@ -20,6 +20,7 @@ export declare function useFormRenderByFormKeyAndUid(requestParams?: FormKeyAndU
|
|
|
20
20
|
formKey: string;
|
|
21
21
|
dataCode?: string | undefined;
|
|
22
22
|
formType: string;
|
|
23
|
+
viewType?: string | undefined;
|
|
23
24
|
};
|
|
24
25
|
getFormDataDisplayPromise: Ref<Promise<typing.PageDataDisplayBo | undefined> | undefined>;
|
|
25
26
|
hasPermission: Ref<boolean>;
|
|
@@ -13,6 +13,7 @@ export declare function useProcessForm(handlerRenderError: (error: {
|
|
|
13
13
|
formKey: string;
|
|
14
14
|
dataCode?: string | undefined;
|
|
15
15
|
formType: string;
|
|
16
|
+
viewType?: string | undefined;
|
|
16
17
|
};
|
|
17
18
|
processInfo: {
|
|
18
19
|
appId: string;
|
|
@@ -25,6 +26,8 @@ export declare function useProcessForm(handlerRenderError: (error: {
|
|
|
25
26
|
processDefinitionKey: string;
|
|
26
27
|
bizKey: string;
|
|
27
28
|
processParam: {};
|
|
29
|
+
noticeId: string;
|
|
30
|
+
noteId: string;
|
|
28
31
|
};
|
|
29
32
|
dataCode: ComputedRef<any>;
|
|
30
33
|
engine: Ref<Engine | undefined>;
|
|
@@ -14,6 +14,7 @@ export declare function useProcessFormRenderByFormKeyAndUid(requestParams?: {},
|
|
|
14
14
|
formKey: string;
|
|
15
15
|
dataCode?: string | undefined;
|
|
16
16
|
formType: string;
|
|
17
|
+
viewType?: string | undefined;
|
|
17
18
|
};
|
|
18
19
|
processInfo: {
|
|
19
20
|
appId: string;
|
|
@@ -26,6 +27,8 @@ export declare function useProcessFormRenderByFormKeyAndUid(requestParams?: {},
|
|
|
26
27
|
processDefinitionKey: string;
|
|
27
28
|
bizKey: string;
|
|
28
29
|
processParam: {};
|
|
30
|
+
noticeId: string;
|
|
31
|
+
noteId: string;
|
|
29
32
|
};
|
|
30
33
|
getFormDataDisplayPromise: Ref<Promise<typing.PageDataDisplayBo | undefined> | undefined>;
|
|
31
34
|
dataCode: ComputedRef<any>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Engine, Plugin } from '@byteluck-fe/model-driven-engine';
|
|
2
2
|
import { ControlRuntimeInstance, ControlsKeys } from '@byteluck-fe/model-driven-core-all';
|
|
3
3
|
import { FetchService } from '../../utils';
|
|
4
|
+
import { RouteLocationRaw, NavigationFailure, RouteLocationNormalizedLoaded, RouteLocation } from 'vue-router';
|
|
4
5
|
|
|
5
|
-
|
|
6
|
+
type ActionUtilType = {
|
|
6
7
|
device: 'desktop' | 'mobile';
|
|
7
8
|
userInfo: any;
|
|
8
9
|
tenant: any;
|
|
@@ -28,9 +29,9 @@ export declare class ActionUtilsPlugin implements Plugin {
|
|
|
28
29
|
getUserInfo(): any;
|
|
29
30
|
getTenant(): any;
|
|
30
31
|
getLanguage(): string;
|
|
31
|
-
getLocaleText(key: string,
|
|
32
|
+
getLocaleText(key: string, replaceObj?: any, defaultVal?: string): string;
|
|
32
33
|
toast(message: string, type?: ToastOptions['type'], show?: ToastOptions['show']): void;
|
|
33
|
-
confirm(title: string, content: any): Promise<unknown>;
|
|
34
|
+
confirm(title: string, content: any, options?: {}): Promise<unknown>;
|
|
34
35
|
getHttp(path?: string): FetchService;
|
|
35
36
|
setGlobalLoading(isloading?: boolean, color?: string): void;
|
|
36
37
|
getBasePath(): any;
|
|
@@ -45,6 +46,7 @@ export declare class ActionUtilsPlugin implements Plugin {
|
|
|
45
46
|
batchSetDisplayCache({ dic_map, display_map, }: {
|
|
46
47
|
[key: string]: typing.SubTablePageVo;
|
|
47
48
|
}): void;
|
|
49
|
+
clearDisplayCache(dataCode: string, fieldCode?: string, value?: string | string[]): void;
|
|
48
50
|
getPageStatus(): any;
|
|
49
51
|
getProcessParam(): any;
|
|
50
52
|
getPageData(): {
|
|
@@ -54,11 +56,13 @@ export declare class ActionUtilsPlugin implements Plugin {
|
|
|
54
56
|
} | undefined;
|
|
55
57
|
getURLParam(): any;
|
|
56
58
|
getRouter(): {
|
|
57
|
-
push:
|
|
58
|
-
replace:
|
|
59
|
-
back:
|
|
60
|
-
forward:
|
|
61
|
-
resolve:
|
|
59
|
+
push: (to: RouteLocationRaw) => Promise<void | NavigationFailure | undefined>;
|
|
60
|
+
replace: (to: RouteLocationRaw) => Promise<void | NavigationFailure | undefined>;
|
|
61
|
+
back: () => void;
|
|
62
|
+
forward: () => void;
|
|
63
|
+
resolve: (to: RouteLocationRaw, currentLocation?: RouteLocationNormalizedLoaded | undefined) => RouteLocation & {
|
|
64
|
+
href: string;
|
|
65
|
+
};
|
|
62
66
|
};
|
|
63
67
|
getEnvVariables(app_id?: string, env_keys?: string[]): Promise<any>;
|
|
64
68
|
getSysVariables(sys_keys?: string[]): Promise<any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Plugin, Engine } from '@byteluck-fe/model-driven-engine';
|
|
2
2
|
|
|
3
|
-
export
|
|
3
|
+
export type CustomConfig = {
|
|
4
4
|
module: {
|
|
5
5
|
compiled: string;
|
|
6
6
|
source: string;
|
|
@@ -11,7 +11,7 @@ export declare type CustomConfig = {
|
|
|
11
11
|
name: string;
|
|
12
12
|
}[];
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type CustomConfigMap = {
|
|
15
15
|
custom: CustomConfig;
|
|
16
16
|
rel_form_keys: string[];
|
|
17
17
|
style: {
|
|
@@ -22,5 +22,5 @@ export declare class DataSourceManagePlugin implements Plugin {
|
|
|
22
22
|
private cacheRequest;
|
|
23
23
|
constructor(options: any, isPreviewMode: boolean);
|
|
24
24
|
apply(engine: Engine): void;
|
|
25
|
-
requestData(payload: EventPayload): Promise<
|
|
25
|
+
requestData(payload: EventPayload): Promise<{}>;
|
|
26
26
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Engine, EventPayload, Plugin } from '@byteluck-fe/model-driven-engine';
|
|
2
2
|
import { ControlRuntimeInstance } from '@byteluck-fe/model-driven-core-all';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
type Types = 'cancel' | 'save' | 'print' | 'save_as' | 'draft';
|
|
5
5
|
interface ButtonItem {
|
|
6
6
|
name: string;
|
|
7
7
|
props: {
|
|
@@ -21,6 +21,7 @@ export declare class DataViewPlugin implements Plugin {
|
|
|
21
21
|
private isBindProcessStartNode;
|
|
22
22
|
private showDataViewOperationBtn;
|
|
23
23
|
private store;
|
|
24
|
+
private payload;
|
|
24
25
|
constructor(options: {
|
|
25
26
|
buttonGroups: ButtonItem[];
|
|
26
27
|
behaviors: typing.PageBehaviorBo[];
|
|
@@ -33,6 +34,7 @@ export declare class DataViewPlugin implements Plugin {
|
|
|
33
34
|
private setSaveDraftButton;
|
|
34
35
|
handlerFormSubmit(payload: EventPayload & {
|
|
35
36
|
instance: ControlRuntimeInstance<'data-view'>;
|
|
37
|
+
isSubmit?: any;
|
|
36
38
|
}): Promise<typing.PlainResult$OptResDto$ | undefined>;
|
|
37
39
|
private onBeforeSubmit;
|
|
38
40
|
private onBeforeSubmitFormatParams;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Engine, Plugin } from '@byteluck-fe/model-driven-engine';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
type DatasourceSearchUtilType = {
|
|
4
4
|
userInfo: any;
|
|
5
5
|
isPreviewMode: any;
|
|
6
6
|
};
|
|
@@ -11,12 +11,14 @@ export declare class DatasourceSearchPlugin implements Plugin {
|
|
|
11
11
|
private cacheRequest;
|
|
12
12
|
private config;
|
|
13
13
|
private weakMap;
|
|
14
|
+
private setDepartmentDisabled;
|
|
14
15
|
constructor(config: DatasourceSearchUtilType);
|
|
15
16
|
apply(engine: Engine): void;
|
|
16
17
|
private watchSearchEvents;
|
|
17
18
|
private watchSetSearchCacheEvents;
|
|
18
19
|
private isOptions;
|
|
19
20
|
private isDataSourceBind;
|
|
21
|
+
private getDepartmentFetchData;
|
|
20
22
|
private onDataSourceSearch;
|
|
21
23
|
private getUserListByIds;
|
|
22
24
|
private getDepartmentsByIds;
|
|
@@ -8,6 +8,7 @@ export declare class DisplayPlugin implements Plugin {
|
|
|
8
8
|
private formConfig;
|
|
9
9
|
private engine;
|
|
10
10
|
private cacheDefaultIsHide;
|
|
11
|
+
private isInit;
|
|
11
12
|
constructor(behaviors: typing.PageBehaviorBo[], config: DisplayItem[], formConfig: any);
|
|
12
13
|
apply(engine: Engine): void;
|
|
13
14
|
private judgeAndCacheInstanceIsHide;
|
|
@@ -16,6 +17,7 @@ export declare class DisplayPlugin implements Plugin {
|
|
|
16
17
|
private handlerInitEmptyInstanceIsHide;
|
|
17
18
|
private handlerJudgeParentHide;
|
|
18
19
|
private watchInstanceIsHideChange;
|
|
20
|
+
private initControlsDisplay;
|
|
19
21
|
/**
|
|
20
22
|
* @description 监听change事件,触发显隐
|
|
21
23
|
* */
|
|
@@ -19,6 +19,7 @@ export declare class EventListenerPlugin implements Plugin {
|
|
|
19
19
|
private router;
|
|
20
20
|
constructor(config: ControlsEvent, app_id: string, userInfo: typing.CurrentUserInfo, store: any, route: RouteLocationNormalizedLoaded, router: Router);
|
|
21
21
|
apply(engine: Engine): void;
|
|
22
|
+
private getAllEventList;
|
|
22
23
|
private getNeedListenEventKeys;
|
|
23
24
|
private configCamelizeKeys;
|
|
24
25
|
private formatConfig;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Engine, EventPayload } from '@byteluck-fe/model-driven-engine';
|
|
2
2
|
import { FieldFilterCondition, FieldFilterConditions, DataSourceOrderItem, RuntimeControl, FillBackBind, FillPayloadBind, FormSelectBind, ListBind } from '@byteluck-fe/model-driven-core-all';
|
|
3
3
|
|
|
4
|
-
export
|
|
4
|
+
export type ControlsEvent = {
|
|
5
5
|
[controlId: string]: BaitedaEventListener[];
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type FormattedControlEvent = {
|
|
8
8
|
[controlId: string | number]: Record<string, BaitedaEventListener>;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type EventKeys = Parameters<Engine['on']>[0];
|
|
11
11
|
export declare class BaitedaEventListener {
|
|
12
12
|
eventKey: string;
|
|
13
13
|
enabledCase: boolean;
|
|
@@ -95,10 +95,10 @@ export declare enum OpenMode {
|
|
|
95
95
|
}
|
|
96
96
|
export declare const currenSystem: any;
|
|
97
97
|
export declare enum ModelMode {
|
|
98
|
-
subtable = "subtable"
|
|
98
|
+
subtable = "subtable",//子表
|
|
99
99
|
current = "current"
|
|
100
100
|
}
|
|
101
|
-
export
|
|
101
|
+
export type UnnkownValue = {
|
|
102
102
|
[x: string]: string | [] | number | undefined | unknown;
|
|
103
103
|
};
|
|
104
104
|
export declare enum ImageType {
|
|
@@ -107,7 +107,7 @@ export declare enum ImageType {
|
|
|
107
107
|
local = "local",
|
|
108
108
|
fileId = "fileId"
|
|
109
109
|
}
|
|
110
|
-
export
|
|
110
|
+
export type PropItem = {
|
|
111
111
|
prop: string;
|
|
112
112
|
value: any;
|
|
113
113
|
propName: string;
|
|
@@ -133,7 +133,7 @@ export interface CalcDifferenceType {
|
|
|
133
133
|
goalModuleTime: any;
|
|
134
134
|
unit: any;
|
|
135
135
|
}
|
|
136
|
-
export
|
|
136
|
+
export type EventCaseHandlerPayload = {
|
|
137
137
|
name: string;
|
|
138
138
|
engine: Engine;
|
|
139
139
|
handler: IBaitedaEventHandler;
|
|
@@ -145,20 +145,20 @@ export declare type EventCaseHandlerPayload = {
|
|
|
145
145
|
value?: unknown;
|
|
146
146
|
rowIndex?: number;
|
|
147
147
|
};
|
|
148
|
-
export
|
|
148
|
+
export type ConfirmDialog = {
|
|
149
149
|
titleData: any;
|
|
150
150
|
titleType: string;
|
|
151
151
|
contentData: any;
|
|
152
152
|
contentType: string;
|
|
153
153
|
isErrorContinue: boolean;
|
|
154
154
|
};
|
|
155
|
-
export
|
|
155
|
+
export type ActionOperate = {
|
|
156
156
|
controlId: string;
|
|
157
157
|
optType: string;
|
|
158
158
|
optCode: string;
|
|
159
159
|
isErrorContinue: boolean;
|
|
160
160
|
};
|
|
161
|
-
export
|
|
161
|
+
export type TriggerOtherControlEvent = {
|
|
162
162
|
controlId: string;
|
|
163
163
|
controlName: string;
|
|
164
164
|
eventKey: string;
|
|
@@ -166,7 +166,7 @@ export declare type TriggerOtherControlEvent = {
|
|
|
166
166
|
subTableId: string;
|
|
167
167
|
subTableName: string;
|
|
168
168
|
};
|
|
169
|
-
export
|
|
169
|
+
export type OpenPageEventType = {
|
|
170
170
|
pageType: 'form' | 'list' | 'link';
|
|
171
171
|
operateType: 'view';
|
|
172
172
|
openType: 'tab' | 'current' | 'new' | 'dialog';
|
|
@@ -32,6 +32,8 @@ export declare class ExpressionPlugin extends ExpressionBasePlugin {
|
|
|
32
32
|
payload: EventPayload;
|
|
33
33
|
type: string;
|
|
34
34
|
rowIndex?: number;
|
|
35
|
+
eventKey?: string;
|
|
36
|
+
eventValue?: any;
|
|
35
37
|
needExpressionControlObj: any;
|
|
36
38
|
relationSubFormControlsObj: any;
|
|
37
39
|
hasExpressionsControlIdsObj: any;
|
|
@@ -45,6 +47,7 @@ export declare class ExpressionPlugin extends ExpressionBasePlugin {
|
|
|
45
47
|
clearCurrentSettingData(): void;
|
|
46
48
|
onDatasourceLoaded(datasourceId: string, callback: Function): void;
|
|
47
49
|
parserFXConfig(): void;
|
|
50
|
+
setValues: (values: any[], result: any) => void;
|
|
48
51
|
runFxOfEventListener(): {
|
|
49
52
|
isRight: boolean;
|
|
50
53
|
values?: undefined;
|
|
@@ -55,19 +58,24 @@ export declare class ExpressionPlugin extends ExpressionBasePlugin {
|
|
|
55
58
|
isRight: boolean;
|
|
56
59
|
} | undefined;
|
|
57
60
|
resetSubTableAddRowDataBeforeInsert(payload: EventPayload): void;
|
|
61
|
+
runFxOfTextContent(): Promise<void>;
|
|
58
62
|
resetParseResultOfDateRange(match: any, originControlId: string, prevParseResult: any, propertyKey: string): {
|
|
59
63
|
min: any;
|
|
60
64
|
max: any;
|
|
61
65
|
};
|
|
62
66
|
resetParseResult(controlId: string, prevParseResult: any, propertyKey: string): any;
|
|
63
|
-
deepCloneWithPrototype(obj: any, map?: WeakMap<
|
|
67
|
+
deepCloneWithPrototype(obj: any, map?: WeakMap<WeakKey, any>): any;
|
|
64
68
|
runnerExpressionAndUpdateBeforeSubTableInsert(controlId: string): void;
|
|
65
69
|
registerDatasourceFunctions(): void;
|
|
70
|
+
getDateFormat(controlId: string, format: string): Promise<string | undefined>;
|
|
66
71
|
getLocaleText(key: string, rowNumber: number): any;
|
|
72
|
+
getControlDisplay(controlId: string, rowNumber: number): Promise<any>;
|
|
67
73
|
registerSystemVariables(): void;
|
|
68
74
|
parseFunctionExpression(expression: any): void;
|
|
69
75
|
parseConditionArgument(expression: any): void;
|
|
70
76
|
parseAndOrFunctionExpression(expression: any): void;
|
|
77
|
+
parseGetControlDisplayFunctionExpression(expression: any): void;
|
|
78
|
+
getConditionArgument: (conditions: any[]) => any[];
|
|
71
79
|
parseIfFunctionExpression(expression: any): void;
|
|
72
80
|
getConditionCodes(conditionArgument: any[]): string[];
|
|
73
81
|
getFormControlValue(controlIds: string[]): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Engine, EventPayload } from '@byteluck-fe/model-driven-engine';
|
|
2
2
|
import { IBaitedaEventHandler, EventHandlerMethod } from '../../engine/EventListenerPlugin/type';
|
|
3
3
|
|
|
4
|
-
export
|
|
4
|
+
export type ActionParams = {
|
|
5
5
|
engine: Engine;
|
|
6
6
|
controlEventKey: string;
|
|
7
7
|
options?: EventPayload;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Engine, EventPayload } from '@byteluck-fe/model-driven-engine';
|
|
2
2
|
import { IBaitedaEventHandler } from '../../engine/EventListenerPlugin/type';
|
|
3
3
|
|
|
4
|
-
export
|
|
4
|
+
export type ExecuteActionParams = {
|
|
5
5
|
engine: Engine;
|
|
6
6
|
actionsMap: IBaitedaEventHandler[];
|
|
7
7
|
options: EventPayload & {
|
|
@@ -267,6 +267,17 @@ export default class {
|
|
|
267
267
|
};
|
|
268
268
|
}, options?: any): Promise<typing.ListResult$BizModelFieldBo$>;
|
|
269
269
|
/**
|
|
270
|
+
* 获取ai权限
|
|
271
|
+
* @method
|
|
272
|
+
* @name #CheckSubAppPermisssionPagePrivateV1ApiAppsGET
|
|
273
|
+
* @param {string} code - 编码
|
|
274
|
+
*/
|
|
275
|
+
CheckSubAppPermisssionPagePrivateV1ApiAppsGET(params: {
|
|
276
|
+
query?: {
|
|
277
|
+
'sapp_id'?: string;
|
|
278
|
+
};
|
|
279
|
+
}, options?: any): Promise<typing.ListResult$BizModelFieldBo$>;
|
|
280
|
+
/**
|
|
270
281
|
* 数据字段列表
|
|
271
282
|
* @method
|
|
272
283
|
* @name #GetModelFieldsBizModelPrivateV1ApiAppsPOST
|
|
@@ -1487,6 +1498,7 @@ export default class {
|
|
|
1487
1498
|
'dataCode'?: string;
|
|
1488
1499
|
'dataUid'?: string;
|
|
1489
1500
|
'formKey'?: string;
|
|
1501
|
+
'delInstStatus'?: boolean;
|
|
1490
1502
|
};
|
|
1491
1503
|
}, options?: any): Promise<typing.PlainResult$string$>;
|
|
1492
1504
|
/**
|
|
@@ -1608,6 +1620,15 @@ export default class {
|
|
|
1608
1620
|
payload?: typing.SubmitFormDto_1;
|
|
1609
1621
|
}, options?: any): Promise<typing.ListResult$OptionalNodeDto$>;
|
|
1610
1622
|
/**
|
|
1623
|
+
* 获取下个节点的审批人范围
|
|
1624
|
+
* @method
|
|
1625
|
+
* @name #GetNextNodeUserByInvokeOptOperatorPrivateV1ApiAppsPOST
|
|
1626
|
+
* @param {} runFormRequest - runFormRequest
|
|
1627
|
+
*/
|
|
1628
|
+
GetNextNodeUserByInvokeOptOperatorPrivateV1ApiAppsPOST(params: {
|
|
1629
|
+
payload?: typing.SubmitFormDto_3;
|
|
1630
|
+
}, options?: any): Promise<typing.ListResult$OptionalNodeDto$>;
|
|
1631
|
+
/**
|
|
1611
1632
|
* getPageSimpleInfo
|
|
1612
1633
|
* @method
|
|
1613
1634
|
* @name #GetPageSimpleInfoPagePrivateV1ApiAppsGET
|
|
@@ -1675,7 +1696,10 @@ export default class {
|
|
|
1675
1696
|
*/
|
|
1676
1697
|
ProcessDataDisplayPagePrivateV1ApiAppsPOST(params: {
|
|
1677
1698
|
payload?: typing.ApproveRenderDto;
|
|
1678
|
-
}, options?: any): Promise<typing.PlainResult$PageDataDisplayBo
|
|
1699
|
+
}, options?: any): Promise<typing.PlainResult$PageDataDisplayBo$>;
|
|
1700
|
+
GroupTaskCommentTagRecordTaskV2AuthEgoApiPOST(params: {
|
|
1701
|
+
payload?: any;
|
|
1702
|
+
}, options?: any): Promise<typing.PlainResult$PageDataDisplayBo$>;
|
|
1679
1703
|
/**
|
|
1680
1704
|
* 传入:模型编码、主键值、流程key
|
|
1681
1705
|
* @method
|
|
@@ -7,7 +7,7 @@ export default class {
|
|
|
7
7
|
* 导入高级模板
|
|
8
8
|
* @method
|
|
9
9
|
*/
|
|
10
|
-
advancedImport(mode: string, templateCode: string, updateKey: Array<string>, file: any): Promise<any>;
|
|
10
|
+
advancedImport(mode: string, templateCode: string, updateKey: Array<string>, file: any, timeZone: any): Promise<any>;
|
|
11
11
|
/**
|
|
12
12
|
* 明细表高级模版
|
|
13
13
|
* @method
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Store } from 'vuex';
|
|
2
|
-
|
|
2
|
+
type HighPerformanceSubtableEditingCell = {
|
|
3
3
|
subTableId: string;
|
|
4
4
|
rowIndex: number;
|
|
5
5
|
colField: string;
|
|
@@ -40,5 +40,6 @@ declare const _default: Store<{
|
|
|
40
40
|
isInnerTabPaneOverflowHide: boolean;
|
|
41
41
|
tableStatisticsBtnClicked: any;
|
|
42
42
|
headerSearchPage: any;
|
|
43
|
+
groupTaskCommentTag: any[];
|
|
43
44
|
}>;
|
|
44
45
|
export default _default;
|
package/dist/src/types/type.d.ts
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { PropType, VNodeChild } from 'vue';
|
|
2
2
|
|
|
3
|
-
export
|
|
3
|
+
export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
|
|
4
4
|
export declare const tuple: <T extends string[]>(...args: T) => T;
|
|
5
5
|
export declare const tupleNum: <T extends number[]>(...args: T) => T;
|
|
6
6
|
/**
|
|
7
7
|
* https://stackoverflow.com/a/59187769
|
|
8
8
|
* Extract the type of an element of an array/tuple without performing indexing
|
|
9
9
|
*/
|
|
10
|
-
export
|
|
10
|
+
export type ElementOf<T> = T extends (infer E)[] ? E : T extends readonly (infer F)[] ? F : never;
|
|
11
11
|
/**
|
|
12
12
|
* https://github.com/Microsoft/TypeScript/issues/29729
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
|
|
14
|
+
export type LiteralUnion<T extends U, U> = T | (U & {});
|
|
15
|
+
export type Data = Record<string, unknown>;
|
|
16
|
+
export type ObjectData = Record<string, any>;
|
|
17
|
+
export type Key = string | number;
|
|
18
|
+
type DefaultFactory<T> = (props: Data) => T | null | undefined;
|
|
19
19
|
export interface PropOptions<T = any, D = T> {
|
|
20
20
|
type?: PropType<T> | true | null;
|
|
21
21
|
required?: boolean;
|
|
22
22
|
default?: D | DefaultFactory<D> | null | undefined | object;
|
|
23
23
|
validator?(value: unknown): boolean;
|
|
24
24
|
}
|
|
25
|
-
export
|
|
25
|
+
export type VueNode = VNodeChild | JSX.Element;
|
|
26
26
|
export declare const withInstall: <T>(comp: any) => T & Plugin;
|
|
27
27
|
export {};
|
|
@@ -2,6 +2,6 @@ declare const MAX_FILE_SIZE = 104857600;
|
|
|
2
2
|
declare const ALL_ACCEPT_TYPE: string[];
|
|
3
3
|
declare const getFileType: (filePath: string) => string;
|
|
4
4
|
declare const validFileType: (fileName: string, fileTypeList: string[]) => boolean;
|
|
5
|
-
declare const validAttachmentType: (fileName: string, type?: string[]
|
|
5
|
+
declare const validAttachmentType: (fileName: string, type?: string[]) => boolean;
|
|
6
6
|
export * from '../../constant/global';
|
|
7
7
|
export { MAX_FILE_SIZE, ALL_ACCEPT_TYPE, getFileType, validFileType, validAttachmentType, };
|
|
@@ -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') => any;
|
|
41
|
+
declare const computedDisabledDate: (current: any, limitDateList: any, dateType: 'date' | 'datetime' | 'datemin' | 'datehour' | 'month' | 'year' | string) => 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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CONTROL_TYPE, ControlRuntimeInstance, RuntimeControl } from '@byteluck-fe/model-driven-core-all';
|
|
2
2
|
import { ValueGetterParams } from '@ag-grid-community/core';
|
|
3
3
|
|
|
4
|
-
export declare const formatColumnDate: (fullColumns: any[], data: any, key?: string
|
|
4
|
+
export declare const formatColumnDate: (fullColumns: any[], data: any, key?: string, ignoreColumns?: boolean) => any;
|
|
5
5
|
export declare const commonCellRenderColumns: string[];
|
|
6
6
|
export declare const listColumnsFormatter: (params: ValueGetterParams, cellValue: any) => any;
|
|
7
7
|
export declare const timestampColumnFormatter: (params: ValueGetterParams | undefined, cellInstance: ControlRuntimeInstance<CONTROL_TYPE.TIMESTAMP_COLUMN>, value: any) => string | undefined;
|
|
@@ -2,7 +2,7 @@ declare const MAX_IMAGE_SIZE = 10485760;
|
|
|
2
2
|
declare const INITAL_IMAGE_TYPE: string[];
|
|
3
3
|
declare const IMAGE_ACCEPT_TYPE_ARR: string[];
|
|
4
4
|
declare const IMAGE_ACCEPT_TYPE: string;
|
|
5
|
-
declare const validImageType: (fileName: string, type?: string[]
|
|
5
|
+
declare const validImageType: (fileName: string, type?: string[]) => boolean;
|
|
6
6
|
declare const isImage: (suffix: string) => boolean;
|
|
7
7
|
export * from '../../constant/global';
|
|
8
8
|
export { MAX_IMAGE_SIZE, INITAL_IMAGE_TYPE, IMAGE_ACCEPT_TYPE_ARR, IMAGE_ACCEPT_TYPE, validImageType, isImage, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const scrollIntoDomView: (domAndClass: string | Element, params?: ScrollToOptions
|
|
1
|
+
export declare const scrollIntoDomView: (domAndClass: string | Element, params?: ScrollToOptions, rowIndex?: number) => Promise<void>;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ControlRuntimeInstance } from '@byteluck-fe/model-driven-core-all';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
import { Engine } from '@byteluck-fe/model-driven-engine';
|
|
4
|
+
import { ICellRendererParams } from '@ag-grid-community/core';
|
|
5
|
+
|
|
6
|
+
export declare function dealGridTableColumns(params: {
|
|
7
|
+
filterInstance?: ControlRuntimeInstance<'subtable-column'>;
|
|
8
|
+
meta: 'pc' | 'mobile';
|
|
9
|
+
isPinned?: boolean;
|
|
10
|
+
isPrintMode?: boolean;
|
|
11
|
+
}): {
|
|
12
|
+
width: number | undefined;
|
|
13
|
+
maxWidth: number | undefined;
|
|
14
|
+
minWidth: number | undefined;
|
|
15
|
+
flex: number | undefined;
|
|
16
|
+
pinned: string | boolean | undefined;
|
|
17
|
+
};
|
|
18
|
+
export declare const subTableCellRenderColumn: (subtableRow?: ControlRuntimeInstance<'subtable-column'>, isPinned?: boolean, isPrintMode?: boolean) => {
|
|
19
|
+
width: number | undefined;
|
|
20
|
+
maxWidth: number | undefined;
|
|
21
|
+
minWidth: number | undefined;
|
|
22
|
+
flex: number | undefined;
|
|
23
|
+
pinned: string | boolean | undefined;
|
|
24
|
+
cellEditor: DefineComponent<{
|
|
25
|
+
params: {
|
|
26
|
+
type: ObjectConstructor;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
}, any, {
|
|
30
|
+
engine: Engine;
|
|
31
|
+
}, {
|
|
32
|
+
comRowRecord(): {};
|
|
33
|
+
rowIndex(): any;
|
|
34
|
+
instance(): any;
|
|
35
|
+
}, {
|
|
36
|
+
getState(): any;
|
|
37
|
+
getValue(): any;
|
|
38
|
+
openVirtuallyModel(params: any): void;
|
|
39
|
+
getPopupContainer(): Element | undefined;
|
|
40
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, "openVirtuallyModel"[], "openVirtuallyModel", PublicProps, Readonly< ExtractPropTypes<{
|
|
41
|
+
params: {
|
|
42
|
+
type: ObjectConstructor;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
}>> & {
|
|
46
|
+
onOpenVirtuallyModel?: ((...args: any[]) => any) | undefined;
|
|
47
|
+
}, {}, {}>;
|
|
48
|
+
cellRenderer?: string | ((params: ICellRendererParams<any, any, any>) => HTMLSpanElement | undefined) | undefined;
|
|
49
|
+
};
|