persian-data-grid 0.5.0 → 0.7.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/OFL.txt +93 -0
- package/README.md +179 -22
- package/dist/ERPTableGroupRow-E5Q6FYDS.js +125 -0
- package/dist/ERPTableGroupRow-E5Q6FYDS.js.map +1 -0
- package/dist/ERPTableGroupRow-F2IPDYL5.cjs +131 -0
- package/dist/ERPTableGroupRow-F2IPDYL5.cjs.map +1 -0
- package/dist/GridPlugin-Bewn0X51.d.ts +57 -0
- package/dist/GridPlugin-DewWufGZ.d.cts +57 -0
- package/dist/GridPresenceService-GEH6535Q.js +3 -0
- package/dist/GridPresenceService-GEH6535Q.js.map +1 -0
- package/dist/GridPresenceService-RDN5FXHQ.cjs +12 -0
- package/dist/GridPresenceService-RDN5FXHQ.cjs.map +1 -0
- package/dist/GridSession-CeIfVFck.d.ts +2625 -0
- package/dist/GridSession-CmQn2RnL.d.cts +2625 -0
- package/dist/GridSyncService-3JQLEY65.cjs +12 -0
- package/dist/GridSyncService-3JQLEY65.cjs.map +1 -0
- package/dist/GridSyncService-GECXGEKL.js +3 -0
- package/dist/GridSyncService-GECXGEKL.js.map +1 -0
- package/dist/PdfRenderer-B9FJaCo_.d.cts +22 -0
- package/dist/PdfRenderer-bN7ca_Aj.d.ts +22 -0
- package/dist/RemoteApi-CCQxiSf1.d.cts +28 -0
- package/dist/RemoteApi-CCQxiSf1.d.ts +28 -0
- package/dist/SelectImpl-NM4O4IGW.js +447 -0
- package/dist/SelectImpl-NM4O4IGW.js.map +1 -0
- package/dist/SelectImpl-W2EI4T7O.cjs +453 -0
- package/dist/SelectImpl-W2EI4T7O.cjs.map +1 -0
- package/dist/UITableController-C71LXBiX.d.ts +678 -0
- package/dist/UITableController-CIwnHIw8.d.cts +678 -0
- package/dist/VazirmatnPdfRenderer-CpCqA-Wh.d.cts +96 -0
- package/dist/VazirmatnPdfRenderer-D46smncn.d.ts +96 -0
- package/dist/adapters/arian-erp.cjs +89 -0
- package/dist/adapters/arian-erp.cjs.map +1 -0
- package/dist/adapters/arian-erp.d.cts +62 -0
- package/dist/adapters/arian-erp.d.ts +62 -0
- package/dist/adapters/arian-erp.js +79 -0
- package/dist/adapters/arian-erp.js.map +1 -0
- package/dist/appendAtEnd-RHIQRG2W.cjs +35 -0
- package/dist/appendAtEnd-RHIQRG2W.cjs.map +1 -0
- package/dist/appendAtEnd-TJEABLGD.js +33 -0
- package/dist/appendAtEnd-TJEABLGD.js.map +1 -0
- package/dist/applyImportedRows-C2fWYoPy.d.cts +135 -0
- package/dist/applyImportedRows-Cqh_N_0k.d.ts +135 -0
- package/dist/applyRowVisibilityHandler-Q64ZFC7A.cjs +86 -0
- package/dist/applyRowVisibilityHandler-Q64ZFC7A.cjs.map +1 -0
- package/dist/applyRowVisibilityHandler-ZLZXQEGY.js +84 -0
- package/dist/applyRowVisibilityHandler-ZLZXQEGY.js.map +1 -0
- package/dist/broadcastChannelTransport-FHUMV76O.cjs +12 -0
- package/dist/broadcastChannelTransport-FHUMV76O.cjs.map +1 -0
- package/dist/broadcastChannelTransport-MIH53VNZ.js +3 -0
- package/dist/broadcastChannelTransport-MIH53VNZ.js.map +1 -0
- package/dist/callbackRemoteApi-BYLjmSI6.d.ts +51 -0
- package/dist/callbackRemoteApi-Cv26MmSD.d.cts +51 -0
- package/dist/cellRenderContext-BaNh4qn_.d.ts +42 -0
- package/dist/cellRenderContext-DvngkptV.d.cts +42 -0
- package/dist/chunk-27ALJSZP.js +12187 -0
- package/dist/chunk-27ALJSZP.js.map +1 -0
- package/dist/chunk-3HP3HQCW.cjs +688 -0
- package/dist/chunk-3HP3HQCW.cjs.map +1 -0
- package/dist/chunk-3Y3KKGEC.js +3 -0
- package/dist/chunk-3Y3KKGEC.js.map +1 -0
- package/dist/chunk-52LFOPXD.cjs +588 -0
- package/dist/chunk-52LFOPXD.cjs.map +1 -0
- package/dist/chunk-5ALMNLUR.cjs +1408 -0
- package/dist/chunk-5ALMNLUR.cjs.map +1 -0
- package/dist/chunk-5HKVMPBD.js +937 -0
- package/dist/chunk-5HKVMPBD.js.map +1 -0
- package/dist/chunk-72IVAOTK.cjs +38 -0
- package/dist/chunk-72IVAOTK.cjs.map +1 -0
- package/dist/chunk-77UXAJII.js +112 -0
- package/dist/chunk-77UXAJII.js.map +1 -0
- package/dist/chunk-7GWV5HGO.js +36 -0
- package/dist/chunk-7GWV5HGO.js.map +1 -0
- package/dist/chunk-7T6AWRPU.js +581 -0
- package/dist/chunk-7T6AWRPU.js.map +1 -0
- package/dist/chunk-AU3RDJYQ.js +243 -0
- package/dist/chunk-AU3RDJYQ.js.map +1 -0
- package/dist/chunk-CILNIWYW.cjs +100 -0
- package/dist/chunk-CILNIWYW.cjs.map +1 -0
- package/dist/chunk-CMQ4VLCW.cjs +840 -0
- package/dist/chunk-CMQ4VLCW.cjs.map +1 -0
- package/dist/chunk-DFFP7SJ6.cjs +257 -0
- package/dist/chunk-DFFP7SJ6.cjs.map +1 -0
- package/dist/chunk-E2J533UH.cjs +53 -0
- package/dist/chunk-E2J533UH.cjs.map +1 -0
- package/dist/chunk-EBV6HGZB.cjs +33 -0
- package/dist/chunk-EBV6HGZB.cjs.map +1 -0
- package/dist/chunk-F4PYOYHR.js +112 -0
- package/dist/chunk-F4PYOYHR.js.map +1 -0
- package/dist/chunk-F6EMC75A.cjs +34 -0
- package/dist/chunk-F6EMC75A.cjs.map +1 -0
- package/dist/chunk-GKE33FOJ.js +32 -0
- package/dist/chunk-GKE33FOJ.js.map +1 -0
- package/dist/chunk-GQEDLUMB.js +168 -0
- package/dist/chunk-GQEDLUMB.js.map +1 -0
- package/dist/chunk-HLOHWFOA.js +645 -0
- package/dist/chunk-HLOHWFOA.js.map +1 -0
- package/dist/chunk-IMPCRWYP.cjs +251 -0
- package/dist/chunk-IMPCRWYP.cjs.map +1 -0
- package/dist/chunk-IPPIXOVQ.js +317 -0
- package/dist/chunk-IPPIXOVQ.js.map +1 -0
- package/dist/chunk-J4XJ4UBC.js +1404 -0
- package/dist/chunk-J4XJ4UBC.js.map +1 -0
- package/dist/chunk-J7CPPFXT.cjs +89 -0
- package/dist/chunk-J7CPPFXT.cjs.map +1 -0
- package/dist/chunk-JOICD47Q.cjs +41 -0
- package/dist/chunk-JOICD47Q.cjs.map +1 -0
- package/dist/chunk-KCNTKYUY.js +206 -0
- package/dist/chunk-KCNTKYUY.js.map +1 -0
- package/dist/chunk-KHMG6EI2.js +13 -0
- package/dist/chunk-KHMG6EI2.js.map +1 -0
- package/dist/chunk-KMRURD5J.cjs +15 -0
- package/dist/chunk-KMRURD5J.cjs.map +1 -0
- package/dist/chunk-KRJG3KMP.cjs +174 -0
- package/dist/chunk-KRJG3KMP.cjs.map +1 -0
- package/dist/chunk-LY27YAXE.cjs +208 -0
- package/dist/chunk-LY27YAXE.cjs.map +1 -0
- package/dist/chunk-MT3KLB2Q.cjs +944 -0
- package/dist/chunk-MT3KLB2Q.cjs.map +1 -0
- package/dist/chunk-MUQQKPWR.js +84 -0
- package/dist/chunk-MUQQKPWR.js.map +1 -0
- package/dist/chunk-N7SJTINL.cjs +4 -0
- package/dist/chunk-N7SJTINL.cjs.map +1 -0
- package/dist/chunk-NB5GCGHL.js +833 -0
- package/dist/chunk-NB5GCGHL.js.map +1 -0
- package/dist/chunk-NQUVAJQA.js +298 -0
- package/dist/chunk-NQUVAJQA.js.map +1 -0
- package/dist/chunk-NTV2UUAJ.cjs +149 -0
- package/dist/chunk-NTV2UUAJ.cjs.map +1 -0
- package/dist/chunk-PJQWHF6T.js +31 -0
- package/dist/chunk-PJQWHF6T.js.map +1 -0
- package/dist/chunk-PQY54EL5.js +248 -0
- package/dist/chunk-PQY54EL5.js.map +1 -0
- package/dist/chunk-Q7TBBUTX.cjs +110 -0
- package/dist/chunk-Q7TBBUTX.cjs.map +1 -0
- package/dist/chunk-QZN7R2WP.cjs +114 -0
- package/dist/chunk-QZN7R2WP.cjs.map +1 -0
- package/dist/chunk-RKVSJU46.js +35 -0
- package/dist/chunk-RKVSJU46.js.map +1 -0
- package/dist/chunk-SVO62ZV2.js +50 -0
- package/dist/chunk-SVO62ZV2.js.map +1 -0
- package/dist/chunk-SX4VQXAA.cjs +114 -0
- package/dist/chunk-SX4VQXAA.cjs.map +1 -0
- package/dist/chunk-SZ7BLAY3.js +92 -0
- package/dist/chunk-SZ7BLAY3.js.map +1 -0
- package/dist/chunk-TN4MG6FY.js +112 -0
- package/dist/chunk-TN4MG6FY.js.map +1 -0
- package/dist/chunk-UC7PHDM6.cjs +331 -0
- package/dist/chunk-UC7PHDM6.cjs.map +1 -0
- package/dist/chunk-UXVLYUUW.js +108 -0
- package/dist/chunk-UXVLYUUW.js.map +1 -0
- package/dist/chunk-VBAZ77Q4.js +932 -0
- package/dist/chunk-VBAZ77Q4.js.map +1 -0
- package/dist/chunk-VSAFQTW5.cjs +319 -0
- package/dist/chunk-VSAFQTW5.cjs.map +1 -0
- package/dist/chunk-VYJQ2HTA.cjs +936 -0
- package/dist/chunk-VYJQ2HTA.cjs.map +1 -0
- package/dist/chunk-W5256BJ4.js +56 -0
- package/dist/chunk-W5256BJ4.js.map +1 -0
- package/dist/chunk-WTHTVKVI.cjs +12299 -0
- package/dist/chunk-WTHTVKVI.cjs.map +1 -0
- package/dist/chunk-WUMOSOEK.cjs +62 -0
- package/dist/chunk-WUMOSOEK.cjs.map +1 -0
- package/dist/chunk-XLRE2J25.js +140 -0
- package/dist/chunk-XLRE2J25.js.map +1 -0
- package/dist/chunk-Z4QPZ3Z3.cjs +114 -0
- package/dist/chunk-Z4QPZ3Z3.cjs.map +1 -0
- package/dist/createEngineGridQuery-BBkud5oE.d.ts +939 -0
- package/dist/createEngineGridQuery-D-fgO_jg.d.cts +939 -0
- package/dist/date-picker-jalali.cjs +263 -0
- package/dist/date-picker-jalali.cjs.map +1 -0
- package/dist/date-picker-jalali.d.cts +62 -0
- package/dist/date-picker-jalali.d.ts +62 -0
- package/dist/date-picker-jalali.js +256 -0
- package/dist/date-picker-jalali.js.map +1 -0
- package/dist/finance.cjs +205 -0
- package/dist/finance.cjs.map +1 -0
- package/dist/finance.d.cts +90 -0
- package/dist/finance.d.ts +90 -0
- package/dist/finance.js +157 -0
- package/dist/finance.js.map +1 -0
- package/dist/foldedColumn-IHDT4ARZ.cjs +66 -0
- package/dist/foldedColumn-IHDT4ARZ.cjs.map +1 -0
- package/dist/foldedColumn-TFURUKFG.js +64 -0
- package/dist/foldedColumn-TFURUKFG.js.map +1 -0
- package/dist/headless.cjs +729 -0
- package/dist/headless.cjs.map +1 -0
- package/dist/headless.d.cts +508 -0
- package/dist/headless.d.ts +508 -0
- package/dist/headless.js +226 -0
- package/dist/headless.js.map +1 -0
- package/dist/index-DN8M8Jkq.d.cts +14 -0
- package/dist/index-DmzL-F_o.d.ts +14 -0
- package/dist/index.cjs +8060 -11409
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +457 -2305
- package/dist/index.d.ts +457 -2305
- package/dist/index.js +7302 -11084
- package/dist/index.js.map +1 -1
- package/dist/locales/ar.cjs +12 -0
- package/dist/locales/ar.cjs.map +1 -0
- package/dist/locales/ar.d.cts +6 -0
- package/dist/locales/ar.d.ts +6 -0
- package/dist/locales/ar.js +3 -0
- package/dist/locales/ar.js.map +1 -0
- package/dist/locales/en.cjs +12 -0
- package/dist/locales/en.cjs.map +1 -0
- package/dist/locales/en.d.cts +6 -0
- package/dist/locales/en.d.ts +6 -0
- package/dist/locales/en.js +3 -0
- package/dist/locales/en.js.map +1 -0
- package/dist/locales/fa.cjs +12 -0
- package/dist/locales/fa.cjs.map +1 -0
- package/dist/locales/fa.d.cts +6 -0
- package/dist/locales/fa.d.ts +6 -0
- package/dist/locales/fa.js +3 -0
- package/dist/locales/fa.js.map +1 -0
- package/dist/locales/index.cjs +51 -0
- package/dist/locales/index.cjs.map +1 -0
- package/dist/locales/index.d.cts +5 -0
- package/dist/locales/index.d.ts +5 -0
- package/dist/locales/index.js +6 -0
- package/dist/locales/index.js.map +1 -0
- package/dist/memoryRecords-AWDKUJ2F.cjs +50 -0
- package/dist/memoryRecords-AWDKUJ2F.cjs.map +1 -0
- package/dist/memoryRecords-OJTGXLRH.js +47 -0
- package/dist/memoryRecords-OJTGXLRH.js.map +1 -0
- package/dist/pagedFooterTotals-DXCGDO6F.cjs +27 -0
- package/dist/pagedFooterTotals-DXCGDO6F.cjs.map +1 -0
- package/dist/pagedFooterTotals-ORWKUNE7.js +25 -0
- package/dist/pagedFooterTotals-ORWKUNE7.js.map +1 -0
- package/dist/pagedKit-MFGAJFSK.cjs +134 -0
- package/dist/pagedKit-MFGAJFSK.cjs.map +1 -0
- package/dist/pagedKit-WYWY4LRV.js +127 -0
- package/dist/pagedKit-WYWY4LRV.js.map +1 -0
- package/dist/pagedSearch-HCPJW7VM.js +38 -0
- package/dist/pagedSearch-HCPJW7VM.js.map +1 -0
- package/dist/pagedSearch-U3WCG4GN.cjs +42 -0
- package/dist/pagedSearch-U3WCG4GN.cjs.map +1 -0
- package/dist/plugins/csv.cjs +124 -0
- package/dist/plugins/csv.cjs.map +1 -0
- package/dist/plugins/csv.d.cts +44 -0
- package/dist/plugins/csv.d.ts +44 -0
- package/dist/plugins/csv.js +120 -0
- package/dist/plugins/csv.js.map +1 -0
- package/dist/plugins/excel.cjs +52 -0
- package/dist/plugins/excel.cjs.map +1 -0
- package/dist/plugins/excel.d.cts +14 -0
- package/dist/plugins/excel.d.ts +14 -0
- package/dist/plugins/excel.js +7 -0
- package/dist/plugins/excel.js.map +1 -0
- package/dist/plugins/pdf/fonts/vazirmatn.cjs +50 -0
- package/dist/plugins/pdf/fonts/vazirmatn.cjs.map +1 -0
- package/dist/plugins/pdf/fonts/vazirmatn.d.cts +24 -0
- package/dist/plugins/pdf/fonts/vazirmatn.d.ts +24 -0
- package/dist/plugins/pdf/fonts/vazirmatn.js +39 -0
- package/dist/plugins/pdf/fonts/vazirmatn.js.map +1 -0
- package/dist/plugins/pdf.cjs +24 -0
- package/dist/plugins/pdf.cjs.map +1 -0
- package/dist/plugins/pdf.d.cts +21 -0
- package/dist/plugins/pdf.d.ts +21 -0
- package/dist/plugins/pdf.js +7 -0
- package/dist/plugins/pdf.js.map +1 -0
- package/dist/presence.cjs +56 -0
- package/dist/presence.cjs.map +1 -0
- package/dist/presence.d.cts +17 -0
- package/dist/presence.d.ts +17 -0
- package/dist/presence.js +54 -0
- package/dist/presence.js.map +1 -0
- package/dist/rebuildRowVisibility-66EAZ356.cjs +21 -0
- package/dist/rebuildRowVisibility-66EAZ356.cjs.map +1 -0
- package/dist/rebuildRowVisibility-6TYM5BP2.js +19 -0
- package/dist/rebuildRowVisibility-6TYM5BP2.js.map +1 -0
- package/dist/styles.css +1440 -0
- package/dist/sync.cjs +148 -0
- package/dist/sync.cjs.map +1 -0
- package/dist/sync.d.cts +17 -0
- package/dist/sync.d.ts +17 -0
- package/dist/sync.js +146 -0
- package/dist/sync.js.map +1 -0
- package/dist/types-D__47BKv.d.cts +23 -0
- package/dist/types-D__47BKv.d.ts +23 -0
- package/package.json +185 -29
|
@@ -0,0 +1,729 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk5ALMNLUR_cjs = require('./chunk-5ALMNLUR.cjs');
|
|
4
|
+
var chunkLY27YAXE_cjs = require('./chunk-LY27YAXE.cjs');
|
|
5
|
+
var chunkEBV6HGZB_cjs = require('./chunk-EBV6HGZB.cjs');
|
|
6
|
+
var chunkQ7TBBUTX_cjs = require('./chunk-Q7TBBUTX.cjs');
|
|
7
|
+
var chunkE2J533UH_cjs = require('./chunk-E2J533UH.cjs');
|
|
8
|
+
var chunkWTHTVKVI_cjs = require('./chunk-WTHTVKVI.cjs');
|
|
9
|
+
require('./chunk-MT3KLB2Q.cjs');
|
|
10
|
+
var chunkUC7PHDM6_cjs = require('./chunk-UC7PHDM6.cjs');
|
|
11
|
+
require('./chunk-52LFOPXD.cjs');
|
|
12
|
+
require('./chunk-KMRURD5J.cjs');
|
|
13
|
+
require('./chunk-JOICD47Q.cjs');
|
|
14
|
+
var chunkJ7CPPFXT_cjs = require('./chunk-J7CPPFXT.cjs');
|
|
15
|
+
var chunkDFFP7SJ6_cjs = require('./chunk-DFFP7SJ6.cjs');
|
|
16
|
+
var chunkNTV2UUAJ_cjs = require('./chunk-NTV2UUAJ.cjs');
|
|
17
|
+
|
|
18
|
+
// infrastructure/sync/InMemorySyncHub.ts
|
|
19
|
+
var InMemorySyncHub = class {
|
|
20
|
+
constructor() {
|
|
21
|
+
this.log = [];
|
|
22
|
+
this.clients = /* @__PURE__ */ new Map();
|
|
23
|
+
}
|
|
24
|
+
transportFor(clientId) {
|
|
25
|
+
if (!this.clients.has(clientId)) {
|
|
26
|
+
this.clients.set(clientId, { events: [], delivered: /* @__PURE__ */ new Set() });
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
push: async (events) => this.push(clientId, events),
|
|
30
|
+
pull: async (afterCursor) => this.pull(clientId, afterCursor)
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
async push(clientId, events) {
|
|
34
|
+
const acceptedIds = [];
|
|
35
|
+
for (const event of events) {
|
|
36
|
+
if (this.log.some((e) => e.eventId === event.eventId)) {
|
|
37
|
+
acceptedIds.push(event.eventId);
|
|
38
|
+
continue;
|
|
39
|
+
}
|
|
40
|
+
this.log.push(event);
|
|
41
|
+
acceptedIds.push(event.eventId);
|
|
42
|
+
for (const [id, inbox] of this.clients) {
|
|
43
|
+
if (id === clientId) continue;
|
|
44
|
+
inbox.events.push(event);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return { acceptedIds };
|
|
48
|
+
}
|
|
49
|
+
async pull(clientId, afterCursor) {
|
|
50
|
+
const inbox = this.clients.get(clientId);
|
|
51
|
+
if (!inbox) {
|
|
52
|
+
return { events: [], cursor: this.log.length };
|
|
53
|
+
}
|
|
54
|
+
const fresh = inbox.events.filter((e) => !inbox.delivered.has(e.eventId));
|
|
55
|
+
for (const e of fresh) inbox.delivered.add(e.eventId);
|
|
56
|
+
return { events: fresh, cursor: this.log.length };
|
|
57
|
+
}
|
|
58
|
+
/** Test helper: all events currently on the hub. */
|
|
59
|
+
getLog() {
|
|
60
|
+
return this.log;
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
// infrastructure/presence/InMemoryPresenceHub.ts
|
|
65
|
+
var InMemoryPresenceHub = class {
|
|
66
|
+
constructor() {
|
|
67
|
+
this.clients = /* @__PURE__ */ new Map();
|
|
68
|
+
}
|
|
69
|
+
transportFor(clientId) {
|
|
70
|
+
if (!this.clients.has(clientId)) {
|
|
71
|
+
this.clients.set(clientId, { listener: null });
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
publish: (message) => {
|
|
75
|
+
for (const [id, client] of this.clients) {
|
|
76
|
+
if (id === clientId) continue;
|
|
77
|
+
client.listener?.(message);
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
subscribe: (listener) => {
|
|
81
|
+
const client = this.clients.get(clientId);
|
|
82
|
+
client.listener = listener;
|
|
83
|
+
return () => {
|
|
84
|
+
if (client.listener === listener) client.listener = null;
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
// infrastructure/document/documentGridMapping.ts
|
|
92
|
+
var GRID_INTERNAL_COLUMNS = /* @__PURE__ */ new Set(["collection", "rowType", "ChangeFields"]);
|
|
93
|
+
function mapSnapshotToDetails(snapshot, options) {
|
|
94
|
+
var _a;
|
|
95
|
+
const {
|
|
96
|
+
detailFieldKey,
|
|
97
|
+
isUpdate,
|
|
98
|
+
defaultKey = "Details",
|
|
99
|
+
defaultCollection = "default",
|
|
100
|
+
rowNumberField = "RowNum"
|
|
101
|
+
} = options;
|
|
102
|
+
const changed = (snapshot?.rows ?? []).filter(
|
|
103
|
+
(row) => row.rowState !== "None" /* Unchanged */
|
|
104
|
+
);
|
|
105
|
+
const mapped = changed.map((row) => {
|
|
106
|
+
const detail = {
|
|
107
|
+
RowState: row.rowState,
|
|
108
|
+
ChangeFields: row.changeFields
|
|
109
|
+
};
|
|
110
|
+
if (isUpdate && row.rowState !== "Add" /* Added */) {
|
|
111
|
+
detail[detailFieldKey] = row.id;
|
|
112
|
+
}
|
|
113
|
+
if (row.isSaveDescription) {
|
|
114
|
+
detail.isSaveDescription = row.isSaveDescription;
|
|
115
|
+
}
|
|
116
|
+
for (const [col, cell] of Object.entries(row.cells ?? {})) {
|
|
117
|
+
if (cell == null) continue;
|
|
118
|
+
if (GRID_INTERNAL_COLUMNS.has(col)) continue;
|
|
119
|
+
if (col === "index") {
|
|
120
|
+
detail[rowNumberField] = cell;
|
|
121
|
+
continue;
|
|
122
|
+
}
|
|
123
|
+
detail[col] = typeof cell === "object" && "value" in cell ? cell.value : cell;
|
|
124
|
+
}
|
|
125
|
+
return { detail, collection: row.collection || defaultCollection };
|
|
126
|
+
});
|
|
127
|
+
const hasCustomCollection = mapped.some(
|
|
128
|
+
(r) => r.collection && r.collection !== defaultCollection
|
|
129
|
+
);
|
|
130
|
+
if (!hasCustomCollection) {
|
|
131
|
+
return { [defaultKey]: mapped.map((r) => r.detail) };
|
|
132
|
+
}
|
|
133
|
+
const byCollection = {};
|
|
134
|
+
for (const r of mapped) {
|
|
135
|
+
(byCollection[_a = r.collection] ?? (byCollection[_a] = [])).push(r.detail);
|
|
136
|
+
}
|
|
137
|
+
return byCollection;
|
|
138
|
+
}
|
|
139
|
+
function mapDetailsToRowInputs(items, options) {
|
|
140
|
+
const {
|
|
141
|
+
detailFieldKey,
|
|
142
|
+
collection,
|
|
143
|
+
isCopy = false,
|
|
144
|
+
newRowId = () => Math.floor(Math.random() * 1e5)
|
|
145
|
+
} = options;
|
|
146
|
+
return items.map((item) => {
|
|
147
|
+
if (isCopy) {
|
|
148
|
+
const rest = { ...item };
|
|
149
|
+
delete rest[detailFieldKey];
|
|
150
|
+
return {
|
|
151
|
+
id: newRowId(),
|
|
152
|
+
values: {
|
|
153
|
+
...rest,
|
|
154
|
+
[detailFieldKey]: void 0,
|
|
155
|
+
RowState: "Add" /* Added */,
|
|
156
|
+
collection
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
return {
|
|
161
|
+
id: item[detailFieldKey],
|
|
162
|
+
values: { ...item, collection }
|
|
163
|
+
};
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
function buildDocumentPayload(options) {
|
|
167
|
+
const {
|
|
168
|
+
headerFields,
|
|
169
|
+
headerFieldKey,
|
|
170
|
+
recordId = 0,
|
|
171
|
+
details,
|
|
172
|
+
numericFieldNames = []
|
|
173
|
+
} = options;
|
|
174
|
+
const numeric = /* @__PURE__ */ new Set([headerFieldKey, ...numericFieldNames]);
|
|
175
|
+
const formValues = Object.fromEntries(
|
|
176
|
+
headerFields.map((field) => {
|
|
177
|
+
let value = field.value;
|
|
178
|
+
if (value === "") value = null;
|
|
179
|
+
if (value != null && (field.type === "number" || numeric.has(field.name))) {
|
|
180
|
+
const n = Number(value);
|
|
181
|
+
value = Number.isNaN(n) ? null : n;
|
|
182
|
+
}
|
|
183
|
+
return [field.name, value];
|
|
184
|
+
})
|
|
185
|
+
);
|
|
186
|
+
const isUpdate = recordId !== 0 && recordId != null;
|
|
187
|
+
const changeFields = headerFields.filter((field) => field.value !== field.originalValue).map((field) => field.name);
|
|
188
|
+
return {
|
|
189
|
+
...formValues,
|
|
190
|
+
ChangeFields: isUpdate ? changeFields : void 0,
|
|
191
|
+
...details,
|
|
192
|
+
[headerFieldKey]: isUpdate ? recordId : void 0
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
function mapServerHeaderToFields(fields, serverRecord, options) {
|
|
196
|
+
const {
|
|
197
|
+
headerFieldKey,
|
|
198
|
+
recordId,
|
|
199
|
+
isCopy = false,
|
|
200
|
+
copyResetFields = [],
|
|
201
|
+
storedFields,
|
|
202
|
+
mainIdCaption = "MainIdField"
|
|
203
|
+
} = options;
|
|
204
|
+
const reset = /* @__PURE__ */ new Set([headerFieldKey, ...copyResetFields]);
|
|
205
|
+
const mapped = fields.map((field) => {
|
|
206
|
+
const isIdentity = isCopy && (reset.has(field.name) || field.caption === mainIdCaption);
|
|
207
|
+
const stored = storedFields?.find((f) => f.name === field.name)?.value;
|
|
208
|
+
const fromServer = serverRecord ? serverRecord[field.name] ?? void 0 : void 0;
|
|
209
|
+
const current = stored !== void 0 ? stored : fromServer;
|
|
210
|
+
return {
|
|
211
|
+
...field,
|
|
212
|
+
value: isIdentity ? null : current,
|
|
213
|
+
originalValue: isIdentity ? null : fromServer,
|
|
214
|
+
isTitleField: field.name === headerFieldKey
|
|
215
|
+
};
|
|
216
|
+
});
|
|
217
|
+
mapped.push({
|
|
218
|
+
name: headerFieldKey,
|
|
219
|
+
value: isCopy ? null : recordId,
|
|
220
|
+
originalValue: isCopy ? null : recordId,
|
|
221
|
+
type: "hidden"
|
|
222
|
+
});
|
|
223
|
+
return mapped;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
Object.defineProperty(exports, "PagedCachedTableRepository", {
|
|
227
|
+
enumerable: true,
|
|
228
|
+
get: function () { return chunk5ALMNLUR_cjs.PagedCachedTableRepository; }
|
|
229
|
+
});
|
|
230
|
+
Object.defineProperty(exports, "PagedIndexedDbTableRepository", {
|
|
231
|
+
enumerable: true,
|
|
232
|
+
get: function () { return chunk5ALMNLUR_cjs.PagedIndexedDbTableRepository; }
|
|
233
|
+
});
|
|
234
|
+
Object.defineProperty(exports, "PagedLocalTableRepository", {
|
|
235
|
+
enumerable: true,
|
|
236
|
+
get: function () { return chunk5ALMNLUR_cjs.PagedLocalTableRepository; }
|
|
237
|
+
});
|
|
238
|
+
Object.defineProperty(exports, "GridSyncService", {
|
|
239
|
+
enumerable: true,
|
|
240
|
+
get: function () { return chunkLY27YAXE_cjs.GridSyncService; }
|
|
241
|
+
});
|
|
242
|
+
Object.defineProperty(exports, "createBroadcastChannelPresenceTransport", {
|
|
243
|
+
enumerable: true,
|
|
244
|
+
get: function () { return chunkEBV6HGZB_cjs.createBroadcastChannelPresenceTransport; }
|
|
245
|
+
});
|
|
246
|
+
Object.defineProperty(exports, "GridPresenceService", {
|
|
247
|
+
enumerable: true,
|
|
248
|
+
get: function () { return chunkQ7TBBUTX_cjs.GridPresenceService; }
|
|
249
|
+
});
|
|
250
|
+
Object.defineProperty(exports, "CallbackRemoteApi", {
|
|
251
|
+
enumerable: true,
|
|
252
|
+
get: function () { return chunkE2J533UH_cjs.CallbackRemoteApi; }
|
|
253
|
+
});
|
|
254
|
+
Object.defineProperty(exports, "ColumnAggIndex", {
|
|
255
|
+
enumerable: true,
|
|
256
|
+
get: function () { return chunkWTHTVKVI_cjs.ColumnAggIndex; }
|
|
257
|
+
});
|
|
258
|
+
Object.defineProperty(exports, "DEFAULT_EVENT_STORE_PREFIX", {
|
|
259
|
+
enumerable: true,
|
|
260
|
+
get: function () { return chunkWTHTVKVI_cjs.DEFAULT_EVENT_STORE_PREFIX; }
|
|
261
|
+
});
|
|
262
|
+
Object.defineProperty(exports, "DEFAULT_GRID_ACTOR", {
|
|
263
|
+
enumerable: true,
|
|
264
|
+
get: function () { return chunkWTHTVKVI_cjs.DEFAULT_GRID_ACTOR; }
|
|
265
|
+
});
|
|
266
|
+
Object.defineProperty(exports, "DEFAULT_MEMORY_STORE", {
|
|
267
|
+
enumerable: true,
|
|
268
|
+
get: function () { return chunkWTHTVKVI_cjs.DEFAULT_MEMORY_STORE; }
|
|
269
|
+
});
|
|
270
|
+
Object.defineProperty(exports, "EVENT_CATALOG", {
|
|
271
|
+
enumerable: true,
|
|
272
|
+
get: function () { return chunkWTHTVKVI_cjs.EVENT_CATALOG; }
|
|
273
|
+
});
|
|
274
|
+
Object.defineProperty(exports, "InMemoryEventStore", {
|
|
275
|
+
enumerable: true,
|
|
276
|
+
get: function () { return chunkWTHTVKVI_cjs.InMemoryEventStore; }
|
|
277
|
+
});
|
|
278
|
+
Object.defineProperty(exports, "InMemorySnapshotStore", {
|
|
279
|
+
enumerable: true,
|
|
280
|
+
get: function () { return chunkWTHTVKVI_cjs.InMemorySnapshotStore; }
|
|
281
|
+
});
|
|
282
|
+
Object.defineProperty(exports, "IndexedDbEventStore", {
|
|
283
|
+
enumerable: true,
|
|
284
|
+
get: function () { return chunkWTHTVKVI_cjs.IndexedDbEventStore; }
|
|
285
|
+
});
|
|
286
|
+
Object.defineProperty(exports, "LEGACY_EVENT_STORE_PREFIX", {
|
|
287
|
+
enumerable: true,
|
|
288
|
+
get: function () { return chunkWTHTVKVI_cjs.LEGACY_EVENT_STORE_PREFIX; }
|
|
289
|
+
});
|
|
290
|
+
Object.defineProperty(exports, "MemoryKvDatabase", {
|
|
291
|
+
enumerable: true,
|
|
292
|
+
get: function () { return chunkWTHTVKVI_cjs.MemoryKvDatabase; }
|
|
293
|
+
});
|
|
294
|
+
Object.defineProperty(exports, "NoopRemoteApi", {
|
|
295
|
+
enumerable: true,
|
|
296
|
+
get: function () { return chunkWTHTVKVI_cjs.NoopRemoteApi; }
|
|
297
|
+
});
|
|
298
|
+
Object.defineProperty(exports, "PluginHost", {
|
|
299
|
+
enumerable: true,
|
|
300
|
+
get: function () { return chunkWTHTVKVI_cjs.PluginHost; }
|
|
301
|
+
});
|
|
302
|
+
Object.defineProperty(exports, "QuickFilterIndex", {
|
|
303
|
+
enumerable: true,
|
|
304
|
+
get: function () { return chunkWTHTVKVI_cjs.QuickFilterIndex; }
|
|
305
|
+
});
|
|
306
|
+
Object.defineProperty(exports, "SnapshotStrategy", {
|
|
307
|
+
enumerable: true,
|
|
308
|
+
get: function () { return chunkWTHTVKVI_cjs.SnapshotStrategy; }
|
|
309
|
+
});
|
|
310
|
+
Object.defineProperty(exports, "SparseRowIndex", {
|
|
311
|
+
enumerable: true,
|
|
312
|
+
get: function () { return chunkWTHTVKVI_cjs.SparseRowIndex; }
|
|
313
|
+
});
|
|
314
|
+
Object.defineProperty(exports, "TableEngine", {
|
|
315
|
+
enumerable: true,
|
|
316
|
+
get: function () { return chunkWTHTVKVI_cjs.TableEngine; }
|
|
317
|
+
});
|
|
318
|
+
Object.defineProperty(exports, "UITableController", {
|
|
319
|
+
enumerable: true,
|
|
320
|
+
get: function () { return chunkWTHTVKVI_cjs.UITableController; }
|
|
321
|
+
});
|
|
322
|
+
Object.defineProperty(exports, "accumulateAdd", {
|
|
323
|
+
enumerable: true,
|
|
324
|
+
get: function () { return chunkWTHTVKVI_cjs.accumulateAdd; }
|
|
325
|
+
});
|
|
326
|
+
Object.defineProperty(exports, "accumulateRemove", {
|
|
327
|
+
enumerable: true,
|
|
328
|
+
get: function () { return chunkWTHTVKVI_cjs.accumulateRemove; }
|
|
329
|
+
});
|
|
330
|
+
Object.defineProperty(exports, "addJalaliMonths", {
|
|
331
|
+
enumerable: true,
|
|
332
|
+
get: function () { return chunkWTHTVKVI_cjs.addJalaliMonths; }
|
|
333
|
+
});
|
|
334
|
+
Object.defineProperty(exports, "applyAgg", {
|
|
335
|
+
enumerable: true,
|
|
336
|
+
get: function () { return chunkWTHTVKVI_cjs.applyAgg; }
|
|
337
|
+
});
|
|
338
|
+
Object.defineProperty(exports, "applyFillHandleDrag", {
|
|
339
|
+
enumerable: true,
|
|
340
|
+
get: function () { return chunkWTHTVKVI_cjs.applyFillHandleDrag; }
|
|
341
|
+
});
|
|
342
|
+
Object.defineProperty(exports, "applyFilter", {
|
|
343
|
+
enumerable: true,
|
|
344
|
+
get: function () { return chunkWTHTVKVI_cjs.applyFilter; }
|
|
345
|
+
});
|
|
346
|
+
Object.defineProperty(exports, "applyHostRowDataToTable", {
|
|
347
|
+
enumerable: true,
|
|
348
|
+
get: function () { return chunkWTHTVKVI_cjs.applyHostRowDataToTable; }
|
|
349
|
+
});
|
|
350
|
+
Object.defineProperty(exports, "applyQuickFilter", {
|
|
351
|
+
enumerable: true,
|
|
352
|
+
get: function () { return chunkWTHTVKVI_cjs.applyQuickFilter; }
|
|
353
|
+
});
|
|
354
|
+
Object.defineProperty(exports, "buildClipboardPayload", {
|
|
355
|
+
enumerable: true,
|
|
356
|
+
get: function () { return chunkWTHTVKVI_cjs.buildClipboardPayload; }
|
|
357
|
+
});
|
|
358
|
+
Object.defineProperty(exports, "buildFillUpdates", {
|
|
359
|
+
enumerable: true,
|
|
360
|
+
get: function () { return chunkWTHTVKVI_cjs.buildFillUpdates; }
|
|
361
|
+
});
|
|
362
|
+
Object.defineProperty(exports, "buildPastePlan", {
|
|
363
|
+
enumerable: true,
|
|
364
|
+
get: function () { return chunkWTHTVKVI_cjs.buildPastePlan; }
|
|
365
|
+
});
|
|
366
|
+
Object.defineProperty(exports, "buildQuickFilterBlob", {
|
|
367
|
+
enumerable: true,
|
|
368
|
+
get: function () { return chunkWTHTVKVI_cjs.buildQuickFilterBlob; }
|
|
369
|
+
});
|
|
370
|
+
Object.defineProperty(exports, "cellRangeClassName", {
|
|
371
|
+
enumerable: true,
|
|
372
|
+
get: function () { return chunkWTHTVKVI_cjs.cellRangeClassName; }
|
|
373
|
+
});
|
|
374
|
+
Object.defineProperty(exports, "cellRangeEdgeAttr", {
|
|
375
|
+
enumerable: true,
|
|
376
|
+
get: function () { return chunkWTHTVKVI_cjs.cellRangeEdgeAttr; }
|
|
377
|
+
});
|
|
378
|
+
Object.defineProperty(exports, "clampColIndex", {
|
|
379
|
+
enumerable: true,
|
|
380
|
+
get: function () { return chunkWTHTVKVI_cjs.clampColIndex; }
|
|
381
|
+
});
|
|
382
|
+
Object.defineProperty(exports, "clampRowIndex", {
|
|
383
|
+
enumerable: true,
|
|
384
|
+
get: function () { return chunkWTHTVKVI_cjs.clampRowIndex; }
|
|
385
|
+
});
|
|
386
|
+
Object.defineProperty(exports, "clickCell", {
|
|
387
|
+
enumerable: true,
|
|
388
|
+
get: function () { return chunkWTHTVKVI_cjs.clickCell; }
|
|
389
|
+
});
|
|
390
|
+
Object.defineProperty(exports, "coercePastedCellValue", {
|
|
391
|
+
enumerable: true,
|
|
392
|
+
get: function () { return chunkWTHTVKVI_cjs.coercePastedCellValue; }
|
|
393
|
+
});
|
|
394
|
+
Object.defineProperty(exports, "colIndex", {
|
|
395
|
+
enumerable: true,
|
|
396
|
+
get: function () { return chunkWTHTVKVI_cjs.colIndex; }
|
|
397
|
+
});
|
|
398
|
+
Object.defineProperty(exports, "collectUniqueFilterValues", {
|
|
399
|
+
enumerable: true,
|
|
400
|
+
get: function () { return chunkWTHTVKVI_cjs.collectUniqueFilterValues; }
|
|
401
|
+
});
|
|
402
|
+
Object.defineProperty(exports, "columnDefFieldName", {
|
|
403
|
+
enumerable: true,
|
|
404
|
+
get: function () { return chunkWTHTVKVI_cjs.columnDefFieldName; }
|
|
405
|
+
});
|
|
406
|
+
Object.defineProperty(exports, "copyGridSelectionToClipboard", {
|
|
407
|
+
enumerable: true,
|
|
408
|
+
get: function () { return chunkWTHTVKVI_cjs.copyGridSelectionToClipboard; }
|
|
409
|
+
});
|
|
410
|
+
Object.defineProperty(exports, "createAccumulator", {
|
|
411
|
+
enumerable: true,
|
|
412
|
+
get: function () { return chunkWTHTVKVI_cjs.createAccumulator; }
|
|
413
|
+
});
|
|
414
|
+
Object.defineProperty(exports, "createERPTable", {
|
|
415
|
+
enumerable: true,
|
|
416
|
+
get: function () { return chunkWTHTVKVI_cjs.createERPTable; }
|
|
417
|
+
});
|
|
418
|
+
Object.defineProperty(exports, "createEmptyCellRangeSelection", {
|
|
419
|
+
enumerable: true,
|
|
420
|
+
get: function () { return chunkWTHTVKVI_cjs.createEmptyCellRangeSelection; }
|
|
421
|
+
});
|
|
422
|
+
Object.defineProperty(exports, "createEngineGridQuery", {
|
|
423
|
+
enumerable: true,
|
|
424
|
+
get: function () { return chunkWTHTVKVI_cjs.createEngineGridQuery; }
|
|
425
|
+
});
|
|
426
|
+
Object.defineProperty(exports, "createGrid", {
|
|
427
|
+
enumerable: true,
|
|
428
|
+
get: function () { return chunkWTHTVKVI_cjs.createGrid; }
|
|
429
|
+
});
|
|
430
|
+
Object.defineProperty(exports, "createGridApi", {
|
|
431
|
+
enumerable: true,
|
|
432
|
+
get: function () { return chunkWTHTVKVI_cjs.createGridApi; }
|
|
433
|
+
});
|
|
434
|
+
Object.defineProperty(exports, "createGridTableKey", {
|
|
435
|
+
enumerable: true,
|
|
436
|
+
get: function () { return chunkWTHTVKVI_cjs.createGridTableKey; }
|
|
437
|
+
});
|
|
438
|
+
Object.defineProperty(exports, "ctrlClickCell", {
|
|
439
|
+
enumerable: true,
|
|
440
|
+
get: function () { return chunkWTHTVKVI_cjs.ctrlClickCell; }
|
|
441
|
+
});
|
|
442
|
+
Object.defineProperty(exports, "cutGridSelectionToClipboard", {
|
|
443
|
+
enumerable: true,
|
|
444
|
+
get: function () { return chunkWTHTVKVI_cjs.cutGridSelectionToClipboard; }
|
|
445
|
+
});
|
|
446
|
+
Object.defineProperty(exports, "defaultGetRowId", {
|
|
447
|
+
enumerable: true,
|
|
448
|
+
get: function () { return chunkWTHTVKVI_cjs.defaultGetRowId; }
|
|
449
|
+
});
|
|
450
|
+
Object.defineProperty(exports, "detectFillSeries", {
|
|
451
|
+
enumerable: true,
|
|
452
|
+
get: function () { return chunkWTHTVKVI_cjs.detectFillSeries; }
|
|
453
|
+
});
|
|
454
|
+
Object.defineProperty(exports, "ensureIndexColumnDef", {
|
|
455
|
+
enumerable: true,
|
|
456
|
+
get: function () { return chunkWTHTVKVI_cjs.ensureIndexColumnDef; }
|
|
457
|
+
});
|
|
458
|
+
Object.defineProperty(exports, "eventStoreDbName", {
|
|
459
|
+
enumerable: true,
|
|
460
|
+
get: function () { return chunkWTHTVKVI_cjs.eventStoreDbName; }
|
|
461
|
+
});
|
|
462
|
+
Object.defineProperty(exports, "extendSeriesValue", {
|
|
463
|
+
enumerable: true,
|
|
464
|
+
get: function () { return chunkWTHTVKVI_cjs.extendSeriesValue; }
|
|
465
|
+
});
|
|
466
|
+
Object.defineProperty(exports, "getEventCatalogEntry", {
|
|
467
|
+
enumerable: true,
|
|
468
|
+
get: function () { return chunkWTHTVKVI_cjs.getEventCatalogEntry; }
|
|
469
|
+
});
|
|
470
|
+
Object.defineProperty(exports, "isAggFuncName", {
|
|
471
|
+
enumerable: true,
|
|
472
|
+
get: function () { return chunkWTHTVKVI_cjs.isAggFuncName; }
|
|
473
|
+
});
|
|
474
|
+
Object.defineProperty(exports, "isCellInRange", {
|
|
475
|
+
enumerable: true,
|
|
476
|
+
get: function () { return chunkWTHTVKVI_cjs.isCellInRange; }
|
|
477
|
+
});
|
|
478
|
+
Object.defineProperty(exports, "isColumnFilterActive", {
|
|
479
|
+
enumerable: true,
|
|
480
|
+
get: function () { return chunkWTHTVKVI_cjs.isColumnFilterActive; }
|
|
481
|
+
});
|
|
482
|
+
Object.defineProperty(exports, "isCustomAggFunc", {
|
|
483
|
+
enumerable: true,
|
|
484
|
+
get: function () { return chunkWTHTVKVI_cjs.isCustomAggFunc; }
|
|
485
|
+
});
|
|
486
|
+
Object.defineProperty(exports, "isServerRowModel", {
|
|
487
|
+
enumerable: true,
|
|
488
|
+
get: function () { return chunkWTHTVKVI_cjs.isServerRowModel; }
|
|
489
|
+
});
|
|
490
|
+
Object.defineProperty(exports, "isWindowedRepository", {
|
|
491
|
+
enumerable: true,
|
|
492
|
+
get: function () { return chunkWTHTVKVI_cjs.isWindowedRepository; }
|
|
493
|
+
});
|
|
494
|
+
Object.defineProperty(exports, "listUndoableEventTypes", {
|
|
495
|
+
enumerable: true,
|
|
496
|
+
get: function () { return chunkWTHTVKVI_cjs.listUndoableEventTypes; }
|
|
497
|
+
});
|
|
498
|
+
Object.defineProperty(exports, "mapColumnDefs", {
|
|
499
|
+
enumerable: true,
|
|
500
|
+
get: function () { return chunkWTHTVKVI_cjs.mapColumnDefs; }
|
|
501
|
+
});
|
|
502
|
+
Object.defineProperty(exports, "mapColumnSchemas", {
|
|
503
|
+
enumerable: true,
|
|
504
|
+
get: function () { return chunkWTHTVKVI_cjs.mapColumnSchemas; }
|
|
505
|
+
});
|
|
506
|
+
Object.defineProperty(exports, "mapColumnSchemasToDefs", {
|
|
507
|
+
enumerable: true,
|
|
508
|
+
get: function () { return chunkWTHTVKVI_cjs.mapColumnSchemasToDefs; }
|
|
509
|
+
});
|
|
510
|
+
Object.defineProperty(exports, "mapRowDataToRowInputs", {
|
|
511
|
+
enumerable: true,
|
|
512
|
+
get: function () { return chunkWTHTVKVI_cjs.mapRowDataToRowInputs; }
|
|
513
|
+
});
|
|
514
|
+
Object.defineProperty(exports, "mergeCellRanges", {
|
|
515
|
+
enumerable: true,
|
|
516
|
+
get: function () { return chunkWTHTVKVI_cjs.mergeCellRanges; }
|
|
517
|
+
});
|
|
518
|
+
Object.defineProperty(exports, "moveCellAddress", {
|
|
519
|
+
enumerable: true,
|
|
520
|
+
get: function () { return chunkWTHTVKVI_cjs.moveCellAddress; }
|
|
521
|
+
});
|
|
522
|
+
Object.defineProperty(exports, "normalizeCellRange", {
|
|
523
|
+
enumerable: true,
|
|
524
|
+
get: function () { return chunkWTHTVKVI_cjs.normalizeCellRange; }
|
|
525
|
+
});
|
|
526
|
+
Object.defineProperty(exports, "normalizeFilterText", {
|
|
527
|
+
enumerable: true,
|
|
528
|
+
get: function () { return chunkWTHTVKVI_cjs.normalizeFilterText; }
|
|
529
|
+
});
|
|
530
|
+
Object.defineProperty(exports, "normalizePersianNumberText", {
|
|
531
|
+
enumerable: true,
|
|
532
|
+
get: function () { return chunkWTHTVKVI_cjs.normalizePersianNumberText; }
|
|
533
|
+
});
|
|
534
|
+
Object.defineProperty(exports, "normalizeQuickFilterText", {
|
|
535
|
+
enumerable: true,
|
|
536
|
+
get: function () { return chunkWTHTVKVI_cjs.normalizeQuickFilterText; }
|
|
537
|
+
});
|
|
538
|
+
Object.defineProperty(exports, "openIndexedDbDatabase", {
|
|
539
|
+
enumerable: true,
|
|
540
|
+
get: function () { return chunkWTHTVKVI_cjs.openIndexedDbDatabase; }
|
|
541
|
+
});
|
|
542
|
+
Object.defineProperty(exports, "pageWindow", {
|
|
543
|
+
enumerable: true,
|
|
544
|
+
get: function () { return chunkWTHTVKVI_cjs.pageWindow; }
|
|
545
|
+
});
|
|
546
|
+
Object.defineProperty(exports, "parseClipboardDate", {
|
|
547
|
+
enumerable: true,
|
|
548
|
+
get: function () { return chunkWTHTVKVI_cjs.parseClipboardDate; }
|
|
549
|
+
});
|
|
550
|
+
Object.defineProperty(exports, "parseClipboardNumber", {
|
|
551
|
+
enumerable: true,
|
|
552
|
+
get: function () { return chunkWTHTVKVI_cjs.parseClipboardNumber; }
|
|
553
|
+
});
|
|
554
|
+
Object.defineProperty(exports, "parseDelimitedClipboardText", {
|
|
555
|
+
enumerable: true,
|
|
556
|
+
get: function () { return chunkWTHTVKVI_cjs.parseDelimitedClipboardText; }
|
|
557
|
+
});
|
|
558
|
+
Object.defineProperty(exports, "pasteGridFromClipboard", {
|
|
559
|
+
enumerable: true,
|
|
560
|
+
get: function () { return chunkWTHTVKVI_cjs.pasteGridFromClipboard; }
|
|
561
|
+
});
|
|
562
|
+
Object.defineProperty(exports, "rangeFromAnchorFocus", {
|
|
563
|
+
enumerable: true,
|
|
564
|
+
get: function () { return chunkWTHTVKVI_cjs.rangeFromAnchorFocus; }
|
|
565
|
+
});
|
|
566
|
+
Object.defineProperty(exports, "rangesOverlap", {
|
|
567
|
+
enumerable: true,
|
|
568
|
+
get: function () { return chunkWTHTVKVI_cjs.rangesOverlap; }
|
|
569
|
+
});
|
|
570
|
+
Object.defineProperty(exports, "readAccumulator", {
|
|
571
|
+
enumerable: true,
|
|
572
|
+
get: function () { return chunkWTHTVKVI_cjs.readAccumulator; }
|
|
573
|
+
});
|
|
574
|
+
Object.defineProperty(exports, "readSystemClipboardText", {
|
|
575
|
+
enumerable: true,
|
|
576
|
+
get: function () { return chunkWTHTVKVI_cjs.readSystemClipboardText; }
|
|
577
|
+
});
|
|
578
|
+
Object.defineProperty(exports, "resolveBuiltinFilterKind", {
|
|
579
|
+
enumerable: true,
|
|
580
|
+
get: function () { return chunkWTHTVKVI_cjs.resolveBuiltinFilterKind; }
|
|
581
|
+
});
|
|
582
|
+
Object.defineProperty(exports, "resolveCellRangePresentation", {
|
|
583
|
+
enumerable: true,
|
|
584
|
+
get: function () { return chunkWTHTVKVI_cjs.resolveCellRangePresentation; }
|
|
585
|
+
});
|
|
586
|
+
Object.defineProperty(exports, "resolveColumnAggSpecs", {
|
|
587
|
+
enumerable: true,
|
|
588
|
+
get: function () { return chunkWTHTVKVI_cjs.resolveColumnAggSpecs; }
|
|
589
|
+
});
|
|
590
|
+
Object.defineProperty(exports, "resolveCopyRanges", {
|
|
591
|
+
enumerable: true,
|
|
592
|
+
get: function () { return chunkWTHTVKVI_cjs.resolveCopyRanges; }
|
|
593
|
+
});
|
|
594
|
+
Object.defineProperty(exports, "resolveCreateGridDefaults", {
|
|
595
|
+
enumerable: true,
|
|
596
|
+
get: function () { return chunkWTHTVKVI_cjs.resolveCreateGridDefaults; }
|
|
597
|
+
});
|
|
598
|
+
Object.defineProperty(exports, "resolveFillCorner", {
|
|
599
|
+
enumerable: true,
|
|
600
|
+
get: function () { return chunkWTHTVKVI_cjs.resolveFillCorner; }
|
|
601
|
+
});
|
|
602
|
+
Object.defineProperty(exports, "selectAllCellRanges", {
|
|
603
|
+
enumerable: true,
|
|
604
|
+
get: function () { return chunkWTHTVKVI_cjs.selectAllCellRanges; }
|
|
605
|
+
});
|
|
606
|
+
Object.defineProperty(exports, "shiftArrowCell", {
|
|
607
|
+
enumerable: true,
|
|
608
|
+
get: function () { return chunkWTHTVKVI_cjs.shiftArrowCell; }
|
|
609
|
+
});
|
|
610
|
+
Object.defineProperty(exports, "shiftClickCell", {
|
|
611
|
+
enumerable: true,
|
|
612
|
+
get: function () { return chunkWTHTVKVI_cjs.shiftClickCell; }
|
|
613
|
+
});
|
|
614
|
+
Object.defineProperty(exports, "toColumnDef", {
|
|
615
|
+
enumerable: true,
|
|
616
|
+
get: function () { return chunkWTHTVKVI_cjs.toColumnDef; }
|
|
617
|
+
});
|
|
618
|
+
Object.defineProperty(exports, "toColumnDefinition", {
|
|
619
|
+
enumerable: true,
|
|
620
|
+
get: function () { return chunkWTHTVKVI_cjs.toColumnDefinition; }
|
|
621
|
+
});
|
|
622
|
+
Object.defineProperty(exports, "toColumnSchema", {
|
|
623
|
+
enumerable: true,
|
|
624
|
+
get: function () { return chunkWTHTVKVI_cjs.toColumnSchema; }
|
|
625
|
+
});
|
|
626
|
+
Object.defineProperty(exports, "toColumnViewBinding", {
|
|
627
|
+
enumerable: true,
|
|
628
|
+
get: function () { return chunkWTHTVKVI_cjs.toColumnViewBinding; }
|
|
629
|
+
});
|
|
630
|
+
Object.defineProperty(exports, "toMinorUnits", {
|
|
631
|
+
enumerable: true,
|
|
632
|
+
get: function () { return chunkWTHTVKVI_cjs.toMinorUnits; }
|
|
633
|
+
});
|
|
634
|
+
Object.defineProperty(exports, "writeSystemClipboard", {
|
|
635
|
+
enumerable: true,
|
|
636
|
+
get: function () { return chunkWTHTVKVI_cjs.writeSystemClipboard; }
|
|
637
|
+
});
|
|
638
|
+
Object.defineProperty(exports, "ViewportCalculator", {
|
|
639
|
+
enumerable: true,
|
|
640
|
+
get: function () { return chunkUC7PHDM6_cjs.ViewportCalculator; }
|
|
641
|
+
});
|
|
642
|
+
Object.defineProperty(exports, "buildCumulativeWidths", {
|
|
643
|
+
enumerable: true,
|
|
644
|
+
get: function () { return chunkUC7PHDM6_cjs.buildCumulativeWidths; }
|
|
645
|
+
});
|
|
646
|
+
Object.defineProperty(exports, "calculateColumnViewport", {
|
|
647
|
+
enumerable: true,
|
|
648
|
+
get: function () { return chunkUC7PHDM6_cjs.calculateColumnViewport; }
|
|
649
|
+
});
|
|
650
|
+
Object.defineProperty(exports, "CATALOG_TO_HOST_CALLBACKS", {
|
|
651
|
+
enumerable: true,
|
|
652
|
+
get: function () { return chunkJ7CPPFXT_cjs.CATALOG_TO_HOST_CALLBACKS; }
|
|
653
|
+
});
|
|
654
|
+
Object.defineProperty(exports, "ROW_DATA_UPDATED_CATALOG_TYPES", {
|
|
655
|
+
enumerable: true,
|
|
656
|
+
get: function () { return chunkJ7CPPFXT_cjs.ROW_DATA_UPDATED_CATALOG_TYPES; }
|
|
657
|
+
});
|
|
658
|
+
Object.defineProperty(exports, "dispatchCatalogHostEvent", {
|
|
659
|
+
enumerable: true,
|
|
660
|
+
get: function () { return chunkJ7CPPFXT_cjs.dispatchCatalogHostEvent; }
|
|
661
|
+
});
|
|
662
|
+
Object.defineProperty(exports, "subscribeCatalogHostEvents", {
|
|
663
|
+
enumerable: true,
|
|
664
|
+
get: function () { return chunkJ7CPPFXT_cjs.subscribeCatalogHostEvents; }
|
|
665
|
+
});
|
|
666
|
+
Object.defineProperty(exports, "HEADER_SORT_CLICK_MAX_MOVE_PX", {
|
|
667
|
+
enumerable: true,
|
|
668
|
+
get: function () { return chunkDFFP7SJ6_cjs.HEADER_SORT_CLICK_MAX_MOVE_PX; }
|
|
669
|
+
});
|
|
670
|
+
Object.defineProperty(exports, "INDEX_COL_ID", {
|
|
671
|
+
enumerable: true,
|
|
672
|
+
get: function () { return chunkDFFP7SJ6_cjs.INDEX_COL_ID; }
|
|
673
|
+
});
|
|
674
|
+
Object.defineProperty(exports, "applySort", {
|
|
675
|
+
enumerable: true,
|
|
676
|
+
get: function () { return chunkDFFP7SJ6_cjs.applySort; }
|
|
677
|
+
});
|
|
678
|
+
Object.defineProperty(exports, "ariaSortForColumn", {
|
|
679
|
+
enumerable: true,
|
|
680
|
+
get: function () { return chunkDFFP7SJ6_cjs.ariaSortForColumn; }
|
|
681
|
+
});
|
|
682
|
+
Object.defineProperty(exports, "compareSortValues", {
|
|
683
|
+
enumerable: true,
|
|
684
|
+
get: function () { return chunkDFFP7SJ6_cjs.compareSortValues; }
|
|
685
|
+
});
|
|
686
|
+
Object.defineProperty(exports, "compareTypedValues", {
|
|
687
|
+
enumerable: true,
|
|
688
|
+
get: function () { return chunkDFFP7SJ6_cjs.compareTypedValues; }
|
|
689
|
+
});
|
|
690
|
+
Object.defineProperty(exports, "cycleSortModel", {
|
|
691
|
+
enumerable: true,
|
|
692
|
+
get: function () { return chunkDFFP7SJ6_cjs.cycleSortModel; }
|
|
693
|
+
});
|
|
694
|
+
Object.defineProperty(exports, "isBlankSortValue", {
|
|
695
|
+
enumerable: true,
|
|
696
|
+
get: function () { return chunkDFFP7SJ6_cjs.isBlankSortValue; }
|
|
697
|
+
});
|
|
698
|
+
Object.defineProperty(exports, "isHeaderColumnSortable", {
|
|
699
|
+
enumerable: true,
|
|
700
|
+
get: function () { return chunkDFFP7SJ6_cjs.isHeaderColumnSortable; }
|
|
701
|
+
});
|
|
702
|
+
Object.defineProperty(exports, "normalizeDigits", {
|
|
703
|
+
enumerable: true,
|
|
704
|
+
get: function () { return chunkDFFP7SJ6_cjs.normalizeDigits; }
|
|
705
|
+
});
|
|
706
|
+
Object.defineProperty(exports, "shouldCommitHeaderSortClick", {
|
|
707
|
+
enumerable: true,
|
|
708
|
+
get: function () { return chunkDFFP7SJ6_cjs.shouldCommitHeaderSortClick; }
|
|
709
|
+
});
|
|
710
|
+
Object.defineProperty(exports, "sortPriorityForColumn", {
|
|
711
|
+
enumerable: true,
|
|
712
|
+
get: function () { return chunkDFFP7SJ6_cjs.sortPriorityForColumn; }
|
|
713
|
+
});
|
|
714
|
+
Object.defineProperty(exports, "RowStateEnum", {
|
|
715
|
+
enumerable: true,
|
|
716
|
+
get: function () { return chunkNTV2UUAJ_cjs.RowStateEnum; }
|
|
717
|
+
});
|
|
718
|
+
Object.defineProperty(exports, "Viewport", {
|
|
719
|
+
enumerable: true,
|
|
720
|
+
get: function () { return chunkNTV2UUAJ_cjs.Viewport; }
|
|
721
|
+
});
|
|
722
|
+
exports.InMemoryPresenceHub = InMemoryPresenceHub;
|
|
723
|
+
exports.InMemorySyncHub = InMemorySyncHub;
|
|
724
|
+
exports.buildDocumentPayload = buildDocumentPayload;
|
|
725
|
+
exports.mapDetailsToRowInputs = mapDetailsToRowInputs;
|
|
726
|
+
exports.mapServerHeaderToFields = mapServerHeaderToFields;
|
|
727
|
+
exports.mapSnapshotToDetails = mapSnapshotToDetails;
|
|
728
|
+
//# sourceMappingURL=headless.cjs.map
|
|
729
|
+
//# sourceMappingURL=headless.cjs.map
|