@byteluck-fe/runtime-engine 7.0.0-beta.24 → 7.0.0-beta.25

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.
@@ -55,8 +55,10 @@ export default function useAgGrid(props: BasicType, emit: any): {
55
55
  }>>, {}, {}>;
56
56
  };
57
57
  } & {
58
+ pagination?: boolean | undefined;
58
59
  paginationPageSize?: number | undefined;
59
60
  onPaginationChanged?: ((event: any) => void) | undefined;
61
+ singleClickEdit?: boolean | undefined;
60
62
  };
61
63
  subtableHeight: ComputedRef<string | String>;
62
64
  getRowStyle: () => {
@@ -7,7 +7,7 @@ export default function (props: any, emit: any): {
7
7
  updateDateValue: (val: string | number | '') => void;
8
8
  disabledDate: (current: any) => boolean;
9
9
  disabledYear: (year: any) => any;
10
- formatValue: (value: string | undefined | number) => any;
10
+ formatValue: (value: string | undefined | number) => string;
11
11
  handleYearChange: (value: any) => void;
12
12
  handlePickerClick: () => void;
13
13
  handleDateChange: (value: any) => void;
@@ -15,7 +15,7 @@ export default function (params: {
15
15
  isOpen: Ref<boolean>;
16
16
  labelValue: (val: any) => string;
17
17
  handleOpenChange: (status: boolean) => void;
18
- formatValue: (value: any) => any[];
18
+ formatValue: (value: any) => string[];
19
19
  handleDateChange: (val: any) => void;
20
20
  handlePanelChange: (val: any[], modeType: any) => void;
21
21
  onOpenChange: (visible: boolean) => void;
@@ -1,12 +1,13 @@
1
1
  import { ShallowRef, ComputedRef, Ref } from 'vue';
2
- import { ControlPropertyInstance, ControlRuntimeInstance, PAGE_STATUS, DateType, PropertyRuntimeRules, LimitDate } from '@byteluck-fe/model-driven-core-all';
2
+ import { ControlPropertyInstance, ControlRuntimeInstance, PAGE_STATUS, PropertyRuntimeRules, LimitDate } from '@byteluck-fe/model-driven-core-all';
3
3
 
4
+ export declare const parseDatePickerValue: (value: string | undefined | number) => number | undefined;
4
5
  export default function (instanceProps: ShallowRef<ControlPropertyInstance<'date-picker'>>, instance: ControlRuntimeInstance<'date-picker'>, value: string | undefined, rowIndex: number | undefined): {
5
6
  pageStatus: ComputedRef<PAGE_STATUS>;
6
7
  isDisabled: ComputedRef<boolean>;
7
8
  placeholder: ComputedRef<any>;
8
9
  isEditable: ComputedRef<boolean>;
9
- dateType: ComputedRef<DateType>;
10
+ dateType: ComputedRef<"datetime" | "datemin" | "datehour" | "date" | "month" | "year">;
10
11
  updateValue: (value: string | number | object | string[] | number[]) => void;
11
12
  formatValue: (value: string | undefined | number) => string;
12
13
  minDate: Ref<{
@@ -0,0 +1,4 @@
1
+ export function createCloseGuard(): {
2
+ begin(): boolean;
3
+ reset(): void;
4
+ };
@@ -37,7 +37,7 @@ export declare const searchDateRangeSettingList: () => ({
37
37
  time: number[];
38
38
  exclude?: undefined;
39
39
  })[];
40
- declare const formatDateValue: (value: any) => any;
40
+ declare const formatDateValue: (value: any) => string;
41
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[];
@@ -0,0 +1,10 @@
1
+ export interface ListViewConfigView {
2
+ id?: string;
3
+ title?: unknown;
4
+ headers?: unknown[];
5
+ filters?: unknown[];
6
+ isCustom?: boolean;
7
+ [key: string]: unknown;
8
+ }
9
+ export declare function getListViewConfigNavList(systemViews?: ListViewConfigView[], customViews?: ListViewConfigView[]): ListViewConfigView[];
10
+ export declare function getInitialListViewConfigView(defaultViewId: string | undefined, systemViews?: ListViewConfigView[], customViews?: ListViewConfigView[]): ListViewConfigView;
@@ -1 +1,2 @@
1
+ export declare function isRuntimePreviewPath(pathname?: string): boolean;
1
2
  export declare const isPreview: boolean;
@@ -0,0 +1,6 @@
1
+ export type SelectOptionLike = {
2
+ label?: unknown;
3
+ value?: unknown;
4
+ [key: string]: unknown;
5
+ };
6
+ export declare function filterSelectOptionsByLabel<T extends SelectOptionLike>(options: T[], query: string): T[];
@@ -32,8 +32,10 @@ export declare const subTableCellRenderColumn: (subtableRow?: ControlRuntimeInst
32
32
  comRowRecord(): {};
33
33
  rowIndex(): any;
34
34
  instance(): any;
35
+ popoverOverlayClassName(): string;
35
36
  }, {
36
37
  getState(): any;
38
+ syncControlValue(): void;
37
39
  getValue(): any;
38
40
  openVirtuallyModel(params: any): void;
39
41
  getPopupContainer(): Element | undefined;
@@ -5,6 +5,7 @@ type CrossDomainMessageType = {
5
5
  options: any;
6
6
  };
7
7
  export declare function tryRefreshOpener(message: CrossDomainMessageType): void;
8
+ export declare function closeProcessCenterFormPageModal(): void;
8
9
  export declare function refreshListByPath(listPath: string | undefined, options?: {
9
10
  clearSelectedRows?: boolean;
10
11
  source?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/runtime-engine",
3
- "version": "7.0.0-beta.24",
3
+ "version": "7.0.0-beta.25",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/runtime-engine.js",