open-grid 1.5.2 → 1.6.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/CHANGELOG.md +441 -416
- package/README.ja.md +39 -0
- package/README.md +39 -0
- package/README.zh.md +39 -0
- package/dist/{OpenGrid-CT9bV6On.cjs → OpenGrid-DgZtbVD0.cjs} +343 -338
- package/dist/{OpenGrid-DACnZdEy.js → OpenGrid-E11B7Xa7.js} +782 -777
- package/dist/angular/fesm2022/open-grid-angular.mjs +247 -0
- package/dist/angular/index.d.ts +5 -0
- package/dist/angular/lib/open-grid.component.d.ts +97 -0
- package/dist/angular/public-api.d.ts +6 -0
- package/dist/{index-Brfso4Ry.cjs → index-B_e5BXnW.cjs} +2 -2
- package/dist/{index-al9Mbv3E.js → index-Brnev66-.js} +2 -2
- package/dist/open-grid-base.css +4 -4
- package/dist/open-grid-header.cjs +4 -4
- package/dist/open-grid-header.css +13 -13
- package/dist/open-grid-header.js +4 -4
- package/dist/open-grid-react.cjs +1 -1
- package/dist/open-grid-react.js +1 -1
- package/dist/open-grid-skins.css +2 -2
- package/dist/open-grid-themes.css +19 -19
- package/dist/open-grid-typography.cjs +2 -2
- package/dist/open-grid-typography.js +2 -2
- package/dist/open-grid-vue.cjs +1 -1
- package/dist/open-grid-vue.js +1 -1
- package/dist/open-grid.cjs +1 -1
- package/dist/open-grid.js +2 -2
- package/dist/types/core/DetailManager.d.ts +1 -1
- package/dist/types/core/ExportManager.d.ts +7 -0
- package/dist/types/core/ExtensionPointRegistry.d.ts +2 -2
- package/dist/types/core/OpenGrid.d.ts +14 -9
- package/dist/types/core/appearance/AppearanceAxis.d.ts +54 -6
- package/dist/types/core/appearance/HeaderRegistry.d.ts +213 -21
- package/dist/types/core/appearance/TypographyRegistry.d.ts +63 -3
- package/dist/types/core/chart/DataExtractor.d.ts +1 -1
- package/dist/types/core/detail/DetailGlyph.d.ts +3 -3
- package/dist/types/core/types.d.ts +9 -9
- package/dist/types/header/index.d.ts +146 -6
- package/dist/types/typography/index.d.ts +134 -4
- package/package.json +42 -13
- package/dist/OpenGrid-CT9bV6On.cjs.map +0 -1
- package/dist/OpenGrid-DACnZdEy.js.map +0 -1
- package/dist/Registry-CPJYOqCn.js.map +0 -1
- package/dist/Registry-D74ZmdDz.cjs.map +0 -1
- package/dist/index-Brfso4Ry.cjs.map +0 -1
- package/dist/index-CeJ-0-80.cjs.map +0 -1
- package/dist/index-DnarQ4eR.js.map +0 -1
- package/dist/index-al9Mbv3E.js.map +0 -1
- package/dist/open-grid-header.cjs.map +0 -1
- package/dist/open-grid-header.js.map +0 -1
- package/dist/open-grid-react.cjs.map +0 -1
- package/dist/open-grid-react.js.map +0 -1
- package/dist/open-grid-typography.cjs.map +0 -1
- package/dist/open-grid-typography.js.map +0 -1
- package/dist/open-grid-vue.cjs.map +0 -1
- package/dist/open-grid-vue.js.map +0 -1
- package/dist/open-grid.cjs.map +0 -1
- package/dist/open-grid.js.map +0 -1
- package/dist/xlsx.min-BQ1o3sB6.cjs.map +0 -1
- package/dist/xlsx.min-Bbz2ZypC.js.map +0 -1
|
@@ -725,18 +725,18 @@
|
|
|
725
725
|
[data-og-theme="stitch"] .og-loading-mask { background: rgba(250,245,233,0.80); }
|
|
726
726
|
|
|
727
727
|
/* ============================================================
|
|
728
|
-
신규 12종 (16~27) — 2026-08 파이널 시안 (
|
|
728
|
+
신규 12종 (16~27) — 2026-08 파이널 시안 (검토자 7인 만장일치 · 17조 위반 0)
|
|
729
729
|
값은 실브라우저 렌더로 검증한 뒤 옮겼다 (2026-08-08).
|
|
730
730
|
기존 15종이 못 덮던 사용 맥락을 메운다: 무채 크롬 · 접근성 AAA ·
|
|
731
731
|
장시간 정독 · 야외 · 의료 · 제도 · 관제 · 트레이딩, 그리고 다크 짝 보강.
|
|
732
732
|
전부 **색 전용**이다 — 형태(skins.css)·밀도·타이포 토큰은 한 줄도 넣지 않는다.
|
|
733
|
-
⚠ 이 블록은 파이널 시안으로 **통째 교체**됐다(2026-08-08
|
|
733
|
+
⚠ 이 블록은 파이널 시안으로 **통째 교체**됐다(2026-08-08 정정 지시).
|
|
734
734
|
· 삭제 3종 ledger · daylight · ocean-dark (미배포 중간 산출 — 나간 적 없다)
|
|
735
735
|
· 신설 3종 plain · field · high-contrast-dark
|
|
736
736
|
· 갱신 9종 나머지는 id 는 같고 값이 5라운드 동안 바뀌었다
|
|
737
737
|
기존 15종(1~15)은 한 글자도 안 바뀐다 — 위 726행까지가 그 영역이다(금지선 2).
|
|
738
738
|
|
|
739
|
-
★ 옛 3종(ledger · daylight · ocean-dark) 삭제 완료 — 2026-08-08
|
|
739
|
+
★ 옛 3종(ledger · daylight · ocean-dark) 삭제 완료 — 2026-08-08 결정 D-7 「지운다」.
|
|
740
740
|
한 라운드 동안 「보류 구역」으로 남겨 뒀던 블록을 이 커밋에서 실제로 지웠다.
|
|
741
741
|
· 배포 이력: 이 3종은 커밋 ca39cd7(2026-08-03)에 들어왔고 npm 1.4.0 은 2026-07-17 발행이다.
|
|
742
742
|
**어떤 배포본에도 실린 적이 없다** → 하위호환 파괴가 아니다.
|
|
@@ -762,7 +762,7 @@
|
|
|
762
762
|
|
|
763
763
|
고침 — 코어 JS 0줄. 인라인을 이기는 유일한 CSS 수단이 `!important` 라 그것만 쓴다.
|
|
764
764
|
신규 12칸에만 건다(`[data-og-theme]` 아래 12종 명시 = 제10조). 기존 15종·무테마는 오늘과 바이트가 같다.
|
|
765
|
-
27종 전부로 넓힐지는 D-1 과 같은 성격의 물음이라
|
|
765
|
+
27종 전부로 넓힐지는 D-1 과 같은 성격의 물음이라 **아직 정하지 않고 남긴다.** */
|
|
766
766
|
[data-og-theme="graphite"] .og-header-cell:hover,
|
|
767
767
|
[data-og-theme="high-contrast"] .og-header-cell:hover,
|
|
768
768
|
[data-og-theme="washi"] .og-header-cell:hover,
|
|
@@ -828,7 +828,7 @@
|
|
|
828
828
|
/* 신규 — 정렬 헤더 (§3.2) */
|
|
829
829
|
--og-header-sorted-bg: #d5dde3;
|
|
830
830
|
/* 3차 반영 §7.2 — 행번호 열. base.css:421 이 color:#999 리터럴을 박아 테마를 안 따라온다.
|
|
831
|
-
값 출처 시각규칙.
|
|
831
|
+
값 출처 시각규칙. 재측정: 그 열이 앉는 배경 7종(바탕·줄무늬·hover·선택·신규·수정·삭제) 최악 4.67 */
|
|
832
832
|
--og-rownum-color: #4b5256;
|
|
833
833
|
}
|
|
834
834
|
[data-og-theme="graphite"] .og-empty-message { color: #5c6a72; }
|
|
@@ -893,7 +893,7 @@
|
|
|
893
893
|
--og-header-focus-color: #ffd400;
|
|
894
894
|
--og-header-rule-width: 3px;
|
|
895
895
|
/* 3차 반영 §7.2 — 행번호 열. base.css:421 이 color:#999 리터럴을 박아 테마를 안 따라온다.
|
|
896
|
-
값 출처 CSS.
|
|
896
|
+
값 출처 CSS. 재측정: 그 열이 앉는 배경 7종(바탕·줄무늬·hover·선택·신규·수정·삭제) 최악 7.06 (AAA 하한 7) */
|
|
897
897
|
--og-rownum-color: #242424;
|
|
898
898
|
}
|
|
899
899
|
[data-og-theme="high-contrast"] .og-empty-message { color: #4a4a4a; }
|
|
@@ -949,7 +949,7 @@
|
|
|
949
949
|
/* 신규 — 정렬 헤더 (§3.4) */
|
|
950
950
|
--og-header-sorted-bg: #ddd0ae;
|
|
951
951
|
/* 3차 반영 §7.2 — 행번호 열. base.css:421 이 color:#999 리터럴을 박아 테마를 안 따라온다.
|
|
952
|
-
값 출처 시각규칙.
|
|
952
|
+
값 출처 시각규칙. 재측정: 그 열이 앉는 배경 7종(바탕·줄무늬·hover·선택·신규·수정·삭제) 최악 4.67 */
|
|
953
953
|
--og-rownum-color: #4f4639;
|
|
954
954
|
}
|
|
955
955
|
[data-og-theme="washi"] .og-empty-message { color: #6b5d46; }
|
|
@@ -1006,7 +1006,7 @@
|
|
|
1006
1006
|
/* 신규 — 정렬 헤더 (모션 보정) */
|
|
1007
1007
|
--og-header-sorted-bg: #e8eaed;
|
|
1008
1008
|
/* 3차 반영 §7.2 — 행번호 열. base.css:421 이 color:#999 리터럴을 박아 테마를 안 따라온다.
|
|
1009
|
-
값 출처 시각규칙.
|
|
1009
|
+
값 출처 시각규칙. 재측정: 그 열이 앉는 배경 7종(바탕·줄무늬·hover·선택·신규·수정·삭제) 최악 4.60 */
|
|
1010
1010
|
--og-rownum-color: #43494e;
|
|
1011
1011
|
}
|
|
1012
1012
|
[data-og-theme="plain"] .og-empty-message { color: #5c6773; }
|
|
@@ -1069,7 +1069,7 @@
|
|
|
1069
1069
|
--og-header-sorted-color: #30353b;
|
|
1070
1070
|
--og-header-focus-color: #0b3e69;
|
|
1071
1071
|
/* 3차 반영 §7.2 — 행번호 열. base.css:421 이 color:#999 리터럴을 박아 테마를 안 따라온다.
|
|
1072
|
-
값 출처 시각규칙.
|
|
1072
|
+
값 출처 시각규칙. 재측정: 그 열이 앉는 배경 7종(바탕·줄무늬·hover·선택·신규·수정·삭제) 최악 4.62 */
|
|
1073
1073
|
--og-rownum-color: #3d4144;
|
|
1074
1074
|
}
|
|
1075
1075
|
[data-og-theme="field"] .og-empty-message { color: #696e72; }
|
|
@@ -1122,10 +1122,10 @@
|
|
|
1122
1122
|
--og-spinner-track: rgba(20,28,36,0.12);
|
|
1123
1123
|
--og-shadow-sm: 0 1px 2px rgba(20,28,36,0.16);
|
|
1124
1124
|
--og-shadow-md: 0 3px 8px rgba(20,28,36,0.20);
|
|
1125
|
-
/* 신규 — 정렬 헤더 (§3.8). 헤더 극성 뒤집기는 [
|
|
1125
|
+
/* 신규 — 정렬 헤더 (§3.8). 헤더 극성 뒤집기는 [미정] 후보라 현행(어두운 헤더) 값 */
|
|
1126
1126
|
--og-header-sorted-bg: #2E4761;
|
|
1127
1127
|
/* 3차 반영 §7.2 — 행번호 열. base.css:421 이 color:#999 리터럴을 박아 테마를 안 따라온다.
|
|
1128
|
-
값 출처 시각규칙·CSS 동일값.
|
|
1128
|
+
값 출처 시각규칙·CSS 동일값. 재측정: 그 열이 앉는 배경 7종(바탕·줄무늬·hover·선택·신규·수정·삭제) 최악 4.61 */
|
|
1129
1129
|
--og-rownum-color: #353c43;
|
|
1130
1130
|
}
|
|
1131
1131
|
[data-og-theme="clinical"] .og-empty-message { color: #5A6B78; }
|
|
@@ -1190,7 +1190,7 @@
|
|
|
1190
1190
|
/* §4.5 — 기본 헤더 band + 3px (짝 high-contrast 와 같다, 제14조ⓒ) */
|
|
1191
1191
|
--og-header-rule-width: 3px;
|
|
1192
1192
|
/* 3차 반영 §7.2 — 행번호 열. base.css:421 이 color:#999 리터럴을 박아 테마를 안 따라온다.
|
|
1193
|
-
값 출처 CSS.
|
|
1193
|
+
값 출처 CSS. 재측정: 그 열이 앉는 배경 7종(바탕·줄무늬·hover·선택·신규·수정·삭제) 최악 7.16 (AAA 하한 7) */
|
|
1194
1194
|
--og-rownum-color: #e6e6e6;
|
|
1195
1195
|
}
|
|
1196
1196
|
[data-og-theme="high-contrast-dark"] .og-empty-message { color: #c9c9c9; }
|
|
@@ -1245,7 +1245,7 @@
|
|
|
1245
1245
|
--og-header-sorted-bg: #083140; /* r4 타이포그래피(R-5): r5 — 가족 색상각 240 */ /* r4 타이포그래피(R-5): 제16조ⓔ 12.99 -> 10.37 */
|
|
1246
1246
|
/* [결정문누락] --og-row-alt-bg 는 표면 변경 후 재산출분 hex 가 없다(§3.9 근거없음) */
|
|
1247
1247
|
/* 3차 반영 §7.2 — 행번호 열. base.css:421 이 color:#999 리터럴을 박아 테마를 안 따라온다.
|
|
1248
|
-
값 출처 시각규칙.
|
|
1248
|
+
값 출처 시각규칙. 재측정: 그 열이 앉는 배경 7종(바탕·줄무늬·hover·선택·신규·수정·삭제) 최악 4.62 */
|
|
1249
1249
|
--og-rownum-color: #cad9e1;
|
|
1250
1250
|
}
|
|
1251
1251
|
[data-og-theme="blueprint"] .og-empty-message { color: #7e8792; }
|
|
@@ -1300,7 +1300,7 @@
|
|
|
1300
1300
|
--og-header-sorted-bg: #403225;
|
|
1301
1301
|
/* [결정문누락] --og-row-color 채도(C* 13.3 -> 6.4) 교정 hex 없음(§3.9 근거없음) */
|
|
1302
1302
|
/* 3차 반영 §7.2 — 행번호 열. base.css:421 이 color:#999 리터럴을 박아 테마를 안 따라온다.
|
|
1303
|
-
값 출처 시각규칙.
|
|
1303
|
+
값 출처 시각규칙. 재측정: 그 열이 앉는 배경 7종(바탕·줄무늬·hover·선택·신규·수정·삭제) 최악 4.61 */
|
|
1304
1304
|
--og-rownum-color: #dccdb7;
|
|
1305
1305
|
}
|
|
1306
1306
|
[data-og-theme="nocturne"] .og-empty-message { color: #8f847a; }
|
|
@@ -1357,7 +1357,7 @@
|
|
|
1357
1357
|
/* --og-header-focus-color 는 안 넣는다 — 헤더/행 ΔL* 3.07 로 극성 반전(>40)이 아니다 */
|
|
1358
1358
|
/* [결정문누락] pagination/input/filter 배경은 표를 재산출했는데도 hex 가 안 나왔다 — 옛 값 유지 */
|
|
1359
1359
|
/* 3차 반영 §7.2 — 행번호 열. base.css:421 이 color:#999 리터럴을 박아 테마를 안 따라온다.
|
|
1360
|
-
값 출처 시각규칙.
|
|
1360
|
+
값 출처 시각규칙. 재측정: 그 열이 앉는 배경 7종(바탕·줄무늬·hover·선택·신규·수정·삭제) 최악 4.60 */
|
|
1361
1361
|
--og-rownum-color: #babcbd;
|
|
1362
1362
|
}
|
|
1363
1363
|
[data-og-theme="graphite-dark"] .og-empty-message { color: #858d92; } /* 바탕 위 4.65 */
|
|
@@ -1383,9 +1383,9 @@
|
|
|
1383
1383
|
--og-row-added-color: #7ce095;
|
|
1384
1384
|
--og-row-edited-bg:#493a08; /* r4 테이블패턴: 제8조h 97°→91° ← #504512 */ /* 3차 반영(CSS) — 위와 한 벌 */
|
|
1385
1385
|
--og-row-edited-color: #f0d066;
|
|
1386
|
-
--og-row-removed-bg:#723638; /* r4 테이블패턴: 제7조 삭제가 가장 멀다 (4.8→17.0) ← #521a1e */ /* ▸ [
|
|
1386
|
+
--og-row-removed-bg:#723638; /* r4 테이블패턴: 제7조 삭제가 가장 멀다 (4.8→17.0) ← #521a1e */ /* ▸ [미정] 여기는 두 요구가 부딪쳐서 하나를 못 고쳤다.
|
|
1387
1387
|
모션 이 #724447 을 냈다 — 삭제행이 바탕에서 **가장 가까웠던**(18.5) 제7조 순서 위반을 34.3 으로 고치는 값이다.
|
|
1388
|
-
그런데
|
|
1388
|
+
그런데 실브라우저로 다시 재 보니 그 밝은 배경 위에서 **행번호 열이 4.26 으로 떨어진다**(하한 4.5).
|
|
1389
1389
|
§7.2 로 방금 고친 것을 도로 깨는 셈이라 못 받았다. 삭제행 배경에서 4.5 를 넘기는 행번호 hex 는
|
|
1390
1390
|
3차 산출 여섯 벌(CSS·시각규칙·디자인시스템·인터랙션·테이블패턴·모션) 어디에도 없다 → 지어내지 않고 남긴다.
|
|
1391
1391
|
선택지: ⓐ 지금대로(제8조 5.34 통과 · 제7조 순서 위반 유지 · 행번호 4.62)
|
|
@@ -1427,7 +1427,7 @@
|
|
|
1427
1427
|
--og-header-sorted-bg:#1f2b35; /* r4 테이블패턴: 제16조ⓔ 6.49 ← #33404a */
|
|
1428
1428
|
/* [결정문누락] .og-empty-message 3.70(12칸 최하) 교정 hex 없음(§3.9 근거없음) */
|
|
1429
1429
|
/* 3차 반영 §7.2 — 행번호 열. base.css:421 이 color:#999 리터럴을 박아 테마를 안 따라온다.
|
|
1430
|
-
값 출처 시각규칙.
|
|
1430
|
+
값 출처 시각규칙. 재측정: 그 열이 앉는 배경 7종(바탕·줄무늬·hover·선택·신규·수정·삭제) 최악 4.62 */
|
|
1431
1431
|
--og-rownum-color: #b4bec5;
|
|
1432
1432
|
}
|
|
1433
1433
|
[data-og-theme="sentinel"] .og-empty-message { color: #6e7d87; }
|
|
@@ -1491,7 +1491,7 @@
|
|
|
1491
1491
|
/* 신규 — 정렬 헤더 (§3.9) */
|
|
1492
1492
|
--og-header-sorted-bg: #232833;
|
|
1493
1493
|
/* 3차 반영 §7.2 — 행번호 열. base.css:421 이 color:#999 리터럴을 박아 테마를 안 따라온다.
|
|
1494
|
-
값 출처 시각규칙.
|
|
1494
|
+
값 출처 시각규칙. 재측정: 그 열이 앉는 배경 7종(바탕·줄무늬·hover·선택·신규·수정·삭제) 최악 4.61 */
|
|
1495
1495
|
--og-rownum-color: #b7bbc0;
|
|
1496
1496
|
}
|
|
1497
1497
|
[data-og-theme="ticker"] .og-empty-message { color: #6E7684; }
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const DEFAULT_AXIS_VALUE = "default", EMPTY_RESOLUTION = Object.freeze({ tokens: Object.freeze({}) });
|
|
4
4
|
function assertNamespace(o, e, t) {
|
|
5
|
-
for (const n of Object.keys(t)) if (!e.has(n)) throw new Error(`[AppearanceAxis:${o}] 토큰 "${n}" 은 ${o} 축 이름공간이 아닙니다. 각 축은 자기 이름공간 토큰만 소유합니다(축
|
|
5
|
+
for (const n of Object.keys(t)) if (!e.has(n)) throw new Error(`[AppearanceAxis:${o}] 토큰 "${n}" 은 ${o} 축 이름공간이 아닙니다. 각 축은 자기 이름공간 토큰만 소유합니다(축 섞임 금지 — 이름-분리 물리 직교, 불변식 1).`);
|
|
6
6
|
}
|
|
7
7
|
class TokenAxis {
|
|
8
8
|
constructor(e) {
|
|
@@ -40,7 +40,7 @@ function guessOwnerAxis(o) {
|
|
|
40
40
|
return o === "--og-font-size" || o === "--og-line-height" || o.startsWith("--og-density-") ? "밀도(data-og-density) — 행높이·글자크기는 밀도가 소유합니다(§9.1 밀도-타이포 동조 계약)" : o.startsWith("--og-texture-") ? "질감(data-og-texture)" : /^--og-(radius|border|elevation|focus|cell-padding|divider|scrollbar|icon|transition|container-radius|row-accent)/.test(o) ? "형태(data-og-skin)" : "색(data-og-theme) 또는 미등록 토큰";
|
|
41
41
|
}
|
|
42
42
|
function assertTypographyOnly(o, e) {
|
|
43
|
-
for (const t of Object.keys(e)) if (!TYPOGRAPHY_TOKENS.has(t)) throw new Error(`[TypographyRegistry] 타이포 "${o}" 의 토큰 "${t}" 은 타이포 축 이름공간이 아닙니다. 이 토큰은 ${guessOwnerAxis(t)} 소유입니다. 타이포(서체) 델타는 서체·웨이트·자간·숫자 변형만 담을 수 있습니다(축
|
|
43
|
+
for (const t of Object.keys(e)) if (!TYPOGRAPHY_TOKENS.has(t)) throw new Error(`[TypographyRegistry] 타이포 "${o}" 의 토큰 "${t}" 은 타이포 축 이름공간이 아닙니다. 이 토큰은 ${guessOwnerAxis(t)} 소유입니다. 타이포(서체) 델타는 서체·웨이트·자간·숫자 변형만 담을 수 있습니다(축 섞임 금지, 불변식 1).`);
|
|
44
44
|
}
|
|
45
45
|
class TypographyRegistry extends TokenAxis {
|
|
46
46
|
constructor() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const T = "default", m = Object.freeze({ tokens: Object.freeze({}) });
|
|
2
2
|
function p(o, e, t) {
|
|
3
|
-
for (const n of Object.keys(t)) if (!e.has(n)) throw new Error(`[AppearanceAxis:${o}] 토큰 "${n}" 은 ${o} 축 이름공간이 아닙니다. 각 축은 자기 이름공간 토큰만 소유합니다(축
|
|
3
|
+
for (const n of Object.keys(t)) if (!e.has(n)) throw new Error(`[AppearanceAxis:${o}] 토큰 "${n}" 은 ${o} 축 이름공간이 아닙니다. 각 축은 자기 이름공간 토큰만 소유합니다(축 섞임 금지 — 이름-분리 물리 직교, 불변식 1).`);
|
|
4
4
|
}
|
|
5
5
|
class P {
|
|
6
6
|
constructor(e) {
|
|
@@ -38,7 +38,7 @@ function w(o) {
|
|
|
38
38
|
return o === "--og-font-size" || o === "--og-line-height" || o.startsWith("--og-density-") ? "밀도(data-og-density) — 행높이·글자크기는 밀도가 소유합니다(§9.1 밀도-타이포 동조 계약)" : o.startsWith("--og-texture-") ? "질감(data-og-texture)" : /^--og-(radius|border|elevation|focus|cell-padding|divider|scrollbar|icon|transition|container-radius|row-accent)/.test(o) ? "형태(data-og-skin)" : "색(data-og-theme) 또는 미등록 토큰";
|
|
39
39
|
}
|
|
40
40
|
function u(o, e) {
|
|
41
|
-
for (const t of Object.keys(e)) if (!c.has(t)) throw new Error(`[TypographyRegistry] 타이포 "${o}" 의 토큰 "${t}" 은 타이포 축 이름공간이 아닙니다. 이 토큰은 ${w(t)} 소유입니다. 타이포(서체) 델타는 서체·웨이트·자간·숫자 변형만 담을 수 있습니다(축
|
|
41
|
+
for (const t of Object.keys(e)) if (!c.has(t)) throw new Error(`[TypographyRegistry] 타이포 "${o}" 의 토큰 "${t}" 은 타이포 축 이름공간이 아닙니다. 이 토큰은 ${w(t)} 소유입니다. 타이포(서체) 델타는 서체·웨이트·자간·숫자 변형만 담을 수 있습니다(축 섞임 금지, 불변식 1).`);
|
|
42
42
|
}
|
|
43
43
|
class y extends P {
|
|
44
44
|
constructor() {
|
package/dist/open-grid-vue.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const vue = require("vue"), OpenGrid$1 = require("./OpenGrid-
|
|
3
|
+
const vue = require("vue"), OpenGrid$1 = require("./OpenGrid-DgZtbVD0.cjs"), _sfc_main = vue.defineComponent({ __name: "OpenGrid", props: { data: { default: () => [] }, columns: {}, height: { default: 400 }, width: { default: "100%" }, editable: { type: Boolean, default: false }, sortable: { type: Boolean, default: true }, filterable: { type: Boolean, default: true }, rowNumber: { type: Boolean, default: false }, checkColumn: { type: Boolean, default: false }, stateColumn: { type: Boolean, default: false }, draggable: { type: Boolean, default: false }, frozenColumns: { default: 0 }, theme: { default: "default" }, options: {} }, emits: ["update:data", "ready", "cell-click", "row-click", "edit-end", "sort-change", "filter-change", "row-check"], setup(n, { expose: u, emit: r }) {
|
|
4
4
|
const e = n, o = r, c = vue.ref(), a = vue.shallowRef(null);
|
|
5
5
|
let i = null;
|
|
6
6
|
const s = vue.computed(() => ({ height: typeof e.height == "number" ? `${e.height}px` : e.height, width: typeof e.width == "number" ? `${e.width}px` : e.width }));
|
package/dist/open-grid-vue.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as f, ref as p, shallowRef as m, computed as h, onMounted as g, watch as d, onUnmounted as y, openBlock as b, createElementBlock as v, normalizeStyle as C } from "vue";
|
|
2
|
-
import { O as k } from "./OpenGrid-
|
|
2
|
+
import { O as k } from "./OpenGrid-E11B7Xa7.js";
|
|
3
3
|
const w = f({ __name: "OpenGrid", props: { data: { default: () => [] }, columns: {}, height: { default: 400 }, width: { default: "100%" }, editable: { type: Boolean, default: false }, sortable: { type: Boolean, default: true }, filterable: { type: Boolean, default: true }, rowNumber: { type: Boolean, default: false }, checkColumn: { type: Boolean, default: false }, stateColumn: { type: Boolean, default: false }, draggable: { type: Boolean, default: false }, frozenColumns: { default: 0 }, theme: { default: "default" }, options: {} }, emits: ["update:data", "ready", "cell-click", "row-click", "edit-end", "sort-change", "filter-change", "row-check"], setup(n, { expose: u, emit: r }) {
|
|
4
4
|
const e = n, o = r, c = p(), a = m(null);
|
|
5
5
|
let i = null;
|
package/dist/open-grid.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const OpenGrid = require("./OpenGrid-
|
|
3
|
+
const OpenGrid = require("./OpenGrid-DgZtbVD0.cjs"), Registry = require("./Registry-D74ZmdDz.cjs");
|
|
4
4
|
class GridShuttle {
|
|
5
5
|
constructor(t, e, n, o = {}) {
|
|
6
6
|
this._left = t, this._right = e;
|
package/dist/open-grid.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b, t as T } from "./OpenGrid-
|
|
2
|
-
import { D, I, L, O, S, i, l, r, s } from "./OpenGrid-
|
|
1
|
+
import { b, t as T } from "./OpenGrid-E11B7Xa7.js";
|
|
2
|
+
import { D, I, L, O, S, i, l, r, s } from "./OpenGrid-E11B7Xa7.js";
|
|
3
3
|
import { R, T as T2, i as i2 } from "./Registry-CPJYOqCn.js";
|
|
4
4
|
class C {
|
|
5
5
|
constructor(t, e, r2, o = {}) {
|
|
@@ -56,7 +56,7 @@ export declare class DetailManager<T extends Record<string, any> = any> {
|
|
|
56
56
|
private _cache;
|
|
57
57
|
/** rowId → 영속 host div(mount-once, renderBody teardown 생존 — §5 핵심 통찰). */
|
|
58
58
|
private _hosts;
|
|
59
|
-
/** FR-9(
|
|
59
|
+
/** FR-9(UX-REVIEW-08): collapse 직전 패널 내부에 포커스가 있었는지 rowId 로 기억. */
|
|
60
60
|
private _focusPendingRestore;
|
|
61
61
|
constructor(deps: DetailManagerDeps<T>);
|
|
62
62
|
private _mdOpts;
|
|
@@ -47,6 +47,13 @@ export declare class ExportManager<T extends Record<string, any> = any> {
|
|
|
47
47
|
private _readCssVar;
|
|
48
48
|
/** @internal HEX/RGB 색상 문자열을 xlsx-js-style 이 요구하는 6자리 RGB 헥스로 변환. / Converts a HEX/RGB color string into the 6-digit RGB hex xlsx-js-style expects. */
|
|
49
49
|
private _hexToXlsxRgb;
|
|
50
|
+
/** @internal 엑셀 숫자 서식으로 그대로 옮겨도 안전한 형식(`#,##0.00`, `0%` 등)만 통과시킨다. / Passes only formats that are safe to copy verbatim into an Excel number format. */
|
|
51
|
+
private _xlsxNumFmt;
|
|
52
|
+
/**
|
|
53
|
+
* @internal 시트 한 장에 헤더·줄무늬·테두리·정렬·숫자 서식을 입힌다. `exportExcel` 과 `exportSheetsExcel` 이 함께 쓴다.
|
|
54
|
+
* / Applies header, banding, borders, alignment and number formats to one sheet. Shared by `exportExcel` and `exportSheetsExcel`.
|
|
55
|
+
*/
|
|
56
|
+
private _applySheetStyle;
|
|
50
57
|
/**
|
|
51
58
|
* 현재 그리드 데이터를 스타일이 적용된 `.xlsx` 로 내보낸다. / Export the current grid data as a styled `.xlsx` file.
|
|
52
59
|
*
|
|
@@ -227,10 +227,10 @@ export declare class ExtensionPointRegistry<T = any> {
|
|
|
227
227
|
offMutation(when: 'before' | 'after', op: MutationOp, handler: TriggerHandler): void;
|
|
228
228
|
/**
|
|
229
229
|
* 타입드 확장점 카탈로그. render 훅 항목은 실제 등록분(`renderHooks.ids()`)에서 유도 —
|
|
230
|
-
* 유령 확장점(등록 없는 카탈로그 엔트리) 금지(
|
|
230
|
+
* 유령 확장점(등록 없는 카탈로그 엔트리) 금지(측정성 검토 M9b).
|
|
231
231
|
* / The typed extension-point catalog. Render-hook entries are derived from the actual
|
|
232
232
|
* registrations (`renderHooks.ids()`) — no phantom extension points (catalog entries with
|
|
233
|
-
* no registration) are allowed (
|
|
233
|
+
* no registration) are allowed (측정성 검토 M9b).
|
|
234
234
|
*
|
|
235
235
|
* @returns 확장점 카탈로그 엔트리 배열 / Array of extension-point catalog entries
|
|
236
236
|
*/
|
|
@@ -1034,13 +1034,17 @@ export declare class OpenGrid<T extends Record<string, any> = any> extends Event
|
|
|
1034
1034
|
*/
|
|
1035
1035
|
getWorksheetNames(): string[];
|
|
1036
1036
|
/**
|
|
1037
|
-
* 모든 워크시트를 다중 시트 엑셀로 내보낸다.
|
|
1037
|
+
* 모든 워크시트를 다중 시트 엑셀로 내보낸다. 시트마다 exportExcel 과 같은 테마 스타일(머리글 배경·줄무늬·테두리·숫자 서식)을 입히고,
|
|
1038
|
+
* 지금 보고 있는 시트는 화면에서 고친 내용까지 담는다.
|
|
1038
1039
|
*
|
|
1039
|
-
* Export all worksheets as a multi-sheet Excel file.
|
|
1040
|
+
* Export all worksheets as a multi-sheet Excel file. Each sheet gets the same theme styling as exportExcel
|
|
1041
|
+
* (header fill, banding, borders, number formats), and the active sheet includes edits made on screen.
|
|
1040
1042
|
*
|
|
1041
|
-
* すべてのワークシートを複数シートの Excel
|
|
1043
|
+
* すべてのワークシートを複数シートの Excel として書き出します。各シートに exportExcel と同じテーマのスタイル
|
|
1044
|
+
* (見出しの背景・縞模様・罫線・数値書式)を付け、表示中のシートは画面で編集した内容も含めます。
|
|
1042
1045
|
*
|
|
1043
|
-
* 把所有工作表导出为多工作表的 Excel
|
|
1046
|
+
* 把所有工作表导出为多工作表的 Excel。每个工作表都套用与 exportExcel 相同的主题样式(表头底色、斑马纹、边框、数字格式),
|
|
1047
|
+
* 当前正在查看的工作表还会包含在界面上所做的修改。
|
|
1044
1048
|
*/
|
|
1045
1049
|
exportSheetsExcel(filename?: string): void;
|
|
1046
1050
|
private _onResize;
|
|
@@ -1576,7 +1580,7 @@ export declare class OpenGrid<T extends Record<string, any> = any> extends Event
|
|
|
1576
1580
|
*/
|
|
1577
1581
|
getRowAt(rowIndex: number): T;
|
|
1578
1582
|
/**
|
|
1579
|
-
* 화면상의 행 위치(flat/visual index)와 실제 데이터 행을 서로 변환해 주는 리졸버를 돌려준다. 그룹
|
|
1583
|
+
* 화면상의 행 위치(flat/visual index)와 실제 데이터 행을 서로 변환해 주는 리졸버를 돌려준다. 그룹 헤더·
|
|
1580
1584
|
* 트리 자식·상세 패널 같은 의사(pseudo) 행이 섞여 index 와 데이터가 어긋날 때, "이 index 가 진짜 데이터 행인가,
|
|
1581
1585
|
* 몇 번 rowId 인가"를 물어보는 단일 창구다. 범위 선택+채우기·수식·차트 기능이 좌표를 해석할 때 모두 이 모델을 거친다.
|
|
1582
1586
|
*
|
|
@@ -1814,7 +1818,7 @@ export declare class OpenGrid<T extends Record<string, any> = any> extends Event
|
|
|
1814
1818
|
/**
|
|
1815
1819
|
* 여러 셀을 한 번에 쓴다. 내부에서 배치로 묶어 처리하므로 렌더·이벤트가 셀마다 터지지 않고 끝에서 한 번만
|
|
1816
1820
|
* 일어나, 수백 셀을 갱신할 때 낱개 `writeCell` 반복보다 훨씬 빠르다. 각 rowIndex 는 화면 기준 위치(flat
|
|
1817
|
-
* index)이며, 대상이 실제 데이터 행이 아니라 그룹
|
|
1821
|
+
* index)이며, 대상이 실제 데이터 행이 아니라 그룹 헤더·트리·상세 같은 의사(pseudo) 행이면 데이터 훼손을
|
|
1818
1822
|
* 막기 위해 그 셀은 조용히 건너뛴다. 건너뛴 셀 수를 돌려주고, 1건이라도 있으면 스크린리더 안내와
|
|
1819
1823
|
* 'writeCellsSkip' 이벤트로 알린다.
|
|
1820
1824
|
*
|
|
@@ -3026,9 +3030,10 @@ export declare class OpenGrid<T extends Record<string, any> = any> extends Event
|
|
|
3026
3030
|
el?: boolean;
|
|
3027
3031
|
}): string | SVGElement;
|
|
3028
3032
|
/**
|
|
3029
|
-
* i18n: 이 인스턴스의 UI 로케일을 전환한다. setSkin 진영 — 데이터 불변 +
|
|
3030
|
-
* `lang` 속성을 로케일 Intl 태그로 갱신(스크린리더 발음 전환),
|
|
3031
|
-
* 라벨을 새로 그리고, 캐시된 필터 패널을 무효화한 뒤
|
|
3033
|
+
* i18n: 이 인스턴스의 UI 로케일을 전환한다. setSkin 진영 — 데이터 불변 + 표의 틀(헤더·페이지네이션·
|
|
3034
|
+
* 찾기 막대)과 보이는 영역만 부분 재렌더. `lang` 속성을 로케일 Intl 태그로 갱신(스크린리더 발음 전환),
|
|
3035
|
+
* 늘 떠 있는 페이지네이션·찾기 막대의 라벨을 새로 그리고, 캐시된 필터 패널을 무효화한 뒤
|
|
3036
|
+
* 헤더+보이는 영역을 1회 재렌더한다.
|
|
3032
3037
|
* 미등록 로케일은 throw 하지 않고 폴백 유지(never-throw). 전환 후 `localeChange` 이벤트 발화.
|
|
3033
3038
|
*
|
|
3034
3039
|
* i18n: switch this instance's UI locale. setSkin camp — data-immutable + partial chrome/viewport
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
/** 외관 축 식별자. 이름공간(prefix)이 물리 직교의 열쇠. / Appearance axis id; the token prefix is the key to physical orthogonality. */
|
|
2
2
|
export type AxisId = 'theme' | 'skin' | 'density' | 'texture' | 'icon' | 'typography' | 'header';
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* 한 축의 CSS 변수 델타(자기 이름공간만).
|
|
5
|
+
*
|
|
6
|
+
* A CSS-var delta for one axis (own namespace only).
|
|
7
|
+
*
|
|
8
|
+
* 一つの軸の CSS 変数デルタ(自分の名前空間だけ)。
|
|
9
|
+
*
|
|
10
|
+
* 一个轴的 CSS 变量增量(只含自己的命名空间)。
|
|
11
|
+
*/
|
|
4
12
|
export type TokenDelta = Readonly<Record<string, string>>;
|
|
5
13
|
/** 컨테이너에 붙일 data-* 속성. / A data-* attribute to place on the container. */
|
|
6
14
|
export interface AxisAttr {
|
|
@@ -19,7 +27,15 @@ export interface AxisResolution {
|
|
|
19
27
|
/** 이 선택이 재계산을 요구하는가(밀도 = 행높이 relayout). / Does this selection require recompute (density → row-height relayout)? */
|
|
20
28
|
readonly requiresRelayout?: boolean;
|
|
21
29
|
}
|
|
22
|
-
/**
|
|
30
|
+
/**
|
|
31
|
+
* 축 정의 결과 — 등록된(가드레일 반영) 델타 + 경고.
|
|
32
|
+
*
|
|
33
|
+
* Axis-definition result — registered (clamped) delta + warnings.
|
|
34
|
+
*
|
|
35
|
+
* 軸の定義結果 — 登録された(ガードレール反映後の)デルタ + 警告。
|
|
36
|
+
*
|
|
37
|
+
* 轴的定义结果 — 注册后(经护栏钳制)的增量 + 警告。
|
|
38
|
+
*/
|
|
23
39
|
export interface AxisDefineResult {
|
|
24
40
|
readonly delta: TokenDelta;
|
|
25
41
|
readonly warnings: string[];
|
|
@@ -31,15 +47,47 @@ export interface AxisDefineResult {
|
|
|
31
47
|
*/
|
|
32
48
|
export interface IAppearanceAxis {
|
|
33
49
|
readonly id: AxisId;
|
|
34
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* 이 축이 소유하는 토큰 이름공간(검증용).
|
|
52
|
+
*
|
|
53
|
+
* Token namespace this axis owns (for validation).
|
|
54
|
+
*
|
|
55
|
+
* この軸が所有するトークンの名前空間(検証用)。
|
|
56
|
+
*
|
|
57
|
+
* 这个轴所有的令牌命名空间(供校验使用)。
|
|
58
|
+
*/
|
|
35
59
|
readonly namespace: ReadonlySet<string>;
|
|
36
60
|
/** 값 등록(사용자 확장). 축 오염·정직성 위반 시 throw 또는 클램프+경고. / Register a value; throws on axis-pollution, clamps+warns on honesty violations. */
|
|
37
61
|
define(id: string, delta: TokenDelta): AxisDefineResult;
|
|
38
|
-
/**
|
|
62
|
+
/**
|
|
63
|
+
* 등록 여부.
|
|
64
|
+
*
|
|
65
|
+
* Whether registered.
|
|
66
|
+
*
|
|
67
|
+
* 登録されているか。
|
|
68
|
+
*
|
|
69
|
+
* 是否已注册。
|
|
70
|
+
*/
|
|
39
71
|
has(id: string): boolean;
|
|
40
|
-
/**
|
|
72
|
+
/**
|
|
73
|
+
* 축값 → 해소(토큰·속성·relayout 플래그). 미등록/default → 빈 델타.
|
|
74
|
+
*
|
|
75
|
+
* Value id → resolution; unknown/default → empty delta.
|
|
76
|
+
*
|
|
77
|
+
* 軸の値 → 解決(トークン・属性・relayout フラグ)。未登録/default → 空のデルタ。
|
|
78
|
+
*
|
|
79
|
+
* 轴的值 → 解析(令牌、属性、relayout 标志)。未注册/default → 空增量。
|
|
80
|
+
*/
|
|
41
81
|
resolve(valueId: string): AxisResolution;
|
|
42
|
-
/**
|
|
82
|
+
/**
|
|
83
|
+
* 등록된 값 id 목록(카탈로그·인스펙터용).
|
|
84
|
+
*
|
|
85
|
+
* Registered value ids (for catalog/inspector).
|
|
86
|
+
*
|
|
87
|
+
* 登録された値 id の一覧(カタログ・インスペクター用)。
|
|
88
|
+
*
|
|
89
|
+
* 已注册的值 id 列表(供目录与检查器使用)。
|
|
90
|
+
*/
|
|
43
91
|
list(): string[];
|
|
44
92
|
}
|
|
45
93
|
/** 축값이 default 인가(빈-델타·attr 생략 경로). / Is a value id the default (empty-delta / attr-omitted path)? */
|