PageSourceSearch

https://res-static.opentiny.design/tinyui-design/0.1.0/home/assets…ets-js-utils-config-CdPnDijU-js-BA1FAaVi.js

js opentiny.design collected 2026-10-03 22:50:12 UTC 2,506 bytes, 53 lines download raw bytes

1const o="https://docs.opentiny.design/genui-sdk",m={devDoc:`${o}/guide/quick-start`,playground:null,playgroundBuilder:null,chatDoc:`${o}/components/chat`,dcologicalCompatibility:`${o}/examples/chat/custom-fetch`,defineTheme:`${o}/examples/config-provider/theme`,defineComponent:`${o}/examples/chat/custom-components`,defineAction:`${o}/examples/chat/custom-actions`,multiTechnology:`${o}/components/angular/renderer`,moreFeatures:`${o}/examples/chat/custom-examples`};var d=(e=>(e.DevDoc="devDoc",e.Playground="playground",e.PlaygroundBuilder="playgroundBuilder",e.ChatDoc="chatDoc",e.DcologicalCompatibility="dcologicalCompatibility",e.DefineTheme="defineTheme",e.DefineComponent="defineComponent",e.DefineAction="defineAction",e.MultiTechnology="multiTechnology",e.MoreFeatures="moreFeatures",e))(d||{});function h(e){window.open(m[e],"_blank","noopener,noreferrer")}function g(e,i){let t=null,r=0;return function(...p){const l=Date.now(),a=l-r;if(a>=i)t&&(clearTimeout(t),t=null),r=l,e.apply(this,p);else{t&&clearTimeout(t);const n=i-a;t=setTimeout(()=>{r=Date.now(),t=null,e.apply(this,p)},n)}}}const f={step1:`
2<script setup lang="ts">
3import { GenuiChat } from '@opentiny/genui-sdk-vue';
4<\/script>
5
6<template>
7  <GenuiChat />
8</template>
9
10<style>
11body,
12html {
13  padding: 0;
14  margin: 0;
15}
16#app {
17  position: fixed;
18  width: 100vw;
19  height: 100vh;
20}
21.tiny-config-provider {
22  height: 100%;
23}
24</style>
25  `,step2:`
26<script setup lang="ts">
27import { ref } from 'vue'; 
28import { GenuiChat } from '@opentiny/genui-sdk-vue';
29
30const url = 'https://your-chat-backend/api'; 
31const model = ref('deepseek-v3.2'); 
32const temperature = ref(0.7); 
33<\/script>
34
35<template>
36  <GenuiChat :url="url" :model="model" :temperature="temperature" />  
37</template>
38  `,step3:`
39<script setup lang="ts">
40import { ref } from 'vue';
41import { GenuiChat, ConfigProvider } from '@opentiny/genui-sdk-vue'; 
42
43const url = 'https://your-chat-backend/api';
44const model = ref('deepseek-v3.2');
45const temperature = ref(0.7);
46<\/script>
47
48<template>
49  <ConfigProvider theme="dark">
50    <GenuiChat :url="url" :model="model" :temperature="temperature" />
51  </ConfigProvider>
52</template>
53  `},y=(e,i=30)=>{const t={componentName:e.componentName,state:e.state,methods:e.methods},r=e.children||[],p=JSON.stringify(t).slice(0,-1)+',"children":',l=JSON.stringify(r),a=l.length,n=[p];for(let s=0;s<a;s+=i){const c=Math.min(s+i,a),u=l.substring(s,c);n.push(u)}return n.length>0&&(n[n.length-1]+="}"),n};export{f as C,m as d,h as f,g,d as h,y as v};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.