@freegridjs/core 1.6.0 → 1.7.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.
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-DPOWDM8R.js';
1
+ import { L as LocalePack } from '../types-D8F0nn1a.js';
2
2
 
3
3
  declare const de: LocalePack;
4
4
 
@@ -73,6 +73,7 @@ var de = {
73
73
  exportCsv: "Als CSV exportieren",
74
74
  exportExcel: "Nach Excel exportieren",
75
75
  print: "Drucken\u2026",
76
+ printLimited: "Die ersten {n} von {total} Zeilen wurden gedruckt. F\xFCr alle Zeilen nach Excel oder CSV exportieren.",
76
77
  pivot: "Pivot",
77
78
  pivotMode: "Pivot-Modus",
78
79
  pivotRows: "Zeilengruppen",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-DPOWDM8R.js';
1
+ import { L as LocalePack } from '../types-D8F0nn1a.js';
2
2
 
3
3
  declare const en: LocalePack;
4
4
 
@@ -73,6 +73,7 @@ var en = {
73
73
  exportCsv: "Export CSV",
74
74
  exportExcel: "Export Excel",
75
75
  print: "Print\u2026",
76
+ printLimited: "Printed the first {n} of {total} rows. Export to Excel or CSV for all of them.",
76
77
  pivot: "Pivot",
77
78
  pivotMode: "Pivot mode",
78
79
  pivotRows: "Row groups",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-DPOWDM8R.js';
1
+ import { L as LocalePack } from '../types-D8F0nn1a.js';
2
2
 
3
3
  declare const es: LocalePack;
4
4
 
@@ -73,6 +73,7 @@ var es = {
73
73
  exportCsv: "Exportar CSV",
74
74
  exportExcel: "Exportar a Excel",
75
75
  print: "Imprimir\u2026",
76
+ printLimited: "Se imprimieron las primeras {n} de {total} filas. Exporte a Excel o CSV para obtenerlas todas.",
76
77
  pivot: "Tabla din\xE1mica",
77
78
  pivotMode: "Modo tabla din\xE1mica",
78
79
  pivotRows: "Grupos de filas",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-DPOWDM8R.js';
1
+ import { L as LocalePack } from '../types-D8F0nn1a.js';
2
2
 
3
3
  declare const fr: LocalePack;
4
4
 
@@ -73,6 +73,7 @@ var fr = {
73
73
  exportCsv: "Exporter en CSV",
74
74
  exportExcel: "Exporter vers Excel",
75
75
  print: "Imprimer\u2026",
76
+ printLimited: "Les {n} premi\xE8res lignes sur {total} ont \xE9t\xE9 imprim\xE9es. Exportez vers Excel ou CSV pour toutes les avoir.",
76
77
  pivot: "Tableau crois\xE9",
77
78
  pivotMode: "Mode tableau crois\xE9",
78
79
  pivotRows: "Groupes de lignes",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-DPOWDM8R.js';
1
+ import { L as LocalePack } from '../types-D8F0nn1a.js';
2
2
 
3
3
  declare const id: LocalePack;
4
4
 
@@ -73,6 +73,7 @@ var id = {
73
73
  exportCsv: "Ekspor CSV",
74
74
  exportExcel: "Ekspor Excel",
75
75
  print: "Cetak\u2026",
76
+ printLimited: "Dicetak {n} baris pertama dari {total}. Ekspor ke Excel atau CSV untuk semua baris.",
76
77
  pivot: "Pivot",
77
78
  pivotMode: "Mode pivot",
78
79
  pivotRows: "Grup baris",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-DPOWDM8R.js';
1
+ import { L as LocalePack } from '../types-D8F0nn1a.js';
2
2
 
3
3
  declare const it: LocalePack;
4
4
 
@@ -73,6 +73,7 @@ var it = {
73
73
  exportCsv: "Esporta CSV",
74
74
  exportExcel: "Esporta Excel",
75
75
  print: "Stampa\u2026",
76
+ printLimited: "Stampate le prime {n} di {total} righe. Esporta in Excel o CSV per averle tutte.",
76
77
  pivot: "Pivot",
77
78
  pivotMode: "Modalit\xE0 pivot",
78
79
  pivotRows: "Gruppi di righe",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-DPOWDM8R.js';
1
+ import { L as LocalePack } from '../types-D8F0nn1a.js';
2
2
 
3
3
  declare const ja: LocalePack;
4
4
 
@@ -73,6 +73,7 @@ var ja = {
73
73
  exportCsv: "CSV \u306B\u66F8\u304D\u51FA\u3059",
74
74
  exportExcel: "Excel \u306B\u66F8\u304D\u51FA\u3059",
75
75
  print: "\u5370\u5237\u2026",
76
+ printLimited: "\u5168 {total} \u884C\u306E\u3046\u3061\u6700\u521D\u306E {n} \u884C\u306E\u307F\u5370\u5237\u3057\u307E\u3057\u305F\u3002\u3059\u3079\u3066\u306E\u884C\u306F Excel \u307E\u305F\u306F CSV \u306B\u66F8\u304D\u51FA\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
76
77
  pivot: "\u30D4\u30DC\u30C3\u30C8",
77
78
  pivotMode: "\u30D4\u30DC\u30C3\u30C8\u30E2\u30FC\u30C9",
78
79
  pivotRows: "\u884C\u30B0\u30EB\u30FC\u30D7",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-DPOWDM8R.js';
1
+ import { L as LocalePack } from '../types-D8F0nn1a.js';
2
2
 
3
3
  declare const ko: LocalePack;
4
4
 
@@ -73,6 +73,7 @@ var ko = {
73
73
  exportCsv: "CSV\uB85C \uB0B4\uBCF4\uB0B4\uAE30",
74
74
  exportExcel: "\uC5D1\uC140\uB85C \uB0B4\uBCF4\uB0B4\uAE30",
75
75
  print: "\uC778\uC1C4\u2026",
76
+ printLimited: "\uC804\uCCB4 {total}\uD589 \uC911 \uCC98\uC74C {n}\uD589\uB9CC \uC778\uC1C4\uD588\uC2B5\uB2C8\uB2E4. \uC804\uCCB4\uB294 \uC5D1\uC140\uC774\uB098 CSV\uB85C \uB0B4\uBCF4\uB0B4\uC138\uC694.",
76
77
  pivot: "\uD53C\uBC97",
77
78
  pivotMode: "\uD53C\uBC97 \uBAA8\uB4DC",
78
79
  pivotRows: "\uD589 \uADF8\uB8F9",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-DPOWDM8R.js';
1
+ import { L as LocalePack } from '../types-D8F0nn1a.js';
2
2
 
3
3
  declare const ptBR: LocalePack;
4
4
 
@@ -73,6 +73,7 @@ var ptBR = {
73
73
  exportCsv: "Exportar CSV",
74
74
  exportExcel: "Exportar Excel",
75
75
  print: "Imprimir\u2026",
76
+ printLimited: "Foram impressas as primeiras {n} de {total} linhas. Exporte para Excel ou CSV para obter todas.",
76
77
  pivot: "Piv\xF4",
77
78
  pivotMode: "Modo piv\xF4",
78
79
  pivotRows: "Grupos de linhas",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-DPOWDM8R.js';
1
+ import { L as LocalePack } from '../types-D8F0nn1a.js';
2
2
 
3
3
  declare const ru: LocalePack;
4
4
 
@@ -73,6 +73,7 @@ var ru = {
73
73
  exportCsv: "\u042D\u043A\u0441\u043F\u043E\u0440\u0442 \u0432 CSV",
74
74
  exportExcel: "\u042D\u043A\u0441\u043F\u043E\u0440\u0442 \u0432 Excel",
75
75
  print: "\u041F\u0435\u0447\u0430\u0442\u044C\u2026",
76
+ printLimited: "\u041D\u0430\u043F\u0435\u0447\u0430\u0442\u0430\u043D\u044B \u043F\u0435\u0440\u0432\u044B\u0435 {n} \u0438\u0437 {total} \u0441\u0442\u0440\u043E\u043A. \u0427\u0442\u043E\u0431\u044B \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432\u0441\u0435, \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0432 Excel \u0438\u043B\u0438 CSV.",
76
77
  pivot: "\u0421\u0432\u043E\u0434\u043D\u0430\u044F",
77
78
  pivotMode: "\u0420\u0435\u0436\u0438\u043C \u0441\u0432\u043E\u0434\u043D\u043E\u0439 \u0442\u0430\u0431\u043B\u0438\u0446\u044B",
78
79
  pivotRows: "\u0413\u0440\u0443\u043F\u043F\u044B \u0441\u0442\u0440\u043E\u043A",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-DPOWDM8R.js';
1
+ import { L as LocalePack } from '../types-D8F0nn1a.js';
2
2
 
3
3
  declare const th: LocalePack;
4
4
 
@@ -73,6 +73,7 @@ var th = {
73
73
  exportCsv: "\u0E2A\u0E48\u0E07\u0E2D\u0E2D\u0E01 CSV",
74
74
  exportExcel: "\u0E2A\u0E48\u0E07\u0E2D\u0E2D\u0E01 Excel",
75
75
  print: "\u0E1E\u0E34\u0E21\u0E1E\u0E4C\u2026",
76
+ printLimited: "\u0E1E\u0E34\u0E21\u0E1E\u0E4C {n} \u0E41\u0E16\u0E27\u0E41\u0E23\u0E01\u0E08\u0E32\u0E01\u0E17\u0E31\u0E49\u0E07\u0E2B\u0E21\u0E14 {total} \u0E41\u0E16\u0E27 \u0E2A\u0E48\u0E07\u0E2D\u0E2D\u0E01\u0E40\u0E1B\u0E47\u0E19 Excel \u0E2B\u0E23\u0E37\u0E2D CSV \u0E40\u0E1E\u0E37\u0E48\u0E2D\u0E23\u0E31\u0E1A\u0E17\u0E38\u0E01\u0E41\u0E16\u0E27",
76
77
  pivot: "Pivot",
77
78
  pivotMode: "\u0E42\u0E2B\u0E21\u0E14 Pivot",
78
79
  pivotRows: "\u0E01\u0E25\u0E38\u0E48\u0E21\u0E41\u0E16\u0E27",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-DPOWDM8R.js';
1
+ import { L as LocalePack } from '../types-D8F0nn1a.js';
2
2
 
3
3
  declare const vi: LocalePack;
4
4
 
@@ -73,6 +73,7 @@ var vi = {
73
73
  exportCsv: "Xu\u1EA5t CSV",
74
74
  exportExcel: "Xu\u1EA5t Excel",
75
75
  print: "In\u2026",
76
+ printLimited: "\u0110\xE3 in {n} h\xE0ng \u0111\u1EA7u ti\xEAn trong t\u1ED5ng s\u1ED1 {total} h\xE0ng. Xu\u1EA5t sang Excel ho\u1EB7c CSV \u0111\u1EC3 c\xF3 t\u1EA5t c\u1EA3.",
76
77
  pivot: "Pivot",
77
78
  pivotMode: "Ch\u1EBF \u0111\u1ED9 pivot",
78
79
  pivotRows: "Nh\xF3m d\xF2ng",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-DPOWDM8R.js';
1
+ import { L as LocalePack } from '../types-D8F0nn1a.js';
2
2
 
3
3
  declare const zhCN: LocalePack;
4
4
 
@@ -73,6 +73,7 @@ var zhCN = {
73
73
  exportCsv: "\u5BFC\u51FA CSV",
74
74
  exportExcel: "\u5BFC\u51FA Excel",
75
75
  print: "\u6253\u5370\u2026",
76
+ printLimited: "\u4EC5\u6253\u5370\u4E86 {total} \u884C\u4E2D\u7684\u524D {n} \u884C\u3002\u5982\u9700\u5168\u90E8\uFF0C\u8BF7\u5BFC\u51FA\u4E3A Excel \u6216 CSV\u3002",
76
77
  pivot: "\u6570\u636E\u900F\u89C6",
77
78
  pivotMode: "\u900F\u89C6\u6A21\u5F0F",
78
79
  pivotRows: "\u884C\u5206\u7EC4",
@@ -1,4 +1,4 @@
1
- import { L as LocalePack } from '../types-DPOWDM8R.js';
1
+ import { L as LocalePack } from '../types-D8F0nn1a.js';
2
2
 
3
3
  declare const zhTW: LocalePack;
4
4
 
@@ -73,6 +73,7 @@ var zhTW = {
73
73
  exportCsv: "\u532F\u51FA CSV",
74
74
  exportExcel: "\u532F\u51FA Excel",
75
75
  print: "\u5217\u5370\u2026",
76
+ printLimited: "\u50C5\u5217\u5370\u4E86 {total} \u5217\u4E2D\u7684\u524D {n} \u5217\u3002\u5982\u9700\u5168\u90E8\uFF0C\u8ACB\u532F\u51FA\u70BA Excel \u6216 CSV\u3002",
76
77
  pivot: "\u6A1E\u7D10\u5206\u6790",
77
78
  pivotMode: "\u6A1E\u7D10\u5206\u6790\u6A21\u5F0F",
78
79
  pivotRows: "\u5217\u7FA4\u7D44",
package/dist/styles.css CHANGED
@@ -112,6 +112,12 @@
112
112
  background: var(--fg-input-bg); color: inherit; font: inherit;
113
113
  }
114
114
  .fg-input:focus, .fg-filter-op:focus { outline: 2px solid var(--fg-focus); outline-offset: -1px; }
115
+ /* every select in the grid, its menus and dialogs: a drawn chevron with room on the right */
116
+ .fg-root select:not([multiple]):not([size]), .fg-menu select:not([multiple]):not([size]) {
117
+ appearance: none; -webkit-appearance: none; padding-right: 26px;
118
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%238a93a6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
119
+ background-repeat: no-repeat; background-position: right 9px center; background-size: 11px;
120
+ }
115
121
  .fg-set-list { max-height: 220px; overflow: auto; display: flex; flex-direction: column; }
116
122
  .fg-set-item { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 5px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
117
123
  .fg-set-item:hover { background: var(--fg-row-hover); }
@@ -361,6 +361,8 @@ interface Messages {
361
361
  exportCsv: string;
362
362
  exportExcel: string;
363
363
  print: string;
364
+ /** Printed or PDF page cut at maxRows: {n} rows printed, {total} rows in all. */
365
+ printLimited: string;
364
366
  pivot: string;
365
367
  pivotMode: string;
366
368
  pivotRows: string;
@@ -546,6 +548,11 @@ interface PrintOptions extends ExportOptions {
546
548
  rowNumbers?: boolean;
547
549
  /** Repeat the title block on every page. Default false. */
548
550
  repeatTitle?: boolean;
551
+ /**
552
+ * Most data rows to print (default 1000); a note at the end says how many were left out.
553
+ * Browsers take minutes to lay out a print of many thousands of rows; Excel and CSV have no limit.
554
+ */
555
+ maxRows?: number;
549
556
  }
550
557
  /** Look of a cell set by a conditional format. Colours: #hex, rgb(), hsl(), names or var(--x). */
551
558
  interface CellStyle {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freegridjs/core",
3
- "version": "1.6.0",
3
+ "version": "1.7.1",
4
4
  "description": "FreeGrid — a fast data grid for the web (free for personal use): virtual scrolling, grouping, pivot, charts, Excel export, 7 languages.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",