@byteluck-fe/runtime-engine 7.0.0-beta.11 → 7.0.0-beta.14

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.
@@ -1,2 +1,3 @@
1
- declare const rokComPonentContext: any;
1
+ import { GlobRequireContext } from '../../utils/vite/createGlobRequireContext';
2
+ declare const rokComPonentContext: GlobRequireContext;
2
3
  export default rokComPonentContext;
@@ -0,0 +1,2 @@
1
+
2
+ export { bootstrap, mount, unmount, update } from './main';
@@ -30,4 +30,5 @@ export declare function useButton(props: PropsInstanceType<CONTROL_TYPE.BUTTON>,
30
30
  buttonContent: ComputedRef<string>;
31
31
  clickHandle: (event: Event) => void;
32
32
  isLoading: Ref<boolean>;
33
+ isOperateDisabled: Ref<boolean>;
33
34
  };
@@ -1 +1,2 @@
1
1
  export * from './useTitleCopyDocument';
2
+ export * from './useTitleStar';
@@ -0,0 +1,8 @@
1
+ import { Ref, ComputedRef } from 'vue';
2
+
3
+ export declare function useTitleStar(thirdComponent?: Recordable<any>): {
4
+ canStar: ComputedRef<boolean>;
5
+ isCollection: Ref<boolean>;
6
+ starLoading: Ref<boolean>;
7
+ toggleStar: () => Promise<void>;
8
+ };
@@ -11,4 +11,17 @@ 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>;
14
27
  }
@@ -0,0 +1,7 @@
1
+ type GlobModuleMap = Record<string, unknown>;
2
+ export interface GlobRequireContext {
3
+ (key: string): unknown;
4
+ keys(): string[];
5
+ }
6
+ export declare function createGlobRequireContext(modules: GlobModuleMap): GlobRequireContext;
7
+ export {};
package/package.json CHANGED
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "name": "@byteluck-fe/runtime-engine",
3
- "version": "7.0.0-beta.11",
3
+ "version": "7.0.0-beta.14",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/runtime-engine.js",
7
7
  "types": "./dist/packages/runtime-engine/src/index.d.ts",
8
8
  "scripts": {
9
9
  "test": "echo \"Error: no test specified\" && exit 1",
10
- "build": "vite build",
11
- "lint": "vue-cli-service lint",
12
- "release:patch": "vite build && standard-version --release-as patch",
13
- "release:minor": "vite build && standard-version --release-as minor",
14
- "release:major": "vite build && standard-version --release-as major"
10
+ "build": "vite build --mode ego",
11
+ "build:testEnv": "vite build --mode testEnv",
12
+ "lint": "eslint . --ext .ts,.tsx,.vue",
13
+ "release:patch": "pnpm build && standard-version --release-as patch",
14
+ "release:minor": "pnpm build && standard-version --release-as minor",
15
+ "release:major": "pnpm build && standard-version --release-as major"
15
16
  },
16
17
  "files": [
17
18
  "dist"