diff --git a/src/components/icon-font/iconfont/iconfont.css b/src/components/icon-font/iconfont/iconfont.css index afd05784..e1b70bcf 100644 --- a/src/components/icon-font/iconfont/iconfont.css +++ b/src/components/icon-font/iconfont/iconfont.css @@ -1,9 +1,8 @@ @font-face { font-family: iconfont; /* Project id 4613488 */ - src: - url('iconfont.woff2?t=1744337857781') format('woff2'), - url('iconfont.woff?t=1744337857781') format('woff'), - url('iconfont.ttf?t=1744337857781') format('truetype'); + src: url('iconfont.woff2?t=1746695264114') format('woff2'), + url('iconfont.woff?t=1746695264114') format('woff'), + url('iconfont.ttf?t=1746695264114') format('truetype'); } .iconfont { @@ -14,314 +13,335 @@ -moz-osx-font-smoothing: grayscale; } -.icon-uncollapse_all::before { - content: '\e657'; +.icon-theme-auto-1::before { + content: "\e660"; } -.icon-collapse::before { - content: '\e656'; +.icon-theme-auto::before { + content: "\e663"; } -.icon-rocket-launch::before { - content: '\e689'; +.icon-auto-theme-1::before { + content: "\e664"; } -.icon-user-filled::before { - content: '\e625'; -} - -.icon-assistant::before { - content: '\e62d'; -} - -.icon-assistant-filled::before { - content: '\e847'; -} - -.icon-save3::before { - content: '\e655'; -} - -.icon-fankuifaqs::before { - content: '\e7bf'; -} - -.icon-issues::before { - content: '\e816'; -} - -.icon-neicun::before { - content: '\e688'; -} - -.icon-collapse_all::before { - content: '\e66f'; -} - -.icon-down::before { - content: '\e654'; -} - -.icon-fenxiang::before { - content: '\e604'; -} - -.icon-mosaic-2::before { - content: '\e64f'; -} - -.icon-stars::before { - content: '\e8a8'; -} - -.icon-mosaic::before { - content: '\e636'; -} - -.icon-outline-play::before { - content: '\e653'; -} - -.icon-SelectionInverse::before { - content: '\eace'; -} - -.icon-justice1::before { - content: '\e652'; -} - -.icon-New_img::before { - content: '\e733'; -} - -.icon-new_release_outlined::before { - content: '\e66c'; -} - -.icon-new-releases::before { - content: '\e60f'; -} - -.icon-catalog::before { - content: '\e62b'; -} - -.icon-save2::before { - content: '\e635'; -} - -.icon-left-template::before { - content: '\e62a'; -} - -.icon-logs::before { - content: '\e6ec'; -} - -.icon-gpu::before { - content: '\e71e'; -} - -.icon-filled-gpu::before { - content: '\e6de'; -} - -.icon-outline-gpu::before { - content: '\e641'; -} - -.icon-ts-tubiao_webserver::before { - content: '\e716'; -} - -.icon-server::before { - content: '\e66a'; -} - -.icon-host::before { - content: '\e7c6'; -} - -.icon-playcircle::before { - content: '\e80f'; -} - -.icon-recreate::before { - content: '\e6a5'; -} - -.icon-save1::before { - content: '\e647'; -} - -.icon-save::before { - content: '\e67c'; -} - -.icon-upload_image::before { - content: '\e613'; -} - -.icon-sound-wave::before { - content: '\e619'; -} - -.icon-rank1::before { - content: '\e7cb'; -} - -.icon-cube::before { - content: '\e769'; -} - -.icon-speaker-slash::before { - content: '\ebb6'; -} - -.icon-random::before { - content: '\e603'; -} - -.icon-suijisenlin::before { - content: '\e60e'; -} - -.icon-stop2::before { - content: '\e8db'; -} - -.icon-stop::before { - content: '\e60b'; -} - -.icon-image::before { - content: '\e62c'; -} - -.icon-stopcircle-fill::before { - content: '\e7cc'; -} - -.icon-playcircle-fill::before { - content: '\e7cd'; -} - -.icon-SpeakerSlash::before { - content: '\e661'; -} - -.icon-SpeakerHigh::before { - content: '\e670'; -} - -.icon-user_voice::before { - content: '\e667'; -} - -.icon-audio::before { - content: '\e985'; -} - -.icon-hard-disk::before { - content: '\eb1d'; -} - -.icon-new::before { - content: '\e612'; -} - -.icon-tu2::before { - content: '\e607'; -} - -.icon-robot::before { - content: '\e634'; -} - -.icon-robot1::before { - content: '\e602'; -} - -.icon-aizhineng::before { - content: '\e672'; -} - -.icon-copy::before { - content: '\e720'; -} - -.icon-AIzhineng::before { - content: '\e608'; -} - -.icon-cols_6::before { - content: '\e651'; +.icon-auto-theme::before { + content: "\e662"; } .icon-cols_3::before { - content: '\e650'; + content: "\e65c"; +} + +.icon-cols_6::before { + content: "\e65d"; } .icon-cols_2::before { - content: '\e64e'; + content: "\e65e"; } .icon-cols_4::before { - content: '\e64d'; + content: "\e65f"; +} + +.icon-a-save1::before { + content: "\e65b"; +} + +.icon-uncollapse_all::before { + content: "\e657"; +} + +.icon-collapse::before { + content: "\e656"; +} + +.icon-rocket-launch::before { + content: "\e689"; +} + +.icon-user-filled::before { + content: "\e625"; +} + +.icon-assistant::before { + content: "\e62d"; +} + +.icon-assistant-filled::before { + content: "\e847"; +} + +.icon-save3::before { + content: "\e655"; +} + +.icon-fankuifaqs::before { + content: "\e7bf"; +} + +.icon-issues::before { + content: "\e816"; +} + +.icon-neicun::before { + content: "\e688"; +} + +.icon-collapse_all::before { + content: "\e66f"; +} + +.icon-down::before { + content: "\e654"; +} + +.icon-fenxiang::before { + content: "\e604"; +} + +.icon-mosaic-2::before { + content: "\e64f"; +} + +.icon-stars::before { + content: "\e8a8"; +} + +.icon-mosaic::before { + content: "\e636"; +} + +.icon-outline-play::before { + content: "\e653"; +} + +.icon-SelectionInverse::before { + content: "\eace"; +} + +.icon-justice1::before { + content: "\e652"; +} + +.icon-New_img::before { + content: "\e733"; +} + +.icon-new_release_outlined::before { + content: "\e66c"; +} + +.icon-new-releases::before { + content: "\e60f"; +} + +.icon-catalog::before { + content: "\e62b"; +} + +.icon-save2::before { + content: "\e635"; +} + +.icon-left-template::before { + content: "\e62a"; +} + +.icon-logs::before { + content: "\e6ec"; +} + +.icon-gpu::before { + content: "\e71e"; +} + +.icon-filled-gpu::before { + content: "\e6de"; +} + +.icon-outline-gpu::before { + content: "\e641"; +} + +.icon-ts-tubiao_webserver::before { + content: "\e716"; +} + +.icon-server::before { + content: "\e66a"; +} + +.icon-host::before { + content: "\e7c6"; +} + +.icon-playcircle::before { + content: "\e80f"; +} + +.icon-recreate::before { + content: "\e6a5"; +} + +.icon-save1::before { + content: "\e647"; +} + +.icon-save::before { + content: "\e67c"; +} + +.icon-upload_image::before { + content: "\e613"; +} + +.icon-sound-wave::before { + content: "\e619"; +} + +.icon-rank1::before { + content: "\e7cb"; +} + +.icon-cube::before { + content: "\e769"; +} + +.icon-speaker-slash::before { + content: "\ebb6"; +} + +.icon-random::before { + content: "\e603"; +} + +.icon-suijisenlin::before { + content: "\e60e"; +} + +.icon-stop2::before { + content: "\e8db"; +} + +.icon-stop::before { + content: "\e60b"; +} + +.icon-image::before { + content: "\e62c"; +} + +.icon-stopcircle-fill::before { + content: "\e7cc"; +} + +.icon-playcircle-fill::before { + content: "\e7cd"; +} + +.icon-SpeakerSlash::before { + content: "\e661"; +} + +.icon-SpeakerHigh::before { + content: "\e670"; +} + +.icon-user_voice::before { + content: "\e667"; +} + +.icon-audio::before { + content: "\e985"; +} + +.icon-hard-disk::before { + content: "\eb1d"; +} + +.icon-new::before { + content: "\e612"; +} + +.icon-tu2::before { + content: "\e607"; +} + +.icon-robot::before { + content: "\e634"; +} + +.icon-robot1::before { + content: "\e602"; +} + +.icon-aizhineng::before { + content: "\e672"; +} + +.icon-copy::before { + content: "\e720"; +} + +.icon-AIzhineng::before { + content: "\e608"; } .icon-clear::before { - content: '\e60a'; + content: "\e60a"; } .icon-keyboard::before { - content: '\e61b'; + content: "\e61b"; } .icon-networkerror::before { - content: '\e624'; + content: "\e624"; } .icon-external-link::before { - content: '\e66b'; + content: "\e66b"; } .icon-huggingface::before { - content: '\e7d1'; + content: "\e7d1"; } .icon-ollama::before { - content: '\e601'; + content: "\e601"; } .icon-a-layout6-line::before { - content: '\e9ef'; + content: "\e9ef"; } .icon-a-Layout5::before { - content: '\e610'; + content: "\e610"; } .icon-English::before { - content: '\e8b3'; + content: "\e8b3"; } .icon-chinese::before { - content: '\e611'; + content: "\e611"; } .icon-yingguo::before { - content: '\e606'; + content: "\e606"; } .icon-code::before { - content: '\e84f'; + content: "\e84f"; } .icon-stop1::before { - content: '\e783'; + content: "\e783"; } .icon-command::before { - content: '\e600'; + content: "\e600"; } + diff --git a/src/components/icon-font/iconfont/iconfont.js b/src/components/icon-font/iconfont/iconfont.js index 32c6ec9d..388a4335 100644 --- a/src/components/icon-font/iconfont/iconfont.js +++ b/src/components/icon-font/iconfont/iconfont.js @@ -1,70 +1 @@ -(window._iconfont_svg_string_4613488 = - ''), - ((h) => { - var l = (a = (a = document.getElementsByTagName('script'))[ - a.length - 1 - ]).getAttribute('data-injectcss'), - a = a.getAttribute('data-disable-injectsvg'); - if (!a) { - var c, - v, - z, - t, - i, - o = function (l, a) { - a.parentNode.insertBefore(l, a); - }; - if (l && !h.__iconfont__svg__cssinject__) { - h.__iconfont__svg__cssinject__ = !0; - try { - document.write( - '' - ); - } catch (l) { - console && console.log(l); - } - } - (c = function () { - var l, - a = document.createElement('div'); - (a.innerHTML = h._iconfont_svg_string_4613488), - (a = a.getElementsByTagName('svg')[0]) && - (a.setAttribute('aria-hidden', 'true'), - (a.style.position = 'absolute'), - (a.style.width = 0), - (a.style.height = 0), - (a.style.overflow = 'hidden'), - (a = a), - (l = document.body).firstChild - ? o(a, l.firstChild) - : l.appendChild(a)); - }), - document.addEventListener - ? ~['complete', 'loaded', 'interactive'].indexOf(document.readyState) - ? setTimeout(c, 0) - : ((v = function () { - document.removeEventListener('DOMContentLoaded', v, !1), c(); - }), - document.addEventListener('DOMContentLoaded', v, !1)) - : document.attachEvent && - ((z = c), - (t = h.document), - (i = !1), - p(), - (t.onreadystatechange = function () { - 'complete' == t.readyState && - ((t.onreadystatechange = null), m()); - })); - } - function m() { - i || ((i = !0), z()); - } - function p() { - try { - t.documentElement.doScroll('left'); - } catch (l) { - return void setTimeout(p, 50); - } - m(); - } - })(window); +window._iconfont_svg_string_4613488='',(h=>{var l=(a=(a=document.getElementsByTagName("script"))[a.length-1]).getAttribute("data-injectcss"),a=a.getAttribute("data-disable-injectsvg");if(!a){var c,z,v,t,o,i=function(l,a){a.parentNode.insertBefore(l,a)};if(l&&!h.__iconfont__svg__cssinject__){h.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(l){console&&console.log(l)}}c=function(){var l,a=document.createElement("div");a.innerHTML=h._iconfont_svg_string_4613488,(a=a.getElementsByTagName("svg")[0])&&(a.setAttribute("aria-hidden","true"),a.style.position="absolute",a.style.width=0,a.style.height=0,a.style.overflow="hidden",a=a,(l=document.body).firstChild?i(a,l.firstChild):l.appendChild(a))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(c,0):(z=function(){document.removeEventListener("DOMContentLoaded",z,!1),c()},document.addEventListener("DOMContentLoaded",z,!1)):document.attachEvent&&(v=c,t=h.document,o=!1,p(),t.onreadystatechange=function(){"complete"==t.readyState&&(t.onreadystatechange=null,m())})}function m(){o||(o=!0,v())}function p(){try{t.documentElement.doScroll("left")}catch(l){return void setTimeout(p,50)}m()}})(window); \ No newline at end of file diff --git a/src/components/icon-font/iconfont/iconfont.json b/src/components/icon-font/iconfont/iconfont.json index b023f5a4..42a5f228 100644 --- a/src/components/icon-font/iconfont/iconfont.json +++ b/src/components/icon-font/iconfont/iconfont.json @@ -5,6 +5,69 @@ "css_prefix_text": "icon-", "description": "", "glyphs": [ + { + "icon_id": "44094552", + "name": "theme-auto-1", + "font_class": "theme-auto-1", + "unicode": "e660", + "unicode_decimal": 58976 + }, + { + "icon_id": "44094551", + "name": "theme-auto", + "font_class": "theme-auto", + "unicode": "e663", + "unicode_decimal": 58979 + }, + { + "icon_id": "44094550", + "name": "theme", + "font_class": "auto-theme-1", + "unicode": "e664", + "unicode_decimal": 58980 + }, + { + "icon_id": "44092227", + "name": "routine_36dp_1F1F1F_FILL0_wght400_GRAD0_opsz24", + "font_class": "auto-theme", + "unicode": "e662", + "unicode_decimal": 58978 + }, + { + "icon_id": "44086334", + "name": "cols_3", + "font_class": "cols_3", + "unicode": "e65c", + "unicode_decimal": 58972 + }, + { + "icon_id": "44086333", + "name": "cols_6", + "font_class": "cols_6", + "unicode": "e65d", + "unicode_decimal": 58973 + }, + { + "icon_id": "44086332", + "name": "cols_2", + "font_class": "cols_2", + "unicode": "e65e", + "unicode_decimal": 58974 + }, + { + "icon_id": "44086331", + "name": "cols_4", + "font_class": "cols_4", + "unicode": "e65f", + "unicode_decimal": 58975 + }, + { + "icon_id": "44065884", + "name": "save", + "font_class": "a-save1", + "unicode": "e65b", + "unicode_decimal": 58971 + }, { "icon_id": "43808249", "name": "uncollapse_all", @@ -425,34 +488,6 @@ "unicode": "e608", "unicode_decimal": 58888 }, - { - "icon_id": "41755257", - "name": "cols_6", - "font_class": "cols_6", - "unicode": "e651", - "unicode_decimal": 58961 - }, - { - "icon_id": "41755178", - "name": "cols_3", - "font_class": "cols_3", - "unicode": "e650", - "unicode_decimal": 58960 - }, - { - "icon_id": "41754685", - "name": "cols_2", - "font_class": "cols_2", - "unicode": "e64e", - "unicode_decimal": 58958 - }, - { - "icon_id": "41754565", - "name": "cols_4", - "font_class": "cols_4", - "unicode": "e64d", - "unicode_decimal": 58957 - }, { "icon_id": "36263088", "name": "clear", diff --git a/src/components/icon-font/iconfont/iconfont.ttf b/src/components/icon-font/iconfont/iconfont.ttf index c84ac48f..b7952325 100644 Binary files a/src/components/icon-font/iconfont/iconfont.ttf and b/src/components/icon-font/iconfont/iconfont.ttf differ diff --git a/src/components/icon-font/iconfont/iconfont.woff b/src/components/icon-font/iconfont/iconfont.woff index 7bef8dc4..66a2dbba 100644 Binary files a/src/components/icon-font/iconfont/iconfont.woff and b/src/components/icon-font/iconfont/iconfont.woff differ diff --git a/src/components/icon-font/iconfont/iconfont.woff2 b/src/components/icon-font/iconfont/iconfont.woff2 index 52113ff2..03334e00 100644 Binary files a/src/components/icon-font/iconfont/iconfont.woff2 and b/src/components/icon-font/iconfont/iconfont.woff2 differ diff --git a/src/components/icon-font/index.tsx b/src/components/icon-font/index.tsx index 9600ccfa..2c4fbc7b 100644 --- a/src/components/icon-font/index.tsx +++ b/src/components/icon-font/index.tsx @@ -1,8 +1,8 @@ import { createFromIconfontCN } from '@ant-design/icons'; -// import './iconfont/iconfont.js'; +import './iconfont/iconfont.js'; const IconFont = createFromIconfontCN({ - scriptUrl: '//at.alicdn.com/t/c/font_4613488_dy3zc0nrfgk.js' + scriptUrl: '' }); export default IconFont; diff --git a/src/pages/llmodels/config/button-actions.ts b/src/pages/llmodels/config/button-actions.ts index a565e754..041f6edb 100644 --- a/src/pages/llmodels/config/button-actions.ts +++ b/src/pages/llmodels/config/button-actions.ts @@ -132,13 +132,6 @@ export const onLineSourceOptions = [ key: 'huggingface', icon: icons.HF }, - { - label: 'Ollama Library', - locale: false, - value: modelSourceMap.ollama_library_value, - key: 'ollama_library', - icon: icons.Ollama - }, { label: 'ModelScope', locale: false, @@ -152,6 +145,13 @@ export const onLineSourceOptions = [ value: modelSourceMap.local_path_value, key: 'local_path', icon: icons.LocalPath + }, + { + label: 'Ollama Library', + locale: false, + value: modelSourceMap.ollama_library_value, + key: 'ollama_library', + icon: icons.Ollama } ];