Внёс изменения что бы постоянно не обновляло версию каждого JS файла и не создавало кучу шума
This commit is contained in:
parent
619d2145f9
commit
e2a9caa07d
@ -5,9 +5,21 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
|
||||||
<link rel="manifest" href="./manifest.webmanifest" />
|
<link rel="manifest" href="./manifest.webmanifest" />
|
||||||
<title>Shine UI Demo</title>
|
<title>Shine UI Demo</title>
|
||||||
<link rel="stylesheet" href="./styles/main.css?v=20260407105357" />
|
<script>
|
||||||
<link rel="stylesheet" href="./styles/layout.css?v=20260407105357" />
|
window.__SHINE_BUILD_HASH__ = '20260407120000';
|
||||||
<link rel="stylesheet" href="./styles/components.css?v=20260407105357" />
|
</script>
|
||||||
|
<script>
|
||||||
|
(function attachStylesWithBuildHash() {
|
||||||
|
const v = encodeURIComponent(window.__SHINE_BUILD_HASH__ || 'dev');
|
||||||
|
const cssFiles = ['./styles/main.css', './styles/layout.css', './styles/components.css'];
|
||||||
|
cssFiles.forEach((file) => {
|
||||||
|
const link = document.createElement('link');
|
||||||
|
link.rel = 'stylesheet';
|
||||||
|
link.href = `${file}?v=${v}`;
|
||||||
|
document.head.appendChild(link);
|
||||||
|
});
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="app-shell">
|
<div class="app-shell">
|
||||||
@ -27,6 +39,14 @@
|
|||||||
};
|
};
|
||||||
window.__SHINE_FIREBASE_VAPID_KEY__ = '';
|
window.__SHINE_FIREBASE_VAPID_KEY__ = '';
|
||||||
</script>
|
</script>
|
||||||
<script type="module" src="./js/app.js?v=20260407105357"></script>
|
<script>
|
||||||
|
(function attachAppWithBuildHash() {
|
||||||
|
const v = encodeURIComponent(window.__SHINE_BUILD_HASH__ || 'dev');
|
||||||
|
const script = document.createElement('script');
|
||||||
|
script.type = 'module';
|
||||||
|
script.src = `./js/app.js?v=${v}`;
|
||||||
|
document.body.appendChild(script);
|
||||||
|
}());
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import { navigate, getRoute, PRE_AUTH_PAGES } from './router.js?v=20260407105357';
|
import { navigate, getRoute, PRE_AUTH_PAGES } from './router.js';
|
||||||
import { renderToolbar } from './components/toolbar.js?v=20260407105357';
|
import { renderToolbar } from './components/toolbar.js';
|
||||||
import { captureClientError, setClientErrorTransport } from './services/client-error-reporter.js?v=20260407105357';
|
import { captureClientError, setClientErrorTransport } from './services/client-error-reporter.js';
|
||||||
import { initPwaPush } from './services/pwa-push-service.js?v=20260407105357';
|
import { initPwaPush } from './services/pwa-push-service.js';
|
||||||
import {
|
import {
|
||||||
authService,
|
authService,
|
||||||
authorizeSession,
|
authorizeSession,
|
||||||
@ -12,38 +12,38 @@ import {
|
|||||||
terminateCurrentSession,
|
terminateCurrentSession,
|
||||||
addIncomingMessage,
|
addIncomingMessage,
|
||||||
setContacts,
|
setContacts,
|
||||||
} from './state.js?v=20260407105357';
|
} from './state.js';
|
||||||
|
|
||||||
import * as startView from './pages/start-view.js?v=20260407105357';
|
import * as startView from './pages/start-view.js';
|
||||||
import * as entrySettingsView from './pages/entry-settings-view.js?v=20260407105357';
|
import * as entrySettingsView from './pages/entry-settings-view.js';
|
||||||
import * as registerView from './pages/register-view.js?v=20260407105357';
|
import * as registerView from './pages/register-view.js';
|
||||||
import * as registrationPaymentView from './pages/registration-payment-view.js?v=20260407105357';
|
import * as registrationPaymentView from './pages/registration-payment-view.js';
|
||||||
import * as registrationKeysView from './pages/registration-keys-view.js?v=20260407105357';
|
import * as registrationKeysView from './pages/registration-keys-view.js';
|
||||||
import * as topupView from './pages/topup-view.js?v=20260407105357';
|
import * as topupView from './pages/topup-view.js';
|
||||||
import * as loginView from './pages/login-view.js?v=20260407105357';
|
import * as loginView from './pages/login-view.js';
|
||||||
import * as loginCameraView from './pages/login-camera-view.js?v=20260407105357';
|
import * as loginCameraView from './pages/login-camera-view.js';
|
||||||
import * as loginPasswordView from './pages/login-password-view.js?v=20260407105357';
|
import * as loginPasswordView from './pages/login-password-view.js';
|
||||||
import * as keyStorageView from './pages/key-storage-view.js?v=20260407105357';
|
import * as keyStorageView from './pages/key-storage-view.js';
|
||||||
|
|
||||||
import * as profileView from './pages/profile-view.js?v=20260407105357';
|
import * as profileView from './pages/profile-view.js';
|
||||||
import * as walletView from './pages/wallet-view.js?v=20260407105357';
|
import * as walletView from './pages/wallet-view.js';
|
||||||
import * as settingsView from './pages/settings-view.js?v=20260407105357';
|
import * as settingsView from './pages/settings-view.js';
|
||||||
import * as serverSettingsView from './pages/server-settings-view.js?v=20260407105357';
|
import * as serverSettingsView from './pages/server-settings-view.js';
|
||||||
import * as deviceView from './pages/device-view.js?v=20260407105357';
|
import * as deviceView from './pages/device-view.js';
|
||||||
import * as connectDeviceView from './pages/connect-device-view.js?v=20260407105357';
|
import * as connectDeviceView from './pages/connect-device-view.js';
|
||||||
import * as deviceQrView from './pages/device-qr-view.js?v=20260407105357';
|
import * as deviceQrView from './pages/device-qr-view.js';
|
||||||
import * as deviceCameraView from './pages/device-camera-view.js?v=20260407105357';
|
import * as deviceCameraView from './pages/device-camera-view.js';
|
||||||
import * as showKeysView from './pages/show-keys-view.js?v=20260407105357';
|
import * as showKeysView from './pages/show-keys-view.js';
|
||||||
import * as deviceSessionView from './pages/device-session-view.js?v=20260407105357';
|
import * as deviceSessionView from './pages/device-session-view.js';
|
||||||
import * as languageView from './pages/language-view.js?v=20260407105357';
|
import * as languageView from './pages/language-view.js';
|
||||||
import * as messagesList from './pages/messages-list.js?v=20260407105357';
|
import * as messagesList from './pages/messages-list.js';
|
||||||
import * as contactSearchView from './pages/contact-search-view.js?v=20260407105357';
|
import * as contactSearchView from './pages/contact-search-view.js';
|
||||||
import * as chatView from './pages/chat-view.js?v=20260407105357';
|
import * as chatView from './pages/chat-view.js';
|
||||||
import * as channelsList from './pages/channels-list.js?v=20260407105357';
|
import * as channelsList from './pages/channels-list.js';
|
||||||
import * as channelView from './pages/channel-view.js?v=20260407105357';
|
import * as channelView from './pages/channel-view.js';
|
||||||
import * as addChannelView from './pages/add-channel-view.js?v=20260407105357';
|
import * as addChannelView from './pages/add-channel-view.js';
|
||||||
import * as networkView from './pages/network-view.js?v=20260407105357';
|
import * as networkView from './pages/network-view.js';
|
||||||
import * as notificationsView from './pages/notifications-view.js?v=20260407105357';
|
import * as notificationsView from './pages/notifications-view.js';
|
||||||
|
|
||||||
const routes = {
|
const routes = {
|
||||||
'start-view': startView,
|
'start-view': startView,
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { resolveToolbarActive } from '../router.js?v=20260407105357';
|
import { resolveToolbarActive } from '../router.js';
|
||||||
|
|
||||||
const ITEMS = [
|
const ITEMS = [
|
||||||
{ pageId: 'messages-list', label: 'Личные сообщения', icon: '💬' },
|
{ pageId: 'messages-list', label: 'Личные сообщения', icon: '💬' },
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'add-channel-view', title: 'Добавить канал' };
|
export const pageMeta = { id: 'add-channel-view', title: 'Добавить канал' };
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { channelPosts, channels } from '../mock-data.js?v=20260407105357';
|
import { channelPosts, channels } from '../mock-data.js';
|
||||||
import { addLocalChannelPost, authService, getLocalChannelPosts, state } from '../state.js?v=20260407105357';
|
import { addLocalChannelPost, authService, getLocalChannelPosts, state } from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'channel-view', title: 'Канал' };
|
export const pageMeta = { id: 'channel-view', title: 'Канал' };
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { channels as mockChannels } from '../mock-data.js?v=20260407105357';
|
import { channels as mockChannels } from '../mock-data.js';
|
||||||
import { authService, setChannelsFeed, state } from '../state.js?v=20260407105357';
|
import { authService, setChannelsFeed, state } from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'channels-list', title: 'Каналы' };
|
export const pageMeta = { id: 'channels-list', title: 'Каналы' };
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { directMessages } from '../mock-data.js?v=20260407105357';
|
import { directMessages } from '../mock-data.js';
|
||||||
import { addChatMessage, getChatMessages, authService, state } from '../state.js?v=20260407105357';
|
import { addChatMessage, getChatMessages, authService, state } from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'chat-view', title: 'Чат' };
|
export const pageMeta = { id: 'chat-view', title: 'Чат' };
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { state } from '../state.js?v=20260407105357';
|
import { state } from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'connect-device-view', title: 'Подключить устройство' };
|
export const pageMeta = { id: 'connect-device-view', title: 'Подключить устройство' };
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { directMessages } from '../mock-data.js?v=20260407105357';
|
import { directMessages } from '../mock-data.js';
|
||||||
import { authService, ensureChat, setContacts, state } from '../state.js?v=20260407105357';
|
import { authService, ensureChat, setContacts, state } from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'contact-search-view', title: 'Поиск контактов' };
|
export const pageMeta = { id: 'contact-search-view', title: 'Поиск контактов' };
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'device-camera-view', title: 'Подключить через камеру' };
|
export const pageMeta = { id: 'device-camera-view', title: 'Подключить через камеру' };
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { profile } from '../mock-data.js?v=20260407105357';
|
import { profile } from '../mock-data.js';
|
||||||
import { state } from '../state.js?v=20260407105357';
|
import { state } from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'device-qr-view', title: 'Показать QR-код' };
|
export const pageMeta = { id: 'device-qr-view', title: 'Показать QR-код' };
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import {
|
import {
|
||||||
authService,
|
authService,
|
||||||
isSessionInvalidError,
|
isSessionInvalidError,
|
||||||
@ -6,7 +6,7 @@ import {
|
|||||||
setAuthError,
|
setAuthError,
|
||||||
state,
|
state,
|
||||||
terminateCurrentSession,
|
terminateCurrentSession,
|
||||||
} from '../state.js?v=20260407105357';
|
} from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'device-session-view', title: 'Сеанс устройства' };
|
export const pageMeta = { id: 'device-session-view', title: 'Сеанс устройства' };
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import {
|
import {
|
||||||
authService,
|
authService,
|
||||||
isSessionInvalidError,
|
isSessionInvalidError,
|
||||||
@ -7,7 +7,7 @@ import {
|
|||||||
setAuthInfo,
|
setAuthInfo,
|
||||||
state,
|
state,
|
||||||
terminateCurrentSession,
|
terminateCurrentSession,
|
||||||
} from '../state.js?v=20260407105357';
|
} from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'device-view', title: 'Устройства' };
|
export const pageMeta = { id: 'device-view', title: 'Устройства' };
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { checkServerAvailability, saveEntrySettings, state } from '../state.js?v=20260407105357';
|
import { checkServerAvailability, saveEntrySettings, state } from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'entry-settings-view', title: 'Настройки входа', showAppChrome: false };
|
export const pageMeta = { id: 'entry-settings-view', title: 'Настройки входа', showAppChrome: false };
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { authorizeSession, state } from '../state.js?v=20260407105357';
|
import { authorizeSession, state } from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'key-storage-view', title: 'Какие ключи сохранить', showAppChrome: false };
|
export const pageMeta = { id: 'key-storage-view', title: 'Какие ключи сохранить', showAppChrome: false };
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { state } from '../state.js?v=20260407105357';
|
import { state } from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'language-view', title: 'Язык' };
|
export const pageMeta = { id: 'language-view', title: 'Язык' };
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'login-camera-view', title: 'Войти по камере', showAppChrome: false };
|
export const pageMeta = { id: 'login-camera-view', title: 'Войти по камере', showAppChrome: false };
|
||||||
|
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import {
|
import {
|
||||||
authService,
|
authService,
|
||||||
clearAuthMessages,
|
clearAuthMessages,
|
||||||
setAuthBusy,
|
setAuthBusy,
|
||||||
setAuthError,
|
setAuthError,
|
||||||
state,
|
state,
|
||||||
} from '../state.js?v=20260407105357';
|
} from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'login-password-view', title: 'Войти по логину', showAppChrome: false };
|
export const pageMeta = { id: 'login-password-view', title: 'Войти по логину', showAppChrome: false };
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'login-view', title: 'Войти', showAppChrome: false };
|
export const pageMeta = { id: 'login-view', title: 'Войти', showAppChrome: false };
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { directMessages } from '../mock-data.js?v=20260407105357';
|
import { directMessages } from '../mock-data.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'messages-list', title: 'Личные сообщения' };
|
export const pageMeta = { id: 'messages-list', title: 'Личные сообщения' };
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { authService, state } from '../state.js?v=20260407105357';
|
import { authService, state } from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'network-view', title: 'Связи' };
|
export const pageMeta = { id: 'network-view', title: 'Связи' };
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { notifications } from '../mock-data.js?v=20260407105357';
|
import { notifications } from '../mock-data.js';
|
||||||
import { state } from '../state.js?v=20260407105357';
|
import { state } from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'notifications-view', title: 'Уведомления' };
|
export const pageMeta = { id: 'notifications-view', title: 'Уведомления' };
|
||||||
|
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { profile } from '../mock-data.js?v=20260407105357';
|
import { profile } from '../mock-data.js';
|
||||||
import { state } from '../state.js?v=20260407105357';
|
import { state } from '../state.js';
|
||||||
import {
|
import {
|
||||||
loadProfileSnapshot,
|
loadProfileSnapshot,
|
||||||
saveProfileParamBlock,
|
saveProfileParamBlock,
|
||||||
saveProfileToggle,
|
saveProfileToggle,
|
||||||
} from '../services/user-profile-params.js?v=20260407105357';
|
} from '../services/user-profile-params.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'profile-view', title: 'Профиль' };
|
export const pageMeta = { id: 'profile-view', title: 'Профиль' };
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { authService, clearAuthMessages, state } from '../state.js?v=20260407105357';
|
import { authService, clearAuthMessages, state } from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'register-view', title: 'Зарегистрироваться', showAppChrome: false };
|
export const pageMeta = { id: 'register-view', title: 'Зарегистрироваться', showAppChrome: false };
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import {
|
import {
|
||||||
authService,
|
authService,
|
||||||
authorizeSession,
|
authorizeSession,
|
||||||
@ -6,7 +6,7 @@ import {
|
|||||||
setAuthError,
|
setAuthError,
|
||||||
setAuthInfo,
|
setAuthInfo,
|
||||||
state,
|
state,
|
||||||
} from '../state.js?v=20260407105357';
|
} from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'registration-keys-view', title: 'Сохранение ключей', showAppChrome: false };
|
export const pageMeta = { id: 'registration-keys-view', title: 'Сохранение ключей', showAppChrome: false };
|
||||||
|
|
||||||
|
|||||||
@ -1,11 +1,11 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import {
|
import {
|
||||||
authService,
|
authService,
|
||||||
refreshRegistrationBalance,
|
refreshRegistrationBalance,
|
||||||
setAuthError,
|
setAuthError,
|
||||||
setAuthInfo,
|
setAuthInfo,
|
||||||
state,
|
state,
|
||||||
} from '../state.js?v=20260407105357';
|
} from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'registration-payment-view', title: 'Оплата регистрации', showAppChrome: false };
|
export const pageMeta = { id: 'registration-payment-view', title: 'Оплата регистрации', showAppChrome: false };
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { checkServerAvailability, saveEntrySettings, state } from '../state.js?v=20260407105357';
|
import { checkServerAvailability, saveEntrySettings, state } from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'server-settings-view', title: 'Настройки серверов' };
|
export const pageMeta = { id: 'server-settings-view', title: 'Настройки серверов' };
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'settings-view', title: 'Настройки' };
|
export const pageMeta = { id: 'settings-view', title: 'Настройки' };
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { state } from '../state.js?v=20260407105357';
|
import { state } from '../state.js';
|
||||||
import { loadEncryptedUserSecrets } from '../services/key-vault.js?v=20260407105357';
|
import { loadEncryptedUserSecrets } from '../services/key-vault.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'show-keys-view', title: 'Показать ключи' };
|
export const pageMeta = { id: 'show-keys-view', title: 'Показать ключи' };
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { clearStartHint, state } from '../state.js?v=20260407105357';
|
import { clearStartHint, state } from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'start-view', title: 'Старт', showAppChrome: false };
|
export const pageMeta = { id: 'start-view', title: 'Старт', showAppChrome: false };
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { state } from '../state.js?v=20260407105357';
|
import { state } from '../state.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'topup-view', title: 'Пополнение счета', showAppChrome: false };
|
export const pageMeta = { id: 'topup-view', title: 'Пополнение счета', showAppChrome: false };
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { renderHeader } from '../components/header.js?v=20260407105357';
|
import { renderHeader } from '../components/header.js';
|
||||||
import { wallet } from '../mock-data.js?v=20260407105357';
|
import { wallet } from '../mock-data.js';
|
||||||
|
|
||||||
export const pageMeta = { id: 'wallet-view', title: 'Кошелёк' };
|
export const pageMeta = { id: 'wallet-view', title: 'Кошелёк' };
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { WsJsonClient } from './ws-client.js?v=20260407105357';
|
import { WsJsonClient } from './ws-client.js';
|
||||||
import {
|
import {
|
||||||
bytesToBase64,
|
bytesToBase64,
|
||||||
deriveEd25519FromPassword,
|
deriveEd25519FromPassword,
|
||||||
@ -11,13 +11,13 @@ import {
|
|||||||
signBytes,
|
signBytes,
|
||||||
signBase64,
|
signBase64,
|
||||||
utf8Bytes,
|
utf8Bytes,
|
||||||
} from './crypto-utils.js?v=20260407105357';
|
} from './crypto-utils.js';
|
||||||
import {
|
import {
|
||||||
loadEncryptedUserSecrets,
|
loadEncryptedUserSecrets,
|
||||||
loadSessionMaterial,
|
loadSessionMaterial,
|
||||||
saveEncryptedUserSecrets,
|
saveEncryptedUserSecrets,
|
||||||
saveSessionMaterial,
|
saveSessionMaterial,
|
||||||
} from './key-vault.js?v=20260407105357';
|
} from './key-vault.js';
|
||||||
|
|
||||||
const BCH_SUFFIX = '001';
|
const BCH_SUFFIX = '001';
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import {
|
import {
|
||||||
decryptJsonWithStoragePwd,
|
decryptJsonWithStoragePwd,
|
||||||
encryptJsonWithStoragePwd,
|
encryptJsonWithStoragePwd,
|
||||||
} from './crypto-utils.js?v=20260407105357';
|
} from './crypto-utils.js';
|
||||||
|
|
||||||
const DB_NAME = 'shine-ui-auth';
|
const DB_NAME = 'shine-ui-auth';
|
||||||
const DB_VERSION = 1;
|
const DB_VERSION = 1;
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { authService, state } from '../state.js?v=20260407105357';
|
import { authService, state } from '../state.js';
|
||||||
|
|
||||||
export const profileFieldDefs = [
|
export const profileFieldDefs = [
|
||||||
{ key: 'first_name', readKeys: ['first_name'], label: 'Имя', placeholder: 'Введите имя' },
|
{ key: 'first_name', readKeys: ['first_name'], label: 'Имя', placeholder: 'Введите имя' },
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { captureClientError } from './client-error-reporter.js?v=20260407105357';
|
import { captureClientError } from './client-error-reporter.js';
|
||||||
|
|
||||||
const DEFAULT_TIMEOUT_MS = 12000;
|
const DEFAULT_TIMEOUT_MS = 12000;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
import { chatMessages, wallet } from './mock-data.js?v=20260407105357';
|
import { chatMessages, wallet } from './mock-data.js';
|
||||||
import { AuthService } from './services/auth-service.js?v=20260407105357';
|
import { AuthService } from './services/auth-service.js';
|
||||||
import { clearClientAuthData } from './services/key-vault.js?v=20260407105357';
|
import { clearClientAuthData } from './services/key-vault.js';
|
||||||
|
|
||||||
const clone = (value) => JSON.parse(JSON.stringify(value));
|
const clone = (value) => JSON.parse(JSON.stringify(value));
|
||||||
const SESSION_STORAGE_KEY = 'shine-ui-current-session-v1';
|
const SESSION_STORAGE_KEY = 'shine-ui-current-session-v1';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user