open-grid 1.0.8 → 1.1.1

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.
Files changed (70) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/THIRD_PARTY_LICENSES.txt +43 -0
  3. package/dist/OpenGrid-LcZ5iixx.cjs +97 -0
  4. package/dist/OpenGrid-yg4mw6Ge.js +9505 -0
  5. package/dist/open-grid-base.css +66 -5
  6. package/dist/open-grid-react.cjs +1 -1
  7. package/dist/open-grid-react.js +1 -1
  8. package/dist/open-grid-skins.css +111 -0
  9. package/dist/open-grid-themes.css +96 -1
  10. package/dist/open-grid-vue.cjs +1 -1
  11. package/dist/open-grid-vue.js +1 -1
  12. package/dist/open-grid.cjs +3 -3
  13. package/dist/open-grid.js +129 -119
  14. package/dist/types/core/AppearanceResolver.d.ts +100 -0
  15. package/dist/types/core/CellEditManager.d.ts +4 -0
  16. package/dist/types/core/CellEventHandler.d.ts +6 -0
  17. package/dist/types/core/ChartManager.d.ts +58 -0
  18. package/dist/types/core/CrossGridController.d.ts +70 -0
  19. package/dist/types/core/DataLayer.d.ts +17 -0
  20. package/dist/types/core/DetailManager.d.ts +72 -0
  21. package/dist/types/core/ExtensionPointRegistry.d.ts +92 -0
  22. package/dist/types/core/FlatRowModel.d.ts +56 -0
  23. package/dist/types/core/FormulaController.d.ts +79 -0
  24. package/dist/types/core/GridComposer.d.ts +137 -0
  25. package/dist/types/core/GridRenderer.d.ts +73 -4
  26. package/dist/types/core/GroupTreeManager.d.ts +13 -0
  27. package/dist/types/core/IconRegistry.d.ts +55 -0
  28. package/dist/types/core/KeyboardManager.d.ts +19 -0
  29. package/dist/types/core/MutationService.d.ts +126 -0
  30. package/dist/types/core/OpenGrid.d.ts +167 -22
  31. package/dist/types/core/OrgChart.d.ts +2 -0
  32. package/dist/types/core/RangeSelectionManager.d.ts +95 -0
  33. package/dist/types/core/RenderController.d.ts +65 -0
  34. package/dist/types/core/SkinRegistry.d.ts +53 -0
  35. package/dist/types/core/SortFilterManager.d.ts +2 -0
  36. package/dist/types/core/chart/CanvasAdapter.d.ts +52 -0
  37. package/dist/types/core/chart/DataExtractor.d.ts +49 -0
  38. package/dist/types/core/chart/a11y.d.ts +21 -0
  39. package/dist/types/core/chart/downsample.d.ts +25 -0
  40. package/dist/types/core/chart/hittest.d.ts +20 -0
  41. package/dist/types/core/chart/palette.d.ts +56 -0
  42. package/dist/types/core/chart/scales.d.ts +24 -0
  43. package/dist/types/core/chart/types.d.ts +181 -0
  44. package/dist/types/core/detail/DetailGlyph.d.ts +48 -0
  45. package/dist/types/core/detail/DetailSplice.d.ts +67 -0
  46. package/dist/types/core/detail/DetailState.d.ts +67 -0
  47. package/dist/types/core/detail/SubgridCache.d.ts +73 -0
  48. package/dist/types/core/detail/index.d.ts +14 -0
  49. package/dist/types/core/editors/CellEditor.d.ts +17 -1
  50. package/dist/types/core/formula/FormulaEvaluator.d.ts +15 -0
  51. package/dist/types/core/formula/FormulaGraph.d.ts +43 -0
  52. package/dist/types/core/formula/FormulaParser.d.ts +6 -0
  53. package/dist/types/core/formula/FormulaStore.d.ts +17 -0
  54. package/dist/types/core/formula/RecalcCoordinator.d.ts +85 -0
  55. package/dist/types/core/formula/normalizeRefs.d.ts +15 -0
  56. package/dist/types/core/formula/numericLiteral.d.ts +7 -0
  57. package/dist/types/core/formula/serializeFormula.d.ts +6 -0
  58. package/dist/types/core/formula/types.d.ts +104 -0
  59. package/dist/types/core/icons/bootstrap-icons.d.ts +9 -0
  60. package/dist/types/core/range/ClipboardCodec.d.ts +30 -0
  61. package/dist/types/core/range/FillEngine.d.ts +63 -0
  62. package/dist/types/core/range/RangeModel.d.ts +53 -0
  63. package/dist/types/core/range/RangeQuery.d.ts +16 -0
  64. package/dist/types/core/range/types.d.ts +47 -0
  65. package/dist/types/core/renderers/CellRenderer.d.ts +40 -2
  66. package/dist/types/core/types.d.ts +285 -3
  67. package/dist/types/index.d.ts +6 -1
  68. package/package.json +1 -1
  69. package/dist/OpenGrid-CZRcxruq.cjs +0 -90
  70. package/dist/OpenGrid-Cjv7Os5a.js +0 -4871
package/CHANGELOG.md CHANGED
@@ -2,6 +2,50 @@
2
2
 
3
3
  All notable changes to OPEN_GRID will be documented in this file.
4
4
 
5
+ ## [1.1.1] - 2026-07-04
6
+
7
+ ### Added
8
+ - **스킨 (형태 축)** — 색 테마와 직교하는 형태 스킨 6종(sharp/rounded/stitch/flat/high-contrast/material).
9
+ `data-og-skin` 속성 + `grid.setSkin(name)`, `OpenGrid.defineSkin(name, delta)`(FORM 토큰만 허용), `grid.setSkinVar(k,v)`.
10
+ 색 테마와 자유 조합(예: crimson 테마 + stitch 스킨). 접근성 위험이 있는 neumorph는 기본 카탈로그에서 제외.
11
+ - **아이콘 세트** — Bootstrap Icons(MIT) 기반 역할(role) 아이콘 64종. `renderIcon(role, {size})`,
12
+ `grid.setIcon(role, key)`(인스턴스 격리), `OpenGrid.defineIconSet(map)`(전역). 공개 export 추가:
13
+ `renderIcon`/`IconRegistry`/`iconRegistry`/`DEFAULT_ICON_ROLES`/`SkinRegistry`/`skinRegistry`.
14
+ - **버튼 렌더러 아이콘** — `renderer:{ type:'button', icon:'search', label:'…', iconPos:'left'|'right' }`로
15
+ 버튼 라벨과 아이콘을 함께 표시.
16
+
17
+ ### Changed
18
+ - 그리드 셀/행/헤더 보더를 `--og-border-style`/`--og-divider-style` 토큰으로 승격 — 스킨이 선(보더 스타일)을 제어한다.
19
+ 토큰 미설정 시 `solid` 폴백(기존 렌더와 동일).
20
+ - 내부 코어 리팩토링(협력자 분리) — 공개 API·동작 변화 없음(행동 보존).
21
+
22
+ ### Notes
23
+ - Bootstrap Icons(MIT) 라이선스를 `THIRD_PARTY_LICENSES.txt`에 포함.
24
+
25
+ ## [1.1.0] - 2026-07-03
26
+
27
+ ### Added
28
+ - **범위 선택 + 채우기 (F1)** — 셀 범위를 드래그로 선택하고 복제/시리즈 채우기, 클립보드(TSV) 복사·붙여넣기,
29
+ 키보드 채우기(Ctrl+D/R)를 지원한다. `rangeSelection` 옵션, `fillRange`/`getActiveRange`/`getRangeValues` API.
30
+ - **마스터/디테일 (F2)** — 행을 펼쳐 상세 패널(HTML renderer 또는 서브그리드)을 표시한다. `masterDetail` 옵션,
31
+ `expandRow`/`collapseRow`/`getDetailInstance` API, `rowExpand` 이벤트, 중첩 깊이 제한.
32
+ - **수식 셀 (F3)** — 셀에 `=B1*C1`, `=SUM(C1:C10)` 같은 수식을 넣어 자동 계산한다. `[field]`/A1 참조 공존,
33
+ 19개 함수, 정밀 산술, 에러 코드(#REF/#VALUE/#CYCLE 등), 정렬·필터·행삭제 시 안정적 재계산.
34
+ `formula` 옵션, `setCellFormula`/`getCellFormula` API, `formulaRecalc`(대량 재계산 시 `large` 신호) 이벤트.
35
+ - **그리드 데이터 통합 차트 (F4)** — 그리드 데이터로 bar/line 차트를 호출 한 번에 그린다. 5종 소스
36
+ (columns/checked/selection/all/range), LTTB 다운샘플 + 샘플링 배지, 라이브 갱신(데이터·수식 편집 반영),
37
+ 색약 대응 팔레트, 접근성(role=img·시각숨김 데이터표·키보드 순회·실 button 범례), 외부 런타임 의존성 0의
38
+ 내장 canvas 렌더러. `chart` 옵션, `createChart`/`getCharts`/`destroyCharts` API.
39
+ - **stitch 테마** — 리넨/크라프트 색감에 실땀(점선) 보더를 입힌 핸드크래프트 스타일 테마. 12개 → 13개 내장 테마.
40
+ - **`fallbackViewportHeight` 옵션 (옵트인 안전장치)** — 그리드 컨테이너에 확정 높이가 없어 대량 데이터에서
41
+ 전 행이 DOM 렌더되는 것을 막는다. 기본 OFF(기존 동작 완전 불변)이며, 컨테이너가 스크롤 제약 없이 전
42
+ 콘텐츠를 담는 "언바운드" 상태를 감지했을 때만 가상 스크롤 뷰포트를 이 값(px)으로 클램프한다.
43
+ (1순위 권장은 여전히 그리드 컨테이너에 확정 높이를 주는 것.)
44
+
45
+ ### Fixed
46
+ - 통합 차트(F4) 코어 리뷰 반영 — 사용자 지정 `size` 좌표가 히트테스트/툴팁에 반영되지 않던 문제,
47
+ 라이브 재렌더 시 범례 포커스 유실, 컨테이너 리사이즈/DPR 변경 시 재렌더 부재 등 12건 수정.
48
+
5
49
  ## [1.0.8] - 2026-07-01
6
50
 
7
51
  ### Fixed
@@ -227,3 +227,46 @@ The complete text of the Apache License, Version 2.0 follows.
227
227
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
228
228
  See the License for the specific language governing permissions and
229
229
  limitations under the License.
230
+
231
+
232
+ -----------------------------------------------------------------------
233
+ 3. Bootstrap Icons
234
+ Copyright (c) 2019-2024 The Bootstrap Authors
235
+ Homepage: https://icons.getbootstrap.com/
236
+ Source: https://github.com/twbs/icons
237
+ Version: 1.13.1
238
+ License: MIT License (SPDX: MIT)
239
+ Bundled as: curated inline SVG glyph bodies embedded in the compiled
240
+ distribution (dist/*.js, from src/core/icons/bootstrap-icons.ts) — the
241
+ icon glyphs used by the grid UI (sorting, filtering, editing, row/column
242
+ ops, export, chart-type, status and general UI icons). No runtime
243
+ dependency is added; only the glyphs actually used are embedded.
244
+ -----------------------------------------------------------------------
245
+
246
+ The complete text of the MIT License, as distributed with Bootstrap Icons,
247
+ follows.
248
+
249
+
250
+ MIT License
251
+
252
+ The MIT License (MIT)
253
+
254
+ Copyright (c) 2019-2024 The Bootstrap Authors
255
+
256
+ Permission is hereby granted, free of charge, to any person obtaining a copy
257
+ of this software and associated documentation files (the "Software"), to deal
258
+ in the Software without restriction, including without limitation the rights
259
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
260
+ copies of the Software, and to permit persons to whom the Software is
261
+ furnished to do so, subject to the following conditions:
262
+
263
+ The above copyright notice and this permission notice shall be included in
264
+ all copies or substantial portions of the Software.
265
+
266
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
267
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
268
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
269
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
270
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
271
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
272
+ THE SOFTWARE.