From b23d8b504d857ef6585e5268cdbed8dc1939699d Mon Sep 17 00:00:00 2001 From: jelveh Date: Sat, 17 May 2025 14:17:56 -0700 Subject: [PATCH] Remove Spinner.js --- src/gui/src/UI/Components/Spinner.js | 65 ---------------------------- src/gui/src/init_async.js | 1 - 2 files changed, 66 deletions(-) delete mode 100644 src/gui/src/UI/Components/Spinner.js diff --git a/src/gui/src/UI/Components/Spinner.js b/src/gui/src/UI/Components/Spinner.js deleted file mode 100644 index 1e1cbc62e..000000000 --- a/src/gui/src/UI/Components/Spinner.js +++ /dev/null @@ -1,65 +0,0 @@ -/** - * Copyright (C) 2024-present Puter Technologies Inc. - * - * This file is part of Puter. - * - * Puter is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published - * by the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - */ - - -const Component = use('util.Component'); - -export default def(class Spinner extends Component { - static ID = 'ui.component.Spinner'; - - static PROPERTIES = { - size: { - value: 24, - }, - } - // static RENDER_MODE = Component.NO_SHADOW; - - create_template ({ template }) { - const size = '' + Number(this.get('size')); - - template.innerHTML = /*html*/` -
- - circle anim - - - - - - - - -
- `; - } -}); diff --git a/src/gui/src/init_async.js b/src/gui/src/init_async.js index caa88a885..a5cdf1ba6 100644 --- a/src/gui/src/init_async.js +++ b/src/gui/src/init_async.js @@ -22,7 +22,6 @@ logger.info('start -> async initialization'); import './util/TeePromise.js'; import './util/Component.js'; import './util/Collector.js'; -import './UI/Components/Spinner.js'; import './UI/UIElement.js'; import './UI/UIWindowSaveAccount.js'; import './UI/UIWindowEmailConfirmationRequired.js';