@byteluck-fe/runtime-engine 7.0.0-beta.20 → 7.0.0-beta.22

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 (143) hide show
  1. package/dist/packages/runtime-engine/src/runtimeEngine.d.ts +2 -2
  2. package/dist/runtime-engine.js +6968 -7194
  3. package/dist/src/entry_desktop/components/EllipsisTooltip/EllipsisTooltip.d.ts +10 -10
  4. package/dist/src/entry_desktop/components/configProviderMerged.d.ts +5 -5
  5. package/dist/src/entry_desktop/controls/components/base-table/hooks/useDataSource.d.ts +1 -1
  6. package/dist/src/entry_desktop/controls/components/input-number/hook.d.ts +2 -2
  7. package/dist/src/entry_desktop/controls/components/subtable-ag-grid/EmployeeDepartmentModalInitLogic.d.ts +4 -4
  8. package/dist/src/entry_desktop/controls/components/subtable-ag-grid/hooks/use-sort-hooks.d.ts +2 -2
  9. package/dist/src/entry_desktop/controls/components/subtable-ag-grid/hooks/useAgGrid.d.ts +12 -12
  10. package/dist/src/entry_desktop/controls/components/subtable-ag-grid/hooks/useWCModalComponentChangeValue.d.ts +2 -2
  11. package/dist/src/entry_desktop/controls/components/subtable-ag-grid/keyDownEvent.d.ts +1 -1
  12. package/dist/src/entry_desktop/controls/rok-department/hook.d.ts +1 -1
  13. package/dist/src/entry_desktop/controls/rok-department2/hook.d.ts +1 -1
  14. package/dist/src/entry_desktop/controls/rok-grid-table/components/models/export.d.ts +7 -7
  15. package/dist/src/entry_desktop/controls/rok-grid-table/components/models/import.d.ts +7 -7
  16. package/dist/src/entry_desktop/controls/rok-grid-table/detailGridPaginationMount.d.ts +5 -0
  17. package/dist/src/entry_desktop/controls/rok-grid-table/detailPaginationSyncBus.d.ts +13 -0
  18. package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useAgGrid.d.ts +4 -4
  19. package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useColumns.d.ts +18 -9
  20. package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useMouseEvent.d.ts +1 -1
  21. package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useNonePage.d.ts +1 -1
  22. package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useOperate.d.ts +1 -1
  23. package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useOrganization.d.ts +2 -2
  24. package/dist/src/entry_desktop/controls/rok-grid-table/hooks/useViewStyle.d.ts +1 -1
  25. package/dist/src/entry_desktop/controls/rok-list-view/hooks/useListTree.d.ts +5 -5
  26. package/dist/src/entry_desktop/controls/rok-list-view/hooks/useOperate.d.ts +1 -1
  27. package/dist/src/entry_desktop/controls/rok-list-view/hooks/useTreeHeight.d.ts +1 -1
  28. package/dist/src/entry_desktop/controls/rok-list-view-title/rule-filter/rule-tree/hook.d.ts +1 -1
  29. package/dist/src/entry_desktop/controls/rok-list-view-title/rule-filter/sok-advanced-filter/utils/date-picker.d.ts +1 -1
  30. package/dist/src/entry_desktop/controls/rok-list-view-title/rule-filter/sok-advanced-filter/utils/date-range.d.ts +3 -3
  31. package/dist/src/entry_desktop/controls/rok-operation-column/hooks/useOperate.d.ts +1 -1
  32. package/dist/src/entry_desktop/controls/rok-simple-search/hooks.d.ts +1 -1
  33. package/dist/src/entry_desktop/controls/rok-sublist/hooks/useModel.d.ts +1 -1
  34. package/dist/src/entry_desktop/controls/rok-subtable/hooks/useGetTemplateList.d.ts +1 -1
  35. package/dist/src/entry_desktop/controls/rok-subtable/hooks/useImport.d.ts +8 -5
  36. package/dist/src/entry_desktop/controls/rok-subtable/hooks/usePasteCellValue.d.ts +1 -1
  37. package/dist/src/entry_desktop/controls/rok-subtable/utils/subtableOperation.d.ts +1 -1
  38. package/dist/src/entry_desktop/hooks/useMaxTagCount.d.ts +1 -1
  39. package/dist/src/entry_desktop/views/list-application/hooks/useInnerTabs.d.ts +6 -0
  40. package/dist/src/entry_desktop/views/list-application/hooks/useListApplication.d.ts +7 -7
  41. package/dist/src/entry_mobile/components/VanSuperForm/VanFormItem.d.ts +5 -5
  42. package/dist/src/entry_mobile/components/VanSuperForm/VanSuperForm.d.ts +5 -5
  43. package/dist/src/entry_mobile/components/VanSuperForm/index.d.ts +9 -9
  44. package/dist/src/entry_mobile/controls/components/table/hooks/hook.d.ts +2 -2
  45. package/dist/src/entry_mobile/controls/rok-attachment/hook-file-base.d.ts +4 -2
  46. package/dist/src/entry_mobile/controls/rok-date-picker/hook.d.ts +3 -127
  47. package/dist/src/entry_mobile/controls/rok-date-range/hook.d.ts +3 -127
  48. package/dist/src/entry_mobile/controls/rok-department/dep-hook.d.ts +1 -1
  49. package/dist/src/entry_mobile/controls/rok-department/hook.d.ts +2 -2
  50. package/dist/src/entry_mobile/controls/rok-department2/dep-hook.d.ts +1 -1
  51. package/dist/src/entry_mobile/controls/rok-department2/hook.d.ts +3 -3
  52. package/dist/src/entry_mobile/controls/rok-grid-table/hooks/useModel.d.ts +1 -1
  53. package/dist/src/entry_mobile/controls/rok-list-view/hook.d.ts +4 -4
  54. package/dist/src/entry_mobile/controls/rok-organization-selection/dep-hook.d.ts +1 -1
  55. package/dist/src/entry_mobile/controls/rok-organization-selection/hook.d.ts +2 -2
  56. package/dist/src/entry_mobile/controls/rok-search-date-range/hook.d.ts +2 -126
  57. package/dist/src/entry_mobile/controls/rok-subtable/components/AgGrid/hooks/useAgGrid.d.ts +5 -5
  58. package/dist/src/entry_mobile/controls/rok-subtable/components/AgGrid/props.d.ts +1 -1
  59. package/dist/src/entry_mobile/controls/rok-subtable/hooks/useFull.d.ts +3 -3
  60. package/dist/src/entry_mobile/controls/rok-subtable-column/useMobileSubtableColumnCaption.d.ts +1 -1
  61. package/dist/src/entry_mobile/views/page-render/process-form/hooks.d.ts +6 -6
  62. package/dist/src/hooks/ag-grid-modules.d.ts +1 -0
  63. package/dist/src/hooks/atomic/useDataPagination.d.ts +1 -1
  64. package/dist/src/hooks/atomic/useElementSize.d.ts +2 -2
  65. package/dist/src/hooks/atomic/useSetTitle.d.ts +1 -1
  66. package/dist/src/hooks/atomic/useTitle.d.ts +1 -1
  67. package/dist/src/hooks/components/formEngineModal/useFormEngine.d.ts +6 -6
  68. package/dist/src/hooks/components/formEngineModal/useFormEngineContext.d.ts +1 -1
  69. package/dist/src/hooks/components/formEngineModal/useFormEngineModal.d.ts +5 -5
  70. package/dist/src/hooks/components/formEngineModal/useFormState.d.ts +4 -4
  71. package/dist/src/hooks/components/listEngineModal/useFullScreen.d.ts +1 -1
  72. package/dist/src/hooks/components/listEngineModal/useListEngineContext.d.ts +1 -1
  73. package/dist/src/hooks/components/listEngineModal/useListEngineModal.d.ts +6 -6
  74. package/dist/src/hooks/components/listEngineModal/useListState.d.ts +4 -4
  75. package/dist/src/hooks/components/useApprovelAi.d.ts +7 -1
  76. package/dist/src/hooks/components/useLayoutChildren.d.ts +2 -2
  77. package/dist/src/hooks/components/useList.d.ts +2 -2
  78. package/dist/src/hooks/components/useMenu.d.ts +5 -5
  79. package/dist/src/hooks/components/useOcr.d.ts +2 -2
  80. package/dist/src/hooks/components/usePageStatus.d.ts +2 -2
  81. package/dist/src/hooks/components/usePreviewMode.d.ts +2 -2
  82. package/dist/src/hooks/components/usePrint.d.ts +1 -1
  83. package/dist/src/hooks/components/useWidgets.d.ts +1 -1
  84. package/dist/src/hooks/context/useEngine.d.ts +1 -1
  85. package/dist/src/hooks/context/useEngineContext.d.ts +1 -1
  86. package/dist/src/hooks/controls/barcode/useBarcode.d.ts +3 -3
  87. package/dist/src/hooks/controls/button/useButton.d.ts +3 -3
  88. package/dist/src/hooks/controls/chart/useChart.d.ts +6 -4
  89. package/dist/src/hooks/controls/listMaster/useListMaster.d.ts +1 -1
  90. package/dist/src/hooks/controls/listSelectButton/useListSelectButton.d.ts +2 -2
  91. package/dist/src/hooks/controls/listView/useListRows.d.ts +6 -1
  92. package/dist/src/hooks/controls/listView/useModel.d.ts +10 -6
  93. package/dist/src/hooks/controls/listView/useOperate.d.ts +1 -1
  94. package/dist/src/hooks/controls/listView/useQuerySelectedRows.d.ts +1 -1
  95. package/dist/src/hooks/controls/qrCode/useQrCode.d.ts +4 -4
  96. package/dist/src/hooks/controls/selecRelation/useSelectRelationEngineInit.d.ts +1 -1
  97. package/dist/src/hooks/controls/selecRelation/useViewLink.d.ts +11 -3
  98. package/dist/src/hooks/controls/simpleSearch/useSimpleSearch.d.ts +3 -3
  99. package/dist/src/hooks/controls/subtable/useSubtableFormEngineModal.d.ts +2 -2
  100. package/dist/src/hooks/controls/tab/useTab.d.ts +2 -2
  101. package/dist/src/hooks/controls/textReaderOnly/useDetailedList.d.ts +1 -1
  102. package/dist/src/hooks/controls/title/useTitleStar.d.ts +9 -3
  103. package/dist/src/hooks/controls/useAttachmentPreview.d.ts +2 -2
  104. package/dist/src/hooks/controls/useDateRange.d.ts +2 -126
  105. package/dist/src/hooks/controls/useRokFormEngineModal.d.ts +2 -2
  106. package/dist/src/hooks/controls/useRokListEngineModal.d.ts +6 -6
  107. package/dist/src/hooks/form/useBaseForm.d.ts +3 -3
  108. package/dist/src/hooks/form/useBatchPrint.d.ts +7 -1
  109. package/dist/src/hooks/form/useChangeLog.d.ts +78 -0
  110. package/dist/src/hooks/form/useDisplay.d.ts +1 -1
  111. package/dist/src/hooks/form/useFormEvents.d.ts +1 -1
  112. package/dist/src/hooks/form/useSubmitStatus.d.ts +3 -3
  113. package/dist/src/hooks/form/useUserValue.d.ts +1 -1
  114. package/dist/src/hooks/model/useDashboardState.d.ts +17 -2
  115. package/dist/src/hooks/table/useGridTableRowHeight.d.ts +2 -2
  116. package/dist/src/hooks/useAgreement.d.ts +4 -1
  117. package/dist/src/hooks/views/useApprovalForm.d.ts +1 -1
  118. package/dist/src/hooks/views/useExternalFormData.d.ts +1 -1
  119. package/dist/src/hooks/views/useFormRenderByApprovalProcess.d.ts +1 -1
  120. package/dist/src/hooks/views/useFormRenderByFormKeyAndUid.d.ts +3 -3
  121. package/dist/src/hooks/views/usePageForm.d.ts +2 -2
  122. package/dist/src/hooks/views/usePrintForm.d.ts +2 -2
  123. package/dist/src/hooks/views/useProcessForm.d.ts +1 -1
  124. package/dist/src/hooks/views/useProcessFormRenderByFormKeyAndUid.d.ts +1 -1
  125. package/dist/src/hooks/views/useRefreshWc.d.ts +1 -1
  126. package/dist/src/services/api.d.ts +2 -0
  127. package/dist/src/services/appsCustom.d.ts +0 -13
  128. package/dist/src/services/portalCustom.d.ts +22 -0
  129. package/dist/src/services/services.auto.d.ts +18 -0
  130. package/dist/src/utils/controls/formCopy.d.ts +2 -0
  131. package/dist/src/utils/controls/formatColumnData.d.ts +1 -1
  132. package/dist/src/utils/controls/gridColumnRuntimeControl.d.ts +13 -0
  133. package/dist/src/utils/controls/index.d.ts +1 -0
  134. package/dist/src/utils/controls/masterDetailHeaders.d.ts +15 -0
  135. package/dist/src/utils/controls/portalHome.d.ts +7 -0
  136. package/dist/src/utils/controls/richText.d.ts +3 -0
  137. package/dist/src/utils/controls/subtableDealTableColumn.d.ts +11 -6
  138. package/dist/src/utils/controls/subtableReadonlyCellRenders.d.ts +1 -1
  139. package/dist/src/utils/controls/treeGroupHeader.d.ts +6 -0
  140. package/dist/src/utils/tools/getCachedApplyRender.d.ts +2 -0
  141. package/package.json +5 -5
  142. package/dist/src/entry_mobile/controls/rok-subtable/hooks/useSubtableList.d.ts +0 -120
  143. package/dist/src/hooks/controls/subtable/useSubtableInstanceSchemaChange.d.ts +0 -66
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
2
  declare const useRefreshWc: () => {
3
- symbolKey: Ref<any>;
3
+ symbolKey: Ref<any, any>;
4
4
  };
5
5
  export { useRefreshWc };
@@ -5,6 +5,7 @@ import { default as infoAuto } from './infoAuto';
5
5
  import { default as Widgets } from './widgets';
6
6
  import { default as template } from './template';
7
7
  import { default as AppsCustom } from './appsCustom';
8
+ import { default as PortalCustom } from './portalCustom';
8
9
  import { FetchService } from '../utils';
9
10
 
10
11
  export declare class HttpServiceRunningInterceptor {
@@ -29,5 +30,6 @@ export declare function apiInit(): {
29
30
  widgetsAuto: Widgets;
30
31
  templateAuto: template;
31
32
  appsCustomAuto: AppsCustom;
33
+ portalCustomAuto: PortalCustom;
32
34
  httpClient: FetchService;
33
35
  };
@@ -11,17 +11,4 @@ export default class {
11
11
  getOperationV3EditOnlinePrivateV1POST(params: {
12
12
  payload?: typing.GetOperationUrlDto;
13
13
  }): Promise<typing.PlainResult$string$>;
14
- StarDemoPrivateV1POST(params: {
15
- payload?: {
16
- app_id?: string;
17
- form_key?: string;
18
- collection?: boolean;
19
- };
20
- }): Promise<typing.PlainResult>;
21
- StarQueryPrivateV1POST(params: {
22
- payload?: {
23
- app_id?: string;
24
- form_key?: string;
25
- };
26
- }): Promise<typing.PlainResult>;
27
14
  }
@@ -0,0 +1,22 @@
1
+ import { FetchService } from '../utils';
2
+
3
+ export default class {
4
+ http: FetchService;
5
+ constructor(http: FetchService);
6
+ SaveCollectUserPrivateV2POST(params: {
7
+ payload?: {
8
+ app_id?: string;
9
+ resource_id?: string;
10
+ resource_name?: string;
11
+ resource_type?: 'form' | 'list';
12
+ op_type?: '1' | '0';
13
+ icon?: string;
14
+ };
15
+ }): Promise<typing.portal.PlainResult>;
16
+ CollectResourceCollectedUserPrivateV2POST(params: {
17
+ payload?: {
18
+ app_id?: string;
19
+ resource_id?: string;
20
+ };
21
+ }): Promise<typing.portal.PlainResult>;
22
+ }
@@ -1736,6 +1736,24 @@ export default class {
1736
1736
  SimplifyListPagePrivateV1ApiAppsPOST(params: {
1737
1737
  payload?: typing.FormDataPageRequest$List$PageListDataQuery$$_2;
1738
1738
  }, options?: any): Promise<typing.PlainResult$SimplifyRowsResp$>;
1739
+ /**
1740
+ * 主子表展开:嵌套列表接口(子表数据)
1741
+ * @method
1742
+ * @name #NestSimplifyListPagePrivateV1ApiAppsPOST
1743
+ * @param payload app_id, data_uid, form_key, data_code, page
1744
+ */
1745
+ NestSimplifyListPagePrivateV1ApiAppsPOST(params: {
1746
+ payload?: {
1747
+ app_id?: string;
1748
+ data_uid?: string;
1749
+ form_key?: string;
1750
+ data_code?: string;
1751
+ page?: {
1752
+ page_index?: number;
1753
+ page_size?: number;
1754
+ };
1755
+ };
1756
+ }, options?: any): Promise<typing.PlainResult$SimplifyRowsResp$>;
1739
1757
  /**
1740
1758
  * 传入:查询条件(JSON格式)
1741
1759
  * @method
@@ -2,8 +2,10 @@ export declare const formCopy: {
2
2
  clearValueFieldCodeStates: {
3
3
  dataCode: string;
4
4
  fieldCode: string;
5
+ clearOnlyWhenEmpty?: boolean | undefined;
5
6
  }[];
6
7
  isCopy(type?: string): boolean;
8
+ isEmptyValue(value: unknown): boolean;
7
9
  setClearValueFieldCode(schema: any): void;
8
10
  resetDataSet(dataSet: any): void;
9
11
  };
@@ -1,5 +1,5 @@
1
1
  import { CONTROL_TYPE, ControlRuntimeInstance, RuntimeControl } from '@byteluck-fe/model-driven-core-all';
2
- import { ValueGetterParams } from '@ag-grid-community/core';
2
+ import { ValueGetterParams } from 'ag-grid-community';
3
3
 
4
4
  export declare const formatColumnDate: (fullColumns: any[], data: any, key?: string, ignoreColumns?: boolean) => any;
5
5
  export declare const commonCellRenderColumns: string[];
@@ -0,0 +1,13 @@
1
+ import { ColDef } from '@ag-grid-community/core';
2
+ import { ControlRuntimeInstance } from '@byteluck-fe/model-driven-core-all';
3
+
4
+ export declare function attachGridColumnControlInstance(colDef: ColDef, controlInstance: ControlRuntimeInstance<any> | undefined): ColDef;
5
+ export declare function getGridColumnControlInstance(colDef: ColDef | undefined): any;
6
+ export declare function resolveGridColumnControlInstance(params: {
7
+ colDef?: ColDef;
8
+ context?: Record<string, unknown> & {
9
+ engineId?: string;
10
+ };
11
+ } | undefined, engine?: {
12
+ getInstance?: (id: string) => ControlRuntimeInstance<any>;
13
+ }): ControlRuntimeInstance<any> | Record<string, unknown> | undefined;
@@ -14,3 +14,4 @@ export * from './subtable';
14
14
  export * from './formCopy';
15
15
  export * from './scrollIntoDomView';
16
16
  export * from './getListInstance';
17
+ export * from './masterDetailHeaders';
@@ -0,0 +1,15 @@
1
+ /**
2
+ * list-view 主子表:子表列定义在 props.master_detail.headers(或 header),
3
+ * 主表列在 grid-table 的 props.headers(个别文档写作 columns)。
4
+ * 与 applyRender schema 一致,同时兼容 snake_case / camelCase。
5
+ */
6
+ export declare function pickMasterDetailHeaderList(masterDetail: unknown): unknown[] | undefined;
7
+ /** 在列头树(含分组 children)中按控件 id 查找 */
8
+ export declare function findHeaderByControlIdInTree(headers: unknown[] | undefined, controlId: string | undefined): Record<string, unknown> | undefined;
9
+ /**
10
+ * 从 AG Grid context 解析 list-view 下 master_detail 中的列 schema。
11
+ * context.exposeParams.listViewInstanceProps | list_view_instance_props
12
+ */
13
+ export declare function findMasterDetailHeaderByContext(context: Record<string, unknown> | undefined, controlId: string | undefined): Record<string, unknown> | undefined;
14
+ /** 主表 grid-table:headers 或 columns */
15
+ export declare function findMainGridHeaderByControlId(gridTableProps: Record<string, unknown> | undefined, controlId: string | undefined): Record<string, unknown> | undefined;
@@ -0,0 +1,7 @@
1
+ type TenantDetailLike = {
2
+ tenant_custom_config_map?: {
3
+ portal_home_switch_mode?: unknown;
4
+ };
5
+ } | null | undefined;
6
+ export declare function isPortalHomeSwitchModeNew(tenant: TenantDetailLike): boolean;
7
+ export {};
@@ -0,0 +1,3 @@
1
+ export declare const RICH_TEXT_PRINT_EMPTY_VALUE = "--";
2
+ export declare const isRichTextEmptyValue: (value: unknown) => boolean;
3
+ export declare const getPrintRichTextValue: (value: unknown) => string;
@@ -1,7 +1,7 @@
1
1
  import { ControlRuntimeInstance } from '@byteluck-fe/model-driven-core-all';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps } from 'vue';
3
3
  import { Engine } from '@byteluck-fe/model-driven-engine';
4
- import { ICellRendererParams } from '@ag-grid-community/core';
4
+ import { ICellRendererParams } from 'ag-grid-community';
5
5
 
6
6
  export declare function dealGridTableColumns(params: {
7
7
  filterInstance?: ControlRuntimeInstance<'subtable-column'>;
@@ -21,12 +21,12 @@ export declare const subTableCellRenderColumn: (subtableRow?: ControlRuntimeInst
21
21
  minWidth: number | undefined;
22
22
  flex: number | undefined;
23
23
  pinned: string | boolean | undefined;
24
- cellEditor: DefineComponent<{
24
+ cellEditor: DefineComponent<ExtractPropTypes<{
25
25
  params: {
26
26
  type: ObjectConstructor;
27
27
  required: true;
28
28
  };
29
- }, any, {
29
+ }>, {}, {
30
30
  engine: Engine;
31
31
  }, {
32
32
  comRowRecord(): {};
@@ -42,8 +42,13 @@ export declare const subTableCellRenderColumn: (subtableRow?: ControlRuntimeInst
42
42
  type: ObjectConstructor;
43
43
  required: true;
44
44
  };
45
- }>> & {
45
+ }>> & Readonly<{
46
46
  onOpenVirtuallyModel?: ((...args: any[]) => any) | undefined;
47
- }, {}, {}>;
47
+ }>, {}, {}, {}, {}, string, () => {
48
+ context: Engine;
49
+ configProvider: any;
50
+ formVisible: any;
51
+ isReadonlyShowUnderline: boolean;
52
+ }, true, {}, any>;
48
53
  cellRenderer?: string | ((params: ICellRendererParams<any, any, any>) => HTMLSpanElement | undefined) | undefined;
49
54
  };
@@ -1,5 +1,5 @@
1
1
  import { CONTROL_TYPE, ControlRuntimeInstance } from '@byteluck-fe/model-driven-core-all';
2
- import { ICellRendererParams } from '@ag-grid-community/core';
2
+ import { ICellRendererParams } from 'ag-grid-community';
3
3
 
4
4
  declare const showPasteMap: CONTROL_TYPE[];
5
5
  declare const subtableReadonlyCellRenders: (subtableRow?: ControlRuntimeInstance<'subtable-column'>, options?: {
@@ -0,0 +1,6 @@
1
+ type TreeGroupHeaderOptions = {
2
+ modelId?: string;
3
+ i18nLocal?: Record<string, Record<string, unknown>>;
4
+ };
5
+ export declare function resolveTreeGroupHeaderName(listViewProps: any, options?: TreeGroupHeaderOptions): string;
6
+ export {};
@@ -5,6 +5,7 @@ import { default as __DTS_DEFAULT_3__ } from '../../services/infoAuto';
5
5
  import { default as __DTS_DEFAULT_4__ } from '../../services/widgets';
6
6
  import { default as __DTS_DEFAULT_5__ } from '../../services/template';
7
7
  import { default as __DTS_DEFAULT_6__ } from '../../services/appsCustom';
8
+ import { default as __DTS_DEFAULT_7__ } from '../../services/portalCustom';
8
9
  import { FetchService } from '@byteluck-fe/global-shared';
9
10
  declare const api: {
10
11
  default: __DTS_DEFAULT_0__;
@@ -14,6 +15,7 @@ declare const api: {
14
15
  widgetsAuto: __DTS_DEFAULT_4__;
15
16
  templateAuto: __DTS_DEFAULT_5__;
16
17
  appsCustomAuto: __DTS_DEFAULT_6__;
18
+ portalCustomAuto: __DTS_DEFAULT_7__;
17
19
  httpClient: FetchService;
18
20
  };
19
21
  export declare function getCachedApplyRender(method: typeof api.default.ApplyRenderCodeShortPagePrivateV1ApiAppsPOST | typeof api.default.ApplyRenderPagePrivateV1ApiAppsPOST, args: any, modalInForm?: boolean): Promise<typing.PlainResult$ApplyPageBo$>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/runtime-engine",
3
- "version": "7.0.0-beta.20",
3
+ "version": "7.0.0-beta.22",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/runtime-engine.js",
@@ -21,10 +21,10 @@
21
21
  "registry": "https://registry.npmjs.org/",
22
22
  "access": "public",
23
23
  "@vue/babel-preset-app": "~5.0.0",
24
- "@vue/compiler-sfc": "3.4.27",
25
- "@vue/reactivity": "3.4.27",
26
- "@vue/runtime-core": "3.4.27",
27
- "@vue/shared": "^3.4.27"
24
+ "@vue/compiler-sfc": "3.5.17",
25
+ "@vue/reactivity": "3.5.17",
26
+ "@vue/runtime-core": "3.5.17",
27
+ "@vue/shared": "^3.5.17"
28
28
  },
29
29
  "dependencies": {},
30
30
  "devDependencies": {
@@ -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
- };