@iyulab/modern-app 0.2.3 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.5 (2026-01-06)
|
|
4
|
+
- Updated `@iyulab/components` to v0.1.11
|
|
5
|
+
|
|
6
|
+
## 0.2.4 (2025-12-19)
|
|
7
|
+
- fix import path, modified correct case-sensitive paths
|
|
8
|
+
|
|
3
9
|
## 0.2.3 (2025-12-19)
|
|
4
10
|
- added `root` option in `AppConfig` type to set application root element
|
|
5
11
|
- update `@iyulab/components` to v0.1.10
|
package/dist/App.d.ts
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Router } from '@iyulab/router';
|
|
2
|
+
import { AppConfig } from './types/AppConfigs.js';
|
|
3
|
+
import { NotificationOptions } from './types/AppOptions.js';
|
|
4
|
+
/**
|
|
5
|
+
* 애플리케이션 전역 상태 및 설정 관리 클래스
|
|
6
|
+
*/
|
|
7
|
+
declare class App {
|
|
8
|
+
private static _instance;
|
|
9
|
+
private _config?;
|
|
10
|
+
private _layout?;
|
|
11
|
+
private _router?;
|
|
12
|
+
private constructor();
|
|
13
|
+
/** 싱글톤 인스턴스 반환 */
|
|
14
|
+
static get instance(): App;
|
|
15
|
+
/** 현재 앱 설정 반환 */
|
|
16
|
+
get config(): AppConfig | undefined;
|
|
17
|
+
/** 라우터 인스턴스 반환 */
|
|
18
|
+
get router(): Router | undefined;
|
|
19
|
+
/** 스타일 테마 관리 유틸리티 객체 반환 */
|
|
20
|
+
get theme(): import('@iyulab/components/dist/utilities/theme.js').Theme;
|
|
21
|
+
/** 다국어 로컬라이저(i18next) 반환 */
|
|
22
|
+
get localizer(): import('i18next').i18n;
|
|
23
|
+
/** 앱 로드 및 초기화 */
|
|
24
|
+
load(config: AppConfig): Promise<void>;
|
|
25
|
+
/** 앱 언로드 */
|
|
26
|
+
unload(): void;
|
|
27
|
+
/** 페이지 이동 */
|
|
28
|
+
navigate(path: string): void;
|
|
29
|
+
/** 공지 메시지 */
|
|
30
|
+
notice(message: string, options?: NotificationOptions): Promise<void>;
|
|
31
|
+
/** 정보 메시지 */
|
|
32
|
+
info(message: string, options?: NotificationOptions): Promise<void>;
|
|
33
|
+
/** 경고 메시지 */
|
|
34
|
+
warning(message: string, options?: NotificationOptions): Promise<void>;
|
|
35
|
+
/** 성공 메시지 */
|
|
36
|
+
success(message: string, options?: NotificationOptions): Promise<void>;
|
|
37
|
+
/** 에러 메시지 */
|
|
38
|
+
error(message: string, options?: NotificationOptions): Promise<void>;
|
|
39
|
+
/** 알림 표시 */
|
|
40
|
+
private notify;
|
|
41
|
+
/** 레이아웃 생성 */
|
|
42
|
+
private createLayout;
|
|
43
|
+
/** 화면 크기 변경 핸들러 */
|
|
44
|
+
private handleWindowResize;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* 전역 어플리케이션 설정 및 관리 인스턴스
|
|
48
|
+
*/
|
|
49
|
+
export declare const app: App;
|
|
50
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { html as c } from "lit";
|
|
2
2
|
import { property as o } from "lit/decorators.js";
|
|
3
|
-
import { UIcon as l } from "@iyulab/components/dist/components/
|
|
3
|
+
import { UIcon as l } from "@iyulab/components/dist/components/icon/UIcon.component.js";
|
|
4
4
|
import { ExtendedBaseElement as m } from "../internals/ExtendedBaseElement.js";
|
|
5
5
|
import { styles as d } from "./SidebarButton.styles.js";
|
|
6
6
|
var u = Object.defineProperty, n = (e, p, s, f) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { html as c } from "lit";
|
|
2
2
|
import { property as o } from "lit/decorators.js";
|
|
3
|
-
import { UIcon as d } from "@iyulab/components/dist/components/
|
|
3
|
+
import { UIcon as d } from "@iyulab/components/dist/components/icon/UIcon.component.js";
|
|
4
4
|
import { app as m } from "../App.js";
|
|
5
5
|
import { ExtendedBaseElement as u } from "../internals/ExtendedBaseElement.js";
|
|
6
6
|
import { SidebarLink as h } from "./SidebarLink.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { html as c } from "lit";
|
|
2
2
|
import { property as e } from "lit/decorators.js";
|
|
3
|
-
import { UIcon as l } from "@iyulab/components/dist/components/
|
|
3
|
+
import { UIcon as l } from "@iyulab/components/dist/components/icon/UIcon.component.js";
|
|
4
4
|
import { ExtendedBaseElement as h } from "../internals/ExtendedBaseElement.js";
|
|
5
5
|
import { styles as d } from "./SidebarLink.styles.js";
|
|
6
6
|
var f = Object.defineProperty, n = (o, r, a, m) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iyulab/modern-app",
|
|
3
3
|
"description": "web-framework by iyulab based on react, lit-element",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.5",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"iyulab",
|
|
7
7
|
"web-framework",
|
|
@@ -38,9 +38,9 @@
|
|
|
38
38
|
"build": "vite build"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@iyulab/components": "^0.1.
|
|
41
|
+
"@iyulab/components": "^0.1.11",
|
|
42
42
|
"@iyulab/router": "^0.5.3",
|
|
43
|
-
"lit": "^3.3.
|
|
43
|
+
"lit": "^3.3.2",
|
|
44
44
|
"mobx": "^6.15.0",
|
|
45
45
|
"i18next": "^25.7.3"
|
|
46
46
|
},
|