@opentiny/genui-sdk-vue 1.1.0-alpha.3 → 1.1.0-beta.1

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +4 -3
  2. package/dist/index.js +8617 -8615
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -91,7 +91,7 @@ rendererInstance: any;
91
91
  declare const __VLS_component_3: DefineComponent<ConfigProviderProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ConfigProviderProps> & Readonly<{}>, {
92
92
  id: string;
93
93
  locale: string;
94
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
94
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {
95
95
  providerRef: unknown;
96
96
  }, any>;
97
97
 
@@ -236,7 +236,7 @@ declare const coerce: {
236
236
  };
237
237
 
238
238
  declare interface ConfigProviderProps {
239
- theme: 'light' | 'dark' | 'lite' | 'auto';
239
+ theme?: 'light' | 'dark' | 'lite' | 'auto';
240
240
  id?: string;
241
241
  locale?: string;
242
242
  i18n?: I18nMessages;
@@ -545,6 +545,7 @@ declare interface IGenPromptComponentSchema {
545
545
  }
546
546
 
547
547
  declare interface IGenPromptExample {
548
+ id?: string;
548
549
  name: string;
549
550
  description?: string;
550
551
  schema: CardSchema;
@@ -661,7 +662,7 @@ export declare interface IRendererProps {
661
662
  content: string | {
662
663
  [prop: string]: any;
663
664
  };
664
- generating: boolean;
665
+ generating?: boolean;
665
666
  customComponents?: Record<string, Component>;
666
667
  customActions?: any;
667
668
  requiredCompleteFieldSelectors?: string[];