@ahoo-wang/wow-view-engine 9.7.0 → 9.9.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/README.md +21 -1029
- package/README.zh-CN.md +21 -1024
- package/dist/{actions-HgK33Jzg.js → actions-C0tWfkL5.js} +2645 -2198
- package/dist/actions-C0tWfkL5.js.map +1 -0
- package/dist/analysis/buckets.d.ts +20 -0
- package/dist/analysis/buckets.d.ts.map +1 -1
- package/dist/analysis/capability.d.ts +13 -0
- package/dist/analysis/capability.d.ts.map +1 -1
- package/dist/analysis/cartesian.d.ts +6 -0
- package/dist/analysis/cartesian.d.ts.map +1 -1
- package/dist/analysis/chart.d.ts +17 -2
- package/dist/analysis/chart.d.ts.map +1 -1
- package/dist/analysis/chartRows.d.ts.map +1 -1
- package/dist/analysis/chartShapes.d.ts +2 -2
- package/dist/analysis/chartShapes.d.ts.map +1 -1
- package/dist/analysis/compile.d.ts.map +1 -1
- package/dist/analysis/derived.d.ts +21 -5
- package/dist/analysis/derived.d.ts.map +1 -1
- package/dist/analysis/drill.d.ts.map +1 -1
- package/dist/analysis/familyRules.d.ts.map +1 -1
- package/dist/analysis/index.d.ts +3 -1
- package/dist/analysis/index.d.ts.map +1 -1
- package/dist/analysis/metricCard.d.ts +11 -3
- package/dist/analysis/metricCard.d.ts.map +1 -1
- package/dist/analysis/project.d.ts +9 -0
- package/dist/analysis/project.d.ts.map +1 -1
- package/dist/analysis/serverLines.d.ts +54 -0
- package/dist/analysis/serverLines.d.ts.map +1 -0
- package/dist/analysis/splitOther.d.ts.map +1 -1
- package/dist/analysis/timeAxis.d.ts +10 -0
- package/dist/analysis/timeAxis.d.ts.map +1 -1
- package/dist/analysis/timeCharts.d.ts.map +1 -1
- package/dist/analysis/top.d.ts +22 -0
- package/dist/analysis/top.d.ts.map +1 -0
- package/dist/analysis/validate.d.ts +2 -1
- package/dist/analysis/validate.d.ts.map +1 -1
- package/dist/analysis/validateGroups.d.ts.map +1 -1
- package/dist/analysis/validateShape.d.ts.map +1 -1
- package/dist/analysis/validateTop.d.ts +17 -0
- package/dist/analysis/validateTop.d.ts.map +1 -0
- package/dist/capabilities/analysis.d.ts.map +1 -1
- package/dist/capabilities/open.d.ts.map +1 -1
- package/dist/{clickDraft-CLkSgQNG.js → clickDraft-CHI2bGry.js} +16 -16
- package/dist/{clickDraft-CLkSgQNG.js.map → clickDraft-CHI2bGry.js.map} +1 -1
- package/dist/dashboard/layout.d.ts +19 -1
- package/dist/dashboard/layout.d.ts.map +1 -1
- package/dist/filter/compile.d.ts +13 -0
- package/dist/filter/compile.d.ts.map +1 -1
- package/dist/filter/kinds/boolean.d.ts.map +1 -1
- package/dist/index.d.ts +9 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +221 -107
- package/dist/index.js.map +1 -1
- package/dist/model/analysis.d.ts +33 -3
- package/dist/model/analysis.d.ts.map +1 -1
- package/dist/model/chart.d.ts +15 -2
- package/dist/model/chart.d.ts.map +1 -1
- package/dist/model/definition.d.ts +21 -1
- package/dist/model/definition.d.ts.map +1 -1
- package/dist/model/field.d.ts +4 -1
- package/dist/model/field.d.ts.map +1 -1
- package/dist/model/record.d.ts +44 -4
- package/dist/model/record.d.ts.map +1 -1
- package/dist/react/analysisEditing.d.ts +2 -1
- package/dist/react/analysisEditing.d.ts.map +1 -1
- package/dist/react/analysisFields.d.ts.map +1 -1
- package/dist/react/index.d.ts +3 -1
- package/dist/react/index.d.ts.map +1 -1
- package/dist/react/manager/wording.d.ts +22 -0
- package/dist/react/manager/wording.d.ts.map +1 -0
- package/dist/react/recordLayout.d.ts +23 -0
- package/dist/react/recordLayout.d.ts.map +1 -0
- package/dist/react/useAnalysisEditor.d.ts +19 -1
- package/dist/react/useAnalysisEditor.d.ts.map +1 -1
- package/dist/react/useAnalysisResult.d.ts.map +1 -1
- package/dist/react/useRecordKanban.d.ts +32 -0
- package/dist/react/useRecordKanban.d.ts.map +1 -0
- package/dist/react/useRecordTable.d.ts.map +1 -1
- package/dist/react/useReshape.d.ts.map +1 -1
- package/dist/react/useSaveCommands.d.ts +32 -0
- package/dist/react/useSaveCommands.d.ts.map +1 -1
- package/dist/react/useViewList.d.ts +6 -0
- package/dist/react/useViewList.d.ts.map +1 -1
- package/dist/react/useViewManager.d.ts +7 -0
- package/dist/react/useViewManager.d.ts.map +1 -1
- package/dist/react/useWorkbench.d.ts.map +1 -1
- package/dist/react/workbench/leaveGuard.d.ts +18 -1
- package/dist/react/workbench/leaveGuard.d.ts.map +1 -1
- package/dist/react-CNRANfkk.js +3810 -0
- package/dist/react-CNRANfkk.js.map +1 -0
- package/dist/react.js +3 -3
- package/dist/record/compile.d.ts +12 -5
- package/dist/record/compile.d.ts.map +1 -1
- package/dist/record/defaults.d.ts.map +1 -1
- package/dist/record/index.d.ts +1 -0
- package/dist/record/index.d.ts.map +1 -1
- package/dist/record/kanban.d.ts +96 -0
- package/dist/record/kanban.d.ts.map +1 -0
- package/dist/record/project.d.ts +34 -1
- package/dist/record/project.d.ts.map +1 -1
- package/dist/record/validate.d.ts.map +1 -1
- package/dist/runtime/actions.d.ts +19 -0
- package/dist/runtime/actions.d.ts.map +1 -1
- package/dist/runtime/capabilities.d.ts +5 -1
- package/dist/runtime/capabilities.d.ts.map +1 -1
- package/dist/runtime/dashboard/children.d.ts.map +1 -1
- package/dist/runtime/datasetResources.d.ts +124 -0
- package/dist/runtime/datasetResources.d.ts.map +1 -0
- package/dist/runtime/define/defineDataset.d.ts +37 -0
- package/dist/runtime/define/defineDataset.d.ts.map +1 -0
- package/dist/runtime/definitions.d.ts +17 -1
- package/dist/runtime/definitions.d.ts.map +1 -1
- package/dist/runtime/execute.d.ts.map +1 -1
- package/dist/runtime/failure/failures.d.ts.map +1 -1
- package/dist/runtime/failure/unavailable.d.ts +2 -1
- package/dist/runtime/failure/unavailable.d.ts.map +1 -1
- package/dist/runtime/instanceWrites.d.ts +39 -0
- package/dist/runtime/instanceWrites.d.ts.map +1 -0
- package/dist/runtime/kanban.d.ts +22 -0
- package/dist/runtime/kanban.d.ts.map +1 -0
- package/dist/runtime/recordRuntime.d.ts +7 -0
- package/dist/runtime/recordRuntime.d.ts.map +1 -1
- package/dist/runtime/resources.d.ts +36 -0
- package/dist/runtime/resources.d.ts.map +1 -1
- package/dist/runtime/restyle.d.ts +8 -1
- package/dist/runtime/restyle.d.ts.map +1 -1
- package/dist/runtime/runtimeStore.d.ts +6 -0
- package/dist/runtime/runtimeStore.d.ts.map +1 -1
- package/dist/runtime/storedViews.d.ts.map +1 -1
- package/dist/runtime/summaries.d.ts +1 -0
- package/dist/runtime/summaries.d.ts.map +1 -1
- package/dist/runtime/validateFields.d.ts.map +1 -1
- package/dist/runtime/viewEngine.d.ts +21 -0
- package/dist/runtime/viewEngine.d.ts.map +1 -1
- package/dist/runtime/viewRuntime.d.ts.map +1 -1
- package/dist/runtime/viewRuntimeTypes.d.ts +7 -0
- package/dist/runtime/viewRuntimeTypes.d.ts.map +1 -1
- package/dist/store/MemoryViewStore.d.ts +8 -0
- package/dist/store/MemoryViewStore.d.ts.map +1 -1
- package/dist/store/ViewStore.d.ts +15 -0
- package/dist/store/ViewStore.d.ts.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/testing/aggregate.d.ts.map +1 -1
- package/dist/testing.js +307 -301
- package/dist/testing.js.map +1 -1
- package/dist/ui/ViewHost.d.ts +10 -1
- package/dist/ui/ViewHost.d.ts.map +1 -1
- package/dist/ui/actions/kanbanMove.d.ts +13 -0
- package/dist/ui/actions/kanbanMove.d.ts.map +1 -0
- package/dist/ui/analysis/AnalysisToolbar.d.ts.map +1 -1
- package/dist/ui/analysis/ChartOptions.d.ts +3 -1
- package/dist/ui/analysis/ChartOptions.d.ts.map +1 -1
- package/dist/ui/analysis/ChartPicker.d.ts.map +1 -1
- package/dist/ui/analysis/DataTab.d.ts.map +1 -1
- package/dist/ui/analysis/DerivedLines.d.ts +9 -0
- package/dist/ui/analysis/DerivedLines.d.ts.map +1 -0
- package/dist/ui/analysis/ReferenceOptions.d.ts.map +1 -1
- package/dist/ui/analysis/ResultSlot.d.ts.map +1 -1
- package/dist/ui/analysis/TopRow.d.ts +40 -0
- package/dist/ui/analysis/TopRow.d.ts.map +1 -0
- package/dist/ui/analysis/VisualizationPanel.d.ts +3 -1
- package/dist/ui/analysis/VisualizationPanel.d.ts.map +1 -1
- package/dist/ui/analysis/cartesianSpec.d.ts +13 -0
- package/dist/ui/analysis/cartesianSpec.d.ts.map +1 -0
- package/dist/ui/analysis/optionControls.d.ts +27 -1
- package/dist/ui/analysis/optionControls.d.ts.map +1 -1
- package/dist/ui/analysis/tableColumns.d.ts +2 -1
- package/dist/ui/analysis/tableColumns.d.ts.map +1 -1
- package/dist/ui/charts/Heatmap.d.ts.map +1 -1
- package/dist/ui/charts/MetricCard.d.ts.map +1 -1
- package/dist/ui/charts/Profiles.d.ts.map +1 -1
- package/dist/ui/charts/cartesianFit.d.ts +2 -2
- package/dist/ui/charts/cartesianFit.d.ts.map +1 -1
- package/dist/ui/charts/cartesianMarks.d.ts.map +1 -1
- package/dist/ui/charts/cartesianTooltip.d.ts.map +1 -1
- package/dist/ui/charts/family.d.ts.map +1 -1
- package/dist/ui/charts/markWords.d.ts +5 -0
- package/dist/ui/charts/markWords.d.ts.map +1 -1
- package/dist/ui/charts/periodSpan.d.ts.map +1 -1
- package/dist/ui/charts/profileOption.d.ts +8 -0
- package/dist/ui/charts/profileOption.d.ts.map +1 -1
- package/dist/ui/charts/timeOption.d.ts.map +1 -1
- package/dist/ui/dashboard/DashboardPanel.d.ts.map +1 -1
- package/dist/ui/dashboard/PanelBodies.d.ts +1 -1
- package/dist/ui/dashboard/PanelBodies.d.ts.map +1 -1
- package/dist/ui/dashboard/history.d.ts.map +1 -1
- package/dist/ui/embed/EmbeddedRecord.d.ts.map +1 -1
- package/dist/ui/filter/FieldChecklist.d.ts.map +1 -1
- package/dist/ui/filter/inputs/date.d.ts.map +1 -1
- package/dist/ui/filter/inputs/daterange.d.ts +27 -0
- package/dist/ui/filter/inputs/daterange.d.ts.map +1 -1
- package/dist/ui/filter/inputs/select.d.ts +4 -1
- package/dist/ui/filter/inputs/select.d.ts.map +1 -1
- package/dist/ui/index.d.ts +2 -0
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/kit/OutcomeActions.d.ts.map +1 -1
- package/dist/ui/kit/badges.d.ts.map +1 -1
- package/dist/ui/kit/dragPlugins.d.ts +15 -0
- package/dist/ui/kit/dragPlugins.d.ts.map +1 -1
- package/dist/ui/kit/summary.d.ts.map +1 -1
- package/dist/ui/kit/surfaceKeys.d.ts +24 -0
- package/dist/ui/kit/surfaceKeys.d.ts.map +1 -0
- package/dist/ui/kit/variants.d.ts +10 -10
- package/dist/ui/manage/DatasetWordingForm.d.ts +22 -0
- package/dist/ui/manage/DatasetWordingForm.d.ts.map +1 -0
- package/dist/ui/manage/ViewManager.d.ts.map +1 -1
- package/dist/ui/messages/analysis.d.ts +40 -0
- package/dist/ui/messages/analysis.d.ts.map +1 -1
- package/dist/ui/messages/definition.d.ts +2 -0
- package/dist/ui/messages/definition.d.ts.map +1 -1
- package/dist/ui/messages/en.d.ts +107 -2
- package/dist/ui/messages/en.d.ts.map +1 -1
- package/dist/ui/messages/header.d.ts +11 -0
- package/dist/ui/messages/header.d.ts.map +1 -1
- package/dist/ui/messages/manage.d.ts +13 -0
- package/dist/ui/messages/manage.d.ts.map +1 -1
- package/dist/ui/messages/record.d.ts +23 -0
- package/dist/ui/messages/record.d.ts.map +1 -1
- package/dist/ui/messages/save.d.ts +3 -0
- package/dist/ui/messages/save.d.ts.map +1 -1
- package/dist/ui/messages/status.d.ts +7 -1
- package/dist/ui/messages/status.d.ts.map +1 -1
- package/dist/ui/messages/view.d.ts +8 -1
- package/dist/ui/messages/view.d.ts.map +1 -1
- package/dist/ui/messages/zh-CN.d.ts.map +1 -1
- package/dist/ui/record/CardSettings.d.ts +8 -2
- package/dist/ui/record/CardSettings.d.ts.map +1 -1
- package/dist/ui/record/RecordCard.d.ts +30 -0
- package/dist/ui/record/RecordCard.d.ts.map +1 -0
- package/dist/ui/record/RecordCards.d.ts.map +1 -1
- package/dist/ui/record/RecordDetail.d.ts +7 -1
- package/dist/ui/record/RecordDetail.d.ts.map +1 -1
- package/dist/ui/record/RecordKanban.d.ts +48 -0
- package/dist/ui/record/RecordKanban.d.ts.map +1 -0
- package/dist/ui/record/issueNames.d.ts.map +1 -1
- package/dist/ui/record/kanbanDrag.d.ts +115 -0
- package/dist/ui/record/kanbanDrag.d.ts.map +1 -0
- package/dist/ui/record/openRows.d.ts +1 -1
- package/dist/ui/record/openRows.d.ts.map +1 -1
- package/dist/ui/record/queryAnnouncement.d.ts.map +1 -1
- package/dist/ui/workbench/AddToDashboardDialog.d.ts +18 -0
- package/dist/ui/workbench/AddToDashboardDialog.d.ts.map +1 -0
- package/dist/ui/workbench/AnalysisParts.d.ts.map +1 -1
- package/dist/ui/workbench/LeaveGuard.d.ts.map +1 -1
- package/dist/ui/workbench/MoreViewActions.d.ts +25 -0
- package/dist/ui/workbench/MoreViewActions.d.ts.map +1 -0
- package/dist/ui/workbench/RecordParts.d.ts.map +1 -1
- package/dist/ui/workbench/ResultToolbar.d.ts +8 -2
- package/dist/ui/workbench/ResultToolbar.d.ts.map +1 -1
- package/dist/ui/workbench/SaveActions.d.ts.map +1 -1
- package/dist/ui/workbench/SearchBox.d.ts.map +1 -1
- package/dist/ui/workbench/ViewEngineProvider.d.ts +5 -1
- package/dist/ui/workbench/ViewEngineProvider.d.ts.map +1 -1
- package/dist/ui/workbench/address.d.ts.map +1 -1
- package/dist/ui/workbench/configRemedy.d.ts +1 -1
- package/dist/ui/workbench/configRemedy.d.ts.map +1 -1
- package/dist/ui/workbench/describeConfig.d.ts.map +1 -1
- package/dist/ui.js +12845 -11118
- package/dist/ui.js.map +1 -1
- package/dist/{viewRuntimeTypes-JEPw0nsg.js → viewRuntimeTypes-CCAMk8vM.js} +1492 -1422
- package/dist/viewRuntimeTypes-CCAMk8vM.js.map +1 -0
- package/package.json +7 -7
- package/dist/actions-HgK33Jzg.js.map +0 -1
- package/dist/react-2oicrdUx.js +0 -3672
- package/dist/react-2oicrdUx.js.map +0 -1
- package/dist/viewRuntimeTypes-JEPw0nsg.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { $a as e, $i as t, $n as n, $o as r, $r as i, $
|
|
2
|
-
import { $ as
|
|
3
|
-
import { a as
|
|
1
|
+
import { $a as e, $i as t, $n as n, $o as r, $r as i, $s as a, $t as o, Aa as s, Ai as c, An as l, Ao as u, Ar as d, As as f, At as p, Ba as m, Bi as h, Bn as ee, Bo as te, Br as ne, Bs as re, Bt as ie, C as ae, Ca as oe, Cn as se, Co as ce, Cr as le, Cs as ue, Ct as de, D as fe, Di as pe, Dn as me, Do as he, Dr as ge, Ds as _e, Dt as ve, E as ye, Ei as be, En as xe, Eo as g, Er as Se, Es as Ce, Et as we, Fa as Te, Fi as _, Fn as v, Fo as y, Fr as b, Fs as x, Ft as S, Ga as C, Gi as w, Gn as T, Go as E, Gs as D, Gt as O, Ha as Ee, Hi as De, Hn as Oe, Ho as ke, Hs as Ae, Ht as je, Ia as Me, Ii as Ne, In as Pe, Io as Fe, Ir as Ie, Is as Le, It as Re, Ja as ze, Jn as Be, Jo as Ve, Jr as He, Js as Ue, Jt as We, Ka as Ge, Ki as Ke, Kn as qe, Ko as Je, Ks as Ye, Kt as Xe, La as Ze, Li as Qe, Ln as $e, Lo as et, Lr as tt, Ls as nt, Lt as rt, Ma as it, Mi as at, Mn as ot, Mo as k, Mr as st, Ms as ct, Mt as lt, Na as ut, Ni as dt, Nn as ft, No as A, Nr as pt, Ns as mt, Nt as ht, O as gt, Oi as _t, On as vt, Oo as yt, Or as bt, Os as xt, Ot as St, Pa as Ct, Pi as wt, Pn as Tt, Po as j, Pr as Et, Ps as Dt, Qa as Ot, Qi as kt, Qn as At, Qo as jt, Qs as Mt, Ra as Nt, Ri as Pt, Rn as Ft, Ro as It, Rr as Lt, Rt, Sa as zt, Si as Bt, Sn as Vt, So as Ht, Sr as Ut, Ss as Wt, St as Gt, T as Kt, Ta as qt, Ti as Jt, Tn as Yt, To as Xt, Tr as Zt, Ts as Qt, Tt as $t, Ua as en, Ui as tn, Un as nn, Uo as rn, Us as an, Ut as on, Va as sn, Vi as cn, Vn as ln, Vo as un, Vr as dn, Vs as fn, Vt as pn, Wa as mn, Wi as hn, Wn as gn, Wo as _n, Ws as vn, Wt as yn, Xa as bn, Xi as xn, Xn as Sn, Xo as Cn, Xs as wn, Xt as Tn, Ya as En, Yn as Dn, Yo as On, Yr as kn, Ys as An, Yt as jn, Za as Mn, Zi as Nn, Zn as Pn, Zo as Fn, Zs as In, Zt as Ln, _a as Rn, _i as zn, _o as Bn, _s as Vn, _t as Hn, aa as Un, ac as Wn, ai as Gn, an as Kn, ao as qn, as as Jn, at as Yn, ba as Xn, bi as Zn, bn as Qn, br as $n, bs as er, bt as tr, ca as nr, cc as rr, ci as ir, cn as ar, co as M, cr as or, cs as sr, ct as N, da as cr, di as lr, dn as ur, do as dr, ds as fr, dt as pr, ea as mr, ec as hr, ei as gr, en as _r, eo as vr, er as yr, es as br, fa as xr, fi as Sr, fn as Cr, fo as wr, fs as Tr, ft as Er, gn as Dr, gs as Or, gt as kr, ha as Ar, hi as jr, hn as Mr, ho as Nr, hs as Pr, ht as Fr, ia as Ir, ic as Lr, ii as Rr, in as zr, io as Br, ir as Vr, is as Hr, ji as P, jn as Ur, jo as F, jr as Wr, js as Gr, jt as Kr, ki as qr, kn as Jr, ko as Yr, kr as Xr, ks as Zr, kt as Qr, la as $r, lc as ei, li as ti, ln as ni, lo as ri, lr as ii, ls as ai, ma as oi, mi as si, mn as ci, mo as li, ms as ui, mt as di, na as fi, nc as pi, ni as mi, nn as hi, no as gi, nr as _i, ns as vi, oa as yi, oc as bi, oi as xi, on as Si, oo as Ci, or as wi, os as Ti, ot as Ei, pi as Di, pn as Oi, po as I, pr as ki, ps as Ai, pt as ji, qa as Mi, qi as Ni, qn as Pi, qo as Fi, qs as Ii, qt as Li, ra as Ri, rc as zi, ri as Bi, rn as Vi, ro as Hi, rr as Ui, rs as Wi, s as Gi, sa as Ki, sc as qi, si as Ji, sn as Yi, so as Xi, ss as Zi, st as Qi, ta as $i, tc as ea, ti as ta, tn as na, to as ra, tr as ia, ts as aa, ua as oa, ui as sa, uo as ca, us as la, va as ua, vi as da, vn as fa, vo as pa, vs as L, vt as ma, wa as ha, wn as ga, wo as _a, wr as va, ws as ya, wt as ba, xa, xi as Sa, xn as Ca, xo as wa, xr as Ta, xs as Ea, xt as Da, ya as Oa, yi as ka, yn as Aa, yo as R, yr as ja, ys as Ma, yt as Na, za as Pa, zi as Fa, zo as Ia, zr as La, zs as Ra, zt as za } from "./actions-C0tWfkL5.js";
|
|
2
|
+
import { $ as Ba, $t as Va, A as Ha, B as Ua, Bt as Wa, C as Ga, Ct as Ka, D as qa, Dt as Ja, E as Ya, Et as Xa, F as Za, G as Qa, Gt as $a, H as eo, Ht as to, I as no, J as ro, Jt as io, K as ao, Kt as oo, L as so, M as co, Mt as lo, N as uo, O as fo, Ot as po, P as mo, Pt as ho, Q as go, Qt as _o, R as vo, Rt as yo, S as bo, St as xo, T as So, Tt as Co, U as wo, Ut as To, V as Eo, Vt as Do, W as Oo, Wt as ko, X as Ao, Xt as jo, Y as Mo, Yt as No, Z as Po, Zt as Fo, _n as Io, _t as Lo, a as Ro, an as zo, at as Bo, bn as Vo, bt as Ho, c as Uo, cn as Wo, ct as Go, dn as Ko, dt as qo, en as Jo, et as Yo, fn as Xo, ft as Zo, gn as Qo, gt as $o, hn as es, ht as ts, in as ns, it as rs, j as is, k as as, kt as os, ln as ss, lt as cs, mn as ls, mt as us, n as ds, nn as fs, nt as ps, o as ms, on as hs, ot as gs, pn as _s, pt as vs, q as ys, qt as bs, r as xs, rn as Ss, rt as Cs, sn as ws, st as Ts, t as Es, tn as Ds, tt as Os, un as ks, ut as As, vn as js, vt as Ms, w as Ns, wt as Ps, xn as Fs, xt as Is, yn as Ls, yt as Rs, z as zs, zt as Bs } from "./viewRuntimeTypes-CCAMk8vM.js";
|
|
3
|
+
import { a as Vs, c as Hs, d as Us, f as Ws, i as Gs, l as Ks, m as qs, n as Js, o as Ys, r as Xs, s as Zs, t as Qs, u as $s } from "./clickDraft-CHI2bGry.js";
|
|
4
4
|
//#region src/runtime/define/analysis.ts
|
|
5
|
-
function
|
|
5
|
+
function ec(e, t) {
|
|
6
6
|
if (e === !1) return;
|
|
7
7
|
let n = (e) => e.spec.analysis === !1 ? null : e.spec.analysis ?? {}, r = {
|
|
8
8
|
spec: e ?? {},
|
|
@@ -24,36 +24,36 @@ function Vs(e, t) {
|
|
|
24
24
|
}
|
|
25
25
|
return r;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
28
|
-
if (e) return
|
|
27
|
+
function tc(e, t, n, r) {
|
|
28
|
+
if (e) return Ei(e, t.map((e) => e.field), n, (e, t) => r.push(e === null ? M("definition.analysis.wider", ["analysis"], { what: t }, "warning") : M("definition.field.analysis-wider", ["analysis"], {
|
|
29
29
|
field: e,
|
|
30
30
|
what: t
|
|
31
31
|
}, "warning")));
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/runtime/define/fields.ts
|
|
35
|
-
var
|
|
36
|
-
function
|
|
35
|
+
var z = (e, t, n = "error") => M(e, ["fields"], t, n);
|
|
36
|
+
function B(e, t, n) {
|
|
37
37
|
return Object.entries(e).flatMap(([e, r]) => {
|
|
38
|
-
let i =
|
|
38
|
+
let i = nc(e, typeof r == "string" ? { label: r } : r, t, n);
|
|
39
39
|
return i ? [i] : [];
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function nc(e, t, n, r) {
|
|
43
43
|
let { descriptor: i, findings: a } = r, o = n === void 0 ? e : `${n}.${e}`;
|
|
44
|
-
if (t.search) return
|
|
45
|
-
let s =
|
|
46
|
-
if (!s) return a.push(
|
|
47
|
-
let c =
|
|
48
|
-
if (l === null) return a.push(
|
|
44
|
+
if (t.search) return rc(e, t, n, r);
|
|
45
|
+
let s = N(i, o, n);
|
|
46
|
+
if (!s) return a.push(z("definition.field.undescribed", { field: o })), null;
|
|
47
|
+
let c = ic(i, s.canonical ?? o, n), l = t.kind ?? ac(c, s, t);
|
|
48
|
+
if (l === null) return a.push(z("definition.field.kind-unknown", { field: o })), null;
|
|
49
49
|
let u = {
|
|
50
50
|
name: e,
|
|
51
|
-
label:
|
|
51
|
+
label: oc(t, c, o, a),
|
|
52
52
|
kind: l
|
|
53
53
|
}, d = s.comparable !== !1, f = d && (r.paging === "cursor" ? s.sort.cursor : s.sort.paged), p = f && n === void 0;
|
|
54
|
-
if (t.sortable === !0 && !f && a.push(
|
|
55
|
-
let e =
|
|
56
|
-
for (let n of t.operators) e.has(n) || a.push(
|
|
54
|
+
if (t.sortable === !0 && !f && a.push(z("definition.field.sort-wider", { field: o }, "warning")), f && (t.sortable ?? p) && (u.sortable = !0), t.operators) {
|
|
55
|
+
let e = sc(i, s, o);
|
|
56
|
+
for (let n of t.operators) e.has(n) || a.push(z("definition.field.operator-wider", {
|
|
57
57
|
field: o,
|
|
58
58
|
operator: n
|
|
59
59
|
}, "warning"));
|
|
@@ -61,19 +61,19 @@ function Us(e, t, n, r) {
|
|
|
61
61
|
} else d || (u.operators = []);
|
|
62
62
|
if (t.summary) {
|
|
63
63
|
let e = s.aggregate?.functions ?? [];
|
|
64
|
-
for (let n of t.summary) n !== "COUNT" && !e.includes(n) && a.push(
|
|
64
|
+
for (let n of t.summary) n !== "COUNT" && !e.includes(n) && a.push(z("definition.field.summary-wider", {
|
|
65
65
|
field: o,
|
|
66
66
|
fn: n
|
|
67
67
|
}, "warning"));
|
|
68
68
|
u.summary = t.summary;
|
|
69
69
|
}
|
|
70
|
-
let m =
|
|
71
|
-
m && (u.options = m), s.deprecated && (t.deprecated || a.push(
|
|
70
|
+
let m = cc(t, s, o, a);
|
|
71
|
+
m && (u.options = m), s.deprecated && (t.deprecated || a.push(z("definition.field.deprecated", {
|
|
72
72
|
field: o,
|
|
73
73
|
message: s.deprecated.message ?? ""
|
|
74
74
|
}, "warning")), u.deprecated = t.deprecated ?? s.deprecated);
|
|
75
75
|
let h;
|
|
76
|
-
return t.elements && (i.elements.some((e) => e.path === o) || a.push(
|
|
76
|
+
return t.elements && (i.elements.some((e) => e.path === o) || a.push(z("definition.field.not-elements", { field: o })), h = B(t.elements, o, r), u.elements = h.map((e) => e.field)), t.elementTitle !== void 0 && (u.elementTitle = t.elementTitle), t.cell !== void 0 && (u.cell = t.cell), t.timePrecision !== void 0 && (u.timePrecision = t.timePrecision), Object.assign(u, t.more), {
|
|
77
77
|
field: u,
|
|
78
78
|
described: s,
|
|
79
79
|
spec: t,
|
|
@@ -81,11 +81,11 @@ function Us(e, t, n, r) {
|
|
|
81
81
|
...h ? { children: h } : {}
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function rc(e, t, n, r) {
|
|
85
85
|
let i = t.search ?? { fields: [] };
|
|
86
86
|
for (let e of i.fields) {
|
|
87
87
|
let t = n === void 0 ? e : `${n}.${e}`;
|
|
88
|
-
|
|
88
|
+
N(r.descriptor, t, n) || r.findings.push(z("definition.field.undescribed", { field: t }));
|
|
89
89
|
}
|
|
90
90
|
let a = {
|
|
91
91
|
name: e,
|
|
@@ -100,14 +100,15 @@ function Ws(e, t, n, r) {
|
|
|
100
100
|
sensitive: !1
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function ic(e, t, n) {
|
|
104
104
|
let r = e.fields.find((e) => e.path === t && e.scope === n);
|
|
105
105
|
if (r || n === void 0) return r;
|
|
106
106
|
let i = t.slice(n.length + 1), a = e.variants;
|
|
107
107
|
if (a?.element === n) return a.values.flatMap((e) => e.fields).find((e) => e.path === i || (e.aliases ?? []).includes(i));
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function ac(e, t, n) {
|
|
110
110
|
if (n.elements) return "elementMatch";
|
|
111
|
+
if (!t.enum && e?.types?.length === 1 && e.types[0] === "BOOLEAN") return "boolean";
|
|
111
112
|
if (t.enum || n.options) return "enum";
|
|
112
113
|
let r = t.semantic?.type;
|
|
113
114
|
if (r === "TEMPORAL_DATE") return "date";
|
|
@@ -122,27 +123,23 @@ function Ks(e, t, n) {
|
|
|
122
123
|
default: return null;
|
|
123
124
|
}
|
|
124
125
|
}
|
|
125
|
-
function
|
|
126
|
-
return e.label === void 0 ? (r.push(
|
|
126
|
+
function oc(e, t, n, r) {
|
|
127
|
+
return e.label === void 0 ? (r.push(z("definition.field.unlabelled", { field: n }, "note")), t?.description ?? n) : e.label;
|
|
127
128
|
}
|
|
128
|
-
function
|
|
129
|
+
function sc(e, t, n) {
|
|
129
130
|
let r = new Set(t.operators);
|
|
130
131
|
return e.elements.some((e) => e.path === n && e.filter) && r.add("ELEMENT_MATCH"), r;
|
|
131
132
|
}
|
|
132
|
-
function
|
|
133
|
-
let i =
|
|
134
|
-
if (!a) return e.options ? i.flatMap(([e, t]) => t === !1 ? [] : [
|
|
133
|
+
function cc(e, t, n, r) {
|
|
134
|
+
let i = lc(e.options), a = t.enum;
|
|
135
|
+
if (!a) return e.options ? i.flatMap(([e, t]) => t === !1 ? [] : [V(e, t)]) : void 0;
|
|
135
136
|
let o = new Map(a.map((e) => [String(e.value), e])), s = /* @__PURE__ */ new Set(), c = [];
|
|
136
137
|
for (let [e, t] of i) {
|
|
137
138
|
let i = String(e), a = o.get(i);
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
}));
|
|
143
|
-
continue;
|
|
144
|
-
}
|
|
145
|
-
s.add(i), t !== !1 && c.push(U(a.value, t));
|
|
139
|
+
a ? (s.add(i), t !== !1 && c.push(V(a.value, t))) : r.push(z("definition.option.undescribed", {
|
|
140
|
+
field: n,
|
|
141
|
+
value: i
|
|
142
|
+
}));
|
|
146
143
|
}
|
|
147
144
|
for (let e of a) s.has(String(e.value)) || c.push({
|
|
148
145
|
value: e.value,
|
|
@@ -150,10 +147,10 @@ function Ys(e, t, n, r) {
|
|
|
150
147
|
});
|
|
151
148
|
return c;
|
|
152
149
|
}
|
|
153
|
-
function
|
|
150
|
+
function lc(e) {
|
|
154
151
|
return e ? Array.isArray(e) ? e : Object.keys(e).map((t) => [t, e[t]]) : [];
|
|
155
152
|
}
|
|
156
|
-
function
|
|
153
|
+
function V(e, t) {
|
|
157
154
|
return typeof t == "string" ? {
|
|
158
155
|
value: e,
|
|
159
156
|
label: t
|
|
@@ -164,8 +161,8 @@ function U(e, t) {
|
|
|
164
161
|
}
|
|
165
162
|
//#endregion
|
|
166
163
|
//#region src/runtime/define/defineView.ts
|
|
167
|
-
function
|
|
168
|
-
let r = [], i =
|
|
164
|
+
function H(e, t, n = {}) {
|
|
165
|
+
let r = [], i = uc(t, e, r), a = B(t.fields, void 0, {
|
|
169
166
|
descriptor: e,
|
|
170
167
|
paging: i?.paging ?? "paged",
|
|
171
168
|
findings: r
|
|
@@ -177,10 +174,10 @@ function Zs(e, t, n = {}) {
|
|
|
177
174
|
fields: a.map((e) => e.field)
|
|
178
175
|
};
|
|
179
176
|
t.recordNoun !== void 0 && (o.recordNoun = t.recordNoun), t.fieldGroups && (o.fieldGroups = t.fieldGroups), i && (o.record = i);
|
|
180
|
-
let s =
|
|
181
|
-
c &&
|
|
182
|
-
let l = a.flatMap(({ field: e, spec: t, described: n }) => n && t.sortable !== !1 ? [e.name] : []), u =
|
|
183
|
-
return o.fields =
|
|
177
|
+
let s = ec(t.analysis, a), c = tc(s, a, e, r);
|
|
178
|
+
c && Qi(c) && (o.analysis = c), t.timeField !== void 0 && (o.timeField = t.timeField), t.views && (o.views = t.views);
|
|
179
|
+
let l = a.flatMap(({ field: e, spec: t, described: n }) => n && t.sortable !== !1 ? [e.name] : []), u = U(a);
|
|
180
|
+
return o.fields = W(o.fields, Yn(o, e, n.kinds ?? P).definition.fields, new Set(u)), o.described = {
|
|
184
181
|
version: e.version,
|
|
185
182
|
findings: r,
|
|
186
183
|
open: {
|
|
@@ -190,13 +187,13 @@ function Zs(e, t, n = {}) {
|
|
|
190
187
|
}
|
|
191
188
|
}, o;
|
|
192
189
|
}
|
|
193
|
-
function
|
|
190
|
+
function U(e, t) {
|
|
194
191
|
return e.flatMap(({ field: e, spec: n, children: r }) => {
|
|
195
192
|
let i = t === void 0 ? e.name : `${t}.${e.name}`;
|
|
196
|
-
return [...n.operators === void 0 && e.operators === void 0 && e.kind !== "search" ? [i] : [], ...
|
|
193
|
+
return [...n.operators === void 0 && e.operators === void 0 && e.kind !== "search" ? [i] : [], ...U(r ?? [], i)];
|
|
197
194
|
});
|
|
198
195
|
}
|
|
199
|
-
function
|
|
196
|
+
function W(e, t, n, r) {
|
|
200
197
|
return e.map((e, i) => {
|
|
201
198
|
let a = r === void 0 ? e.name : `${r}.${e.name}`, o = t[i], s = e;
|
|
202
199
|
return n.has(a) && o?.operators !== void 0 && (s = {
|
|
@@ -204,18 +201,18 @@ function G(e, t, n, r) {
|
|
|
204
201
|
operators: o.operators
|
|
205
202
|
}), e.elements && (s = {
|
|
206
203
|
...s,
|
|
207
|
-
elements:
|
|
204
|
+
elements: W(e.elements, o?.elements ?? [], n, a)
|
|
208
205
|
}), s;
|
|
209
206
|
});
|
|
210
207
|
}
|
|
211
|
-
var
|
|
208
|
+
var G = {
|
|
212
209
|
PAGED: "paged",
|
|
213
210
|
CURSOR: "cursor"
|
|
214
211
|
};
|
|
215
|
-
function
|
|
212
|
+
function uc(e, t, n) {
|
|
216
213
|
if (e.record === !1) return;
|
|
217
|
-
let r = e.record ?? {}, i = t.record.paging.flatMap((e) =>
|
|
218
|
-
return i.includes(a) || n.push(
|
|
214
|
+
let r = e.record ?? {}, i = t.record.paging.flatMap((e) => G[e] ? [G[e]] : []), a = r.paging ?? (i.includes("paged") ? "paged" : "cursor");
|
|
215
|
+
return i.includes(a) || n.push(M("definition.record.paging-wider", ["record", "paging"], { paging: a }, "warning")), {
|
|
219
216
|
...r,
|
|
220
217
|
rowKey: r.rowKey ?? t.record.identity,
|
|
221
218
|
paging: a,
|
|
@@ -223,13 +220,125 @@ function Qs(e, t, n) {
|
|
|
223
220
|
};
|
|
224
221
|
}
|
|
225
222
|
//#endregion
|
|
223
|
+
//#region src/runtime/define/defineDataset.ts
|
|
224
|
+
function K(e, t, n = {}) {
|
|
225
|
+
let r = /* @__PURE__ */ new Map();
|
|
226
|
+
for (let t of e.fields) t.scope === void 0 && r.set(t.path, t.description ?? t.path);
|
|
227
|
+
let i = {};
|
|
228
|
+
for (let [e, n] of Object.entries(t.fields ?? {})) {
|
|
229
|
+
let t = r.get(e);
|
|
230
|
+
t !== void 0 && (r.delete(e), n !== !1 && (i[e] = typeof n == "string" ? n : {
|
|
231
|
+
...n,
|
|
232
|
+
label: n.label ?? t
|
|
233
|
+
}));
|
|
234
|
+
}
|
|
235
|
+
for (let [e, t] of r) i[e] = t;
|
|
236
|
+
return H(e, {
|
|
237
|
+
id: t.id,
|
|
238
|
+
source: t.source,
|
|
239
|
+
title: t.title,
|
|
240
|
+
...t.recordNoun === void 0 ? {} : { recordNoun: t.recordNoun },
|
|
241
|
+
fields: i
|
|
242
|
+
}, n);
|
|
243
|
+
}
|
|
244
|
+
//#endregion
|
|
245
|
+
//#region src/runtime/datasetResources.ts
|
|
246
|
+
var dc = class {
|
|
247
|
+
constructor(e, t, n = () => void 0, r = () => void 0) {
|
|
248
|
+
this.engine = e, this.catalog = t, this.onError = n, this.onWordingError = r, this.held = /* @__PURE__ */ new Map(), this.worded = /* @__PURE__ */ new Map(), this.stored = /* @__PURE__ */ new Map(), this.derived = /* @__PURE__ */ new Map();
|
|
249
|
+
}
|
|
250
|
+
get resources() {
|
|
251
|
+
return [...this.held.values()];
|
|
252
|
+
}
|
|
253
|
+
async refresh() {
|
|
254
|
+
await this.readWordings();
|
|
255
|
+
let e = await this.catalog.list(), t = /* @__PURE__ */ new Map();
|
|
256
|
+
for (let n of e) n.version !== null && t.set(`${n.contextName}.${n.name}`, n);
|
|
257
|
+
for (let e of [...this.held.keys()]) t.has(e) || (this.engine.unregister(e), this.held.delete(e), this.worded.delete(e), this.derived.delete(e));
|
|
258
|
+
await Promise.all([...t].map(([e, t]) => this.serve(e, t)));
|
|
259
|
+
let n = [...t.keys()];
|
|
260
|
+
return this.resources.slice().sort((e, t) => n.indexOf(e.id) - n.indexOf(t.id));
|
|
261
|
+
}
|
|
262
|
+
async readWordings() {
|
|
263
|
+
let e = this.catalog.wordings;
|
|
264
|
+
if (e) try {
|
|
265
|
+
this.stored = await e.list();
|
|
266
|
+
} catch (e) {
|
|
267
|
+
this.onWordingError(e);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
wordingOf(e, t) {
|
|
271
|
+
return this.stored.get(e) ?? {
|
|
272
|
+
wording: this.catalog.overrides?.(t) ?? {},
|
|
273
|
+
revision: "0"
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
async serve(e, t) {
|
|
277
|
+
let n = this.held.get(e), { wording: r } = this.wordingOf(e, t), i = JSON.stringify(r);
|
|
278
|
+
if ((n?.entry.version !== t.version || this.worded.get(e) !== i) && (n || !this.engine.definitions.has(e))) try {
|
|
279
|
+
let n = this.catalog.source(t), r = await n.describe?.();
|
|
280
|
+
if (!r || r.notModified) throw Error(`Dataset [${e}] does not describe itself.`);
|
|
281
|
+
this.derived.set(e, {
|
|
282
|
+
entry: t,
|
|
283
|
+
source: n,
|
|
284
|
+
descriptor: r.descriptor
|
|
285
|
+
}), this.registerWorded(e);
|
|
286
|
+
} catch (e) {
|
|
287
|
+
this.onError(t, e);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
registerWorded(e) {
|
|
291
|
+
let t = this.derived.get(e);
|
|
292
|
+
if (!t) return;
|
|
293
|
+
let { entry: n, source: r, descriptor: i } = t, a = this.wordingOf(e, n), o = n.title ?? n.name, s = K(i, {
|
|
294
|
+
id: e,
|
|
295
|
+
source: e,
|
|
296
|
+
title: o,
|
|
297
|
+
...a.wording
|
|
298
|
+
});
|
|
299
|
+
this.engine.register({
|
|
300
|
+
definition: s,
|
|
301
|
+
source: r,
|
|
302
|
+
...this.catalog.wordings ? { wording: this.editorOf(e, o, i, a) } : {}
|
|
303
|
+
}), this.held.set(e, {
|
|
304
|
+
id: e,
|
|
305
|
+
entry: n
|
|
306
|
+
}), this.worded.set(e, JSON.stringify(a.wording));
|
|
307
|
+
}
|
|
308
|
+
editorOf(e, t, n, r) {
|
|
309
|
+
return {
|
|
310
|
+
dataset: e,
|
|
311
|
+
derivedTitle: t,
|
|
312
|
+
fields: K(n, {
|
|
313
|
+
id: e,
|
|
314
|
+
source: e,
|
|
315
|
+
title: t
|
|
316
|
+
}).fields.map(({ name: e, label: t }) => ({
|
|
317
|
+
name: e,
|
|
318
|
+
label: t
|
|
319
|
+
})),
|
|
320
|
+
wording: r.wording,
|
|
321
|
+
revision: r.revision,
|
|
322
|
+
save: async (t, n) => {
|
|
323
|
+
let i = this.catalog.wordings;
|
|
324
|
+
if (!i) return;
|
|
325
|
+
let a = await i.set(e, t, r.revision, n);
|
|
326
|
+
this.stored = new Map(this.stored).set(e, {
|
|
327
|
+
wording: t,
|
|
328
|
+
revision: a
|
|
329
|
+
}), this.registerWorded(e);
|
|
330
|
+
}
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
};
|
|
334
|
+
//#endregion
|
|
226
335
|
//#region src/store/localStorageSnapshot.ts
|
|
227
|
-
function
|
|
228
|
-
let n = t.storage ??
|
|
336
|
+
function fc(e, t = {}) {
|
|
337
|
+
let n = t.storage ?? pc, r = t.events === void 0 ? mc() : t.events;
|
|
229
338
|
return {
|
|
230
339
|
load() {
|
|
231
340
|
try {
|
|
232
|
-
return
|
|
341
|
+
return gc(n().getItem(e));
|
|
233
342
|
} catch {
|
|
234
343
|
return;
|
|
235
344
|
}
|
|
@@ -240,37 +349,37 @@ function $s(e, t = {}) {
|
|
|
240
349
|
subscribe(t) {
|
|
241
350
|
if (!r) return () => {};
|
|
242
351
|
let i = (r) => {
|
|
243
|
-
(r.key === null || r.key === e) && (r.storageArea && r.storageArea !==
|
|
352
|
+
(r.key === null || r.key === e) && (r.storageArea && r.storageArea !== hc(n) || t());
|
|
244
353
|
};
|
|
245
354
|
return r.addEventListener("storage", i), () => r.removeEventListener("storage", i);
|
|
246
355
|
}
|
|
247
356
|
};
|
|
248
357
|
}
|
|
249
|
-
function
|
|
358
|
+
function pc() {
|
|
250
359
|
let e = globalThis.localStorage;
|
|
251
360
|
if (!e) throw Error("localStorage is not available");
|
|
252
361
|
return e;
|
|
253
362
|
}
|
|
254
|
-
function
|
|
363
|
+
function mc() {
|
|
255
364
|
let e = globalThis;
|
|
256
365
|
return typeof e.addEventListener == "function" ? e : null;
|
|
257
366
|
}
|
|
258
|
-
function
|
|
367
|
+
function hc(e) {
|
|
259
368
|
try {
|
|
260
369
|
return e();
|
|
261
370
|
} catch {
|
|
262
371
|
return;
|
|
263
372
|
}
|
|
264
373
|
}
|
|
265
|
-
function
|
|
374
|
+
function gc(e) {
|
|
266
375
|
if (!e) return;
|
|
267
376
|
let t = JSON.parse(e);
|
|
268
377
|
if (t && typeof t == "object" && Array.isArray(t.instances) && typeof t.preferences == "object" && t.preferences !== null && !Array.isArray(t.preferences)) return {
|
|
269
|
-
instances: t.instances.filter(
|
|
378
|
+
instances: t.instances.filter(_c),
|
|
270
379
|
preferences: t.preferences
|
|
271
380
|
};
|
|
272
381
|
}
|
|
273
|
-
function
|
|
382
|
+
function _c(e) {
|
|
274
383
|
return typeof e == "object" && !!e && typeof e.id == "string";
|
|
275
384
|
}
|
|
276
385
|
//#endregion
|
|
@@ -284,9 +393,9 @@ function q() {
|
|
|
284
393
|
}
|
|
285
394
|
//#endregion
|
|
286
395
|
//#region src/store/MemoryViewStore.ts
|
|
287
|
-
var
|
|
396
|
+
var vc = class {
|
|
288
397
|
constructor(e = {}) {
|
|
289
|
-
this.instances = /* @__PURE__ */ new Map(), this.preferences = /* @__PURE__ */ new Map(), this.outcomes = /* @__PURE__ */ new Map(), this.preferenceOutcomes = /* @__PURE__ */ new Map(), this.sequence = 0, e.permissions && (this.permissions = e.permissions), this.snapshot = e.snapshot;
|
|
398
|
+
this.instances = /* @__PURE__ */ new Map(), this.preferences = /* @__PURE__ */ new Map(), this.outcomes = /* @__PURE__ */ new Map(), this.preferenceOutcomes = /* @__PURE__ */ new Map(), this.sequence = 0, e.permissions && (this.permissions = e.permissions), e.listLimit !== void 0 && (this.listLimit = e.listLimit), this.snapshot = e.snapshot;
|
|
290
399
|
let t = e.snapshot?.load();
|
|
291
400
|
this.restore({
|
|
292
401
|
instances: t?.instances ?? e.instances ?? [],
|
|
@@ -294,34 +403,39 @@ var ac = class {
|
|
|
294
403
|
}), e.snapshot?.subscribe?.(() => this.reload());
|
|
295
404
|
}
|
|
296
405
|
list(e) {
|
|
297
|
-
let t = [...this.instances.values()].filter((t) => t.definitionId === e).map(
|
|
298
|
-
return Promise.resolve(t);
|
|
406
|
+
let t = [...this.instances.values()].filter((t) => t.definitionId === e).map(j).sort((e, t) => Y[e.scope] - Y[t.scope]), n = this.listLimit;
|
|
407
|
+
if (n === void 0) return Promise.resolve(t);
|
|
408
|
+
let r = /* @__PURE__ */ new Map();
|
|
409
|
+
return Promise.resolve(t.filter((e) => {
|
|
410
|
+
let t = (r.get(e.scope) ?? 0) + 1;
|
|
411
|
+
return r.set(e.scope, t), t <= n;
|
|
412
|
+
}));
|
|
299
413
|
}
|
|
300
414
|
get(e) {
|
|
301
415
|
let t = this.instances.get(e);
|
|
302
|
-
return t ? Promise.resolve($(t)) : Promise.reject(new
|
|
416
|
+
return t ? Promise.resolve($(t)) : Promise.reject(new R("NOT_FOUND", `No such view: ${e}`));
|
|
303
417
|
}
|
|
304
418
|
create(e, t) {
|
|
305
419
|
let n = this.outcomes.get(t.requestId);
|
|
306
420
|
if (n) return Promise.resolve($(n));
|
|
307
|
-
let
|
|
308
|
-
if (
|
|
421
|
+
let r = Z(e.title) ?? Q(e.config);
|
|
422
|
+
if (r) return Promise.reject(r);
|
|
309
423
|
this.reload();
|
|
310
|
-
let
|
|
424
|
+
let i;
|
|
311
425
|
do
|
|
312
|
-
this.sequence += 1,
|
|
313
|
-
while (this.instances.has(
|
|
314
|
-
if (
|
|
315
|
-
let
|
|
316
|
-
delete
|
|
317
|
-
let
|
|
318
|
-
...
|
|
426
|
+
this.sequence += 1, i = `${e.definitionId}-${this.sequence}`;
|
|
427
|
+
while (this.instances.has(i));
|
|
428
|
+
if (L(i)) return Promise.reject(new R("INVALID", `Reserved id namespace: ${i}`));
|
|
429
|
+
let a = $(e);
|
|
430
|
+
delete a.stored;
|
|
431
|
+
let o = {
|
|
432
|
+
...a,
|
|
319
433
|
title: e.title.trim(),
|
|
320
|
-
id:
|
|
434
|
+
id: i,
|
|
321
435
|
revision: "1",
|
|
322
|
-
...
|
|
436
|
+
...k(e.scope) ? { stored: !0 } : {}
|
|
323
437
|
};
|
|
324
|
-
return this.instances.set(
|
|
438
|
+
return this.instances.set(i, o), this.commit(t, o, () => this.instances.delete(i));
|
|
325
439
|
}
|
|
326
440
|
save(e, t, n, r) {
|
|
327
441
|
return this.update(e, n, r, (e) => ({
|
|
@@ -337,11 +451,11 @@ var ac = class {
|
|
|
337
451
|
}
|
|
338
452
|
changeAudience(e, t, n, r) {
|
|
339
453
|
return this.update(e, n, r, (n) => {
|
|
340
|
-
if (
|
|
341
|
-
if (
|
|
454
|
+
if (k(n.scope)) return new R("FORBIDDEN", "System views stay system");
|
|
455
|
+
if (u(n.scope) === t) return null;
|
|
342
456
|
if (t === "personal") {
|
|
343
457
|
let t = this.sharedBoardsShowing(e);
|
|
344
|
-
if (t.length > 0) return new
|
|
458
|
+
if (t.length > 0) return new R("INVALID", `Shared dashboards show view ${e}: ${t.join(", ")}`, { boards: t });
|
|
345
459
|
}
|
|
346
460
|
return {
|
|
347
461
|
...n,
|
|
@@ -353,8 +467,8 @@ var ac = class {
|
|
|
353
467
|
if (this.outcomes.has(n.requestId)) return Promise.resolve();
|
|
354
468
|
this.reload();
|
|
355
469
|
let r = this.instances.get(e);
|
|
356
|
-
if (!r) return Promise.reject(new
|
|
357
|
-
if (J(r)) return Promise.reject(new
|
|
470
|
+
if (!r) return Promise.reject(new R("NOT_FOUND", `No such view: ${e}`));
|
|
471
|
+
if (J(r)) return Promise.reject(new R("FORBIDDEN", "System views are read-only"));
|
|
358
472
|
let i = this.expect(r, t);
|
|
359
473
|
if (i) return Promise.reject(i);
|
|
360
474
|
this.instances.delete(e);
|
|
@@ -369,7 +483,7 @@ var ac = class {
|
|
|
369
483
|
if (r) return Promise.resolve(r);
|
|
370
484
|
this.reload();
|
|
371
485
|
let i = this.preferences.get(e), a = i ?? q();
|
|
372
|
-
if (a.revision !== t.revision) return Promise.reject(new
|
|
486
|
+
if (a.revision !== t.revision) return Promise.reject(new R("CONFLICT", `Preferences for ${e} changed`, { preferences: a }));
|
|
373
487
|
let o = {
|
|
374
488
|
...t,
|
|
375
489
|
revision: X(a.revision)
|
|
@@ -384,12 +498,12 @@ var ac = class {
|
|
|
384
498
|
if (i) return Promise.reject(i);
|
|
385
499
|
this.reload();
|
|
386
500
|
let o = this.instances.get(e);
|
|
387
|
-
if (!o) return Promise.reject(new
|
|
388
|
-
if (J(o)) return Promise.reject(new
|
|
501
|
+
if (!o) return Promise.reject(new R("NOT_FOUND", `No such view: ${e}`));
|
|
502
|
+
if (J(o)) return Promise.reject(new R("FORBIDDEN", "System views are read-only"));
|
|
389
503
|
let s = this.expect(o, t);
|
|
390
504
|
if (s) return Promise.reject(s);
|
|
391
505
|
let c = r(o);
|
|
392
|
-
if (c instanceof
|
|
506
|
+
if (c instanceof R) return Promise.reject(c);
|
|
393
507
|
if (c === null) return this.outcomes.set(n.requestId, o), Promise.resolve($(o));
|
|
394
508
|
let l = {
|
|
395
509
|
...c,
|
|
@@ -401,14 +515,14 @@ var ac = class {
|
|
|
401
515
|
let t = [];
|
|
402
516
|
for (let n of this.instances.values()) {
|
|
403
517
|
let { config: r } = n;
|
|
404
|
-
if (r.kind !== "dashboard" ||
|
|
518
|
+
if (r.kind !== "dashboard" || u(n.scope) !== "shared") continue;
|
|
405
519
|
let i = r.panels;
|
|
406
|
-
Array.isArray(i) && i.some((t) =>
|
|
520
|
+
Array.isArray(i) && i.some((t) => yc(t, e)) && t.push(n.title);
|
|
407
521
|
}
|
|
408
522
|
return t;
|
|
409
523
|
}
|
|
410
524
|
expect(e, t) {
|
|
411
|
-
return e.revision === t ? void 0 : new
|
|
525
|
+
return e.revision === t ? void 0 : new R("CONFLICT", `View ${e.id} moved to revision ${e.revision}`, { instance: e });
|
|
412
526
|
}
|
|
413
527
|
commit(e, t, n) {
|
|
414
528
|
let r = this.persist(n);
|
|
@@ -422,7 +536,7 @@ var ac = class {
|
|
|
422
536
|
});
|
|
423
537
|
return;
|
|
424
538
|
} catch (t) {
|
|
425
|
-
return e(), new
|
|
539
|
+
return e(), new R("UNAVAILABLE", `The view store could not keep this write: ${bc(t)}`, { storage: !0 });
|
|
426
540
|
}
|
|
427
541
|
}
|
|
428
542
|
reload() {
|
|
@@ -435,13 +549,13 @@ var ac = class {
|
|
|
435
549
|
for (let [t, n] of Object.entries(e.preferences)) this.preferences.set(t, n);
|
|
436
550
|
}
|
|
437
551
|
};
|
|
438
|
-
function
|
|
552
|
+
function yc(e, t) {
|
|
439
553
|
if (typeof e != "object" || !e) return !1;
|
|
440
554
|
let { instanceId: n, owned: r, opens: i, click: a } = e;
|
|
441
555
|
return r === void 0 && n === t || i === t || typeof a == "object" && !!a && a.instanceId === t;
|
|
442
556
|
}
|
|
443
557
|
function J(e) {
|
|
444
|
-
return
|
|
558
|
+
return k(e.scope) && e.stored !== !0;
|
|
445
559
|
}
|
|
446
560
|
var Y = {
|
|
447
561
|
system: 0,
|
|
@@ -452,17 +566,17 @@ function X(e) {
|
|
|
452
566
|
return /^(0|[1-9]\d{0,14})$/.test(e) ? String(Number(e) + 1) : "1";
|
|
453
567
|
}
|
|
454
568
|
function Z(e) {
|
|
455
|
-
switch (
|
|
456
|
-
case "empty": return new
|
|
457
|
-
case "too-long": return new
|
|
569
|
+
switch (A(e)) {
|
|
570
|
+
case "empty": return new R("INVALID", "A view's title must not be blank.");
|
|
571
|
+
case "too-long": return new R("INVALID", "A view's title is longer than 120 characters.");
|
|
458
572
|
default: return;
|
|
459
573
|
}
|
|
460
574
|
}
|
|
461
575
|
function Q(e) {
|
|
462
|
-
let t =
|
|
463
|
-
return t > 245760 ? new
|
|
576
|
+
let t = F(e);
|
|
577
|
+
return t > 245760 ? new R("INVALID", `A view's config is ${t} bytes; the limit is ${g}.`) : void 0;
|
|
464
578
|
}
|
|
465
|
-
function
|
|
579
|
+
function bc(e) {
|
|
466
580
|
if (typeof e == "object" && e) {
|
|
467
581
|
let { name: t, message: n } = e;
|
|
468
582
|
if (typeof n == "string") return typeof t == "string" ? `${t}: ${n}` : n;
|
|
@@ -473,6 +587,6 @@ function $(e) {
|
|
|
473
587
|
return structuredClone(e);
|
|
474
588
|
}
|
|
475
589
|
//#endregion
|
|
476
|
-
export { Ss as ALWAYS_VISIBLE, Kr as ANALYSIS_AUTO_RUN_MEMBERS, u as ANALYSIS_DATE_DIFF_UNITS, Br as ANALYSIS_DATE_PARTS, at as ANALYSIS_DATE_UNITS, ft as ANALYSIS_PRESENTATION_MEMBERS, dr as BUILTIN_FIELD_KINDS, Xi as BUILTIN_FIELD_KIND_IDS, Jn as CARTESIAN_MISSING, pa as CHART_COLOR_SLOTS, me as CHART_FAMILIES, Ht as CHART_FAMILY, qt as CHART_PICKER_ORDER, ce as CHART_TYPES, zs as CLICK_GO_KINDS, pi as CODE_REVISION, As as CSV_BOM, va as CURRENCY_CODE_PATTERN, Hn as DASHBOARD_FILTER_KINDS, mi as DASHBOARD_FILTER_TYPES, Ii as DASHBOARD_GRID_COLUMNS, er as DASHBOARD_PRESENTATION_MEMBERS, Zr as DASHBOARD_WIDTHS, Tt as DATE_PART_DOMAINS, Kn as DATE_SUMMARY_FUNCTIONS, Qt as DATE_TIME_PRESETS, ze as DEFAULT_APPROXIMATE_METRICS, go as DEFAULT_MISSING_KEY, Wa as DEFAULT_PERCENTILE, Oi as DEFAULT_RUNTIME_LIMITS, da as DEFAULT_SEARCH_MODE, Bt as DEFAULT_STRING_COMPARISON, oe as DEFAULT_TEMPORAL, ie as DELETION_STATES, b as DERIVED_FORMAT_STYLES, aa as DERIVED_KINDS, fn as DURATION_COMPARISONS, Sa as EDITOR_INPUTS, ra as EPOCH_TIME_UNITS, ti as EXPRESSION_OPERATORS, ts as ExportCancelledError, Jt as FIELDLESS_FIELD_KIND_IDS, xe as FIELD_CELL_IDS, Pe as FIELD_METRIC_TYPES, pe as FIELD_TONES, yr as FILTER_GROUP_OPERATORS, ot as FILTER_TYPE_OPERATOR, Pi as FIRST_PAGE, Vo as HAVING_OPERATORS, Xt as MAX_CHART_LEVELS, Gi as MAX_DASHBOARD_FILTERS, ar as MAX_DASHBOARD_TABS, Qe as MAX_DERIVED_DECIMALS, mr as MAX_HEADING_LENGTH, z as MAX_MARKDOWN_LENGTH, Ce as MAX_MOVING_WINDOW, _t as MAX_NUMERIC_SCALE, ri as MAX_PANEL_LINKS, C as MAX_RELATIVE_DATE_AMOUNT, Mr as MAX_TIMER_DELAY_MS, B as MAX_VIEW_CONFIG_BYTES, Qn as MAX_VIEW_TITLE_LENGTH, Ji as METADATA_FIELD_KINDS, Wr as METADATA_FIELD_KIND_IDS, he as METRIC_HEADLINES, ac as MemoryViewStore, c as NUMERIC_TYPES, pt as ONE_DAY_PRESETS, Tr as OPERATOR_SIGN, Dr as PANEL_PRESENTATION_MEMBERS, vt as PEAKS_ONLY_FROM, Ti as PRESENCE_OPERATORS, li as RECORD_PRESENTATION_MEMBERS, yt as REFERENCE_STATISTICS, Ue as RELATIVE_DATE_UNITS, Rr as SEARCH_MODES, Lo as STACKED_COLUMNS, rt as STRING_COMPARISONS, ut as SUMMARY_FUNCTIONS, Tn as SYSTEM_INSTANCE_ID_PREFIX, bn as SYSTEM_INSTANCE_ID_SEPARATOR, Ct as TEMPORAL_FIELD_KIND_IDS, y as TEMPORAL_TYPES, Ne as TIME_PRECISIONS, ms as VALUE_CANDIDATE_LIMIT, $o as VALUE_CANDIDATE_OPERATORS, Xr as VIEW_AUDIENCES, To as VIEW_KINDS, Wi as VIEW_SCOPES, e as VIEW_STORE_ERROR_CODES, ne as ViewCommandError, cs as ViewEngine, N as ViewStoreError, $i as ViewWriteError, Mi as actions, Pa as addFilter, Ua as addPanel, or as addTab, Et as admitFilters, Ze as aggregationFunctionsOf, mo as aliasOf, s as analysisProbeLimit, $t as analysisScope, kn as approximateMetrics, hs as arrangePanel, Ye as arrayFieldKind, Lr as asksForWhole, M as audienceOf, Ba as autoBindings, vs as autoRunMembers, Ga as bindPanel, qe as bindingsOf, Qi as boardCondition, ma as boardFilterChoices, Ut as boardValueChoices, Fs as boardValueSources, xr as boardWidth, je as booleanFieldKind, es as bottomOf, Bs as bucketChange, cn as bucketRange, L as builtinFieldKinds, Ci as cardField, Gr as chartMarks, be as chartPickerGroups, fe as chartUnfit, i as clampPage, hi as clearFilter, Ls as clickDraftGaps, Ms as clickDraftOf, wi as clickOf, Ve as clicksFilter, Ai as columnHidden, Pr as columnPinned, ki as comboAxis, Nr as comboMark, us as compactLayout, po as compactTab, nt as compileAnalysis, lt as compileAnalysisTotals, nr as compileFilter, kr as compilePresence, Xn as compileRecord, Jr as compileSummaries, $r as conditionOf, Cr as conditions, P as configBytes, gr as countLeaves, tr as coversScope, f as createFieldKindRegistry, le as crossFilterChoices, Pt as currencyPathOf, cr as cursorPaging, Ft as dateDiffUnitsOf, de as dateFieldKind, Ea as datePartsOf, ht as dateTimeFieldKind, vo as defaultAnalysisConfig, x as defaultFilters, _o as defaultPanelSize, Po as defaultRecordConfig, co as defaultRuntimeEnvironment, Zs as defineView, ta as deletionFieldKind, vr as derivedMetric, Pn as derivedText, Mt as describeFilter, zn as describePresence, di as describePresenceParts, gs as detailSections, Os as draftedClick, ja as drillConditions, Ds as drillFilter, eo as drillGroups, Va as duplicatePanel, Mn as durationFrom, Yi as durationMetric, Ya as editContent, Wn as elementFields, pn as elementFilterFields, la as elementMatchFieldKind, Uo as emptyDashboardConfig, qi as emptyFilter, q as emptyPreferences, ga as enumFieldKind, Ta as epochUnitOf, ee as expressionFieldsOf, _a as expressionText, l as familyOf, h as fieldAliasSegment, Ps as fieldGroups, oa as fillUrl, Fe as filterCondition, $e as filterControlValue, It as filterEditor, ha as filterFields, Je as filterIndexes, Da as filterOperatorOf, Za as filterReach, te as filterStoredValue, Ln as filterTypeOf, un as filterValueIssues, ke as filtersOf, oo as filtersOnTab, Ha as firstMetric, Jo as fitChartSlots, gt as fitCharts, Go as fitsGrid, Ka as focusOn, v as formulaFormat, Gn as formulaMetric, tn as freeAlias, ko as freeSpot, Xa as groupFacts, ln as groupFieldsOf, Qa as groupFor, Ca as groupJoinWord, hn as groupKeyText, ss as groupOfType, Ja as groupableFields, rs as grownLayout, ps as hasAsked, Qo as hasResult, Eo as havingRows, Kt as impliedDeletion, w as innermostElement, Un as insertAt, wt as isAdditiveMetric, kt as isApproximate, sr as isBlankFilter, nn as isBlankFilterValue, rn as isBlankLeafValue, Fi as isChartColor, Sn as isContentPanel, sn as isDateCell, bi as isDateTimeFilterValue, ye as isDeletionState, ua as isDuration, Le as isDurationFilterValue, ca as isEmptyFilter, Li as isExecutableFilter, jo as isExportCancelledError, Ee as isFieldName, en as isFieldlessKind, Lt as isFilterGroup, Fn as isFilterGroupOperator, re as isFilterLeaf, ea as isFilterNode, zt as isFormula, p as isGroupItem, O as isKnownEditorInput, Gt as isNegation, vn as isNumberRange, gn as isOneDayValue, Dn as isOrderedRange, jn as isOwnedPanel, pr as isPercentStacked, Ni as isPresenceOperator, At as isPresentationMember, Do as isRecordRuntime, t as isReferenceFilterValue, jt as isRootFilterIssue, a as isSafeContentUrl, ve as isSimpleTree, mn as isSingleStringField, _i as isSmooth, ni as isStacked, r as isSystemInstanceId, R as isSystemScope, tt as isValidTimeZone, Oe as isValueMetric, Wt as isViewCommandError, lr as isViewPanel, ci as isViewStoreError, _e as isViewWriteError, A as issue, Ri as lastPageInWindow, ka as leadMetric, lo as levelLabel, $n as limitBounds, $s as localStorageSnapshot, xa as mapGlobalFilter, Is as mappedValues, E as maxSortFields, Yr as measureColumns, ue as mergeFilters, Yn as mergeGlobalFilter, gi as metricCondition, Me as metricFieldOf, Xe as metricFormat, Nt as metricFunctionOf, wa as metricMeasure, m as metricMeasures, So as metricOfSummary, ae as metricReferenceText, bo as metricWithCondition, Ui as momentColumns, on as momentMetrics, bs as moveFilter, os as movePanelToTab, hr as moveTab, ls as narrowValueCandidates, Na as narrowsTo, Vn as nearestPageSize, mt as negateAt, Fa as nextExpansion, xs as nextLevel, Vr as nodeAt, Nn as numberFieldKind, T as numberFormatOf, Er as offersPercentStack, br as offersStacking, dn as operatorsOf, In as optionTabs, We as outOfScopeNames, fs as overlaps, oi as pageAfterShrink, Be as pageSummaries, Ei as pageWindow, Ar as pagedPaging, D as panelFilterTree, zi as panelTab, si as panelsOf, ur as parseSystemInstanceId, zr as peaksOnlyLabels, ct as periodOf, Bi as periodRollover, No as placePanel, Yo as placePanelIn, ws as presentationMembers, Di as presentationMembersOf, Zt as pressableGroups, ir as projectAnalysis, En as projectRecord, xn as projectSummaries, xi as qualify, Ts as rangeSpan, Hr as readInstant, S as readValue, Wo as readValueCandidates, _s as readingOrder, Te as readsAsItsField, Ao as recommendDateUnit, Ro as recordCapabilityOf, Hi as recordProjection, An as recordValue, qa as referToSaved, _r as referenceFieldKind, jr as referencedInstance, Re as relativeFields, wn as relativeName, yn as relativeTree, o as removeAt, Ir as removeConditionAt, uo as removeFilter, Ra as removeFixedScope, xo as removePanel, vi as removeTab, Ia as renameFilter, yo as renamePanel, ii as renameTab, Fo as reorderPanel, zo as reorderPanelIn, Co as replacePanelView, St as resolveDateTimeBound, _ as resolveDateTimeRange, Cs as resultSpan, no as retypeFilter, is as rootSearch, fr as rowCurrency, et as sameFilterNode, st as sameFilterTree, ba as sameFilterType, Ie as say, On as scopePrefix, wr as searchFieldKind, Xo as searchFieldOf, js as serializeCsv, it as seriesMark, io as setBoardWidth, qo as setFilterDefault, Aa as setFilterMultiple, Ko as setFilterOneDay, $a as setFilterOptions, to as setFilterRequired, we as setPanelClick, Oa as setPresentation, ro as setTimeGrouping, Ur as shapeChart, so as splitBy, as as stackedLayout, Zi as stacks, ya as stageValues, ei as stringFieldKind, rr as summaryAlias, wo as summaryChoices, Ge as summaryFunctionsOf, ao as summaryOf, Io as switchChartType, Vi as systemInstanceId, Bn as tabsOf, ge as takesGroup, Si as temporalOf, Cn as text, _n as textKeyOf, I as titleProblem, F as toSummary, Es as unbindPanels, Ot as unknownOrOutside, Bo as unmarkedErrors, xt as updateAt, Rs as urlFillable, bt as urlPlaceholders, fi as validateAnalysis, qr as validateBoardClick, Zn as validateChart, Qr as validateDashboard, an as validateDataConfigBase, sa as validateDefinition, ai as validateFilter, Sr as validateFilterFields, Ki as validateLayout, d as validatePanelClick, Ke as validateRecord, Or as validateTabs, Rn as validateTimeGrouping, k as validateViewConfigBase, Oo as valueCandidateField, ns as valueCandidateLimit, ds as valueCandidateNarrowing, Mo as valueCandidatesConfig, dt as valueLabelsOn, ks as valueSourceKey, Rt as variantGroups, g as walkFilter, Ae as walkFilterShape, De as wallClockAt, Ma as wireableFields, ho as wiredOptions, Ns as withBoard, fo as withElements, He as withFieldKinds, ys as withHavingRows, Zo as withLayouts, za as withLevel, qn as withMovedTo, n as withOutOfScope, fa as withPercentStack, Ho as withRootSearch, Vt as withSlot, se as withSmooth, ia as withStacked, Yt as withStageOrder, Se as withStagesFrom, Dt as withText, La as withoutLevelsFrom, na as wordReferences, yi as writeValue };
|
|
590
|
+
export { bo as ALWAYS_VISIBLE, wn as ANALYSIS_AUTO_RUN_MEMBERS, In as ANALYSIS_DATE_DIFF_UNITS, Mt as ANALYSIS_DATE_PARTS, a as ANALYSIS_DATE_UNITS, hr as ANALYSIS_PRESENTATION_MEMBERS, c as BUILTIN_FIELD_KINDS, et as BUILTIN_FIELD_KIND_IDS, re as CARTESIAN_MISSING, fn as CHART_COLOR_SLOTS, Et as CHART_FAMILIES, Ae as CHART_FAMILY, l as CHART_PICKER_ORDER, an as CHART_TYPES, Qs as CLICK_GO_KINDS, Xt as CODE_REVISION, Us as CSV_BOM, It as CURRENCY_CODE_PATTERN, Qt as DASHBOARD_FILTER_KINDS, Ce as DASHBOARD_FILTER_TYPES, _e as DASHBOARD_GRID_COLUMNS, xt as DASHBOARD_PRESENTATION_MEMBERS, Zr as DASHBOARD_WIDTHS, ea as DATE_PART_DOMAINS, Ia as DATE_SUMMARY_FUNCTIONS, Ki as DATE_TIME_PRESETS, Ai as DEFAULT_APPROXIMATE_METRICS, To as DEFAULT_MISSING_KEY, ko as DEFAULT_PERCENTILE, Ht as DEFAULT_RUNTIME_LIMITS, te as DEFAULT_SEARCH_MODE, un as DEFAULT_STRING_COMPARISON, ke as DEFAULT_TEMPORAL, cn as DELETION_STATES, pi as DERIVED_FORMAT_STYLES, vn as DERIVED_KINDS, nr as DURATION_COMPARISONS, dc as DatasetResources, Br as EDITOR_INPUTS, rn as EPOCH_TIME_UNITS, Aa as EXPRESSION_OPERATORS, ms as ExportCancelledError, _n as FIELDLESS_FIELD_KIND_IDS, E as FIELD_CELL_IDS, zi as FIELD_METRIC_TYPES, Je as FIELD_TONES, y as FILTER_GROUP_OPERATORS, S as FILTER_TYPE_OPERATOR, Jt as FIRST_PAGE, Ms as HAVING_OPERATORS, D as MAX_CHART_LEVELS, f as MAX_DASHBOARD_FILTERS, Gr as MAX_DASHBOARD_TABS, Lr as MAX_DERIVED_DECIMALS, ct as MAX_HEADING_LENGTH, Ea as MAX_KANBAN_LANES, mt as MAX_MARKDOWN_LENGTH, Ye as MAX_MOVING_WINDOW, Fi as MAX_NUMERIC_SCALE, Dt as MAX_PANEL_LINKS, $r as MAX_RELATIVE_DATE_AMOUNT, ce as MAX_TIMER_DELAY_MS, g as MAX_VIEW_CONFIG_BYTES, he as MAX_VIEW_TITLE_LENGTH, Ne as METADATA_FIELD_KINDS, Ve as METADATA_FIELD_KIND_IDS, Ii as METRIC_AGAINST, Ue as METRIC_HEADLINES, vc as MemoryViewStore, On as NUMERIC_TYPES, Re as ONE_DAY_PRESETS, Qn as OPERATOR_SIGN, Bi as OTHER_LANE_ID, x as PANEL_PRESENTATION_MEMBERS, b as PEAKS_ONLY_FROM, xa as PRESENCE_OPERATORS, Wt as RECORD_PRESENTATION_MEMBERS, An as REFERENCE_STATISTICS, oa as RELATIVE_DATE_UNITS, Cn as SEARCH_MODES, Os as STACKED_COLUMNS, Fn as STRING_COMPARISONS, jt as SUMMARY_FUNCTIONS, ui as SYSTEM_INSTANCE_ID_PREFIX, Pr as SYSTEM_INSTANCE_ID_SEPARATOR, r as TEMPORAL_FIELD_KIND_IDS, br as TEMPORAL_TYPES, aa as TIME_PRECISIONS, Ss as VALUE_CANDIDATE_LIMIT, ns as VALUE_CANDIDATE_OPERATORS, yt as VIEW_AUDIENCES, Ls as VIEW_KINDS, Yr as VIEW_SCOPES, pa as VIEW_STORE_ERROR_CODES, Kt as ViewCommandError, xs as ViewEngine, R as ViewStoreError, ye as ViewWriteError, Gi as actions, Ns as addFilter, wo as addPanel, di as addTab, rt as admitFilters, vi as aggregationFunctionsOf, $a as aliasOf, v as analysisProbeLimit, Be as analysisScope, Rr as appendLane, Or as approximateMetrics, ps as arrangePanel, $i as arrayFieldKind, Pe as asksForWhole, u as audienceOf, no as autoBindings, Vo as autoRunMembers, so as bindPanel, jn as bindingsOf, Da as boardCondition, ba as boardFilterChoices, $t as boardValueChoices, Js as boardValueSources, Le as boardWidth, mr as booleanFieldKind, Cs as bottomOf, $s as bucketChange, He as bucketRange, P as builtinFieldKinds, lr as cardField, Ie as chartMarks, Ur as chartPickerGroups, ot as chartUnfit, zn as clampPage, it as clearFilter, Xs as clickDraftGaps, Gs as clickDraftOf, Tn as clickOf, Ln as clicksFilter, ue as columnHidden, ya as columnPinned, or as comboAxis, ii as comboMark, rs as compactLayout, Oo as compactTab, $e as compileAnalysis, Ft as compileAnalysisTotals, s as compileFilter, Gn as compileKanbanCounts, zt as compilePresence, be as compileRecord, pe as compileSummaries, ut as conditionOf, Ct as conditions, F as configBytes, Te as countLeaves, pr as coversScope, qn as createFieldKindRegistry, we as crossFilterChoices, Wi as currencyPathOf, da as cursorPaging, Wn as dateDiffUnitsOf, w as dateFieldKind, bi as datePartsOf, Ke as dateTimeFieldKind, oo as defaultAnalysisConfig, Rt as defaultFilters, xi as defaultKanbanSpec, Qa as defaultPanelSize, _s as defaultRecordConfig, Ga as defaultRuntimeEnvironment, K as defineDataset, H as defineView, De as deletionFieldKind, Ca as derivedMetric, Vt as derivedText, fi as describeFilter, oe as describePresence, ha as describePresenceParts, Xo as detailSections, Vs as draftedClick, lo as drillConditions, Do as drillFilter, ho as drillGroups, ao as duplicatePanel, Me as durationFrom, se as durationMetric, ys as editContent, Pt as elementFields, Dn as elementFilterFields, Fa as elementMatchFieldKind, Lo as emptyDashboardConfig, Ze as emptyFilter, q as emptyPreferences, Qe as enumFieldKind, Hr as epochUnitOf, qi as expressionFieldsOf, ga as expressionText, tt as familyOf, Jn as fieldAliasSegment, qs as fieldGroups, ve as fillUrl, za as filterCondition, ie as filterControlValue, pn as filterEditor, Nt as filterFields, gi as filterIndexes, je as filterOperatorOf, vo as filterReach, on as filterStoredValue, nt as filterTypeOf, yn as filterValueIssues, O as filtersOf, zs as filtersOnTab, bs as firstMetric, Ko as fitChartSlots, ft as fitCharts, Bo as fitsGrid, yo as focusOn, ee as formulaFormat, Yt as formulaMetric, i as freeAlias, gs as freeSpot, io as groupFacts, rr as groupFieldsOf, Bs as groupFor, Ri as groupJoinWord, gr as groupKeyText, No as groupOfType, jo as groupableFields, Ts as grownLayout, Es as hasAsked, ds as hasResult, Rs as havingRows, tn as impliedDeletion, Go as inRows, Sn as innermostElement, Pa as insertAt, dn as isAdditiveMetric, Vn as isApproximate, ua as isBlankFilter, Xe as isBlankFilterValue, Ci as isBlankLeafValue, ur as isChartColor, o as isContentPanel, Ti as isDateCell, cr as isDateTimeFilterValue, hn as isDeletionState, xe as isDuration, xr as isDurationFilterValue, m as isEmptyFilter, Oa as isExecutableFilter, Uo as isExportCancelledError, Zi as isFieldName, sr as isFieldlessKind, sn as isFilterGroup, Fe as isFilterGroupOperator, Ee as isFilterLeaf, en as isFilterNode, me as isFormula, Ir as isGroupItem, Xi as isKnownEditorInput, mn as isNegation, oi as isNumberRange, Li as isOneDayValue, Ar as isOrderedRange, _r as isOwnedPanel, ja as isPercentStacked, qt as isPresenceOperator, na as isPresentationMember, Ro as isRecordRuntime, Rn as isReferenceFilterValue, Hi as isRootFilterIssue, hi as isSafeContentUrl, C as isSimpleTree, ai as isSingleStringField, $n as isSmooth, Ta as isStacked, L as isSystemInstanceId, k as isSystemScope, xn as isValidTimeZone, ei as isValueMetric, fe as isViewCommandError, Vi as isViewPanel, wa as isViewStoreError, gt as isViewWriteError, M as issue, Ji as kanbanLanes, ir as laneConfig, ti as laneFields, ka as lastPageInWindow, Ds as leadMetric, Ps as levelLabel, ki as limitBounds, fc as localStorageSnapshot, Gt as mapGlobalFilter, Ys as mappedValues, ta as maxSortFields, Oi as measureColumns, Ge as mergeFilters, de as mergeGlobalFilter, fa as metricCondition, ln as metricFieldOf, Oe as metricFormat, nn as metricFunctionOf, gn as metricMeasure, T as metricMeasures, Fo as metricOfSummary, vt as metricReferenceText, _o as metricWithCondition, ci as momentColumns, qe as momentMetrics, So as moveFilter, ro as movePanelToTab, Fr as moveTab, zo as narrowValueCandidates, to as narrowsTo, _a as nearestPageSize, Mi as negateAt, Co as nextExpansion, Xa as nextLevel, ze as nodeAt, _ as numberFieldKind, la as numberFormatOf, Ut as offersPercentStack, le as offersStacking, ri as operatorsOf, va as optionTabs, Pn as outOfScopeNames, cs as overlaps, Zn as pageAfterShrink, Sr as pageSummaries, Sa as pageWindow, Bt as pagedPaging, We as panelFilterTree, zr as panelTab, Kn as panelsOf, Ma as parseSystemInstanceId, Lt as peaksOnlyLabels, Nn as periodOf, wi as periodRollover, As as placePanel, qo as placePanelIn, Fs as presentationMembers, Si as presentationMembersOf, St as pressableGroups, Mr as projectAnalysis, sa as projectKanban, Di as projectRecord, si as projectSummaries, At as qualify, Is as rangeSpan, Ni as readInstant, ca as readValue, hs as readValueCandidates, Zo as readingOrder, Pi as readsAsItsField, xo as recommendDateUnit, ls as recordCapabilityOf, _t as recordProjection, jr as recordValue, Mo as referToSaved, wt as referenceFieldKind, Yi as referencedInstance, n as relativeFields, yr as relativeName, ia as relativeTree, En as removeAt, bn as removeConditionAt, Ya as removeFilter, qa as removeFixedScope, Ao as removePanel, kr as removeTab, fo as renameFilter, Po as renamePanel, Hn as renameTab, vs as reorderPanel, us as reorderPanelIn, go as replacePanelView, kt as resolveDateTimeBound, t as resolveDateTimeRange, Ka as resultSpan, as as retypeFilter, es as rootSearch, Dr as rowCurrency, Mn as sameFilterNode, Ot as sameFilterTree, Ra as sameFilterType, I as say, _i as scopePrefix, dt as searchFieldKind, Qo as searchFieldOf, Ws as serializeCsv, La as seriesMark, Ba as setBoardWidth, Ha as setFilterDefault, is as setFilterMultiple, co as setFilterOneDay, uo as setFilterOptions, mo as setFilterRequired, Qr as setPanelClick, Yo as setPresentation, Za as setTimeGrouping, Tt as shapeChart, Wa as splitBy, ts as stackedLayout, Zt as stacks, Se as stageValues, at as stringFieldKind, qr as summaryAlias, Va as summaryChoices, fr as summaryFunctionsOf, Jo as summaryOf, fs as switchChartType, er as systemInstanceId, ar as tabsOf, p as takesGroup, Tr as temporalOf, li as text, Nr as textKeyOf, A as titleProblem, j as toSummary, Ua as unbindPanels, Ui as unknownOrOutside, js as unmarkedErrors, e as updateAt, Zs as urlFillable, Kr as urlPlaceholders, ni as validateAnalysis, lt as validateBoardClick, Cr as validateChart, Er as validateDashboard, Un as validateDataConfigBase, ae as validateDefinition, Xn as validateFilter, Na as validateFilterFields, ji as validateLayout, ht as validatePanelClick, mi as validateRecord, ma as validateTabs, tr as validateTimeGrouping, yi as validateViewConfigBase, ws as valueCandidateField, Wo as valueCandidateLimit, ss as valueCandidateNarrowing, ks as valueCandidatesConfig, ne as valueLabelsOn, Hs as valueSourceKey, h as variantGroups, vr as walkFilter, ra as walkFilterShape, kn as wallClockAt, Eo as wireableFields, eo as wiredOptions, Ks as withBoard, Ja as withElements, dr as withFieldKinds, Ho as withHavingRows, $o as withLayouts, po as withLevel, ge as withMovedTo, Vr as withOutOfScope, bt as withPercentStack, Io as withRootSearch, Xr as withSlot, d as withSmooth, Wr as withStacked, st as withStageOrder, pt as withStagesFrom, Bn as withText, os as withoutLevelsFrom, Jr as wordReferences, wr as writeValue };
|
|
477
591
|
|
|
478
592
|
//# sourceMappingURL=index.js.map
|