@openbkn/workshop 0.2.2 → 0.2.3
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/dist/{ActionConfirm-DJ91X3ml.js → ActionConfirm-ITBip2Ic.js} +5 -5
- package/dist/{ActionFailure-ZgPt_3B-.js → ActionFailure-CWifUJ2j.js} +2 -2
- package/dist/{AgentChat-CRYai8ge.js → AgentChat-C1uyzwuA.js} +6 -6
- package/dist/{AppFormModal-D73ucaHK.js → AppFormModal-ByNEloW-.js} +2 -2
- package/dist/AppListPage-D2NVBJs7.js +1465 -0
- package/dist/{AskDrawer-BUMYsRnt.js → AskDrawer-Bw1NM5v_.js} +4 -4
- package/dist/{ComputedView-CgYrDbx1.js → ComputedView-_CaPjqhY.js} +4 -4
- package/dist/{ConclusionApply-sjGfoEBY.js → ConclusionApply-CG5wSeVp.js} +4 -4
- package/dist/{CypherEditor-lus6FA5L.js → CypherEditor-DbLHQoJJ.js} +5 -5
- package/dist/{LandingList-6JI6864C.js → LandingList-BMPCXj6K.js} +5 -5
- package/dist/{MenuUnfoldOutlined-Cdg24l2h.js → MenuUnfoldOutlined-BoARCVho.js} +1 -1
- package/dist/{ModelTrial-ClHFGTpQ.js → ModelTrial-DZjC0E8E.js} +4 -4
- package/dist/{PageRenderer-DBd_g6mN.js → PageRenderer-Debi-U0v.js} +637 -637
- package/dist/{ScenarioApply-DtW_hh47.js → ScenarioApply-BNFfjIwR.js} +6 -6
- package/dist/{SimulateForm-C-i08Jjd.js → SimulateForm-CEqqMjks.js} +4 -4
- package/dist/{Subgraph-CnrkH9AN.js → Subgraph-C0VjOnZf.js} +3 -3
- package/dist/{WorkshopLabPage-DiVXQL9e.js → WorkshopLabPage-C7hssyUo.js} +9 -9
- package/dist/{WorkshopRunPage-6hjRUf64.js → WorkshopRunPage-BlyM18id.js} +4 -4
- package/dist/{abnfDiagram-WEYOIA3C-beRNhN3c.js → abnfDiagram-WEYOIA3C-wqYhe75a.js} +3 -3
- package/dist/{action-type-tool.service-B2B74fKC.js → action-type-tool.service-CtCfESYq.js} +1 -1
- package/dist/{architectureDiagram-ZHVYKT53-DY2l1qxx.js → architectureDiagram-ZHVYKT53-BYJ2H7bS.js} +3 -3
- package/dist/{bkn-agent-execution.service-DVh-SHyl.js → bkn-agent-execution.service-ogW6NIAz.js} +1 -1
- package/dist/{blockDiagram-RJAE7QA3-DR0mjN2h.js → blockDiagram-RJAE7QA3-DZfrfHRw.js} +3 -3
- package/dist/{c4Diagram-XDPPPE54-DH5zsGug.js → c4Diagram-XDPPPE54--S7sRxgd.js} +2 -2
- package/dist/{channel-B034hcOF.js → channel-Ca2_7Xkz.js} +1 -1
- package/dist/{chunk-2E7WHVMD-Ba3svxgx.js → chunk-2E7WHVMD-BMnl6-jy.js} +1 -1
- package/dist/{chunk-2Q5K7J3B-rT4eU6_y.js → chunk-2Q5K7J3B-BNVTYluA.js} +1 -1
- package/dist/{chunk-4EMNKR2T-C1kQZYHK.js → chunk-4EMNKR2T-CKorQf5z.js} +1 -1
- package/dist/{chunk-55XCU76K-dcpLOktb.js → chunk-55XCU76K-C4xutPQ4.js} +1 -1
- package/dist/{chunk-5VM5RSS4-BdpQuzmO.js → chunk-5VM5RSS4-BM5F2WnL.js} +1 -1
- package/dist/{chunk-JWPE2WC7-CDBrSjU7.js → chunk-JWPE2WC7-CSU5SIs8.js} +1 -1
- package/dist/{chunk-VQ5W62QI-BiVKc40w.js → chunk-VQ5W62QI-Dtk59D_l.js} +1 -1
- package/dist/{chunk-XXDRQBXY-CPYrcdVW.js → chunk-XXDRQBXY-DzVLFl9c.js} +1 -1
- package/dist/{chunk-ZCHMQSOR-BG8OLpvb.js → chunk-ZCHMQSOR-cdQdJeDJ.js} +2 -2
- package/dist/{classDiagram-v2-4MYWR3UA-DqbpQpwI.js → classDiagram-v2-4MYWR3UA-CABAzYlW.js} +5 -5
- package/dist/{cose-bilkent-JH36ORCC-CdXk4sPf.js → cose-bilkent-JH36ORCC-Ca8GJbqv.js} +2 -2
- package/dist/{customParseFormat-C0uLEpdq.js → customParseFormat-H00Ur3YB.js} +1 -1
- package/dist/{cynefinDiagram-WF24UDRP-BYT_KpDL.js → cynefinDiagram-WF24UDRP-iIy_O6OH.js} +2 -2
- package/dist/{dagre-NK4GIZVX-l-ghPdM8.js → dagre-NK4GIZVX-lW5Hra0G.js} +2 -2
- package/dist/{dayjs.min-DZ-YV8Mv.js → dayjs.min-C8_4Wqpb.js} +1 -1
- package/dist/{diagram-CBK3MWTC-Bt3HiwvA.js → diagram-CBK3MWTC-l5LVSm6X.js} +3 -3
- package/dist/{diagram-I5XIIV2D-DcbqfBjx.js → diagram-I5XIIV2D-ChpwB8Wz.js} +2 -2
- package/dist/{diagram-ODIL2UCW-9PC1n3n5.js → diagram-ODIL2UCW-DBavGl7R.js} +3 -3
- package/dist/{diagram-PFBEJUXE-DGhr2kc7.js → diagram-PFBEJUXE-B3fNIQm9.js} +2 -2
- package/dist/{diagram-RJA3I4VV-DwzpOjZ_.js → diagram-RJA3I4VV-Dmj0Shdh.js} +2 -2
- package/dist/{diagram-TYUNFSNR-B3Bd3TDU.js → diagram-TYUNFSNR-D98rsKpY.js} +6 -6
- package/dist/{ebnfDiagram-V4P3TTPT-E5NN2oKc.js → ebnfDiagram-V4P3TTPT-Bxr2oP9U.js} +3 -3
- package/dist/{elk-QONTBCTQ-dFjcujl_.js → elk-QONTBCTQ-CvFT6Pst.js} +5 -5
- package/dist/{erDiagram-KYQIGQAA-BMrasBzB.js → erDiagram-KYQIGQAA-dgeEoLzk.js} +4 -4
- package/dist/{flowDiagram-IUGLLWBU-BGIBH0q0.js → flowDiagram-IUGLLWBU-ChsJgBPn.js} +7 -7
- package/dist/{ganttDiagram-R7GPNTJY-C0tb1Lpp.js → ganttDiagram-R7GPNTJY-C9WcR8Tf.js} +4 -4
- package/dist/{generateCypher-Ch9_lQa6.js → generateCypher-kvNYDLY4.js} +4 -4
- package/dist/{gitGraphDiagram-PDYL7XHY-DBqcOa-c.js → gitGraphDiagram-PDYL7XHY-CeZTDs7V.js} +3 -3
- package/dist/{infoDiagram-MVDRKAX5-Bwuki4JA.js → infoDiagram-MVDRKAX5-CzfcVWVf.js} +1 -1
- package/dist/{ishikawaDiagram-HPEHV2GE-Dz4d6ygx.js → ishikawaDiagram-HPEHV2GE-BK4ExPHB.js} +2 -2
- package/dist/{journeyDiagram-BOSHW7O7-C99m34Bb.js → journeyDiagram-BOSHW7O7-DXJ-ihrY.js} +4 -4
- package/dist/{kanban-definition-FNSA4HC5-mdqjODsT.js → kanban-definition-FNSA4HC5-C9rAkIZN.js} +2 -2
- package/dist/{mermaid.core-yQghUlIz.js → mermaid.core-uROF3Ult.js} +43 -43
- package/dist/{mindmap-definition-6OY57UG3-BZhO2wX4.js → mindmap-definition-6OY57UG3-DC9FfvxT.js} +3 -3
- package/dist/{models-DekiCOuZ.js → models-D5Mffixi.js} +1 -1
- package/dist/{object-metric-numeric-vs3BeDkH.js → object-metric-numeric-DIgqXqB5.js} +1 -1
- package/dist/{object-metric.service-flZgBMRX.js → object-metric.service-B3PtIPEA.js} +2 -2
- package/dist/{pegDiagram-ECIUJNBX-BDa5RfZt.js → pegDiagram-ECIUJNBX-CUCvcOc0.js} +3 -3
- package/dist/{pieDiagram-GNMPY74T-DNVtzXPv.js → pieDiagram-GNMPY74T-DprBId-p.js} +2 -2
- package/dist/{prompt-DYrjlEFr.js → prompt-D9VtVs5i.js} +3 -3
- package/dist/{quadrantDiagram-D57K4MC3-vK0f2OvQ.js → quadrantDiagram-D57K4MC3-CcvW9eIV.js} +1 -1
- package/dist/{railroadDiagram-Y72NRBL7-j6ZrTmRp.js → railroadDiagram-Y72NRBL7-DH43paGB.js} +3 -3
- package/dist/{requirementDiagram-EQYSW5RA-DgfEyljA.js → requirementDiagram-EQYSW5RA-CBY8WT39.js} +3 -3
- package/dist/{sankeyDiagram-SY24JHO5-CImx-IX0.js → sankeyDiagram-SY24JHO5-DD80tYLM.js} +2 -2
- package/dist/{sequenceDiagram-BLEHNHQU-nWmjd1ci.js → sequenceDiagram-BLEHNHQU-Bo9dDD6b.js} +3 -3
- package/dist/{sizeCapture-INFHLROL-D3jlbt7h.js → sizeCapture-INFHLROL-BQTwKEEH.js} +1 -1
- package/dist/{stateDiagram-v2-A6IESKWZ-DG1ZetEu.js → stateDiagram-v2-A6IESKWZ-um_LWxkE.js} +4 -4
- package/dist/{swimlanes-B3ENRKFQ-cCmJE8AU.js → swimlanes-B3ENRKFQ-DyYkLRSQ.js} +3 -3
- package/dist/{swimlanesDiagram-AYQRV4AK-CtuhyguU.js → swimlanesDiagram-AYQRV4AK-DlAG_Vwl.js} +3 -3
- package/dist/{timeline-definition-JXYKGLGB-Cc-INsOv.js → timeline-definition-JXYKGLGB-DVH8Jsv4.js} +1 -1
- package/dist/{useLabData-Df-jEHKs.js → useLabData-fKy_tVvS.js} +2 -1
- package/dist/{usecaseDiagram-WPOLBNNX-r8wVjopm.js → usecaseDiagram-WPOLBNNX-DvsgvjCb.js} +3 -3
- package/dist/{vennDiagram-Q3Y3IDCW-BZiOcgrj.js → vennDiagram-Q3Y3IDCW-BQcWfjtm.js} +2 -2
- package/dist/{wardleyDiagram-IVAIDKWA-16jd07C_.js → wardleyDiagram-IVAIDKWA-M_Wv4tRx.js} +2 -2
- package/dist/{workshop-app-DnHNjBqy.js → workshop-app-wZ37Phc-.js} +60 -22
- package/dist/workshop-app.css +1 -1
- package/dist/workshop-app.js +1 -1
- package/dist/{xychartDiagram-4URNHDU4-C8DwWQNh.js → xychartDiagram-4URNHDU4-DBviJ7Ux.js} +1 -1
- package/package.json +1 -1
- package/dist/AppListPage-D87piiOw.js +0 -1364
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { cj as hr, aw as dt, r as x, aF as xe, cu as Pp, i as Gt, aT as $a, cC as RE, aV as xc, cR as jE, N as Ht, co as hZ, aA as se, aI as ve, cn as ye, aG as Ke, aC as ka, cD as Qn, b0 as Ca, at as co, cU as n0, ci as Sa, as as Ye, cr as f8, cV as $p, aH as dl, aE as pr, aD as S1, az as E1, ct as pZ, aP as Wi, aQ as Oi, aJ as oe, aR as ha, cx as ku, c6 as k1, di as Ud, cE as Cc, a$ as Bc, dO as DE, ea as h8, c$ as gZ, cY as xl, eb as mZ, ec as vZ, cA as Qi, ed as UE, cN as yZ, ee as p8, ef as g8, eg as m8, eh as v8, ei as QE, d5 as y8, cG as bZ, cF as wZ, cI as xZ, cH as CZ, aL as O1, ej as BZ, ek as b8, cy as iF, cL as oF, ar as Ra, cW as SZ, el as EZ, em as kZ, en as HE, eo as OZ, ep as _Z, eq as MZ, cB as FZ, d6 as zE, er as KE, es as T0, cw as I0, et as w8, eu as GE, ev as VE, ck as sn, b2 as WE, cq as ld, _ as Hi, a_ as Qd, ew as TZ, a as Ge, b1 as _1, ex as x8, ey as sF, cK as C8, ez as IZ, eA as LZ, eB as NZ, dj as PZ, ch as YE, eC as $Z, c8 as XE, b3 as B8, eD as lF, eE as RZ, eF as jZ, eG as DZ, bQ as M1, c9 as UZ, cb as QZ, cc as HZ, dL as zZ, aZ as S8, cm as cF, cp as E8, dk as qE, eH as uF, cg as KZ, cT as ZE, eI as AF, eJ as dF, eK as k8, cQ as JE, aU as GZ, ax as VZ, ay as WZ, aB as An, aM as YZ, aY as fF, aW as XZ, eL as qZ, eM as ZZ, eN as O8, Z as hF, dR as JZ, aK as eJ, eO as tJ, R as pn, u as Qe, ap as ek, an as Rp, c1 as jl, A as nJ, D as tk, c as Ja, a2 as Za, a3 as Pf, j as E, eP as nk, eQ as Ou, eR as rJ, eS as aJ, E as _8, x as rk, eT as iJ, bS as oJ, y as Wo, eU as M8, eV as jo, eW as us, e3 as Do, bX as ua, K as jp, d as Ns, eX as ak, eY as cd, eZ as gu, e_ as F8, e$ as F1, f0 as $A, f1 as sJ, f2 as lJ, p as T1, X as ud, w as cJ, Y as Z2, bT as T8, e2 as J2, bR as I8, h as Cl, f3 as fl, f4 as ik, a7 as $h, V as ok, b as I1, I as Pa, f5 as Bw, f6 as sk, dZ as uJ, g as Ia, e4 as AJ, e as nc, f7 as pF, f8 as gF, f as Dp, a5 as eC, G as dJ, S as Og, f9 as fJ, fa as hJ, a9 as L8, fb as N8, k as pJ, fc as gJ, fd as mJ, fe as vJ, o as yJ, H as bJ, ff as mF, a6 as tC, d$ as wJ, bW as xJ, L as CJ, z as BJ, fg as SJ, fh as Sw, c3 as nC } from "./workshop-app-
|
|
2
|
-
import { bG as EJ, cS as kJ, cT as P8, cU as L1, cV as vF, cW as yF, bF as OJ, cX as _J, aO as N1, bE as MJ, cY as FJ, cZ as TJ, af as Ii, c_ as lk, c$ as ck, d0 as uk, cL as rC, cy as P1, d1 as IJ, r as qt, cK as Ad, bM as Pe, T as li, p as $o, _ as LJ, $ as NJ, d2 as PJ, d3 as $J, Z as RJ, d4 as jJ, ck as $8, cm as R8, cn as DJ, d5 as Ak, d6 as dk, d7 as j8, d8 as D8, d9 as UJ, da as QJ, ad as fk, db as bF, bS as HJ, dc as zJ, dd as KJ, de as GJ, df as VJ, dg as U8, a$ as dd, R as hk, an as WJ, bu as YJ, D as Hd, A as Ei, a as hl, b_ as XJ, C as $1, dh as wF, aK as Q8, u as gt, di as H8, ap as xF, dj as qJ, dk as ZJ, cw as mu, dl as JJ, dm as CF, ab as eee, aN as tee, bZ as pk, b as br, dn as z8, dp as nee, g as gk, dq as ree, K as BF, dr as aee, ds as mk, h as R1, cx as K8, a5 as iee, dt as oee, du as G8, dv as see, by as vk, dw as lee, d as $r, n as Bi, dx as cee, ak as V8, dy as uee, c0 as yk, c1 as bk, X as Aee, dz as dee, dA as SF, c5 as Ew, c6 as kw, v as wk, dB as fee, dC as hee, bm as xk, dD as W8, bH as Uc, M as Ck, ao as j1, b8 as Y8, dE as pee, dF as X8, dG as gee, a1 as mee, dH as vee, dI as Ow, Y as yee, dJ as bee, dK as wee, dL as xee, dM as Cee, dN as Bee, dO as See, dP as Eee, dQ as Bk, dR as L0, dS as aC, dT as kee, dU as Oee, dV as Sc, dW as EF, dX as q8, dY as Z8, dZ as J8, d_ as r0, d$ as eR, e0 as _ee, e1 as tR, e2 as Sk, aX as ki, q as pl, aY as iC, e3 as Ek, cg as Mee, aW as nR, e4 as Fee, e5 as Tee, e6 as Iee, e7 as Lee, e8 as kF, e9 as Nee, ea as Pee, eb as $ee, aZ as Ree, ec as rR, ed as OF, bP as jee, bh as _F, ee as Dee, cd as Uee, bL as Qee, I as aR, ag as AA, ef as Hee, eg as zee, eh as iR, ei as Kee, ej as Gee, ek as Vee, cq as Wee, el as Yee, ct as _w, em as Xee, en as qee, eo as Zee, bg as Jee, ep as ete, eq as tte, er as nte, es as rte, et as ate, eu as ite, ev as ote, ew as ste, ex as lte, cO as cte, cJ as ute } from "./useLabData-
|
|
3
|
-
import { d as Yr } from "./dayjs.min-
|
|
4
|
-
import { d as Ate, a as dte } from "./customParseFormat-
|
|
1
|
+
import { cj as hr, aw as dt, r as x, aF as xe, cu as Pp, i as Gt, aT as $a, cC as RE, aV as xc, cR as jE, N as Ht, co as hZ, aA as se, aI as ve, cn as ye, aG as Ke, aC as ka, cD as Qn, b0 as Ca, at as co, cU as n0, ci as Sa, as as Ye, cr as f8, cV as $p, aH as dl, aE as pr, aD as S1, az as E1, ct as pZ, aP as Wi, aQ as Oi, aJ as oe, aR as ha, cx as ku, c6 as k1, di as Ud, cE as Cc, a$ as Bc, dO as DE, ea as h8, c$ as gZ, cY as xl, eb as mZ, ec as vZ, cA as Qi, ed as UE, cN as yZ, ee as p8, ef as g8, eg as m8, eh as v8, ei as QE, d5 as y8, cG as bZ, cF as wZ, cI as xZ, cH as CZ, aL as O1, ej as BZ, ek as b8, cy as iF, cL as oF, ar as Ra, cW as SZ, el as EZ, em as kZ, en as HE, eo as OZ, ep as _Z, eq as MZ, cB as FZ, d6 as zE, er as KE, es as T0, cw as I0, et as w8, eu as GE, ev as VE, ck as sn, b2 as WE, cq as ld, _ as Hi, a_ as Qd, ew as TZ, a as Ge, b1 as _1, ex as x8, ey as sF, cK as C8, ez as IZ, eA as LZ, eB as NZ, dj as PZ, ch as YE, eC as $Z, c8 as XE, b3 as B8, eD as lF, eE as RZ, eF as jZ, eG as DZ, bQ as M1, c9 as UZ, cb as QZ, cc as HZ, dL as zZ, aZ as S8, cm as cF, cp as E8, dk as qE, eH as uF, cg as KZ, cT as ZE, eI as AF, eJ as dF, eK as k8, cQ as JE, aU as GZ, ax as VZ, ay as WZ, aB as An, aM as YZ, aY as fF, aW as XZ, eL as qZ, eM as ZZ, eN as O8, Z as hF, dR as JZ, aK as eJ, eO as tJ, R as pn, u as Qe, ap as ek, an as Rp, c1 as jl, A as nJ, D as tk, c as Ja, a2 as Za, a3 as Pf, j as E, eP as nk, eQ as Ou, eR as rJ, eS as aJ, E as _8, x as rk, eT as iJ, bS as oJ, y as Wo, eU as M8, eV as jo, eW as us, e3 as Do, bX as ua, K as jp, d as Ns, eX as ak, eY as cd, eZ as gu, e_ as F8, e$ as F1, f0 as $A, f1 as sJ, f2 as lJ, p as T1, X as ud, w as cJ, Y as Z2, bT as T8, e2 as J2, bR as I8, h as Cl, f3 as fl, f4 as ik, a7 as $h, V as ok, b as I1, I as Pa, f5 as Bw, f6 as sk, dZ as uJ, g as Ia, e4 as AJ, e as nc, f7 as pF, f8 as gF, f as Dp, a5 as eC, G as dJ, S as Og, f9 as fJ, fa as hJ, a9 as L8, fb as N8, k as pJ, fc as gJ, fd as mJ, fe as vJ, o as yJ, H as bJ, ff as mF, a6 as tC, d$ as wJ, bW as xJ, L as CJ, z as BJ, fg as SJ, fh as Sw, c3 as nC } from "./workshop-app-wZ37Phc-.js";
|
|
2
|
+
import { bG as EJ, cS as kJ, cT as P8, cU as L1, cV as vF, cW as yF, bF as OJ, cX as _J, aO as N1, bE as MJ, cY as FJ, cZ as TJ, af as Ii, c_ as lk, c$ as ck, d0 as uk, cL as rC, cy as P1, d1 as IJ, r as qt, cK as Ad, bM as Pe, T as li, p as $o, _ as LJ, $ as NJ, d2 as PJ, d3 as $J, Z as RJ, d4 as jJ, ck as $8, cm as R8, cn as DJ, d5 as Ak, d6 as dk, d7 as j8, d8 as D8, d9 as UJ, da as QJ, ad as fk, db as bF, bS as HJ, dc as zJ, dd as KJ, de as GJ, df as VJ, dg as U8, a$ as dd, R as hk, an as WJ, bu as YJ, D as Hd, A as Ei, a as hl, b_ as XJ, C as $1, dh as wF, aK as Q8, u as gt, di as H8, ap as xF, dj as qJ, dk as ZJ, cw as mu, dl as JJ, dm as CF, ab as eee, aN as tee, bZ as pk, b as br, dn as z8, dp as nee, g as gk, dq as ree, K as BF, dr as aee, ds as mk, h as R1, cx as K8, a5 as iee, dt as oee, du as G8, dv as see, by as vk, dw as lee, d as $r, n as Bi, dx as cee, ak as V8, dy as uee, c0 as yk, c1 as bk, X as Aee, dz as dee, dA as SF, c5 as Ew, c6 as kw, v as wk, dB as fee, dC as hee, bm as xk, dD as W8, bH as Uc, M as Ck, ao as j1, b8 as Y8, dE as pee, dF as X8, dG as gee, a1 as mee, dH as vee, dI as Ow, Y as yee, dJ as bee, dK as wee, dL as xee, dM as Cee, dN as Bee, dO as See, dP as Eee, dQ as Bk, dR as L0, dS as aC, dT as kee, dU as Oee, dV as Sc, dW as EF, dX as q8, dY as Z8, dZ as J8, d_ as r0, d$ as eR, e0 as _ee, e1 as tR, e2 as Sk, aX as ki, q as pl, aY as iC, e3 as Ek, cg as Mee, aW as nR, e4 as Fee, e5 as Tee, e6 as Iee, e7 as Lee, e8 as kF, e9 as Nee, ea as Pee, eb as $ee, aZ as Ree, ec as rR, ed as OF, bP as jee, bh as _F, ee as Dee, cd as Uee, bL as Qee, I as aR, ag as AA, ef as Hee, eg as zee, eh as iR, ei as Kee, ej as Gee, ek as Vee, cq as Wee, el as Yee, ct as _w, em as Xee, en as qee, eo as Zee, bg as Jee, ep as ete, eq as tte, er as nte, es as rte, et as ate, eu as ite, ev as ote, ew as ste, ex as lte, cO as cte, cJ as ute } from "./useLabData-fKy_tVvS.js";
|
|
3
|
+
import { d as Yr } from "./dayjs.min-C8_4Wqpb.js";
|
|
4
|
+
import { d as Ate, a as dte } from "./customParseFormat-H00Ur3YB.js";
|
|
5
5
|
function oC(e) {
|
|
6
6
|
return e != null && e === e.window;
|
|
7
7
|
}
|
|
@@ -19513,7 +19513,7 @@ function KC() {
|
|
|
19513
19513
|
const bAe = (e, t) => /* @__PURE__ */ x.createElement(pn, KC({}, e, {
|
|
19514
19514
|
ref: t,
|
|
19515
19515
|
icon: yAe
|
|
19516
|
-
})),
|
|
19516
|
+
})), int = /* @__PURE__ */ x.forwardRef(bAe);
|
|
19517
19517
|
var om = {}, eT;
|
|
19518
19518
|
function wAe() {
|
|
19519
19519
|
if (eT) return om;
|
|
@@ -19867,7 +19867,7 @@ const sB = /* @__PURE__ */ new Map(), Kw = /* @__PURE__ */ new Map();
|
|
|
19867
19867
|
function Dde(e, t) {
|
|
19868
19868
|
sB.set(e, t);
|
|
19869
19869
|
}
|
|
19870
|
-
function
|
|
19870
|
+
function ont(e, t, n, r) {
|
|
19871
19871
|
Dde(e, t);
|
|
19872
19872
|
const a = uk(t.type);
|
|
19873
19873
|
rC(e, t, n);
|
|
@@ -19912,7 +19912,7 @@ async function zj(e) {
|
|
|
19912
19912
|
throw t;
|
|
19913
19913
|
}
|
|
19914
19914
|
}
|
|
19915
|
-
async function
|
|
19915
|
+
async function snt(e, t = "index.js") {
|
|
19916
19916
|
const n = async (o) => {
|
|
19917
19917
|
const { data: s } = await P1.get(`${Z1(e)}${o}`, {
|
|
19918
19918
|
skipErrorToast: !0
|
|
@@ -19929,10 +19929,10 @@ const lB = /* @__PURE__ */ new Map();
|
|
|
19929
19929
|
function pT(e, t) {
|
|
19930
19930
|
t ? lB.set(e, t) : lB.delete(e);
|
|
19931
19931
|
}
|
|
19932
|
-
function
|
|
19932
|
+
function lnt(e) {
|
|
19933
19933
|
return lB.get(e);
|
|
19934
19934
|
}
|
|
19935
|
-
const zde = "_builder_1b70a_8", Kde = "_topBar_1b70a_19", Gde = "_appIcon_1b70a_33", Vde = "_appName_1b70a_47", Wde = "_spacer_1b70a_58", Yde = "_saveState_1b70a_63", Xde = "_publishTypes_1b70a_77", qde = "_panes_1b70a_87", Zde = "_rail_1b70a_99", Jde = "_railItem_1b70a_109", efe = "_railIcon_1b70a_134", tfe = "_panel_1b70a_140", nfe = "_configPanel_1b70a_163", rfe = "_panelHead_1b70a_168", afe = "_panelTitle_1b70a_175", ife = "_panelSubtitle_1b70a_181", ofe = "_pageList_1b70a_189", sfe = "_pageRow_1b70a_195", lfe = "_pageGrip_1b70a_220", cfe = "_pageName_1b70a_225", ufe = "_pageRemove_1b70a_239", Afe = "_pageBar_1b70a_249", dfe = "_pagePick_1b70a_259", ffe = "_pagePickName_1b70a_276", hfe = "_specModal_1b70a_284", pfe = "_pane_1b70a_87", gfe = "_configSlot_1b70a_297", mfe = "_aiHeader_1b70a_308", vfe = "_aiTitleIcon_1b70a_315", yfe = "_aiTitle_1b70a_315", bfe = "_aiIntro_1b70a_347", wfe = "_aiExamples_1b70a_354", xfe = "_aiRail_1b70a_383", Cfe = "_model_1b70a_391", Bfe = "_modelOption_1b70a_397", Sfe = "_log_1b70a_410", Efe = "_aiPane_1b70a_419", kfe = "_hint_1b70a_424", Ofe = "_muted_1b70a_425", _fe = "_fieldWarning_1b70a_431", Mfe = "_userMessage_1b70a_438", Ffe = "_aiMessage_1b70a_446", Tfe = "_step_1b70a_452", Ife = "_stepDot_1b70a_459", Lfe = "_stepDetail_1b70a_488", Nfe = "_summary_1b70a_494", Pfe = "_composer_1b70a_507", $fe = "_targetBar_1b70a_514", Rfe = "_targetChip_1b70a_521", jfe = "_targetIdeas_1b70a_541", Dfe = "_messageTarget_1b70a_565", Ufe = "_composerShell_1b70a_572", Qfe = "_composerFooter_1b70a_586", Hfe = "_canvasPane_1b70a_594", zfe = "_canvas_1b70a_594", Kfe = "_json_1b70a_609", Gfe = "_notice_1b70a_617", Vfe = "_sideSection_1b70a_632", Wfe = "_field_1b70a_431", Yfe = "_fieldLabel_1b70a_646", Xfe = "_swatches_1b70a_651", qfe = "_swatch_1b70a_651", Zfe = "_swatchColors_1b70a_674", Jfe = "_placed_1b70a_683", ehe = "_placedName_1b70a_699", the = "_libraryGroup_1b70a_706", nhe = "_libraryGroupTitle_1b70a_714", rhe = "_libraryGroupIcon_1b70a_725", ahe = "_libraryGroupCount_1b70a_731", ihe = "_customDrop_1b70a_738", ohe = "_customDropRow_1b70a_748", she = "_customDropIcon_1b70a_756", lhe = "_customDropTitle_1b70a_761", che = "_customDropHint_1b70a_767", uhe = "_customWays_1b70a_773", Ahe = "_customItem_1b70a_782", dhe = "_libraryItem_1b70a_788", fhe = "_libraryBody_1b70a_812", hhe = "_libraryName_1b70a_820", phe = "_libraryText_1b70a_825", ghe = "_libraryAdd_1b70a_833", mhe = "_mono_1b70a_856", vhe = "_dataItem_1b70a_863", yhe = "_tag_1b70a_872", bhe = "_tip_1b70a_876", whe = "_navSketches_1b70a_882", xhe = "_navSketch_1b70a_882", Che = "_sketchName_1b70a_913", Bhe = "_sketchText_1b70a_922", She = "_sketchFrame_1b70a_929", Ehe = "_sketchNav_1b70a_941", khe = "_sketchBody_1b70a_962", Ohe = "_iconOption_1b70a_1055", _he = "_switchRow_1b70a_1061", Mhe = "_runPage_1b70a_1068", Fhe = "_runBar_1b70a_1074", The = "_library_1b70a_706", Ihe = "_entry_1b70a_1102", Lhe = "_entryHeader_1b70a_1112", Nhe = "_sectionTitle_1b70a_1158", Phe = "_sourceForm_1b70a_1163", $he = "_fieldSelect_1b70a_1174", Rhe = "_pathSelect_1b70a_1178", jhe = "_formats_1b70a_1184", Dhe = "_formatsHead_1b70a_1190", Uhe = "_formatItem_1b70a_1196", Qhe = "_colorRule_1b70a_1205", Hhe = "_unitInput_1b70a_1213", zhe = "_typeName_1b70a_1217", Khe = "_useTags_1b70a_1226", Ghe = "_buttons_1b70a_1240", Vhe = "_listHeader_1b70a_1245", Whe = "_listTitle_1b70a_1253", Yhe = "_full_1b70a_1274", Xhe = "_specView_1b70a_1283", qhe = "_errorList_1b70a_1296", Zhe = "_arrange_1b70a_1301", Jhe = "_gallery_1b70a_1310", epe = "_galleryNotice_1b70a_1316", tpe = "_galleryGrid_1b70a_1320", npe = "_templateCard_1b70a_1327", rpe = "_thumbnail_1b70a_1343", ape = "_thumbnailCell_1b70a_1354", ipe = "_cypherEditor_1b70a_1369", ope = "_cypherSchema_1b70a_1379", spe = "_cypherTree_1b70a_1389", lpe = "_cypherNode_1b70a_1399", cpe = "_cypherNodeName_1b70a_1407", upe = "_cypherNodeDetail_1b70a_1408", Ape = "_cypherMain_1b70a_1419", dpe = "_cypherMeta_1b70a_1433", fpe = "_cypherAsk_1b70a_1439", hpe = "_cypherAskIcon_1b70a_1449", ppe = "_cypherBox_1b70a_1453", gpe = "_cypherBoxBar_1b70a_1462", mpe = "_cypherText_1b70a_1472", vpe = "_cypherParams_1b70a_1480", ype = "_cypherParam_1b70a_1480", bpe = "_cypherCode_1b70a_1498", wpe = "_cypherCodeInput_1b70a_1503", xpe = "_cypherTabs_1b70a_1507", Cpe = "_cypherTabBody_1b70a_1511", Bpe = "_cypherFooter_1b70a_1517", Spe = "_cypherQuery_1b70a_1525", Epe = "_computedList_1b70a_1544", kpe = "_blockGroup_1b70a_1553", Ope = "_addItem_1b70a_1560", _pe = "_computedItem_1b70a_1571", Mpe = "_computedHead_1b70a_1580", Fpe = "_computedPreview_1b70a_1586", Tpe = "_operationItem_1b70a_1592", Ipe = "_computedForm_1b70a_1600", Lpe = "_computedCases_1b70a_1606", Npe = "_computedCase_1b70a_1606", Ppe = "_computedCaseHead_1b70a_1622", $pe = "_computedPreviewBox_1b70a_1629", Rpe = "_previewTag_1b70a_1637", jpe = "_toneSelect_1b70a_1645", Dpe = "_error_1b70a_1296", Upe = "_computedSamples_1b70a_1654", Qpe = "_computedAsk_1b70a_1660", Hpe = "_computedProblems_1b70a_1670", zpe = "_typePicker_1b70a_1677", Kpe = "_typeSearch_1b70a_1681", Gpe = "_sourceList_1b70a_1687", Vpe = "_sourceGroup_1b70a_1693", Wpe = "_derivedList_1b70a_1699", Ype = "_entryToggle_1b70a_1708", Xpe = "_entryFooter_1b70a_1725", qpe = "_queryBox_1b70a_1731", Zpe = "_cypherQueryFolded_1b70a_1743 _cypherQuery_1b70a_1525", Jpe = "_chatList_1b70a_1751", ege = "_chatOpen_1b70a_1774", tge = "_pendingActs_1b70a_1794", nge = "_pendingList_1b70a_1805", rge = "_pendingButtons_1b70a_1811", age = "_placedGroups_1b70a_1816", ige = "_placedRow_1b70a_1822", oge = "_matchedForm_1b70a_1854", sge = "_matchedPairs_1b70a_1860", lge = "_displayBox_1b70a_1868", cge = "_displayPreview_1b70a_1874", uge = "_generatedColumns_1b70a_1884", Age = "_draftCard_1b70a_1894", dge = "_draftHead_1b70a_1905", fge = "_draftPreview_1b70a_1912", hge = "_draftRevise_1b70a_1920", pge = "_draftCode_1b70a_1926", gge = "_checks_1b70a_1939", mge = "_check_1b70a_1939", vge = "_checkText_1b70a_1954", yge = "_checkFix_1b70a_1959", bge = "_checkButtons_1b70a_1964", wge = "_checksPop_1b70a_1970", xge = "_checksHint_1b70a_1976", Cge = "_sourcesBar_1b70a_1983",
|
|
19935
|
+
const zde = "_builder_1b70a_8", Kde = "_topBar_1b70a_19", Gde = "_appIcon_1b70a_33", Vde = "_appName_1b70a_47", Wde = "_spacer_1b70a_58", Yde = "_saveState_1b70a_63", Xde = "_publishTypes_1b70a_77", qde = "_panes_1b70a_87", Zde = "_rail_1b70a_99", Jde = "_railItem_1b70a_109", efe = "_railIcon_1b70a_134", tfe = "_panel_1b70a_140", nfe = "_configPanel_1b70a_163", rfe = "_panelHead_1b70a_168", afe = "_panelTitle_1b70a_175", ife = "_panelSubtitle_1b70a_181", ofe = "_pageList_1b70a_189", sfe = "_pageRow_1b70a_195", lfe = "_pageGrip_1b70a_220", cfe = "_pageName_1b70a_225", ufe = "_pageRemove_1b70a_239", Afe = "_pageBar_1b70a_249", dfe = "_pagePick_1b70a_259", ffe = "_pagePickName_1b70a_276", hfe = "_specModal_1b70a_284", pfe = "_pane_1b70a_87", gfe = "_configSlot_1b70a_297", mfe = "_aiHeader_1b70a_308", vfe = "_aiTitleIcon_1b70a_315", yfe = "_aiTitle_1b70a_315", bfe = "_aiIntro_1b70a_347", wfe = "_aiExamples_1b70a_354", xfe = "_aiRail_1b70a_383", Cfe = "_model_1b70a_391", Bfe = "_modelOption_1b70a_397", Sfe = "_log_1b70a_410", Efe = "_aiPane_1b70a_419", kfe = "_hint_1b70a_424", Ofe = "_muted_1b70a_425", _fe = "_fieldWarning_1b70a_431", Mfe = "_userMessage_1b70a_438", Ffe = "_aiMessage_1b70a_446", Tfe = "_step_1b70a_452", Ife = "_stepDot_1b70a_459", Lfe = "_stepDetail_1b70a_488", Nfe = "_summary_1b70a_494", Pfe = "_composer_1b70a_507", $fe = "_targetBar_1b70a_514", Rfe = "_targetChip_1b70a_521", jfe = "_targetIdeas_1b70a_541", Dfe = "_messageTarget_1b70a_565", Ufe = "_composerShell_1b70a_572", Qfe = "_composerFooter_1b70a_586", Hfe = "_canvasPane_1b70a_594", zfe = "_canvas_1b70a_594", Kfe = "_json_1b70a_609", Gfe = "_notice_1b70a_617", Vfe = "_sideSection_1b70a_632", Wfe = "_field_1b70a_431", Yfe = "_fieldLabel_1b70a_646", Xfe = "_swatches_1b70a_651", qfe = "_swatch_1b70a_651", Zfe = "_swatchColors_1b70a_674", Jfe = "_placed_1b70a_683", ehe = "_placedName_1b70a_699", the = "_libraryGroup_1b70a_706", nhe = "_libraryGroupTitle_1b70a_714", rhe = "_libraryGroupIcon_1b70a_725", ahe = "_libraryGroupCount_1b70a_731", ihe = "_customDrop_1b70a_738", ohe = "_customDropRow_1b70a_748", she = "_customDropIcon_1b70a_756", lhe = "_customDropTitle_1b70a_761", che = "_customDropHint_1b70a_767", uhe = "_customWays_1b70a_773", Ahe = "_customItem_1b70a_782", dhe = "_libraryItem_1b70a_788", fhe = "_libraryBody_1b70a_812", hhe = "_libraryName_1b70a_820", phe = "_libraryText_1b70a_825", ghe = "_libraryAdd_1b70a_833", mhe = "_mono_1b70a_856", vhe = "_dataItem_1b70a_863", yhe = "_tag_1b70a_872", bhe = "_tip_1b70a_876", whe = "_navSketches_1b70a_882", xhe = "_navSketch_1b70a_882", Che = "_sketchName_1b70a_913", Bhe = "_sketchText_1b70a_922", She = "_sketchFrame_1b70a_929", Ehe = "_sketchNav_1b70a_941", khe = "_sketchBody_1b70a_962", Ohe = "_iconOption_1b70a_1055", _he = "_switchRow_1b70a_1061", Mhe = "_runPage_1b70a_1068", Fhe = "_runBar_1b70a_1074", The = "_library_1b70a_706", Ihe = "_entry_1b70a_1102", Lhe = "_entryHeader_1b70a_1112", Nhe = "_sectionTitle_1b70a_1158", Phe = "_sourceForm_1b70a_1163", $he = "_fieldSelect_1b70a_1174", Rhe = "_pathSelect_1b70a_1178", jhe = "_formats_1b70a_1184", Dhe = "_formatsHead_1b70a_1190", Uhe = "_formatItem_1b70a_1196", Qhe = "_colorRule_1b70a_1205", Hhe = "_unitInput_1b70a_1213", zhe = "_typeName_1b70a_1217", Khe = "_useTags_1b70a_1226", Ghe = "_buttons_1b70a_1240", Vhe = "_listHeader_1b70a_1245", Whe = "_listTitle_1b70a_1253", Yhe = "_full_1b70a_1274", Xhe = "_specView_1b70a_1283", qhe = "_errorList_1b70a_1296", Zhe = "_arrange_1b70a_1301", Jhe = "_gallery_1b70a_1310", epe = "_galleryNotice_1b70a_1316", tpe = "_galleryGrid_1b70a_1320", npe = "_templateCard_1b70a_1327", rpe = "_thumbnail_1b70a_1343", ape = "_thumbnailCell_1b70a_1354", ipe = "_cypherEditor_1b70a_1369", ope = "_cypherSchema_1b70a_1379", spe = "_cypherTree_1b70a_1389", lpe = "_cypherNode_1b70a_1399", cpe = "_cypherNodeName_1b70a_1407", upe = "_cypherNodeDetail_1b70a_1408", Ape = "_cypherMain_1b70a_1419", dpe = "_cypherMeta_1b70a_1433", fpe = "_cypherAsk_1b70a_1439", hpe = "_cypherAskIcon_1b70a_1449", ppe = "_cypherBox_1b70a_1453", gpe = "_cypherBoxBar_1b70a_1462", mpe = "_cypherText_1b70a_1472", vpe = "_cypherParams_1b70a_1480", ype = "_cypherParam_1b70a_1480", bpe = "_cypherCode_1b70a_1498", wpe = "_cypherCodeInput_1b70a_1503", xpe = "_cypherTabs_1b70a_1507", Cpe = "_cypherTabBody_1b70a_1511", Bpe = "_cypherFooter_1b70a_1517", Spe = "_cypherQuery_1b70a_1525", Epe = "_computedList_1b70a_1544", kpe = "_blockGroup_1b70a_1553", Ope = "_addItem_1b70a_1560", _pe = "_computedItem_1b70a_1571", Mpe = "_computedHead_1b70a_1580", Fpe = "_computedPreview_1b70a_1586", Tpe = "_operationItem_1b70a_1592", Ipe = "_computedForm_1b70a_1600", Lpe = "_computedCases_1b70a_1606", Npe = "_computedCase_1b70a_1606", Ppe = "_computedCaseHead_1b70a_1622", $pe = "_computedPreviewBox_1b70a_1629", Rpe = "_previewTag_1b70a_1637", jpe = "_toneSelect_1b70a_1645", Dpe = "_error_1b70a_1296", Upe = "_computedSamples_1b70a_1654", Qpe = "_computedAsk_1b70a_1660", Hpe = "_computedProblems_1b70a_1670", zpe = "_typePicker_1b70a_1677", Kpe = "_typeSearch_1b70a_1681", Gpe = "_sourceList_1b70a_1687", Vpe = "_sourceGroup_1b70a_1693", Wpe = "_derivedList_1b70a_1699", Ype = "_entryToggle_1b70a_1708", Xpe = "_entryFooter_1b70a_1725", qpe = "_queryBox_1b70a_1731", Zpe = "_cypherQueryFolded_1b70a_1743 _cypherQuery_1b70a_1525", Jpe = "_chatList_1b70a_1751", ege = "_chatOpen_1b70a_1774", tge = "_pendingActs_1b70a_1794", nge = "_pendingList_1b70a_1805", rge = "_pendingButtons_1b70a_1811", age = "_placedGroups_1b70a_1816", ige = "_placedRow_1b70a_1822", oge = "_matchedForm_1b70a_1854", sge = "_matchedPairs_1b70a_1860", lge = "_displayBox_1b70a_1868", cge = "_displayPreview_1b70a_1874", uge = "_generatedColumns_1b70a_1884", Age = "_draftCard_1b70a_1894", dge = "_draftHead_1b70a_1905", fge = "_draftPreview_1b70a_1912", hge = "_draftRevise_1b70a_1920", pge = "_draftCode_1b70a_1926", gge = "_checks_1b70a_1939", mge = "_check_1b70a_1939", vge = "_checkText_1b70a_1954", yge = "_checkFix_1b70a_1959", bge = "_checkButtons_1b70a_1964", wge = "_checksPop_1b70a_1970", xge = "_checksHint_1b70a_1976", Cge = "_sourcesBar_1b70a_1983", cnt = {
|
|
19936
19936
|
builder: zde,
|
|
19937
19937
|
topBar: Kde,
|
|
19938
19938
|
appIcon: Gde,
|
|
@@ -20287,7 +20287,7 @@ function Ege(e, t = 0) {
|
|
|
20287
20287
|
return n += o, a = Math.max(a, s), { ...i, frame: l };
|
|
20288
20288
|
});
|
|
20289
20289
|
}
|
|
20290
|
-
function
|
|
20290
|
+
function unt(e) {
|
|
20291
20291
|
return e.reduce((t, n) => Math.max(t, n.frame ? n.frame.y + n.frame.h : 0), 0);
|
|
20292
20292
|
}
|
|
20293
20293
|
const kge = {
|
|
@@ -20296,7 +20296,7 @@ const kge = {
|
|
|
20296
20296
|
detail: (e) => ["asOfSlider", "metricCards"].includes(e.type) ? "header" : ["objectList", "subgraph", "pivotTable", "agentChat"].includes(e.type) ? "aside" : "main",
|
|
20297
20297
|
free: () => "cells"
|
|
20298
20298
|
};
|
|
20299
|
-
function
|
|
20299
|
+
function Ant(e, t, n) {
|
|
20300
20300
|
const r = Object.values(e.regions).flat().filter((o) => !!o), a = structuredClone(Kj[t]);
|
|
20301
20301
|
if (t === "free") {
|
|
20302
20302
|
if (n && r.every((s) => n[s.id]))
|
|
@@ -20342,7 +20342,7 @@ const Gj = {
|
|
|
20342
20342
|
"gantt",
|
|
20343
20343
|
"kitting"
|
|
20344
20344
|
]
|
|
20345
|
-
}, Mge = Object.keys(ac).sort(),
|
|
20345
|
+
}, Mge = Object.keys(ac).sort(), dnt = Object.keys(Gj).filter((e) => e in ac);
|
|
20346
20346
|
function nO(e) {
|
|
20347
20347
|
return Object.hasOwn(ac, e);
|
|
20348
20348
|
}
|
|
@@ -20360,7 +20360,7 @@ async function Fge(e = "zh-CN") {
|
|
|
20360
20360
|
function rO(e) {
|
|
20361
20361
|
return e.startsWith("zh");
|
|
20362
20362
|
}
|
|
20363
|
-
function
|
|
20363
|
+
function fnt(e) {
|
|
20364
20364
|
return Gj[e] ?? [];
|
|
20365
20365
|
}
|
|
20366
20366
|
function Fu(e, t) {
|
|
@@ -20643,7 +20643,7 @@ function Vp(e, t) {
|
|
|
20643
20643
|
const n = Xj(t);
|
|
20644
20644
|
return !n || e.type === "date" ? !1 : e.name === n || e.name.endsWith(`_${n}`);
|
|
20645
20645
|
}
|
|
20646
|
-
function
|
|
20646
|
+
function hnt(e) {
|
|
20647
20647
|
return Object.values(e.objectTypes).filter((t) => ws(t).length > 0).sort(
|
|
20648
20648
|
(t, n) => ws(n).length - ws(t).length || n.properties.length - t.properties.length
|
|
20649
20649
|
);
|
|
@@ -20652,7 +20652,7 @@ function zge(e) {
|
|
|
20652
20652
|
const t = ws(e), n = zi(t, cB) ?? t[0], r = zi(t.filter((a) => a !== n), uB) ?? t.find((a) => a !== n);
|
|
20653
20653
|
return { start: n?.name, end: r?.name };
|
|
20654
20654
|
}
|
|
20655
|
-
const
|
|
20655
|
+
const pnt = (e) => zi(Gp(e), Dge)?.name, Kge = /(^|_)name$|名称/i;
|
|
20656
20656
|
function Dh(e) {
|
|
20657
20657
|
if (!e) return;
|
|
20658
20658
|
const t = e.displayKey || Xj(e);
|
|
@@ -20660,15 +20660,15 @@ function Dh(e) {
|
|
|
20660
20660
|
const n = new Set(e.primaryKeys);
|
|
20661
20661
|
return zi(Gp(e).filter((r) => !n.has(r.name)), Kge)?.name ?? t;
|
|
20662
20662
|
}
|
|
20663
|
-
function
|
|
20663
|
+
function gnt(e, t) {
|
|
20664
20664
|
const n = e.relations.find((a) => a.id === t);
|
|
20665
20665
|
return n ? n.name === n.id || /^[\w.~-]+$/.test(n.name) ? e.objectTypes[n.target]?.name ?? n.name : n.name : t;
|
|
20666
20666
|
}
|
|
20667
|
-
function
|
|
20667
|
+
function mnt(e) {
|
|
20668
20668
|
const t = ws(e).filter((n) => Tu(n, oO));
|
|
20669
20669
|
return !!(zi(t, cB) && zi(t, uB) && zi(t, cB) !== zi(t, uB));
|
|
20670
20670
|
}
|
|
20671
|
-
const Gge = /lead|days|duration|工期|提前期|周期/i,
|
|
20671
|
+
const Gge = /lead|days|duration|工期|提前期|周期/i, vnt = (e) => zi(AB(e), Gge)?.name, Vge = /已完成|已关闭|已结束|完工|closed|completed|finished|done/i, Wge = /已取消|取消|作废|cancel|void/i, Zj = /^(un|not[_\s-]?|in(?=compl))|(未|待|非|不|没|无)(完工|完成|关闭|结束|取消|作废)|pending/i, ynt = (e) => e.find((t) => Vge.test(t) && !Zj.test(t.trim())), bnt = (e) => e.find((t) => Wge.test(t) && !Zj.test(t.trim()));
|
|
20672
20672
|
function Yge(e, t, n) {
|
|
20673
20673
|
return n.filter(
|
|
20674
20674
|
(r) => r.id !== t.id && (r.properties.some((a) => Vp(a, t)) || e.relations.some(
|
|
@@ -20676,7 +20676,7 @@ function Yge(e, t, n) {
|
|
|
20676
20676
|
))
|
|
20677
20677
|
).length;
|
|
20678
20678
|
}
|
|
20679
|
-
function
|
|
20679
|
+
function wnt(e, t) {
|
|
20680
20680
|
const n = t.flatMap((a) => e.objectTypes[a] ? [e.objectTypes[a]] : []);
|
|
20681
20681
|
return Object.values(e.objectTypes).filter((a) => !t.includes(a.id) && !!a.displayKey).map((a) => ({
|
|
20682
20682
|
type: a,
|
|
@@ -20708,7 +20708,7 @@ function qge(e, t) {
|
|
|
20708
20708
|
})) : []);
|
|
20709
20709
|
return [...n, ...r];
|
|
20710
20710
|
}
|
|
20711
|
-
function
|
|
20711
|
+
function xnt(e, t) {
|
|
20712
20712
|
const n = qge(e, t).find((r) => {
|
|
20713
20713
|
const a = Ho(e, r.owner)?.properties.find(
|
|
20714
20714
|
(i) => i.name === r.field
|
|
@@ -20717,7 +20717,7 @@ function wnt(e, t) {
|
|
|
20717
20717
|
});
|
|
20718
20718
|
return n ? { ...n.path ? { path: n.path } : {}, field: n.field } : void 0;
|
|
20719
20719
|
}
|
|
20720
|
-
function
|
|
20720
|
+
function Cnt(e, t, n, r) {
|
|
20721
20721
|
const a = ws(Ho(e, t)).filter(
|
|
20722
20722
|
(i) => i.name !== n && i.name !== r
|
|
20723
20723
|
);
|
|
@@ -20726,7 +20726,7 @@ function xnt(e, t, n, r) {
|
|
|
20726
20726
|
function Zge(e, t) {
|
|
20727
20727
|
return e.relations.filter((n) => n.source === t && n.target === t);
|
|
20728
20728
|
}
|
|
20729
|
-
function
|
|
20729
|
+
function Bnt(e, t) {
|
|
20730
20730
|
return Zge(e, t).find(
|
|
20731
20731
|
(n) => vT.test(n.id) || vT.test(n.name)
|
|
20732
20732
|
)?.id;
|
|
@@ -20740,22 +20740,22 @@ function Jge(e, t, n) {
|
|
|
20740
20740
|
);
|
|
20741
20741
|
}
|
|
20742
20742
|
const bT = /停|维修|保养|检修|窗口|休|downtime|stoppage|outage|maintenance|calendar|unavailab|closure/i;
|
|
20743
|
-
function
|
|
20743
|
+
function Snt(e, t, n) {
|
|
20744
20744
|
const r = Jge(e, t, n);
|
|
20745
20745
|
return r.length === 1 && (bT.test(r[0].name) || bT.test(r[0].id)) ? r[0].id : void 0;
|
|
20746
20746
|
}
|
|
20747
|
-
function
|
|
20747
|
+
function Ent(e, t, n) {
|
|
20748
20748
|
const r = Ho(e, t), a = new Set(r?.primaryKeys ?? []);
|
|
20749
20749
|
return { resourceField: Xge(e, t, n) ?? Gp(r).find((o) => !a.has(o.name) && iO.test(o.name))?.name, ...zge(r) };
|
|
20750
20750
|
}
|
|
20751
20751
|
const Jj = (e, t, n) => (e.actionTypes ?? []).filter(
|
|
20752
20752
|
(r) => r.objectType === t && r.kind === n && _8(r) === (n === "add" ? "create" : "modify")
|
|
20753
20753
|
);
|
|
20754
|
-
function
|
|
20754
|
+
function knt(e, t, n, r) {
|
|
20755
20755
|
const a = Jj(e, t, n), i = (o) => r.filter((s) => s && o.inputs.some((l) => l.name === s)).length;
|
|
20756
20756
|
return [...a].sort((o, s) => i(s) - i(o))[0]?.id;
|
|
20757
20757
|
}
|
|
20758
|
-
function
|
|
20758
|
+
function Ont(e, t) {
|
|
20759
20759
|
return Object.values(e.objectTypes).filter(
|
|
20760
20760
|
(n) => n.id !== t && Jj(e, n.id, "add").length > 0 && ws(n).length > 0
|
|
20761
20761
|
).sort((n, r) => wT(e, r.id, t).length - wT(e, n.id, t).length);
|
|
@@ -20769,7 +20769,7 @@ function wT(e, t, n) {
|
|
|
20769
20769
|
return l ? [{ from: s.name, to: l.name }] : [];
|
|
20770
20770
|
}).slice(0, DJ);
|
|
20771
20771
|
}
|
|
20772
|
-
function
|
|
20772
|
+
function _nt(e, t) {
|
|
20773
20773
|
const n = Ho(e, t), r = new Set(n?.primaryKeys ?? []);
|
|
20774
20774
|
return Gp(n).filter((a) => !r.has(a.name));
|
|
20775
20775
|
}
|
|
@@ -20787,7 +20787,7 @@ function eme(e, t) {
|
|
|
20787
20787
|
return o;
|
|
20788
20788
|
})), n;
|
|
20789
20789
|
}
|
|
20790
|
-
function
|
|
20790
|
+
function Mnt(e, t) {
|
|
20791
20791
|
const n = {}, r = e, a = t;
|
|
20792
20792
|
for (const c of Ak)
|
|
20793
20793
|
r[c] !== void 0 && !xT(r[c], a[c]) && (n[c] = structuredClone(r[c]));
|
|
@@ -21504,7 +21504,7 @@ function OT(e, t, n, r) {
|
|
|
21504
21504
|
}
|
|
21505
21505
|
return i;
|
|
21506
21506
|
}
|
|
21507
|
-
function
|
|
21507
|
+
function Fnt(e, t, n, r = eD) {
|
|
21508
21508
|
const a = [], i = e.scheduleModel ? fB(e.scheduleModel, n, r) : void 0, o = fB(t, n, r), s = il(a, {
|
|
21509
21509
|
operations: jf(il(a), Gw),
|
|
21510
21510
|
follows: jf(il(a), Gw),
|
|
@@ -21536,7 +21536,7 @@ function Mnt(e, t, n, r = eD) {
|
|
|
21536
21536
|
overwritten: a
|
|
21537
21537
|
};
|
|
21538
21538
|
}
|
|
21539
|
-
function
|
|
21539
|
+
function Tnt(e, t) {
|
|
21540
21540
|
if (!e.scheduleModel || e.sources.every((i) => i.display)) return e;
|
|
21541
21541
|
let n;
|
|
21542
21542
|
try {
|
|
@@ -21791,7 +21791,7 @@ function xme(e, t) {
|
|
|
21791
21791
|
return { followed: r, related: a };
|
|
21792
21792
|
}
|
|
21793
21793
|
const Cme = 3;
|
|
21794
|
-
function
|
|
21794
|
+
function Int(e, t, n, r) {
|
|
21795
21795
|
const a = new Map(n.map((u) => [String(u.$key), u[e.fromField]])), i = /* @__PURE__ */ new Map();
|
|
21796
21796
|
for (const [u, A] of r) {
|
|
21797
21797
|
const d = a.get(u);
|
|
@@ -22036,7 +22036,7 @@ function Ime(e, t) {
|
|
|
22036
22036
|
async function Lme(e, t) {
|
|
22037
22037
|
const n = (/* @__PURE__ */ new Date()).toISOString(), r = { signature: t.signature, at: n, asOf: t.request.asOf, inputs: t.inputs };
|
|
22038
22038
|
try {
|
|
22039
|
-
const { callTool: a } = await import("./useLabData-
|
|
22039
|
+
const { callTool: a } = await import("./useLabData-fKy_tVvS.js").then((o) => o.ey), i = await a(e.model.tool, t.request);
|
|
22040
22040
|
return { ...r, status: "done", rows: Ime(e, i) };
|
|
22041
22041
|
} catch (a) {
|
|
22042
22042
|
return {
|
|
@@ -22099,7 +22099,7 @@ async function vB(e, t, n, r) {
|
|
|
22099
22099
|
);
|
|
22100
22100
|
}
|
|
22101
22101
|
}
|
|
22102
|
-
function
|
|
22102
|
+
function Lnt(e, t) {
|
|
22103
22103
|
const n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), a = (l, c, u) => {
|
|
22104
22104
|
const A = l.get(c) ?? [];
|
|
22105
22105
|
A.some((d) => d.id === u.id) || A.push(u), l.set(c, A);
|
|
@@ -22190,7 +22190,7 @@ function Dme(e) {
|
|
|
22190
22190
|
}
|
|
22191
22191
|
}), t;
|
|
22192
22192
|
}
|
|
22193
|
-
function
|
|
22193
|
+
function Nnt(e, t) {
|
|
22194
22194
|
const n = /* @__PURE__ */ new Map(), r = (a, i) => {
|
|
22195
22195
|
const o = n.get(a) ?? [];
|
|
22196
22196
|
for (const s of i) o.some((l) => l.id === s.id) || o.push(s);
|
|
@@ -22226,7 +22226,7 @@ function Hme(e) {
|
|
|
22226
22226
|
(t) => t.status === "accepted" || t.status === "done"
|
|
22227
22227
|
);
|
|
22228
22228
|
}
|
|
22229
|
-
const
|
|
22229
|
+
const Pnt = {
|
|
22230
22230
|
dashboard: /* @__PURE__ */ E.jsx(Oue, {}),
|
|
22231
22231
|
table: /* @__PURE__ */ E.jsx(cde, {}),
|
|
22232
22232
|
chart: /* @__PURE__ */ E.jsx(Vce, {}),
|
|
@@ -22271,7 +22271,7 @@ function bB(e, t, n) {
|
|
|
22271
22271
|
}
|
|
22272
22272
|
return a;
|
|
22273
22273
|
}
|
|
22274
|
-
function
|
|
22274
|
+
function $nt(e) {
|
|
22275
22275
|
return {
|
|
22276
22276
|
...e,
|
|
22277
22277
|
pages: e.pages.map(
|
|
@@ -22570,7 +22570,7 @@ function _ve({ type: e, name: t }) {
|
|
|
22570
22570
|
}
|
|
22571
22571
|
) : null;
|
|
22572
22572
|
}
|
|
22573
|
-
function
|
|
22573
|
+
function Rnt({ link: e }) {
|
|
22574
22574
|
const { t } = Qe();
|
|
22575
22575
|
return /* @__PURE__ */ E.jsx(
|
|
22576
22576
|
xB,
|
|
@@ -22760,7 +22760,7 @@ function $ve(e) {
|
|
|
22760
22760
|
const n = [...x.useSyncExternalStore(Pve, () => vD)].filter(([r]) => r.startsWith(`${e}\0`));
|
|
22761
22761
|
return { count: n.length, reason: n[0]?.[1] ?? "" };
|
|
22762
22762
|
}
|
|
22763
|
-
function
|
|
22763
|
+
function jnt(e) {
|
|
22764
22764
|
for (const t of [...Hh.keys()]) t.startsWith(`${e}\0`) && Hh.delete(t);
|
|
22765
22765
|
yD();
|
|
22766
22766
|
}
|
|
@@ -23047,10 +23047,10 @@ function Wve(e) {
|
|
|
23047
23047
|
}
|
|
23048
23048
|
};
|
|
23049
23049
|
}
|
|
23050
|
-
const Yve = x.lazy(() => import("./AskDrawer-
|
|
23051
|
-
() => import("./ActionConfirm-
|
|
23050
|
+
const Yve = x.lazy(() => import("./AskDrawer-Bw1NM5v_.js").then((e) => ({ default: e.AskDrawer }))), Xve = x.lazy(
|
|
23051
|
+
() => import("./ActionConfirm-ITBip2Ic.js").then((e) => ({ default: e.ActionConfirm }))
|
|
23052
23052
|
), qve = x.lazy(
|
|
23053
|
-
() => import("./SimulateForm-
|
|
23053
|
+
() => import("./SimulateForm-CEqqMjks.js").then((e) => ({ default: e.SimulateForm }))
|
|
23054
23054
|
);
|
|
23055
23055
|
function Zve({
|
|
23056
23056
|
spec: e,
|
|
@@ -23682,7 +23682,7 @@ function Ps(e, t = {}) {
|
|
|
23682
23682
|
...y(w)
|
|
23683
23683
|
] };
|
|
23684
23684
|
}
|
|
23685
|
-
function
|
|
23685
|
+
function Dnt(e, { pageTools: t = !0 } = {}) {
|
|
23686
23686
|
const n = [], r = e.hits;
|
|
23687
23687
|
if (r && r.keys.length > 0) {
|
|
23688
23688
|
const i = r.rows ?? [], o = r.keys.length > i.length;
|
|
@@ -75441,7 +75441,7 @@ function yYe(e, t, n) {
|
|
|
75441
75441
|
)?.day
|
|
75442
75442
|
);
|
|
75443
75443
|
}
|
|
75444
|
-
function
|
|
75444
|
+
function Znt(e, t, n) {
|
|
75445
75445
|
const [r, ...a] = _0(e?.barFields, t);
|
|
75446
75446
|
return r ? { title: n(r), meta: a.map(n) } : void 0;
|
|
75447
75447
|
}
|
|
@@ -75888,7 +75888,7 @@ function QYe(e) {
|
|
|
75888
75888
|
}
|
|
75889
75889
|
const SE = "workshop:schedule-focus";
|
|
75890
75890
|
let dh;
|
|
75891
|
-
function
|
|
75891
|
+
function Jnt(e) {
|
|
75892
75892
|
dh = e, globalThis.dispatchEvent(new CustomEvent(SE, { detail: e }));
|
|
75893
75893
|
}
|
|
75894
75894
|
function g5(e) {
|
|
@@ -75957,7 +75957,7 @@ function HYe(e, t, n) {
|
|
|
75957
75957
|
function $X(e) {
|
|
75958
75958
|
return Object.values(e.regions).flatMap((t) => t ?? []).filter((t) => t.type === "scheduleGantt").map((t) => ({ id: t.id, config: t.config }));
|
|
75959
75959
|
}
|
|
75960
|
-
function
|
|
75960
|
+
function ert({
|
|
75961
75961
|
spec: e,
|
|
75962
75962
|
config: t,
|
|
75963
75963
|
asOf: n,
|
|
@@ -76024,12 +76024,12 @@ async function DX(e, t, n) {
|
|
|
76024
76024
|
if (!r) throw new Error(RX);
|
|
76025
76025
|
return pee(r, t, n);
|
|
76026
76026
|
}
|
|
76027
|
-
const YYe = 9e4, XYe = 3e4, qYe = 3, v5 = { min: 1, max: 10 };
|
|
76028
|
-
function
|
|
76027
|
+
const YYe = 9e4, XYe = 3e4, qYe = 3, v5 = { min: 1, max: 10 }, ZYe = () => ek()?.ruleConcurrency?.();
|
|
76028
|
+
function JYe(e = ZYe()) {
|
|
76029
76029
|
const t = typeof e == "string" && e.trim() !== "" ? Number(e) : e;
|
|
76030
76030
|
return typeof t == "number" && Number.isInteger(t) && t >= v5.min && t <= v5.max ? t : qYe;
|
|
76031
76031
|
}
|
|
76032
|
-
const y5 = 1,
|
|
76032
|
+
const y5 = 1, eXe = 1500, tXe = 5e3, p1 = (e) => {
|
|
76033
76033
|
if (!ui(e) && !(e instanceof Error)) return !1;
|
|
76034
76034
|
const { code: t, name: n } = e;
|
|
76035
76035
|
return t === "ERR_CANCELED" || n === "AbortError" || n === "CanceledError";
|
|
@@ -76037,18 +76037,18 @@ const y5 = 1, JYe = 1500, eXe = 5e3, p1 = (e) => {
|
|
|
76037
76037
|
if (!ui(e) && !(e instanceof Error)) return 0;
|
|
76038
76038
|
const { status: t, response: n } = e;
|
|
76039
76039
|
return Number(t) || Number(n?.status) || 0;
|
|
76040
|
-
},
|
|
76040
|
+
}, nXe = /* @__PURE__ */ new Set([502, 503, 504]);
|
|
76041
76041
|
function QX(e) {
|
|
76042
76042
|
if (p1(e)) return !1;
|
|
76043
|
-
if (
|
|
76043
|
+
if (nXe.has(UX(e))) return !0;
|
|
76044
76044
|
if (!ui(e)) return !1;
|
|
76045
76045
|
const t = e.response;
|
|
76046
76046
|
return e.code === "ERR_NETWORK" || e.isAxiosError === !0 && t === void 0 && e.code !== "ECONNABORTED";
|
|
76047
76047
|
}
|
|
76048
|
-
function
|
|
76048
|
+
function rXe(e) {
|
|
76049
76049
|
return p1(e) ? !1 : Tp(e) === "timeout" || QX(e) ? !0 : UX(e) >= 500;
|
|
76050
76050
|
}
|
|
76051
|
-
const
|
|
76051
|
+
const aXe = (e, t) => new Promise((n) => {
|
|
76052
76052
|
if (e <= 0 || t?.aborted) return n();
|
|
76053
76053
|
const r = setTimeout(a, e);
|
|
76054
76054
|
function a() {
|
|
@@ -76063,7 +76063,7 @@ class Op extends Error {
|
|
|
76063
76063
|
cause;
|
|
76064
76064
|
retries;
|
|
76065
76065
|
}
|
|
76066
|
-
async function HX(e, t, n, { signal: r, backoff: a =
|
|
76066
|
+
async function HX(e, t, n, { signal: r, backoff: a = eXe, budget: i = YYe } = {}) {
|
|
76067
76067
|
const o = Date.now() + i;
|
|
76068
76068
|
for (let s = 0; ; s += 1) {
|
|
76069
76069
|
const l = o - Date.now(), c = Math.max(
|
|
@@ -76073,12 +76073,12 @@ async function HX(e, t, n, { signal: r, backoff: a = JYe, budget: i = YYe } = {}
|
|
|
76073
76073
|
try {
|
|
76074
76074
|
return await e(t, n, { timeout: c, ...r ? { signal: r } : {} });
|
|
76075
76075
|
} catch (u) {
|
|
76076
|
-
if (!(s < y5 && !r?.aborted &&
|
|
76077
|
-
if (await
|
|
76076
|
+
if (!(s < y5 && !r?.aborted && rXe(u) && o - Date.now() - a >= Math.min(tXe, i / 4))) throw new Op(u, s);
|
|
76077
|
+
if (await aXe(a, r), r?.aborted) throw new Op(u, s);
|
|
76078
76078
|
}
|
|
76079
76079
|
}
|
|
76080
76080
|
}
|
|
76081
|
-
const
|
|
76081
|
+
const iXe = 200, oXe = 4, sXe = { ok: !0, pass: null, text: "", related: [] }, b5 = (e) => Number.isFinite(e) ? new Date(e).toISOString() : null;
|
|
76082
76082
|
function kE(e, t, n) {
|
|
76083
76083
|
const r = e.resourceField ? Fa(t[e.resourceField]) : "";
|
|
76084
76084
|
return {
|
|
@@ -76089,8 +76089,8 @@ function kE(e, t, n) {
|
|
|
76089
76089
|
values: Object.fromEntries(Object.entries(t).filter(([a]) => !a.startsWith("$")))
|
|
76090
76090
|
};
|
|
76091
76091
|
}
|
|
76092
|
-
const
|
|
76093
|
-
function
|
|
76092
|
+
const lXe = (e) => e.map(({ source: t, key: n, operation: r, params: a }) => ({ source: t, key: n, operation: r, params: a })), _p = (e) => `${e.tool.box}/${e.tool.tool}`, Mp = (e) => e.style === "standard" ? (e.ruleTools ?? []).filter((t) => t?.tool?.box && t.tool.tool) : [];
|
|
76093
|
+
function cXe({
|
|
76094
76094
|
layers: e,
|
|
76095
76095
|
rows: t,
|
|
76096
76096
|
zone: n,
|
|
@@ -76138,12 +76138,12 @@ function GX(e) {
|
|
|
76138
76138
|
return;
|
|
76139
76139
|
}
|
|
76140
76140
|
}
|
|
76141
|
-
function
|
|
76141
|
+
function uXe(e, t) {
|
|
76142
76142
|
if (!t.ok) return;
|
|
76143
76143
|
const n = GX(e);
|
|
76144
76144
|
n && (NA.delete(n.at), NA.set(n.at, { sent: n.sent, verdict: t }), NA.size > KX && NA.delete(NA.keys().next().value));
|
|
76145
76145
|
}
|
|
76146
|
-
function
|
|
76146
|
+
function AXe(e) {
|
|
76147
76147
|
const t = GX(e), n = t ? NA.get(t.at) : void 0;
|
|
76148
76148
|
return n && n.sent === t.sent ? n.verdict : void 0;
|
|
76149
76149
|
}
|
|
@@ -76152,10 +76152,10 @@ function Th(e) {
|
|
|
76152
76152
|
const t = al.get(e);
|
|
76153
76153
|
if (t?.verdict && !VX(t) && !t.superseded)
|
|
76154
76154
|
return { verdict: t.verdict, checking: !1, previous: !1 };
|
|
76155
|
-
const n = t?.verdict?.ok ? t.verdict :
|
|
76155
|
+
const n = t?.verdict?.ok ? t.verdict : AXe(e);
|
|
76156
76156
|
return n ? { verdict: n, checking: !0, previous: !0 } : { verdict: void 0, checking: !0, previous: !1 };
|
|
76157
76157
|
}
|
|
76158
|
-
function
|
|
76158
|
+
function dXe(e) {
|
|
76159
76159
|
let t;
|
|
76160
76160
|
try {
|
|
76161
76161
|
t = WX(e);
|
|
@@ -76179,7 +76179,7 @@ function AXe(e) {
|
|
|
76179
76179
|
(s) => typeof s == "string" || typeof s == "number" ? [String(s)] : []
|
|
76180
76180
|
) : [],
|
|
76181
76181
|
...typeof a.at == "string" && a.at !== "" ? { at: a.at } : {},
|
|
76182
|
-
...Array.isArray(a.counts) && OE(a.counts).length > 0 ? { counts: OE(a.counts).slice(0,
|
|
76182
|
+
...Array.isArray(a.counts) && OE(a.counts).length > 0 ? { counts: OE(a.counts).slice(0, oXe) } : {},
|
|
76183
76183
|
...a.detail === !0 ? { detail: !0 } : {}
|
|
76184
76184
|
});
|
|
76185
76185
|
}
|
|
@@ -76206,7 +76206,7 @@ function WX(e) {
|
|
|
76206
76206
|
throw new Fp("error", typeof t.stderr == "string" ? t.stderr : "");
|
|
76207
76207
|
return "result" in t ? typeof t.result == "string" ? w5(t.result) : t.result : t;
|
|
76208
76208
|
}
|
|
76209
|
-
const
|
|
76209
|
+
const fXe = 50, hXe = ["text", "number", "date", "link"];
|
|
76210
76210
|
class Fp extends Error {
|
|
76211
76211
|
constructor(t, n = "") {
|
|
76212
76212
|
super(t), this.reason = t, this.said = n;
|
|
@@ -76214,7 +76214,7 @@ class Fp extends Error {
|
|
|
76214
76214
|
reason;
|
|
76215
76215
|
said;
|
|
76216
76216
|
}
|
|
76217
|
-
function
|
|
76217
|
+
function pXe(e) {
|
|
76218
76218
|
const t = WX(e);
|
|
76219
76219
|
if (!ui(t) || !Array.isArray(t.columns) || !Array.isArray(t.rows))
|
|
76220
76220
|
throw new Fp("format");
|
|
@@ -76223,7 +76223,7 @@ function hXe(e) {
|
|
|
76223
76223
|
{
|
|
76224
76224
|
key: s.key,
|
|
76225
76225
|
label: n(s.label) || s.key,
|
|
76226
|
-
type:
|
|
76226
|
+
type: hXe.includes(s.type) ? s.type : "text"
|
|
76227
76227
|
}
|
|
76228
76228
|
] : []
|
|
76229
76229
|
), a = t.rows.flatMap((s, l) => {
|
|
@@ -76261,7 +76261,7 @@ function hXe(e) {
|
|
|
76261
76261
|
total: Number.isFinite(o) && o >= 0 ? o : a.length
|
|
76262
76262
|
};
|
|
76263
76263
|
}
|
|
76264
|
-
async function
|
|
76264
|
+
async function gXe(e, t, n, r, a, i = DX) {
|
|
76265
76265
|
let o;
|
|
76266
76266
|
try {
|
|
76267
76267
|
o = await HX(i, jX(e), {
|
|
@@ -76277,7 +76277,7 @@ async function pXe(e, t, n, r, a, i = DX) {
|
|
|
76277
76277
|
s instanceof Error && Tp(s) === "failed" ? s.message : ""
|
|
76278
76278
|
);
|
|
76279
76279
|
}
|
|
76280
|
-
return
|
|
76280
|
+
return pXe(o);
|
|
76281
76281
|
}
|
|
76282
76282
|
function w5(e) {
|
|
76283
76283
|
try {
|
|
@@ -76294,7 +76294,7 @@ const Tp = (e) => {
|
|
|
76294
76294
|
function Ih(e, t) {
|
|
76295
76295
|
al.delete(e), al.set(e, t), al.size > KX && al.delete(al.keys().next().value);
|
|
76296
76296
|
}
|
|
76297
|
-
const
|
|
76297
|
+
const mXe = (e, t) => Object.entries(e.named ?? {}).some(
|
|
76298
76298
|
([n, r]) => t.has(n) && t.get(n) !== r
|
|
76299
76299
|
);
|
|
76300
76300
|
async function YX(e, t, n = DX, r = !1, a = {}) {
|
|
@@ -76310,8 +76310,8 @@ async function YX(e, t, n = DX, r = !1, a = {}) {
|
|
|
76310
76310
|
l.push(g), u.push({ key: h, task: d, signal: p?.signal });
|
|
76311
76311
|
const m = XX.get(g);
|
|
76312
76312
|
m && qX(m, s);
|
|
76313
|
-
} else (!p?.verdict || !p.verdict.ok || p.superseded ||
|
|
76314
|
-
}), c.length > 0 && l.push(...
|
|
76313
|
+
} else (!p?.verdict || !p.verdict.ok || p.superseded || mXe(p, o)) && c.push({ key: h, task: d, layerTasks: o });
|
|
76314
|
+
}), c.length > 0 && l.push(...wXe(i, t, n, c, a)), await vXe(Promise.all(l), s);
|
|
76315
76315
|
const A = u.filter((d) => d.signal?.aborted);
|
|
76316
76316
|
A.length > 0 && !s?.aborted && await YX(
|
|
76317
76317
|
{
|
|
@@ -76326,7 +76326,7 @@ async function YX(e, t, n = DX, r = !1, a = {}) {
|
|
|
76326
76326
|
a
|
|
76327
76327
|
);
|
|
76328
76328
|
}
|
|
76329
|
-
function
|
|
76329
|
+
function vXe(e, t) {
|
|
76330
76330
|
return t ? new Promise((n) => {
|
|
76331
76331
|
const r = () => {
|
|
76332
76332
|
t.removeEventListener("abort", r), n();
|
|
@@ -76338,14 +76338,14 @@ function mXe(e, t) {
|
|
|
76338
76338
|
const Eu = [], XX = /* @__PURE__ */ new WeakMap();
|
|
76339
76339
|
let P2 = 0;
|
|
76340
76340
|
const $2 = /* @__PURE__ */ new WeakMap();
|
|
76341
|
-
let
|
|
76342
|
-
const
|
|
76343
|
-
function
|
|
76344
|
-
const i = JSON.stringify([e.tool.box, e.tool.tool,
|
|
76341
|
+
let yXe = 0;
|
|
76342
|
+
const bXe = (e) => ($2.has(e) || $2.set(e, yXe += 1), $2.get(e));
|
|
76343
|
+
function wXe(e, t, n, r, a) {
|
|
76344
|
+
const i = JSON.stringify([e.tool.box, e.tool.tool, bXe(n), t]), o = /* @__PURE__ */ new Set();
|
|
76345
76345
|
for (const s of r) {
|
|
76346
76346
|
const l = JSON.stringify(s.task);
|
|
76347
76347
|
let c = Eu.find(
|
|
76348
|
-
(d) => !d.started && d.group === i && (d.tasks.get(s.task.key)?.sent === l || !d.tasks.has(s.task.key) && d.tasks.size <
|
|
76348
|
+
(d) => !d.started && d.group === i && (d.tasks.get(s.task.key)?.sent === l || !d.tasks.has(s.task.key) && d.tasks.size < iXe)
|
|
76349
76349
|
);
|
|
76350
76350
|
if (!c) {
|
|
76351
76351
|
let d = () => {
|
|
@@ -76379,22 +76379,22 @@ function bXe(e, t, n, r, a) {
|
|
|
76379
76379
|
return queueMicrotask(ZX), [...o].map((s) => s.running);
|
|
76380
76380
|
}
|
|
76381
76381
|
function qX(e, t) {
|
|
76382
|
-
e.waiting.has(t) || (e.waiting.add(t), t?.addEventListener("abort", () =>
|
|
76382
|
+
e.waiting.has(t) || (e.waiting.add(t), t?.addEventListener("abort", () => xXe(e, t), { once: !0 }));
|
|
76383
76383
|
}
|
|
76384
|
-
function
|
|
76384
|
+
function xXe(e, t) {
|
|
76385
76385
|
e.waiting.delete(t), ![...e.waiting].some((n) => n === void 0 || !n.aborted) && (e.controller.abort(), !e.started && (Eu.splice(Eu.indexOf(e), 1), _E(e, "stopped")));
|
|
76386
76386
|
}
|
|
76387
76387
|
function ZX() {
|
|
76388
|
-
const e =
|
|
76388
|
+
const e = JYe();
|
|
76389
76389
|
for (; P2 < e; ) {
|
|
76390
76390
|
const t = Eu.find((n) => !n.started);
|
|
76391
76391
|
if (!t) return;
|
|
76392
|
-
t.started = !0, P2 += 1,
|
|
76392
|
+
t.started = !0, P2 += 1, CXe(t).finally(() => {
|
|
76393
76393
|
P2 -= 1, Eu.splice(Eu.indexOf(t), 1), ZX();
|
|
76394
76394
|
});
|
|
76395
76395
|
}
|
|
76396
76396
|
}
|
|
76397
|
-
async function
|
|
76397
|
+
async function CXe(e) {
|
|
76398
76398
|
const t = [...e.tasks.values()];
|
|
76399
76399
|
try {
|
|
76400
76400
|
const n = await HX(
|
|
@@ -76403,7 +76403,7 @@ async function xXe(e) {
|
|
|
76403
76403
|
{ tasks: t.map((r) => r.task), scenario: { edits: e.edits } },
|
|
76404
76404
|
{ ...e.options, signal: e.controller.signal }
|
|
76405
76405
|
);
|
|
76406
|
-
_E(e,
|
|
76406
|
+
_E(e, dXe(n));
|
|
76407
76407
|
} catch (n) {
|
|
76408
76408
|
const r = e.controller.signal.aborted || p1(n) || n instanceof Op && p1(n.cause);
|
|
76409
76409
|
_E(
|
|
@@ -76429,16 +76429,16 @@ function _E(e, t) {
|
|
|
76429
76429
|
Ih(r, { verdict: t });
|
|
76430
76430
|
continue;
|
|
76431
76431
|
}
|
|
76432
|
-
const o = t.get(n.task.key) ??
|
|
76432
|
+
const o = t.get(n.task.key) ?? sXe, s = o.ok ? Object.fromEntries(
|
|
76433
76433
|
o.related.flatMap(
|
|
76434
76434
|
(l) => a.layerTasks.has(l) ? [[l, a.layerTasks.get(l)]] : []
|
|
76435
76435
|
)
|
|
76436
76436
|
) : void 0;
|
|
76437
|
-
Ih(r, { verdict: o, named: s }),
|
|
76437
|
+
Ih(r, { verdict: o, named: s }), uXe(r, o);
|
|
76438
76438
|
}
|
|
76439
76439
|
e.settle();
|
|
76440
76440
|
}
|
|
76441
|
-
function
|
|
76441
|
+
function BXe(e, t, n = Th) {
|
|
76442
76442
|
return e.flatMap(({ layer: r, tool: a, rows: i, tasks: o, keys: s }) => {
|
|
76443
76443
|
const l = new Map(i.map((A) => [A.$key, A])), c = t[r]?.resourceField, u = _p(a);
|
|
76444
76444
|
return o.flatMap((A, d) => {
|
|
@@ -76485,14 +76485,14 @@ function Ip(e) {
|
|
|
76485
76485
|
function ui(e) {
|
|
76486
76486
|
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
76487
76487
|
}
|
|
76488
|
-
const
|
|
76489
|
-
function
|
|
76488
|
+
const SXe = (e, t) => t && /^-?\d+(\.\d+)?$/.test(e) ? e : X8(e);
|
|
76489
|
+
function EXe({ target: e, onClose: t }) {
|
|
76490
76490
|
const { t: n } = Qe(), { kn: r, run: a, spec: i } = gt(), o = r.objectTypes[e.objectType], [s, l] = x.useState({ status: "loading" }), [c, u] = x.useState(e);
|
|
76491
76491
|
c !== e && (u(e), l({ status: "loading" })), x.useEffect(() => {
|
|
76492
76492
|
if (!o) return;
|
|
76493
76493
|
const d = new AbortController(), f = o.primaryKeys[0] ?? o.displayKey, h = o.properties.find((g) => g.name === f)?.type === "number", p = o.properties.map((g, m) => `n.\`${g.name}\` AS c${m}`);
|
|
76494
76494
|
return a(
|
|
76495
|
-
`MATCH (n:\`${o.id}\`) WHERE n.\`${f}\` = ${
|
|
76495
|
+
`MATCH (n:\`${o.id}\`) WHERE n.\`${f}\` = ${SXe(e.key, h)} RETURN ${p.join(", ")} LIMIT 1`,
|
|
76496
76496
|
d.signal
|
|
76497
76497
|
).then((g) => {
|
|
76498
76498
|
d.signal.aborted || l({ status: "ready", row: g[0] });
|
|
@@ -76541,37 +76541,37 @@ function SXe({ target: e, onClose: t }) {
|
|
|
76541
76541
|
}
|
|
76542
76542
|
);
|
|
76543
76543
|
}
|
|
76544
|
-
const
|
|
76545
|
-
panel:
|
|
76546
|
-
head:
|
|
76547
|
-
grow:
|
|
76548
|
-
sectionTitle:
|
|
76549
|
-
builtIn:
|
|
76550
|
-
reasons:
|
|
76551
|
-
tabLabel:
|
|
76552
|
-
tool:
|
|
76553
|
-
detailTitle:
|
|
76554
|
-
conclusion:
|
|
76555
|
-
muted:
|
|
76556
|
-
error:
|
|
76557
|
-
said:
|
|
76558
|
-
counts:
|
|
76559
|
-
count:
|
|
76560
|
-
controls:
|
|
76561
|
-
chip:
|
|
76562
|
-
keyOnly:
|
|
76563
|
-
search:
|
|
76564
|
-
table:
|
|
76565
|
-
keyTag:
|
|
76566
|
-
link:
|
|
76544
|
+
const kXe = "_panel_1c1f9_6", OXe = "_head_1c1f9_15", _Xe = "_grow_1c1f9_22", MXe = "_sectionTitle_1c1f9_26", FXe = "_builtIn_1c1f9_32", TXe = "_reasons_1c1f9_36", IXe = "_tabLabel_1c1f9_54", LXe = "_tool_1c1f9_60", NXe = "_detailTitle_1c1f9_66", PXe = "_conclusion_1c1f9_71", $Xe = "_muted_1c1f9_85", RXe = "_error_1c1f9_90", jXe = "_said_1c1f9_95", DXe = "_counts_1c1f9_102", UXe = "_count_1c1f9_102", QXe = "_controls_1c1f9_128", HXe = "_chip_1c1f9_135", zXe = "_keyOnly_1c1f9_155", KXe = "_search_1c1f9_163", GXe = "_table_1c1f9_168", VXe = "_keyTag_1c1f9_172", WXe = "_link_1c1f9_176", kn = {
|
|
76545
|
+
panel: kXe,
|
|
76546
|
+
head: OXe,
|
|
76547
|
+
grow: _Xe,
|
|
76548
|
+
sectionTitle: MXe,
|
|
76549
|
+
builtIn: FXe,
|
|
76550
|
+
reasons: TXe,
|
|
76551
|
+
tabLabel: IXe,
|
|
76552
|
+
tool: LXe,
|
|
76553
|
+
detailTitle: NXe,
|
|
76554
|
+
conclusion: PXe,
|
|
76555
|
+
muted: $Xe,
|
|
76556
|
+
error: RXe,
|
|
76557
|
+
said: jXe,
|
|
76558
|
+
counts: DXe,
|
|
76559
|
+
count: UXe,
|
|
76560
|
+
controls: QXe,
|
|
76561
|
+
chip: HXe,
|
|
76562
|
+
keyOnly: zXe,
|
|
76563
|
+
search: KXe,
|
|
76564
|
+
table: GXe,
|
|
76565
|
+
keyTag: VXe,
|
|
76566
|
+
link: WXe
|
|
76567
76567
|
}, x5 = /^\d{4}-\d{2}-\d{2}$/;
|
|
76568
|
-
function
|
|
76568
|
+
function YXe(e) {
|
|
76569
76569
|
const t = (r) => e.find(
|
|
76570
76570
|
({ verdict: a }) => a?.ok === !0 && a.pass === !1 && a.severity === "soft" === r
|
|
76571
76571
|
), n = t(!1) ?? t(!0) ?? e[0];
|
|
76572
76572
|
return n && _p(n.tool);
|
|
76573
76573
|
}
|
|
76574
|
-
function
|
|
76574
|
+
function XXe(e) {
|
|
76575
76575
|
const t = new Intl.DateTimeFormat(e, {
|
|
76576
76576
|
year: "numeric",
|
|
76577
76577
|
month: "2-digit",
|
|
@@ -76599,7 +76599,7 @@ function YXe(e) {
|
|
|
76599
76599
|
}
|
|
76600
76600
|
};
|
|
76601
76601
|
}
|
|
76602
|
-
function
|
|
76602
|
+
function qXe({
|
|
76603
76603
|
title: e,
|
|
76604
76604
|
reasons: t,
|
|
76605
76605
|
tools: n,
|
|
@@ -76609,14 +76609,14 @@ function XXe({
|
|
|
76609
76609
|
onClose: o,
|
|
76610
76610
|
onRecheck: s
|
|
76611
76611
|
}) {
|
|
76612
|
-
const { t: l } = Qe(), [c, u] = x.useState(), [A, d] = x.useState(), f = x.useMemo(() =>
|
|
76612
|
+
const { t: l } = Qe(), [c, u] = x.useState(), [A, d] = x.useState(), f = x.useMemo(() => XXe(a), [a]), h = n.map((p) => ({
|
|
76613
76613
|
key: _p(p.tool),
|
|
76614
76614
|
label: /* @__PURE__ */ E.jsxs("span", { className: kn.tabLabel, children: [
|
|
76615
76615
|
p.tool.name || l("workshopLab.scheduleRules.tools.rule"),
|
|
76616
|
-
/* @__PURE__ */ E.jsx(
|
|
76616
|
+
/* @__PURE__ */ E.jsx(ZXe, { verdict: p.verdict, previous: p.previous })
|
|
76617
76617
|
] }),
|
|
76618
76618
|
children: /* @__PURE__ */ E.jsx(
|
|
76619
|
-
|
|
76619
|
+
eqe,
|
|
76620
76620
|
{
|
|
76621
76621
|
entry: p,
|
|
76622
76622
|
edits: r,
|
|
@@ -76647,20 +76647,20 @@ function XXe({
|
|
|
76647
76647
|
{
|
|
76648
76648
|
size: "small",
|
|
76649
76649
|
items: h,
|
|
76650
|
-
activeKey: A && h.some((p) => p.key === A) ? A :
|
|
76650
|
+
activeKey: A && h.some((p) => p.key === A) ? A : YXe(n),
|
|
76651
76651
|
onChange: d
|
|
76652
76652
|
}
|
|
76653
76653
|
),
|
|
76654
|
-
c && /* @__PURE__ */ E.jsx(
|
|
76654
|
+
c && /* @__PURE__ */ E.jsx(EXe, { target: c, onClose: () => u(void 0) })
|
|
76655
76655
|
] });
|
|
76656
76656
|
}
|
|
76657
|
-
function
|
|
76657
|
+
function ZXe({ verdict: e, previous: t }) {
|
|
76658
76658
|
const { t: n } = Qe();
|
|
76659
76659
|
return e && t ? /* @__PURE__ */ E.jsx(li, { "data-previous": !0, children: n("workshopLab.checkDetail.verdict.previous", {
|
|
76660
|
-
verdict:
|
|
76660
|
+
verdict: JXe(n, e)
|
|
76661
76661
|
}) }) : e ? e.ok ? e.pass === null ? /* @__PURE__ */ E.jsx(li, { children: n("workshopLab.checkDetail.verdict.notApplicable") }) : e.pass ? /* @__PURE__ */ E.jsx(li, { color: "success", children: n("workshopLab.checkDetail.verdict.pass") }) : e.severity === "soft" ? /* @__PURE__ */ E.jsx(li, { color: "warning", children: n("workshopLab.checkDetail.verdict.soft") }) : /* @__PURE__ */ E.jsx(li, { color: "error", children: n("workshopLab.checkDetail.verdict.fail") }) : /* @__PURE__ */ E.jsx(li, { color: "error", children: n("workshopLab.checkDetail.verdict.unchecked") }) : /* @__PURE__ */ E.jsx(li, { children: n("workshopLab.checkDetail.verdict.checking") });
|
|
76662
76662
|
}
|
|
76663
|
-
function
|
|
76663
|
+
function JXe(e, t) {
|
|
76664
76664
|
return t.ok ? t.pass === null ? e("workshopLab.checkDetail.verdict.notApplicable") : t.pass ? e("workshopLab.checkDetail.verdict.pass") : e(
|
|
76665
76665
|
t.severity === "soft" ? "workshopLab.checkDetail.verdict.soft" : "workshopLab.checkDetail.verdict.fail"
|
|
76666
76666
|
) : e("workshopLab.checkDetail.verdict.unchecked");
|
|
@@ -76674,8 +76674,8 @@ function C5({
|
|
|
76674
76674
|
/* @__PURE__ */ E.jsx("b", { children: typeof n.value == "number" ? t.number(n.value) : n.value })
|
|
76675
76675
|
] }, n.label)) });
|
|
76676
76676
|
}
|
|
76677
|
-
const B5 = { keyOnly: !0, offset: 0, limit:
|
|
76678
|
-
function
|
|
76677
|
+
const B5 = { keyOnly: !0, offset: 0, limit: fXe };
|
|
76678
|
+
function eqe({
|
|
76679
76679
|
entry: e,
|
|
76680
76680
|
edits: t,
|
|
76681
76681
|
locale: n,
|
|
@@ -76692,7 +76692,7 @@ function JXe({
|
|
|
76692
76692
|
return m((O) => ({
|
|
76693
76693
|
status: "loading",
|
|
76694
76694
|
last: O.status === "ready" ? O.detail : O.status === "loading" ? O.last : void 0
|
|
76695
|
-
})),
|
|
76695
|
+
})), gXe(s, l, { edits: t }, d, n).then(
|
|
76696
76696
|
(O) => k && m({ status: "ready", detail: O }),
|
|
76697
76697
|
(O) => k && m({
|
|
76698
76698
|
status: "error",
|
|
@@ -76813,7 +76813,7 @@ function JXe({
|
|
|
76813
76813
|
}
|
|
76814
76814
|
),
|
|
76815
76815
|
/* @__PURE__ */ E.jsx(
|
|
76816
|
-
|
|
76816
|
+
nqe,
|
|
76817
76817
|
{
|
|
76818
76818
|
detail: B,
|
|
76819
76819
|
query: d,
|
|
@@ -76828,7 +76828,7 @@ function JXe({
|
|
|
76828
76828
|
/* @__PURE__ */ E.jsx(Ii, { size: "small" })
|
|
76829
76829
|
] }) });
|
|
76830
76830
|
}
|
|
76831
|
-
function
|
|
76831
|
+
function tqe(e, t, n, r) {
|
|
76832
76832
|
const a = t.cells[e.key], i = Ip(a);
|
|
76833
76833
|
if (e.type === "date") return n.date(a);
|
|
76834
76834
|
if (e.type === "number") return n.number(a);
|
|
@@ -76838,7 +76838,7 @@ function eqe(e, t, n, r) {
|
|
|
76838
76838
|
}
|
|
76839
76839
|
return i;
|
|
76840
76840
|
}
|
|
76841
|
-
function
|
|
76841
|
+
function nqe({
|
|
76842
76842
|
detail: e,
|
|
76843
76843
|
query: t,
|
|
76844
76844
|
loading: n,
|
|
@@ -76853,7 +76853,7 @@ function tqe({
|
|
|
76853
76853
|
align: u.type === "number" ? "right" : void 0,
|
|
76854
76854
|
render: (d, f) => /* @__PURE__ */ E.jsxs("span", { "data-column-type": u.type, children: [
|
|
76855
76855
|
A === 0 && f.key && /* @__PURE__ */ E.jsx(li, { color: "error", className: kn.keyTag, children: o("workshopLab.checkDetail.key") }),
|
|
76856
|
-
|
|
76856
|
+
tqe(u, f, r, i)
|
|
76857
76857
|
] })
|
|
76858
76858
|
})),
|
|
76859
76859
|
...l ? [
|
|
@@ -76887,71 +76887,71 @@ function tqe({
|
|
|
76887
76887
|
}
|
|
76888
76888
|
);
|
|
76889
76889
|
}
|
|
76890
|
-
const
|
|
76891
|
-
toolbar:
|
|
76892
|
-
search:
|
|
76893
|
-
grow:
|
|
76894
|
-
summary:
|
|
76895
|
-
status:
|
|
76896
|
-
partial:
|
|
76897
|
-
legend:
|
|
76898
|
-
swatch:
|
|
76899
|
-
scroll:
|
|
76900
|
-
grid:
|
|
76901
|
-
line:
|
|
76902
|
-
label:
|
|
76903
|
-
track:
|
|
76904
|
-
pickable:
|
|
76905
|
-
labelText:
|
|
76906
|
-
listHint:
|
|
76907
|
-
labelTitle:
|
|
76908
|
-
capacity:
|
|
76909
|
-
group:
|
|
76910
|
-
fold:
|
|
76911
|
-
head:
|
|
76912
|
-
tick:
|
|
76913
|
-
gridLine:
|
|
76914
|
-
bar:
|
|
76915
|
-
event:
|
|
76916
|
-
arrows:
|
|
76917
|
-
arrow:
|
|
76918
|
-
arrowHead:
|
|
76919
|
-
target:
|
|
76920
|
-
overrun:
|
|
76921
|
-
lateMark:
|
|
76922
|
-
barText:
|
|
76923
|
-
barMeta:
|
|
76924
|
-
srOnly:
|
|
76925
|
-
markTag:
|
|
76926
|
-
ruleMark:
|
|
76927
|
-
rule:
|
|
76928
|
-
original:
|
|
76929
|
-
background:
|
|
76930
|
-
rollup:
|
|
76931
|
-
load:
|
|
76932
|
-
vline:
|
|
76933
|
-
baseLine:
|
|
76934
|
-
baseLabel:
|
|
76935
|
-
popover:
|
|
76936
|
-
was:
|
|
76937
|
-
note:
|
|
76938
|
-
why:
|
|
76939
|
-
foot:
|
|
76940
|
-
pending:
|
|
76941
|
-
affected:
|
|
76942
|
-
chip:
|
|
76943
|
-
hint:
|
|
76944
|
-
resize:
|
|
76945
|
-
ghost:
|
|
76946
|
-
ruleCounts:
|
|
76947
|
-
affectedBody:
|
|
76948
|
-
affectedRules:
|
|
76949
|
-
setUp:
|
|
76950
|
-
setUpTitle:
|
|
76951
|
-
setUpText:
|
|
76952
|
-
setUpActions:
|
|
76890
|
+
const rqe = "_toolbar_1swxy_6", aqe = "_search_1swxy_14", iqe = "_grow_1swxy_18", oqe = "_summary_1swxy_23", sqe = "_status_1swxy_31", lqe = "_partial_1swxy_64", cqe = "_legend_1swxy_70", uqe = "_swatch_1swxy_86", Aqe = "_scroll_1swxy_142", dqe = "_grid_1swxy_151", fqe = "_line_1swxy_156", hqe = "_label_1swxy_161", pqe = "_track_1swxy_162", gqe = "_pickable_1swxy_182", mqe = "_labelText_1swxy_198", vqe = "_listHint_1swxy_239", yqe = "_labelTitle_1swxy_253", bqe = "_capacity_1swxy_260", wqe = "_group_1swxy_270", xqe = "_fold_1swxy_274", Cqe = "_head_1swxy_295", Bqe = "_tick_1swxy_308", Sqe = "_gridLine_1swxy_325", Eqe = "_bar_1swxy_344", kqe = "_event_1swxy_427", Oqe = "_arrows_1swxy_484", _qe = "_arrow_1swxy_484", Mqe = "_arrowHead_1swxy_504", Fqe = "_target_1swxy_509", Tqe = "_overrun_1swxy_537", Iqe = "_lateMark_1swxy_550", Lqe = "_barText_1swxy_562", Nqe = "_barMeta_1swxy_569", Pqe = "_srOnly_1swxy_579", $qe = "_markTag_1swxy_591", Rqe = "_ruleMark_1swxy_610", jqe = "_rule_1swxy_610", Dqe = "_original_1swxy_662", Uqe = "_background_1swxy_670", Qqe = "_rollup_1swxy_703", Hqe = "_load_1swxy_724", zqe = "_vline_1swxy_765", Kqe = "_baseLine_1swxy_775", Gqe = "_baseLabel_1swxy_786", Vqe = "_popover_1swxy_798", Wqe = "_was_1swxy_837", Yqe = "_note_1swxy_843", Xqe = "_why_1swxy_848", qqe = "_foot_1swxy_853", Zqe = "_pending_1swxy_872", Jqe = "_affected_1swxy_873", eZe = "_chip_1swxy_888", tZe = "_hint_1swxy_943", nZe = "_resize_1swxy_957", rZe = "_ghost_1swxy_965", aZe = "_ruleCounts_1swxy_982", iZe = "_affectedBody_1swxy_1002", oZe = "_affectedRules_1swxy_1009", sZe = "_setUp_1swxy_1015", lZe = "_setUpTitle_1swxy_1027", cZe = "_setUpText_1swxy_1031", uZe = "_setUpActions_1swxy_1037", He = {
|
|
76891
|
+
toolbar: rqe,
|
|
76892
|
+
search: aqe,
|
|
76893
|
+
grow: iqe,
|
|
76894
|
+
summary: oqe,
|
|
76895
|
+
status: sqe,
|
|
76896
|
+
partial: lqe,
|
|
76897
|
+
legend: cqe,
|
|
76898
|
+
swatch: uqe,
|
|
76899
|
+
scroll: Aqe,
|
|
76900
|
+
grid: dqe,
|
|
76901
|
+
line: fqe,
|
|
76902
|
+
label: hqe,
|
|
76903
|
+
track: pqe,
|
|
76904
|
+
pickable: gqe,
|
|
76905
|
+
labelText: mqe,
|
|
76906
|
+
listHint: vqe,
|
|
76907
|
+
labelTitle: yqe,
|
|
76908
|
+
capacity: bqe,
|
|
76909
|
+
group: wqe,
|
|
76910
|
+
fold: xqe,
|
|
76911
|
+
head: Cqe,
|
|
76912
|
+
tick: Bqe,
|
|
76913
|
+
gridLine: Sqe,
|
|
76914
|
+
bar: Eqe,
|
|
76915
|
+
event: kqe,
|
|
76916
|
+
arrows: Oqe,
|
|
76917
|
+
arrow: _qe,
|
|
76918
|
+
arrowHead: Mqe,
|
|
76919
|
+
target: Fqe,
|
|
76920
|
+
overrun: Tqe,
|
|
76921
|
+
lateMark: Iqe,
|
|
76922
|
+
barText: Lqe,
|
|
76923
|
+
barMeta: Nqe,
|
|
76924
|
+
srOnly: Pqe,
|
|
76925
|
+
markTag: $qe,
|
|
76926
|
+
ruleMark: Rqe,
|
|
76927
|
+
rule: jqe,
|
|
76928
|
+
original: Dqe,
|
|
76929
|
+
background: Uqe,
|
|
76930
|
+
rollup: Qqe,
|
|
76931
|
+
load: Hqe,
|
|
76932
|
+
vline: zqe,
|
|
76933
|
+
baseLine: Kqe,
|
|
76934
|
+
baseLabel: Gqe,
|
|
76935
|
+
popover: Vqe,
|
|
76936
|
+
was: Wqe,
|
|
76937
|
+
note: Yqe,
|
|
76938
|
+
why: Xqe,
|
|
76939
|
+
foot: qqe,
|
|
76940
|
+
pending: Zqe,
|
|
76941
|
+
affected: Jqe,
|
|
76942
|
+
chip: eZe,
|
|
76943
|
+
hint: tZe,
|
|
76944
|
+
resize: nZe,
|
|
76945
|
+
ghost: rZe,
|
|
76946
|
+
ruleCounts: aZe,
|
|
76947
|
+
affectedBody: iZe,
|
|
76948
|
+
affectedRules: oZe,
|
|
76949
|
+
setUp: sZe,
|
|
76950
|
+
setUpTitle: lZe,
|
|
76951
|
+
setUpText: cZe,
|
|
76952
|
+
setUpActions: uZe
|
|
76953
76953
|
}, nu = "workshopLab.scheduleGantt.setUp";
|
|
76954
|
-
function
|
|
76954
|
+
function AZe() {
|
|
76955
76955
|
const { t: e } = Qe(), t = Bl(), n = x.useContext(J1), r = n ? t?.scheduleGantt?.(n.id) : void 0, a = r?.kind === "manual" ? r.setUp : void 0, i = (o) => (s) => {
|
|
76956
76956
|
s.stopPropagation(), o();
|
|
76957
76957
|
};
|
|
@@ -77082,7 +77082,7 @@ function R2(e, t) {
|
|
|
77082
77082
|
}
|
|
77083
77083
|
return a.length > 0 ? `${n}${a.join(" ")}` : e("workshopLab.scenario.duration.none");
|
|
77084
77084
|
}
|
|
77085
|
-
function
|
|
77085
|
+
function dZe(e, t, n) {
|
|
77086
77086
|
return n.map((r) => {
|
|
77087
77087
|
const a = e.spec.sources.find((c) => c.id === r.from), i = FE(e, a), o = e.overlay?.rows[r.from] ?? [], s = r.keys.slice(0, S5).map((c) => {
|
|
77088
77088
|
const u = o.find((h) => h.$key === c), A = u?.[Ns] ?? {}, d = Object.entries(A).map(
|
|
@@ -77103,10 +77103,10 @@ function TM(e, t, n) {
|
|
|
77103
77103
|
(r) => g1(t[r]) || g1(n[r]) || m1(t[r]) === m1(n[r])
|
|
77104
77104
|
);
|
|
77105
77105
|
}
|
|
77106
|
-
function
|
|
77106
|
+
function fZe(e, t) {
|
|
77107
77107
|
return t === "number" && /^-?\d+(\.\d+)?$/.test(String(e)) ? String(e) : X8(m1(e));
|
|
77108
77108
|
}
|
|
77109
|
-
async function
|
|
77109
|
+
async function trt(e, t, n, r) {
|
|
77110
77110
|
const a = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
|
|
77111
77111
|
n.forEach((o, s) => {
|
|
77112
77112
|
const l = o.unique.find((A) => !g1(o.values[A]));
|
|
@@ -77132,7 +77132,7 @@ async function ert(e, t, n, r) {
|
|
|
77132
77132
|
(g) => g1(n[g].values[s]) ? [] : [m1(n[g].values[s])]
|
|
77133
77133
|
)
|
|
77134
77134
|
)
|
|
77135
|
-
], f = (g) => `n.\`${g}\``, h = (g) => `MATCH (n:\`${o}\`) WHERE ${f(s)} IN [${g.map((m) =>
|
|
77135
|
+
], f = (g) => `n.\`${g}\``, h = (g) => `MATCH (n:\`${o}\`) WHERE ${f(s)} IN [${g.map((m) => fZe(m, u(s))).join(", ")}] OR ${f(s)} IS NULL OR ${f(s)} = '' RETURN ${A.map((m, v) => `${f(m)} AS f${v}`).join(", ")}`, p = [];
|
|
77136
77136
|
for (const g of mee(d, [s], h))
|
|
77137
77137
|
for (const m of await e(h(g)))
|
|
77138
77138
|
p.push({
|
|
@@ -77152,15 +77152,15 @@ const nq = 6e4, v1 = {
|
|
|
77152
77152
|
minute: nq,
|
|
77153
77153
|
hour: h1,
|
|
77154
77154
|
day: Wr
|
|
77155
|
-
},
|
|
77155
|
+
}, hZe = "hour";
|
|
77156
77156
|
function k5(e, t) {
|
|
77157
|
-
return t.start.type === "date" || t.end.type === "date" ? "day" : e.snap ??
|
|
77157
|
+
return t.start.type === "date" || t.end.type === "date" ? "day" : e.snap ?? hZe;
|
|
77158
77158
|
}
|
|
77159
77159
|
function Lh(e, t, n) {
|
|
77160
77160
|
const r = v1[t], a = e + dc(e, n);
|
|
77161
77161
|
return sd(Math.round(a / r) * r, n);
|
|
77162
77162
|
}
|
|
77163
|
-
function
|
|
77163
|
+
function pZe(e, t, n, r, a, i) {
|
|
77164
77164
|
if (t === "resize") {
|
|
77165
77165
|
const l = Lh(e.end + n, a, i);
|
|
77166
77166
|
return {
|
|
@@ -77172,7 +77172,7 @@ function hZe(e, t, n, r, a, i) {
|
|
|
77172
77172
|
const o = Lh(e.start + n, a, i), s = Lh(o + (e.end - e.start), a, i);
|
|
77173
77173
|
return { resource: r, start: o, end: Math.max(s, o + v1[a]) };
|
|
77174
77174
|
}
|
|
77175
|
-
function
|
|
77175
|
+
function gZe(e, t) {
|
|
77176
77176
|
if (e.style !== "standard" || !e.adjust || !e.endField) return;
|
|
77177
77177
|
const n = t?.operations?.find((r) => r.id === e.adjust);
|
|
77178
77178
|
if (!(!n || vee(n, e)))
|
|
@@ -77183,14 +77183,14 @@ function pZe(e, t) {
|
|
|
77183
77183
|
resource: Ow(n, e.resourceField)
|
|
77184
77184
|
};
|
|
77185
77185
|
}
|
|
77186
|
-
const
|
|
77186
|
+
const mZe = /^\d{4}-\d{2}-\d{2}$/, vZe = /[T ]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?(Z|[+-]\d{2}:?\d{2})$/, j2 = (e, t) => new Date(e + t).toISOString().slice(0, 19);
|
|
77187
77187
|
function Dd(e, t, n, r, a) {
|
|
77188
77188
|
const i = e + dc(e, r);
|
|
77189
|
-
if (t.type === "date" || typeof n == "string" &&
|
|
77189
|
+
if (t.type === "date" || typeof n == "string" && mZe.test(n.trim()) && i % Wr === 0) {
|
|
77190
77190
|
const u = a ? e - 1 : e;
|
|
77191
77191
|
return j2(u, dc(u, r)).slice(0, 10);
|
|
77192
77192
|
}
|
|
77193
|
-
const s = typeof n == "string" ?
|
|
77193
|
+
const s = typeof n == "string" ? vZe.exec(n.trim())?.[1] : void 0;
|
|
77194
77194
|
if (s === void 0) return j2(e, dc(e, r));
|
|
77195
77195
|
const l = s.replace(/[^0-9]/g, ""), c = l ? (s.startsWith("-") ? -1 : 1) * (Number(l.slice(0, 2)) * 60 + Number(l.slice(2))) * nq : 0;
|
|
77196
77196
|
return `${j2(e, c)}${s}`;
|
|
@@ -77200,7 +77200,7 @@ function qv(e, t) {
|
|
|
77200
77200
|
const n = e[Ns];
|
|
77201
77201
|
return n && t in n ? n[t] : e[t];
|
|
77202
77202
|
}
|
|
77203
|
-
function
|
|
77203
|
+
function yZe(e) {
|
|
77204
77204
|
const { adjust: t, layer: n, row: r, spot: a, zone: i } = e, { operation: o } = t, s = qv(r, n.startField), l = qv(r, n.endField), c = Fa(qv(r, n.resourceField)), u = Object.fromEntries(
|
|
77205
77205
|
o.params.flatMap(
|
|
77206
77206
|
(h) => h.default !== void 0 ? [[h.name, h.default]] : []
|
|
@@ -77221,10 +77221,10 @@ function vZe(e) {
|
|
|
77221
77221
|
by: "user"
|
|
77222
77222
|
};
|
|
77223
77223
|
}
|
|
77224
|
-
const
|
|
77224
|
+
const bZe = 18, wZe = 7;
|
|
77225
77225
|
function Zv(e) {
|
|
77226
|
-
const t = Math.max(
|
|
77227
|
-
return { width: t, edge: Math.min(
|
|
77226
|
+
const t = Math.max(bZe, e);
|
|
77227
|
+
return { width: t, edge: Math.min(wZe, Math.max(3, Math.floor(t / 4))) };
|
|
77228
77228
|
}
|
|
77229
77229
|
const O5 = (e) => e?.type === "date" || e?.type === "datetime";
|
|
77230
77230
|
function D2(e, t) {
|
|
@@ -77262,8 +77262,8 @@ function mw(e, t, n) {
|
|
|
77262
77262
|
const r = e.action.inputs.filter((a) => a.property);
|
|
77263
77263
|
return dJ(e.operation, { params: t }, n, r).params;
|
|
77264
77264
|
}
|
|
77265
|
-
const
|
|
77266
|
-
function
|
|
77265
|
+
const xZe = (e) => e == null || e === "", iq = (e, t, n) => t.filter((r) => Cl(r, e.action?.active, n));
|
|
77266
|
+
function CZe(e, t, n, r) {
|
|
77267
77267
|
const a = Ia(e.source), i = (l) => {
|
|
77268
77268
|
const c = us(l);
|
|
77269
77269
|
return c?.source === a && c.key === t.$key;
|
|
@@ -77272,11 +77272,11 @@ function xZe(e, t, n, r) {
|
|
|
77272
77272
|
const o = e.operation.action?.unique ?? [];
|
|
77273
77273
|
if (o.length === 0) return !1;
|
|
77274
77274
|
const s = mw(e, {}, t);
|
|
77275
|
-
return o.every((l) =>
|
|
77275
|
+
return o.every((l) => xZe(s[l])) ? !1 : iq(e.operation, n, r).some(
|
|
77276
77276
|
(l) => !us(l) && TM(o, s, l)
|
|
77277
77277
|
);
|
|
77278
77278
|
}
|
|
77279
|
-
function
|
|
77279
|
+
function BZe(e) {
|
|
77280
77280
|
const { create: t, row: n, spot: r, zone: a } = e, { operation: i } = t, o = Object.fromEntries(
|
|
77281
77281
|
i.params.flatMap(
|
|
77282
77282
|
(s) => s.default !== void 0 ? [[s.name, s.default]] : []
|
|
@@ -77329,12 +77329,12 @@ function sq(e, t, n, r, a) {
|
|
|
77329
77329
|
};
|
|
77330
77330
|
}
|
|
77331
77331
|
}
|
|
77332
|
-
function
|
|
77332
|
+
function nrt(e, t, n, r, a, i) {
|
|
77333
77333
|
const o = oq(e, t, n);
|
|
77334
77334
|
return o >= 0 && sq(n, r, a, e[o].source, i) ? /* @__PURE__ */ new Set([o]) : /* @__PURE__ */ new Set();
|
|
77335
77335
|
}
|
|
77336
77336
|
const Jv = (e, t, n) => !!e.doneWhen?.length && Cl(t, e.doneWhen, n);
|
|
77337
|
-
function
|
|
77337
|
+
function SZe(e, t, n, r, a = OZe(t, n)) {
|
|
77338
77338
|
const i = (l) => {
|
|
77339
77339
|
const c = a(l);
|
|
77340
77340
|
return Number.isFinite(c) ? c : Vn(l[t.startField], n);
|
|
@@ -77344,7 +77344,7 @@ function BZe(e, t, n, r, a = kZe(t, n)) {
|
|
|
77344
77344
|
return u !== A ? u - A : u === 0 && l.at !== c.at ? l.at - c.at : u === 1 && l.at !== c.at ? c.at - l.at : l.row.$key.localeCompare(c.row.$key);
|
|
77345
77345
|
}).map((l) => l.row);
|
|
77346
77346
|
}
|
|
77347
|
-
function
|
|
77347
|
+
function EZe(e, t, n, r) {
|
|
77348
77348
|
const a = Ia(e.source), i = n.filter((l) => {
|
|
77349
77349
|
const c = us(l);
|
|
77350
77350
|
return c?.source === a && c.key === t.$key;
|
|
@@ -77358,7 +77358,7 @@ function SZe(e, t, n, r) {
|
|
|
77358
77358
|
)
|
|
77359
77359
|
];
|
|
77360
77360
|
}
|
|
77361
|
-
function
|
|
77361
|
+
function kZe(e, t, n, r, a) {
|
|
77362
77362
|
const i = aq(e, t), o = CE(r, a), s = n(t), l = Number.isFinite(s) ? Math.max(o, CE(s - i, a)) : o;
|
|
77363
77363
|
return { resource: "", start: l, end: l + i };
|
|
77364
77364
|
}
|
|
@@ -77366,8 +77366,8 @@ function U2(e, t, n) {
|
|
|
77366
77366
|
const r = n(t);
|
|
77367
77367
|
return Number.isFinite(r) && Number.isFinite(e) ? Math.max(0, e - r) : 0;
|
|
77368
77368
|
}
|
|
77369
|
-
const
|
|
77370
|
-
function
|
|
77369
|
+
const OZe = (e, t) => (n) => e.targetField ? Vn(n[e.targetField], t, !0) : NaN;
|
|
77370
|
+
function _Ze(e, t, n, r) {
|
|
77371
77371
|
const a = Object.fromEntries(
|
|
77372
77372
|
e.operation.params.flatMap(
|
|
77373
77373
|
(i) => i.default !== void 0 ? [[i.name, i.default]] : []
|
|
@@ -77375,7 +77375,7 @@ function OZe(e, t, n, r) {
|
|
|
77375
77375
|
);
|
|
77376
77376
|
return a[e.start.name] = Dd(n.start, e.start, void 0, r, !1), a[e.end.name] = Dd(n.end, e.end, void 0, r, !0), { ...mw(e, a, t), $key: t.$key };
|
|
77377
77377
|
}
|
|
77378
|
-
function
|
|
77378
|
+
function MZe({
|
|
77379
77379
|
at: e,
|
|
77380
77380
|
tools: t,
|
|
77381
77381
|
tasks: n,
|
|
@@ -77388,7 +77388,7 @@ function _Ze({
|
|
|
77388
77388
|
for (const h of c)
|
|
77389
77389
|
h.resource !== null && u.set(h.resource, [...u.get(h.resource) ?? [], h]);
|
|
77390
77390
|
const A = (h) => (h.resource === null ? [] : u.get(h.resource) ?? []).filter((p) => p.key !== h.key).map((p) => [p.key, p.start, p.end]).sort((p, g) => String(p[0]).localeCompare(String(g[0]))), d = n.flatMap((h) => {
|
|
77391
|
-
const p = h.record ?? (h.spot ?
|
|
77391
|
+
const p = h.record ?? (h.spot ? _Ze(s, h.row, h.spot, i) : void 0);
|
|
77392
77392
|
if (!p) return [];
|
|
77393
77393
|
const g = kE(o, p, i);
|
|
77394
77394
|
return l.set(g.key, g), [{ row: h.row, task: g, beside: h.record ? A(g) : [] }];
|
|
@@ -77406,11 +77406,11 @@ function _Ze({
|
|
|
77406
77406
|
layerTasks: f
|
|
77407
77407
|
}));
|
|
77408
77408
|
}
|
|
77409
|
-
const
|
|
77409
|
+
const FZe = (e, t) => {
|
|
77410
77410
|
const n = Mp(e);
|
|
77411
77411
|
return n.length > 0 ? n : t ? Mp(t.layer) : [];
|
|
77412
|
-
},
|
|
77413
|
-
function
|
|
77412
|
+
}, TZe = 800, IZe = 1e4, _5 = /* @__PURE__ */ new WeakSet();
|
|
77413
|
+
function LZe(e, t, n, r = TZe, a = []) {
|
|
77414
77414
|
const [i, o] = x.useState(0), s = x.useMemo(() => e.flatMap((S) => S.keys), [e]), l = s.join(`
|
|
77415
77415
|
`), c = x.useRef({ requests: e, edits: n, data: a });
|
|
77416
77416
|
x.useEffect(() => {
|
|
@@ -77439,7 +77439,7 @@ function IZe(e, t, n, r = FZe, a = []) {
|
|
|
77439
77439
|
};
|
|
77440
77440
|
}, [l, r, u.count, d]);
|
|
77441
77441
|
const g = x.useMemo(
|
|
77442
|
-
() => i >= 0 ?
|
|
77442
|
+
() => i >= 0 ? BXe(e, t) : [],
|
|
77443
77443
|
[e, t, i]
|
|
77444
77444
|
), m = x.useMemo(
|
|
77445
77445
|
() => i >= 0 && s.some((S) => Th(S).checking),
|
|
@@ -77450,13 +77450,13 @@ function IZe(e, t, n, r = FZe, a = []) {
|
|
|
77450
77450
|
const S = setInterval(() => w(Date.now()), 1e3);
|
|
77451
77451
|
return () => clearInterval(S);
|
|
77452
77452
|
}, [v]);
|
|
77453
|
-
const C = v === void 0 ? 0 : Math.max(0, b - v), B = C >=
|
|
77453
|
+
const C = v === void 0 ? 0 : Math.max(0, b - v), B = C >= IZe ? C : 0;
|
|
77454
77454
|
return { findings: g, pending: m, version: i, recheck: h, elapsed: B };
|
|
77455
77455
|
}
|
|
77456
|
-
function
|
|
77456
|
+
function NZe(e) {
|
|
77457
77457
|
return e.style === "standard" && !!(e.targetFrom?.[0] || e.readyFrom?.[0] || e.predecessorPath?.length);
|
|
77458
77458
|
}
|
|
77459
|
-
function
|
|
77459
|
+
function PZe(e, t) {
|
|
77460
77460
|
if (!t || t.cypher) return;
|
|
77461
77461
|
const n = e.sources.find((r) => r.id === Ia(t));
|
|
77462
77462
|
return n?.model || n?.cypher ? void 0 : t;
|
|
@@ -77484,7 +77484,7 @@ async function M5(e, t, n, r, a) {
|
|
|
77484
77484
|
}
|
|
77485
77485
|
return i;
|
|
77486
77486
|
}
|
|
77487
|
-
async function
|
|
77487
|
+
async function $Ze(e, t, n, r, a) {
|
|
77488
77488
|
const i = r.predecessorPath ?? [], o = i.length > 0 ? Wo(t, n.objectType, i) : null, s = o && o.length > 0 && o[o.length - 1].to === n.objectType, [l, c, u] = await Promise.all([
|
|
77489
77489
|
M5(e, t, n, r.targetFrom?.[0], a),
|
|
77490
77490
|
M5(e, t, n, r.readyFrom?.[0], a),
|
|
@@ -77497,7 +77497,7 @@ async function PZe(e, t, n, r, a) {
|
|
|
77497
77497
|
}
|
|
77498
77498
|
return { targets: l, ready: c, predecessors: A };
|
|
77499
77499
|
}
|
|
77500
|
-
function
|
|
77500
|
+
function RZe(e) {
|
|
77501
77501
|
let t = 2166136261;
|
|
77502
77502
|
for (const n of e) {
|
|
77503
77503
|
for (let r = 0; r < n.length; r++)
|
|
@@ -77507,10 +77507,10 @@ function $Ze(e) {
|
|
|
77507
77507
|
return `${e.length}:${(t >>> 0).toString(36)}`;
|
|
77508
77508
|
}
|
|
77509
77509
|
const F5 = /* @__PURE__ */ new WeakMap();
|
|
77510
|
-
let
|
|
77511
|
-
function
|
|
77510
|
+
let jZe = 0;
|
|
77511
|
+
function DZe(e) {
|
|
77512
77512
|
let t = F5.get(e);
|
|
77513
|
-
return t === void 0 && (t = ++
|
|
77513
|
+
return t === void 0 && (t = ++jZe, F5.set(e, t)), t;
|
|
77514
77514
|
}
|
|
77515
77515
|
function lq(e, t, n, r, a = 0) {
|
|
77516
77516
|
return JSON.stringify([
|
|
@@ -77521,24 +77521,24 @@ function lq(e, t, n, r, a = 0) {
|
|
|
77521
77521
|
n.readyFrom?.[0] ?? null,
|
|
77522
77522
|
n.predecessorPath ?? [],
|
|
77523
77523
|
n.predecessorReaches ?? "predecessors",
|
|
77524
|
-
|
|
77524
|
+
RZe(r)
|
|
77525
77525
|
]);
|
|
77526
77526
|
}
|
|
77527
|
-
const
|
|
77528
|
-
function
|
|
77527
|
+
const UZe = 24, kA = /* @__PURE__ */ new Map();
|
|
77528
|
+
function QZe(e, t, n, r, a, i = 0) {
|
|
77529
77529
|
const o = lq(t, n, r, a, i), s = kA.get(o);
|
|
77530
77530
|
if (s) return s;
|
|
77531
|
-
const l =
|
|
77532
|
-
for (kA.set(o, l), l.catch(() => kA.delete(o)); kA.size >
|
|
77531
|
+
const l = $Ze(e, t, n, r, a);
|
|
77532
|
+
for (kA.set(o, l), l.catch(() => kA.delete(o)); kA.size > UZe; ) kA.delete(kA.keys().next().value);
|
|
77533
77533
|
return l;
|
|
77534
77534
|
}
|
|
77535
|
-
const
|
|
77536
|
-
function
|
|
77535
|
+
const HZe = [];
|
|
77536
|
+
function zZe(e) {
|
|
77537
77537
|
const { run: t, kn: n, spec: r, sources: a } = gt(), i = x.useMemo(
|
|
77538
77538
|
() => e.map(({ layer: l, source: c }) => {
|
|
77539
|
-
const u =
|
|
77540
|
-
if (!u || A?.status !== "ready" || !
|
|
77541
|
-
const d = A.rows.map((h) => h.$key), f =
|
|
77539
|
+
const u = PZe(r, c), A = u ? a[u.id] ?? a[u.from?.source ?? ""] : void 0;
|
|
77540
|
+
if (!u || A?.status !== "ready" || !NZe(l)) return;
|
|
77541
|
+
const d = A.rows.map((h) => h.$key), f = DZe(A.rows);
|
|
77542
77542
|
return { layer: l, source: u, keys: d, load: f, key: lq(n, u, l, d, f) };
|
|
77543
77543
|
}),
|
|
77544
77544
|
[e, r, n, a]
|
|
@@ -77546,17 +77546,17 @@ function HZe(e) {
|
|
|
77546
77546
|
o,
|
|
77547
77547
|
() => Promise.all(
|
|
77548
77548
|
i.map(
|
|
77549
|
-
(l) => l ?
|
|
77549
|
+
(l) => l ? QZe(t, n, l.source, l.layer, l.keys, l.load) : void 0
|
|
77550
77550
|
)
|
|
77551
77551
|
)
|
|
77552
77552
|
);
|
|
77553
77553
|
return {
|
|
77554
|
-
links: s.status === "ready" ? s.value :
|
|
77554
|
+
links: s.status === "ready" ? s.value : HZe,
|
|
77555
77555
|
loading: s.status === "loading",
|
|
77556
77556
|
failed: s.status === "error"
|
|
77557
77557
|
};
|
|
77558
77558
|
}
|
|
77559
|
-
const
|
|
77559
|
+
const KZe = 200, GZe = 320, VZe = 54, Nf = 30, OA = 6, T5 = 30, I5 = 30, L5 = 26, Nl = [12, 24, 48, 96, 192, 384, 768, 1536, 3072], WZe = 960, N5 = {
|
|
77560
77560
|
neutral: "var(--ws-text-muted)",
|
|
77561
77561
|
info: "var(--ws-info)",
|
|
77562
77562
|
success: "var(--ws-success)",
|
|
@@ -77572,12 +77572,12 @@ function cq({
|
|
|
77572
77572
|
const a = e[t], i = $r(a?.source, a?.filters);
|
|
77573
77573
|
return a ? /* @__PURE__ */ E.jsx(cq, { layers: e, index: t + 1, loaded: [...n, i], children: r }) : /* @__PURE__ */ E.jsx(E.Fragment, { children: r(n) });
|
|
77574
77574
|
}
|
|
77575
|
-
function
|
|
77575
|
+
function YZe({ config: e }) {
|
|
77576
77576
|
const t = e, n = x.useMemo(() => (t.layers ?? []).slice(0, fYe), [t.layers]);
|
|
77577
|
-
return /* @__PURE__ */ E.jsx(cq, { layers: n, index: 0, loaded: [], children: (r) => /* @__PURE__ */ E.jsx(
|
|
77577
|
+
return /* @__PURE__ */ E.jsx(cq, { layers: n, index: 0, loaded: [], children: (r) => /* @__PURE__ */ E.jsx(ZZe, { config: t, layers: n, views: r }) });
|
|
77578
77578
|
}
|
|
77579
|
-
const P5 = 4,
|
|
77580
|
-
function
|
|
77579
|
+
const P5 = 4, XZe = ["hard", ...jYe, "critical"], qZe = (e, t, n) => e.objectTypes[t.objectType]?.properties.find((r) => r.name === n)?.label || n;
|
|
77580
|
+
function ZZe({
|
|
77581
77581
|
config: e,
|
|
77582
77582
|
layers: t,
|
|
77583
77583
|
views: n
|
|
@@ -77585,18 +77585,18 @@ function qZe({
|
|
|
77585
77585
|
const { t: r, i18n: a } = Qe(), i = a?.language, o = gt(), { spec: s, values: l, setValue: c, kn: u } = o, A = x.useContext(kc), d = $r(e.source), f = t.findIndex((D) => !!D.create?.length), h = $r(
|
|
77586
77586
|
f >= 0 ? t[f].create?.[0]?.source : void 0
|
|
77587
77587
|
), p = typeof e.source == "string" && e.source !== "", g = NX((e.timeZoneVariable ? l[e.timeZoneVariable] : void 0) ?? e.timeZone), m = br(s, l), v = e.daysBefore ?? 3, y = e.daysAfter ?? 10, b = x.useMemo(() => bYe(m, g, v, y), [m, g, v, y]), w = (b.to - b.from) / Wr, [C, B] = x.useState(
|
|
77588
|
-
() => [...Nl].reverse().find((D) => D * w <=
|
|
77588
|
+
() => [...Nl].reverse().find((D) => D * w <= WZe) ?? Nl[0]
|
|
77589
77589
|
), [S, k] = x.useState(""), [O, _] = x.useState(/* @__PURE__ */ new Set()), [M, F] = x.useState(), [T, I] = x.useState(), [L, N] = x.useState(), [P, $] = x.useState(!1), [R, Q] = x.useState(!1), [U, j] = x.useState(), [K, H] = x.useState(), W = x.useRef(!1), [G, z] = x.useState("all"), V = x.useRef(null), X = sA(), { message: q } = I1(), Y = x.useMemo(() => oq(t, e, s), [t, e, s]), J = Y >= 0 ? t[Y] : void 0, ne = x.useMemo(
|
|
77590
77590
|
() => J ? sq(s, o.app, o.pageId, J.source, u) : void 0,
|
|
77591
77591
|
[J, s, o.app, o.pageId, u]
|
|
77592
|
-
), ie = $r(ne?.layer.source, ne?.layer.filters), ae = $r(ne?.gantt.source), [le, ue] = x.useState(!1), he = J ?
|
|
77592
|
+
), ie = $r(ne?.layer.source, ne?.layer.filters), ae = $r(ne?.gantt.source), [le, ue] = x.useState(!1), he = J ? GZe : KZe, _e = J ? qt(s, e.source)?.label || r("workshopLab.scheduleGantt.tasksHead") : r("workshopLab.scheduleGantt.resources"), Ae = [
|
|
77593
77593
|
...p ? [d] : [],
|
|
77594
77594
|
...n,
|
|
77595
77595
|
...ne ? [ie] : []
|
|
77596
77596
|
].filter((D) => D.status !== "ready" || D.truncated), de = Ae.every((D) => D.status === "ready"), pe = x.useMemo(
|
|
77597
77597
|
() => t.map((D) => ({ layer: D, source: qt(s, D.source) })),
|
|
77598
77598
|
[t, s]
|
|
77599
|
-
), { links: Be, failed: ke } =
|
|
77599
|
+
), { links: Be, failed: ke } = zZe(pe), Ce = Y >= 0 ? Be[Y] : void 0, Ue = x.useCallback(
|
|
77600
77600
|
(D) => J ? NYe(J, Ce, D, g) : NaN,
|
|
77601
77601
|
[J, Ce, g]
|
|
77602
77602
|
), je = x.useMemo(() => {
|
|
@@ -77605,7 +77605,7 @@ function qZe({
|
|
|
77605
77605
|
(me) => (le || !Jv(J, me, m)) && N2(me, D, S)
|
|
77606
77606
|
);
|
|
77607
77607
|
return {
|
|
77608
|
-
rows:
|
|
77608
|
+
rows: SZe(Z, J, g, b.from, Ue),
|
|
77609
77609
|
keys: new Set(Z.map((me) => me.$key)),
|
|
77610
77610
|
done: ee
|
|
77611
77611
|
};
|
|
@@ -77657,7 +77657,7 @@ function qZe({
|
|
|
77657
77657
|
}) : [],
|
|
77658
77658
|
[de, t, Se, Oe, g, Ne, we]
|
|
77659
77659
|
), Ee = x.useMemo(
|
|
77660
|
-
() => de ?
|
|
77660
|
+
() => de ? cXe({
|
|
77661
77661
|
layers: t,
|
|
77662
77662
|
rows: Se.map((D) => D?.all),
|
|
77663
77663
|
zone: g,
|
|
@@ -77670,21 +77670,21 @@ function qZe({
|
|
|
77670
77670
|
if (!de || !je || !J || !ne || ie.status !== "ready") return D;
|
|
77671
77671
|
for (const ee of je.rows) {
|
|
77672
77672
|
if (Jv(J, ee, m)) continue;
|
|
77673
|
-
const Z =
|
|
77673
|
+
const Z = EZe(ne.create, ee, ie.all, m)[0];
|
|
77674
77674
|
D.set(
|
|
77675
77675
|
ee.$key,
|
|
77676
77676
|
Z ? { row: ee, record: Z } : {
|
|
77677
77677
|
row: ee,
|
|
77678
|
-
spot:
|
|
77678
|
+
spot: kZe(ne.create, ee, Ue, b.base, g)
|
|
77679
77679
|
}
|
|
77680
77680
|
);
|
|
77681
77681
|
}
|
|
77682
77682
|
return D;
|
|
77683
77683
|
}, [de, je, J, ne, ie, m, b.base, g, Ue]), lt = x.useMemo(
|
|
77684
|
-
() => J ?
|
|
77684
|
+
() => J ? FZe(J, ne) : [],
|
|
77685
77685
|
[J, ne]
|
|
77686
77686
|
), St = x.useMemo(
|
|
77687
|
-
() => ne && ie.status === "ready" ?
|
|
77687
|
+
() => ne && ie.status === "ready" ? MZe({
|
|
77688
77688
|
at: Y,
|
|
77689
77689
|
tools: lt,
|
|
77690
77690
|
tasks: [...rt.values()],
|
|
@@ -77693,13 +77693,13 @@ function qZe({
|
|
|
77693
77693
|
zone: g
|
|
77694
77694
|
}) : [],
|
|
77695
77695
|
[ne, ie, Y, lt, rt, g]
|
|
77696
|
-
), De = x.useMemo(() => [...Ee, ...St], [Ee, St]), Je = X.current?.edits, At = x.useMemo(() =>
|
|
77696
|
+
), De = x.useMemo(() => [...Ee, ...St], [Ee, St]), Je = X.current?.edits, At = x.useMemo(() => lXe(Je ?? []), [Je]), st = ie.status === "ready" ? Ia(ie.source) : void 0, kt = x.useMemo(
|
|
77697
77697
|
() => [...Oe, st].flatMap((D) => {
|
|
77698
77698
|
const ee = D ? o.sources[D] : void 0, Z = s.sources.some((me) => me.id === D && me.model);
|
|
77699
77699
|
return ee?.status === "ready" && !Z ? [ee.rows] : [];
|
|
77700
77700
|
}),
|
|
77701
77701
|
[Oe, st, o.sources, s.sources]
|
|
77702
|
-
), Ot =
|
|
77702
|
+
), Ot = LZe(De, t, At, void 0, kt), vn = x.useMemo(
|
|
77703
77703
|
() => new Set(
|
|
77704
77704
|
[...rt.values()].flatMap(
|
|
77705
77705
|
(D) => D.spot ? [si(Y, D.row.$key)] : []
|
|
@@ -78244,7 +78244,7 @@ function qZe({
|
|
|
78244
78244
|
), aZ = (D) => t.some((ee) => D === "overlap" ? ee.style === "standard" && ee.exclusive : D === "blocked" ? ee.style === "background" && ee.blocks : ee.style !== "standard" ? !1 : D === "late" || D === "critical" ? !!(ee.targetField || ee.targetFrom?.[0]) : D === "notReady" ? !!(ee.earliestField || ee.readyFrom?.[0]) : D === "predecessor" ? !!ee.predecessorPath?.length : !0), HM = [
|
|
78245
78245
|
...rn.map(([D]) => `tool:${D}`),
|
|
78246
78246
|
...rn.length > 0 ? ["unchecked"] : []
|
|
78247
|
-
], iZ = [...
|
|
78247
|
+
], iZ = [...XZe, ...HM].map((D) => {
|
|
78248
78248
|
let ee = 0;
|
|
78249
78249
|
if (D === "critical")
|
|
78250
78250
|
ee = [...Ne?.nodes.values() ?? []].filter((Z) => Z.critical).length;
|
|
@@ -78255,20 +78255,20 @@ function qZe({
|
|
|
78255
78255
|
), oZ = new Map(rn.map(([D, ee]) => [`tool:${D}`, ee.name])), sZ = (D) => D === "hard" ? r("workshopLab.scheduleRules.hardLabel") : D === "critical" ? r("workshopLab.scheduleRules.critical") : D === "unchecked" ? r("workshopLab.scheduleRules.tools.unchecked") : D.startsWith("tool:") ? oZ.get(D) || r("workshopLab.scheduleRules.tools.rule") : r(`workshopLab.scheduleRules.rule.${D}`), zM = t.some(
|
|
78256
78256
|
(D) => D.style === "standard" && !!D.predecessorPath?.length
|
|
78257
78257
|
), KM = ke ? r("workshopLab.scheduleRules.linksFailed") : zM && n.some((D) => D.status === "ready" && D.truncated) ? r("workshopLab.scheduleRules.chainTruncated") : zM && Ne && Ne.missing > 0 ? r("workshopLab.scheduleRules.chainMissing", { count: Ne.missing }) : void 0, lZ = [...be.byId.values()].some((D) => D.original), GM = t.filter((D) => D.style === "standard").length, uA = x.useMemo(
|
|
78258
|
-
() => t.map((D, ee) =>
|
|
78258
|
+
() => t.map((D, ee) => gZe(D, qn[ee])),
|
|
78259
78259
|
[t, qn]
|
|
78260
78260
|
), xw = x.useMemo(
|
|
78261
78261
|
() => t.map((D) => rq(D, s, u)),
|
|
78262
78262
|
[t, s, u]
|
|
78263
78263
|
), VM = (D) => us(D.row) ? xw[D.layer] : uA[D.layer], ri = f >= 0 ? xw[f] : void 0, WM = K ? pi[K.id.startsWith("create:") ? f : Number.parseInt(K.id, 10)] : void 0, kg = x.useMemo(
|
|
78264
78264
|
() => ri && h.status === "ready" ? h.rows.filter(
|
|
78265
|
-
(D) => !
|
|
78265
|
+
(D) => !CZe(ri, D, Se[f]?.all ?? [], m)
|
|
78266
78266
|
) : [],
|
|
78267
78267
|
[ri, h, Se, f, m]
|
|
78268
78268
|
), YM = (D) => O.has(D.id) ? Lt.get(D.id) : void 0, XM = (D) => {
|
|
78269
78269
|
if (D.kind === "group") return T5;
|
|
78270
78270
|
const ee = be.tracks.get(D.id) ?? 0, Z = Math.max(1, ee + (YM(D) ? 1 : 0)) * Nf + OA;
|
|
78271
|
-
return J ? Math.max(
|
|
78271
|
+
return J ? Math.max(VZe, Z) : Z;
|
|
78272
78272
|
}, qM = (D, ee) => {
|
|
78273
78273
|
const Z = V.current;
|
|
78274
78274
|
if (!Z) return;
|
|
@@ -78297,7 +78297,7 @@ function qZe({
|
|
|
78297
78297
|
q.error(r("workshopLab.scenario.tooMany", { max: Og }));
|
|
78298
78298
|
return;
|
|
78299
78299
|
}
|
|
78300
|
-
const Ut =
|
|
78300
|
+
const Ut = BZe({
|
|
78301
78301
|
create: D,
|
|
78302
78302
|
row: ee,
|
|
78303
78303
|
spot: Z,
|
|
@@ -78329,7 +78329,7 @@ function qZe({
|
|
|
78329
78329
|
return;
|
|
78330
78330
|
const Ct = Ia(We), { current: Ut } = X, $t = Ut && nc(Ut) ? Ut : void 0, Kt = $t?.edits.find(
|
|
78331
78331
|
(ai) => ai.source === Ct && ai.key === D.row.$key && ai.operation === me.operation.id
|
|
78332
|
-
), Jn =
|
|
78332
|
+
), Jn = yZe({
|
|
78333
78333
|
adjust: me,
|
|
78334
78334
|
layer: ft,
|
|
78335
78335
|
source: Ct,
|
|
@@ -78374,7 +78374,7 @@ function qZe({
|
|
|
78374
78374
|
We = {
|
|
78375
78375
|
...We,
|
|
78376
78376
|
moved: !0,
|
|
78377
|
-
spot:
|
|
78377
|
+
spot: pZe(D, ee, Kt / C * Wr, Jn, ft, g)
|
|
78378
78378
|
}, j(We);
|
|
78379
78379
|
}, Ut = () => {
|
|
78380
78380
|
globalThis.removeEventListener("mousemove", Ct), globalThis.removeEventListener("mouseup", Ut), j(void 0), We.moved && (F(void 0), Nt.current = D.id, W.current = !0, globalThis.setTimeout(() => W.current = !1, 0), We.spot && eF(D, We.spot));
|
|
@@ -78422,7 +78422,7 @@ function qZe({
|
|
|
78422
78422
|
(ee) => {
|
|
78423
78423
|
eF(D, ee);
|
|
78424
78424
|
}
|
|
78425
|
-
), dZ = Ae.map((D, ee) => /* @__PURE__ */ E.jsx(wo, { view: D, children: () => null }, ee)), fZ = t.length === 0 ? /* @__PURE__ */ E.jsx(
|
|
78425
|
+
), dZ = Ae.map((D, ee) => /* @__PURE__ */ E.jsx(wo, { view: D, children: () => null }, ee)), fZ = t.length === 0 ? /* @__PURE__ */ E.jsx(AZe, {}) : de ? we.length === 0 ? /* @__PURE__ */ E.jsx(
|
|
78426
78426
|
zo,
|
|
78427
78427
|
{
|
|
78428
78428
|
text: r(
|
|
@@ -78478,7 +78478,7 @@ function qZe({
|
|
|
78478
78478
|
)) })
|
|
78479
78479
|
] }),
|
|
78480
78480
|
Me.map((D) => /* @__PURE__ */ E.jsx(
|
|
78481
|
-
|
|
78481
|
+
JZe,
|
|
78482
78482
|
{
|
|
78483
78483
|
row: D,
|
|
78484
78484
|
folded: O.has(D.id),
|
|
@@ -78980,7 +78980,7 @@ function qZe({
|
|
|
78980
78980
|
] }),
|
|
78981
78981
|
fZ,
|
|
78982
78982
|
de && Ds && /* @__PURE__ */ E.jsx(
|
|
78983
|
-
|
|
78983
|
+
qXe,
|
|
78984
78984
|
{
|
|
78985
78985
|
title: qq(Ds),
|
|
78986
78986
|
...jM(Ds) ? { note: jM(Ds) } : {},
|
|
@@ -79052,7 +79052,7 @@ function qZe({
|
|
|
79052
79052
|
(ri.fields ?? []).map((ee) => {
|
|
79053
79053
|
const Z = Fa(D[ee]);
|
|
79054
79054
|
return Z ? /* @__PURE__ */ E.jsx("small", { children: r("workshopLab.scheduleGantt.cardField", {
|
|
79055
|
-
label:
|
|
79055
|
+
label: qZe(u, ri.source, ee),
|
|
79056
79056
|
value: ua(Z) || Z
|
|
79057
79057
|
}) }, ee) : null;
|
|
79058
79058
|
}),
|
|
@@ -79086,7 +79086,7 @@ function qZe({
|
|
|
79086
79086
|
] }))
|
|
79087
79087
|
] }),
|
|
79088
79088
|
M && /* @__PURE__ */ E.jsx(
|
|
79089
|
-
|
|
79089
|
+
eJe,
|
|
79090
79090
|
{
|
|
79091
79091
|
hover: M,
|
|
79092
79092
|
layer: t[M.item.layer],
|
|
@@ -79114,7 +79114,7 @@ function qZe({
|
|
|
79114
79114
|
}
|
|
79115
79115
|
);
|
|
79116
79116
|
}
|
|
79117
|
-
function
|
|
79117
|
+
function JZe({
|
|
79118
79118
|
row: e,
|
|
79119
79119
|
folded: t,
|
|
79120
79120
|
selected: n,
|
|
@@ -79172,7 +79172,7 @@ function ZZe({
|
|
|
79172
79172
|
}
|
|
79173
79173
|
);
|
|
79174
79174
|
}
|
|
79175
|
-
function
|
|
79175
|
+
function eJe({
|
|
79176
79176
|
hover: e,
|
|
79177
79177
|
layer: t,
|
|
79178
79178
|
title: n,
|
|
@@ -79246,7 +79246,7 @@ function JZe({
|
|
|
79246
79246
|
/* @__PURE__ */ E.jsx("dd", { children: p(h.slack) })
|
|
79247
79247
|
] }),
|
|
79248
79248
|
k.map((O) => /* @__PURE__ */ E.jsx(
|
|
79249
|
-
|
|
79249
|
+
tJe,
|
|
79250
79250
|
{
|
|
79251
79251
|
label: o(O),
|
|
79252
79252
|
value: s(O),
|
|
@@ -79277,7 +79277,7 @@ function JZe({
|
|
|
79277
79277
|
}
|
|
79278
79278
|
);
|
|
79279
79279
|
}
|
|
79280
|
-
function
|
|
79280
|
+
function tJe({
|
|
79281
79281
|
label: e,
|
|
79282
79282
|
value: t,
|
|
79283
79283
|
was: n,
|
|
@@ -79322,7 +79322,7 @@ function y1(e, t) {
|
|
|
79322
79322
|
return { start: `${r}-01-01`, end: `${r}-12-31` };
|
|
79323
79323
|
}
|
|
79324
79324
|
}
|
|
79325
|
-
function
|
|
79325
|
+
function nJe(e, t, n) {
|
|
79326
79326
|
return e.filter((r) => {
|
|
79327
79327
|
const a = ua(r[t]);
|
|
79328
79328
|
return a !== "" && a >= n.start && a <= n.end;
|
|
@@ -79343,12 +79343,12 @@ function IE(e, t) {
|
|
|
79343
79343
|
}
|
|
79344
79344
|
function dq(e, t, n, r) {
|
|
79345
79345
|
const a = ud(e, t, n);
|
|
79346
|
-
return r.basis !== "period" || !r.field ? a :
|
|
79346
|
+
return r.basis !== "period" || !r.field ? a : nJe(a, r.field, IE(n, r));
|
|
79347
79347
|
}
|
|
79348
|
-
function
|
|
79348
|
+
function rJe(e, t, n) {
|
|
79349
79349
|
return IM(e, t.unit, n);
|
|
79350
79350
|
}
|
|
79351
|
-
function
|
|
79351
|
+
function aJe(e, t, n) {
|
|
79352
79352
|
return Array.from(
|
|
79353
79353
|
{ length: n },
|
|
79354
79354
|
(r, a) => a === n - 1 ? e : IM(e, t.unit, "mom", n - 1 - a)
|
|
@@ -79406,7 +79406,7 @@ function Lp(e, t) {
|
|
|
79406
79406
|
function Np(e, t) {
|
|
79407
79407
|
return e.kind === "denied" ? t("workshopLab.objectMetric.denied") : e.kind === "limit" ? t("workshopLab.objectMetric.limit") : e.kind === "changed" ? t("workshopLab.objectMetric.changed") : t("workshopLab.objectMetric.broken");
|
|
79408
79408
|
}
|
|
79409
|
-
function
|
|
79409
|
+
function iJe(e, t) {
|
|
79410
79410
|
const n = (r) => r && ["day", "week", "month", "quarter", "year"].includes(r) ? t(`workshopLab.metric.units.${r}`) : r ?? "";
|
|
79411
79411
|
return e.mode === "rolling" ? t("workshopLab.objectMetric.windows.rolling", {
|
|
79412
79412
|
length: e.length ?? "",
|
|
@@ -79418,7 +79418,7 @@ function pq(e, { metric: t, recorded: n, span: r, handed: a, evaluatedAt: i }) {
|
|
|
79418
79418
|
e("workshopLab.objectMetric.captionName", { name: t.name, version: n.version }),
|
|
79419
79419
|
t.description,
|
|
79420
79420
|
!t.timeField || !r ? e("workshopLab.objectMetric.captionNoTime") : t.window ? e("workshopLab.objectMetric.captionWindow", {
|
|
79421
|
-
window:
|
|
79421
|
+
window: iJe(t.window, e),
|
|
79422
79422
|
end: r.end
|
|
79423
79423
|
}) : r.start ? e("workshopLab.objectMetric.captionSpan", { start: r.start, end: r.end }) : e("workshopLab.objectMetric.captionUpTo", { end: r.end }),
|
|
79424
79424
|
a?.followed.length ? e("workshopLab.objectMetric.captionFollowed", { names: a.followed.join("、") }) : "",
|
|
@@ -79562,8 +79562,8 @@ function bq(e, t, n) {
|
|
|
79562
79562
|
return o;
|
|
79563
79563
|
}, [e, r, a]);
|
|
79564
79564
|
}
|
|
79565
|
-
const
|
|
79566
|
-
function LE(e, t, n = 0, r =
|
|
79565
|
+
const oJe = 300;
|
|
79566
|
+
function LE(e, t, n = 0, r = oJe) {
|
|
79567
79567
|
const a = JSON.stringify([n, t]), [i, o] = x.useState({}), s = x.useRef(/* @__PURE__ */ new Map()), l = x.useRef(void 0);
|
|
79568
79568
|
l.current = x.useContext(z8)?.guard;
|
|
79569
79569
|
const c = x.useRef(!1);
|
|
@@ -79593,7 +79593,7 @@ function LE(e, t, n = 0, r = iJe) {
|
|
|
79593
79593
|
);
|
|
79594
79594
|
}, [i, a]);
|
|
79595
79595
|
}
|
|
79596
|
-
function
|
|
79596
|
+
function sJe(e) {
|
|
79597
79597
|
return {
|
|
79598
79598
|
metric: e.metric,
|
|
79599
79599
|
recorded: e.ref,
|
|
@@ -79698,7 +79698,7 @@ function wq(e) {
|
|
|
79698
79698
|
};
|
|
79699
79699
|
}), p;
|
|
79700
79700
|
}
|
|
79701
|
-
function
|
|
79701
|
+
function lJe(e, t, n) {
|
|
79702
79702
|
const r = qt(e, n);
|
|
79703
79703
|
if (!r) return;
|
|
79704
79704
|
const a = r.progress?.steps.find((i) => i.field);
|
|
@@ -79707,8 +79707,8 @@ function sJe(e, t, n) {
|
|
|
79707
79707
|
function xq(e) {
|
|
79708
79708
|
return e === "danger" || e === "warning" ? "down" : e === "success" ? "up" : void 0;
|
|
79709
79709
|
}
|
|
79710
|
-
const Cq = (e) => e === "both" ? ["mom", "yoy"] : e === "none" ? [] : [e],
|
|
79711
|
-
function
|
|
79710
|
+
const Cq = (e) => e === "both" ? ["mom", "yoy"] : e === "none" ? [] : [e], cJe = 6;
|
|
79711
|
+
function uJe({ values: e, label: t }) {
|
|
79712
79712
|
const { t: n } = Qe(), [r, a, i] = [120, 24, 2], o = Math.max(...e), s = Math.min(...e), l = o - s || 1, u = e.map((A, d) => [
|
|
79713
79713
|
i + d * (r - i * 2) / (e.length - 1),
|
|
79714
79714
|
a - i - (A - s) / l * (a - i * 2)
|
|
@@ -79770,7 +79770,7 @@ function Bq({
|
|
|
79770
79770
|
}
|
|
79771
79771
|
);
|
|
79772
79772
|
}
|
|
79773
|
-
function
|
|
79773
|
+
function AJe({
|
|
79774
79774
|
rows: e,
|
|
79775
79775
|
baseline: t,
|
|
79776
79776
|
item: n,
|
|
@@ -79784,7 +79784,7 @@ function uJe({
|
|
|
79784
79784
|
change: `${s > 0 ? "+" : ""}${pl(s, n.aggregate)}`
|
|
79785
79785
|
}) });
|
|
79786
79786
|
}
|
|
79787
|
-
function
|
|
79787
|
+
function dJe({
|
|
79788
79788
|
item: e,
|
|
79789
79789
|
card: t,
|
|
79790
79790
|
shown: n,
|
|
@@ -79793,7 +79793,7 @@ function AJe({
|
|
|
79793
79793
|
onAsk: i,
|
|
79794
79794
|
onList: o
|
|
79795
79795
|
}) {
|
|
79796
|
-
const { t: s, i18n: l } = Qe(), c = t.status === "ready" ? t : void 0, u = c?.value.kind === "value" ? c.value : void 0, A = u && c ? Lp(u.value, c.metric) : "—", d = e.tone === "danger" && typeof u?.value == "number" && u.value > 0, f = !!(u?.participants && u.bucketKey), h = !!u && (a || f), p = t.status === "off" ? s("workshopLab.objectMetric.notOffered") : t.status === "problem" ? t.text : c?.value.kind === "unavailable" ? s("workshopLab.objectMetric.unavailable") : void 0, g = c ? pq(s,
|
|
79796
|
+
const { t: s, i18n: l } = Qe(), c = t.status === "ready" ? t : void 0, u = c?.value.kind === "value" ? c.value : void 0, A = u && c ? Lp(u.value, c.metric) : "—", d = e.tone === "danger" && typeof u?.value == "number" && u.value > 0, f = !!(u?.participants && u.bucketKey), h = !!u && (a || f), p = t.status === "off" ? s("workshopLab.objectMetric.notOffered") : t.status === "problem" ? t.text : c?.value.kind === "unavailable" ? s("workshopLab.objectMetric.unavailable") : void 0, g = c ? pq(s, sJe(c)) : [], m = [
|
|
79797
79797
|
...g,
|
|
79798
79798
|
...u?.partial ?? [],
|
|
79799
79799
|
u && !h ? s("workshopLab.objectMetric.noDrill") : "",
|
|
@@ -79845,7 +79845,7 @@ function AJe({
|
|
|
79845
79845
|
);
|
|
79846
79846
|
return m.length > 0 ? /* @__PURE__ */ E.jsx(Hi, { title: /* @__PURE__ */ E.jsx(gq, { lines: m }), children: y }) : y;
|
|
79847
79847
|
}
|
|
79848
|
-
function
|
|
79848
|
+
function fJe({ config: e }) {
|
|
79849
79849
|
const {
|
|
79850
79850
|
title: t,
|
|
79851
79851
|
source: n,
|
|
@@ -79854,7 +79854,7 @@ function dJe({ config: e }) {
|
|
|
79854
79854
|
compare: i,
|
|
79855
79855
|
showNoData: o,
|
|
79856
79856
|
periodUnit: s = "month"
|
|
79857
|
-
} = e, { spec: l, kn: c, values: u, setValue: A } = gt(), d = (j) => j.compare ?? i ?? "none", f = r.some((j) => d(j) !== "none"), h = e.basis ?? (e.periodField ? "period" : "asOf"), p = h === "period" ? e.periodField ??
|
|
79857
|
+
} = e, { spec: l, kn: c, values: u, setValue: A } = gt(), d = (j) => j.compare ?? i ?? "none", f = r.some((j) => d(j) !== "none"), h = e.basis ?? (e.periodField ? "period" : "asOf"), p = h === "period" ? e.periodField ?? lJe(l, c, n) : void 0, g = {
|
|
79858
79858
|
basis: h,
|
|
79859
79859
|
unit: s,
|
|
79860
79860
|
...p ? { field: p } : {}
|
|
@@ -79868,9 +79868,9 @@ function dJe({ config: e }) {
|
|
|
79868
79868
|
round: m
|
|
79869
79869
|
}), C = r.some((j) => !Sc(j.metric)), B = Object.values(w).find((j) => j.status === "ready"), S = C ? p : B?.status === "ready" ? B.metric.timeField : void 0, k = qt(l, n)?.objectType ?? "", O = S && c.objectTypes[k]?.properties.find((j) => j.name === S)?.label || S || "", _ = $r(n, e.filters), M = br(l, u), { t: F, i18n: T } = Qe(), I = wk(l, a), L = I?.kind === "value" || I?.kind === "set" ? I : void 0, N = a ? u[a] : void 0, { firesOn: P, fire: $ } = Ps(e), R = P("card"), Q = F(`workshopLab.metric.units.${s}`), U = (j) => {
|
|
79870
79870
|
const K = (Y) => j ? dq(j.rows, j.source, Y, g) : [], H = K(M), W = (Y) => {
|
|
79871
|
-
const J =
|
|
79871
|
+
const J = rJe(M, g, Y);
|
|
79872
79872
|
return { day: J, range: IE(J, g), rows: K(J) };
|
|
79873
|
-
}, G = W("mom"), z = W("yoy"), X = (f && j ?
|
|
79873
|
+
}, G = W("mom"), z = W("yoy"), X = (f && j ? aJe(M, g, cJe) : []).map((Y) => ({ day: Y, rows: K(Y) })), q = { start: y1(M, s).start, end: M };
|
|
79874
79874
|
return /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
79875
79875
|
(f || h === "period") && /* @__PURE__ */ E.jsx("p", { className: re.kpiPeriod, children: h === "period" && S ? F("workshopLab.metric.byPeriod", {
|
|
79876
79876
|
span: NE(C ? IE(M, g) : q, F),
|
|
@@ -79881,7 +79881,7 @@ function dJe({ config: e }) {
|
|
|
79881
79881
|
const ne = w[J];
|
|
79882
79882
|
if (ne)
|
|
79883
79883
|
return /* @__PURE__ */ E.jsx(
|
|
79884
|
-
|
|
79884
|
+
dJe,
|
|
79885
79885
|
{
|
|
79886
79886
|
item: Y,
|
|
79887
79887
|
card: ne,
|
|
@@ -79906,7 +79906,7 @@ function dJe({ config: e }) {
|
|
|
79906
79906
|
},
|
|
79907
79907
|
J
|
|
79908
79908
|
);
|
|
79909
|
-
const ie = _ee(Y.when)?.values, ae = L?.kind === "set" ? N?.label === Y.label : !!L && (Y.when?.length ? ie !== void 0 && tR(N, ie) : Sk(N) === null), le = ki(H, Y, M), ue = pl(le, Y.aggregate), he = Y.tone === "danger" && typeof le == "number" && le > 0, _e = d(Y) !== "none" ?
|
|
79909
|
+
const ie = _ee(Y.when)?.values, ae = L?.kind === "set" ? N?.label === Y.label : !!L && (Y.when?.length ? ie !== void 0 && tR(N, ie) : Sk(N) === null), le = ki(H, Y, M), ue = pl(le, Y.aggregate), he = Y.tone === "danger" && typeof le == "number" && le > 0, _e = d(Y) !== "none" ? hJe(X.map(({ day: pe, rows: Be }) => ki(Be, Y, pe) ?? 0)) : null, Ae = () => Y.when?.length ? H.filter((pe) => Cl(pe, Y.when, M)) : H, de = () => {
|
|
79910
79910
|
if ($("card", {
|
|
79911
79911
|
rows: Ae(),
|
|
79912
79912
|
values: { "card.label": Y.label, value: ue }
|
|
@@ -79938,8 +79938,8 @@ function dJe({ config: e }) {
|
|
|
79938
79938
|
}
|
|
79939
79939
|
),
|
|
79940
79940
|
Y.description && /* @__PURE__ */ E.jsx("span", { className: re.kpiDescription, children: Y.description }),
|
|
79941
|
-
_e && /* @__PURE__ */ E.jsx(
|
|
79942
|
-
j?.baseline && /* @__PURE__ */ E.jsx(
|
|
79941
|
+
_e && /* @__PURE__ */ E.jsx(uJe, { values: _e, label: Y.label }),
|
|
79942
|
+
j?.baseline && /* @__PURE__ */ E.jsx(AJe, { rows: H, baseline: j.baseline, item: Y, asOf: M }),
|
|
79943
79943
|
[G, z].map((pe, Be) => {
|
|
79944
79944
|
const ke = Be === 0 ? "mom" : "yoy", Ce = d(Y);
|
|
79945
79945
|
if (Ce !== "both" && Ce !== ke || pe.rows.length === 0 && !o) return null;
|
|
@@ -79979,10 +79979,10 @@ function dJe({ config: e }) {
|
|
|
79979
79979
|
)
|
|
79980
79980
|
] });
|
|
79981
79981
|
}
|
|
79982
|
-
function
|
|
79982
|
+
function hJe(e) {
|
|
79983
79983
|
return e.filter((t) => t !== 0).length >= 2 ? e : null;
|
|
79984
79984
|
}
|
|
79985
|
-
function
|
|
79985
|
+
function pJe({ config: e }) {
|
|
79986
79986
|
const { t } = Qe(), { title: n, source: r, when: a, titleField: i, sortField: o, sortOrder: s } = e, { badgeField: l, limit: c, selection: u } = e, A = e.subtitleFields ?? [], { spec: d, values: f, setValue: h } = gt(), { buttonsOn: p } = Ps(e, { simulateOn: Ek.objectList }), g = p("row"), m = g.length > 0, v = br(d, f), y = $r(r, e.filters), b = u ? f[u] : void 0, w = y.status === "ready" ? y.rows.filter((C) => Cl(C, a, v)).sort(o ? iC(o, s) : () => 0) : [];
|
|
79987
79987
|
return /* @__PURE__ */ E.jsx(gr, { title: n, extra: /* @__PURE__ */ E.jsx("span", { className: re.muted, children: w.length }), children: /* @__PURE__ */ E.jsx(wo, { view: y, children: ({ source: C }) => w.length === 0 ? /* @__PURE__ */ E.jsx(SD, { label: C.label, filters: e.filters }) : /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
79988
79988
|
/* @__PURE__ */ E.jsx("ul", { className: re.list, children: w.slice(0, c).map((B) => /* @__PURE__ */ E.jsxs("li", { className: m ? re.listAskRow : void 0, children: [
|
|
@@ -80022,7 +80022,7 @@ function Sq({ variable: e, placeholder: t }) {
|
|
|
80022
80022
|
}
|
|
80023
80023
|
);
|
|
80024
80024
|
}
|
|
80025
|
-
function
|
|
80025
|
+
function gJe({ config: e }) {
|
|
80026
80026
|
const { title: t, placeholder: n, writes: r } = e;
|
|
80027
80027
|
return /* @__PURE__ */ E.jsx(gr, { title: t, children: /* @__PURE__ */ E.jsx(Sq, { variable: r, placeholder: n }) });
|
|
80028
80028
|
}
|
|
@@ -80074,16 +80074,16 @@ ${tq(i, a, l, n)}` : s,
|
|
|
80074
80074
|
}
|
|
80075
80075
|
);
|
|
80076
80076
|
}
|
|
80077
|
-
function
|
|
80077
|
+
function mJe({ row: e }) {
|
|
80078
80078
|
const { t } = Qe(), n = gt(), r = e[Do], a = Object.values(jo).find((s) => s.value === r)?.tone;
|
|
80079
80079
|
if (typeof r != "string" || !a) return null;
|
|
80080
|
-
const i = e[ak], o = r === jo.related.value && i ?
|
|
80080
|
+
const i = e[ak], o = r === jo.related.value && i ? dZe(n, t, i) : t(`workshopLab.scenario.markHint.${r}`);
|
|
80081
80081
|
return /* @__PURE__ */ E.jsx("span", { className: `${re.tag} ${re.scenarioMark}`, "data-tone": a, title: o, children: t(`workshopLab.scenario.mark.${r}`) });
|
|
80082
80082
|
}
|
|
80083
|
-
const
|
|
80084
|
-
() => import("./ConclusionApply-
|
|
80085
|
-
),
|
|
80086
|
-
function
|
|
80083
|
+
const vJe = x.lazy(
|
|
80084
|
+
() => import("./ConclusionApply-CG5wSeVp.js").then((e) => ({ default: e.ConclusionApply }))
|
|
80085
|
+
), yJe = 5;
|
|
80086
|
+
function bJe({ config: e }) {
|
|
80087
80087
|
const { t } = Qe(), { title: n, source: r, columns: a, sortField: i, sortOrder: o, pageSize: s, selection: l, quickFilter: c, search: u } = e, A = e.picks, d = e.cellFilters ?? [], { spec: f, values: h, setValue: p, models: g } = gt(), { buttonsOn: m } = Ps(e, { simulateOn: Ek.objectTable }), v = m("row"), y = br(f, h), b = $r(r, e.filters), w = $r(r, e.filters, [c]), C = wk(f, c), B = gk(), [S, k] = x.useState(!1), [O, _] = x.useState(!1), M = C?.kind === "value" ? e.quickField : void 0, F = JSON.stringify(
|
|
80088
80088
|
Object.entries(h).filter(([R]) => R !== l && R !== A)
|
|
80089
80089
|
), [T, I] = x.useState({ key: F, page: 1 }), L = T.key === F ? T.page : 1, N = l ? h[l] : void 0, P = A ? h[A]?.keys ?? [] : [], $ = (R) => A && p(
|
|
@@ -80093,7 +80093,7 @@ function yJe({ config: e }) {
|
|
|
80093
80093
|
return /* @__PURE__ */ E.jsx(gr, { title: n, children: /* @__PURE__ */ E.jsx(wo, { view: b, children: ({ rows: R, source: Q }) => {
|
|
80094
80094
|
const U = !!B && hJ(Q), j = !B && !!Q.model?.landing && g !== void 0, K = j && [...$1(f.sources, [Q.id])].every(
|
|
80095
80095
|
(z) => g.views[z]?.status === "fresh"
|
|
80096
|
-
), H = U && S ? R.filter((z) => z[Do]) : R, W = i ? [...H].sort(iC(i, o)) : H, G = M && w.status === "ready" ? Ou(Q, M).length > 0 ? Ou(Q, M) : [...nR(w.rows, M)].filter(([z]) => z !== "").sort((z, V) => V[1].length - z[1].length).slice(0,
|
|
80096
|
+
), H = U && S ? R.filter((z) => z[Do]) : R, W = i ? [...H].sort(iC(i, o)) : H, G = M && w.status === "ready" ? Ou(Q, M).length > 0 ? Ou(Q, M) : [...nR(w.rows, M)].filter(([z]) => z !== "").sort((z, V) => V[1].length - z[1].length).slice(0, yJe).map(([z]) => z) : [];
|
|
80097
80097
|
return /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
80098
80098
|
(M || u || U || j) && /* @__PURE__ */ E.jsxs("div", { className: re.toolbar, children: [
|
|
80099
80099
|
c && M && w.status === "ready" && /* @__PURE__ */ E.jsx(
|
|
@@ -80133,7 +80133,7 @@ function yJe({ config: e }) {
|
|
|
80133
80133
|
children: t("workshopLab.modelSource.act")
|
|
80134
80134
|
}
|
|
80135
80135
|
),
|
|
80136
|
-
O && j && /* @__PURE__ */ E.jsx(x.Suspense, { fallback: null, children: /* @__PURE__ */ E.jsx(
|
|
80136
|
+
O && j && /* @__PURE__ */ E.jsx(x.Suspense, { fallback: null, children: /* @__PURE__ */ E.jsx(vJe, { source: Q, onClose: () => _(!1) }) })
|
|
80137
80137
|
] }),
|
|
80138
80138
|
/* @__PURE__ */ E.jsx(
|
|
80139
80139
|
Mi,
|
|
@@ -80173,7 +80173,7 @@ function yJe({ config: e }) {
|
|
|
80173
80173
|
ellipsis: z.format === "text",
|
|
80174
80174
|
sorter: iC(z.field, "asc"),
|
|
80175
80175
|
render: (q, Y) => {
|
|
80176
|
-
const J = V === 0 && U && /* @__PURE__ */ E.jsx(
|
|
80176
|
+
const J = V === 0 && U && /* @__PURE__ */ E.jsx(mJe, { row: Y });
|
|
80177
80177
|
if (z.format === "tag")
|
|
80178
80178
|
return /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
80179
80179
|
J,
|
|
@@ -80230,30 +80230,30 @@ function yJe({ config: e }) {
|
|
|
80230
80230
|
] });
|
|
80231
80231
|
} }) });
|
|
80232
80232
|
}
|
|
80233
|
-
function
|
|
80233
|
+
function wJe(e, t) {
|
|
80234
80234
|
return Array.from(
|
|
80235
80235
|
{ length: t },
|
|
80236
80236
|
(n, r) => Math.max(0, ...e.map((a) => a.values[r] ?? 0))
|
|
80237
80237
|
);
|
|
80238
80238
|
}
|
|
80239
|
-
function
|
|
80239
|
+
function xJe(e, t) {
|
|
80240
80240
|
return e === null || !(e > 0) || !(t > 0) ? 0 : Math.min(100, e / t * 100);
|
|
80241
80241
|
}
|
|
80242
|
-
function
|
|
80242
|
+
function CJe(e) {
|
|
80243
80243
|
return [...e].reduce((t, n) => t + (n.charCodeAt(0) > 11903 ? 2 : 1), 0);
|
|
80244
80244
|
}
|
|
80245
|
-
function
|
|
80246
|
-
return Math.max(
|
|
80245
|
+
function BJe(e, t) {
|
|
80246
|
+
return Math.max(CJe(e), ...t.map((n) => n.length));
|
|
80247
80247
|
}
|
|
80248
|
-
function
|
|
80248
|
+
function SJe({ config: e }) {
|
|
80249
80249
|
const { title: t, source: n, dimension: r, measures: a, limit: i, bars: o, writes: s } = e, { spec: l, kn: c, values: u, setValue: A } = gt(), d = br(l, u), f = $r(n, e.filters), h = s ? u[s] : void 0, { buttonsOn: p } = Ps(e), g = p("row");
|
|
80250
80250
|
return /* @__PURE__ */ E.jsx(gr, { title: t, children: /* @__PURE__ */ E.jsx(wo, { view: f, children: ({ rows: m, source: v }) => {
|
|
80251
80251
|
const y = Ja(v, c).find((B) => B.name === r)?.label, b = [...nR(m, r)].map(([B, S]) => ({
|
|
80252
80252
|
key: B,
|
|
80253
80253
|
values: a.map((k) => ki(S, k, d)),
|
|
80254
80254
|
rows: S
|
|
80255
|
-
})).sort((B, S) => (S.values[0] ?? -1 / 0) - (B.values[0] ?? -1 / 0)).slice(0, i), w = o ?
|
|
80256
|
-
(B, S) =>
|
|
80255
|
+
})).sort((B, S) => (S.values[0] ?? -1 / 0) - (B.values[0] ?? -1 / 0)).slice(0, i), w = o ? wJe(b, a.length) : [], C = a.map(
|
|
80256
|
+
(B, S) => BJe(
|
|
80257
80257
|
B.label,
|
|
80258
80258
|
b.map((k) => pl(k.values[S], B.aggregate))
|
|
80259
80259
|
)
|
|
@@ -80289,7 +80289,7 @@ function BJe({ config: e }) {
|
|
|
80289
80289
|
render: (k, O) => {
|
|
80290
80290
|
const _ = pl(O.values[S], B.aggregate);
|
|
80291
80291
|
if (!o) return _;
|
|
80292
|
-
const M =
|
|
80292
|
+
const M = xJe(O.values[S], w[S]);
|
|
80293
80293
|
return /* @__PURE__ */ E.jsxs("span", { className: re.pivotBar, children: [
|
|
80294
80294
|
_,
|
|
80295
80295
|
/* @__PURE__ */ E.jsx("i", { style: { width: `${M}%` }, "aria-hidden": !0 })
|
|
@@ -80318,16 +80318,16 @@ function BJe({ config: e }) {
|
|
|
80318
80318
|
);
|
|
80319
80319
|
} }) });
|
|
80320
80320
|
}
|
|
80321
|
-
const vw = "九段线", Oq = "海南",
|
|
80322
|
-
function
|
|
80321
|
+
const vw = "九段线", Oq = "海南", EJe = 17.5, kJe = /* @__PURE__ */ new Set([Oq, vw, "广东", "广西", "台湾", "香港", "澳门"]), OJe = { right: "2%", bottom: "2%", width: "17%", height: "30%" };
|
|
80322
|
+
function _Je(e) {
|
|
80323
80323
|
if (e.properties.name !== Oq || e.geometry.type !== "MultiPolygon")
|
|
80324
80324
|
return e;
|
|
80325
80325
|
const t = e.geometry.coordinates.filter(
|
|
80326
|
-
(n) => n[0].some(([, r]) => r >=
|
|
80326
|
+
(n) => n[0].some(([, r]) => r >= EJe)
|
|
80327
80327
|
);
|
|
80328
80328
|
return { ...e, geometry: { ...e.geometry, coordinates: t } };
|
|
80329
80329
|
}
|
|
80330
|
-
function
|
|
80330
|
+
function MJe(e) {
|
|
80331
80331
|
let t = 0;
|
|
80332
80332
|
for (let n = 0; n < e.length; n++) {
|
|
80333
80333
|
const [r, a] = e[n], [i, o] = e[(n + 1) % e.length];
|
|
@@ -80339,19 +80339,19 @@ function _q(e) {
|
|
|
80339
80339
|
const { type: t, coordinates: n } = e.geometry;
|
|
80340
80340
|
if (t !== "Polygon" && t !== "MultiPolygon") return e;
|
|
80341
80341
|
const r = (i) => i.map((o, s) => {
|
|
80342
|
-
const l =
|
|
80342
|
+
const l = MJe(o) < 0;
|
|
80343
80343
|
return s === 0 === l ? o : [...o].reverse();
|
|
80344
80344
|
}), a = t === "Polygon" ? r(n) : n.map(r);
|
|
80345
80345
|
return { ...e, geometry: { ...e.geometry, coordinates: a } };
|
|
80346
80346
|
}
|
|
80347
80347
|
const H2 = /* @__PURE__ */ new Map();
|
|
80348
|
-
function
|
|
80348
|
+
function FJe(e) {
|
|
80349
80349
|
const t = H2.get(e);
|
|
80350
80350
|
if (t) return t;
|
|
80351
|
-
const n = e === "world" ?
|
|
80351
|
+
const n = e === "world" ? TJe() : IJe();
|
|
80352
80352
|
return H2.set(e, n), n.catch(() => H2.delete(e)), n;
|
|
80353
80353
|
}
|
|
80354
|
-
function
|
|
80354
|
+
function TJe() {
|
|
80355
80355
|
return import("./world-Djau1JyJ.js").then((e) => {
|
|
80356
80356
|
const t = e.default.features.map(_q);
|
|
80357
80357
|
return {
|
|
@@ -80363,12 +80363,12 @@ function FJe() {
|
|
|
80363
80363
|
};
|
|
80364
80364
|
});
|
|
80365
80365
|
}
|
|
80366
|
-
function
|
|
80366
|
+
function IJe() {
|
|
80367
80367
|
return import("./china-C6m7zXIv.js").then((e) => {
|
|
80368
80368
|
const t = e.default.features.map(_q);
|
|
80369
80369
|
return {
|
|
80370
|
-
mainland: t.filter((n) => n.properties.name !== vw).map(
|
|
80371
|
-
sea: t.filter((n) =>
|
|
80370
|
+
mainland: t.filter((n) => n.properties.name !== vw).map(_Je),
|
|
80371
|
+
sea: t.filter((n) => kJe.has(n.properties.name)),
|
|
80372
80372
|
centers: new Map(
|
|
80373
80373
|
t.filter((n) => n.properties.cp).map((n) => [n.properties.name, n.properties.cp])
|
|
80374
80374
|
)
|
|
@@ -80376,7 +80376,7 @@ function TJe() {
|
|
|
80376
80376
|
});
|
|
80377
80377
|
}
|
|
80378
80378
|
const b1 = (e, t = "china") => e == null || e === "" ? null : N8(String(e), t);
|
|
80379
|
-
function
|
|
80379
|
+
function LJe(e, t, n) {
|
|
80380
80380
|
const r = t.highlight ?? [], a = /* @__PURE__ */ new Map();
|
|
80381
80381
|
for (const i of e) {
|
|
80382
80382
|
const o = b1(i[t.regionField], t.basemap);
|
|
@@ -80389,7 +80389,7 @@ function IJe(e, t, n) {
|
|
|
80389
80389
|
raw: [...new Set(o.map((s) => String(s[t.regionField])))]
|
|
80390
80390
|
}));
|
|
80391
80391
|
}
|
|
80392
|
-
function
|
|
80392
|
+
function NJe(e, t, n, r, a = "china") {
|
|
80393
80393
|
const i = new Map(n.map((s) => [s.$key, b1(s[r], a)])), o = /* @__PURE__ */ new Map();
|
|
80394
80394
|
for (const { key: s, value: l } of t) {
|
|
80395
80395
|
const c = i.get(s), u = N8(l, a);
|
|
@@ -80402,7 +80402,7 @@ function LJe(e, t, n, r, a = "china") {
|
|
|
80402
80402
|
return { layer: e, from: c, to: u, count: l.size };
|
|
80403
80403
|
});
|
|
80404
80404
|
}
|
|
80405
|
-
function
|
|
80405
|
+
function PJe(e, t, n, r, a, i, o, s = (c) => c, l = () => {
|
|
80406
80406
|
}) {
|
|
80407
80407
|
const { centers: c } = t, u = new Map(n.map((y) => [y.name, y])), A = Math.max(1, ...n.map((y) => y.value)), d = Math.max(1, ...r.map((y) => y.count)), f = r.flatMap((y) => {
|
|
80408
80408
|
const b = c.get(y.from), w = c.get(y.to);
|
|
@@ -80482,7 +80482,7 @@ function NJe(e, t, n, r, a, i, o, s = (c) => c, l = () => {
|
|
|
80482
80482
|
interaction: { elementHighlight: { background: !1 } }
|
|
80483
80483
|
};
|
|
80484
80484
|
}
|
|
80485
|
-
function
|
|
80485
|
+
function $Je(e, t) {
|
|
80486
80486
|
return {
|
|
80487
80487
|
type: "geoView",
|
|
80488
80488
|
coordinate: { type: "mercator" },
|
|
@@ -80504,7 +80504,7 @@ function PJe(e, t) {
|
|
|
80504
80504
|
interaction: { tooltip: !1 }
|
|
80505
80505
|
};
|
|
80506
80506
|
}
|
|
80507
|
-
function
|
|
80507
|
+
function RJe({ config: e }) {
|
|
80508
80508
|
const { t, i18n: n } = Qe(), r = e, a = r.basemap ?? "china", i = x.useContext(kc), { spec: o, kn: s, run: l, values: c, setValue: u } = gt(), A = $r(r.source, r.filters), d = br(o, c), [f, h] = x.useState(null), p = r.writes ? c[r.writes] : void 0, g = qt(o, r.source), m = x.useMemo(
|
|
80509
80509
|
() => (r.links ?? []).flatMap((N) => {
|
|
80510
80510
|
const P = g ? Wo(s, g.objectType, N.path) : null;
|
|
@@ -80514,7 +80514,7 @@ function $Je({ config: e }) {
|
|
|
80514
80514
|
);
|
|
80515
80515
|
x.useEffect(() => {
|
|
80516
80516
|
let N = !0;
|
|
80517
|
-
return
|
|
80517
|
+
return FJe(a).then(
|
|
80518
80518
|
(P) => N && h(P),
|
|
80519
80519
|
() => {
|
|
80520
80520
|
}
|
|
@@ -80547,11 +80547,11 @@ function $Je({ config: e }) {
|
|
|
80547
80547
|
}))
|
|
80548
80548
|
)
|
|
80549
80549
|
), w = x.useMemo(
|
|
80550
|
-
() => A.status === "ready" ?
|
|
80550
|
+
() => A.status === "ready" ? LJe(A.rows, r, d) : [],
|
|
80551
80551
|
[A, r, d]
|
|
80552
80552
|
), C = x.useMemo(
|
|
80553
80553
|
() => A.status === "ready" && b.status === "ready" ? b.value.flatMap(
|
|
80554
|
-
(N) =>
|
|
80554
|
+
(N) => NJe(N.layer, N.pairs, A.rows, r.regionField, a)
|
|
80555
80555
|
) : [],
|
|
80556
80556
|
[A, b, r.regionField, a]
|
|
80557
80557
|
), B = A.status === "ready" ? A.rows.filter((N) => !b1(N[r.regionField], a)).length : 0, S = (n?.language ?? "zh").startsWith("zh"), k = x.useMemo(() => {
|
|
@@ -80563,7 +80563,7 @@ function $Je({ config: e }) {
|
|
|
80563
80563
|
);
|
|
80564
80564
|
return (P) => N.get(P) ?? P;
|
|
80565
80565
|
}, [f, S]), O = Sk(p), _ = O ? w.find((N) => O.every((P) => N.raw.includes(P)))?.name : void 0, M = x.useMemo(
|
|
80566
|
-
() => f ?
|
|
80566
|
+
() => f ? PJe(
|
|
80567
80567
|
i,
|
|
80568
80568
|
f,
|
|
80569
80569
|
w,
|
|
@@ -80588,7 +80588,7 @@ function $Je({ config: e }) {
|
|
|
80588
80588
|
u(r.writes, _ === $ ? null : Q.length === 1 ? Q[0] : Q);
|
|
80589
80589
|
}), L = f1(
|
|
80590
80590
|
x.useMemo(
|
|
80591
|
-
() => f && a === "china" ?
|
|
80591
|
+
() => f && a === "china" ? $Je(i, f) : null,
|
|
80592
80592
|
[f, i, a]
|
|
80593
80593
|
)
|
|
80594
80594
|
);
|
|
@@ -80612,7 +80612,7 @@ function $Je({ config: e }) {
|
|
|
80612
80612
|
/* @__PURE__ */ E.jsx(wo, { view: A, children: () => null }),
|
|
80613
80613
|
/* @__PURE__ */ E.jsxs("div", { className: re.mapArea, "data-fill": !0, children: [
|
|
80614
80614
|
/* @__PURE__ */ E.jsx("div", { ref: I, className: re.map }),
|
|
80615
|
-
a === "china" && /* @__PURE__ */ E.jsxs("div", { className: re.seaFrame, style:
|
|
80615
|
+
a === "china" && /* @__PURE__ */ E.jsxs("div", { className: re.seaFrame, style: OJe, "aria-hidden": !0, children: [
|
|
80616
80616
|
/* @__PURE__ */ E.jsx("div", { ref: L, className: re.seaMap }),
|
|
80617
80617
|
/* @__PURE__ */ E.jsx("span", { children: t("workshopLab.map.southSea") })
|
|
80618
80618
|
] })
|
|
@@ -80621,21 +80621,21 @@ function $Je({ config: e }) {
|
|
|
80621
80621
|
}
|
|
80622
80622
|
);
|
|
80623
80623
|
}
|
|
80624
|
-
const
|
|
80625
|
-
function
|
|
80624
|
+
const jJe = /\{(\$asOf|[A-Za-z][A-Za-z0-9_]*)\}/g;
|
|
80625
|
+
function DJe(e, t, n) {
|
|
80626
80626
|
return e.replace(
|
|
80627
|
-
|
|
80627
|
+
jJe,
|
|
80628
80628
|
(r, a) => a === "$asOf" ? n : t[a] ?? "—"
|
|
80629
80629
|
);
|
|
80630
80630
|
}
|
|
80631
|
-
function
|
|
80631
|
+
function UJe({ value: e, onFound: t }) {
|
|
80632
80632
|
const { spec: n, values: r } = gt(), a = $r(e.source, e.filters), i = br(n, r), o = a.status === "ready" ? pl(
|
|
80633
80633
|
ki(dq(a.rows, a.source, i, { basis: "asOf", unit: "month" }), e, i),
|
|
80634
80634
|
e.aggregate
|
|
80635
80635
|
) : null;
|
|
80636
80636
|
return x.useEffect(() => (t(e.name, o), () => t(e.name, null)), [t, e.name, o]), null;
|
|
80637
80637
|
}
|
|
80638
|
-
function
|
|
80638
|
+
function QJe({ value: e, onFound: t }) {
|
|
80639
80639
|
const n = wq({
|
|
80640
80640
|
items: [e],
|
|
80641
80641
|
source: e.source,
|
|
@@ -80647,7 +80647,7 @@ function UJe({ value: e, onFound: t }) {
|
|
|
80647
80647
|
})[0], r = n?.status === "ready" && n.value.kind === "value" ? Lp(n.value.value, n.metric) : null;
|
|
80648
80648
|
return x.useEffect(() => (t(e.name, r), () => t(e.name, null)), [t, e.name, r]), null;
|
|
80649
80649
|
}
|
|
80650
|
-
function
|
|
80650
|
+
function HJe({ config: e }) {
|
|
80651
80651
|
const { title: t, content: n = "", values: r = [] } = e, { spec: a, values: i } = gt(), [o, s] = x.useState({}), [l] = x.useState(
|
|
80652
80652
|
() => (c, u) => s((A) => {
|
|
80653
80653
|
if ((A[c] ?? null) === u) return A;
|
|
@@ -80657,18 +80657,18 @@ function QJe({ config: e }) {
|
|
|
80657
80657
|
);
|
|
80658
80658
|
return /* @__PURE__ */ E.jsxs(gr, { title: t, children: [
|
|
80659
80659
|
r.map(
|
|
80660
|
-
(c, u) => Sc(c.metric) ? /* @__PURE__ */ E.jsx(
|
|
80660
|
+
(c, u) => Sc(c.metric) ? /* @__PURE__ */ E.jsx(QJe, { value: c, onFound: l }, `${u}-${c.name}`) : /* @__PURE__ */ E.jsx(UJe, { value: c, onFound: l }, `${u}-${c.name}`)
|
|
80661
80661
|
),
|
|
80662
80662
|
/* @__PURE__ */ E.jsx("div", { className: re.text, children: /* @__PURE__ */ E.jsx(
|
|
80663
80663
|
pD,
|
|
80664
80664
|
{
|
|
80665
|
-
text:
|
|
80665
|
+
text: DJe(n, o, br(a, i)),
|
|
80666
80666
|
tone: a.theme.mode === "dark" ? "dark" : "light"
|
|
80667
80667
|
}
|
|
80668
80668
|
) })
|
|
80669
80669
|
] });
|
|
80670
80670
|
}
|
|
80671
|
-
function
|
|
80671
|
+
function zJe({ config: e }) {
|
|
80672
80672
|
const { title: t, source: n, field: r, options: a, showCounts: i, writes: o } = e, s = $r(n, e.filters);
|
|
80673
80673
|
return /* @__PURE__ */ E.jsx(gr, { title: t, children: /* @__PURE__ */ E.jsx(wo, { view: s, children: ({ rows: l }) => /* @__PURE__ */ E.jsx(
|
|
80674
80674
|
Eq,
|
|
@@ -80682,7 +80682,7 @@ function HJe({ config: e }) {
|
|
|
80682
80682
|
}
|
|
80683
80683
|
) }) });
|
|
80684
80684
|
}
|
|
80685
|
-
function
|
|
80685
|
+
function KJe(e, t, n) {
|
|
80686
80686
|
const r = /* @__PURE__ */ new Map();
|
|
80687
80687
|
for (const a of e) {
|
|
80688
80688
|
const i = a[t];
|
|
@@ -80692,7 +80692,7 @@ function zJe(e, t, n) {
|
|
|
80692
80692
|
}
|
|
80693
80693
|
return [...r].map(([a, i]) => ({ value: a, label: fl(n, t, a), count: i })).sort((a, i) => i.count - a.count || a.label.localeCompare(i.label));
|
|
80694
80694
|
}
|
|
80695
|
-
function
|
|
80695
|
+
function GJe({ config: e }) {
|
|
80696
80696
|
const { t } = Qe(), {
|
|
80697
80697
|
title: n,
|
|
80698
80698
|
source: r,
|
|
@@ -80702,7 +80702,7 @@ function KJe({ config: e }) {
|
|
|
80702
80702
|
placeholder: s,
|
|
80703
80703
|
writes: l
|
|
80704
80704
|
} = e, { values: c, setValue: u } = gt(), A = $r(r, e.filters, [l]), d = Sk(c[l]) ?? [], f = x.useMemo(
|
|
80705
|
-
() => A.status === "ready" ?
|
|
80705
|
+
() => A.status === "ready" ? KJe(A.rows, a, A.source) : [],
|
|
80706
80706
|
[A, a]
|
|
80707
80707
|
), h = (p) => u(l, p.length > 0 ? p : void 0);
|
|
80708
80708
|
return /* @__PURE__ */ E.jsx(gr, { title: n, children: /* @__PURE__ */ E.jsx(wo, { view: A, children: () => /* @__PURE__ */ E.jsx(
|
|
@@ -80775,8 +80775,8 @@ function Mq({
|
|
|
80775
80775
|
}
|
|
80776
80776
|
);
|
|
80777
80777
|
}
|
|
80778
|
-
const
|
|
80779
|
-
function
|
|
80778
|
+
const VJe = 20;
|
|
80779
|
+
function WJe({ config: e }) {
|
|
80780
80780
|
const { t } = Qe(), { title: n, source: r, stages: a } = e, i = $r(r, e.filters), [o, s] = x.useState(null), l = i.status === "ready" && i.rows.length < i.all.length, c = i.status === "ready" && l ? i.rows.map((f) => f.$key) : null, { firesOn: u, fire: A } = Ps(e), d = u("stage") ? (f, h) => A("stage", {
|
|
80781
80781
|
rows: i.status === "ready" ? i.rows : [],
|
|
80782
80782
|
values: { "stage.label": f.label, ...h !== void 0 ? { count: h } : {} }
|
|
@@ -80789,7 +80789,7 @@ function VJe({ config: e }) {
|
|
|
80789
80789
|
extra: /* @__PURE__ */ E.jsx("span", { className: re.muted, children: t(l ? "workshopLab.chain.scoped" : "workshopLab.chain.all") }),
|
|
80790
80790
|
children: /* @__PURE__ */ E.jsx(wo, { view: i, children: ({ source: f }) => /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
80791
80791
|
/* @__PURE__ */ E.jsx("div", { className: re.stages, children: a.map((h, p) => /* @__PURE__ */ E.jsx(
|
|
80792
|
-
|
|
80792
|
+
YJe,
|
|
80793
80793
|
{
|
|
80794
80794
|
stage: h,
|
|
80795
80795
|
source: f,
|
|
@@ -80808,14 +80808,14 @@ function VJe({ config: e }) {
|
|
|
80808
80808
|
path: a[o].path,
|
|
80809
80809
|
fields: a[o].fields ?? [],
|
|
80810
80810
|
keys: a[o].path ? c : null,
|
|
80811
|
-
limit:
|
|
80811
|
+
limit: VJe
|
|
80812
80812
|
}
|
|
80813
80813
|
) })
|
|
80814
80814
|
] }) })
|
|
80815
80815
|
}
|
|
80816
80816
|
);
|
|
80817
80817
|
}
|
|
80818
|
-
function
|
|
80818
|
+
function YJe({
|
|
80819
80819
|
stage: e,
|
|
80820
80820
|
source: t,
|
|
80821
80821
|
keys: n,
|
|
@@ -80853,7 +80853,7 @@ function WJe({
|
|
|
80853
80853
|
return c ? h : /* @__PURE__ */ E.jsx(Hi, { title: o("workshopLab.chain.unlinked"), children: h });
|
|
80854
80854
|
}
|
|
80855
80855
|
const z2 = 1e3;
|
|
80856
|
-
function
|
|
80856
|
+
function XJe(e) {
|
|
80857
80857
|
const { t } = Qe(), { spec: n, kn: r, values: a } = gt(), i = q8(), o = br(n, a), s = qt(n, e.source), l = R1(e.filters), c = e.enabled ? e.series.map((j) => Sc(j.metric)) : [], u = bq(
|
|
80858
80858
|
r,
|
|
80859
80859
|
c.filter((j) => j !== void 0),
|
|
@@ -81005,14 +81005,14 @@ function YJe(e) {
|
|
|
81005
81005
|
caption: [...new Set(U)]
|
|
81006
81006
|
};
|
|
81007
81007
|
}
|
|
81008
|
-
const U5 = ["day", "week", "month", "quarter"],
|
|
81008
|
+
const U5 = ["day", "week", "month", "quarter"], qJe = /[\u1100-\u115f\u2e80-\ua4cf\uac00-\ud7a3\uf900-\ufaff\ufe30-\ufe4f\uff00-\uff60\uffe0-\uffe6]/u;
|
|
81009
81009
|
function w1(e) {
|
|
81010
81010
|
let t = 0;
|
|
81011
|
-
for (const n of e) t +=
|
|
81011
|
+
for (const n of e) t += qJe.test(n) ? 2 : 1;
|
|
81012
81012
|
return t;
|
|
81013
81013
|
}
|
|
81014
|
-
const
|
|
81015
|
-
function Q5(e, t =
|
|
81014
|
+
const ZJe = 8, JJe = 20;
|
|
81015
|
+
function Q5(e, t = JJe) {
|
|
81016
81016
|
if (w1(e) <= t) return e;
|
|
81017
81017
|
let n = "";
|
|
81018
81018
|
for (const r of e) {
|
|
@@ -81022,9 +81022,9 @@ function Q5(e, t = ZJe) {
|
|
|
81022
81022
|
return `${n}…`;
|
|
81023
81023
|
}
|
|
81024
81024
|
function H5(e, t, n, r = "auto") {
|
|
81025
|
-
return !e || !t.length || t.some((a) => a.chart !== "bar") ? !1 : r !== "auto" ? r === "horizontal" : n.some((a) => w1(a) >
|
|
81025
|
+
return !e || !t.length || t.some((a) => a.chart !== "bar") ? !1 : r !== "auto" ? r === "horizontal" : n.some((a) => w1(a) > ZJe);
|
|
81026
81026
|
}
|
|
81027
|
-
const
|
|
81027
|
+
const eet = 8, z5 = 6, x1 = "其他", Nh = (e) => e.toISOString().slice(0, 10), LM = (e) => /* @__PURE__ */ new Date(`${e}T00:00:00Z`);
|
|
81028
81028
|
function C1(e, t = "month") {
|
|
81029
81029
|
if (t === "day") return e.slice(0, 10);
|
|
81030
81030
|
if (t === "month") return e.slice(0, 7);
|
|
@@ -81043,7 +81043,7 @@ function PA(e, t = "month") {
|
|
|
81043
81043
|
to: Nh(new Date(Date.UTC(n, r - 1 + a, 0)))
|
|
81044
81044
|
};
|
|
81045
81045
|
}
|
|
81046
|
-
const
|
|
81046
|
+
const tet = 0.35;
|
|
81047
81047
|
function K5(e, t, n = "month") {
|
|
81048
81048
|
const r = [];
|
|
81049
81049
|
let a = C1(e, n);
|
|
@@ -81054,7 +81054,7 @@ function K5(e, t, n = "month") {
|
|
|
81054
81054
|
}
|
|
81055
81055
|
return r;
|
|
81056
81056
|
}
|
|
81057
|
-
function
|
|
81057
|
+
function net(e, t, n, r, a = "month") {
|
|
81058
81058
|
return t.map((i) => {
|
|
81059
81059
|
const o = new Map(n.map((s) => [s, []]));
|
|
81060
81060
|
for (const s of e) {
|
|
@@ -81090,7 +81090,7 @@ function Tq(e, t) {
|
|
|
81090
81090
|
danger: e.colorDanger
|
|
81091
81091
|
}[t];
|
|
81092
81092
|
}
|
|
81093
|
-
function
|
|
81093
|
+
function ret(e, t, n) {
|
|
81094
81094
|
const r = Ou(e, t);
|
|
81095
81095
|
if (r.length === 0) return null;
|
|
81096
81096
|
const a = {};
|
|
@@ -81100,7 +81100,7 @@ function net(e, t, n) {
|
|
|
81100
81100
|
}
|
|
81101
81101
|
return { order: r.map((i) => Za(t, i)), colors: a };
|
|
81102
81102
|
}
|
|
81103
|
-
function
|
|
81103
|
+
function aet(e, t, n) {
|
|
81104
81104
|
return e.flatMap((r) => n.map((a) => yw(e, r, t, a)));
|
|
81105
81105
|
}
|
|
81106
81106
|
const Iq = (e, t, n) => {
|
|
@@ -81111,11 +81111,11 @@ const Iq = (e, t, n) => {
|
|
|
81111
81111
|
const a = r === x1 ? x1 : Za(n, r);
|
|
81112
81112
|
return e.length === 1 ? a : `${t.label} · ${a}`;
|
|
81113
81113
|
};
|
|
81114
|
-
function
|
|
81114
|
+
function iet(e, t, n, r, a, i, o) {
|
|
81115
81115
|
const s = i ? o ?? NM(e, i) : [], l = i ? s : [void 0];
|
|
81116
81116
|
return t.flatMap(
|
|
81117
81117
|
(c) => l.flatMap((u) => {
|
|
81118
|
-
const A = i && u !== void 0 ? e.filter((f) => Iq(f, i, s) === u) : e, [d] =
|
|
81118
|
+
const A = i && u !== void 0 ? e.filter((f) => Iq(f, i, s) === u) : e, [d] = net(A, [c], n, r, a);
|
|
81119
81119
|
return n.map((f, h) => ({
|
|
81120
81120
|
month: f,
|
|
81121
81121
|
series: yw(t, c, i, u),
|
|
@@ -81124,7 +81124,7 @@ function aet(e, t, n, r, a, i, o) {
|
|
|
81124
81124
|
})
|
|
81125
81125
|
);
|
|
81126
81126
|
}
|
|
81127
|
-
function
|
|
81127
|
+
function oet(e, t, n, r, a, i, o, s = "value") {
|
|
81128
81128
|
const l = /* @__PURE__ */ new Map();
|
|
81129
81129
|
for (const g of e) {
|
|
81130
81130
|
const m = String(g[n] ?? "");
|
|
@@ -81149,7 +81149,7 @@ function iet(e, t, n, r, a, i, o, s = "value") {
|
|
|
81149
81149
|
}
|
|
81150
81150
|
const G5 = (e, t, n) => e.some((r) => r.chart === n && (r.label === t || t.startsWith(`${r.label} · `))) || e.length === 1 && e[0].chart === n;
|
|
81151
81151
|
function K2(e, t, n, r, a, i = {}) {
|
|
81152
|
-
const o = (y) => a && y.month !== a ?
|
|
81152
|
+
const o = (y) => a && y.month !== a ? tet : 1, s = [...new Set(r.map((y) => y.series))], l = i.colorOrder ?? [], c = (y) => {
|
|
81153
81153
|
const b = y.filter((B) => !l.includes(B)), w = [...l.filter((B) => y.includes(B)), ...b], C = (B) => l.includes(B) ? l.indexOf(B) : l.length + b.indexOf(B);
|
|
81154
81154
|
return {
|
|
81155
81155
|
domain: w,
|
|
@@ -81211,14 +81211,14 @@ function K2(e, t, n, r, a, i = {}) {
|
|
|
81211
81211
|
]
|
|
81212
81212
|
};
|
|
81213
81213
|
}
|
|
81214
|
-
function
|
|
81214
|
+
function set({ config: e }) {
|
|
81215
81215
|
const { t } = Qe(), { title: n, source: r, months: a, series: i, writes: o } = e, {
|
|
81216
81216
|
axis: s = "time",
|
|
81217
81217
|
category: l,
|
|
81218
|
-
limit: c =
|
|
81218
|
+
limit: c = eet,
|
|
81219
81219
|
sort: u,
|
|
81220
81220
|
orientation: A = "auto"
|
|
81221
|
-
} = e, d = s === "category" && !!l, f = x.useContext(kc), { spec: h, values: p, setValue: g } = gt(), m = $r(r, e.filters), v = br(h, p), y = i.length > 0 && i.every((G) => Sc(G.metric)), [b, w] = x.useState(0), [C, B] = x.useState(null), S =
|
|
81221
|
+
} = e, d = s === "category" && !!l, f = x.useContext(kc), { spec: h, values: p, setValue: g } = gt(), m = $r(r, e.filters), v = br(h, p), y = i.length > 0 && i.every((G) => Sc(G.metric)), [b, w] = x.useState(0), [C, B] = x.useState(null), S = XJe({
|
|
81222
81222
|
series: i,
|
|
81223
81223
|
source: r,
|
|
81224
81224
|
filters: e.filters,
|
|
@@ -81237,14 +81237,14 @@ function oet({ config: e }) {
|
|
|
81237
81237
|
enabled: y
|
|
81238
81238
|
}), k = S.status === "ready" ? U5.find((G) => G === S.grain) : void 0, O = y ? k ?? "month" : e.grain ?? "month", _ = y ? void 0 : e.segmentBy, M = o ? mk(p[o]) : null, F = M?.from ? C1(M.from, O) : null, T = F && M?.to && PA(F, O).from === M.from && PA(F, O).to === M.to ? F : null, I = d ? o && typeof p[o] == "string" ? p[o] : null : T, L = d && I && l ? Za(l, I) : I, N = x.useMemo(() => K5(v, a, O), [v, a, O]), P = x.useMemo(() => {
|
|
81239
81239
|
if (y || m.status !== "ready") return null;
|
|
81240
|
-
const G = _ ? Ou(m.source, _) : [], z = _ ? new Set(m.all.map((ae) => String(ae[_] ?? ""))) : null, V = _ ? G.length > 0 ? G.filter((ae) => z?.has(ae)) : NM(m.all, _) : void 0, X = i.length === 1 && i[0].chart === "pie", q = X && l ?
|
|
81240
|
+
const G = _ ? Ou(m.source, _) : [], z = _ ? new Set(m.all.map((ae) => String(ae[_] ?? ""))) : null, V = _ ? G.length > 0 ? G.filter((ae) => z?.has(ae)) : NM(m.all, _) : void 0, X = i.length === 1 && i[0].chart === "pie", q = X && l ? ret(m.source, l, f) : null, Y = X && l ? q?.order ?? Fq(m.all, l).map((ae) => Za(l, ae)) : V && _ ? aet(i, _, V) : void 0, J = q ? q.colors : _ && V && G.length > 0 ? Object.fromEntries(
|
|
81241
81241
|
V.flatMap((ae) => {
|
|
81242
81242
|
const le = sk(m.source, _, ae), ue = le && Tq(f, le);
|
|
81243
81243
|
return ue ? i.map((he) => [yw(i, he, _, ae), ue]) : [];
|
|
81244
81244
|
})
|
|
81245
81245
|
) : void 0, ne = { segmented: !!_, colorOrder: Y, colors: J };
|
|
81246
81246
|
if (d) {
|
|
81247
|
-
const { categories: ae, data: le } =
|
|
81247
|
+
const { categories: ae, data: le } = oet(
|
|
81248
81248
|
m.rows,
|
|
81249
81249
|
i,
|
|
81250
81250
|
l,
|
|
@@ -81259,7 +81259,7 @@ function oet({ config: e }) {
|
|
|
81259
81259
|
horizontal: H5(!0, i, ae, A)
|
|
81260
81260
|
});
|
|
81261
81261
|
}
|
|
81262
|
-
const ie =
|
|
81262
|
+
const ie = iet(m.rows, i, N, v, O, _, V);
|
|
81263
81263
|
return K2(f, N, i, ie, I, ne);
|
|
81264
81264
|
}, [
|
|
81265
81265
|
y,
|
|
@@ -81347,7 +81347,7 @@ function oet({ config: e }) {
|
|
|
81347
81347
|
...W.length > 0 ? { titleTip: /* @__PURE__ */ E.jsx(gq, { lines: W }) } : {},
|
|
81348
81348
|
extra: o && /* @__PURE__ */ E.jsx("span", { className: re.muted, children: t(d ? "workshopLab.chart.hintCategory" : "workshopLab.chart.hint") }),
|
|
81349
81349
|
children: [
|
|
81350
|
-
y ? /* @__PURE__ */ E.jsx(
|
|
81350
|
+
y ? /* @__PURE__ */ E.jsx(cet, { chart: S }) : /* @__PURE__ */ E.jsx(wo, { view: m, children: () => null }),
|
|
81351
81351
|
/* @__PURE__ */ E.jsx("div", { ref: H, className: re.chart, "data-clickable": !!o || j, "data-fill": !0 }),
|
|
81352
81352
|
y && S.status === "ready" && S.notes.length > 0 && /* @__PURE__ */ E.jsx("p", { className: re.chartNotes, children: S.notes.map((G) => /* @__PURE__ */ E.jsx("span", { className: re.kpiNote, children: G }, G)) }),
|
|
81353
81353
|
/* @__PURE__ */ E.jsx(
|
|
@@ -81364,12 +81364,12 @@ function oet({ config: e }) {
|
|
|
81364
81364
|
}
|
|
81365
81365
|
);
|
|
81366
81366
|
}
|
|
81367
|
-
function
|
|
81367
|
+
function cet({ chart: e }) {
|
|
81368
81368
|
const { t } = Qe();
|
|
81369
81369
|
return e.status === "loading" ? /* @__PURE__ */ E.jsx(Ii, { size: "small" }) : e.status === "off" ? /* @__PURE__ */ E.jsx(zo, { text: t("workshopLab.objectMetric.notOffered") }) : e.status !== "problem" ? null : /* @__PURE__ */ E.jsx(Hi, { title: e.reason, children: /* @__PURE__ */ E.jsx("span", { children: /* @__PURE__ */ E.jsx(zo, { text: e.text }) }) });
|
|
81370
81370
|
}
|
|
81371
81371
|
const V5 = (e) => typeof e == "string" || typeof e == "number" ? String(e).trim() : "";
|
|
81372
|
-
function
|
|
81372
|
+
function uet(e, t, n) {
|
|
81373
81373
|
const r = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map();
|
|
81374
81374
|
for (const { config: o } of $X(e)) {
|
|
81375
81375
|
const s = o.source ? qt(e, o.source) : void 0;
|
|
@@ -81406,7 +81406,7 @@ function cet(e, t, n) {
|
|
|
81406
81406
|
};
|
|
81407
81407
|
}
|
|
81408
81408
|
const Ji = "", G2 = 30, W5 = [], V2 = {}, e0 = [], Y5 = (e, t) => `${String(t ?? "—")}${e.unit ?? ""}`;
|
|
81409
|
-
function
|
|
81409
|
+
function Aet({
|
|
81410
81410
|
config: e,
|
|
81411
81411
|
source: t,
|
|
81412
81412
|
toolbar: n
|
|
@@ -81676,11 +81676,11 @@ function uet({
|
|
|
81676
81676
|
] })
|
|
81677
81677
|
] });
|
|
81678
81678
|
}
|
|
81679
|
-
const
|
|
81680
|
-
() => import("./ScenarioApply-
|
|
81679
|
+
const det = x.lazy(
|
|
81680
|
+
() => import("./ScenarioApply-BNFfjIwR.js").then((e) => ({ default: e.ScenarioApply }))
|
|
81681
81681
|
), F0 = "";
|
|
81682
|
-
function
|
|
81683
|
-
return e.style === "assumptions" ? /* @__PURE__ */ E.jsx(
|
|
81682
|
+
function fet({ config: e }) {
|
|
81683
|
+
return e.style === "assumptions" ? /* @__PURE__ */ E.jsx(met, { config: e }) : /* @__PURE__ */ E.jsx(get, { config: e });
|
|
81684
81684
|
}
|
|
81685
81685
|
function PE() {
|
|
81686
81686
|
const { t: e } = Qe(), { models: t } = gt();
|
|
@@ -81704,7 +81704,7 @@ function PE() {
|
|
|
81704
81704
|
r && /* @__PURE__ */ E.jsx("span", { className: re.muted, children: uD(r, e) })
|
|
81705
81705
|
] });
|
|
81706
81706
|
}
|
|
81707
|
-
function
|
|
81707
|
+
function het({ appId: e, id: t }) {
|
|
81708
81708
|
const { t: n } = Qe(), r = rR(e, t);
|
|
81709
81709
|
return e ? r === "failed" ? /* @__PURE__ */ E.jsxs("span", { "aria-live": "polite", children: [
|
|
81710
81710
|
/* @__PURE__ */ E.jsx(_F.Text, { type: "danger", children: n("workshopLab.scenario.sync.saveFailed") }),
|
|
@@ -81713,7 +81713,7 @@ function fet({ appId: e, id: t }) {
|
|
|
81713
81713
|
r === "saving" ? "workshopLab.scenario.sync.saving" : "workshopLab.scenario.sync.saved"
|
|
81714
81714
|
) }) : null;
|
|
81715
81715
|
}
|
|
81716
|
-
function
|
|
81716
|
+
function pet() {
|
|
81717
81717
|
const { t: e } = Qe(), { spec: t } = gt(), { create: n, createByValues: r, creating: a } = sA(), i = (t.scenarioParams ?? []).filter((o) => (o.options?.length ?? 0) > 0);
|
|
81718
81718
|
return i.length === 0 ? /* @__PURE__ */ E.jsx(Ge, { size: "small", icon: /* @__PURE__ */ E.jsx($o, {}), loading: a, onClick: () => {
|
|
81719
81719
|
n();
|
|
@@ -81742,7 +81742,7 @@ function het() {
|
|
|
81742
81742
|
}
|
|
81743
81743
|
);
|
|
81744
81744
|
}
|
|
81745
|
-
function
|
|
81745
|
+
function get({ config: e }) {
|
|
81746
81746
|
const { t } = Qe(), { title: n, style: r } = e, { spec: a, models: i, appId: o = "" } = gt(), { scenarios: s, current: l, select: c, change: u, create: A, creating: d, now: f } = sA(), h = rR(o, l?.id), p = qt(a, e.source), g = Array.isArray(e.measures) ? e.measures : [], m = r !== "compact" && p !== void 0 && g.length > 0, [v, y] = x.useState(!1), [b, w] = x.useState(null), [C, B] = x.useState(!1), [S, k] = x.useState(!1), O = (L) => t(`workshopLab.scenario.status.${L.status}`), _ = a.sources.filter((L) => L.model?.landing), M = l !== void 0 && (l.status === "saved" || l.status === "partial" || l.status === "draft") && (l.edits.length > 0 || _.length > 0);
|
|
81747
81747
|
x.useEffect(() => {
|
|
81748
81748
|
!S || !l || l.status === "draft" || h === "saved" && (k(!1), B(!0));
|
|
@@ -81752,7 +81752,7 @@ function pet({ config: e }) {
|
|
|
81752
81752
|
a.sources,
|
|
81753
81753
|
_.map((L) => L.id)
|
|
81754
81754
|
)
|
|
81755
|
-
].some((L) => i?.views[L]?.status !== "fresh"), T = /* @__PURE__ */ E.jsx(
|
|
81755
|
+
].some((L) => i?.views[L]?.status !== "fresh"), T = /* @__PURE__ */ E.jsx(pet, {}), I = l ? /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
81756
81756
|
/* @__PURE__ */ E.jsx(
|
|
81757
81757
|
Ge,
|
|
81758
81758
|
{
|
|
@@ -81781,7 +81781,7 @@ function pet({ config: e }) {
|
|
|
81781
81781
|
children: t("workshopLab.scenario.applyButton")
|
|
81782
81782
|
}
|
|
81783
81783
|
),
|
|
81784
|
-
/* @__PURE__ */ E.jsx(
|
|
81784
|
+
/* @__PURE__ */ E.jsx(het, { appId: o, id: l.id }),
|
|
81785
81785
|
nc(l) && /* @__PURE__ */ E.jsx(
|
|
81786
81786
|
Hp,
|
|
81787
81787
|
{
|
|
@@ -81802,7 +81802,7 @@ function pet({ config: e }) {
|
|
|
81802
81802
|
/* @__PURE__ */ E.jsx(PE, {})
|
|
81803
81803
|
] });
|
|
81804
81804
|
return /* @__PURE__ */ E.jsxs(gr, { title: n, extra: m ? T : void 0, children: [
|
|
81805
|
-
m ? /* @__PURE__ */ E.jsx(
|
|
81805
|
+
m ? /* @__PURE__ */ E.jsx(Aet, { config: e, source: p, toolbar: I }) : /* @__PURE__ */ E.jsxs("div", { className: re.scenarioBar, children: [
|
|
81806
81806
|
/* @__PURE__ */ E.jsx(
|
|
81807
81807
|
Gt,
|
|
81808
81808
|
{
|
|
@@ -81856,11 +81856,11 @@ function pet({ config: e }) {
|
|
|
81856
81856
|
)
|
|
81857
81857
|
}
|
|
81858
81858
|
),
|
|
81859
|
-
l && v && /* @__PURE__ */ E.jsx(
|
|
81860
|
-
l && C && /* @__PURE__ */ E.jsx(x.Suspense, { fallback: null, children: /* @__PURE__ */ E.jsx(
|
|
81859
|
+
l && v && /* @__PURE__ */ E.jsx(bet, { scenario: l, onClose: () => y(!1) }),
|
|
81860
|
+
l && C && /* @__PURE__ */ E.jsx(x.Suspense, { fallback: null, children: /* @__PURE__ */ E.jsx(det, { scenario: l, onClose: () => B(!1) }) })
|
|
81861
81861
|
] });
|
|
81862
81862
|
}
|
|
81863
|
-
function
|
|
81863
|
+
function met({ config: e }) {
|
|
81864
81864
|
const { t } = Qe(), { spec: n } = gt(), { current: r, setParam: a } = sA(), [i, o] = x.useState(!1), s = n.scenarioParams ?? [], l = T1(s, r), c = typeof e.title == "string" && e.title ? e.title : void 0;
|
|
81865
81865
|
return /* @__PURE__ */ E.jsxs(
|
|
81866
81866
|
gr,
|
|
@@ -81874,7 +81874,7 @@ function get({ config: e }) {
|
|
|
81874
81874
|
name: r?.name ?? t("workshopLab.scenario.fact")
|
|
81875
81875
|
}) }),
|
|
81876
81876
|
s.length > 0 && /* @__PURE__ */ E.jsx("div", { className: re.assumptionParams, children: s.map((u) => /* @__PURE__ */ E.jsx(
|
|
81877
|
-
|
|
81877
|
+
vet,
|
|
81878
81878
|
{
|
|
81879
81879
|
param: u,
|
|
81880
81880
|
value: l[u.name],
|
|
@@ -81897,12 +81897,12 @@ function get({ config: e }) {
|
|
|
81897
81897
|
}
|
|
81898
81898
|
)
|
|
81899
81899
|
] }),
|
|
81900
|
-
i && /* @__PURE__ */ E.jsx(
|
|
81900
|
+
i && /* @__PURE__ */ E.jsx(yet, { onClose: () => o(!1) })
|
|
81901
81901
|
]
|
|
81902
81902
|
}
|
|
81903
81903
|
);
|
|
81904
81904
|
}
|
|
81905
|
-
function
|
|
81905
|
+
function vet({
|
|
81906
81906
|
param: e,
|
|
81907
81907
|
value: t,
|
|
81908
81908
|
onChange: n
|
|
@@ -81946,7 +81946,7 @@ function met({
|
|
|
81946
81946
|
e.unit && /* @__PURE__ */ E.jsx("span", { className: re.muted, children: e.unit })
|
|
81947
81947
|
] });
|
|
81948
81948
|
}
|
|
81949
|
-
function
|
|
81949
|
+
function yet({ onClose: e }) {
|
|
81950
81950
|
const { t } = Qe(), n = gt(), r = br(n.spec, n.values), a = n.spec.sources.flatMap(
|
|
81951
81951
|
(f) => f.from || f.cypher || f.events ? [] : (f.operations ?? []).map((h) => ({
|
|
81952
81952
|
value: `${f.id}\0${h.id}`,
|
|
@@ -82020,7 +82020,7 @@ function vet({ onClose: e }) {
|
|
|
82020
82020
|
}
|
|
82021
82021
|
);
|
|
82022
82022
|
}
|
|
82023
|
-
function
|
|
82023
|
+
function bet({ scenario: e, onClose: t }) {
|
|
82024
82024
|
const { t: n } = Qe(), r = gt(), a = x.useContext(kc);
|
|
82025
82025
|
return /* @__PURE__ */ E.jsx(
|
|
82026
82026
|
Hd,
|
|
@@ -82036,7 +82036,7 @@ function yet({ scenario: e, onClose: t }) {
|
|
|
82036
82036
|
}
|
|
82037
82037
|
function Lq({ scenario: e }) {
|
|
82038
82038
|
const { t } = Qe(), n = gt(), { removeEdit: r, change: a, now: i } = sA(), [o, s] = x.useState(null), l = br(n.spec, n.values), c = nc(e), u = x.useMemo(
|
|
82039
|
-
() =>
|
|
82039
|
+
() => uet(n.spec, n.sources, n.kn),
|
|
82040
82040
|
[n.spec, n.sources, n.kn]
|
|
82041
82041
|
), A = () => {
|
|
82042
82042
|
o && (a(e.id, (d) => {
|
|
@@ -82094,34 +82094,34 @@ function X5(e) {
|
|
|
82094
82094
|
}
|
|
82095
82095
|
return t;
|
|
82096
82096
|
}
|
|
82097
|
-
const
|
|
82097
|
+
const wet = x.lazy(() => import("./AgentChat-C1uyzwuA.js").then((e) => ({ default: e.AgentChat }))), xet = x.lazy(() => import("./Subgraph-C0VjOnZf.js").then((e) => ({ default: e.Subgraph }))), Cet = x.lazy(() => import("./ModelTrial-DZjC0E8E.js").then((e) => ({ default: e.ModelTrial }))), Bet = {
|
|
82098
82098
|
asOfSlider: uwe,
|
|
82099
82099
|
dateRange: dwe,
|
|
82100
|
-
metricCards:
|
|
82101
|
-
segmentedFilter:
|
|
82102
|
-
dropdownFilter:
|
|
82103
|
-
searchBox:
|
|
82104
|
-
text:
|
|
82105
|
-
objectTable:
|
|
82106
|
-
objectList:
|
|
82107
|
-
pivotTable:
|
|
82108
|
-
trendChart:
|
|
82109
|
-
regionMap:
|
|
82100
|
+
metricCards: fJe,
|
|
82101
|
+
segmentedFilter: zJe,
|
|
82102
|
+
dropdownFilter: GJe,
|
|
82103
|
+
searchBox: gJe,
|
|
82104
|
+
text: HJe,
|
|
82105
|
+
objectTable: bJe,
|
|
82106
|
+
objectList: pJe,
|
|
82107
|
+
pivotTable: SJe,
|
|
82108
|
+
trendChart: set,
|
|
82109
|
+
regionMap: RJe,
|
|
82110
82110
|
ganttChart: dYe,
|
|
82111
|
-
scheduleGantt:
|
|
82112
|
-
stageChain:
|
|
82113
|
-
subgraph:
|
|
82114
|
-
agentChat:
|
|
82111
|
+
scheduleGantt: YZe,
|
|
82112
|
+
stageChain: WJe,
|
|
82113
|
+
subgraph: xet,
|
|
82114
|
+
agentChat: wet,
|
|
82115
82115
|
alertList: twe,
|
|
82116
82116
|
eventList: ywe,
|
|
82117
82117
|
eventReport: wwe,
|
|
82118
82118
|
taskInbox: Twe,
|
|
82119
82119
|
actionButton: qbe,
|
|
82120
82120
|
// Scenarios are sold with an Enterprise licence.
|
|
82121
|
-
scenarioBar: X5(
|
|
82122
|
-
modelTrial: X5(
|
|
82121
|
+
scenarioBar: X5(fet),
|
|
82122
|
+
modelTrial: X5(Cet)
|
|
82123
82123
|
};
|
|
82124
|
-
class
|
|
82124
|
+
class Eet extends x.Component {
|
|
82125
82125
|
state = { failed: !1 };
|
|
82126
82126
|
static getDerivedStateFromError() {
|
|
82127
82127
|
return { failed: !0 };
|
|
@@ -82132,7 +82132,7 @@ class Bet extends x.Component {
|
|
|
82132
82132
|
return this.props.fallback ? this.props.fallback(t) : t;
|
|
82133
82133
|
}
|
|
82134
82134
|
}
|
|
82135
|
-
const B1 = 5e3,
|
|
82135
|
+
const B1 = 5e3, ket = 4, q5 = 1e4, Z5 = 500, Oet = 8192;
|
|
82136
82136
|
class aa extends Error {
|
|
82137
82137
|
constructor(t, n) {
|
|
82138
82138
|
super(n), this.code = t;
|
|
@@ -82144,14 +82144,14 @@ const J5 = {
|
|
|
82144
82144
|
act: "act",
|
|
82145
82145
|
ask: "ask",
|
|
82146
82146
|
openPage: "navigate"
|
|
82147
|
-
},
|
|
82147
|
+
}, _et = /\b(CREATE|MERGE|DELETE|DETACH|SET|REMOVE|DROP|CALL|LOAD)\b/i, Met = (e, t) => e === "number" ? "number" : e === "date" ? t ? "date" : "datetime" : "string";
|
|
82148
82148
|
function Nq(e, t, n) {
|
|
82149
82149
|
const r = Ja(t, n.kn), a = e.status === "ready" ? e.rows : [], i = a.slice(0, B1);
|
|
82150
82150
|
return {
|
|
82151
82151
|
fields: r.map((o) => ({
|
|
82152
82152
|
key: o.name,
|
|
82153
82153
|
label: o.label,
|
|
82154
|
-
type:
|
|
82154
|
+
type: Met(o.type, o.day)
|
|
82155
82155
|
})),
|
|
82156
82156
|
rows: i.map((o) => ({
|
|
82157
82157
|
...Object.fromEntries(
|
|
@@ -82164,7 +82164,7 @@ function Nq(e, t, n) {
|
|
|
82164
82164
|
asOf: br(n.spec, n.values)
|
|
82165
82165
|
};
|
|
82166
82166
|
}
|
|
82167
|
-
function
|
|
82167
|
+
function Fet(e, t) {
|
|
82168
82168
|
const n = e.slice(0, B1);
|
|
82169
82169
|
return {
|
|
82170
82170
|
fields: [...new Set(n.flatMap((a) => Object.keys(a)))].map((a) => {
|
|
@@ -82177,11 +82177,11 @@ function Met(e, t) {
|
|
|
82177
82177
|
asOf: t
|
|
82178
82178
|
};
|
|
82179
82179
|
}
|
|
82180
|
-
const e8 = (e) => JSON.parse(JSON.stringify(e ?? null)),
|
|
82181
|
-
function
|
|
82180
|
+
const e8 = (e) => JSON.parse(JSON.stringify(e ?? null)), Tet = x.createContext(null);
|
|
82181
|
+
function Iet({ placement: e }) {
|
|
82182
82182
|
const t = e.type, n = Hde(t), { i18n: r } = Qe(), i = gt().spec.components?.find((o) => o.type === t)?.package;
|
|
82183
82183
|
return !n || i !== void 0 && n.package !== i ? /* @__PURE__ */ E.jsx(gr, { title: e.config.title || t, children: /* @__PURE__ */ E.jsx(Ii, { size: "small" }) }) : /* @__PURE__ */ E.jsx(
|
|
82184
|
-
|
|
82184
|
+
Let,
|
|
82185
82185
|
{
|
|
82186
82186
|
placementId: e.id,
|
|
82187
82187
|
config: e.config,
|
|
@@ -82192,14 +82192,14 @@ function Tet({ placement: e }) {
|
|
|
82192
82192
|
n.package
|
|
82193
82193
|
);
|
|
82194
82194
|
}
|
|
82195
|
-
function
|
|
82195
|
+
function Let({
|
|
82196
82196
|
placementId: e,
|
|
82197
82197
|
config: t,
|
|
82198
82198
|
manifest: n,
|
|
82199
82199
|
packageId: r,
|
|
82200
82200
|
label: a
|
|
82201
82201
|
}) {
|
|
82202
|
-
const { t: i, i18n: o } = Qe(), s = gt(), l = Bl(), c = x.useContext(kc), u = x.useContext(
|
|
82202
|
+
const { t: i, i18n: o } = Qe(), s = gt(), l = Bl(), c = x.useContext(kc), u = x.useContext(Tet), A = x.useRef(u);
|
|
82203
82203
|
A.current = u;
|
|
82204
82204
|
const d = x.useRef(null), f = x.useRef(null), [h, p] = x.useState("loading"), [g, m] = x.useState(), v = l ? "design" : "run", y = n.data.source ? qt(s.spec, t.source) : void 0, b = $r(
|
|
82205
82205
|
n.data.source ? t.source : void 0,
|
|
@@ -82274,7 +82274,7 @@ function Iet({
|
|
|
82274
82274
|
});
|
|
82275
82275
|
}
|
|
82276
82276
|
}, I = () => {
|
|
82277
|
-
for (; _ <
|
|
82277
|
+
for (; _ < ket && M.length > 0; ) {
|
|
82278
82278
|
const $ = M.shift();
|
|
82279
82279
|
_++, T($).finally(() => {
|
|
82280
82280
|
_--, I();
|
|
@@ -82290,18 +82290,18 @@ function Iet({
|
|
|
82290
82290
|
`summary is over ${Z5} characters`
|
|
82291
82291
|
);
|
|
82292
82292
|
const W = K?.details && typeof K.details == "object" ? K.details : void 0;
|
|
82293
|
-
if (W && JSON.stringify(W).length >
|
|
82293
|
+
if (W && JSON.stringify(W).length > Oet)
|
|
82294
82294
|
throw new aa("invalid", "details are over 8 KB");
|
|
82295
82295
|
return pT(e, { summary: H, ...W ? { details: W } : {} }), null;
|
|
82296
82296
|
}
|
|
82297
|
-
if ($ === "query") return
|
|
82297
|
+
if ($ === "query") return $et(Q, R[0]);
|
|
82298
82298
|
if ($ === "act") {
|
|
82299
82299
|
if (U !== "run" || !Q.act)
|
|
82300
82300
|
throw new aa(
|
|
82301
82301
|
"unavailable",
|
|
82302
82302
|
"actions do not run while the page is built"
|
|
82303
82303
|
);
|
|
82304
|
-
return
|
|
82304
|
+
return jet(Q, j, R[0]);
|
|
82305
82305
|
}
|
|
82306
82306
|
if ($ === "ask") {
|
|
82307
82307
|
if (!Q.ask)
|
|
@@ -82323,7 +82323,7 @@ function Iet({
|
|
|
82323
82323
|
const { page: Q, mode: U, config: j, source: K, manifest: H } = S.current;
|
|
82324
82324
|
if (U === "run") {
|
|
82325
82325
|
if ($ === "set-variable") {
|
|
82326
|
-
const W =
|
|
82326
|
+
const W = Pet(Q, H, R);
|
|
82327
82327
|
"refused" in W ? A.current?.({ kind: "refused", message: `set-variable: ${W.refused}` }) : Q.setValue(W.name, W.value);
|
|
82328
82328
|
return;
|
|
82329
82329
|
}
|
|
@@ -82405,8 +82405,8 @@ function Iet({
|
|
|
82405
82405
|
)
|
|
82406
82406
|
] }) });
|
|
82407
82407
|
}
|
|
82408
|
-
const
|
|
82409
|
-
function
|
|
82408
|
+
const Net = (e) => typeof e == "string" || typeof e == "boolean" || typeof e == "number" && Number.isFinite(e);
|
|
82409
|
+
function Pet(e, t, n) {
|
|
82410
82410
|
const { variable: r, value: a } = n ?? {}, i = e.spec.variables.find((l) => l.name === r);
|
|
82411
82411
|
if (!i) return { refused: `no filter ${String(r)} on this page` };
|
|
82412
82412
|
const o = i.kind;
|
|
@@ -82418,7 +82418,7 @@ function Net(e, t, n) {
|
|
|
82418
82418
|
case "value": {
|
|
82419
82419
|
const l = Array.isArray(a) ? a : [a];
|
|
82420
82420
|
if (l.length === 0) return { name: i.name, value: void 0 };
|
|
82421
|
-
if (!l.every(
|
|
82421
|
+
if (!l.every(Net)) return s;
|
|
82422
82422
|
const c = l.map(String);
|
|
82423
82423
|
return { name: i.name, value: Array.isArray(a) ? c : c[0] };
|
|
82424
82424
|
}
|
|
@@ -82447,17 +82447,17 @@ function Pq(e, t, n) {
|
|
|
82447
82447
|
const r = e.sources[t.id] ?? e.sources[t.from?.source ?? ""];
|
|
82448
82448
|
return r?.status === "ready" && r.rows.some((a) => a.$key === n);
|
|
82449
82449
|
}
|
|
82450
|
-
async function
|
|
82450
|
+
async function $et(e, t) {
|
|
82451
82451
|
const n = br(e.spec, e.values), r = t ?? {};
|
|
82452
82452
|
if (r.kind === "cypher") {
|
|
82453
82453
|
const a = typeof r.statement == "string" ? r.statement : "";
|
|
82454
82454
|
if (!a.trim())
|
|
82455
82455
|
throw new aa("invalid", "cypher needs a statement");
|
|
82456
|
-
if (
|
|
82456
|
+
if (_et.test(a))
|
|
82457
82457
|
throw new aa("forbidden", "Cypher may only read");
|
|
82458
82458
|
const i = r.params && typeof r.params == "object" ? r.params : void 0;
|
|
82459
82459
|
try {
|
|
82460
|
-
return
|
|
82460
|
+
return Fet(
|
|
82461
82461
|
await e.run(a, void 0, i),
|
|
82462
82462
|
n
|
|
82463
82463
|
);
|
|
@@ -82483,7 +82483,7 @@ async function Pet(e, t) {
|
|
|
82483
82483
|
), u = typeof r.limit == "number" ? Math.max(0, Math.floor(r.limit)) : B1;
|
|
82484
82484
|
return {
|
|
82485
82485
|
...Nq(
|
|
82486
|
-
{
|
|
82486
|
+
{ ...Ret(i, c), rows: c.slice(0, u) },
|
|
82487
82487
|
i,
|
|
82488
82488
|
e
|
|
82489
82489
|
),
|
|
@@ -82493,7 +82493,7 @@ async function Pet(e, t) {
|
|
|
82493
82493
|
}
|
|
82494
82494
|
throw r.kind === "metric" ? new aa("unavailable", "metric queries are not offered yet") : new aa("invalid", "query kind must be objects, cypher or metric");
|
|
82495
82495
|
}
|
|
82496
|
-
function
|
|
82496
|
+
function Ret(e, t) {
|
|
82497
82497
|
return {
|
|
82498
82498
|
status: "ready",
|
|
82499
82499
|
source: e,
|
|
@@ -82505,7 +82505,7 @@ function $et(e, t) {
|
|
|
82505
82505
|
undated: 0
|
|
82506
82506
|
};
|
|
82507
82507
|
}
|
|
82508
|
-
function
|
|
82508
|
+
function jet(e, t, n) {
|
|
82509
82509
|
const r = n ?? {}, a = e.kn.actionTypes?.find(
|
|
82510
82510
|
(c) => c.id === r.actionType
|
|
82511
82511
|
);
|
|
@@ -82605,7 +82605,7 @@ function Sg({ placement: e }) {
|
|
|
82605
82605
|
}
|
|
82606
82606
|
),
|
|
82607
82607
|
/* @__PURE__ */ E.jsx(
|
|
82608
|
-
|
|
82608
|
+
Eet,
|
|
82609
82609
|
{
|
|
82610
82610
|
message: t("workshopLab.empty.crashed"),
|
|
82611
82611
|
fallback: (i) => /* @__PURE__ */ E.jsx(
|
|
@@ -82615,8 +82615,8 @@ function Sg({ placement: e }) {
|
|
|
82615
82615
|
children: i
|
|
82616
82616
|
}
|
|
82617
82617
|
),
|
|
82618
|
-
children: /* @__PURE__ */ E.jsx(x.Suspense, { fallback: /* @__PURE__ */ E.jsx(Ii, { size: "small" }), children: Rp(e.type) ? /* @__PURE__ */ E.jsx(
|
|
82619
|
-
const i =
|
|
82618
|
+
children: /* @__PURE__ */ E.jsx(x.Suspense, { fallback: /* @__PURE__ */ E.jsx(Ii, { size: "small" }), children: Rp(e.type) ? /* @__PURE__ */ E.jsx(Iet, { placement: e }) : (() => {
|
|
82619
|
+
const i = Bet[e.type];
|
|
82620
82620
|
return /* @__PURE__ */ E.jsx(i, { config: e.config });
|
|
82621
82621
|
})() })
|
|
82622
82622
|
},
|
|
@@ -82626,9 +82626,9 @@ function Sg({ placement: e }) {
|
|
|
82626
82626
|
}
|
|
82627
82627
|
) });
|
|
82628
82628
|
}
|
|
82629
|
-
const
|
|
82630
|
-
function
|
|
82631
|
-
const r = (h, p) => n(`${
|
|
82629
|
+
const Det = "workshopLab.scheduleModel.summary";
|
|
82630
|
+
function Uet(e, t, n) {
|
|
82631
|
+
const r = (h, p) => n(`${Det}.${h}`, p), a = (h) => h ? t.objectTypes[h]?.name ?? h : "", i = (h, p) => h && p && t.objectTypes[h]?.properties.find((g) => g.name === p)?.label || p || "", o = (h) => {
|
|
82632
82632
|
const { id: p } = rk(h);
|
|
82633
82633
|
return t.relations.find((g) => g.id === p)?.name ?? p;
|
|
82634
82634
|
}, s = (h) => h ? hl(t, h)?.name ?? h : "", l = (h, p) => {
|
|
@@ -82715,21 +82715,21 @@ function t8(e, t) {
|
|
|
82715
82715
|
]
|
|
82716
82716
|
};
|
|
82717
82717
|
}
|
|
82718
|
-
function
|
|
82718
|
+
function Qet(e, t) {
|
|
82719
82719
|
const n = /^[A-Za-z][A-Za-z0-9_]*$/.test(t) ? t : "filter", r = new Set(e.variables.map((i) => i.name));
|
|
82720
82720
|
if (!r.has(n)) return n;
|
|
82721
82721
|
let a = 2;
|
|
82722
82722
|
for (; r.has(`${n}${a}`); ) a++;
|
|
82723
82723
|
return `${n}${a}`;
|
|
82724
82724
|
}
|
|
82725
|
-
function
|
|
82726
|
-
const i =
|
|
82725
|
+
function Het(e, t, n, r, a) {
|
|
82726
|
+
const i = Qet(e, n), o = new Set(e.variables.map((l) => l.label));
|
|
82727
82727
|
let s = r;
|
|
82728
82728
|
for (let l = 2; o.has(s); l++) s = `${r} ${l}`;
|
|
82729
82729
|
return t === "selection" || t === "set" ? { name: i, label: s, kind: t, source: a ?? "" } : { name: i, label: s, kind: t };
|
|
82730
82730
|
}
|
|
82731
|
-
const
|
|
82732
|
-
function
|
|
82731
|
+
const zet = 3e3;
|
|
82732
|
+
function rrt(e, t = zet, n = document) {
|
|
82733
82733
|
let r = !1;
|
|
82734
82734
|
const a = () => {
|
|
82735
82735
|
r || n.visibilityState !== "visible" || (r = !0, e().catch(() => {
|
|
@@ -82741,14 +82741,14 @@ function nrt(e, t = Het, n = document) {
|
|
|
82741
82741
|
clearInterval(i), n.removeEventListener("visibilitychange", a);
|
|
82742
82742
|
};
|
|
82743
82743
|
}
|
|
82744
|
-
const
|
|
82745
|
-
function
|
|
82744
|
+
const Ket = 800, Get = (e) => `workshop-lab.saved.${e}`;
|
|
82745
|
+
function art(e) {
|
|
82746
82746
|
if (typeof BroadcastChannel > "u") return;
|
|
82747
|
-
const t = new BroadcastChannel(
|
|
82747
|
+
const t = new BroadcastChannel(Get(e));
|
|
82748
82748
|
t.postMessage("saved"), t.close();
|
|
82749
82749
|
}
|
|
82750
|
-
class
|
|
82751
|
-
constructor(t, n, r, a =
|
|
82750
|
+
class irt {
|
|
82751
|
+
constructor(t, n, r, a = Ket) {
|
|
82752
82752
|
this.appId = t, this.listen = r, this.delay = a, this.revision = n.revision, this.saved = n.draft, this.wanted = n.draft;
|
|
82753
82753
|
}
|
|
82754
82754
|
appId;
|
|
@@ -82824,7 +82824,7 @@ class art {
|
|
|
82824
82824
|
}), this.inFlight;
|
|
82825
82825
|
}
|
|
82826
82826
|
}
|
|
82827
|
-
function
|
|
82827
|
+
function ort(e, t, n, r, a) {
|
|
82828
82828
|
const i = V8(e, t);
|
|
82829
82829
|
return x.useMemo(() => {
|
|
82830
82830
|
if (!n.some((c) => c.events)) return a;
|
|
@@ -82843,7 +82843,7 @@ function irt(e, t, n, r, a) {
|
|
|
82843
82843
|
return l;
|
|
82844
82844
|
}, [n, r, a, i]);
|
|
82845
82845
|
}
|
|
82846
|
-
function
|
|
82846
|
+
function srt(e) {
|
|
82847
82847
|
const [t, n] = x.useState();
|
|
82848
82848
|
return x.useEffect(() => {
|
|
82849
82849
|
let r = !0;
|
|
@@ -82859,7 +82859,7 @@ function ort(e) {
|
|
|
82859
82859
|
[e, t]
|
|
82860
82860
|
);
|
|
82861
82861
|
}
|
|
82862
|
-
const
|
|
82862
|
+
const Vet = (e) => !e || e === "hit" ? "hit" : "selection" in e ? `selection:${e.selection}` : `set:${e.set}`, jq = (e) => {
|
|
82863
82863
|
if (e === "hit") return "hit";
|
|
82864
82864
|
const [t, n] = [e.slice(0, e.indexOf(":")), e.slice(e.indexOf(":") + 1)];
|
|
82865
82865
|
return t === "selection" ? { selection: n } : { set: n };
|
|
@@ -82896,11 +82896,11 @@ function Uq(e, t, n, r) {
|
|
|
82896
82896
|
};
|
|
82897
82897
|
}
|
|
82898
82898
|
const n8 = /int|number|decimal|float|double|long/i;
|
|
82899
|
-
function
|
|
82899
|
+
function Wet(e, t) {
|
|
82900
82900
|
const n = { ...e };
|
|
82901
82901
|
return delete n[t], n;
|
|
82902
82902
|
}
|
|
82903
|
-
function
|
|
82903
|
+
function Yet({
|
|
82904
82904
|
step: e,
|
|
82905
82905
|
onChange: t,
|
|
82906
82906
|
spec: n,
|
|
@@ -82934,14 +82934,14 @@ function Wet({
|
|
|
82934
82934
|
Gt,
|
|
82935
82935
|
{
|
|
82936
82936
|
size: "small",
|
|
82937
|
-
value:
|
|
82937
|
+
value: Vet(e.targets),
|
|
82938
82938
|
options: l,
|
|
82939
82939
|
onChange: (A) => t({ ...e, targets: jq(A) })
|
|
82940
82940
|
}
|
|
82941
82941
|
),
|
|
82942
82942
|
u && u.inputs.length > 0 && /* @__PURE__ */ E.jsx("span", { className: Pe.label, children: o("workshopLab.actConfig.params") }),
|
|
82943
82943
|
u?.inputs.map((A) => /* @__PURE__ */ E.jsx(
|
|
82944
|
-
|
|
82944
|
+
Xet,
|
|
82945
82945
|
{
|
|
82946
82946
|
name: A.name,
|
|
82947
82947
|
type: A.type,
|
|
@@ -82959,7 +82959,7 @@ function Wet({
|
|
|
82959
82959
|
placeholder: o("workshopLab.actConfig.confirm"),
|
|
82960
82960
|
value: e.confirm ?? "",
|
|
82961
82961
|
onChange: (A) => t({
|
|
82962
|
-
...
|
|
82962
|
+
...Wet(e, "confirm"),
|
|
82963
82963
|
...A.target.value ? { confirm: A.target.value } : {}
|
|
82964
82964
|
})
|
|
82965
82965
|
}
|
|
@@ -82981,7 +82981,7 @@ function Wet({
|
|
|
82981
82981
|
/* @__PURE__ */ E.jsx("span", { className: Pe.description, children: o("workshopLab.actConfig.alwaysConfirm") })
|
|
82982
82982
|
] });
|
|
82983
82983
|
}
|
|
82984
|
-
function
|
|
82984
|
+
function Xet({
|
|
82985
82985
|
name: e,
|
|
82986
82986
|
type: t,
|
|
82987
82987
|
value: n,
|
|
@@ -83046,7 +83046,7 @@ function Yet({
|
|
|
83046
83046
|
))
|
|
83047
83047
|
] });
|
|
83048
83048
|
}
|
|
83049
|
-
function
|
|
83049
|
+
function qet({
|
|
83050
83050
|
value: e,
|
|
83051
83051
|
onChange: t,
|
|
83052
83052
|
kn: n,
|
|
@@ -83068,7 +83068,7 @@ function Xet({
|
|
|
83068
83068
|
}
|
|
83069
83069
|
) : /* @__PURE__ */ E.jsx("span", { className: Pe.description, children: a("workshopLab.actConfig.unread") });
|
|
83070
83070
|
}
|
|
83071
|
-
function
|
|
83071
|
+
function Zet({
|
|
83072
83072
|
on: e,
|
|
83073
83073
|
step: t,
|
|
83074
83074
|
onChange: n,
|
|
@@ -83138,7 +83138,7 @@ function r8(e, t, n) {
|
|
|
83138
83138
|
const r = [...e], [a] = r.splice(t, 1);
|
|
83139
83139
|
return r.splice(n, 0, a), r;
|
|
83140
83140
|
}
|
|
83141
|
-
function
|
|
83141
|
+
function Jet({
|
|
83142
83142
|
title: e,
|
|
83143
83143
|
on: t,
|
|
83144
83144
|
actOn: n,
|
|
@@ -83273,7 +83273,7 @@ function Zet({
|
|
|
83273
83273
|
onChange: (k) => C(y.do.map((O, _) => _ === S ? { ...B, operation: k } : O))
|
|
83274
83274
|
}
|
|
83275
83275
|
) : B.kind === "ask" ? /* @__PURE__ */ E.jsx(
|
|
83276
|
-
|
|
83276
|
+
Zet,
|
|
83277
83277
|
{
|
|
83278
83278
|
on: y.on,
|
|
83279
83279
|
step: B,
|
|
@@ -83281,7 +83281,7 @@ function Zet({
|
|
|
83281
83281
|
onChange: (k) => C(y.do.map((O, _) => _ === S ? k : O))
|
|
83282
83282
|
}
|
|
83283
83283
|
) : /* @__PURE__ */ E.jsx(
|
|
83284
|
-
|
|
83284
|
+
Yet,
|
|
83285
83285
|
{
|
|
83286
83286
|
step: B,
|
|
83287
83287
|
spec: l,
|
|
@@ -83346,7 +83346,7 @@ function Zet({
|
|
|
83346
83346
|
] });
|
|
83347
83347
|
}
|
|
83348
83348
|
const a8 = "";
|
|
83349
|
-
function
|
|
83349
|
+
function ett({
|
|
83350
83350
|
on: e,
|
|
83351
83351
|
value: t,
|
|
83352
83352
|
onChange: n,
|
|
@@ -83409,7 +83409,7 @@ function Jet({
|
|
|
83409
83409
|
] })
|
|
83410
83410
|
] });
|
|
83411
83411
|
}
|
|
83412
|
-
const
|
|
83412
|
+
const ttt = (e) => typeof e == "object" && e !== null && typeof e.box == "string" && typeof e.tool == "string", ntt = `{
|
|
83413
83413
|
"tasks": [
|
|
83414
83414
|
{
|
|
83415
83415
|
"key": "WO-1001",
|
|
@@ -83429,7 +83429,7 @@ const ett = (e) => typeof e == "object" && e !== null && typeof e.box == "string
|
|
|
83429
83429
|
}
|
|
83430
83430
|
]
|
|
83431
83431
|
}
|
|
83432
|
-
}`,
|
|
83432
|
+
}`, rtt = (e) => `{
|
|
83433
83433
|
"results": [
|
|
83434
83434
|
{
|
|
83435
83435
|
"key": "WO-1001",
|
|
@@ -83440,13 +83440,13 @@ const ett = (e) => typeof e == "object" && e !== null && typeof e.box == "string
|
|
|
83440
83440
|
}
|
|
83441
83441
|
]
|
|
83442
83442
|
}`;
|
|
83443
|
-
function
|
|
83443
|
+
function att({
|
|
83444
83444
|
value: e,
|
|
83445
83445
|
onChange: t,
|
|
83446
83446
|
clear: n,
|
|
83447
83447
|
contract: r
|
|
83448
83448
|
}) {
|
|
83449
|
-
const { t: a } = Qe(), i =
|
|
83449
|
+
const { t: a } = Qe(), i = ttt(e) ? e : { box: "", tool: "" }, { boxes: o, tools: s } = jge(i.box), l = (u) => a(`workshopLab.config.tool.${u}`), c = !!i.tool && o !== null && (!o.some((u) => u.boxId === i.box) || s !== null && !s.some((u) => u.toolId === i.tool));
|
|
83450
83450
|
return /* @__PURE__ */ E.jsxs("div", { className: Pe.toolPicker, children: [
|
|
83451
83451
|
/* @__PURE__ */ E.jsx(
|
|
83452
83452
|
Gt,
|
|
@@ -83502,21 +83502,21 @@ function rtt({
|
|
|
83502
83502
|
trigger: "click",
|
|
83503
83503
|
placement: "left",
|
|
83504
83504
|
title: a("workshopLab.config.ruleContract.title"),
|
|
83505
|
-
content: /* @__PURE__ */ E.jsx(
|
|
83505
|
+
content: /* @__PURE__ */ E.jsx(itt, {}),
|
|
83506
83506
|
children: /* @__PURE__ */ E.jsx(Ge, { size: "small", type: "link", className: Pe.inlineLink, children: a("workshopLab.config.ruleContract.open") })
|
|
83507
83507
|
}
|
|
83508
83508
|
),
|
|
83509
83509
|
c && /* @__PURE__ */ E.jsx("span", { className: Pe.toolGone, children: l("unavailable") })
|
|
83510
83510
|
] });
|
|
83511
83511
|
}
|
|
83512
|
-
function
|
|
83512
|
+
function itt() {
|
|
83513
83513
|
const { t: e } = Qe(), t = (n) => e(`workshopLab.config.ruleContract.${n}`);
|
|
83514
83514
|
return /* @__PURE__ */ E.jsxs("div", { className: Pe.contract, children: [
|
|
83515
83515
|
/* @__PURE__ */ E.jsx("span", { children: t("intro") }),
|
|
83516
83516
|
/* @__PURE__ */ E.jsx("b", { children: t("input") }),
|
|
83517
|
-
/* @__PURE__ */ E.jsx("pre", { className: Pe.contractCode, children:
|
|
83517
|
+
/* @__PURE__ */ E.jsx("pre", { className: Pe.contractCode, children: ntt }),
|
|
83518
83518
|
/* @__PURE__ */ E.jsx("b", { children: t("output") }),
|
|
83519
|
-
/* @__PURE__ */ E.jsx("pre", { className: Pe.contractCode, children:
|
|
83519
|
+
/* @__PURE__ */ E.jsx("pre", { className: Pe.contractCode, children: rtt(t("example")) }),
|
|
83520
83520
|
/* @__PURE__ */ E.jsxs("ul", { className: Pe.contractNotes, children: [
|
|
83521
83521
|
/* @__PURE__ */ E.jsx("li", { children: t("pass") }),
|
|
83522
83522
|
/* @__PURE__ */ E.jsx("li", { children: t("severity") }),
|
|
@@ -83526,10 +83526,10 @@ function att() {
|
|
|
83526
83526
|
] })
|
|
83527
83527
|
] });
|
|
83528
83528
|
}
|
|
83529
|
-
const
|
|
83530
|
-
default: (await import("./ComputedView-
|
|
83531
|
-
})),
|
|
83532
|
-
default: (await import("./ComputedView-
|
|
83529
|
+
const ott = x.lazy(async () => ({
|
|
83530
|
+
default: (await import("./ComputedView-_CaPjqhY.js").then((e) => e.a)).NewColumnDialog
|
|
83531
|
+
})), stt = x.lazy(async () => ({
|
|
83532
|
+
default: (await import("./ComputedView-_CaPjqhY.js").then((e) => e.a)).EditColumnDialog
|
|
83533
83533
|
})), W2 = "\0column";
|
|
83534
83534
|
function PM(e) {
|
|
83535
83535
|
const { t } = Qe(), { descriptor: n } = e;
|
|
@@ -83663,7 +83663,7 @@ function Y2({ descriptor: e, value: t, onChange: n, spec: r, kn: a, scope: i })
|
|
|
83663
83663
|
}
|
|
83664
83664
|
),
|
|
83665
83665
|
S && v && u && /* @__PURE__ */ E.jsx(x.Suspense, { fallback: null, children: /* @__PURE__ */ E.jsx(
|
|
83666
|
-
|
|
83666
|
+
stt,
|
|
83667
83667
|
{
|
|
83668
83668
|
source: v,
|
|
83669
83669
|
spec: r,
|
|
@@ -83680,7 +83680,7 @@ function Y2({ descriptor: e, value: t, onChange: n, spec: r, kn: a, scope: i })
|
|
|
83680
83680
|
}
|
|
83681
83681
|
) }),
|
|
83682
83682
|
d && v && u && /* @__PURE__ */ E.jsx(x.Suspense, { fallback: null, children: /* @__PURE__ */ E.jsx(
|
|
83683
|
-
|
|
83683
|
+
ott,
|
|
83684
83684
|
{
|
|
83685
83685
|
source: v,
|
|
83686
83686
|
spec: r,
|
|
@@ -83827,7 +83827,7 @@ function Y2({ descriptor: e, value: t, onChange: n, spec: r, kn: a, scope: i })
|
|
|
83827
83827
|
);
|
|
83828
83828
|
}
|
|
83829
83829
|
return /* @__PURE__ */ E.jsx(
|
|
83830
|
-
|
|
83830
|
+
dtt,
|
|
83831
83831
|
{
|
|
83832
83832
|
value: t ?? [],
|
|
83833
83833
|
onChange: n,
|
|
@@ -83840,7 +83840,7 @@ function Y2({ descriptor: e, value: t, onChange: n, spec: r, kn: a, scope: i })
|
|
|
83840
83840
|
case "interactions": {
|
|
83841
83841
|
const b = qs(r, a, i);
|
|
83842
83842
|
return /* @__PURE__ */ E.jsx(
|
|
83843
|
-
|
|
83843
|
+
Jet,
|
|
83844
83844
|
{
|
|
83845
83845
|
title: e.label,
|
|
83846
83846
|
on: e.on,
|
|
@@ -83858,10 +83858,10 @@ function Y2({ descriptor: e, value: t, onChange: n, spec: r, kn: a, scope: i })
|
|
|
83858
83858
|
);
|
|
83859
83859
|
}
|
|
83860
83860
|
case "actionTypes":
|
|
83861
|
-
return /* @__PURE__ */ E.jsx(
|
|
83861
|
+
return /* @__PURE__ */ E.jsx(qet, { value: t, onChange: n, kn: a });
|
|
83862
83862
|
case "metric":
|
|
83863
83863
|
return /* @__PURE__ */ E.jsx(
|
|
83864
|
-
|
|
83864
|
+
ett,
|
|
83865
83865
|
{
|
|
83866
83866
|
on: e.on,
|
|
83867
83867
|
value: t,
|
|
@@ -83873,7 +83873,7 @@ function Y2({ descriptor: e, value: t, onChange: n, spec: r, kn: a, scope: i })
|
|
|
83873
83873
|
}
|
|
83874
83874
|
);
|
|
83875
83875
|
case "tool":
|
|
83876
|
-
return /* @__PURE__ */ E.jsx(
|
|
83876
|
+
return /* @__PURE__ */ E.jsx(att, { value: t, onChange: n, clear: s, contract: e.contract });
|
|
83877
83877
|
case "mcpTool":
|
|
83878
83878
|
return /* @__PURE__ */ E.jsx(
|
|
83879
83879
|
Jee,
|
|
@@ -83885,7 +83885,7 @@ function Y2({ descriptor: e, value: t, onChange: n, spec: r, kn: a, scope: i })
|
|
|
83885
83885
|
);
|
|
83886
83886
|
case "list":
|
|
83887
83887
|
return /* @__PURE__ */ E.jsx(
|
|
83888
|
-
|
|
83888
|
+
ltt,
|
|
83889
83889
|
{
|
|
83890
83890
|
descriptor: e,
|
|
83891
83891
|
value: t,
|
|
@@ -83897,7 +83897,7 @@ function Y2({ descriptor: e, value: t, onChange: n, spec: r, kn: a, scope: i })
|
|
|
83897
83897
|
);
|
|
83898
83898
|
}
|
|
83899
83899
|
}
|
|
83900
|
-
function
|
|
83900
|
+
function ltt({ descriptor: e, value: t, onChange: n, spec: r, kn: a, scope: i }) {
|
|
83901
83901
|
const { t: o } = Qe();
|
|
83902
83902
|
if (e.kind !== "list") return null;
|
|
83903
83903
|
const s = Array.isArray(t) ? t : [], l = (p, g) => n(s.map((m, v) => v === p ? g : m)), c = e.fill, u = c && e.item.find((p) => p.key === c.from), A = u?.kind === "field" ? $E(u.owner ?? "source", r, a, i).filter(
|
|
@@ -83906,7 +83906,7 @@ function stt({ descriptor: e, value: t, onChange: n, spec: r, kn: a, scope: i })
|
|
|
83906
83906
|
const v = s[p];
|
|
83907
83907
|
if (e.item.find((b) => b.key === g)?.kind === "metric")
|
|
83908
83908
|
return l(p, tte(v, Sc(m), a));
|
|
83909
|
-
let y =
|
|
83909
|
+
let y = utt(v, g, m);
|
|
83910
83910
|
if (c && g === c.from) {
|
|
83911
83911
|
const b = A.find((S) => S.name === v[g]), w = A.find((S) => S.name === m);
|
|
83912
83912
|
if (w) {
|
|
@@ -83989,12 +83989,12 @@ function stt({ descriptor: e, value: t, onChange: n, spec: r, kn: a, scope: i })
|
|
|
83989
83989
|
type: "dashed",
|
|
83990
83990
|
icon: /* @__PURE__ */ E.jsx($o, {}),
|
|
83991
83991
|
disabled: s.length >= e.max,
|
|
83992
|
-
onClick: () => n([...s,
|
|
83992
|
+
onClick: () => n([...s, Att(e.item)]),
|
|
83993
83993
|
children: o("workshopLab.config.addItem")
|
|
83994
83994
|
}
|
|
83995
83995
|
),
|
|
83996
83996
|
c && u?.kind === "field" && h.length > 0 && /* @__PURE__ */ E.jsx(
|
|
83997
|
-
|
|
83997
|
+
ctt,
|
|
83998
83998
|
{
|
|
83999
83999
|
fields: h,
|
|
84000
84000
|
room: e.max - s.length,
|
|
@@ -84003,7 +84003,7 @@ function stt({ descriptor: e, value: t, onChange: n, spec: r, kn: a, scope: i })
|
|
|
84003
84003
|
)
|
|
84004
84004
|
] });
|
|
84005
84005
|
}
|
|
84006
|
-
function
|
|
84006
|
+
function ctt({
|
|
84007
84007
|
fields: e,
|
|
84008
84008
|
room: t,
|
|
84009
84009
|
onAdd: n
|
|
@@ -84063,17 +84063,17 @@ function i8(e, t, n) {
|
|
|
84063
84063
|
const r = [...e], [a] = r.splice(t, 1);
|
|
84064
84064
|
return r.splice(n, 0, a), r;
|
|
84065
84065
|
}
|
|
84066
|
-
function
|
|
84066
|
+
function utt(e, t, n) {
|
|
84067
84067
|
const r = { ...e };
|
|
84068
84068
|
return n === void 0 ? delete r[t] : r[t] = n, r;
|
|
84069
84069
|
}
|
|
84070
|
-
function
|
|
84070
|
+
function Att(e) {
|
|
84071
84071
|
const t = {};
|
|
84072
84072
|
for (const n of e)
|
|
84073
84073
|
n.optional || (n.kind === "enum" ? t[n.key] = n.options[0][0] : n.kind === "text" ? t[n.key] = "" : n.kind === "number" ? t[n.key] = n.min : n.kind === "relationPath" && (t[n.key] = []));
|
|
84074
84074
|
return t;
|
|
84075
84075
|
}
|
|
84076
|
-
function
|
|
84076
|
+
function dtt({
|
|
84077
84077
|
value: e,
|
|
84078
84078
|
onChange: t,
|
|
84079
84079
|
kn: n,
|
|
@@ -84137,7 +84137,7 @@ function Att({
|
|
|
84137
84137
|
)
|
|
84138
84138
|
] });
|
|
84139
84139
|
}
|
|
84140
|
-
function
|
|
84140
|
+
function ftt(e, t) {
|
|
84141
84141
|
return [
|
|
84142
84142
|
...Object.values(e.regions).flatMap((r) => r ?? []),
|
|
84143
84143
|
...e.detail ? [e.detail] : []
|
|
@@ -84146,9 +84146,9 @@ function dtt(e, t) {
|
|
|
84146
84146
|
);
|
|
84147
84147
|
}
|
|
84148
84148
|
const o8 = "\0new";
|
|
84149
|
-
function
|
|
84149
|
+
function htt({ schema: e, draft: t, set: n, spec: r, kn: a, scope: i }) {
|
|
84150
84150
|
const { t: o } = Qe(), s = e.descriptors.filter((d) => d.tab === "link"), l = s.filter((d) => !d.reads && d.kind !== "bindings"), c = s.filter((d) => d.reads), u = qt(r, t.source), A = (d) => d.kind === "variable" ? /* @__PURE__ */ E.jsx(
|
|
84151
|
-
|
|
84151
|
+
ptt,
|
|
84152
84152
|
{
|
|
84153
84153
|
descriptor: d,
|
|
84154
84154
|
schema: e,
|
|
@@ -84184,11 +84184,11 @@ function ftt({ schema: e, draft: t, set: n, spec: r, kn: a, scope: i }) {
|
|
|
84184
84184
|
l.length > 0 ? l.map(A) : /* @__PURE__ */ E.jsx("span", { className: Pe.description, children: o("workshopLab.link.noEmits") }),
|
|
84185
84185
|
(e.follows || c.length > 0) && /* @__PURE__ */ E.jsx("h4", { className: Pe.linkTitle, children: o("workshopLab.link.follows") }),
|
|
84186
84186
|
c.map(A),
|
|
84187
|
-
e.follows && (u ? /* @__PURE__ */ E.jsx(
|
|
84187
|
+
e.follows && (u ? /* @__PURE__ */ E.jsx(gtt, { schema: e, draft: t, set: n, spec: r, kn: a }) : /* @__PURE__ */ E.jsx("span", { className: Pe.description, children: o("workshopLab.link.noSource") })),
|
|
84188
84188
|
e.follows && wJ(u) && /* @__PURE__ */ E.jsx("span", { className: Pe.description, children: o("workshopLab.link.asOf") })
|
|
84189
84189
|
] });
|
|
84190
84190
|
}
|
|
84191
|
-
function
|
|
84191
|
+
function ptt({
|
|
84192
84192
|
descriptor: e,
|
|
84193
84193
|
schema: t,
|
|
84194
84194
|
draft: n,
|
|
@@ -84204,14 +84204,14 @@ function htt({
|
|
|
84204
84204
|
if (!s) return;
|
|
84205
84205
|
const m = t.emits?.(n).find((B) => B.key === e.key)?.field, v = u ? Ja(u, i).find((B) => B.name === m) : void 0, y = (B) => {
|
|
84206
84206
|
const S = B === "set" ? o("workshopLab.link.pickedBy", { name: n.title || t.label }) : v?.label ?? o(`workshopLab.variableKinds.${B}`);
|
|
84207
|
-
return
|
|
84207
|
+
return Het(a, B, B === "set" ? "picked" : m ?? B, S, u?.id);
|
|
84208
84208
|
}, b = e.accepts.filter((B) => B !== "asOf"), w = (B) => (t.check?.(
|
|
84209
84209
|
{ ...n, [e.key]: B.name },
|
|
84210
84210
|
{ kn: i, spec: { ...a, variables: [...a.variables, B] } },
|
|
84211
84211
|
"c"
|
|
84212
84212
|
) ?? []).length === 0, C = b.map(y).find(w) ?? y(b[0]);
|
|
84213
84213
|
s.addVariable(C), r(e.key, C.name);
|
|
84214
|
-
}, p = n[e.key], g = typeof p == "string" && p !== "" && !a.variables.some((m) => m.name === p && m.kind === "asOf") && !
|
|
84214
|
+
}, p = n[e.key], g = typeof p == "string" && p !== "" && !a.variables.some((m) => m.name === p && m.kind === "asOf") && !ftt(a, p);
|
|
84215
84215
|
return /* @__PURE__ */ E.jsxs("div", { className: Pe.sentence, children: [
|
|
84216
84216
|
/* @__PURE__ */ E.jsx("span", { children: l }),
|
|
84217
84217
|
/* @__PURE__ */ E.jsx(
|
|
@@ -84232,7 +84232,7 @@ function htt({
|
|
|
84232
84232
|
g && /* @__PURE__ */ E.jsx("span", { className: Pe.warning, children: o("workshopLab.link.nobodyFollows") })
|
|
84233
84233
|
] });
|
|
84234
84234
|
}
|
|
84235
|
-
function
|
|
84235
|
+
function gtt({
|
|
84236
84236
|
schema: e,
|
|
84237
84237
|
draft: t,
|
|
84238
84238
|
set: n,
|
|
@@ -84320,7 +84320,7 @@ function ptt({
|
|
|
84320
84320
|
})
|
|
84321
84321
|
] });
|
|
84322
84322
|
}
|
|
84323
|
-
const
|
|
84323
|
+
const mtt = ["data", "display", "link"];
|
|
84324
84324
|
function s8({
|
|
84325
84325
|
type: e,
|
|
84326
84326
|
schema: t,
|
|
@@ -84416,7 +84416,7 @@ function s8({
|
|
|
84416
84416
|
})
|
|
84417
84417
|
}
|
|
84418
84418
|
),
|
|
84419
|
-
/* @__PURE__ */ E.jsx(
|
|
84419
|
+
/* @__PURE__ */ E.jsx(vtt, { descriptor: T })
|
|
84420
84420
|
] }, T.key)) }),
|
|
84421
84421
|
d.length > 0 && B.length > 0 && /* @__PURE__ */ E.jsxs("details", { className: Pe.details, children: [
|
|
84422
84422
|
/* @__PURE__ */ E.jsx("summary", { children: s("workshopLab.config.details") }),
|
|
@@ -84431,11 +84431,11 @@ function s8({
|
|
|
84431
84431
|
size: "small",
|
|
84432
84432
|
activeKey: S,
|
|
84433
84433
|
onChange: (T) => k(T),
|
|
84434
|
-
items:
|
|
84434
|
+
items: mtt.map((T) => ({
|
|
84435
84435
|
key: T,
|
|
84436
84436
|
label: s(`workshopLab.config.tabs.${T}`),
|
|
84437
84437
|
children: T === "link" ? /* @__PURE__ */ E.jsx(
|
|
84438
|
-
|
|
84438
|
+
htt,
|
|
84439
84439
|
{
|
|
84440
84440
|
schema: t,
|
|
84441
84441
|
draft: u,
|
|
@@ -84490,25 +84490,25 @@ function s8({
|
|
|
84490
84490
|
}
|
|
84491
84491
|
) });
|
|
84492
84492
|
}
|
|
84493
|
-
function
|
|
84493
|
+
function vtt({ descriptor: e }) {
|
|
84494
84494
|
const { t } = Qe(), n = e.kind === "variable" ? e.reads ? t("workshopLab.config.adding.reads", { make: t("workshopLab.link.newFilter") }) : t("workshopLab.config.adding.writes", { make: t("workshopLab.link.newFilter") }) : e.kind === "list" ? t("workshopLab.config.adding.list", { min: e.min, max: e.max }) : e.kind === "eventType" && e.of === "report" ? t("workshopLab.config.adding.reportType") : null;
|
|
84495
84495
|
return n ? /* @__PURE__ */ E.jsx("span", { className: Pe.description, children: n }) : null;
|
|
84496
84496
|
}
|
|
84497
|
-
const
|
|
84498
|
-
settings:
|
|
84499
|
-
note:
|
|
84500
|
-
group:
|
|
84501
|
-
groupHead:
|
|
84502
|
-
index:
|
|
84503
|
-
lines:
|
|
84504
|
-
}, X2 = "workshopLab.scheduleModel.panel",
|
|
84505
|
-
function
|
|
84497
|
+
const ytt = "_settings_7hee6_9", btt = "_note_7hee6_15", wtt = "_group_7hee6_21", xtt = "_groupHead_7hee6_28", Ctt = "_index_7hee6_42", Btt = "_lines_7hee6_53", _A = {
|
|
84498
|
+
settings: ytt,
|
|
84499
|
+
note: btt,
|
|
84500
|
+
group: wtt,
|
|
84501
|
+
groupHead: xtt,
|
|
84502
|
+
index: Ctt,
|
|
84503
|
+
lines: Btt
|
|
84504
|
+
}, X2 = "workshopLab.scheduleModel.panel", Stt = "workshopLab.scheduleModel.wizard.steps";
|
|
84505
|
+
function Ett({
|
|
84506
84506
|
model: e,
|
|
84507
84507
|
kn: t,
|
|
84508
84508
|
onEdit: n
|
|
84509
84509
|
}) {
|
|
84510
84510
|
const { t: r } = Qe(), a = (o, s) => r(o, s ?? {}), i = x.useMemo(
|
|
84511
|
-
() =>
|
|
84511
|
+
() => Uet(e, t, a),
|
|
84512
84512
|
// `words` reads only `t`.
|
|
84513
84513
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
84514
84514
|
[e, t, r]
|
|
@@ -84516,7 +84516,7 @@ function Stt({
|
|
|
84516
84516
|
return /* @__PURE__ */ E.jsxs("div", { className: _A.settings, children: [
|
|
84517
84517
|
/* @__PURE__ */ E.jsx("p", { className: _A.note, children: r(`${X2}.sameAnswers`) }),
|
|
84518
84518
|
aR.map((o, s) => {
|
|
84519
|
-
const l = r(`${
|
|
84519
|
+
const l = r(`${Stt}.${o === "plan" && e.result === "self" ? "planSelf" : o}`);
|
|
84520
84520
|
return /* @__PURE__ */ E.jsxs("section", { className: _A.group, "aria-label": l, children: [
|
|
84521
84521
|
/* @__PURE__ */ E.jsxs("header", { className: _A.groupHead, children: [
|
|
84522
84522
|
/* @__PURE__ */ E.jsx("span", { className: _A.index, children: s + 1 }),
|
|
@@ -84537,7 +84537,7 @@ function Stt({
|
|
|
84537
84537
|
})
|
|
84538
84538
|
] });
|
|
84539
84539
|
}
|
|
84540
|
-
function
|
|
84540
|
+
function ktt(e, t) {
|
|
84541
84541
|
const n = new Set(Ak), r = new Set(dk), a = e.descriptors.flatMap((i) => i.key === "layers" && i.kind === "list" ? [
|
|
84542
84542
|
{
|
|
84543
84543
|
...i,
|
|
@@ -84548,7 +84548,7 @@ function Ett(e, t) {
|
|
|
84548
84548
|
] : n.has(i.key) ? [i] : []);
|
|
84549
84549
|
return { ...e, descriptors: a };
|
|
84550
84550
|
}
|
|
84551
|
-
function
|
|
84551
|
+
function Ott(e, t) {
|
|
84552
84552
|
if (e.detail?.id === t) return { placement: e.detail, region: null };
|
|
84553
84553
|
for (const [n, r] of Object.entries(e.regions)) {
|
|
84554
84554
|
const a = r?.find((i) => i.id === t);
|
|
@@ -84556,11 +84556,11 @@ function ktt(e, t) {
|
|
|
84556
84556
|
}
|
|
84557
84557
|
return null;
|
|
84558
84558
|
}
|
|
84559
|
-
const
|
|
84560
|
-
function
|
|
84561
|
-
const { t } = Qe(), n = Bl(), { spec: r } = gt(), a = n?.adding && n.adding.id === n.configuring ? { placement: n.adding, region: null } : null, i = n?.configuring ?
|
|
84559
|
+
const _tt = "workshop-lab-config-slot";
|
|
84560
|
+
function Mtt({ themeVars: e }) {
|
|
84561
|
+
const { t } = Qe(), n = Bl(), { spec: r } = gt(), a = n?.adding && n.adding.id === n.configuring ? { placement: n.adding, region: null } : null, i = n?.configuring ? Ott(r, n.configuring) ?? a : null, o = i ? dd(i.placement.type) : null, s = i?.placement.config.title || o?.label, l = i && Rp(i.placement.type) ? i.placement.type : null, [c, u] = x.useState(null);
|
|
84562
84562
|
if (x.useLayoutEffect(() => {
|
|
84563
|
-
u(i ? document.getElementById(
|
|
84563
|
+
u(i ? document.getElementById(_tt) : null);
|
|
84564
84564
|
}, [i]), !n || !i || !o || !c) return null;
|
|
84565
84565
|
const A = i.placement.type === "scheduleGantt" ? n.scheduleGantt?.(i.placement.id) : void 0;
|
|
84566
84566
|
return WE.createPortal(
|
|
@@ -84579,7 +84579,7 @@ function _tt({ themeVars: e }) {
|
|
|
84579
84579
|
/* @__PURE__ */ E.jsx("span", { className: hn.configTitle, children: t("workshopLab.config.title", { name: s ?? "" }) })
|
|
84580
84580
|
] }),
|
|
84581
84581
|
i.region && n.setSurface && /* @__PURE__ */ E.jsx(
|
|
84582
|
-
|
|
84582
|
+
Ftt,
|
|
84583
84583
|
{
|
|
84584
84584
|
value: "surface" in i.placement ? i.placement.surface : void 0,
|
|
84585
84585
|
onChange: (d) => n.setSurface?.(i.placement.id, d)
|
|
@@ -84594,7 +84594,7 @@ function _tt({ themeVars: e }) {
|
|
|
84594
84594
|
{
|
|
84595
84595
|
key: "business",
|
|
84596
84596
|
label: t("workshopLab.scheduleModel.panel.business"),
|
|
84597
|
-
children: /* @__PURE__ */ E.jsx(
|
|
84597
|
+
children: /* @__PURE__ */ E.jsx(Ett, { model: A.model, kn: A.kn, onEdit: A.edit })
|
|
84598
84598
|
},
|
|
84599
84599
|
{
|
|
84600
84600
|
key: "advanced",
|
|
@@ -84605,7 +84605,7 @@ function _tt({ themeVars: e }) {
|
|
|
84605
84605
|
s8,
|
|
84606
84606
|
{
|
|
84607
84607
|
type: i.placement.type,
|
|
84608
|
-
schema:
|
|
84608
|
+
schema: ktt(
|
|
84609
84609
|
o,
|
|
84610
84610
|
(i.placement.config.layers ?? []).length
|
|
84611
84611
|
),
|
|
@@ -84648,7 +84648,7 @@ function _tt({ themeVars: e }) {
|
|
|
84648
84648
|
c
|
|
84649
84649
|
);
|
|
84650
84650
|
}
|
|
84651
|
-
function
|
|
84651
|
+
function Ftt({
|
|
84652
84652
|
value: e,
|
|
84653
84653
|
onChange: t
|
|
84654
84654
|
}) {
|
|
@@ -84708,7 +84708,7 @@ function l8({ id: e, region: t, spec: n }) {
|
|
|
84708
84708
|
] })
|
|
84709
84709
|
] }) : null;
|
|
84710
84710
|
}
|
|
84711
|
-
function
|
|
84711
|
+
function Ttt({
|
|
84712
84712
|
config: e,
|
|
84713
84713
|
row: t,
|
|
84714
84714
|
source: n
|
|
@@ -84716,7 +84716,7 @@ function Ftt({
|
|
|
84716
84716
|
const { t: r } = Qe(), { fields: a, showProgress: i, related: o = [] } = e, { spec: s, kn: l, values: c } = gt(), u = Object.fromEntries(Ja(n, l).map((A) => [A.name, A]));
|
|
84717
84717
|
return /* @__PURE__ */ E.jsxs("div", { className: re.detail, children: [
|
|
84718
84718
|
i && n.progress && /* @__PURE__ */ E.jsx(
|
|
84719
|
-
|
|
84719
|
+
Itt,
|
|
84720
84720
|
{
|
|
84721
84721
|
row: t,
|
|
84722
84722
|
progress: n.progress,
|
|
@@ -84758,7 +84758,7 @@ function Ftt({
|
|
|
84758
84758
|
o.length > 0 && /* @__PURE__ */ E.jsx("p", { className: re.muted, children: r("workshopLab.detail.relatedNote") })
|
|
84759
84759
|
] });
|
|
84760
84760
|
}
|
|
84761
|
-
function
|
|
84761
|
+
function Itt({
|
|
84762
84762
|
row: e,
|
|
84763
84763
|
progress: t,
|
|
84764
84764
|
asOf: n,
|
|
@@ -84785,7 +84785,7 @@ function Ttt({
|
|
|
84785
84785
|
] })
|
|
84786
84786
|
] });
|
|
84787
84787
|
}
|
|
84788
|
-
function
|
|
84788
|
+
function Ltt({
|
|
84789
84789
|
detail: e,
|
|
84790
84790
|
themeVars: t
|
|
84791
84791
|
}) {
|
|
@@ -84814,12 +84814,12 @@ function Itt({
|
|
|
84814
84814
|
)
|
|
84815
84815
|
] }),
|
|
84816
84816
|
onClose: () => h(l),
|
|
84817
|
-
children: c && u && /* @__PURE__ */ E.jsx(
|
|
84817
|
+
children: c && u && /* @__PURE__ */ E.jsx(Ttt, { config: e.config, row: c, source: u })
|
|
84818
84818
|
}
|
|
84819
84819
|
);
|
|
84820
84820
|
}
|
|
84821
|
-
const
|
|
84822
|
-
function
|
|
84821
|
+
const Ntt = 320, Ptt = 0.7, c8 = 0.6;
|
|
84822
|
+
function $tt(e) {
|
|
84823
84823
|
let t;
|
|
84824
84824
|
for (const n of e) {
|
|
84825
84825
|
if (n.type !== "scheduleGantt") continue;
|
|
@@ -84828,31 +84828,31 @@ function Ptt(e) {
|
|
|
84828
84828
|
}
|
|
84829
84829
|
return t?.id;
|
|
84830
84830
|
}
|
|
84831
|
-
function
|
|
84831
|
+
function Rtt({ frame: e, current: t, slack: n, view: r, fixed: a, open: i }) {
|
|
84832
84832
|
const o = t + n;
|
|
84833
84833
|
let s = 0;
|
|
84834
84834
|
if (i > 0) {
|
|
84835
|
-
const l = Math.min(i, Math.max(0, r *
|
|
84836
|
-
|
|
84835
|
+
const l = Math.min(i, Math.max(0, r * Ptt)), c = Math.max(
|
|
84836
|
+
Ntt,
|
|
84837
84837
|
l * (1 - c8) / c8
|
|
84838
84838
|
);
|
|
84839
84839
|
s = a + c + l;
|
|
84840
84840
|
}
|
|
84841
84841
|
return Math.ceil(Math.max(e, o, s));
|
|
84842
84842
|
}
|
|
84843
|
-
function
|
|
84843
|
+
function jtt(e) {
|
|
84844
84844
|
for (let t = e.parentElement; t; t = t.parentElement) {
|
|
84845
84845
|
const { overflowY: n } = getComputedStyle(t);
|
|
84846
84846
|
if (n === "auto" || n === "scroll") return t;
|
|
84847
84847
|
}
|
|
84848
84848
|
return null;
|
|
84849
84849
|
}
|
|
84850
|
-
const u8 = (e) => e.offsetHeight || 0,
|
|
84851
|
-
function
|
|
84850
|
+
const u8 = (e) => e.offsetHeight || 0, Dtt = (e) => /(auto|scroll)/.test(getComputedStyle(e).overflowY);
|
|
84851
|
+
function Utt(e) {
|
|
84852
84852
|
let t = 0;
|
|
84853
84853
|
const n = (r) => {
|
|
84854
84854
|
for (const a of r.children) {
|
|
84855
|
-
if (a.scrollHeight > a.clientHeight + 1 &&
|
|
84855
|
+
if (a.scrollHeight > a.clientHeight + 1 && Dtt(a)) {
|
|
84856
84856
|
t += a.scrollHeight - a.clientHeight;
|
|
84857
84857
|
continue;
|
|
84858
84858
|
}
|
|
@@ -84862,7 +84862,7 @@ function Dtt(e) {
|
|
|
84862
84862
|
return n(e), e.scrollHeight + t;
|
|
84863
84863
|
}
|
|
84864
84864
|
const Qq = 1024;
|
|
84865
|
-
function
|
|
84865
|
+
function Qtt(e, t, n, r) {
|
|
84866
84866
|
x.useLayoutEffect(() => {
|
|
84867
84867
|
const a = e.current;
|
|
84868
84868
|
if (!n || !t || !a) return;
|
|
@@ -84870,11 +84870,11 @@ function Utt(e, t, n, r) {
|
|
|
84870
84870
|
(f) => f instanceof HTMLElement && f.dataset.cell === t
|
|
84871
84871
|
);
|
|
84872
84872
|
if (!i) return;
|
|
84873
|
-
const o =
|
|
84873
|
+
const o = jtt(a), s = a.closest("[data-layout]");
|
|
84874
84874
|
let l;
|
|
84875
84875
|
const c = () => {
|
|
84876
84876
|
l = void 0;
|
|
84877
|
-
const f = getComputedStyle(a), h = parseFloat(f.rowGap) || 0, p = r * nC + Math.max(0, r - 1) * h, g = o ? o.clientHeight : window.innerHeight, m = o ? o.getBoundingClientRect().top : 0, v = o ? o.scrollTop : window.scrollY, y = s && parseFloat(getComputedStyle(s).paddingBottom) || 0, b = a.getBoundingClientRect().bottom - m + v + y, w = i.querySelector(":scope > * > section"), C = w ? [...w.children] : [], B = C.filter((T) => T.hasAttribute("data-fill")), S = C.filter((T) => T.hasAttribute("data-shrink")), k = w ? u8(w) - [...B, ...S].reduce((T, I) => T + u8(I), 0) : 0, O = S.reduce((T, I) => T +
|
|
84877
|
+
const f = getComputedStyle(a), h = parseFloat(f.rowGap) || 0, p = r * nC + Math.max(0, r - 1) * h, g = o ? o.clientHeight : window.innerHeight, m = o ? o.getBoundingClientRect().top : 0, v = o ? o.scrollTop : window.scrollY, y = s && parseFloat(getComputedStyle(s).paddingBottom) || 0, b = a.getBoundingClientRect().bottom - m + v + y, w = i.querySelector(":scope > * > section"), C = w ? [...w.children] : [], B = C.filter((T) => T.hasAttribute("data-fill")), S = C.filter((T) => T.hasAttribute("data-shrink")), k = w ? u8(w) - [...B, ...S].reduce((T, I) => T + u8(I), 0) : 0, O = S.reduce((T, I) => T + Utt(I), 0), _ = Rtt({
|
|
84878
84878
|
frame: p,
|
|
84879
84879
|
current: i.offsetHeight,
|
|
84880
84880
|
slack: g - b,
|
|
@@ -84895,7 +84895,7 @@ function Utt(e, t, n, r) {
|
|
|
84895
84895
|
};
|
|
84896
84896
|
}, [e, t, n, r]);
|
|
84897
84897
|
}
|
|
84898
|
-
const t0 = { x: 0, y: 0, w: jl, h: 4 },
|
|
84898
|
+
const t0 = { x: 0, y: 0, w: jl, h: 4 }, Htt = 0.5, ztt = 9, q2 = (e, t, n) => Math.min(Math.max(e, t), n), A8 = 48, d8 = 16;
|
|
84899
84899
|
function Hq(e) {
|
|
84900
84900
|
for (let t = e.parentElement; t; t = t.parentElement) {
|
|
84901
84901
|
const { overflowY: n } = getComputedStyle(t);
|
|
@@ -84903,14 +84903,14 @@ function Hq(e) {
|
|
|
84903
84903
|
}
|
|
84904
84904
|
return null;
|
|
84905
84905
|
}
|
|
84906
|
-
function
|
|
84906
|
+
function Ktt(e, t) {
|
|
84907
84907
|
const [n, r] = x.useState(!0);
|
|
84908
84908
|
return x.useLayoutEffect(() => {
|
|
84909
84909
|
const a = e.current;
|
|
84910
84910
|
if (!t || !a) return;
|
|
84911
84911
|
const i = Hq(a), o = () => {
|
|
84912
84912
|
const l = i?.clientHeight || window.innerHeight, c = a.getBoundingClientRect().width > Qq;
|
|
84913
|
-
r(c && a.offsetHeight <= l *
|
|
84913
|
+
r(c && a.offsetHeight <= l * Htt);
|
|
84914
84914
|
};
|
|
84915
84915
|
o(), window.addEventListener("resize", o);
|
|
84916
84916
|
const s = typeof ResizeObserver > "u" ? void 0 : new ResizeObserver(o);
|
|
@@ -84919,9 +84919,9 @@ function ztt(e, t) {
|
|
|
84919
84919
|
};
|
|
84920
84920
|
}, [e, t]), n;
|
|
84921
84921
|
}
|
|
84922
|
-
function
|
|
84923
|
-
const { t: n } = Qe(), r = Bl(), a = x.useRef(null), i = x.useRef(null), o = t ?? 0, s = Kme(e, o), l = o > 0 && !r?.arranging && s.crossing.length === 0 && s.pinned.length > 0, c =
|
|
84924
|
-
|
|
84922
|
+
function Gtt({ items: e, pinRows: t }) {
|
|
84923
|
+
const { t: n } = Qe(), r = Bl(), a = x.useRef(null), i = x.useRef(null), o = t ?? 0, s = Kme(e, o), l = o > 0 && !r?.arranging && s.crossing.length === 0 && s.pinned.length > 0, c = Ktt(i, l), u = l ? s.rest : e, A = l ? o : 0, [d, f] = x.useState(null), h = r ? void 0 : $tt(u), p = u.find((y) => y.id === h)?.frame ?? t0;
|
|
84924
|
+
Qtt(a, h, !r, p.h);
|
|
84925
84925
|
const g = (y, b, w) => {
|
|
84926
84926
|
const C = a.current;
|
|
84927
84927
|
if (!C || !r) return;
|
|
@@ -84979,7 +84979,7 @@ function Ktt({ items: e, pinRows: t }) {
|
|
|
84979
84979
|
"data-fit-cell": y.id === h || void 0,
|
|
84980
84980
|
style: C,
|
|
84981
84981
|
"data-dragging": d?.id === y.id,
|
|
84982
|
-
"data-wide": w.w >=
|
|
84982
|
+
"data-wide": w.w >= ztt || void 0,
|
|
84983
84983
|
children: [
|
|
84984
84984
|
/* @__PURE__ */ E.jsx(Sg, { placement: y }),
|
|
84985
84985
|
r?.arranging && /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
@@ -85041,7 +85041,7 @@ function Ktt({ items: e, pinRows: t }) {
|
|
|
85041
85041
|
v
|
|
85042
85042
|
] }) : v;
|
|
85043
85043
|
}
|
|
85044
|
-
function
|
|
85044
|
+
function Vtt() {
|
|
85045
85045
|
const { t: e } = Qe(), { spec: t, overlay: n } = gt(), { current: r, select: a } = sA();
|
|
85046
85046
|
if (!r) return null;
|
|
85047
85047
|
const i = cD(t) && n;
|
|
@@ -85060,7 +85060,7 @@ function Gtt() {
|
|
|
85060
85060
|
/* @__PURE__ */ E.jsx(Ge, { size: "small", type: "link", onClick: () => a(void 0), children: e("workshopLab.scenario.backToFact") })
|
|
85061
85061
|
] });
|
|
85062
85062
|
}
|
|
85063
|
-
function
|
|
85063
|
+
function lrt({
|
|
85064
85064
|
spec: e,
|
|
85065
85065
|
kn: t,
|
|
85066
85066
|
sources: n,
|
|
@@ -85074,7 +85074,7 @@ function srt({
|
|
|
85074
85074
|
showTitle: u = !0,
|
|
85075
85075
|
keepResults: A
|
|
85076
85076
|
}) {
|
|
85077
|
-
const { layout: d } = e, f =
|
|
85077
|
+
const { layout: d } = e, f = qtt(e), h = f.ids.size > 0 ? Ztt(e.regions, f.ids) : e.regions;
|
|
85078
85078
|
return /* @__PURE__ */ E.jsx(
|
|
85079
85079
|
Zve,
|
|
85080
85080
|
{
|
|
@@ -85100,28 +85100,28 @@ function srt({
|
|
|
85100
85100
|
"data-float": !!f.float,
|
|
85101
85101
|
children: [
|
|
85102
85102
|
u && /* @__PURE__ */ E.jsx("h2", { className: hn.title, children: e.title }),
|
|
85103
|
-
/* @__PURE__ */ E.jsx(
|
|
85103
|
+
/* @__PURE__ */ E.jsx(Vtt, {}),
|
|
85104
85104
|
/* @__PURE__ */ E.jsx(Kbe, {}),
|
|
85105
85105
|
/* @__PURE__ */ E.jsxs("div", { className: hn.body, children: [
|
|
85106
85106
|
/* @__PURE__ */ E.jsxs("div", { className: hn.layout, children: [
|
|
85107
|
-
d.type === "workbench" && /* @__PURE__ */ E.jsx(
|
|
85108
|
-
d.type === "dashboard" && /* @__PURE__ */ E.jsx(
|
|
85109
|
-
d.type === "detail" && /* @__PURE__ */ E.jsx(
|
|
85110
|
-
d.type === "free" && /* @__PURE__ */ E.jsx(
|
|
85107
|
+
d.type === "workbench" && /* @__PURE__ */ E.jsx(Wtt, { layout: d, regions: h }),
|
|
85108
|
+
d.type === "dashboard" && /* @__PURE__ */ E.jsx(Ytt, { layout: d, regions: h }),
|
|
85109
|
+
d.type === "detail" && /* @__PURE__ */ E.jsx(Xtt, { layout: d, regions: h }),
|
|
85110
|
+
d.type === "free" && /* @__PURE__ */ E.jsx(Gtt, { items: h.cells ?? [], pinRows: d.pinRows })
|
|
85111
85111
|
] }),
|
|
85112
|
-
f.side && /* @__PURE__ */ E.jsx(
|
|
85112
|
+
f.side && /* @__PURE__ */ E.jsx(Jtt, { placement: f.side })
|
|
85113
85113
|
] }),
|
|
85114
|
-
f.float && /* @__PURE__ */ E.jsx(
|
|
85114
|
+
f.float && /* @__PURE__ */ E.jsx(ent, { placement: f.float })
|
|
85115
85115
|
]
|
|
85116
85116
|
}
|
|
85117
85117
|
),
|
|
85118
|
-
e.detail && /* @__PURE__ */ E.jsx(
|
|
85119
|
-
a && /* @__PURE__ */ E.jsx(
|
|
85118
|
+
e.detail && /* @__PURE__ */ E.jsx(Ltt, { detail: e.detail, themeVars: p }),
|
|
85119
|
+
a && /* @__PURE__ */ E.jsx(Mtt, { themeVars: p })
|
|
85120
85120
|
] })
|
|
85121
85121
|
}
|
|
85122
85122
|
);
|
|
85123
85123
|
}
|
|
85124
|
-
function
|
|
85124
|
+
function Wtt({ layout: e, regions: t }) {
|
|
85125
85125
|
const n = zq(t, "side") ? { id: "side", width: `${e.sideWidth}px` } : null, r = Kq(e, t) ? { id: "aside", width: `${e.asideWidth}px` } : null, a = { id: "main", width: "minmax(0, 1fr)" }, i = (e.sidePosition === "left" ? [n, a, r] : [r, a, n]).filter((o) => o !== null);
|
|
85126
85126
|
return /* @__PURE__ */ E.jsx(
|
|
85127
85127
|
"div",
|
|
@@ -85134,7 +85134,7 @@ function Vtt({ layout: e, regions: t }) {
|
|
|
85134
85134
|
}
|
|
85135
85135
|
);
|
|
85136
85136
|
}
|
|
85137
|
-
function
|
|
85137
|
+
function Ytt({ layout: e, regions: t }) {
|
|
85138
85138
|
return /* @__PURE__ */ E.jsxs("div", { className: hn.stack, children: [
|
|
85139
85139
|
/* @__PURE__ */ E.jsx(Ph, { items: t.header }),
|
|
85140
85140
|
/* @__PURE__ */ E.jsx(
|
|
@@ -85158,7 +85158,7 @@ function Wtt({ layout: e, regions: t }) {
|
|
|
85158
85158
|
)
|
|
85159
85159
|
] });
|
|
85160
85160
|
}
|
|
85161
|
-
function
|
|
85161
|
+
function Xtt({ layout: e, regions: t }) {
|
|
85162
85162
|
const n = Kq(e, t);
|
|
85163
85163
|
return /* @__PURE__ */ E.jsxs("div", { className: hn.stack, children: [
|
|
85164
85164
|
/* @__PURE__ */ E.jsx(Ph, { items: t.header }),
|
|
@@ -85186,7 +85186,7 @@ function zq(e, t) {
|
|
|
85186
85186
|
function Kq(e, t) {
|
|
85187
85187
|
return e.asideWidth > 0 && zq(t, "aside");
|
|
85188
85188
|
}
|
|
85189
|
-
function
|
|
85189
|
+
function qtt(e) {
|
|
85190
85190
|
const t = Object.values(e.regions).flatMap((a) => a ?? []), n = hD(t), r = t.filter((a) => n.has(a.id));
|
|
85191
85191
|
return {
|
|
85192
85192
|
float: r.find((a) => a.config.mode === "float"),
|
|
@@ -85194,7 +85194,7 @@ function Xtt(e) {
|
|
|
85194
85194
|
ids: n
|
|
85195
85195
|
};
|
|
85196
85196
|
}
|
|
85197
|
-
function
|
|
85197
|
+
function Ztt(e, t) {
|
|
85198
85198
|
return Object.fromEntries(
|
|
85199
85199
|
Object.entries(e).map(([n, r]) => [
|
|
85200
85200
|
n,
|
|
@@ -85202,7 +85202,7 @@ function qtt(e, t) {
|
|
|
85202
85202
|
])
|
|
85203
85203
|
);
|
|
85204
85204
|
}
|
|
85205
|
-
function
|
|
85205
|
+
function Jtt({ placement: e }) {
|
|
85206
85206
|
const t = x.useRef(null);
|
|
85207
85207
|
return x.useLayoutEffect(() => {
|
|
85208
85208
|
const n = t.current;
|
|
@@ -85225,7 +85225,7 @@ function Gq(e) {
|
|
|
85225
85225
|
for (; t && !/(auto|scroll)/.test(getComputedStyle(t).overflowY); ) t = t.parentElement;
|
|
85226
85226
|
return t;
|
|
85227
85227
|
}
|
|
85228
|
-
function
|
|
85228
|
+
function ent({ placement: e }) {
|
|
85229
85229
|
const t = x.useRef(null);
|
|
85230
85230
|
return x.useLayoutEffect(() => {
|
|
85231
85231
|
const n = t.current;
|
|
@@ -85245,8 +85245,8 @@ function Jtt({ placement: e }) {
|
|
|
85245
85245
|
}, []), /* @__PURE__ */ E.jsx("div", { ref: t, className: hn.floatDock, children: /* @__PURE__ */ E.jsx(Sg, { placement: e }) });
|
|
85246
85246
|
}
|
|
85247
85247
|
export {
|
|
85248
|
-
|
|
85249
|
-
|
|
85248
|
+
ort as $,
|
|
85249
|
+
dnt as A,
|
|
85250
85250
|
DYe as B,
|
|
85251
85251
|
gr as C,
|
|
85252
85252
|
fc as D,
|
|
@@ -85256,28 +85256,28 @@ export {
|
|
|
85256
85256
|
Fa as H,
|
|
85257
85257
|
Xv as I,
|
|
85258
85258
|
$X as J,
|
|
85259
|
-
|
|
85260
|
-
|
|
85259
|
+
Znt as K,
|
|
85260
|
+
Jnt as L,
|
|
85261
85261
|
Kj as M,
|
|
85262
85262
|
Df as N,
|
|
85263
85263
|
H0 as O,
|
|
85264
85264
|
Zbe as P,
|
|
85265
|
-
|
|
85265
|
+
int as Q,
|
|
85266
85266
|
hd as R,
|
|
85267
85267
|
V1 as S,
|
|
85268
85268
|
qu as T,
|
|
85269
|
-
|
|
85270
|
-
|
|
85271
|
-
|
|
85272
|
-
|
|
85269
|
+
Pnt as U,
|
|
85270
|
+
Get as V,
|
|
85271
|
+
rrt as W,
|
|
85272
|
+
cnt as X,
|
|
85273
85273
|
Dk as Y,
|
|
85274
85274
|
$ve as Z,
|
|
85275
|
-
|
|
85275
|
+
srt as _,
|
|
85276
85276
|
J1 as a,
|
|
85277
|
-
|
|
85278
|
-
|
|
85279
|
-
|
|
85280
|
-
|
|
85277
|
+
wnt as a$,
|
|
85278
|
+
Tnt as a0,
|
|
85279
|
+
jnt as a1,
|
|
85280
|
+
lrt as a2,
|
|
85281
85281
|
Gd as a3,
|
|
85282
85282
|
qk as a4,
|
|
85283
85283
|
SAe as a5,
|
|
@@ -85296,70 +85296,70 @@ export {
|
|
|
85296
85296
|
eO as aI,
|
|
85297
85297
|
Hj as aJ,
|
|
85298
85298
|
Qde as aK,
|
|
85299
|
-
|
|
85299
|
+
Rnt as aL,
|
|
85300
85300
|
q1 as aM,
|
|
85301
85301
|
Qj as aN,
|
|
85302
85302
|
Vce as aO,
|
|
85303
85303
|
cde as aP,
|
|
85304
85304
|
tAe as aQ,
|
|
85305
85305
|
Kme as aR,
|
|
85306
|
-
|
|
85306
|
+
ont as aS,
|
|
85307
85307
|
Zve as aT,
|
|
85308
85308
|
Sg as aU,
|
|
85309
85309
|
eD as aV,
|
|
85310
|
-
|
|
85310
|
+
Fnt as aW,
|
|
85311
85311
|
bB as aX,
|
|
85312
85312
|
yT as aY,
|
|
85313
85313
|
zge as aZ,
|
|
85314
|
-
|
|
85314
|
+
Ent as a_,
|
|
85315
85315
|
ar as aa,
|
|
85316
85316
|
$n as ab,
|
|
85317
|
-
|
|
85317
|
+
Int as ac,
|
|
85318
85318
|
Rge as ad,
|
|
85319
85319
|
kk as ae,
|
|
85320
85320
|
Bl as af,
|
|
85321
85321
|
Xbe as ag,
|
|
85322
|
-
|
|
85322
|
+
lnt as ah,
|
|
85323
85323
|
Bwe as ai,
|
|
85324
85324
|
kc as aj,
|
|
85325
|
-
|
|
85325
|
+
Dnt as ak,
|
|
85326
85326
|
pD as al,
|
|
85327
85327
|
Jk as am,
|
|
85328
|
-
|
|
85328
|
+
snt as an,
|
|
85329
85329
|
tO as ao,
|
|
85330
85330
|
zA as ap,
|
|
85331
85331
|
KA as aq,
|
|
85332
85332
|
lu as ar,
|
|
85333
85333
|
jh as as,
|
|
85334
85334
|
Ige as at,
|
|
85335
|
-
|
|
85336
|
-
|
|
85335
|
+
Lnt as au,
|
|
85336
|
+
Nnt as av,
|
|
85337
85337
|
Dme as aw,
|
|
85338
85338
|
$me as ax,
|
|
85339
85339
|
uD as ay,
|
|
85340
85340
|
Bme as az,
|
|
85341
85341
|
re as b,
|
|
85342
85342
|
Lc as b$,
|
|
85343
|
-
|
|
85344
|
-
|
|
85345
|
-
|
|
85346
|
-
|
|
85347
|
-
|
|
85348
|
-
|
|
85343
|
+
knt as b0,
|
|
85344
|
+
Bnt as b1,
|
|
85345
|
+
xnt as b2,
|
|
85346
|
+
Cnt as b3,
|
|
85347
|
+
ynt as b4,
|
|
85348
|
+
pnt as b5,
|
|
85349
85349
|
Xge as b6,
|
|
85350
|
-
|
|
85351
|
-
|
|
85352
|
-
|
|
85353
|
-
|
|
85350
|
+
Ont as b7,
|
|
85351
|
+
vnt as b8,
|
|
85352
|
+
bnt as b9,
|
|
85353
|
+
unt as bA,
|
|
85354
85354
|
zme as bB,
|
|
85355
|
-
|
|
85355
|
+
Mnt as bC,
|
|
85356
85356
|
aD as bD,
|
|
85357
85357
|
Dh as bE,
|
|
85358
85358
|
rme as bF,
|
|
85359
85359
|
Dde as bG,
|
|
85360
85360
|
Hde as bH,
|
|
85361
|
-
|
|
85362
|
-
|
|
85361
|
+
Tet as bI,
|
|
85362
|
+
_tt as bJ,
|
|
85363
85363
|
Iu as bK,
|
|
85364
85364
|
Nwe as bL,
|
|
85365
85365
|
ga as bM,
|
|
@@ -85378,9 +85378,9 @@ export {
|
|
|
85378
85378
|
ma as bZ,
|
|
85379
85379
|
Pn as b_,
|
|
85380
85380
|
wT as ba,
|
|
85381
|
-
|
|
85382
|
-
|
|
85383
|
-
|
|
85381
|
+
Snt as bb,
|
|
85382
|
+
mnt as bc,
|
|
85383
|
+
Uet as bd,
|
|
85384
85384
|
qd as be,
|
|
85385
85385
|
kT as bf,
|
|
85386
85386
|
Gp as bg,
|
|
@@ -85389,18 +85389,18 @@ export {
|
|
|
85389
85389
|
AB as bj,
|
|
85390
85390
|
qge as bk,
|
|
85391
85391
|
Zge as bl,
|
|
85392
|
-
|
|
85392
|
+
gnt as bm,
|
|
85393
85393
|
Jge as bn,
|
|
85394
|
-
|
|
85395
|
-
|
|
85394
|
+
hnt as bo,
|
|
85395
|
+
_nt as bp,
|
|
85396
85396
|
Ode as bq,
|
|
85397
|
-
|
|
85398
|
-
|
|
85399
|
-
|
|
85397
|
+
$nt as br,
|
|
85398
|
+
irt as bs,
|
|
85399
|
+
art as bt,
|
|
85400
85400
|
Vme as bu,
|
|
85401
85401
|
t8 as bv,
|
|
85402
85402
|
IT as bw,
|
|
85403
|
-
|
|
85403
|
+
Ant as bx,
|
|
85404
85404
|
kge as by,
|
|
85405
85405
|
Ege as bz,
|
|
85406
85406
|
_i as c,
|
|
@@ -85457,23 +85457,23 @@ export {
|
|
|
85457
85457
|
Yp as d,
|
|
85458
85458
|
ME as e,
|
|
85459
85459
|
Bge as f,
|
|
85460
|
-
|
|
85460
|
+
fnt as g,
|
|
85461
85461
|
nO as h,
|
|
85462
85462
|
Fu as i,
|
|
85463
|
-
|
|
85463
|
+
trt as j,
|
|
85464
85464
|
wD as k,
|
|
85465
85465
|
Wj as l,
|
|
85466
85466
|
U0 as m,
|
|
85467
85467
|
cD as n,
|
|
85468
|
-
|
|
85469
|
-
|
|
85470
|
-
|
|
85471
|
-
|
|
85468
|
+
zZe as o,
|
|
85469
|
+
ert as p,
|
|
85470
|
+
cXe as q,
|
|
85471
|
+
uet as r,
|
|
85472
85472
|
hn as s,
|
|
85473
|
-
|
|
85473
|
+
nrt as t,
|
|
85474
85474
|
sA as u,
|
|
85475
|
-
|
|
85476
|
-
|
|
85475
|
+
lXe as v,
|
|
85476
|
+
LZe as w,
|
|
85477
85477
|
yYe as x,
|
|
85478
85478
|
PYe as y,
|
|
85479
85479
|
NX as z
|