@zeniai/web-components 4.3.2 → 4.3.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/{SessionTimeoutPopup-4I1PCO1e.cjs → SessionTimeoutPopup-B9l5xt8w.cjs} +15432 -15422
- package/dist/{SessionTimeoutPopup-hF6k0f9h.js → SessionTimeoutPopup-BieF8U6a.js} +83980 -84932
- package/dist/appLocale.d.ts +4 -155
- package/dist/cockpit.cjs.js +1 -1
- package/dist/cockpit.esm.js +2 -2
- package/dist/components/dataListTable/ConfigurableDataListTable.d.ts +1 -2
- package/dist/components/dataListTable/types.d.ts +0 -1
- package/dist/components/formElements/labeledTextWithSingleSelectField/LabeledTextWithSingleSelectField.d.ts +1 -5
- package/dist/components/invoicing/catalogForm/catalogItemForm.shared.d.ts +1 -12
- package/dist/components/invoicing/common/InvoicingDetailScaffold.d.ts +1 -3
- package/dist/components/invoicing/createInvoice/InvoicingCreateInvoicePage.d.ts +1 -10
- package/dist/components/invoicing/issueCreditNote/issueCreditNote.shared.d.ts +1 -10
- package/dist/components/invoicing/recordPayment/stories/recordPaymentStoryData.d.ts +22 -3
- package/dist/components/invoicing/settings/InvoicingBrandingSettingsPage.d.ts +2 -4
- package/dist/components/invoicing/settings/brandingForm.shared.d.ts +7 -11
- package/dist/components/invoicing/subscriptionDetail/InvoicingSubscriptionDetailPage.d.ts +2 -4
- package/dist/components/invoicing/subscriptionList/InvoicingSubscriptionListPage.d.ts +2 -3
- package/dist/components/reportTree/CollapsableReportTable.d.ts +2 -3
- package/dist/components/reportTree/StickyHeaders.d.ts +1 -4
- package/dist/components/reportTree/treeNode/TreeNode.d.ts +3 -11
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/strings/strings.d.ts +4 -155
- package/package.json +3 -3
- package/dist/components/invoicing/catalogDetail/catalogDetailEditForm.shared.d.ts +0 -40
- package/dist/components/invoicing/catalogForm/CatalogSubFamilyTierTable.d.ts +0 -20
- package/dist/components/invoicing/subscriptionDetail/InvoicingActionDialog.d.ts +0 -21
package/dist/appLocale.d.ts
CHANGED
|
@@ -1538,151 +1538,6 @@ declare class AppLocale {
|
|
|
1538
1538
|
failed: string;
|
|
1539
1539
|
notification: string;
|
|
1540
1540
|
};
|
|
1541
|
-
invoicing_dunning_case_resolved: {
|
|
1542
|
-
success: string;
|
|
1543
|
-
failed: string;
|
|
1544
|
-
notification: string;
|
|
1545
|
-
};
|
|
1546
|
-
invoicing_dunning_retry: {
|
|
1547
|
-
success: string;
|
|
1548
|
-
failed: string;
|
|
1549
|
-
notification: string;
|
|
1550
|
-
};
|
|
1551
|
-
invoicing_dunning_cancel: {
|
|
1552
|
-
success: string;
|
|
1553
|
-
failed: string;
|
|
1554
|
-
notification: string;
|
|
1555
|
-
};
|
|
1556
|
-
invoicing_dunning_settings_save: {
|
|
1557
|
-
success: string;
|
|
1558
|
-
failed: string;
|
|
1559
|
-
notification: string;
|
|
1560
|
-
};
|
|
1561
|
-
invoicing_qbo_backfill: {
|
|
1562
|
-
success: string;
|
|
1563
|
-
failed: string;
|
|
1564
|
-
notification: string;
|
|
1565
|
-
};
|
|
1566
|
-
invoicing_qbo_sync_health_retry: {
|
|
1567
|
-
success: string;
|
|
1568
|
-
failed: string;
|
|
1569
|
-
notification: string;
|
|
1570
|
-
};
|
|
1571
|
-
invoicing_qbo_settings_save: {
|
|
1572
|
-
success: string;
|
|
1573
|
-
failed: string;
|
|
1574
|
-
notification: string;
|
|
1575
|
-
};
|
|
1576
|
-
invoicing_branding_save: {
|
|
1577
|
-
success: string;
|
|
1578
|
-
failed: string;
|
|
1579
|
-
notification: string;
|
|
1580
|
-
};
|
|
1581
|
-
invoicing_discount_archive: {
|
|
1582
|
-
success: string;
|
|
1583
|
-
failed: string;
|
|
1584
|
-
notification: string;
|
|
1585
|
-
};
|
|
1586
|
-
invoicing_discount_unarchive: {
|
|
1587
|
-
success: string;
|
|
1588
|
-
failed: string;
|
|
1589
|
-
notification: string;
|
|
1590
|
-
};
|
|
1591
|
-
invoicing_discount_delete: {
|
|
1592
|
-
success: string;
|
|
1593
|
-
failed: string;
|
|
1594
|
-
notification: string;
|
|
1595
|
-
};
|
|
1596
|
-
invoicing_invoice_reminder_sent: {
|
|
1597
|
-
success: string;
|
|
1598
|
-
failed: string;
|
|
1599
|
-
notification: string;
|
|
1600
|
-
};
|
|
1601
|
-
invoicing_invoice_regenerated: {
|
|
1602
|
-
success: string;
|
|
1603
|
-
failed: string;
|
|
1604
|
-
notification: string;
|
|
1605
|
-
};
|
|
1606
|
-
invoicing_invoice_voided: {
|
|
1607
|
-
success: string;
|
|
1608
|
-
failed: string;
|
|
1609
|
-
notification: string;
|
|
1610
|
-
};
|
|
1611
|
-
invoicing_catalog_item_saved: {
|
|
1612
|
-
success: string;
|
|
1613
|
-
failed: string;
|
|
1614
|
-
notification: string;
|
|
1615
|
-
};
|
|
1616
|
-
invoicing_customer_saved: {
|
|
1617
|
-
success: string;
|
|
1618
|
-
failed: string;
|
|
1619
|
-
notification: string;
|
|
1620
|
-
};
|
|
1621
|
-
invoicing_subscription_saved: {
|
|
1622
|
-
success: string;
|
|
1623
|
-
failed: string;
|
|
1624
|
-
notification: string;
|
|
1625
|
-
};
|
|
1626
|
-
invoicing_coupon_saved: {
|
|
1627
|
-
success: string;
|
|
1628
|
-
failed: string;
|
|
1629
|
-
notification: string;
|
|
1630
|
-
};
|
|
1631
|
-
invoicing_invoice_saved: {
|
|
1632
|
-
success: string;
|
|
1633
|
-
failed: string;
|
|
1634
|
-
notification: string;
|
|
1635
|
-
};
|
|
1636
|
-
invoicing_subscription_activated: {
|
|
1637
|
-
success: string;
|
|
1638
|
-
failed: string;
|
|
1639
|
-
notification: string;
|
|
1640
|
-
};
|
|
1641
|
-
invoicing_subscription_cancellation_removed: {
|
|
1642
|
-
success: string;
|
|
1643
|
-
failed: string;
|
|
1644
|
-
notification: string;
|
|
1645
|
-
};
|
|
1646
|
-
invoicing_subscription_cancelled: {
|
|
1647
|
-
success: string;
|
|
1648
|
-
failed: string;
|
|
1649
|
-
notification: string;
|
|
1650
|
-
};
|
|
1651
|
-
invoicing_subscription_non_renewing: {
|
|
1652
|
-
success: string;
|
|
1653
|
-
failed: string;
|
|
1654
|
-
notification: string;
|
|
1655
|
-
};
|
|
1656
|
-
invoicing_subscription_paused: {
|
|
1657
|
-
success: string;
|
|
1658
|
-
failed: string;
|
|
1659
|
-
notification: string;
|
|
1660
|
-
};
|
|
1661
|
-
invoicing_subscription_reactivated: {
|
|
1662
|
-
success: string;
|
|
1663
|
-
failed: string;
|
|
1664
|
-
notification: string;
|
|
1665
|
-
};
|
|
1666
|
-
invoicing_subscription_resumed: {
|
|
1667
|
-
success: string;
|
|
1668
|
-
failed: string;
|
|
1669
|
-
notification: string;
|
|
1670
|
-
};
|
|
1671
|
-
invoicing_subscription_term_end_changed: {
|
|
1672
|
-
success: string;
|
|
1673
|
-
failed: string;
|
|
1674
|
-
notification: string;
|
|
1675
|
-
};
|
|
1676
|
-
invoicing_credit_note_saved: {
|
|
1677
|
-
success: string;
|
|
1678
|
-
failed: string;
|
|
1679
|
-
notification: string;
|
|
1680
|
-
};
|
|
1681
|
-
invoicing_payment_recorded: {
|
|
1682
|
-
success: string;
|
|
1683
|
-
failed: string;
|
|
1684
|
-
notification: string;
|
|
1685
|
-
};
|
|
1686
1541
|
};
|
|
1687
1542
|
currency: {
|
|
1688
1543
|
currencyCode: string;
|
|
@@ -10746,10 +10601,14 @@ declare class AppLocale {
|
|
|
10746
10601
|
};
|
|
10747
10602
|
invoicingCatalogDetail: {
|
|
10748
10603
|
oneSpace: string;
|
|
10604
|
+
tiersSuffix: string;
|
|
10749
10605
|
activeSubFamilies: string;
|
|
10750
10606
|
archivedSubFamilies: string;
|
|
10751
10607
|
lowestActiveSubFamilyPrice: string;
|
|
10608
|
+
model: string;
|
|
10752
10609
|
priceTiers: string;
|
|
10610
|
+
trial: string;
|
|
10611
|
+
freeQty: string;
|
|
10753
10612
|
catalogItemNotFound: string;
|
|
10754
10613
|
itemId: string;
|
|
10755
10614
|
externalId: string;
|
|
@@ -10834,7 +10693,6 @@ declare class AppLocale {
|
|
|
10834
10693
|
labelAddTiers: string;
|
|
10835
10694
|
tierColumnFrom: string;
|
|
10836
10695
|
tierColumnTo: string;
|
|
10837
|
-
tierColumnPackageSize: string;
|
|
10838
10696
|
infinity: string;
|
|
10839
10697
|
removeTierX: string;
|
|
10840
10698
|
addTierLink: string;
|
|
@@ -11603,15 +11461,6 @@ declare class AppLocale {
|
|
|
11603
11461
|
qboSaveButtonLabel: string;
|
|
11604
11462
|
};
|
|
11605
11463
|
invoicingSubscriptionDetail: {
|
|
11606
|
-
changeTermEndTitle: string;
|
|
11607
|
-
changeTermEndDateLabel: string;
|
|
11608
|
-
pauseSubscriptionTitle: string;
|
|
11609
|
-
pauseSubscriptionDateLabel: string;
|
|
11610
|
-
pauseSubscriptionHint: string;
|
|
11611
|
-
pauseSubscriptionConfirm: string;
|
|
11612
|
-
cancelSubscriptionTitle: string;
|
|
11613
|
-
cancelSubscriptionMessage: string;
|
|
11614
|
-
cancelSubscriptionConfirm: string;
|
|
11615
11464
|
everyUnit: string;
|
|
11616
11465
|
everyPeriodUnits: string;
|
|
11617
11466
|
charge: string;
|
package/dist/cockpit.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./SessionTimeoutPopup-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./SessionTimeoutPopup-B9l5xt8w.cjs"),o=require("./vendor-.pnpm-Bks7atPv.cjs"),u=require("react"),s=require("@emotion/styled"),Xe=require("@liveblocks/react"),J=require("@zeniai/client-epic-state"),ws=require("@liveblocks/react-ui"),Ee=require("@emotion/react"),Po=require("react-dom"),St=require("@liveblocks/react-ui/primitives"),yi=require("@liveblocks/react/suspense");function Pa(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const le=Pa(u),Ia=({inboxNotification:e,onNotificationClick:n})=>{const r=Xe.useInboxNotificationThread(e.id),i=r.metadata.entityType.split("."),a=r.metadata.isGlobalComment&&i.length===2;return o.jsxRuntimeExports.jsx(La,{isClickable:a,isUnRead:e.readAt==null,onClick:()=>{n(r.metadata,r.id)},children:o.jsxRuntimeExports.jsx(ws.InboxNotification,{inboxNotification:e,kinds:{thread:d=>o.jsxRuntimeExports.jsx(ws.InboxNotification.Thread,{...d,showRoomName:!0})}})})},La=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
cursor: ${e=>e.isClickable?"pointer":"initial"};
|
package/dist/cockpit.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { eP as o, ig as ze, m as ft, gX as P, fn as It, bX as Yr, a3 as Be, fs as Gd, hh as Yd, hs as Zd, aJ as I, hk as H, ez as Qd, iQ as ye, iB as lo, f_ as at, aL as Wt, dk as Es, C as $o, fP as ss, df as wo, fp as as, fE as Jd, e$ as Jt, eY as Ne, hr as Ml, fL as Co, eA as Rs, da as Me, it as Xd, bj as qd, bF as _t, bg as ep, fl as zl, hA as tp, bt as ls, Q as cs, hN as op, hO as np, hP as rp, aK as ip, dw as sp, d8 as gt, fr as Fl, dG as ap, fb as Zr, fJ as ds, id as _, et as lp, bQ as cp, eG as $e, fh as dp, ej as B, dH as Fe, ih as dt, f7 as ps, bT as Rr, eH as pp, fi as us, bG as Qr, hZ as Te, bY as Jr, fj as Bl, fB as Wl, fw as Qn, hd as zt, g0 as ct, eU as hn, dc as up, de as _l, fm as Vl, ht as Lt, gV as et, gm as Mr, gR as hp, fY as mn, fZ as gn, p as xn, h9 as zo, f5 as Fo, d9 as Xr, fq as hs, dd as mp, ft as Ul, fk as co, fo as Bo, br as Qt, gQ as Ms, hK as gp, hy as xp, hE as yp, fv as fp, fO as bp, fN as Jn, eV as Cp, eW as ms, hu as $p, fu as Kl, fA as Hl, fz as Gl, bC as Yl, i7 as wp, d2 as zs, d3 as gs, cY as Sp, d1 as vp, bU as Xn, bD as yn, fy as xs, aN as jp, eD as kp, hn as yt, eM as Zl, d0 as zr, d6 as Tp, bB as ys, cV as Pp, ek as Kn, fg as Lp, ff as Ip, fc as Ap, cW as fs, eB as Fs, cZ as Ql, iH as Fr, dI as Jl, f9 as Xl, hi as bs, cX as Op, aW as dn, aU as Hn, aV as Gn, iS as ql, bl as Dp, iD as Np, bH as Yt, aY as Pt, fI as Cs, fD as ec, f0 as Ep, di as tc, fF as Rp, e_ as Mp, aZ as Kt, hY as sr, bL as zp, iO as Fp, d5 as Ht, b8 as oc, eC as Bs, c$ as Bp, d4 as Wp, e6 as Ws, b7 as _p, g as Vp, c_ as Up, dK as Kp, fd as Hp, eL as qn, iy as nc, iC as rc, bK as Zt, a7 as qr, a8 as pn, iE as ic, hF as sc, bm as Gp, dm as Yp, dB as ac, dA as Zp, hL as Qp, dr as Br, aE as lc, dq as Jp, dp as Xp, bq as qp, dn as $s, hv as cc, bO as dc, gZ as pc, o as uc, fW as hc, bP as eu, D as mc, bS as gc, gn as tu, eT as ou, ix as nu, dy as ru, hz as iu, hw as su, a2 as au, eg as _s, hD as lu, fM as xc, hM as Vs, dC as cu, db as du, eZ as pu, fx as uu, fC as hu, fe as mu, h6 as Us, fH as gu, eN as yc, eI as xu, hc as fc, bs as yu, f1 as fu, bE as bu, bI as Cu, eJ as bc, fG as $u, d7 as wu, fK as Su, eF as vu, eK as Cc, eX as ju, bJ as ku, eE as Tu } from "./SessionTimeoutPopup-
|
|
2
|
-
import { A as Wj, a as _j, b as Vj, c as Uj, d as Kj, e as Hj, f as Gj, h as Yj, i as Zj, j as Qj, k as Jj, l as Xj, n as qj, q as ek, r as tk, s as ok, t as nk, u as rk, v as ik, w as sk, x as ak, y as lk, z as ck, B as dk, E as pk, F as uk, G as hk, H as mk, I as gk, J as xk, K as yk, L as fk, M as bk, N as Ck, O as $k, P as wk, R as Sk, S as vk, T as jk, U as kk, V as Tk, W as Pk, X as Lk, Y as Ik, Z as Ak, eS as Ok, _ as Dk, $ as Nk, a0 as Ek, a1 as Rk, a4 as Mk, a5 as zk, a6 as Fk, a9 as Bk, aa as Wk, ab as _k, ac as Vk, ad as Uk, ae as Kk, af as Hk, ag as Gk, ah as Yk, ai as Zk, aj as Qk, ak as Jk, al as Xk, am as qk, an as eT, ao as tT, ap as oT, aq as nT, ar as rT, as as iT, at as sT, au as aT, av as lT, aw as cT, ax as dT, ay as pT, eS as uT, az as hT, aA as mT, aB as gT, aC as xT, aD as yT, aF as fT, aG as bT, aH as CT, aI as $T, aM as wT, aO as ST, aP as vT, aQ as jT, aR as kT, aS as TT, aT as PT, aX as LT, a_ as IT, a$ as AT, b0 as OT, b1 as DT, b2 as NT, b3 as ET, b4 as RT, b5 as MT, b6 as zT, b9 as FT, ba as BT, bb as WT, bc as _T, bd as VT, be as UT, bf as KT, bh as HT, bk as GT, bn as YT, bo as ZT, bp as QT, bu as JT, bv as XT, bw as qT, bx as eP, by as tP, bz as oP, bA as nP, bM as rP, bN as iP, bR as sP, bV as aP, bW as lP, bZ as cP, b_ as dP, b$ as pP, c0 as uP, c1 as hP, c2 as mP, c3 as gP, c4 as xP, c5 as yP, c6 as fP, c7 as bP, c8 as CP, c9 as $P, ca as wP, cb as SP, cc as vP, cd as jP, ce as kP, cf as TP, cg as PP, ch as LP, ci as IP, cj as AP, ck as OP, cl as DP, cm as NP, cn as EP, co as RP, cp as MP, cq as zP, cr as FP, cs as BP, ct as WP, cu as _P, cv as VP, cw as UP, cx as KP, cy as HP, cz as GP, cA as YP, cB as ZP, cC as QP, cD as JP, cE as XP, cF as qP, cG as eL, cH as tL, cI as oL, cJ as nL, cK as rL, cL as iL, cM as sL, cN as aL, cN as lL, cO as cL, cP as dL, cQ as pL, cR as uL, cS as hL, cT as mL, cU as gL, dg as xL, dh as yL, dj as fL, dl as bL, ds as CL, dt as $L, du as wL, dv as SL, dx as vL, dz as jL, dD as kL, dE as TL, dF as PL, dJ as LL, dL as IL, dM as AL, dN as OL, dO as DL, dP as NL, dQ as EL, dR as RL, dS as ML, dT as zL, dU as FL, dV as BL, dW as WL, dX as _L, dY as VL, dZ as UL, d_ as KL, d$ as HL, e0 as GL, e1 as YL, e2 as ZL, e3 as QL, e4 as JL, e5 as XL, e7 as qL, bi as eI, e8 as tI, e9 as oI, ea as nI, eb as rI, ec as iI, ed as sI, ee as aI, eS as lI, eh as cI, ef as dI, ei as pI, el as uI, em as hI, en as mI, eo as gI, ep as xI, eq as yI, er as fI, es as bI, eu as CI, ev as $I, ew as wI, ex as SI, ey as vI, eO as jI, eQ as kI, eR as TI, f2 as PI, f3 as LI, f4 as II, f6 as AI, f8 as OI, fa as DI, fQ as NI, fR as EI, fS as RI, fT as MI, fU as zI, fV as FI, fX as BI, f$ as WI, g1 as _I, g2 as VI, g3 as UI, g4 as KI, g5 as HI, g6 as GI, g7 as YI, g8 as ZI, g9 as QI, ga as JI, gb as XI, gc as qI, gd as eA, ge as tA, gf as oA, gg as nA, gh as rA, gi as iA, gj as sA, gk as aA, gl as lA, go as cA, gp as dA, gq as pA, gr as uA, gs as hA, gt as mA, gu as gA, gv as xA, gw as yA, gx as fA, gy as bA, gz as CA, gA as $A, gB as wA, gC as SA, gD as vA, gE as jA, gF as kA, gG as TA, gH as PA, gI as LA, gJ as IA, gK as AA, gL as OA, gM as DA, gN as NA, gO as EA, gP as RA, gS as MA, gT as zA, gU as FA, gW as BA, gY as WA, g_ as _A, g$ as VA, h0 as UA, h1 as KA, h2 as HA, h3 as GA, h4 as YA, h5 as ZA, h7 as QA, h8 as JA, ha as XA, hb as qA, he as eO, hg as tO, hf as oO, hj as nO, hl as rO, hm as iO, ho as sO, hp as aO, hq as lO, hx as cO, hB as dO, hC as pO, hG as uO, hH as hO, hI as mO, hJ as gO, hQ as xO, hR as yO, hS as fO, hT as bO, hU as CO, hV as $O, hW as wO, hX as SO, h_ as vO, h$ as jO, i0 as kO, i1 as TO, i2 as PO, i3 as LO, i4 as IO, i5 as AO, i6 as OO, i8 as DO, i9 as NO, ia as EO, ib as RO, ic as MO, ie as zO, ii as FO, ij as BO, ik as WO, il as _O, im as VO, io as UO, ip as KO, iq as HO, ir as GO, is as YO, iu as ZO, iv as QO, iw as JO, iz as XO, iA as qO, iF as eD, iG as tD, iI as oD, iJ as nD, iK as rD, iL as iD, iM as sD, iN as aD, iP as lD, iR as cD, iT as dD, iU as pD } from "./SessionTimeoutPopup-
|
|
1
|
+
import { eP as o, ig as ze, m as ft, gX as P, fn as It, bX as Yr, a3 as Be, fs as Gd, hh as Yd, hs as Zd, aJ as I, hk as H, ez as Qd, iQ as ye, iB as lo, f_ as at, aL as Wt, dk as Es, C as $o, fP as ss, df as wo, fp as as, fE as Jd, e$ as Jt, eY as Ne, hr as Ml, fL as Co, eA as Rs, da as Me, it as Xd, bj as qd, bF as _t, bg as ep, fl as zl, hA as tp, bt as ls, Q as cs, hN as op, hO as np, hP as rp, aK as ip, dw as sp, d8 as gt, fr as Fl, dG as ap, fb as Zr, fJ as ds, id as _, et as lp, bQ as cp, eG as $e, fh as dp, ej as B, dH as Fe, ih as dt, f7 as ps, bT as Rr, eH as pp, fi as us, bG as Qr, hZ as Te, bY as Jr, fj as Bl, fB as Wl, fw as Qn, hd as zt, g0 as ct, eU as hn, dc as up, de as _l, fm as Vl, ht as Lt, gV as et, gm as Mr, gR as hp, fY as mn, fZ as gn, p as xn, h9 as zo, f5 as Fo, d9 as Xr, fq as hs, dd as mp, ft as Ul, fk as co, fo as Bo, br as Qt, gQ as Ms, hK as gp, hy as xp, hE as yp, fv as fp, fO as bp, fN as Jn, eV as Cp, eW as ms, hu as $p, fu as Kl, fA as Hl, fz as Gl, bC as Yl, i7 as wp, d2 as zs, d3 as gs, cY as Sp, d1 as vp, bU as Xn, bD as yn, fy as xs, aN as jp, eD as kp, hn as yt, eM as Zl, d0 as zr, d6 as Tp, bB as ys, cV as Pp, ek as Kn, fg as Lp, ff as Ip, fc as Ap, cW as fs, eB as Fs, cZ as Ql, iH as Fr, dI as Jl, f9 as Xl, hi as bs, cX as Op, aW as dn, aU as Hn, aV as Gn, iS as ql, bl as Dp, iD as Np, bH as Yt, aY as Pt, fI as Cs, fD as ec, f0 as Ep, di as tc, fF as Rp, e_ as Mp, aZ as Kt, hY as sr, bL as zp, iO as Fp, d5 as Ht, b8 as oc, eC as Bs, c$ as Bp, d4 as Wp, e6 as Ws, b7 as _p, g as Vp, c_ as Up, dK as Kp, fd as Hp, eL as qn, iy as nc, iC as rc, bK as Zt, a7 as qr, a8 as pn, iE as ic, hF as sc, bm as Gp, dm as Yp, dB as ac, dA as Zp, hL as Qp, dr as Br, aE as lc, dq as Jp, dp as Xp, bq as qp, dn as $s, hv as cc, bO as dc, gZ as pc, o as uc, fW as hc, bP as eu, D as mc, bS as gc, gn as tu, eT as ou, ix as nu, dy as ru, hz as iu, hw as su, a2 as au, eg as _s, hD as lu, fM as xc, hM as Vs, dC as cu, db as du, eZ as pu, fx as uu, fC as hu, fe as mu, h6 as Us, fH as gu, eN as yc, eI as xu, hc as fc, bs as yu, f1 as fu, bE as bu, bI as Cu, eJ as bc, fG as $u, d7 as wu, fK as Su, eF as vu, eK as Cc, eX as ju, bJ as ku, eE as Tu } from "./SessionTimeoutPopup-BieF8U6a.js";
|
|
2
|
+
import { A as Wj, a as _j, b as Vj, c as Uj, d as Kj, e as Hj, f as Gj, h as Yj, i as Zj, j as Qj, k as Jj, l as Xj, n as qj, q as ek, r as tk, s as ok, t as nk, u as rk, v as ik, w as sk, x as ak, y as lk, z as ck, B as dk, E as pk, F as uk, G as hk, H as mk, I as gk, J as xk, K as yk, L as fk, M as bk, N as Ck, O as $k, P as wk, R as Sk, S as vk, T as jk, U as kk, V as Tk, W as Pk, X as Lk, Y as Ik, Z as Ak, eS as Ok, _ as Dk, $ as Nk, a0 as Ek, a1 as Rk, a4 as Mk, a5 as zk, a6 as Fk, a9 as Bk, aa as Wk, ab as _k, ac as Vk, ad as Uk, ae as Kk, af as Hk, ag as Gk, ah as Yk, ai as Zk, aj as Qk, ak as Jk, al as Xk, am as qk, an as eT, ao as tT, ap as oT, aq as nT, ar as rT, as as iT, at as sT, au as aT, av as lT, aw as cT, ax as dT, ay as pT, eS as uT, az as hT, aA as mT, aB as gT, aC as xT, aD as yT, aF as fT, aG as bT, aH as CT, aI as $T, aM as wT, aO as ST, aP as vT, aQ as jT, aR as kT, aS as TT, aT as PT, aX as LT, a_ as IT, a$ as AT, b0 as OT, b1 as DT, b2 as NT, b3 as ET, b4 as RT, b5 as MT, b6 as zT, b9 as FT, ba as BT, bb as WT, bc as _T, bd as VT, be as UT, bf as KT, bh as HT, bk as GT, bn as YT, bo as ZT, bp as QT, bu as JT, bv as XT, bw as qT, bx as eP, by as tP, bz as oP, bA as nP, bM as rP, bN as iP, bR as sP, bV as aP, bW as lP, bZ as cP, b_ as dP, b$ as pP, c0 as uP, c1 as hP, c2 as mP, c3 as gP, c4 as xP, c5 as yP, c6 as fP, c7 as bP, c8 as CP, c9 as $P, ca as wP, cb as SP, cc as vP, cd as jP, ce as kP, cf as TP, cg as PP, ch as LP, ci as IP, cj as AP, ck as OP, cl as DP, cm as NP, cn as EP, co as RP, cp as MP, cq as zP, cr as FP, cs as BP, ct as WP, cu as _P, cv as VP, cw as UP, cx as KP, cy as HP, cz as GP, cA as YP, cB as ZP, cC as QP, cD as JP, cE as XP, cF as qP, cG as eL, cH as tL, cI as oL, cJ as nL, cK as rL, cL as iL, cM as sL, cN as aL, cN as lL, cO as cL, cP as dL, cQ as pL, cR as uL, cS as hL, cT as mL, cU as gL, dg as xL, dh as yL, dj as fL, dl as bL, ds as CL, dt as $L, du as wL, dv as SL, dx as vL, dz as jL, dD as kL, dE as TL, dF as PL, dJ as LL, dL as IL, dM as AL, dN as OL, dO as DL, dP as NL, dQ as EL, dR as RL, dS as ML, dT as zL, dU as FL, dV as BL, dW as WL, dX as _L, dY as VL, dZ as UL, d_ as KL, d$ as HL, e0 as GL, e1 as YL, e2 as ZL, e3 as QL, e4 as JL, e5 as XL, e7 as qL, bi as eI, e8 as tI, e9 as oI, ea as nI, eb as rI, ec as iI, ed as sI, ee as aI, eS as lI, eh as cI, ef as dI, ei as pI, el as uI, em as hI, en as mI, eo as gI, ep as xI, eq as yI, er as fI, es as bI, eu as CI, ev as $I, ew as wI, ex as SI, ey as vI, eO as jI, eQ as kI, eR as TI, f2 as PI, f3 as LI, f4 as II, f6 as AI, f8 as OI, fa as DI, fQ as NI, fR as EI, fS as RI, fT as MI, fU as zI, fV as FI, fX as BI, f$ as WI, g1 as _I, g2 as VI, g3 as UI, g4 as KI, g5 as HI, g6 as GI, g7 as YI, g8 as ZI, g9 as QI, ga as JI, gb as XI, gc as qI, gd as eA, ge as tA, gf as oA, gg as nA, gh as rA, gi as iA, gj as sA, gk as aA, gl as lA, go as cA, gp as dA, gq as pA, gr as uA, gs as hA, gt as mA, gu as gA, gv as xA, gw as yA, gx as fA, gy as bA, gz as CA, gA as $A, gB as wA, gC as SA, gD as vA, gE as jA, gF as kA, gG as TA, gH as PA, gI as LA, gJ as IA, gK as AA, gL as OA, gM as DA, gN as NA, gO as EA, gP as RA, gS as MA, gT as zA, gU as FA, gW as BA, gY as WA, g_ as _A, g$ as VA, h0 as UA, h1 as KA, h2 as HA, h3 as GA, h4 as YA, h5 as ZA, h7 as QA, h8 as JA, ha as XA, hb as qA, he as eO, hg as tO, hf as oO, hj as nO, hl as rO, hm as iO, ho as sO, hp as aO, hq as lO, hx as cO, hB as dO, hC as pO, hG as uO, hH as hO, hI as mO, hJ as gO, hQ as xO, hR as yO, hS as fO, hT as bO, hU as CO, hV as $O, hW as wO, hX as SO, h_ as vO, h$ as jO, i0 as kO, i1 as TO, i2 as PO, i3 as LO, i4 as IO, i5 as AO, i6 as OO, i8 as DO, i9 as NO, ia as EO, ib as RO, ic as MO, ie as zO, ii as FO, ij as BO, ik as WO, il as _O, im as VO, io as UO, ip as KO, iq as HO, ir as GO, is as YO, iu as ZO, iv as QO, iw as JO, iz as XO, iA as qO, iF as eD, iG as tD, iI as oD, iJ as nD, iK as rD, iL as iD, iM as sD, iN as aD, iP as lD, iR as cD, iT as dD, iU as pD } from "./SessionTimeoutPopup-BieF8U6a.js";
|
|
3
3
|
import { al as t, D as Pu, a1 as Lu, aM as Ue, q as er, O as jt, L as Iu, s as Au, T as Ou, o as ei, f as Xt, h as xe, aI as Wo, i as tr, aH as po, Y as _o, m as uo, J as Vo, b as qt, V as Uo, ae as nt, I as $c, X as Du, ao as Mt, aa as Yn, aG as Nu, k as ws, C as wc, n as Eu, d as Ru, e as Ss, B as vs, at as Ks } from "./vendor-.pnpm-B7B9s7Bg.js";
|
|
4
4
|
import { aB as hD } from "./vendor-.pnpm-B7B9s7Bg.js";
|
|
5
5
|
import * as me from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { DataListTableLayoutDefaults } from './configTypes';
|
|
3
|
-
import { ColumnDef, DataListTableInfiniteConfig,
|
|
3
|
+
import { ColumnDef, DataListTableInfiniteConfig, SortState } from './types';
|
|
4
4
|
export type DataListTableScrollMode = "fill-parent" | "content-height";
|
|
5
5
|
export interface ConfigurableDataListTableProps<TData> {
|
|
6
6
|
columnOrder: readonly string[];
|
|
@@ -32,7 +32,6 @@ export interface ConfigurableDataListTableProps<TData> {
|
|
|
32
32
|
sortState?: SortState | null;
|
|
33
33
|
trackPerformance?: boolean;
|
|
34
34
|
getRowId: (row: TData) => string;
|
|
35
|
-
getRowMeta?: (row: TData) => DataListTableRowMeta | undefined;
|
|
36
35
|
onListInnerElementHeightChanged?: (listInnerElemHeight: number) => void;
|
|
37
36
|
onScroll?: (scrollYOffset: number) => void;
|
|
38
37
|
onSortChange?: (next: SortState | null) => void;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { KeyboardEventHandler } from 'react';
|
|
2
|
-
import { DisableMode } from '../common/common';
|
|
3
2
|
import { SingleSelectPickerFieldValue } from '../singleSelectPickerField/SingleSelectPickerField';
|
|
4
3
|
export interface LabeledTextWithSingleSelectFieldProps {
|
|
5
4
|
label: string;
|
|
@@ -8,11 +7,8 @@ export interface LabeledTextWithSingleSelectFieldProps {
|
|
|
8
7
|
selectName: string;
|
|
9
8
|
textName: string;
|
|
10
9
|
additionalInfoLabel?: string;
|
|
11
|
-
isDisabled?: DisableMode;
|
|
12
10
|
isOptional?: boolean;
|
|
13
11
|
onTextKeyDown?: KeyboardEventHandler<HTMLInputElement>;
|
|
14
|
-
/** Overrides the row's responsive width, as on the other `Labeled*` fields. */
|
|
15
|
-
style?: React.CSSProperties;
|
|
16
12
|
textPlaceholder?: string;
|
|
17
13
|
}
|
|
18
|
-
export declare function LabeledTextWithSingleSelectField({ additionalInfoLabel,
|
|
14
|
+
export declare function LabeledTextWithSingleSelectField({ additionalInfoLabel, isOptional, label, labelWidth, onTextKeyDown, selectDefaultValue, selectName, textName, textPlaceholder, }: Readonly<LabeledTextWithSingleSelectFieldProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { KeyboardEvent } from 'react';
|
|
2
1
|
import { InvoicingCatalogItemFormLocalData } from '@zeniai/client-epic-state';
|
|
3
2
|
import { MultiSelectFieldValue } from '../../formElements/multiSelectField/MultiSelectField';
|
|
4
3
|
export interface CatalogSelectOption {
|
|
@@ -25,16 +24,6 @@ export interface CatalogFormOptions {
|
|
|
25
24
|
trialUnit: CatalogSelectOption[];
|
|
26
25
|
type: CatalogSelectOption[];
|
|
27
26
|
}
|
|
28
|
-
/**
|
|
29
|
-
* The CES-owned value sets. The form receives them as props (the screen reads
|
|
30
|
-
* them from CES); the catalog detail page and the create-sub-family dialog use
|
|
31
|
-
* this constant so all three render the same options with the same labels.
|
|
32
|
-
*/
|
|
33
|
-
export declare const CATALOG_FORM_VALUE_SETS: CatalogFormValueSets;
|
|
34
|
-
/** The form's label for a saved value, so read-only views match the form. */
|
|
35
|
-
export declare const catalogOptionLabel: (allOptions: readonly CatalogSelectOption[], value: string | undefined) => string | undefined;
|
|
36
|
-
/** Block any keystroke that would put a non-digit into a period field. */
|
|
37
|
-
export declare const allowOnlyNumericKeys: (event: KeyboardEvent<HTMLInputElement>) => void;
|
|
38
27
|
/** Map the CES-owned value sets to localized `{label, value}` select options. */
|
|
39
28
|
export declare const buildCatalogFormOptions: (valueSets: CatalogFormValueSets) => CatalogFormOptions;
|
|
40
29
|
export declare const getSubFamilyFlagLabel: (value: string) => string;
|
|
@@ -101,5 +90,5 @@ export declare const localDataToCatalogFormValues: (localData: InvoicingCatalogI
|
|
|
101
90
|
export declare const catalogFormValuesToLocalData: (values: CatalogFormValues) => InvoicingCatalogItemFormLocalData;
|
|
102
91
|
/** Blank sub-family / tier in form-values shape, seeded from the CES blanks. */
|
|
103
92
|
export declare const blankSubFamilyFormValues: (options: CatalogFormOptions) => CatalogSubFamilyFormValues;
|
|
104
|
-
export declare const blankTierFormValues: (
|
|
93
|
+
export declare const blankTierFormValues: (options: CatalogFormOptions, startingUnit?: string) => CatalogTierFormValues;
|
|
105
94
|
export {};
|
|
@@ -81,13 +81,11 @@ export interface InvoicingMiniTableProps<TRow> {
|
|
|
81
81
|
columns: InvoicingMiniTableColumn<TRow>[];
|
|
82
82
|
emptyMessage: string;
|
|
83
83
|
rows: TRow[];
|
|
84
|
-
/** Drop the interactive affordances (pointer + primary hover); keeps the hover surface. */
|
|
85
|
-
rowsReadOnly?: boolean;
|
|
86
84
|
getRowKey: (row: TRow, index: number) => string;
|
|
87
85
|
onRowClick?: (row: TRow) => void;
|
|
88
86
|
}
|
|
89
87
|
/** Lightweight static table for detail-page sections (line items, links). */
|
|
90
|
-
export declare function InvoicingMiniTable<TRow>({ columns, emptyMessage, getRowKey, onRowClick, rows,
|
|
88
|
+
export declare function InvoicingMiniTable<TRow>({ columns, emptyMessage, getRowKey, onRowClick, rows, }: Readonly<InvoicingMiniTableProps<TRow>>): import("react/jsx-runtime").JSX.Element;
|
|
91
89
|
/**
|
|
92
90
|
* Shared scaffold for invoicing detail pages: header (title + optional subtitle,
|
|
93
91
|
* status capsule and action buttons), a key-facts summary grid, and arbitrary
|
|
@@ -5,22 +5,13 @@ export interface InvoicingCreateInvoiceCustomerOption {
|
|
|
5
5
|
billingAddress?: Address;
|
|
6
6
|
email?: string;
|
|
7
7
|
}
|
|
8
|
-
/**
|
|
9
|
-
* A catalog plan price, as its two naming parts. Mirrors the CES
|
|
10
|
-
* `InvoicingPlanNameOption`; the label shown in the description picker joins
|
|
11
|
-
* them with the shared divider dot.
|
|
12
|
-
*/
|
|
13
|
-
export interface InvoicingCreateInvoicePlanNameOption {
|
|
14
|
-
planName: string;
|
|
15
|
-
subFamilyName: string;
|
|
16
|
-
}
|
|
17
8
|
export interface InvoicingCreateInvoicePageProps {
|
|
18
9
|
customers: InvoicingCreateInvoiceCustomerOption[];
|
|
19
10
|
isSubmitting: boolean;
|
|
20
11
|
localData: InvoicingCreateInvoiceFormLocalData;
|
|
21
12
|
errorMessage?: string;
|
|
22
13
|
/** Plan names offered as suggestions in the line-item description field. */
|
|
23
|
-
planNames?: readonly
|
|
14
|
+
planNames?: readonly string[];
|
|
24
15
|
/** Branding/settings used to render the live invoice preview. */
|
|
25
16
|
settings?: InvoicingSettings;
|
|
26
17
|
onCancel: () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IssueCreditNoteFormLocalData, IssueCreditNoteLineItemDraft } from '@zeniai/client-epic-state';
|
|
2
2
|
export interface PickerValue {
|
|
3
3
|
allOptions: {
|
|
4
4
|
label: string;
|
|
@@ -6,14 +6,7 @@ export interface PickerValue {
|
|
|
6
6
|
}[];
|
|
7
7
|
selectedOption?: string;
|
|
8
8
|
}
|
|
9
|
-
/** Editable per-row fields; the page keeps the rest of the draft row. */
|
|
10
|
-
export interface IssueCreditNoteFormLineItem {
|
|
11
|
-
quantity: string;
|
|
12
|
-
selected: boolean;
|
|
13
|
-
unitAmount?: number | null;
|
|
14
|
-
}
|
|
15
9
|
export type IssueCreditNoteFormValues = {
|
|
16
|
-
lineItems: IssueCreditNoteFormLineItem[];
|
|
17
10
|
reasonCode: PickerValue;
|
|
18
11
|
};
|
|
19
12
|
export declare const REASON_CODE_LABELS: Record<string, string>;
|
|
@@ -23,7 +16,5 @@ export declare const reasonCodeOptions: (reasonCodeValues: string[]) => {
|
|
|
23
16
|
}[];
|
|
24
17
|
export declare const localDataToIssueCreditNoteFormValues: (localData: IssueCreditNoteFormLocalData, reasonCodeValues: string[]) => IssueCreditNoteFormValues;
|
|
25
18
|
export declare const issueCreditNoteFormValuesToLocalData: (values: IssueCreditNoteFormValues, lineItems: IssueCreditNoteLineItemDraft[]) => IssueCreditNoteFormLocalData;
|
|
26
|
-
/** Folds the form's editable row fields back onto the page's draft rows. */
|
|
27
|
-
export declare const applyFormLineItems: (lineItems: IssueCreditNoteLineItemDraft[], formLineItems: (IssueCreditNoteFormLineItem | undefined)[] | undefined, toUnitAmount: (amount: number) => Amount) => IssueCreditNoteLineItemDraft[];
|
|
28
19
|
export declare const computeLineItemTotal: (lineItem: IssueCreditNoteLineItemDraft) => number;
|
|
29
20
|
export declare const computeCreditTotal: (lineItems: IssueCreditNoteLineItemDraft[]) => number;
|
|
@@ -1,9 +1,28 @@
|
|
|
1
|
-
import { RecordPaymentFormLocalData } from '@zeniai/client-epic-state';
|
|
2
1
|
import { InvoicingRecordPaymentCustomerOption, InvoicingRecordPaymentInvoiceContext, InvoicingRecordPaymentInvoiceOption } from '../InvoicingRecordPaymentPage';
|
|
3
2
|
export declare const recordPaymentStoryCustomers: InvoicingRecordPaymentCustomerOption[];
|
|
4
3
|
export declare const recordPaymentStoryGatewayValues: ("other" | "stripe" | "paypal" | "chargebee" | "adyen" | "braintree" | "razorpay")[];
|
|
5
4
|
export declare const recordPaymentStoryPaymentMethodValues: ("other" | "cash" | "check" | "card" | "direct_debit" | "ach_credit" | "apple_pay" | "bank_transfer" | "google_pay" | "paypal_express_checkout" | "sepa_credit")[];
|
|
6
|
-
export declare const customerModeRecordPaymentLocalData:
|
|
7
|
-
|
|
5
|
+
export declare const customerModeRecordPaymentLocalData: {
|
|
6
|
+
amount: string;
|
|
7
|
+
customerId: string;
|
|
8
|
+
date: string;
|
|
9
|
+
paymentMethod: string;
|
|
10
|
+
comment: string;
|
|
11
|
+
gateway: string;
|
|
12
|
+
invoiceToLink: string;
|
|
13
|
+
referenceNumber: string;
|
|
14
|
+
transactionId: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const invoiceModeRecordPaymentLocalData: {
|
|
17
|
+
amount: string;
|
|
18
|
+
customerId: string;
|
|
19
|
+
date: string;
|
|
20
|
+
invoiceToLink: string;
|
|
21
|
+
paymentMethod: string;
|
|
22
|
+
comment: string;
|
|
23
|
+
gateway: string;
|
|
24
|
+
referenceNumber: string;
|
|
25
|
+
transactionId: string;
|
|
26
|
+
};
|
|
8
27
|
export declare const recordPaymentStoryInvoiceOptions: InvoicingRecordPaymentInvoiceOption[];
|
|
9
28
|
export declare const recordPaymentStoryInvoiceContext: InvoicingRecordPaymentInvoiceContext;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { AddressUpdatableInfo, AuthParams, FetchStateAndError, File, FilePayload, ID, InvoicingBrandingFormLocalData,
|
|
2
|
+
import { AddressUpdatableInfo, AuthParams, FetchStateAndError, File, FilePayload, ID, InvoicingBrandingFormLocalData, InvoicingSettings } from '@zeniai/client-epic-state';
|
|
3
3
|
export interface InvoicingBrandingSettingsPageProps {
|
|
4
|
-
/** Date-format choices from the invoicing config API. */
|
|
5
|
-
dateFormatOptions: InvoicingNamedOption[];
|
|
6
4
|
isLoading: boolean;
|
|
7
5
|
isSaving: boolean;
|
|
8
6
|
localData: InvoicingBrandingFormLocalData;
|
|
@@ -29,5 +27,5 @@ export interface InvoicingBrandingSettingsPageProps {
|
|
|
29
27
|
onEditFileName?: (fileId: ID, fileName: string) => void;
|
|
30
28
|
updateFilesEntity?: (files: FilePayload[]) => void;
|
|
31
29
|
}
|
|
32
|
-
export declare function InvoicingBrandingSettingsPage({ address, addressLabel, appContent, authParams,
|
|
30
|
+
export declare function InvoicingBrandingSettingsPage({ address, addressLabel, appContent, authParams, deleteFileStatusById, filesEndPoint, isLoading, isSaving, localData, logoFile: storedLogoFile, onBackClick, onChange, onDeleteFile, onEditFileName, onOpenAddress, onSubmit, saveErrorMessage, settings, updateFileStatusById, updateFilesEntity, }: Readonly<InvoicingBrandingSettingsPageProps>): import("react/jsx-runtime").JSX.Element;
|
|
33
31
|
export default InvoicingBrandingSettingsPage;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { InvoicingBrandingFormLocalData
|
|
2
|
-
import { SingleSelectPickerFieldValue } from '../../formElements/singleSelectPickerField/SingleSelectPickerField';
|
|
1
|
+
import { InvoicingBrandingFormLocalData } from '@zeniai/client-epic-state';
|
|
3
2
|
/**
|
|
4
3
|
* Web-components glue for the branding settings form. CES owns the draft
|
|
5
4
|
* `LocalData`; this module maps it to the RHF value shape and back. The logo
|
|
@@ -7,14 +6,11 @@ import { SingleSelectPickerFieldValue } from '../../formElements/singleSelectPic
|
|
|
7
6
|
* omitted from the form values and threaded through on save instead.
|
|
8
7
|
*/
|
|
9
8
|
/**
|
|
10
|
-
* Form-values shape reuses the CES localData field names verbatim
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* own option list alongside the selection.
|
|
9
|
+
* Form-values shape reuses the CES localData field names verbatim; the logo
|
|
10
|
+
* file id is the only field without an RHF counterpart, so it is omitted. Every
|
|
11
|
+
* text/color field flows through by identity, so adding a field to the CES type
|
|
12
|
+
* needs no mapper change.
|
|
15
13
|
*/
|
|
16
|
-
export type BrandingFormValues = Omit<InvoicingBrandingFormLocalData, "
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
export declare const localDataToBrandingFormValues: (localData: InvoicingBrandingFormLocalData, dateFormatOptions: InvoicingNamedOption[]) => BrandingFormValues;
|
|
14
|
+
export type BrandingFormValues = Omit<InvoicingBrandingFormLocalData, "logoFileId">;
|
|
15
|
+
export declare const localDataToBrandingFormValues: (localData: InvoicingBrandingFormLocalData) => BrandingFormValues;
|
|
20
16
|
export declare const brandingFormValuesToLocalData: (values: BrandingFormValues, logoFileId: string) => InvoicingBrandingFormLocalData;
|
|
@@ -38,12 +38,10 @@ export interface InvoicingSubscriptionDetailPageProps {
|
|
|
38
38
|
onCancelEdit?: () => void;
|
|
39
39
|
/** Persist the inline-edit draft to CES on every field change. */
|
|
40
40
|
onChange?: (localData: InvoicingSubscriptionFormLocalData) => void;
|
|
41
|
-
|
|
42
|
-
onChangeTermEnd?: (termEndsAt: string) => void;
|
|
41
|
+
onChangeTermEnd?: () => void;
|
|
43
42
|
onCustomerClick?: (customerId: string) => void;
|
|
44
43
|
onEdit?: () => void;
|
|
45
|
-
|
|
46
|
-
onLifecycleAction?: (action: InvoicingSubscriptionLifecycleAction, resumeDate?: string) => void;
|
|
44
|
+
onLifecycleAction?: (action: InvoicingSubscriptionLifecycleAction) => void;
|
|
47
45
|
/** Open the shared Address screen to add/edit the shipping address. */
|
|
48
46
|
onOpenAddress?: () => void;
|
|
49
47
|
/** Persist inline-edit changes; receives the subscription draft `localData`. */
|
|
@@ -29,12 +29,11 @@ export interface InvoicingSubscriptionListPageProps {
|
|
|
29
29
|
onStatusChange: (status: string) => void;
|
|
30
30
|
onSubscriptionClick: (subscriptionId: string) => void;
|
|
31
31
|
onAddSubscription?: () => void;
|
|
32
|
-
onChangeTermEnd?: (subscriptionId: string
|
|
32
|
+
onChangeTermEnd?: (subscriptionId: string) => void;
|
|
33
33
|
onEditSubscription?: (subscriptionId: string) => void;
|
|
34
34
|
onImportCsv?: () => void;
|
|
35
35
|
onSortChange?: (next: SortState | null) => void;
|
|
36
|
-
|
|
37
|
-
onSubscriptionAction?: (subscriptionId: string, action: SubscriptionListRowAction, resumeDate?: string) => void;
|
|
36
|
+
onSubscriptionAction?: (subscriptionId: string, action: SubscriptionListRowAction) => void;
|
|
38
37
|
onViewSubscriptionInvoices?: (subscriptionId: string) => void;
|
|
39
38
|
}
|
|
40
39
|
export declare function InvoicingSubscriptionListPage({ activeStatus, columns, commercialEditAllowedFromStatuses, counts, countsLoading, hasMore, isLoading, isLoadingMore, metadataEditAllowedFromStatuses, searchValue, sortState, subscriptions, tabIds, onAddSubscription, onChangeTermEnd, onEditSubscription, onImportCsv, onLoadMore, onSearchChange, onSortChange, onStatusChange, onSubscriptionAction, onSubscriptionClick, onViewSubscriptionInvoices, lifecycleActionOptions, runningActionSubscriptionId, }: Readonly<InvoicingSubscriptionListPageProps>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
2
|
import { default as Color } from 'color';
|
|
3
3
|
import { AccountReport, COABalance, FetchState, NestedClassID } from '@zeniai/client-epic-state';
|
|
4
4
|
import { CompareMode } from '../common/compareMode';
|
|
@@ -25,7 +25,6 @@ export interface Props {
|
|
|
25
25
|
right: number;
|
|
26
26
|
};
|
|
27
27
|
treeRef?: RefObject<ReportTreeInternalType>;
|
|
28
|
-
treeStyle?: React.CSSProperties;
|
|
29
28
|
variableNodeHeightTree?: {
|
|
30
29
|
fetchState: FetchState;
|
|
31
30
|
isSortApplied: boolean;
|
|
@@ -42,4 +41,4 @@ export interface Props {
|
|
|
42
41
|
onScroll?: (props: ReportTreeScrollPosition) => void;
|
|
43
42
|
onToggleCheck?: (nodeId: NestedClassID, isChecked: boolean) => void;
|
|
44
43
|
}
|
|
45
|
-
export declare function CollapsableReportTable({ rootNodes, type, compareMode, isSticky, backgroundColor, treeNodePadding,
|
|
44
|
+
export declare function CollapsableReportTable({ rootNodes, type, compareMode, isSticky, backgroundColor, treeNodePadding, onAccountClick, infiniteLoadingProps, variableNodeHeightTree, onCompareModeChanged, scrollPosition, onScroll, nodeOpenStatus, onNodeCollapseToggled, onReportTableHeightChanged, onToggleCheck, treeRef, }: Readonly<Props>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { default as Color } from 'color';
|
|
3
2
|
import { CompareMode } from '../common/compareMode';
|
|
4
3
|
import { ReportTreeKind, ReportTreeNode } from './reportTreeTypes';
|
|
5
|
-
declare function
|
|
4
|
+
export declare function StickyHeaders({ height, backgroundColor, headers, treeKind, isSticky, compareMode, onCompareModeChanged, }: {
|
|
6
5
|
compareMode: Exclude<CompareMode, "off">;
|
|
7
6
|
headers: ReportTreeNode[];
|
|
8
7
|
height: number;
|
|
@@ -11,5 +10,3 @@ declare function StickyHeadersImpl({ height, backgroundColor, headers, treeKind,
|
|
|
11
10
|
backgroundColor?: Color;
|
|
12
11
|
onCompareModeChanged?: (newCompareMode: Exclude<CompareMode, "off">) => void;
|
|
13
12
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
-
export declare const StickyHeaders: React.MemoExoticComponent<typeof StickyHeadersImpl>;
|
|
15
|
-
export {};
|
|
@@ -1,19 +1,11 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { default as Color } from 'color';
|
|
3
|
+
import { VariableSizeNodePublicState } from 'react-vtree';
|
|
4
|
+
import { NodeComponentProps } from 'react-vtree/dist/es/Tree';
|
|
3
5
|
import { AccountReport, COABalance, COABalanceType, NestedClassID } from '@zeniai/client-epic-state';
|
|
4
6
|
import { CompareMode } from '../../common/compareMode';
|
|
5
7
|
import { AccountBalanceClickMeta, ReportElementData, ReportTreeKind, ReportTreeNodeData } from '../reportTreeTypes';
|
|
6
|
-
export declare const TreeNode: React.
|
|
7
|
-
data: ReportTreeNodeData;
|
|
8
|
-
setOpen: (state: boolean) => Promise<void>;
|
|
9
|
-
}> & {
|
|
10
|
-
isOpen: boolean;
|
|
11
|
-
} & {
|
|
12
|
-
height: number;
|
|
13
|
-
readonly resize: (height: number, shouldForceUpdate?: boolean) => void;
|
|
14
|
-
} & {
|
|
15
|
-
treeData?: any;
|
|
16
|
-
}> & {
|
|
8
|
+
export declare const TreeNode: React.FC<NodeComponentProps<ReportTreeNodeData, VariableSizeNodePublicState<ReportTreeNodeData>> & {
|
|
17
9
|
compareMode: Exclude<CompareMode, "off">;
|
|
18
10
|
isSticky: boolean;
|
|
19
11
|
backgroundColor?: Color;
|