Skip to content

Commit

Permalink
chore: Upgrade the embedded WebUI to v25.2.0 (#3607)
Browse files Browse the repository at this point in the history
  • Loading branch information
HyeockJinKim authored Feb 7, 2025
1 parent deac456 commit 148a541
Show file tree
Hide file tree
Showing 275 changed files with 3,024 additions and 920 deletions.
201 changes: 102 additions & 99 deletions src/ai/backend/web/static/asset-manifest.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/ai/backend/web/static/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ enableModelStore = false # Enable model store feature. (From Back
enableLLMPlayground = false # Enable LLM Playground feature. (From Backend.AI 24.03)
enableExtendLoginSession = false # If true, enables login session extension UI. (From Backend.AI 24.09)
enableImportFromHuggingFace = false # Enable import from Hugging Face feature. (From Backend.AI 24.09)
showKernelList = false # Show kernel list in the session detail panel. (From Backend.AI 24.09)

[wsproxy]
proxyURL = "[Proxy URL]"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{_ as e,n as t,t as i,B as a,b as o,I as s,a as n,F as l,c as d,i as r,ax as c,ay as h,g,k as p,f as w,az as u}from"./backend-ai-webui-CrYAk2kU.js";let v=class extends a{constructor(){super(...arguments),this.webUIShell=Object(),this.clientConfig=Object(),this.client=Object(),this.notification=Object(),this.passwordChangeDialog=Object(),this.failDialog=Object(),this.token=""}static get styles(){return[o,s,n,l,d,r`
import{_ as e,n as t,t as i,B as a,b as o,I as s,a as n,F as l,c as d,i as r,ax as c,ay as h,g,k as p,f as w,az as u}from"./backend-ai-webui-CPozzKCP.js";let v=class extends a{constructor(){super(...arguments),this.webUIShell=Object(),this.clientConfig=Object(),this.client=Object(),this.notification=Object(),this.passwordChangeDialog=Object(),this.failDialog=Object(),this.token=""}static get styles(){return[o,s,n,l,d,r`
mwc-textfield {
width: 100%;
}
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{_ as i,n as e,t,B as o,b as a,I as s,a as l,F as n,c,i as d,ax as r,ay as h,g as f,k as g,f as v}from"./backend-ai-webui-CrYAk2kU.js";let p=class extends o{constructor(){super(...arguments),this.webUIShell=Object(),this.clientConfig=Object(),this.client=Object(),this.notification=Object(),this.successDialog=Object(),this.failDialog=Object()}static get styles(){return[a,s,l,n,c,d`
import{_ as i,n as e,t,B as o,b as a,I as s,a as l,F as n,c,i as d,ax as r,ay as h,g as f,k as g,f as v}from"./backend-ai-webui-CPozzKCP.js";let p=class extends o{constructor(){super(...arguments),this.webUIShell=Object(),this.clientConfig=Object(),this.client=Object(),this.notification=Object(),this.successDialog=Object(),this.failDialog=Object()}static get styles(){return[a,s,l,n,c,d`
mwc-textfield {
width: 100%;
--mdc-text-field-fill-color: var(--general-menu-color);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{B as e,b as t,I as o,a as s,c as a,i as r,s as i,l as n,k as l,j as c,f as d,_ as u,n as m,t as v}from"./backend-ai-webui-CrYAk2kU.js";let h=class extends e{constructor(){super(...arguments),this.error_code=404}static get styles(){return[t,o,s,a,r`
import{B as e,b as t,I as o,a as s,c as a,i as r,s as i,l as n,k as l,j as c,f as d,_ as u,n as m,t as v}from"./backend-ai-webui-CPozzKCP.js";let h=class extends e{constructor(){super(...arguments),this.error_code=404}static get styles(){return[t,o,s,a,r`
.title {
font-size: 2em;
font-weight: bolder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{_ as t,n as e,e as o,t as i,B as a,b as n,I as s,a as r,c as l,i as c,g as h,d,k as p,f as u}from"./backend-ai-webui-CrYAk2kU.js";import"./backend-ai-resource-monitor-Bu68uqzh.js";import"./backend-ai-session-launcher-DTKcsfIH.js";import"./lablup-activity-panel-BGsBe4O_.js";import"./lablup-progress-bar-DHMPQCRx.js";import"./mwc-switch-DBXdshNs.js";import"./mwc-check-list-item-GAU3w8ue.js";let m=class extends a{constructor(){super(...arguments),this.condition="running",this.authenticated=!1,this.indicator=Object(),this.notification=Object(),this.requestURL="",this.queryString="",this.environment="python",this.importNotebookMessage="",this.importGithubMessage="",this.importGitlabMessage="",this.allowedGroups=[],this.allowed_folder_type=[],this.vhost="",this.vhosts=[],this.storageInfo=Object(),this._helpDescription="",this._helpDescriptionTitle="",this._helpDescriptionIcon="",this.sessionLauncherType="neo"}static get styles(){return[n,s,r,l,c`
import{_ as t,n as e,e as o,t as i,B as a,b as n,I as s,a as r,c as l,i as c,g as h,d,k as p,f as u}from"./backend-ai-webui-CPozzKCP.js";import"./backend-ai-resource-monitor-CJ07CZnA.js";import"./backend-ai-session-launcher-CH0-9Dy8.js";import"./lablup-activity-panel-DssS7o01.js";import"./lablup-progress-bar-BwhbSFLL.js";import"./mwc-switch-VyVUMibp.js";import"./mwc-check-list-item-2AdDY995.js";let m=class extends a{constructor(){super(...arguments),this.condition="running",this.authenticated=!1,this.indicator=Object(),this.notification=Object(),this.requestURL="",this.queryString="",this.environment="python",this.importNotebookMessage="",this.importGithubMessage="",this.importGitlabMessage="",this.allowedGroups=[],this.allowed_folder_type=[],this.vhost="",this.vhosts=[],this.storageInfo=Object(),this._helpDescription="",this._helpDescriptionTitle="",this._helpDescriptionIcon="",this.sessionLauncherType="neo"}static get styles(){return[n,s,r,l,c`
div.description {
font-size: 14px;
color: var(--token-colorTextSecondary, --general-sidebar-color);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{_ as t,n as s,e,t as i,h as a,i as o,k as l,B as d,b as n,I as p,a as c}from"./backend-ai-webui-CrYAk2kU.js";let r=class extends a{constructor(){super(...arguments),this.active=!1}static get styles(){return[o`
import{_ as t,n as s,e,t as i,h as a,i as o,k as l,B as d,b as n,I as p,a as c}from"./backend-ai-webui-CPozzKCP.js";let r=class extends a{constructor(){super(...arguments),this.active=!1}static get styles(){return[o`
.dots-box {
width: 100px;
background-color: transparent;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{_ as e,n as i,t,B as a,b as s,I as o,a as r,c as d,i as n,s as c,l,k as m,j as u,f as p}from"./backend-ai-webui-CrYAk2kU.js";let g=class extends a{constructor(){super(...arguments),this.error_code=401}static get styles(){return[s,o,r,d,n`
import{_ as e,n as i,t,B as a,b as s,I as o,a as r,c as d,i as n,s as c,l,k as m,j as u,f as p}from"./backend-ai-webui-CPozzKCP.js";let g=class extends a{constructor(){super(...arguments),this.error_code=401}static get styles(){return[s,o,r,d,n`
.title {
font-size: 2em;
font-weight: bolder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{_ as e,e as t,n as i,Z as o,t as r,h as s,b as a,I as l,a1 as n,a as c,F as d,c as u,i as p,k as h,B as v,d as m,Q as g,g as b,f}from"./backend-ai-webui-CrYAk2kU.js";import"./mwc-check-list-item-GAU3w8ue.js";import"./mwc-switch-DBXdshNs.js";import"./vaadin-item-cN1jHkT4.js";import"./vaadin-item-mixin-BPsCvSRg.js";var y;let x=y=class extends s{constructor(){super(),this.label="",this.validationMessage="",this.enableClearButton=!1,this.openUp=!1,this.required=!1,this._valid=!0,this.selectedItemList=[],this.items=[]}static get styles(){return[a,l,n,c,d,u,p`
import{_ as e,e as t,n as i,Z as o,t as r,h as s,b as a,I as l,a1 as n,a as c,F as d,c as u,i as p,k as h,B as v,d as m,Q as g,g as b,f}from"./backend-ai-webui-CPozzKCP.js";import"./mwc-check-list-item-2AdDY995.js";import"./mwc-switch-VyVUMibp.js";import"./vaadin-item-CyY-NEkB.js";import"./vaadin-item-mixin-BP0IQEoh.js";var y;let x=y=class extends s{constructor(){super(),this.label="",this.validationMessage="",this.enableClearButton=!1,this.openUp=!1,this.required=!1,this._valid=!0,this.selectedItemList=[],this.items=[]}static get styles(){return[a,l,n,c,d,u,p`
lablup-shields {
margin: 1px;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{_ as e,n as t,e as s,t as r,B as i,b as o,I as a,a as c,F as l,c as p,i as u,d as n,k as d,f as _}from"./backend-ai-webui-CrYAk2kU.js";import"./lablup-progress-bar-DHMPQCRx.js";import"./backend-ai-session-launcher-DTKcsfIH.js";import"./mwc-switch-DBXdshNs.js";let h=class extends i{constructor(){super(),this.is_connected=!1,this.direction="horizontal",this.location="",this.aliases=Object(),this.aggregate_updating=!1,this.project_resource_monitor=!1,this.active=!1,this.resourceBroker=globalThis.resourceBroker,this.notification=globalThis.lablupNotification,this.init_resource()}static get is(){return"backend-ai-resource-monitor"}static get styles(){return[o,a,c,l,p,u`
import{_ as e,n as t,e as s,t as r,B as i,b as o,I as a,a as c,F as l,c as p,i as u,d as n,k as d,f as _}from"./backend-ai-webui-CPozzKCP.js";import"./lablup-progress-bar-BwhbSFLL.js";import"./backend-ai-session-launcher-CH0-9Dy8.js";import"./mwc-switch-VyVUMibp.js";let h=class extends i{constructor(){super(),this.is_connected=!1,this.direction="horizontal",this.location="",this.aliases=Object(),this.aggregate_updating=!1,this.project_resource_monitor=!1,this.active=!1,this.resourceBroker=globalThis.resourceBroker,this.notification=globalThis.lablupNotification,this.init_resource()}static get is(){return"backend-ai-resource-monitor"}static get styles(){return[o,a,c,l,p,u`
mwc-linear-progress {
height: 5px;
--mdc-theme-primary: #98be5a;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{_ as a,t as e,B as s,b as t,I as i,a as r,i as n,k as d,s as l,l as o}from"./backend-ai-webui-CrYAk2kU.js";let c=class extends s{static get styles(){return[t,i,r,n``]}async _viewStateChanged(a){await this.updateComplete}render(){return d`
import{_ as a,t as e,B as s,b as t,I as i,a as r,i as n,k as d,s as l,l as o}from"./backend-ai-webui-CPozzKCP.js";let c=class extends s{static get styles(){return[t,i,r,n``]}async _viewStateChanged(a){await this.updateComplete}render(){return d`
<backend-ai-react-serving-list
@moveTo="${a=>{const e=a.detail.path,s=a.detail.params;globalThis.history.pushState({},"",e+"?folder="+s.folder),l.dispatch(o(decodeURIComponent(e),s))}}"
></backend-ai-react-serving-list>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 148a541

Please sign in to comment.