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

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.
@@ -7,6 +7,7 @@ import { default as __DTS_DEFAULT_3__ } from '../../../services/infoAuto';
7
7
  import { default as __DTS_DEFAULT_4__ } from '../../../services/widgets';
8
8
  import { default as __DTS_DEFAULT_5__ } from '../../../services/template';
9
9
  import { default as __DTS_DEFAULT_6__ } from '../../../services/appsCustom';
10
+ import { default as __DTS_DEFAULT_7__ } from '../../../services/portalCustom';
10
11
  import { FetchService } from '@byteluck-fe/global-shared';
11
12
  import { Engine } from '@byteluck-fe/model-driven-engine';
12
13
 
@@ -19,6 +20,7 @@ export default function (instanceProps: ShallowRef<ControlPropertyInstance<'atta
19
20
  widgetsAuto: __DTS_DEFAULT_4__;
20
21
  templateAuto: __DTS_DEFAULT_5__;
21
22
  appsCustomAuto: __DTS_DEFAULT_6__;
23
+ portalCustomAuto: __DTS_DEFAULT_7__;
22
24
  httpClient: FetchService;
23
25
  };
24
26
  context: Ref<Engine> | undefined;
@@ -1,8 +1,14 @@
1
1
  import { Ref, ComputedRef } from 'vue';
2
2
 
3
- export declare function useTitleStar(thirdComponent?: Recordable<any>): {
3
+ export declare function useTitleStar(options?: Recordable<any>): {
4
4
  canStar: ComputedRef<boolean>;
5
5
  isCollection: Ref<boolean>;
6
6
  starLoading: Ref<boolean>;
7
+ starDialogVisible: Ref<boolean>;
8
+ starFormName: Ref<string>;
9
+ starFormIcon: Ref<string>;
10
+ starIconOptions: Ref<string[]>;
11
+ cancelStarDialog: () => void;
12
+ confirmStarDialog: () => Promise<void>;
7
13
  toggleStar: () => Promise<void>;
8
14
  };
@@ -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
+ }
@@ -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
  };
@@ -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.21",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/runtime-engine.js",