import { Frame, FrameTitle, RibStrip, ShallowPanel, InsetPanel, ListFrame, SubheaderFrame, TabbedPaneFrame, Panel } from "../../../src/view/widgets/frame.slint";
import { Tab } from "../../../src/view/widgets/tabs.slint";
import { Pieces } from "../../../src/view/widgets/pieces.slint";
import { Nine, Label, Theme } from "../../../src/view/widgets/base.slint";
import { Button } from "../../../src/view/widgets/button.slint";
import { ToolButton } from "../../../src/view/widgets/tool-button.slint";
import { TableHeader, TableRow, EmptyList } from "../../../src/view/widgets/table.slint";
import { InfoTable } from "../../../src/view/widgets/info-table.slint";
import { DependencyLine } from "../../../src/view/widgets/link.slint";
import { ThumbnailFrame } from "../../../src/view/widgets/thumbnail.slint";
import { SearchField, TextField } from "../../../src/view/widgets/text-field.slint";
import { Dropdown } from "../../../src/view/widgets/dropdown.slint";
import { FilterHeading, FilterRow, BanToggle } from "../../../src/view/widgets/filter.slint";
import { Scrollbar } from "../../../src/view/widgets/scrollbar.slint";
import { ErrorBanner } from "../../../src/view/widgets/banner.slint";
export component ManageScene {
width: 1444px; height: 949px;
Frame { x: 4px; y: 8px; width: 1436px; height: 930px; glow: false; }
FrameTitle { x: 16px; y: 13px; text: "Mods"; }
RibStrip { x: 72px; y: 16px; width: 1356px; height: 24px; header: true; }
InsetPanel { x: 16px; y: 48px; width: 800px; height: 834px; }
Rectangle { x: 20px; y: 52px; width: 792px; height: 44px; background: #242324; }
Tab { x: 112px; y: 60px; width: 84px; height: 36px; text: "Explore"; has-left: true; has-right: true; state: "default"; }
Tab { x: 196px; y: 60px; width: 84px; height: 36px; text: "Updates"; badge: true; has-left: true; state: "default"; }
TabbedPaneFrame { x: 16px; y: 96px; width: 800px; height: 786px; }
Tab { x: 28px; y: 60px; width: 84px; height: 40px; text: "Manage"; selected: true; has-right: true; state: "default"; }
Rectangle { x: 16px; y: 96px; width: 800px; height: 786px; clip: true; Nine { x: 0px; y: -48px; width: 800px; height: 834px; source: Pieces.inside-shallow-frame-default-shadow; } }
ListFrame { inner-shadow: false; x: 28px; y: 108px; width: 776px; height: 762px; }
SubheaderFrame { x: 28px; y: 108px; width: 776px; height: 36px; }
ShallowPanel { x: 828px; y: 48px; width: 600px; height: 834px; }
SubheaderFrame { x: 828px; y: 48px; width: 600px; height: 36px; }
Label { x: 840px; y: 53px; text: "!skins (Skins Factored)"; font-weight: 700; color: Theme.caption; }
Button { x: 1284px; y: 51px; width: 108px; height: 28px; text: "Changelog"; state: "default"; }
ToolButton { x: 1396px; y: 51px; width: 28px; height: 28px; kind: "red"; icon: "trash"; state: "default"; }
ToolButton { x: 772px; y: 111px; width: 28px; height: 28px; state: "default"; }
TableHeader { x: 28px; y: 144px; width: 776px; height: 28px; }
TableRow { x: 28px; y: 172px; width: 776px; height: 28px; text: "Base mod"; version: "2.0.77"; checked: true; enabled: false; state: "default"; }
TableRow { x: 28px; y: 284px; width: 776px; height: 28px; text: "!skins (Skins Factored)"; version: "1.3.2"; selected: true; state: "default"; }
TableRow { x: 28px; y: 312px; width: 776px; height: 28px; text: "Adjustable Flashlight"; version: "0.1.0"; disabled-text: true; state: "default"; }
TableRow { x: 28px; y: 732px; width: 776px; height: 28px; text: "Vaporeon Character"; version: "0.1.8"; disabled-text: true; state: "default"; }
EmptyList { x: 28px; y: 762px; width: 776px; height: 104px; }
TableRow { x: 28px; y: 480px; width: 776px; height: 28px; state: "default"; }
InfoTable { x: 840px; y: 252px; width: 576px; height: 204px;
rows: [{key:"Status",value:"Disabled",link:false,dependency:false}, {key:"Version",value:"1.3.2",link:false,dependency:false}, {key:"Author",value:"Penguin_Spy",link:false,dependency:false}, {key:"Mod portal",value:"https://mods.factorio.com/mod/skins-factored",link:true,dependency:false}, {key:"Factorio version",value:"2.0",link:false,dependency:false}, {key:"Dependencies",value:"informatron >= 0.4.0 (optional)",link:false,dependency:true}];
}
ThumbnailFrame { source: @image-url("../../../assets/game/icons1x/space-age.png"); x: 1272px; y: 96px; width: 144px; height: 144px; }
Rectangle { x: 828px; y: 48px; width: 600px; height: 36px; clip: true; Nine { x: 0px; y: 0px; width: 600px; height: 834px; source: Pieces.inside-shallow-frame-default-shadow; } }
Nine { x: 28px; y: 108px; width: 776px; height: 762px; source: Pieces.scroll-pane-default-shadow; }
RibStrip { x: 136px; y: 894px; width: 1172px; height: 32px; }
}
export component ExploreScene {
width: 1452px; height: 946px;
Frame { x: 6px; y: 6px; width: 1436px; height: 930px; glow: false; }
ShallowPanel { x: 830px; y: 46px; width: 600px; height: 834px; }
SubheaderFrame { x: 830px; y: 46px; width: 600px; height: 36px; }
Button { x: 1318px; y: 49px; width: 108px; height: 28px; text: "Changelog"; state: "disabled"; }
ListFrame { inner-shadow: false; x: 30px; y: 106px; width: 188px; height: 762px; }
ListFrame { x: 230px; y: 106px; width: 576px; height: 762px; inner-shadow: false; }
SubheaderFrame { x: 230px; y: 106px; width: 576px; height: 36px; }
Label { x: 242px; y: 108px; height: 28px; vertical-alignment: center; text: "Sort by:"; font-weight: 700; color: Theme.caption; }
Dropdown { x: 299px; y: 109px; width: 150px; height: 28px; items:["Relevance","Downloads","Recently updated","Trending"]; state: "default"; }
FilterHeading { x: 38px; y: 114px; text: "Expansion"; }
FilterRow { x: 38px; y: 136px; width: 160px; height: 24px; text: "Space Age"; expansion: true; }
FilterHeading { x: 38px; y: 162px; text: "Categories"; }
FilterRow { x: 38px; y: 184px; width: 160px; height: 24px; text: "Content"; }
FilterRow { x: 38px; y: 352px; width: 160px; height: 24px; text: "Internal"; excluded: true; }
Scrollbar { x: 206px; y: 106px; width: 12px; height: 762px; thumb-height: 700px; state: "default"; }
Nine { x: 30px; y: 106px; width: 188px; height: 762px; source: Pieces.inside-deep-frame-default-shadow; }
Nine { x: 230px; y: 106px; width: 576px; height: 762px; source: Pieces.scroll-pane-default-shadow; }
ThumbnailFrame { x: 1274px; y: 94px; width: 144px; height: 144px; missing: true; }
}
export component UpdatesScene {
width: 1448px; height: 947px;
TabbedPaneFrame { x: 16px; y: 96px; width: 800px; height: 786px; }
ListFrame { inner-shadow: false; x: 28px; y: 108px; width: 776px; height: 762px; }
SubheaderFrame { x: 28px; y: 108px; width: 776px; height: 36px; }
Button { x: 648px; y: 111px; width: 120px; height: 28px; text: "Update selected"; state: "disabled"; }
ToolButton { x: 772px; y: 111px; width: 28px; height: 28px; icon: "refresh"; state: "default"; }
TableHeader { x: 28px; y: 144px; width: 776px; height: 28px; labels:["Name","Local version","New version"]; check-width: 30px; widths:[562px,94px,90px]; enabled: false; mixed: false; }
ErrorBanner { x: 28px; y: 172px; width: 776px; height: 60px; text: "Unable to check for updates: not logged in"; }
EmptyList { x: 28px; y: 230px; width: 776px; height: 640px; }
Nine { x: 28px; y: 108px; width: 776px; height: 762px; source: Pieces.scroll-pane-default-shadow; }
}