estreui 1.4.0 → 1.5.0
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/README.md +8 -8
- package/index.html +9 -0
- package/package.json +2 -2
- package/scripts/estreUi-core.js +2 -0
- package/scripts/estreUi-main.js +1036 -76
- package/scripts/estreUi-pageModel.js +90 -0
- package/serviceWorker.js +6 -3
- package/styles/estreUiCore.css +355 -4
- package/vectors/cover-icon-default-instant.svg +3 -0
- package/vectors/cover-icon-default-overlay.svg +3 -0
- package/vectors/cover-icon-default-static.svg +5 -0
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ Estre UI Demo Application
|
|
|
61
61
|
#### File Structure
|
|
62
62
|
* `serviceLoader.html`: Service Worker Loader (handles updates before app launch).
|
|
63
63
|
* `scripts/`: Core libraries and logic.
|
|
64
|
-
* `estreUi
|
|
64
|
+
* `estreUi-*.js`: Main framework code — split into 8 modules (`estreUi-core` / `-dialog` / `-notation` / `-notification` / `-pageModel` / `-pageManager` / `-handles` / `-interaction` / `-main`), loaded in order via `<script defer>` (since v1.2.4; roadmap #002 phase 2). The `estreUi` singleton is also exposed on `window` for ES-module-realm host integrations.
|
|
65
65
|
* `estreU0EEOZ.js`: Estre Common library.
|
|
66
66
|
* `main.js`: Application entry point and configuration.
|
|
67
67
|
* `styles/`: CSS files for the framework and your app.
|
|
@@ -160,17 +160,17 @@ EstreUI pages have a distinct lifecycle, similar to Android Activities:
|
|
|
160
160
|
* Handles matching the UIS (UI specifier) in the HTML structure are initialized after onBring.
|
|
161
161
|
|
|
162
162
|
#### Built-in Handles
|
|
163
|
-
* Includes `EstreUnifiedCalendarHandle`, `EstreDedicatedCalanderHandle`, etc. Refer to the default registered classes in the `EstreHandle` class in `estreUi.js`.
|
|
163
|
+
* Includes `EstreUnifiedCalendarHandle`, `EstreDedicatedCalanderHandle`, etc. Refer to the default registered classes in the `EstreHandle` class in `estreUi-handles.js`.
|
|
164
164
|
|
|
165
165
|
#### Custom Handles
|
|
166
|
-
* You can register and use your own handles before Estre UI initialization. Refer to the implementation of the `EstreHandle` class in `estreUi.js`.
|
|
166
|
+
* You can register and use your own handles before Estre UI initialization. Refer to the implementation of the `EstreHandle` class in `estreUi-handles.js`.
|
|
167
167
|
|
|
168
168
|
### Handler (Direct Class Implementation)
|
|
169
169
|
* Reusable implementations that perform specific actions as needed are called handlers.
|
|
170
170
|
* Mainly initialized and used during page start callbacks.
|
|
171
171
|
|
|
172
172
|
#### Built-in Handlers
|
|
173
|
-
* Includes `EstreSwipeHandler`, `EstreDraggableHandler`, etc. Refer to the default registered classes
|
|
173
|
+
* Includes `EstreSwipeHandler`, `EstreDraggableHandler`, etc. Refer to the default registered handler classes in `estreUi-interaction.js`.
|
|
174
174
|
|
|
175
175
|
#### Custom Handlers
|
|
176
176
|
* There is no specific format for handler implementation, so feel free to implement them as needed.
|
|
@@ -332,7 +332,7 @@ Estre UI 데모 애플리케이션
|
|
|
332
332
|
#### 파일 구조
|
|
333
333
|
* `serviceLoader.html`: 서비스 워커 로더 (앱 실행 전 업데이트 진행).
|
|
334
334
|
* `scripts/`: 핵심 라이브러리 및 로직.
|
|
335
|
-
* `estreUi
|
|
335
|
+
* `estreUi-*.js`: 메인 프레임워크 코드 — 8개 모듈로 분할(`estreUi-core` / `-dialog` / `-notation` / `-notification` / `-pageModel` / `-pageManager` / `-handles` / `-interaction` / `-main`), `<script defer>`로 순서대로 로드(v1.2.4부터, roadmap #002 phase 2). `estreUi` 싱글톤은 ES-module-realm 호스트 통합을 위해 `window`에도 노출됩니다.
|
|
336
336
|
* `estreU0EEOZ.js`: Estre Common 라이브러리.
|
|
337
337
|
* `main.js`: 애플리케이션 진입점 및 설정.
|
|
338
338
|
* `styles/`: 프레임워크 및 앱을 위한 CSS 파일.
|
|
@@ -431,17 +431,17 @@ EstreUI 페이지는 Android Activity와 유사한 뚜렷한 라이프사이클
|
|
|
431
431
|
* HTML 스트럭처 내 UIS(UI spceifier)에 따라 매칭되는 핸들이 onBring 이후 시점에 초기화됩니다.
|
|
432
432
|
|
|
433
433
|
#### 기본 제공 핸들
|
|
434
|
-
* `EstreUnifiedCalendarHandle`, `EstreDedicatedCalanderHandle` 등의 기본 제공 핸들이 있습니다. 자세한 항목은 `estreUi.js`의 `EstreHandle` 클래스에 기본 등록된 클래스들을 참조하세요.
|
|
434
|
+
* `EstreUnifiedCalendarHandle`, `EstreDedicatedCalanderHandle` 등의 기본 제공 핸들이 있습니다. 자세한 항목은 `estreUi-handles.js`의 `EstreHandle` 클래스에 기본 등록된 클래스들을 참조하세요.
|
|
435
435
|
|
|
436
436
|
#### 사용자 정의 핸들
|
|
437
|
-
* Estre UI의 초기화 전에 직접 구현한 핸들을 등록하여 사용할 수 있습니다. 자세한 사항은 `estreUi.js`의 `EstreHandle` 클래스의 구현을 참고하세요.
|
|
437
|
+
* Estre UI의 초기화 전에 직접 구현한 핸들을 등록하여 사용할 수 있습니다. 자세한 사항은 `estreUi-handles.js`의 `EstreHandle` 클래스의 구현을 참고하세요.
|
|
438
438
|
|
|
439
439
|
### 핸들러(handler) (직접 클래스 구현)
|
|
440
440
|
* 필요에 따라 특정 작동을 수행하는 재사용 가능한 구현을 핸들러라고 칭합니다.
|
|
441
441
|
* 주로 페이지 시작 콜백 중에 초기화하여 사용합니다.
|
|
442
442
|
|
|
443
443
|
#### 기본 제공 핸들러
|
|
444
|
-
* `EstreSwipeHandler`, `EstreDraggableHandler` 등의 기본 제공 핸들러가 있습니다. 자세한 항목은 `estreUi.js
|
|
444
|
+
* `EstreSwipeHandler`, `EstreDraggableHandler` 등의 기본 제공 핸들러가 있습니다. 자세한 항목은 `estreUi-interaction.js`에 기본 등록된 핸들러 클래스들을 참조하세요.
|
|
445
445
|
|
|
446
446
|
#### 사용자 정의 핸들러
|
|
447
447
|
* 핸들러의 구현은 형식이 따로 없으므로 자유롭게 구현하여 사용하시기 바랍니다.
|
package/index.html
CHANGED
|
@@ -150,6 +150,15 @@
|
|
|
150
150
|
|
|
151
151
|
<nav id="managedOverlay" data-exported="1">
|
|
152
152
|
</nav>
|
|
153
|
+
<!--
|
|
154
|
+
Top layer — host surface that paints above every other layer including
|
|
155
|
+
embeds with extreme z-index. Pointer events on the container itself are
|
|
156
|
+
disabled; only mounted children (cover-bar overflow dropdowns, etc.)
|
|
157
|
+
receive input. Future generic-host UI (alerts that must outrank an embed
|
|
158
|
+
modal, etc.) can live here too. See EstreCoverBarHandle.
|
|
159
|
+
-->
|
|
160
|
+
<div id="topLayer" data-exported="1">
|
|
161
|
+
</div>
|
|
153
162
|
<section id="handlePrototypes" style="display: none; " data-exported="1">
|
|
154
163
|
</section>
|
|
155
164
|
</body>
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "estreui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "EstreUI Core Library - A comprehensive UI framework for web applications",
|
|
5
|
-
"main": "scripts/estreUi.js",
|
|
5
|
+
"main": "scripts/estreUi-main.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"scripts",
|
|
8
8
|
"styles",
|
package/scripts/estreUi-core.js
CHANGED