@byteluck-fe/runtime-engine 7.0.0-beta.0 → 7.0.0-beta.10

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 (59) hide show
  1. package/dist/packages/runtime-engine/src/runtimeEngine.d.ts +5 -5
  2. package/dist/runtime-engine.js +68034 -15537
  3. package/dist/src/biz_logic/bizAction/buttonBizActionExecutor.d.ts +8 -0
  4. package/dist/src/constant/controls/simple-search.d.ts +1 -0
  5. package/dist/src/constant/page/address.d.ts +1 -1
  6. package/dist/src/entry_desktop/components/EllipsisTooltip/EllipsisTooltip.d.ts +3 -3
  7. package/dist/src/entry_desktop/controls/rok-bar-chart/index.d.ts +3 -0
  8. package/dist/src/entry_desktop/controls/rok-barcode/index.d.ts +3 -0
  9. package/dist/src/entry_desktop/controls/rok-blank-container/index.d.ts +3 -0
  10. package/dist/src/entry_desktop/controls/rok-cascader/index.d.ts +3 -0
  11. package/dist/src/entry_desktop/controls/rok-collapse/index.d.ts +3 -0
  12. package/dist/src/entry_desktop/controls/rok-counter/index.d.ts +3 -0
  13. package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useColumns.d.ts +8 -1
  14. package/dist/src/entry_desktop/controls/rok-iframe/index.d.ts +3 -0
  15. package/dist/src/entry_desktop/controls/rok-line-chart/index.d.ts +3 -0
  16. package/dist/src/entry_desktop/controls/rok-pie-chart/index.d.ts +3 -0
  17. package/dist/src/entry_desktop/controls/rok-qr-code/index.d.ts +3 -0
  18. package/dist/src/entry_desktop/controls/rok-slider/index.d.ts +3 -0
  19. package/dist/src/entry_desktop/controls/rok-switch/index.d.ts +3 -0
  20. package/dist/src/entry_desktop/controls/rok-tag/index.d.ts +3 -0
  21. package/dist/src/entry_mobile/controls/rok-bar-chart/index.d.ts +3 -0
  22. package/dist/src/entry_mobile/controls/rok-barcode/index.d.ts +3 -0
  23. package/dist/src/entry_mobile/controls/rok-blank-container/index.d.ts +3 -0
  24. package/dist/src/entry_mobile/controls/rok-cascader/index.d.ts +3 -0
  25. package/dist/src/entry_mobile/controls/rok-collapse/index.d.ts +3 -0
  26. package/dist/src/entry_mobile/controls/rok-counter/index.d.ts +3 -0
  27. package/dist/src/entry_mobile/controls/rok-iframe/index.d.ts +3 -0
  28. package/dist/src/entry_mobile/controls/rok-line-chart/index.d.ts +3 -0
  29. package/dist/src/entry_mobile/controls/rok-pie-chart/index.d.ts +3 -0
  30. package/dist/src/entry_mobile/controls/rok-qr-code/index.d.ts +3 -0
  31. package/dist/src/entry_mobile/controls/rok-slider/index.d.ts +3 -0
  32. package/dist/src/entry_mobile/controls/rok-switch/index.d.ts +3 -0
  33. package/dist/src/entry_mobile/controls/rok-tag/index.d.ts +3 -0
  34. package/dist/src/hooks/components/useApprovelAi.d.ts +6 -0
  35. package/dist/src/hooks/controls/address/useAddress.d.ts +2 -2
  36. package/dist/src/hooks/controls/barcode/index.d.ts +1 -0
  37. package/dist/src/hooks/controls/barcode/useBarcode.d.ts +25 -0
  38. package/dist/src/hooks/controls/button/useButton.d.ts +33 -0
  39. package/dist/src/hooks/controls/chart/chart-transform.d.ts +19 -0
  40. package/dist/src/hooks/controls/chart/index.d.ts +1 -0
  41. package/dist/src/hooks/controls/chart/useChart.d.ts +13 -0
  42. package/dist/src/hooks/controls/counter/index.d.ts +1 -0
  43. package/dist/src/hooks/controls/iframe/index.d.ts +1 -0
  44. package/dist/src/hooks/controls/iframe/useIframe.d.ts +15 -0
  45. package/dist/src/hooks/controls/index.d.ts +7 -0
  46. package/dist/src/hooks/controls/qrCode/index.d.ts +1 -0
  47. package/dist/src/hooks/controls/qrCode/useQrCode.d.ts +26 -0
  48. package/dist/src/hooks/controls/slider/index.d.ts +1 -0
  49. package/dist/src/hooks/controls/switch/index.d.ts +1 -0
  50. package/dist/src/hooks/form/useDisplay.d.ts +1 -1
  51. package/dist/src/plugins/engine/AiConversationModalPlugin.d.ts +1 -0
  52. package/dist/src/plugins/engine/DataViewPlugin.d.ts +2 -2
  53. package/dist/src/plugins/engine/EventListenerPlugin/CallActionHandler.d.ts +27 -0
  54. package/dist/src/plugins/engine/EventListenerPlugin/type.d.ts +2 -0
  55. package/dist/src/plugins/engine/MultistageFillingPlugin.d.ts +1 -0
  56. package/dist/src/utils/core/crossMessageProcessor.d.ts +5 -0
  57. package/dist/src/utils/model/operateCache.d.ts +1 -1
  58. package/dist/src/utils/tools/beforeCreateInstance.d.ts +1 -0
  59. package/package.json +1 -1
@@ -0,0 +1,8 @@
1
+ import { Engine } from '@byteluck-fe/model-driven-engine';
2
+
3
+ export declare function executeButtonBizAction(params: {
4
+ engine?: Engine;
5
+ instance: any;
6
+ rowIndex?: number;
7
+ store?: any;
8
+ }): Promise<boolean>;
@@ -3,6 +3,7 @@ export declare const TYPE: {
3
3
  select: string;
4
4
  checkbox: string;
5
5
  "select-multiple": string;
6
+ tag: string;
6
7
  department: string;
7
8
  department2: string;
8
9
  employee: string;
@@ -18,7 +18,7 @@ export declare const AdressLevel: Readonly<{
18
18
  fourth: "district";
19
19
  }>;
20
20
  export declare const AdressCodes: Readonly<{
21
- China: "MDCT00000040";
21
+ China: "100000";
22
22
  HongKong: "MDCT00000079";
23
23
  Taiwan: "MDCT00000193";
24
24
  Macao: "MDCT00000125";
@@ -4,7 +4,7 @@ import { ControlRuntimeInstance } from '@byteluck-fe/model-driven-core-all';
4
4
 
5
5
  declare const EllipsisTooltip: DefineComponent<{
6
6
  instance: {
7
- type: PropType<ControlRuntimeInstance<"select" | "select-multiple">>;
7
+ type: PropType<ControlRuntimeInstance<"select" | "select-multiple" | "tag">>;
8
8
  default: () => void;
9
9
  };
10
10
  value: {
@@ -44,7 +44,7 @@ declare const EllipsisTooltip: DefineComponent<{
44
44
  handleShowDetail: () => void;
45
45
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
46
46
  instance: {
47
- type: PropType<ControlRuntimeInstance<"select" | "select-multiple">>;
47
+ type: PropType<ControlRuntimeInstance<"select" | "select-multiple" | "tag">>;
48
48
  default: () => void;
49
49
  };
50
50
  value: {
@@ -78,7 +78,7 @@ declare const EllipsisTooltip: DefineComponent<{
78
78
  }>>, {
79
79
  title: VueNode;
80
80
  color: string;
81
- instance: ControlRuntimeInstance<"select" | "select-multiple">;
81
+ instance: ControlRuntimeInstance<"select" | "select-multiple" | "tag">;
82
82
  overlayClassName: string;
83
83
  formVisible: boolean;
84
84
  isShowDetail: boolean;
@@ -0,0 +1,3 @@
1
+ import { default as RokBarChart } from './rok-bar-chart';
2
+
3
+ export { RokBarChart };
@@ -0,0 +1,3 @@
1
+ import { default as RokBarcode } from './rok-barcode';
2
+
3
+ export { RokBarcode };
@@ -0,0 +1,3 @@
1
+ import { default as RokBlankContainer } from './rok-blank-container';
2
+
3
+ export { RokBlankContainer };
@@ -0,0 +1,3 @@
1
+ import { default as RokCascader } from './rok-cascader';
2
+
3
+ export { RokCascader };
@@ -0,0 +1,3 @@
1
+ import { default as RokCollapse } from './rok-collapse';
2
+
3
+ export { RokCollapse };
@@ -0,0 +1,3 @@
1
+ import { default as RokCounter } from './rok-counter';
2
+
3
+ export { RokCounter };
@@ -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 {};
@@ -0,0 +1,3 @@
1
+ import { default as RokIframe } from './rok-iframe';
2
+
3
+ export { RokIframe };
@@ -0,0 +1,3 @@
1
+ import { default as RokLineChart } from './rok-line-chart';
2
+
3
+ export { RokLineChart };
@@ -0,0 +1,3 @@
1
+ import { default as RokPieChart } from './rok-pie-chart';
2
+
3
+ export { RokPieChart };
@@ -0,0 +1,3 @@
1
+ import { default as RokQrCode } from './rok-qr-code';
2
+
3
+ export { RokQrCode };
@@ -0,0 +1,3 @@
1
+ import { default as RokSlider } from './rok-slider';
2
+
3
+ export { RokSlider };
@@ -0,0 +1,3 @@
1
+ import { default as RokSwitch } from './rok-switch';
2
+
3
+ export { RokSwitch };
@@ -0,0 +1,3 @@
1
+ import { default as RokTag } from './rok-tag';
2
+
3
+ export { RokTag };
@@ -0,0 +1,3 @@
1
+ import { default as RokBarChart } from './rok-bar-chart';
2
+
3
+ export { RokBarChart };
@@ -0,0 +1,3 @@
1
+ import { default as RokBarcode } from './rok-barcode';
2
+
3
+ export { RokBarcode };
@@ -0,0 +1,3 @@
1
+ import { default as RokBlankContainer } from './rok-blank-container';
2
+
3
+ export { RokBlankContainer };
@@ -0,0 +1,3 @@
1
+ import { default as RokCascader } from './rok-cascader';
2
+
3
+ export { RokCascader };
@@ -0,0 +1,3 @@
1
+ import { default as RokCollapse } from './rok-collapse';
2
+
3
+ export { RokCollapse };
@@ -0,0 +1,3 @@
1
+ import { default as RokCounter } from './rok-counter';
2
+
3
+ export { RokCounter };
@@ -0,0 +1,3 @@
1
+ import { default as RokIframe } from './rok-iframe';
2
+
3
+ export { RokIframe };
@@ -0,0 +1,3 @@
1
+ import { default as RokLineChart } from './rok-line-chart';
2
+
3
+ export { RokLineChart };
@@ -0,0 +1,3 @@
1
+ import { default as RokPieChart } from './rok-pie-chart';
2
+
3
+ export { RokPieChart };
@@ -0,0 +1,3 @@
1
+ import { default as RokQrCode } from './rok-qr-code';
2
+
3
+ export { RokQrCode };
@@ -0,0 +1,3 @@
1
+ import { default as RokSlider } from './rok-slider';
2
+
3
+ export { RokSlider };
@@ -0,0 +1,3 @@
1
+ import { default as RokSwitch } from './rok-switch';
2
+
3
+ export { RokSwitch };
@@ -0,0 +1,3 @@
1
+ import { default as RokTag } from './rok-tag';
2
+
3
+ export { RokTag };
@@ -27,6 +27,12 @@ export declare function useApprovelAi(props: any, decisionBtns: any, customId: a
27
27
  };
28
28
  platformInfo: {
29
29
  app_type: string;
30
+ app_id: any;
31
+ form_key: any;
32
+ process_instance_id: any;
33
+ process_key: any;
34
+ process_definition_key: any;
35
+ node_id: any;
30
36
  };
31
37
  }>;
32
38
  onSideAiMessage: (e: any) => void;
@@ -1,3 +1,3 @@
1
- export default function useAddress(): {
2
- handleDealData: (value?: any) => string;
1
+ export default function useAddress(addressType?: any): {
2
+ handleDealData: (value?: any, currentAddressType?: any) => string;
3
3
  };
@@ -0,0 +1 @@
1
+ export { useBarcode } from './useBarcode';
@@ -0,0 +1,25 @@
1
+ import { PropsInstanceType } from '../../../constant';
2
+ import { ShallowRef, Ref, ComputedRef } from 'vue';
3
+
4
+ export declare function useBarcode(props: PropsInstanceType<'barcode'>): {
5
+ formItemRef: ShallowRef<null>;
6
+ renderError: Ref<string>;
7
+ barcodeDataUrl: Ref<string>;
8
+ formItemInstanceProps: ComputedRef<{
9
+ caption: any;
10
+ }>;
11
+ resolved: ComputedRef<{
12
+ caption: any;
13
+ defaultValue: any;
14
+ align: any;
15
+ format: string;
16
+ width: any;
17
+ height: any;
18
+ lineColor: any;
19
+ margin: any;
20
+ displayValue: any;
21
+ }>;
22
+ contentValue: ComputedRef<string>;
23
+ alignClass: ComputedRef<string>;
24
+ showPlaceholder: ComputedRef<boolean>;
25
+ };
@@ -0,0 +1,33 @@
1
+ import { Ref, ComputedRef } from 'vue';
2
+ import { CONTROL_TYPE, OptObject, ActionObject, BaseStyle } from '@byteluck-fe/model-driven-core-all';
3
+ import { PropsInstanceType } from '../../../constant';
4
+
5
+ export declare function useButton(props: PropsInstanceType<CONTROL_TYPE.BUTTON>, emit?: Function): {
6
+ isPlain: ComputedRef<boolean>;
7
+ isDisabled: ComputedRef<boolean>;
8
+ buttonData: ComputedRef<{
9
+ content: string;
10
+ buttonType: "text" | "primary" | "secondary";
11
+ showType: "text" | "icon" | "iconText";
12
+ color: "success" | "info" | "warning" | "primary" | "danger" | "blue";
13
+ icon: string;
14
+ defaultState: "default" | "readonly";
15
+ command: string;
16
+ isLoading: boolean;
17
+ optObj?: OptObject | undefined;
18
+ actionObj: ActionObject;
19
+ optButtonType: "button" | "businessAction";
20
+ isHide: boolean;
21
+ className?: string[] | undefined;
22
+ style: BaseStyle;
23
+ caption: string;
24
+ }>;
25
+ buttonType: ComputedRef<"success" | "info" | "warning" | "primary" | "danger" | "blue">;
26
+ showIcon: ComputedRef<boolean>;
27
+ showText: ComputedRef<boolean>;
28
+ isShowPopover: Ref<boolean>;
29
+ showContent: ComputedRef<string>;
30
+ buttonContent: ComputedRef<string>;
31
+ clickHandle: (event: Event) => void;
32
+ isLoading: Ref<boolean>;
33
+ };
@@ -0,0 +1,19 @@
1
+ interface ChartSeriesConfigItem {
2
+ nameField?: string;
3
+ valueField?: string;
4
+ name?: string;
5
+ }
6
+ export interface ChartTransformFields {
7
+ xField?: string;
8
+ yField?: string;
9
+ seriesConfig?: ChartSeriesConfigItem[];
10
+ }
11
+ type ChartKind = 'bar' | 'line' | 'pie';
12
+ export declare function transformDataToChartOption(params: {
13
+ optionJson: string;
14
+ template: string;
15
+ chartKind: ChartKind;
16
+ data: Array<Record<string, any>>;
17
+ fields: ChartTransformFields;
18
+ }): Record<string, any>;
19
+ export {};
@@ -0,0 +1 @@
1
+ export { useChart } from './useChart';
@@ -0,0 +1,13 @@
1
+ import { Ref, ShallowRef, ComputedRef } from 'vue';
2
+ import { PropsInstanceType } from '../../../constant';
3
+
4
+ type ChartProps = PropsInstanceType<'bar-chart'> | PropsInstanceType<'line-chart'> | PropsInstanceType<'pie-chart'>;
5
+ export declare function useChart(props: ChartProps, defaultTemplate: string): {
6
+ formItemRef: ShallowRef<null>;
7
+ chartRef: Ref<HTMLDivElement | null>;
8
+ renderError: Ref<string>;
9
+ formItemInstanceProps: ComputedRef<{
10
+ caption: any;
11
+ }>;
12
+ };
13
+ export {};
@@ -0,0 +1 @@
1
+ export * from './useCounter';
@@ -0,0 +1 @@
1
+ export { useIframe } from './useIframe';
@@ -0,0 +1,15 @@
1
+ import { PropsInstanceType } from '../../../constant';
2
+ import { ComputedRef, ShallowRef } from 'vue';
3
+
4
+ export declare function useIframe(props: PropsInstanceType<'iframe'>): {
5
+ iframeProps: ComputedRef<{
6
+ content: string;
7
+ width: string;
8
+ height: string;
9
+ }>;
10
+ instanceProps: ShallowRef<any>;
11
+ customStyle: ComputedRef<{
12
+ width: string;
13
+ height: string;
14
+ }>;
15
+ };
@@ -24,3 +24,10 @@ export * from './useAttachmentPreview';
24
24
  export * from './useForceUpdate';
25
25
  export * from './useAttachmentPreview';
26
26
  export * from './actionBar';
27
+ export * from './counter';
28
+ export * from './slider';
29
+ export * from './switch';
30
+ export * from './qrCode';
31
+ export * from './barcode';
32
+ export * from './iframe';
33
+ export * from './chart';
@@ -0,0 +1 @@
1
+ export { useQrCode } from './useQrCode';
@@ -0,0 +1,26 @@
1
+ import { PropsInstanceType } from '../../../constant';
2
+ import { ShallowRef, Ref, ComputedRef } from 'vue';
3
+
4
+ export declare function useQrCode(props: PropsInstanceType<'qr-code'>): {
5
+ formItemRef: ShallowRef<null>;
6
+ canvasRef: Ref<HTMLCanvasElement | null>;
7
+ renderError: Ref<string>;
8
+ qrDataUrl: Ref<string>;
9
+ formItemInstanceProps: ComputedRef<{
10
+ caption: any;
11
+ }>;
12
+ resolved: ComputedRef<{
13
+ caption: any;
14
+ defaultValue: any;
15
+ qrVersion: any;
16
+ errorCorrectionLevel: any;
17
+ codeMode: any;
18
+ size: any;
19
+ codeMargin: any;
20
+ qrColor: any;
21
+ align: any;
22
+ }>;
23
+ contentValue: ComputedRef<string>;
24
+ alignClass: ComputedRef<string>;
25
+ renderCode: () => Promise<void>;
26
+ };
@@ -0,0 +1 @@
1
+ export * from './useSlider';
@@ -0,0 +1 @@
1
+ export * from './useSwitch';
@@ -3,7 +3,7 @@ import { ControlRuntimeInstance } from '@byteluck-fe/model-driven-core-all';
3
3
  import { Engine } from '@byteluck-fe/model-driven-engine';
4
4
 
5
5
  export declare function useDisplay(params: {
6
- instance: ControlRuntimeInstance<'select' | 'radio' | 'select-multiple' | 'checkbox' | 'amount' | 'varchar-column'>;
6
+ instance: ControlRuntimeInstance<'select' | 'radio' | 'select-multiple' | 'checkbox' | 'amount' | 'tag' | 'varchar-column'>;
7
7
  rowIndex: number | undefined;
8
8
  value?: string | string[];
9
9
  display?: string | string[];
@@ -68,6 +68,7 @@ export declare class AiConversationModalPlugin implements Plugin {
68
68
  apply(engine: Engine): void;
69
69
  init(): void;
70
70
  show(payload: Payload): void;
71
+ setAiConversationInfo(aiNode: VNode, aiSetting: Record<string, any>): void;
71
72
  receiveAiMessage(e: any, payload: Payload, vnode: VNode): void;
72
73
  checkToFill(payload: Payload, data: any): void;
73
74
  getPrompt(payload: Payload): string;
@@ -35,13 +35,13 @@ export declare class DataViewPlugin implements Plugin {
35
35
  handlerFormSubmit(payload: EventPayload & {
36
36
  instance: ControlRuntimeInstance<'data-view'>;
37
37
  isSubmit?: any;
38
- }): Promise<typing.PlainResult$OptResDto$ | undefined>;
38
+ }): Promise<false | typing.PlainResult$OptResDto$ | undefined>;
39
39
  private onBeforeSubmit;
40
40
  private onBeforeSubmitFormatParams;
41
41
  private onAfterSubmit;
42
42
  resetIsShow(): void;
43
43
  onClickHandle(payload: Required<EventPayload> & {
44
44
  instance: ControlRuntimeInstance<'data-view'>;
45
- }): Promise<typing.PlainResult$OptResDto$ | undefined>;
45
+ }): Promise<false | typing.PlainResult$OptResDto$ | undefined>;
46
46
  }
47
47
  export {};
@@ -0,0 +1,27 @@
1
+ import { EventCaseHandlerPayload } from './type';
2
+
3
+ export default function CallActionHandler(eventPayload: EventCaseHandlerPayload): Promise<{
4
+ input: Record<string, any>;
5
+ output: {};
6
+ error: {
7
+ state: string;
8
+ message: string;
9
+ data?: undefined;
10
+ };
11
+ } | {
12
+ input: Record<string, unknown>;
13
+ output: boolean;
14
+ error?: undefined;
15
+ } | {
16
+ input: Record<string, unknown>;
17
+ output: any;
18
+ error: any;
19
+ } | {
20
+ input: EventCaseHandlerPayload;
21
+ output: {};
22
+ error: {
23
+ data: unknown;
24
+ state: string;
25
+ message?: undefined;
26
+ };
27
+ }>;
@@ -43,6 +43,8 @@ export declare enum EventHandlerMethod {
43
43
  batchSetControlProps = "batchSetControlPropsHandler",
44
44
  setState = "setState",
45
45
  querySvc = "querySvc",
46
+ /** 调用业务行动(dataAction),与 querySvc 同属事件动作链 */
47
+ callAction = "callAction",
46
48
  unknown = "unknown",
47
49
  jsMethod = "jsMethod",
48
50
  optPage = "optPage",
@@ -17,6 +17,7 @@ export declare class MultistageFillingPlugin implements Plugin {
17
17
  private formatFieldsValue;
18
18
  private updateStore;
19
19
  private convertValueBeforeUpdate;
20
+ private normalizeArrayControlFieldValue;
20
21
  private checkFill;
21
22
  }
22
23
  export {};
@@ -5,6 +5,11 @@ type CrossDomainMessageType = {
5
5
  options: any;
6
6
  };
7
7
  export declare function tryRefreshOpener(message: CrossDomainMessageType): void;
8
+ export declare function refreshListByPath(listPath: string | undefined, options?: {
9
+ clearSelectedRows?: boolean;
10
+ source?: string;
11
+ refreshTree?: boolean;
12
+ }): boolean;
8
13
  export declare function corssDomainMessageProcessor(route: any, store: any): void;
9
14
  export declare function removeAppLauncherTab(message: any): void;
10
15
  export {};
@@ -1,6 +1,6 @@
1
1
  import { ControlRuntimeInstance, CONTROL_TYPE } from '@byteluck-fe/model-driven-core-all';
2
2
 
3
- export declare const useOperateCache: (instance: ControlRuntimeInstance<CONTROL_TYPE.DEPARTMENT> | ControlRuntimeInstance<CONTROL_TYPE.DEPARTMENT2> | ControlRuntimeInstance<CONTROL_TYPE.EMPLOYEE> | ControlRuntimeInstance<CONTROL_TYPE.EMPLOYEE2> | ControlRuntimeInstance<CONTROL_TYPE.SELECT> | ControlRuntimeInstance<CONTROL_TYPE.SELECT_MULTIPLE> | ControlRuntimeInstance<CONTROL_TYPE.SELECT_RELATION> | ControlRuntimeInstance<CONTROL_TYPE.RADIO> | ControlRuntimeInstance<CONTROL_TYPE.AMOUNT> | ControlRuntimeInstance<CONTROL_TYPE.TREE> | ControlRuntimeInstance<CONTROL_TYPE.CHECKBOX> | ControlRuntimeInstance<CONTROL_TYPE.IMAGE> | ControlRuntimeInstance<CONTROL_TYPE.ATTACHMENT>) => {
3
+ export declare const useOperateCache: (instance: ControlRuntimeInstance<CONTROL_TYPE.DEPARTMENT> | ControlRuntimeInstance<CONTROL_TYPE.DEPARTMENT2> | ControlRuntimeInstance<CONTROL_TYPE.EMPLOYEE> | ControlRuntimeInstance<CONTROL_TYPE.EMPLOYEE2> | ControlRuntimeInstance<CONTROL_TYPE.SELECT> | ControlRuntimeInstance<CONTROL_TYPE.SELECT_MULTIPLE> | ControlRuntimeInstance<CONTROL_TYPE.TAG> | ControlRuntimeInstance<CONTROL_TYPE.SELECT_RELATION> | ControlRuntimeInstance<CONTROL_TYPE.RADIO> | ControlRuntimeInstance<CONTROL_TYPE.AMOUNT> | ControlRuntimeInstance<CONTROL_TYPE.TREE> | ControlRuntimeInstance<CONTROL_TYPE.CHECKBOX> | ControlRuntimeInstance<CONTROL_TYPE.IMAGE> | ControlRuntimeInstance<CONTROL_TYPE.ATTACHMENT>) => {
4
4
  updateStorageCache: (value: string[], data: any[] | unknown) => void;
5
5
  getCacheDisplayValue: (value?: unknown[] | string[] | string) => any[];
6
6
  updateCacheDisplay: (data: any, valueCode?: string, displayCode?: string) => void;
@@ -1,5 +1,6 @@
1
1
  import { ColumnControlsKeys, ControlsKeys, DataBindModelType, Schema } from '@byteluck-fe/model-driven-core-all';
2
2
 
3
+ export declare function normalizeRegularRules(schema: any): void;
3
4
  export declare function findBindInfoInList(schema: any, modelBindInfoList?: DataBindModelType[]): DataBindModelType | undefined;
4
5
  export declare function columnSchemaFillFieldCode(schema: Schema<ColumnControlsKeys>, dataBindModel: DataBindModelType): void;
5
6
  export declare function schemaFillDataBindModel(schema: Schema<ControlsKeys>, dataBindModel: DataBindModelType): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/runtime-engine",
3
- "version": "7.0.0-beta.0",
3
+ "version": "7.0.0-beta.10",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/runtime-engine.js",