@ctgh/a2ui-arco 0.2.0

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.
@@ -0,0 +1,31 @@
1
+ /** Arco surface root: isolated from headless `.a2ui-surface-root` / `.a2ui-btn` hooks. */
2
+ export declare const A2uiArcoSurface: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ surface: {
4
+ type: import('vue').PropType<import('@ctgh/a2ui-vue').SurfaceModel<import('@ctgh/a2ui-vue').VueComponentImplementation>>;
5
+ required: true;
6
+ };
7
+ rootId: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ basePath: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ }>, () => import('vue').VNodeChild, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
+ surface: {
17
+ type: import('vue').PropType<import('@ctgh/a2ui-vue').SurfaceModel<import('@ctgh/a2ui-vue').VueComponentImplementation>>;
18
+ required: true;
19
+ };
20
+ rootId: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ };
24
+ basePath: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ }>> & Readonly<{}>, {
29
+ basePath: string;
30
+ rootId: string;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,18 @@
1
+ type __VLS_Props = {
2
+ theme?: 'light' | 'dark';
3
+ };
4
+ declare var __VLS_8: {};
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_8) => any;
7
+ };
8
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
+ theme: "light" | "dark";
10
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "@ctgh/a2ui-arco",
3
+ "version": "0.2.0",
4
+ "description": "Arco Design renderer catalog for A2UI (Vue 3).",
5
+ "license": "MIT",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://git.ctgh.com/git/shuo.yang5/npm-star.git",
9
+ "directory": "packages/ui-arco"
10
+ },
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "type": "module",
15
+ "main": "./dist/index.cjs",
16
+ "module": "./dist/index.js",
17
+ "types": "./dist/index.d.ts",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.js",
22
+ "require": "./dist/index.cjs"
23
+ }
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "README.md"
28
+ ],
29
+ "sideEffects": [
30
+ "./dist/plugin.js",
31
+ "./dist/index.js"
32
+ ],
33
+ "peerDependencies": {
34
+ "@arco-design/web-vue": "^2.57.0",
35
+ "vue": "^3.5.39"
36
+ },
37
+ "dependencies": {
38
+ "@ctgh/a2ui-vue": "0.2.0",
39
+ "@ctgh/a2ui-web-core": "0.2.0"
40
+ },
41
+ "engines": {
42
+ "node": ">=20"
43
+ },
44
+ "scripts": {
45
+ "build": "vite build",
46
+ "typecheck": "vue-tsc --noEmit -p tsconfig.json",
47
+ "lint": "eslint src",
48
+ "prepack": "npm run build"
49
+ }
50
+ }