@nine1ie/a2ui-vue 0.1.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.
- package/LICENSE +21 -0
- package/dist/index.css +1 -0
- package/dist/index.js +880 -0
- package/dist/renderer/src/A2UIRenderer.vue.d.ts +20 -0
- package/dist/renderer/src/A2UIRenderer.vue.d.ts.map +1 -0
- package/dist/renderer/src/ComponentResolver.vue.d.ts +8 -0
- package/dist/renderer/src/ComponentResolver.vue.d.ts.map +1 -0
- package/dist/renderer/src/SurfaceRenderer.vue.d.ts +6 -0
- package/dist/renderer/src/SurfaceRenderer.vue.d.ts.map +1 -0
- package/dist/renderer/src/component-map.d.ts +4 -0
- package/dist/renderer/src/component-map.d.ts.map +1 -0
- package/dist/renderer/src/components/container/Card.vue.d.ts +8 -0
- package/dist/renderer/src/components/container/Card.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/container/Modal.vue.d.ts +8 -0
- package/dist/renderer/src/components/container/Modal.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/container/Tabs.vue.d.ts +8 -0
- package/dist/renderer/src/components/container/Tabs.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/display/AudioPlayer.vue.d.ts +8 -0
- package/dist/renderer/src/components/display/AudioPlayer.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/display/Divider.vue.d.ts +7 -0
- package/dist/renderer/src/components/display/Divider.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/display/Icon.vue.d.ts +8 -0
- package/dist/renderer/src/components/display/Icon.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/display/Image.vue.d.ts +8 -0
- package/dist/renderer/src/components/display/Image.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/display/Text.vue.d.ts +8 -0
- package/dist/renderer/src/components/display/Text.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/display/Video.vue.d.ts +8 -0
- package/dist/renderer/src/components/display/Video.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/input/CheckBox.vue.d.ts +8 -0
- package/dist/renderer/src/components/input/CheckBox.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/input/ChoicePicker.vue.d.ts +8 -0
- package/dist/renderer/src/components/input/ChoicePicker.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/input/DateTimeInput.vue.d.ts +8 -0
- package/dist/renderer/src/components/input/DateTimeInput.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/input/Slider.vue.d.ts +8 -0
- package/dist/renderer/src/components/input/Slider.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/input/TextField.vue.d.ts +8 -0
- package/dist/renderer/src/components/input/TextField.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/interactive/Button.vue.d.ts +8 -0
- package/dist/renderer/src/components/interactive/Button.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/layout/Column.vue.d.ts +22 -0
- package/dist/renderer/src/components/layout/Column.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/layout/List.vue.d.ts +22 -0
- package/dist/renderer/src/components/layout/List.vue.d.ts.map +1 -0
- package/dist/renderer/src/components/layout/Row.vue.d.ts +22 -0
- package/dist/renderer/src/components/layout/Row.vue.d.ts.map +1 -0
- package/dist/renderer/src/composables/useA2UI.d.ts +55 -0
- package/dist/renderer/src/composables/useA2UI.d.ts.map +1 -0
- package/dist/renderer/src/composables/useDataModel.d.ts +8 -0
- package/dist/renderer/src/composables/useDataModel.d.ts.map +1 -0
- package/dist/renderer/src/composables/useSurface.d.ts +12 -0
- package/dist/renderer/src/composables/useSurface.d.ts.map +1 -0
- package/dist/renderer/src/index.d.ts +12 -0
- package/dist/renderer/src/index.d.ts.map +1 -0
- package/dist/renderer/src/theme/design-tokens.d.ts +3 -0
- package/dist/renderer/src/theme/design-tokens.d.ts.map +1 -0
- package/dist/renderer/src/theme/provide.d.ts +11 -0
- package/dist/renderer/src/theme/provide.d.ts.map +1 -0
- package/dist/renderer/src/theme/tokens.d.ts +9 -0
- package/dist/renderer/src/theme/tokens.d.ts.map +1 -0
- package/package.json +40 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ActionMessage, Theme, A2UIServerMessage } from '../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
theme?: Theme;
|
|
4
|
+
};
|
|
5
|
+
declare function processMessage(message: A2UIServerMessage): void;
|
|
6
|
+
declare function processJSON(json: string): void;
|
|
7
|
+
declare function processJSONStream(chunk: string): void;
|
|
8
|
+
declare function reset(): void;
|
|
9
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
10
|
+
processMessage: typeof processMessage;
|
|
11
|
+
processJSON: typeof processJSON;
|
|
12
|
+
processJSONStream: typeof processJSONStream;
|
|
13
|
+
reset: typeof reset;
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
action: (action: ActionMessage) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
|
+
onAction?: ((action: ActionMessage) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
19
|
+
export default _default;
|
|
20
|
+
//# sourceMappingURL=A2UIRenderer.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"A2UIRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/A2UIRenderer.vue"],"names":[],"mappings":"AA8FA,OAAO,EAAkB,KAAK,aAAa,EAAE,KAAK,KAAK,EAAE,KAAK,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAI/G,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,KAAK,CAAA;CACd,CAAC;AAoBF,iBAAS,cAAc,CAAC,OAAO,EAAE,iBAAiB,QAsBjD;AAED,iBAAS,WAAW,CAAC,IAAI,EAAE,MAAM,QAMhC;AAED,iBAAS,iBAAiB,CAAC,KAAK,EAAE,MAAM,QAEvC;AAED,iBAAS,KAAK,SAGb;;;;;;;;;;;AA8DD,wBASG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Scope } from '../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentId: string;
|
|
4
|
+
scope?: Scope;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=ComponentResolver.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComponentResolver.vue.d.ts","sourceRoot":"","sources":["../../../src/ComponentResolver.vue"],"names":[],"mappings":"AAuEA,OAAO,EAAqC,KAAK,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAItF,KAAK,WAAW,GAAG;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,KAAK,CAAA;CACd,CAAC;;AA2GF,wBAMG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
surface: any;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=SurfaceRenderer.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SurfaceRenderer.vue.d.ts","sourceRoot":"","sources":["../../../src/SurfaceRenderer.vue"],"names":[],"mappings":"AAiGA,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,GAAG,CAAA;CACb,CAAC;;AAgGF,wBAOG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-map.d.ts","sourceRoot":"","sources":["../../../src/component-map.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAkDpC,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,GAAG,IAAI,CAE1E;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAEpE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentDef, Scope } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
scope?: Scope;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=Card.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/container/Card.vue"],"names":[],"mappings":"AAoCA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAC1D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAGnD,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAA;CACd,CAAC;;AAyDF,wBAOG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentDef, Scope } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
scope?: Scope;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=Modal.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Modal.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/container/Modal.vue"],"names":[],"mappings":"AAuJA,OAAO,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAIjE,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAA;CACd,CAAC;;AAqJF,wBAOG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentDef, Scope } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
scope?: Scope;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=Tabs.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/container/Tabs.vue"],"names":[],"mappings":"AAiGA,OAAO,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAGjE,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAA;CACd,CAAC;;AAsFF,wBAOG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentDef } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
scope?: any;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=AudioPlayer.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AudioPlayer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/display/AudioPlayer.vue"],"names":[],"mappings":"AA+EA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,CAAC;;AAiFF,wBAOG"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ComponentDef } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLHRElement>;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=Divider.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Divider.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/display/Divider.vue"],"names":[],"mappings":"AA4BA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAE1D,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;CAC3B,CAAC;;AA4CF,wBAOG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentDef } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
scope?: any;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=Icon.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icon.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/display/Icon.vue"],"names":[],"mappings":"AAgDA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,CAAC;;AA4DF,wBAOG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentDef } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
scope?: any;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=Image.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Image.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/display/Image.vue"],"names":[],"mappings":"AA2FA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,CAAC;;AAoFF,wBAOG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentDef } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
scope?: any;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=Text.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Text.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/display/Text.vue"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,CAAC;;AAoFF,wBAOG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentDef } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
scope?: any;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=Video.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Video.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/display/Video.vue"],"names":[],"mappings":"AAmFA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,CAAC;;AAiFF,wBAOG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentDef } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
scope?: any;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=CheckBox.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckBox.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/CheckBox.vue"],"names":[],"mappings":"AAmJA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,CAAC;;AAiGF,wBAOG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentDef } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
scope?: any;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=ChoicePicker.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChoicePicker.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/ChoicePicker.vue"],"names":[],"mappings":"AAsHA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,CAAC;;AAoGF,wBAOG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentDef } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
scope?: any;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=DateTimeInput.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateTimeInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/DateTimeInput.vue"],"names":[],"mappings":"AAoGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,CAAC;;AA+FF,wBAOG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentDef } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
scope?: any;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=Slider.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Slider.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/Slider.vue"],"names":[],"mappings":"AAiIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,CAAC;;AAqGF,wBAOG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentDef } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
scope?: any;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=TextField.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/input/TextField.vue"],"names":[],"mappings":"AAiJA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAI1D,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,CAAC;;AAoIF,wBAOG"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComponentDef } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
scope?: any;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=Button.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/interactive/Button.vue"],"names":[],"mappings":"AAwJA,OAAO,KAAK,EAAE,YAAY,EAAiB,MAAM,wBAAwB,CAAA;AAIzE,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;IAC1B,KAAK,CAAC,EAAE,GAAG,CAAA;CACZ,CAAC;;AAyHF,wBAOG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ComponentDef } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=Column.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Column.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/Column.vue"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAE1D,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;CAC3B,CAAC;AAkBF,iBAAS,cAAc;WA4BT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ComponentDef } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=List.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"List.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/List.vue"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAE1D,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;CAC3B,CAAC;AAKF,iBAAS,cAAc;WA2BT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ComponentDef } from '../../../../core/src';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
componentDef: ComponentDef;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=Row.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Row.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/layout/Row.vue"],"names":[],"mappings":"AAuEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAE1D,KAAK,WAAW,GAAG;IACjB,YAAY,EAAE,YAAY,CAAA;CAC3B,CAAC;AAkBF,iBAAS,cAAc;WAqCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,6SAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { SurfaceManager, A2UIServerMessage, SurfaceInstance, ActionMessage } from '../../../core/src';
|
|
2
|
+
export interface A2UIOptions {
|
|
3
|
+
onAction?: (action: ActionMessage) => void;
|
|
4
|
+
}
|
|
5
|
+
export declare function useA2UI(options?: A2UIOptions): {
|
|
6
|
+
surfaces: import('vue').Ref<Map<string, {
|
|
7
|
+
id: string;
|
|
8
|
+
catalogId: string;
|
|
9
|
+
theme?: {
|
|
10
|
+
primaryColor?: string | undefined;
|
|
11
|
+
iconUrl?: string | undefined;
|
|
12
|
+
agentDisplayName?: string | undefined;
|
|
13
|
+
} | undefined;
|
|
14
|
+
sendDataModel: boolean;
|
|
15
|
+
componentRegistry: {
|
|
16
|
+
updateComponents: (components: import('../../../core/src').ComponentDef[]) => void;
|
|
17
|
+
getComponent: (id: string) => import('../../../core/src').ComponentDef | undefined;
|
|
18
|
+
hasComponent: (id: string) => boolean;
|
|
19
|
+
readonly size: number;
|
|
20
|
+
resolveChildren: (id: string, dataModel?: any, scope?: import('../../../core/src').Scope) => import('../../../core/src').ComponentDef[];
|
|
21
|
+
getAll: () => import('../../../core/src').ComponentDef[];
|
|
22
|
+
clear: () => void;
|
|
23
|
+
};
|
|
24
|
+
dataModel: Record<string, any>;
|
|
25
|
+
createdAt: number;
|
|
26
|
+
_version: number;
|
|
27
|
+
}> & Omit<Map<string, SurfaceInstance>, keyof Map<any, any>>, Map<string, SurfaceInstance> | (Map<string, {
|
|
28
|
+
id: string;
|
|
29
|
+
catalogId: string;
|
|
30
|
+
theme?: {
|
|
31
|
+
primaryColor?: string | undefined;
|
|
32
|
+
iconUrl?: string | undefined;
|
|
33
|
+
agentDisplayName?: string | undefined;
|
|
34
|
+
} | undefined;
|
|
35
|
+
sendDataModel: boolean;
|
|
36
|
+
componentRegistry: {
|
|
37
|
+
updateComponents: (components: import('../../../core/src').ComponentDef[]) => void;
|
|
38
|
+
getComponent: (id: string) => import('../../../core/src').ComponentDef | undefined;
|
|
39
|
+
hasComponent: (id: string) => boolean;
|
|
40
|
+
readonly size: number;
|
|
41
|
+
resolveChildren: (id: string, dataModel?: any, scope?: import('../../../core/src').Scope) => import('../../../core/src').ComponentDef[];
|
|
42
|
+
getAll: () => import('../../../core/src').ComponentDef[];
|
|
43
|
+
clear: () => void;
|
|
44
|
+
};
|
|
45
|
+
dataModel: Record<string, any>;
|
|
46
|
+
createdAt: number;
|
|
47
|
+
_version: number;
|
|
48
|
+
}> & Omit<Map<string, SurfaceInstance>, keyof Map<any, any>>)>;
|
|
49
|
+
surfaceManager: SurfaceManager;
|
|
50
|
+
processMessage: (message: A2UIServerMessage) => void;
|
|
51
|
+
processJSON: (json: string) => void;
|
|
52
|
+
processJSONStream: (chunk: string) => void;
|
|
53
|
+
destroy: () => void;
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=useA2UI.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useA2UI.d.ts","sourceRoot":"","sources":["../../../../src/composables/useA2UI.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,cAAc,EAEd,KAAK,iBAAiB,EACtB,KAAK,eAAe,EAEpB,KAAK,aAAa,EACnB,MAAM,wBAAwB,CAAA;AAE/B,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,KAAK,IAAI,CAAA;CAC3C;AAED,wBAAgB,OAAO,CAAC,OAAO,CAAC,EAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAWV,iBAAiB;wBA8BvB,MAAM;+BASC,MAAM;;EAwBzC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
import { DynamicValue, Scope } from '../../../core/src';
|
|
3
|
+
export declare function useDataModel(): {
|
|
4
|
+
dataModel: ComputedRef<Record<string, any>>;
|
|
5
|
+
resolve: (dynamic: DynamicValue, scope?: Scope) => any;
|
|
6
|
+
reactiveResolve: (dynamic: DynamicValue, scope?: Scope) => ComputedRef<any>;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=useDataModel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDataModel.d.ts","sourceRoot":"","sources":["../../../../src/composables/useDataModel.ts"],"names":[],"mappings":"AAEA,OAAO,EAAY,KAAK,WAAW,EAAoB,MAAM,KAAK,CAAA;AAClE,OAAO,EAKL,KAAK,YAAY,EACjB,KAAK,KAAK,EACX,MAAM,wBAAwB,CAAA;AAG/B,wBAAgB,YAAY;;uBAQA,YAAY,UAAU,KAAK,KAAG,GAAG;+BAczB,YAAY,UAAU,KAAK,KAAG,WAAW,CAAC,GAAG,CAAC;EAKjF"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { InjectionKey, Ref, ComputedRef } from 'vue';
|
|
2
|
+
import { SurfaceInstance, ComponentRegistry } from '../../../core/src';
|
|
3
|
+
export declare const SURFACE_KEY: InjectionKey<Ref<SurfaceInstance>>;
|
|
4
|
+
export declare const REGISTRY_KEY: InjectionKey<ComputedRef<ComponentRegistry>>;
|
|
5
|
+
export declare const DATAMODEL_KEY: InjectionKey<ComputedRef<Record<string, any>>>;
|
|
6
|
+
export declare function useSurface(): {
|
|
7
|
+
surface: Ref<SurfaceInstance, SurfaceInstance>;
|
|
8
|
+
registry: ComputedRef<ComponentRegistry>;
|
|
9
|
+
dataModel: ComputedRef<Record<string, any>>;
|
|
10
|
+
};
|
|
11
|
+
export declare function provideSurface(surface: Ref<SurfaceInstance>): void;
|
|
12
|
+
//# sourceMappingURL=useSurface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useSurface.d.ts","sourceRoot":"","sources":["../../../../src/composables/useSurface.ts"],"names":[],"mappings":"AAEA,OAAO,EAAyB,KAAK,YAAY,EAAW,KAAK,GAAG,EAAE,KAAK,WAAW,EAAE,MAAM,KAAK,CAAA;AACnG,OAAO,KAAK,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAEhF,eAAO,MAAM,WAAW,EAAE,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,CAA0B,CAAA;AACrF,eAAO,MAAM,YAAY,EAAE,YAAY,CAAC,WAAW,CAAC,iBAAiB,CAAC,CAA2B,CAAA;AACjG,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,WAAW,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAA4B,CAAA;AAErG,wBAAgB,UAAU;;;;EAUzB;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,GAAG,CAAC,eAAe,CAAC,QAI3D"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { default as A2UIRenderer } from './A2UIRenderer.vue';
|
|
2
|
+
export { default as SurfaceRenderer } from './SurfaceRenderer.vue';
|
|
3
|
+
export { default as ComponentResolver } from './ComponentResolver.vue';
|
|
4
|
+
export { useA2UI } from './composables/useA2UI';
|
|
5
|
+
export { useSurface } from './composables/useSurface';
|
|
6
|
+
export { useDataModel } from './composables/useDataModel';
|
|
7
|
+
export { registerComponent, getComponentType } from './component-map';
|
|
8
|
+
export { provideTheme, useTheme, useCSSVars } from './theme/provide';
|
|
9
|
+
export { generateCSSVariables } from './theme/design-tokens';
|
|
10
|
+
export type { ThemeTokens } from './theme/tokens';
|
|
11
|
+
export type * from '../../core/src';
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAClE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAA;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACzD,OAAO,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AACrE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAA;AAC5D,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAGjD,mBAAmB,wBAAwB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"design-tokens.d.ts","sourceRoot":"","sources":["../../../../src/theme/design-tokens.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAE3C,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAuFhF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InjectionKey, Ref } from 'vue';
|
|
2
|
+
import { ThemeTokens } from './tokens';
|
|
3
|
+
export declare const THEME_KEY: InjectionKey<Ref<ThemeTokens>>;
|
|
4
|
+
export declare const CSS_VARS_KEY: InjectionKey<Ref<Record<string, string>>>;
|
|
5
|
+
export declare function provideTheme(theme?: Partial<ThemeTokens>): {
|
|
6
|
+
tokens: import('vue').ComputedRef<ThemeTokens>;
|
|
7
|
+
cssVars: import('vue').ComputedRef<Record<string, string>>;
|
|
8
|
+
};
|
|
9
|
+
export declare function useTheme(): Ref<ThemeTokens>;
|
|
10
|
+
export declare function useCSSVars(): Ref<Record<string, string>>;
|
|
11
|
+
//# sourceMappingURL=provide.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provide.d.ts","sourceRoot":"","sources":["../../../../src/theme/provide.ts"],"names":[],"mappings":"AAEA,OAAO,EAA6B,KAAK,YAAY,EAAE,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AAC5E,OAAO,EAAsB,KAAK,WAAW,EAAE,MAAM,UAAU,CAAA;AAG/D,eAAO,MAAM,SAAS,EAAE,YAAY,CAAC,GAAG,CAAC,WAAW,CAAC,CAAwB,CAAA;AAC7E,eAAO,MAAM,YAAY,EAAE,YAAY,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAA0B,CAAA;AAE7F,wBAAgB,YAAY,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC;;;EAQxD;AAED,wBAAgB,QAAQ,IAAI,GAAG,CAAC,WAAW,CAAC,CAE3C;AAED,wBAAgB,UAAU,IAAI,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAExD"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface ThemeTokens {
|
|
2
|
+
primaryColor: string;
|
|
3
|
+
errorColor?: string;
|
|
4
|
+
fontFamily?: string;
|
|
5
|
+
iconUrl?: string;
|
|
6
|
+
agentDisplayName?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function resolveThemeTokens(theme?: Partial<ThemeTokens>): ThemeTokens;
|
|
9
|
+
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../../src/theme/tokens.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,WAAW;IAC1B,YAAY,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAMD,wBAAgB,kBAAkB,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,WAAW,CAE5E"}
|
package/package.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@nine1ie/a2ui-vue",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "A2UI v0.9 Vue 3 renderer and 18 base components",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./style": "./dist/style.css"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@nine1ie/a2ui-vue-core": "0.1.0"
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"vue": "^3.5.0"
|
|
24
|
+
},
|
|
25
|
+
"devDependencies": {
|
|
26
|
+
"@vitejs/plugin-vue": "^5.2.0",
|
|
27
|
+
"typescript": "^5.7.0",
|
|
28
|
+
"vite": "^6.0.0",
|
|
29
|
+
"vite-plugin-dts": "^4.0.0",
|
|
30
|
+
"vitest": "^3.0.0",
|
|
31
|
+
"vue": "^3.5.0",
|
|
32
|
+
"vue-tsc": "^2.2.0"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "vite build",
|
|
36
|
+
"dev": "vite build --watch",
|
|
37
|
+
"test": "vitest run",
|
|
38
|
+
"typecheck": "vue-tsc --noEmit"
|
|
39
|
+
}
|
|
40
|
+
}
|