@freegridjs/core 0.7.0 → 0.8.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/LICENSE +0 -7
- package/dist/cdn/freegrid.css +54 -1
- package/dist/cdn/freegrid.esm.js +8 -8
- package/dist/cdn/freegrid.min.js +8 -8
- package/dist/index.d.ts +14 -7
- package/dist/index.js +1393 -279
- package/dist/locales/de.d.ts +1 -1
- package/dist/locales/de.js +2 -0
- package/dist/locales/en.d.ts +1 -1
- package/dist/locales/en.js +2 -0
- package/dist/locales/es.d.ts +1 -1
- package/dist/locales/es.js +2 -0
- package/dist/locales/fr.d.ts +1 -1
- package/dist/locales/fr.js +2 -0
- package/dist/locales/ja.d.ts +1 -1
- package/dist/locales/ja.js +2 -0
- package/dist/locales/ko.d.ts +1 -1
- package/dist/locales/ko.js +2 -0
- package/dist/locales/zh-CN.d.ts +1 -1
- package/dist/locales/zh-CN.js +2 -0
- package/dist/styles.css +54 -1
- package/dist/{types-DZ66BpLd.d.ts → types-e45suTSB.d.ts} +152 -6
- package/package.json +1 -1
package/LICENSE
CHANGED
|
@@ -51,11 +51,6 @@ This license covers the FreeGrid software, including the packages @freegridjs/co
|
|
|
51
51
|
and no information about end users is sent. Without a license key on such a domain it
|
|
52
52
|
also prints a notice in the browser developer console.
|
|
53
53
|
|
|
54
|
-
6. Earlier versions
|
|
55
|
-
|
|
56
|
-
Version 0.1.0 of the packages was published under the MIT License and remains available
|
|
57
|
-
under that license. This license applies to version 0.7.0 and later.
|
|
58
|
-
|
|
59
54
|
---------------------------------------------------------------------------------------
|
|
60
55
|
|
|
61
56
|
FreeGrid 라이선스 (요약, 한국어)
|
|
@@ -73,7 +68,5 @@ FreeGrid 라이선스 (요약, 한국어)
|
|
|
73
68
|
- 사용 보고: 공개 도메인에서 실행되면 하루 한 번 도메인 이름, 쿼리 문자열을 뺀 페이지
|
|
74
69
|
주소, 버전, 라이선스 키 설정 여부를 freegrid.app으로 보냅니다. 그리드의 데이터나 최종
|
|
75
70
|
사용자 정보는 보내지 않습니다.
|
|
76
|
-
- 0.1.0 버전은 MIT 라이선스로 배포되었으며 그 버전에는 MIT가 계속 적용됩니다. 이 라이선스는
|
|
77
|
-
0.7.0 버전부터 적용됩니다.
|
|
78
71
|
|
|
79
72
|
문의: help@2nd-korea.com · 대표번호 070-7768-1326
|
package/dist/cdn/freegrid.css
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
--fg-shadow: 0 12px 32px rgba(15, 23, 42, .16), 0 2px 6px rgba(15, 23, 42, .08);
|
|
7
7
|
}
|
|
8
8
|
.fg-theme-light {
|
|
9
|
-
--fg-bg: #ffffff; --fg-fg: #1f2430; --fg-muted: #
|
|
9
|
+
--fg-bg: #ffffff; --fg-fg: #1f2430; --fg-muted: #636b7c;
|
|
10
10
|
--fg-header-bg: #f6f7f9; --fg-header-fg: #39404f; --fg-border: #e3e6eb; --fg-row-border: #eef0f3;
|
|
11
11
|
--fg-row-odd: #fbfbfc; --fg-row-hover: #f2f6ff; --fg-row-selected: #e3edff;
|
|
12
12
|
--fg-accent: #2563eb; --fg-accent-fg: #ffffff; --fg-focus: #2563eb; --fg-popup-bg: #ffffff; --fg-input-bg: #ffffff;
|
|
@@ -29,6 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
.fg-root *, .fg-menu * { box-sizing: border-box; }
|
|
31
31
|
.fg-main { position: relative; display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; overflow: hidden; }
|
|
32
|
+
.fg-grid { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; outline: none; }
|
|
32
33
|
.fg-root [hidden], .fg-menu [hidden] { display: none !important; }
|
|
33
34
|
.fg-header { display: flex; flex: none; background: var(--fg-header-bg); color: var(--fg-header-fg); border-bottom: var(--fg-header-border, 1px solid var(--fg-border)); }
|
|
34
35
|
.fg-header-pane { position: relative; overflow: hidden; flex: none; }
|
|
@@ -291,7 +292,11 @@ textarea.fg-editor-control { padding-top: 8px; resize: none; }
|
|
|
291
292
|
.fg-drag-handle.fg-drag-disabled { opacity: .35; cursor: not-allowed; }
|
|
292
293
|
.fg-row-dragging, .fg-row-dragging * { cursor: grabbing !important; }
|
|
293
294
|
.fg-row-drop-marker { position: absolute; left: 0; right: 0; height: 2px; background: var(--fg-accent); z-index: 6; pointer-events: none; }
|
|
295
|
+
.fg-row-drop-marker.fg-row-drop-inside { background: color-mix(in srgb, var(--fg-accent) 8%, transparent); box-shadow: inset 0 0 0 2px var(--fg-accent); }
|
|
294
296
|
@media (prefers-reduced-motion: reduce) { .fg-group-toggle svg, .fg-tree-toggle svg, .fg-detail-toggle svg { transition: none; } }
|
|
297
|
+
.fg-tree-loading svg { animation: fg-spin .8s linear infinite; opacity: .6; }
|
|
298
|
+
@keyframes fg-spin { to { transform: rotate(360deg); } }
|
|
299
|
+
@media (prefers-reduced-motion: reduce) { .fg-tree-loading svg { animation: none; } }
|
|
295
300
|
|
|
296
301
|
/* pagination and server rows */
|
|
297
302
|
.fg-pager {
|
|
@@ -366,3 +371,51 @@ textarea.fg-editor-control { padding-top: 8px; resize: none; }
|
|
|
366
371
|
.fg-chart-plot:hover .fg-chart-bar:not(:hover), .fg-chart:hover .fg-chart-slice:not(:hover) { opacity: .55; }
|
|
367
372
|
.fg-chart-slice { stroke: var(--fg-popup-bg, #fff); stroke-width: 1.5; }
|
|
368
373
|
@media (prefers-reduced-motion: reduce) { .fg-chart-bar, .fg-chart-slice, .fg-chart-point { transition: none; } }
|
|
374
|
+
|
|
375
|
+
/* free-use badge (unlicensed company domains) */
|
|
376
|
+
.fg-free-badge {
|
|
377
|
+
position: absolute; right: 22px; bottom: 22px; z-index: 30; display: inline-flex; align-items: center; gap: 6px;
|
|
378
|
+
padding: 4px 10px 4px 6px; border-radius: 999px; background: rgba(255, 255, 255, .92); border: 1px solid rgba(14, 23, 38, .15);
|
|
379
|
+
box-shadow: 0 2px 8px rgba(14, 23, 38, .12); color: #0E1726; font: 600 11px/1.2 var(--fg-font); text-decoration: none; opacity: .9;
|
|
380
|
+
}
|
|
381
|
+
.fg-free-badge:hover { opacity: 1; }
|
|
382
|
+
.fg-free-badge svg { flex: none; }
|
|
383
|
+
|
|
384
|
+
/* column spans */
|
|
385
|
+
.fg-cell-span-hidden { visibility: hidden; }
|
|
386
|
+
.fg-cell-colspan { z-index: 1; background: inherit; }
|
|
387
|
+
|
|
388
|
+
/* per-cell locks */
|
|
389
|
+
.fg-cell-readonly { color: var(--fg-muted); background-image: linear-gradient(rgba(14, 23, 38, .025), rgba(14, 23, 38, .025)); }
|
|
390
|
+
.fg-cell-select-locked .fg-checkbox { cursor: not-allowed; opacity: .45; }
|
|
391
|
+
|
|
392
|
+
/* wrapped cells (autoRowHeight grows the row to fit) */
|
|
393
|
+
.fg-cell-wrap { white-space: normal; overflow-wrap: anywhere; text-overflow: clip; line-height: 1.45; padding-top: 6px; padding-bottom: 6px; }
|
|
394
|
+
|
|
395
|
+
/* right-to-left: mirror the grid area, then turn every cell back so text reads normally */
|
|
396
|
+
/* the root keeps dir=rtl (side bar on the left); the grid inside is laid out ltr and mirrored */
|
|
397
|
+
.fg-rtl .fg-main { transform: scaleX(-1); direction: ltr; }
|
|
398
|
+
.fg-rtl .fg-cell, .fg-rtl .fg-header-cell, .fg-rtl .fg-statusbar, .fg-rtl .fg-pager, .fg-rtl .fg-group-panel,
|
|
399
|
+
.fg-rtl .fg-overlay, .fg-rtl .fg-find, .fg-rtl .fg-chart-panel, .fg-rtl .fg-row-detail .fg-detail { transform: scaleX(-1); direction: rtl; }
|
|
400
|
+
.fg-rtl .fg-sidebar { direction: rtl; border-left: 0; border-right: 1px solid var(--fg-border); }
|
|
401
|
+
|
|
402
|
+
/* touch */
|
|
403
|
+
.fg-body { touch-action: pan-x pan-y; }
|
|
404
|
+
@media (pointer: coarse) {
|
|
405
|
+
.fg-editor input, .fg-editor select, .fg-editor textarea { font-size: 16px; } /* no zoom-in on focus in mobile Safari */
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
/* card view for narrow screens */
|
|
409
|
+
.fg-card-mode .fg-header, .fg-card-mode .fg-body, .fg-card-mode .fg-grid, .fg-card-mode .fg-summary, .fg-card-mode .fg-pinned-rows { display: none; }
|
|
410
|
+
.fg-cards { flex: 1; min-height: 0; overflow: auto; padding: 10px; -webkit-overflow-scrolling: touch; }
|
|
411
|
+
.fg-cards-canvas { position: relative; }
|
|
412
|
+
.fg-card {
|
|
413
|
+
position: absolute; left: 0; right: 0; top: 0; box-sizing: border-box; padding: 10px 14px; overflow: hidden;
|
|
414
|
+
border: 1px solid var(--fg-border); border-radius: 10px; background: var(--fg-bg); box-shadow: 0 1px 2px rgba(14, 23, 38, .06);
|
|
415
|
+
}
|
|
416
|
+
.fg-card-selected { border-color: var(--fg-accent); background: var(--fg-row-selected); }
|
|
417
|
+
.fg-card-other { background: var(--fg-header-bg); font-weight: 600; display: flex; align-items: center; }
|
|
418
|
+
.fg-card-head { display: flex; align-items: center; gap: 8px; height: var(--fg-card-line, 27px); color: var(--fg-muted); font-size: .92em; }
|
|
419
|
+
.fg-card-line { display: grid; grid-template-columns: minmax(80px, 38%) 1fr; gap: 10px; align-items: center; height: var(--fg-card-line, 27px); }
|
|
420
|
+
.fg-card-label { color: var(--fg-muted); font-size: .92em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
421
|
+
.fg-card-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|