@opentiny/genui-sdk-vue 1.2.0 → 1.2.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.
@@ -1,4 +1,4 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".loading-warp[data-v-4cf1cd88]{display:flex;flex-direction:column;justify-content:center;position:fixed;top:-75px;bottom:0;left:0;right:0}.loading[data-v-4cf1cd88]{width:60px;height:60px;margin:0 auto;position:relative;animation:load-4cf1cd88 3s linear infinite}.loading div[data-v-4cf1cd88]{width:100%;height:100%;position:absolute}.loading span[data-v-4cf1cd88]{display:inline-block;width:20px;height:20px;border-radius:50%;background:#9c6;position:absolute;left:50%;margin-top:-10px;margin-left:-10px;animation:changeBgColor-4cf1cd88 3s ease infinite}@keyframes load-4cf1cd88{0%{transform:rotate(0)}33.3%{transform:rotate(120deg)}66.6%{transform:rotate(240deg)}to{transform:rotate(360deg)}}@keyframes changeBgColor-4cf1cd88{0%,to{background:#9c6}33.3%{background:#ff6}66.6%{background:#f66}}.loading div[data-v-4cf1cd88]:nth-child(2){transform:rotate(120deg)}.loading div[data-v-4cf1cd88]:nth-child(3){transform:rotate(240deg)}.loading div:nth-child(2) span[data-v-4cf1cd88]{animation-delay:1s}.loading div:nth-child(3) span[data-v-4cf1cd88]{animation-delay:2s}.iconwarp[data-v-703e7595]{display:inline-flex;justify-content:center;align-items:center;fill:currentColor;width:1em;height:1em}.canvas-container[data-v-f6282d9a]{min-height:48px}[data-v-72c921a9] .tiny-card.tiny-card.tiny-card{width:100%;background-color:var(--content-bg);border-radius:24px}[data-v-72c921a9] .tiny-card.tiny-card.tiny-card .tiny-card--logo__main{color:var(--text-color)}[data-v-72c921a9] .tiny-card.tiny-card.tiny-card .tiny-card--logo{max-width:100%}[data-v-72c921a9] .tiny-row.tiny-row{line-height:2}[data-v-72c921a9] ol[data-tag=ol],[data-v-72c921a9] ul[data-tag=ul]{list-style:revert;margin:revert;padding:revert}[data-v-72c921a9] li[data-tag=li]{margin:revert;padding:revert}[data-v-72c921a9] *,[data-v-72c921a9] *:before,[data-v-72c921a9] *:after{box-sizing:border-box}[data-v-72c921a9] h1[data-tag=h1],[data-v-72c921a9] h2[data-tag=h2],[data-v-72c921a9] h3[data-tag=h3],[data-v-72c921a9] h4[data-tag=h4],[data-v-72c921a9] h5[data-tag=h5],[data-v-72c921a9] h6[data-tag=h6],[data-v-72c921a9] p[data-tag=p]{font-size:revert;font-weight:revert;color:revert;margin:revert;padding:revert}.schema-render-container[data-v-72c921a9]{position:relative;color:var(--tv-color-text, #191919)}.schema-render-container[data-v-72c921a9]:has(.loading-warp):after{display:none}[data-v-72c921a9] .loading-warp.loading-warp,[data-v-72c921a9] .loading-warp .loading{display:none}")),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".loading-warp[data-v-4cf1cd88]{display:flex;flex-direction:column;justify-content:center;position:fixed;top:-75px;bottom:0;left:0;right:0}.loading[data-v-4cf1cd88]{width:60px;height:60px;margin:0 auto;position:relative;animation:load-4cf1cd88 3s linear infinite}.loading div[data-v-4cf1cd88]{width:100%;height:100%;position:absolute}.loading span[data-v-4cf1cd88]{display:inline-block;width:20px;height:20px;border-radius:50%;background:#9c6;position:absolute;left:50%;margin-top:-10px;margin-left:-10px;animation:changeBgColor-4cf1cd88 3s ease infinite}@keyframes load-4cf1cd88{0%{transform:rotate(0)}33.3%{transform:rotate(120deg)}66.6%{transform:rotate(240deg)}to{transform:rotate(360deg)}}@keyframes changeBgColor-4cf1cd88{0%,to{background:#9c6}33.3%{background:#ff6}66.6%{background:#f66}}.loading div[data-v-4cf1cd88]:nth-child(2){transform:rotate(120deg)}.loading div[data-v-4cf1cd88]:nth-child(3){transform:rotate(240deg)}.loading div:nth-child(2) span[data-v-4cf1cd88]{animation-delay:1s}.loading div:nth-child(3) span[data-v-4cf1cd88]{animation-delay:2s}.iconwarp[data-v-703e7595]{display:inline-flex;justify-content:center;align-items:center;fill:currentColor;width:1em;height:1em}.canvas-container[data-v-f6282d9a]{min-height:48px}[data-v-c55c62e4] .tiny-card.tiny-card.tiny-card{width:100%;background-color:var(--content-bg);border-radius:24px}[data-v-c55c62e4] .tiny-card.tiny-card.tiny-card .tiny-card--logo__main{color:var(--text-color)}[data-v-c55c62e4] .tiny-card.tiny-card.tiny-card .tiny-card--logo{max-width:100%}[data-v-c55c62e4] .tiny-row.tiny-row{line-height:2}[data-v-c55c62e4] ol[data-tag=ol],[data-v-c55c62e4] ul[data-tag=ul]{list-style:revert;margin:revert;padding:revert}[data-v-c55c62e4] li[data-tag=li]{margin:revert;padding:revert}[data-v-c55c62e4] *,[data-v-c55c62e4] *:before,[data-v-c55c62e4] *:after{box-sizing:border-box}[data-v-c55c62e4] h1[data-tag=h1],[data-v-c55c62e4] h2[data-tag=h2],[data-v-c55c62e4] h3[data-tag=h3],[data-v-c55c62e4] h4[data-tag=h4],[data-v-c55c62e4] h5[data-tag=h5],[data-v-c55c62e4] h6[data-tag=h6],[data-v-c55c62e4] p[data-tag=p]{font-size:revert;font-weight:revert;color:revert;margin:revert;padding:revert}.schema-render-container[data-v-c55c62e4]{position:relative;color:var(--tv-color-text, #191919)}.schema-render-container[data-v-c55c62e4]:has(.loading-warp):after{display:none}[data-v-c55c62e4] .loading-warp.loading-warp,[data-v-c55c62e4] .loading-warp .loading{display:none}")),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
2
  import { h as ns, onErrorCaptured as yh, inject as Tn, provide as _h, reactive as yf, watchEffect as qw, shallowReactive as Jw, nextTick as da, resolveComponent as wh, createBlock as fu, openBlock as ur, createElementBlock as on, normalizeClass as bh, renderSlot as rn, computed as ss, createElementVNode as nr, createTextVNode as Gw, toDisplayString as kh, normalizeStyle as Yw, resolveDynamicComponent as Qw, normalizeProps as Ii, guardReactiveProps as Ri, withCtx as Sh, createVNode as hu, defineComponent as du, useAttrs as xh, unref as pu, useSlots as Kw, ref as En, onUpdated as Hw, Fragment as Xw, watch as _f } from "vue";
3
3
  import { d as Hr, m as eb, y as Kt, p as mu, h as tb } from "./___vite-browser-external_commonjs-proxy-4gYZYw55.js";
4
4
  import pa from "@opentiny/vue-notify";
@@ -13343,7 +13343,7 @@ const uO = (n, e) => {
13343
13343
  props: {
13344
13344
  content: {},
13345
13345
  generating: { type: Boolean },
13346
- isJsonComplete: { type: Boolean },
13346
+ isJsonComplete: { type: Boolean, default: !0 },
13347
13347
  customComponents: {},
13348
13348
  customActions: {},
13349
13349
  requiredCompleteFieldSelectors: {},
@@ -13429,7 +13429,7 @@ const uO = (n, e) => {
13429
13429
  }, void 0, !0)
13430
13430
  ]));
13431
13431
  }
13432
- }), YO = /* @__PURE__ */ Mb(fO, [["__scopeId", "data-v-72c921a9"]]);
13432
+ }), YO = /* @__PURE__ */ Mb(fO, [["__scopeId", "data-v-c55c62e4"]]);
13433
13433
  export {
13434
13434
  YO as G,
13435
13435
  PE as J,
package/dist/chat.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D as e, E as t, G as E, I as r, M as n, T as o, e as I, s as G, b as T, t as u, u as N, a as i } from "./chat.types-Bz1iNdhu.js";
1
+ import { D as e, E as t, G as E, I as r, M as n, T as o, e as I, s as G, b as T, t as u, u as N, a as i } from "./chat.types-Cqd67Yp-.js";
2
2
  import { C as M, b as U, G as _, a as g, c, u as l } from "./injection-tokens-D8CFCpjy.js";
3
3
  export {
4
4
  M as CUSTOM_CONTEXT,
@@ -6,7 +6,7 @@ import { BaseModelProvider as vt, STATUS as H, GeneratingStatus as oe, AIClient
6
6
  import { IconFileRemove as _t, IconArrowDown as ye, IconLoading as wt, IconPlugin as ke, IconError as Ct, IconCancelled as bt, IconUser as Mt, IconAi as St } from "@opentiny/tiny-robot-svgs";
7
7
  import { TinyNotify as xe, TinyPopover as Rt } from "@opentiny/vue";
8
8
  import { u as $, _ as ee, b as kt, C as xt } from "./injection-tokens-D8CFCpjy.js";
9
- import { a as Ee, y as Te, G as Et, c as Tt } from "./SchemaCardRenderer-CdV5OdhD.js";
9
+ import { a as Ee, y as Te, G as Et, c as Tt } from "./SchemaCardRenderer-Bjn61C0M.js";
10
10
  import { iconChevronRight as It, iconOperationfaild as Ft } from "@opentiny/vue-icon";
11
11
  import { v4 as At } from "uuid";
12
12
  const Dt = (t) => t.map((s) => ({
package/dist/index.d.ts CHANGED
@@ -84,7 +84,9 @@ setMessageRenderer: (key: string, renderer: Component<IRendererProps>) => void;
84
84
  messagesContainer: HTMLDivElement;
85
85
  }, HTMLDivElement>;
86
86
 
87
- declare const __VLS_component_2: DefineComponent<IRendererProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
87
+ declare const __VLS_component_2: DefineComponent<IRendererProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IRendererProps> & Readonly<{}>, {
88
+ isJsonComplete: boolean;
89
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
88
90
  rendererInstance: any;
89
91
  }, HTMLDivElement>;
90
92
 
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { D as s, E as r, G as t, I as E, M as o, T as n, e as i, s as u, b as G, t as I, u as T, a as C } from "./chat.types-Bz1iNdhu.js";
1
+ import { D as s, E as r, G as t, I as E, M as o, T as n, e as i, s as u, b as G, t as I, u as T, a as C } from "./chat.types-Cqd67Yp-.js";
2
2
  import { C as d, b as m, G as R, a as _, c as l, u as M } from "./injection-tokens-D8CFCpjy.js";
3
- import { G as g, J as p, r as U } from "./SchemaCardRenderer-CdV5OdhD.js";
3
+ import { G as g, J as p, r as U } from "./SchemaCardRenderer-Bjn61C0M.js";
4
4
  import { C as f, u as x } from "./ConfigProvider-BaJsiFgd.js";
5
5
  export {
6
6
  d as CUSTOM_CONTEXT,
@@ -5,7 +5,9 @@ import { DefineComponent } from 'vue';
5
5
  import { PublicProps } from 'vue';
6
6
  import { VNode } from 'vue';
7
7
 
8
- declare const __VLS_component: DefineComponent<IRendererProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IRendererProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
8
+ declare const __VLS_component: DefineComponent<IRendererProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IRendererProps> & Readonly<{}>, {
9
+ isJsonComplete: boolean;
10
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
9
11
  rendererInstance: any;
10
12
  }, HTMLDivElement>;
11
13
 
package/dist/renderer.js CHANGED
@@ -1,4 +1,4 @@
1
- import { G as o, r as d } from "./SchemaCardRenderer-CdV5OdhD.js";
1
+ import { G as o, r as d } from "./SchemaCardRenderer-Bjn61C0M.js";
2
2
  export {
3
3
  o as GenuiRenderer,
4
4
  d as requiredCompleteFieldSelectors