@zeniai/web-components 4.4.70-beta0DI → 4.4.71-beta0AN
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/Editor-CbBxvSmp.js +919 -0
- package/dist/{SessionTimeoutPopup-LC6wnjVS.js → SessionTimeoutPopup-BMerO3g4.js} +116442 -117259
- package/dist/TaskDescriptionEditor-DyTyMxvk.js +700 -0
- package/dist/appLocale.d.ts +45 -34
- package/dist/apple-wallet-DMr790ZM.js +19 -0
- package/dist/assets/interface/microphone.svg +5 -0
- package/dist/bank-verification-HpVi21UA.js +5 -0
- package/dist/cockpit.esm.js +5751 -5992
- package/dist/common/audio/wav.d.ts +35 -0
- package/dist/common/audio/wav.test.d.ts +1 -0
- package/dist/common/hooks/useVoiceDictation.d.ts +32 -0
- package/dist/common/hooks/useVoiceDictation.test.d.ts +1 -0
- package/dist/components/aiCfo/AiCfoPage.d.ts +5 -0
- package/dist/components/aiCfo/AiCfoSidePanel.d.ts +5 -0
- package/dist/components/aiCfo/components/AiCfoInput.d.ts +10 -0
- package/dist/components/aiCfo/components/VoiceWaveform.d.ts +10 -0
- package/dist/components/aiCfo/hooks/useSyncTranscriptIntoLocalInput.d.ts +16 -0
- package/dist/components/animations/{DashboardSidebarHalloweenBottomAnimation.d.ts → DashboardHalloweenBatsAnimation.d.ts} +1 -1
- package/dist/components/animations/DashboardSidebarBottomAnimation.d.ts +0 -1
- package/dist/components/cockpit/common/parentSubsidiaryTag/components/ParentSubsidiaryTag.d.ts +3 -1
- package/dist/components/cockpit/common/userMultiSelect/UserMultiSelect.d.ts +1 -2
- package/dist/components/cockpit/common/userMultiSelect/UserMultiSelectField.d.ts +1 -2
- package/dist/components/commentsAndNotes/utils/CollaborationHelpers.d.ts +8 -2
- package/dist/components/common/ButtonWithDropDown.d.ts +32 -1
- package/dist/components/common/downloadReport/types/downloadReportOptions.d.ts +8 -0
- package/dist/components/common/downloadReport/types/downloadReportOptionsPayload.d.ts +3 -0
- package/dist/components/common/lazyLottie.d.ts +8 -0
- package/dist/components/common/lazyReactPdf.d.ts +13 -0
- package/dist/components/common/lazySvg.d.ts +17 -0
- package/dist/components/common/listPageSearchInputBox/ListPageSearchInputBox.d.ts +4 -1
- package/dist/components/common/listPageSearchSection/ListPageSearchSection.d.ts +3 -0
- package/dist/components/common/searchDiscoveryCoachmark/SearchDiscoveryCoachmark.d.ts +12 -0
- package/dist/components/customers/common/CustomerHierarchyTag.d.ts +10 -0
- package/dist/components/customers/common/CustomerNameCell.d.ts +7 -0
- package/dist/components/customers/customerDetail/CustomerDetailPage.d.ts +5 -1
- package/dist/components/customers/customerDetail/CustomerFamilyTree.d.ts +16 -0
- package/dist/components/customers/customerList/CustomerListPage.d.ts +4 -1
- package/dist/components/dataListTable/DataListTable.d.ts +1 -1
- package/dist/components/dataListTable/DataListTableHeader.d.ts +3 -1
- package/dist/components/dataListTable/DataListTablePlaceholderRow.d.ts +3 -1
- package/dist/components/dataListTable/types.d.ts +4 -0
- package/dist/components/expenseAutomation/ExpenseAutomationPage.d.ts +3 -0
- package/dist/components/expenseAutomation/components/NavBarWithHeader.d.ts +2 -0
- package/dist/components/expenseAutomation/sections/actualMatching/actualMatchingHelpers.d.ts +8 -0
- package/dist/components/expenseAutomation/sections/jeSchedules/accrualDetail/JEAccrualBillingPatternCard.d.ts +6 -0
- package/dist/components/expenseAutomation/sections/jeSchedules/accrualDetail/JEOneTimeAccrualDetailPage.d.ts +2 -1
- package/dist/components/expenseAutomation/sections/jeSchedules/accrualDetail/JEOneTimeAccrualLinkedEntriesButton.d.ts +3 -3
- package/dist/components/expenseAutomation/sections/jeSchedules/common/JEJournalEntryBlock.d.ts +92 -0
- package/dist/components/formElements/autoCompleteSingleSelectField/AutoCompleteSingleSelectField.d.ts +3 -1
- package/dist/components/formElements/singleSelectPickerField/SingleSelectPickerField.d.ts +2 -1
- package/dist/components/formElements/timeSpentField/TimeSpentField.d.ts +1 -8
- package/dist/components/invoicing/common/InvoicingListScaffold.d.ts +3 -1
- package/dist/components/invoicing/createInvoice/InvoicingCreateInvoicePage.d.ts +3 -1
- package/dist/components/invoicing/subscriptionForm/InvoicingSubscriptionFormPage.d.ts +3 -1
- package/dist/components/invoicing/subscriptionForm/subscriptionForm.shared.d.ts +4 -0
- package/dist/components/reportTree/CustomDateRangeColumnContext.d.ts +11 -0
- package/dist/components/reports/ReportsPage.d.ts +19 -2
- package/dist/components/reports/common/isGroupedReportId.d.ts +7 -0
- package/dist/components/settingsPage/Integrations/components/integrationLogos.d.ts +2874 -12
- package/dist/components/spendManagement/common/filters/components/DateRangeFilterField.d.ts +4 -2
- package/dist/components/spendManagement/common/filters/spendManagementFiltersHelpers.d.ts +1 -1
- package/dist/components/taskManagement/TaskDetailPage.d.ts +3 -9
- package/dist/components/taskManagement/TaskDetailPage.styled.d.ts +0 -65
- package/dist/components/taskManagement/TaskListFlatRowRenderer.d.ts +0 -1
- package/dist/components/taskManagement/TaskListRow.d.ts +2 -5
- package/dist/components/taskManagement/TaskManagementPage.d.ts +1 -2
- package/dist/components/taskManagement/taskDetailLabels.d.ts +1 -1
- package/dist/components/taskManagement/taskManagementHeaderItemsData.d.ts +0 -20
- package/dist/components/transactionDetail/create/CreateTransactionButton.d.ts +3 -3
- package/dist/components/transactionDetail/create/CreateTransactionLinesTable.d.ts +3 -1
- package/dist/components/transactionDetail/create/createTransactionFieldSchema.d.ts +4 -1
- package/dist/components/transactionDetail/create/createTransactionFormNames.d.ts +0 -5
- package/dist/components/transactionDetail/items/journalEntryTable/header/JournalEntryTableHeader.d.ts +4 -1
- package/dist/components/transactionDetail/items/journalEntryTable/journalEntryTableTypes.d.ts +10 -1
- package/dist/components/transactionDetail/items/journalEntryTable/listRow/JournalEntryTableListRow.d.ts +1 -1
- package/dist/components/transactionDetail/items/journalEntryTable/totals/JournalEntryTotalsRow.d.ts +2 -2
- package/dist/components/transactionDetail/items/transactionLineTable/header/TransactionLineTableHeader.d.ts +4 -2
- package/dist/components/uncategorizedAccountsMapping/UncategorizedAccountsMappingPage.d.ts +6 -2
- package/dist/components/vendorDetail/PageHeader.d.ts +4 -1
- package/dist/context/featureProvider/FeatureGateNameConstants.d.ts +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +335 -334
- package/dist/mcdonalds-logo-BTFuGR4i.js +5 -0
- package/dist/mercury-logo-Xd1WsXHh.js +5 -0
- package/dist/mercury-logo-dark-WebeUx9w.js +5 -0
- package/dist/more-providers-avatars-Dt7HPmCt.js +5 -0
- package/dist/netsuite-logo-Dp53a_wk.js +5 -0
- package/dist/netsuite-logo-dark-C53BYo7C.js +5 -0
- package/dist/paypal-logo-RhbjaD58.js +5 -0
- package/dist/paypal-logo-dark-_jTZA_FH.js +5 -0
- package/dist/phone-otp-DI7iHM2C.js +7 -0
- package/dist/strings/strings.d.ts +45 -34
- package/dist/subway-logo-B-Kc0fke.js +5 -0
- package/dist/underline-BNKkE4Fr.js +223 -0
- package/dist/vendor-@stripe-stripe-js-BmvP0myE.js +108 -0
- package/dist/vendor-react-lottie-player-Qhg4gMF8.js +174 -0
- package/dist/zeni-card-trust-BpxZYDve.js +5 -0
- package/dist/zeni-thanksgiving-logo-full-BLmLHEXd.js +5 -0
- package/package.json +8 -10
- package/dist/SessionTimeoutPopup-LoxZXeK3.cjs +0 -92665
- package/dist/assets/illustrative/ai-cfo.svg +0 -13
- package/dist/assets/illustrative/rewardsEmailTemplate/business-banking-icon.svg +0 -21
- package/dist/assets/illustrative/rewardsEmailTemplate/cards-icon.svg +0 -11
- package/dist/assets/interface/ai-icon-color-selected-filled-small.svg +0 -27
- package/dist/assets/interface/ai-icon-color-selected-small.svg +0 -20
- package/dist/assets/interface/ai-icon-selected-filled-plain.svg +0 -5
- package/dist/assets/interface/arrow-2-left.svg +0 -4
- package/dist/assets/interface/autofill-3.svg +0 -3
- package/dist/assets/interface/graph-trend.svg +0 -11
- package/dist/assets/interface/growth-round.svg +0 -5
- package/dist/assets/interface/saving-money-egg.svg +0 -15
- package/dist/assets/interface/timer-play.svg +0 -4
- package/dist/assets/interface/treasury-thumbnail.png +0 -0
- package/dist/assets/logos/gmail-logo.svg +0 -20
- package/dist/assets/logos/microsoft365-logo.svg +0 -25
- package/dist/assets/oldicons/promoPages/usp-line.svg +0 -3
- package/dist/cockpit.cjs.js +0 -5882
- package/dist/components/expenseAutomation/sections/jeSchedules/accrualDetail/JEAccrualJournalEntryCard.d.ts +0 -21
- package/dist/components/expenseAutomation/sections/jeSchedules/common/JEJournalEntryPreview.d.ts +0 -28
- package/dist/components/formElements/timeSpentField/timeSpentDisplayFormat.d.ts +0 -10
- package/dist/components/taskManagement/TaskListFilterBar.d.ts +0 -10
- package/dist/components/taskManagement/TaskTimerButton.d.ts +0 -28
- package/dist/components/taskManagement/formatTimeSpent.d.ts +0 -22
- package/dist/components/taskManagement/taskListGrid.d.ts +0 -21
- package/dist/index.cjs.js +0 -1
- package/dist/vendor-@babel-runtime-_D8QudKm.cjs +0 -4
- package/dist/vendor-@floating-ui-core-Dyvby5gX.cjs +0 -1
- package/dist/vendor-@floating-ui-dom-CexqkosJ.cjs +0 -1
- package/dist/vendor-@floating-ui-utils-sUr78tUz.cjs +0 -1
- package/dist/vendor-@popperjs-core-Da5z8R8_.cjs +0 -1
- package/dist/vendor-@react-oauth-google-RY6l5Pdi.cjs +0 -1
- package/dist/vendor-@statsig-client-core-CcuuGlfw.cjs +0 -1
- package/dist/vendor-@statsig-js-client-C6n1oYZG.cjs +0 -1
- package/dist/vendor-@statsig-react-bindings-DVuaLZfm.cjs +0 -1
- package/dist/vendor-@ungap-structured-clone-BSqP9FP7.cjs +0 -1
- package/dist/vendor-@zeniai-client-epic-state-DWdyw6ma.cjs +0 -1
- package/dist/vendor-autosuggest-highlight-BrLUL75m.cjs +0 -1
- package/dist/vendor-bail-CPU4onRe.cjs +0 -1
- package/dist/vendor-big.js-BfsYTtpv.cjs +0 -1
- package/dist/vendor-browser-image-compression-BZPRtRQ2.cjs +0 -20
- package/dist/vendor-ccount-B3JMtXU-.cjs +0 -1
- package/dist/vendor-clsx-CAED27AB.cjs +0 -1
- package/dist/vendor-color-BlJDv7Qx.cjs +0 -1
- package/dist/vendor-color-convert-DNxf_t0v.cjs +0 -1
- package/dist/vendor-color-name-DMfyNIC_.cjs +0 -1
- package/dist/vendor-color-string-DlngRZWO.cjs +0 -1
- package/dist/vendor-comma-separated-tokens-CM2uar_0.cjs +0 -1
- package/dist/vendor-countries-list-DdDJCIea.cjs +0 -1
- package/dist/vendor-country-flag-icons-CaT9dyG0.cjs +0 -1
- package/dist/vendor-cross-fetch-BcrCP3uC.cjs +0 -2
- package/dist/vendor-decode-named-character-reference-CpsLJx05.cjs +0 -1
- package/dist/vendor-devlop-IYc_KfOj.cjs +0 -1
- package/dist/vendor-escape-string-regexp-CXe2COqk.cjs +0 -1
- package/dist/vendor-estree-util-is-identifier-name-DqXb06tQ.cjs +0 -1
- package/dist/vendor-extend-Xv02IcfV.cjs +0 -1
- package/dist/vendor-fast-deep-equal-xp5wgv1k.cjs +0 -1
- package/dist/vendor-hast-util-to-jsx-runtime-Cn0tASh-.cjs +0 -1
- package/dist/vendor-hast-util-whitespace-B7YrIln0.cjs +0 -1
- package/dist/vendor-html-url-attributes-B55Ir3vo.cjs +0 -1
- package/dist/vendor-inline-style-parser-BwLpyraz.cjs +0 -2
- package/dist/vendor-input-format-B4RKCxE4.cjs +0 -3
- package/dist/vendor-is-arrayish-DfXUb1DJ.cjs +0 -1
- package/dist/vendor-is-plain-obj-DH-Kh8FX.cjs +0 -1
- package/dist/vendor-js-file-download-Cbb6agEb.cjs +0 -1
- package/dist/vendor-libphonenumber-js-DkZ7WT-u.cjs +0 -13
- package/dist/vendor-lodash-CNz95YDD.cjs +0 -1
- package/dist/vendor-lodash.debounce-C9YP0rOk.cjs +0 -1
- package/dist/vendor-longest-streak-CpfJ7Pkv.cjs +0 -1
- package/dist/vendor-lottie-web-Cnpvoe-Q.cjs +0 -2
- package/dist/vendor-markdown-table-BIbVC1pY.cjs +0 -2
- package/dist/vendor-mdast-util-find-and-replace-BqOMYvvg.cjs +0 -1
- package/dist/vendor-mdast-util-from-markdown-DmcqmoHq.cjs +0 -1
- package/dist/vendor-mdast-util-gfm-DYVYZtQo.cjs +0 -1
- package/dist/vendor-mdast-util-gfm-autolink-literal-B7Jk_6Zc.cjs +0 -1
- package/dist/vendor-mdast-util-gfm-footnote-BqZr5GmF.cjs +0 -2
- package/dist/vendor-mdast-util-gfm-strikethrough-DkmBmVZz.cjs +0 -1
- package/dist/vendor-mdast-util-gfm-table-GRkZEL2K.cjs +0 -3
- package/dist/vendor-mdast-util-gfm-task-list-item-COkL7umh.cjs +0 -1
- package/dist/vendor-mdast-util-phrasing-B3pE6Gyd.cjs +0 -1
- package/dist/vendor-mdast-util-to-hast-DZGTy4jY.cjs +0 -11
- package/dist/vendor-mdast-util-to-markdown-CFDJSkr8.cjs +0 -12
- package/dist/vendor-mdast-util-to-string-epeputJu.cjs +0 -1
- package/dist/vendor-memoize-one-DetCWhre.cjs +0 -1
- package/dist/vendor-micromark-QT1lJ_9G.cjs +0 -3
- package/dist/vendor-micromark-core-commonmark-CHMYvCou.cjs +0 -1
- package/dist/vendor-micromark-extension-gfm-DOHEv_Ow.cjs +0 -1
- package/dist/vendor-micromark-extension-gfm-autolink-literal-BIi53Rt2.cjs +0 -1
- package/dist/vendor-micromark-extension-gfm-footnote-CuTbB2_e.cjs +0 -1
- package/dist/vendor-micromark-extension-gfm-strikethrough-CcuQ-v4I.cjs +0 -1
- package/dist/vendor-micromark-extension-gfm-table-CoYdjDBk.cjs +0 -1
- package/dist/vendor-micromark-extension-gfm-tagfilter-Dyvby5gX.cjs +0 -1
- package/dist/vendor-micromark-extension-gfm-task-list-item-eGtf7dwN.cjs +0 -1
- package/dist/vendor-micromark-factory-destination-DODxvNwQ.cjs +0 -1
- package/dist/vendor-micromark-factory-label-DRCYHbTp.cjs +0 -1
- package/dist/vendor-micromark-factory-space-BxE8R4nI.cjs +0 -1
- package/dist/vendor-micromark-factory-title-HTScd-95.cjs +0 -1
- package/dist/vendor-micromark-factory-whitespace-Cfovfawt.cjs +0 -1
- package/dist/vendor-micromark-util-character-ThpXZ0p5.cjs +0 -1
- package/dist/vendor-micromark-util-chunked-CCaF1jRh.cjs +0 -1
- package/dist/vendor-micromark-util-classify-character-BXzv_u9-.cjs +0 -1
- package/dist/vendor-micromark-util-combine-extensions-ymdtWEAr.cjs +0 -1
- package/dist/vendor-micromark-util-decode-numeric-character-reference-sKQehvtv.cjs +0 -1
- package/dist/vendor-micromark-util-decode-string-Coo2FPbM.cjs +0 -1
- package/dist/vendor-micromark-util-encode-Dyvby5gX.cjs +0 -1
- package/dist/vendor-micromark-util-html-tag-name-BqwwRvi2.cjs +0 -1
- package/dist/vendor-micromark-util-normalize-identifier-CZzRW9lF.cjs +0 -1
- package/dist/vendor-micromark-util-resolve-all-B1vkj8Lj.cjs +0 -1
- package/dist/vendor-micromark-util-sanitize-uri-fWsohj9C.cjs +0 -1
- package/dist/vendor-micromark-util-subtokenize-B5hanNMp.cjs +0 -1
- package/dist/vendor-object-assign-5rXDT7QN.cjs +0 -1
- package/dist/vendor-prop-types-D7ILSZ36.cjs +0 -2
- package/dist/vendor-property-information-B58jd_xz.cjs +0 -1
- package/dist/vendor-react-CzqSQR9J.cjs +0 -14
- package/dist/vendor-react-circular-progressbar-BnDuoTgW.cjs +0 -6
- package/dist/vendor-react-datepicker-GIiaQhgI.cjs +0 -2
- package/dist/vendor-react-draggable-rHHMjzs1.cjs +0 -3
- package/dist/vendor-react-error-boundary-DUjnAjoQ.cjs +0 -1
- package/dist/vendor-react-fast-compare-DjJCSAPj.cjs +0 -1
- package/dist/vendor-react-google-autocomplete-Du5iErAd.cjs +0 -2
- package/dist/vendor-react-hook-form-DowHtP8_.cjs +0 -1
- package/dist/vendor-react-is-DK4cIQ7j.cjs +0 -1
- package/dist/vendor-react-lottie-player-Cwb-Xhoz.cjs +0 -1
- package/dist/vendor-react-lottie-player-DcNoEdGF.js +0 -155
- package/dist/vendor-react-markdown-sVAdj9xV.cjs +0 -1
- package/dist/vendor-react-merge-refs-Daoz85kW.cjs +0 -1
- package/dist/vendor-react-number-format-QGmN0d2v.cjs +0 -7
- package/dist/vendor-react-onclickoutside-CjoT6SX4.cjs +0 -1
- package/dist/vendor-react-phone-number-input-BBnFN-wD.cjs +0 -4
- package/dist/vendor-react-popper-DEi6sOBD.cjs +0 -1
- package/dist/vendor-react-select-DufBhudz.cjs +0 -4
- package/dist/vendor-react-virtualized-auto-sizer-DS8s5Nqf.cjs +0 -1
- package/dist/vendor-react-vtree-CtDSz2Mv.cjs +0 -1
- package/dist/vendor-react-webcam-CPpkXthK.cjs +0 -1
- package/dist/vendor-react-window-CuU_qzaW.cjs +0 -1
- package/dist/vendor-react-window-infinite-loader-CdyCIjx6.cjs +0 -1
- package/dist/vendor-remark-gfm-Bou12kJi.cjs +0 -1
- package/dist/vendor-remark-parse-BYKtvo5n.cjs +0 -1
- package/dist/vendor-remark-rehype-CuqXXG-2.cjs +0 -1
- package/dist/vendor-rfdc-sZ2eP5eF.cjs +0 -1
- package/dist/vendor-simple-swizzle-BNELyqz6.cjs +0 -1
- package/dist/vendor-space-separated-tokens-0etuzMC1.cjs +0 -1
- package/dist/vendor-style-to-js-CUjGi3ge.cjs +0 -1
- package/dist/vendor-style-to-object--fzklQoy.cjs +0 -1
- package/dist/vendor-trim-lines-BO73c4j-.cjs +0 -1
- package/dist/vendor-trough-CZIkZM5d.cjs +0 -1
- package/dist/vendor-unified-hdBFtaBE.cjs +0 -1
- package/dist/vendor-unist-util-is-C5fG5pIe.cjs +0 -1
- package/dist/vendor-unist-util-position-DsgljCtl.cjs +0 -1
- package/dist/vendor-unist-util-stringify-position-DfmUoPWR.cjs +0 -1
- package/dist/vendor-unist-util-visit-Cyg51Aas.cjs +0 -1
- package/dist/vendor-unist-util-visit-parents-BFfGpcYZ.cjs +0 -1
- package/dist/vendor-us-bank-account-validator-DOz5Vc9n.cjs +0 -1
- package/dist/vendor-use-isomorphic-layout-effect-CkGv31zs.cjs +0 -1
- package/dist/vendor-use-resize-observer-FgrE0mfc.cjs +0 -1
- package/dist/vendor-utils-CN5UYrS0.cjs +0 -1
- package/dist/vendor-vfile-DagMcMZP.cjs +0 -1
- package/dist/vendor-vfile-message-DB4fwBOw.cjs +0 -1
- package/dist/vendor-warning-FOT2NNRo.cjs +0 -1
- package/dist/vendor-zwitch-Dyvby5gX.cjs +0 -1
|
@@ -12,3 +12,9 @@ export interface JEAccrualBillingPatternCardProps {
|
|
|
12
12
|
*/
|
|
13
13
|
declare const JEAccrualBillingPatternCard: ({ profileSnapshot, serviceMonth, }: Readonly<JEAccrualBillingPatternCardProps>) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
export default JEAccrualBillingPatternCard;
|
|
15
|
+
/**
|
|
16
|
+
* `YYYY-MM` → `MM`. Not parsed as a date: these keys have no day, and constructing one shifts the
|
|
17
|
+
* month across a timezone boundary.
|
|
18
|
+
*/
|
|
19
|
+
/** "2026-04" -> "Apr '26", the axis label format the design uses. */
|
|
20
|
+
export declare function monthLabel(month: string): string;
|
|
@@ -24,7 +24,8 @@ export interface JEOneTimeAccrualDetailPageProps {
|
|
|
24
24
|
onNavigateBack: () => void;
|
|
25
25
|
onRevert: (reason: OneTimeAccrualRevertReasonType, note?: string) => void;
|
|
26
26
|
onSkip: (reason: OneTimeAccrualIgnoreReasonType, note?: string) => void;
|
|
27
|
-
/** Opens a posted Accrual or Reversal JE
|
|
27
|
+
/** Opens a posted Accrual or Reversal JE, from the nav bar links menu and the doc numbers.
|
|
28
|
+
* Absent leaves the nav bar without the menu and the doc numbers as plain text. */
|
|
28
29
|
onOpenJournalEntry?: (transaction: {
|
|
29
30
|
id: string;
|
|
30
31
|
type: string;
|
|
@@ -5,9 +5,9 @@ interface JEOneTimeAccrualLinkedEntriesButtonProps {
|
|
|
5
5
|
onOpenJournalEntry: (transaction: LinkedRecordTarget) => void;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
* The accrual's Accrual JE and Reversal JE, as the Actual Matching detail lists them
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* The accrual's Accrual JE and Reversal JE, as the Actual Matching detail lists them, plus the
|
|
9
|
+
* bill that cleared it once Actual Matching has. Nothing renders until the accrual JE is posted;
|
|
10
|
+
* until the reversal posts, its row reads as pending and cannot be opened.
|
|
11
11
|
*/
|
|
12
12
|
export default function JEOneTimeAccrualLinkedEntriesButton({ accrual, onOpenJournalEntry, }: Readonly<JEOneTimeAccrualLinkedEntriesButtonProps>): import("react/jsx-runtime").JSX.Element | null;
|
|
13
13
|
export {};
|
package/dist/components/expenseAutomation/sections/jeSchedules/common/JEJournalEntryBlock.d.ts
ADDED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { JEOneTimeAccrual } from '@zeniai/client-epic-state';
|
|
2
|
+
export interface JEJournalEntryBlockProps {
|
|
3
|
+
creditAccount: string;
|
|
4
|
+
creditAmount: string;
|
|
5
|
+
/** The same date on both lines: a two-line accrual JE posts as one entry. */
|
|
6
|
+
dateLabel: string;
|
|
7
|
+
debitAccount: string;
|
|
8
|
+
debitAmount: string;
|
|
9
|
+
testId: string;
|
|
10
|
+
title: string;
|
|
11
|
+
/** Shown after the debit account in the muted colour, e.g. the class on the expense line. */
|
|
12
|
+
debitAccountDetail?: string;
|
|
13
|
+
/** The QBO DocNumber. Absent before anything has posted, since there is no entry to name yet. */
|
|
14
|
+
documentId?: string;
|
|
15
|
+
failureReason?: string;
|
|
16
|
+
/** A sentence under the table, e.g. how and when the entry will reverse. */
|
|
17
|
+
footnote?: string;
|
|
18
|
+
/** Right-aligned in the header, e.g. the service month or "Mirrors the accrual". */
|
|
19
|
+
note?: string;
|
|
20
|
+
onOpenDocument?: () => void;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* One journal entry as a titled Posting Date | Account | Debit | Credit table: the layout Actual
|
|
24
|
+
* Matching introduced, shared so an accrual JE reads the same on the AM detail page, the one-time
|
|
25
|
+
* accrual detail page and the New one-time accrual preview.
|
|
26
|
+
*/
|
|
27
|
+
export declare function JEJournalEntryBlock({ creditAccount, creditAmount, dateLabel, debitAccount, debitAmount, testId, title, debitAccountDetail, documentId, failureReason, footnote, note, onOpenDocument, }: Readonly<JEJournalEntryBlockProps>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
interface AccrualJeBlockBaseProps {
|
|
29
|
+
accrual: JEOneTimeAccrual;
|
|
30
|
+
testIdPrefix: string;
|
|
31
|
+
testIdSuffix: string;
|
|
32
|
+
onOpenJe?: (txn: {
|
|
33
|
+
id: string;
|
|
34
|
+
type: string;
|
|
35
|
+
}) => void;
|
|
36
|
+
}
|
|
37
|
+
/** The accrual JE as stored on the accrual, dated the last day of its service month. */
|
|
38
|
+
export declare function AccrualJeBlock({ accrual, onOpenJe, testIdPrefix, testIdSuffix, }: Readonly<AccrualJeBlockBaseProps>): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
/** The accrual's mirror image: the same lines with debit and credit swapped. */
|
|
40
|
+
export declare function ReversalJeBlock({ accrual, isPending, postingDateLabel, testIdPrefix, testIdSuffix, failureReason, onOpenJe, }: Readonly<AccrualJeBlockBaseProps & {
|
|
41
|
+
postingDateLabel: string;
|
|
42
|
+
failureReason?: string;
|
|
43
|
+
isPending?: boolean;
|
|
44
|
+
}>): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
export interface MatchedTransactionBlockProps {
|
|
46
|
+
/** What was accrued for the match, shown against the actual in the total row. */
|
|
47
|
+
accruedAmount: string;
|
|
48
|
+
actualAmount: string;
|
|
49
|
+
dateLabel: string;
|
|
50
|
+
memo: string;
|
|
51
|
+
testId: string;
|
|
52
|
+
/** The matched transaction's type, e.g. "bill"; it names the card and the total row. */
|
|
53
|
+
transactionType: string;
|
|
54
|
+
}
|
|
55
|
+
/** The bill (or other transaction) that cleared the accrual, with its total against the accrual. */
|
|
56
|
+
export declare function MatchedTransactionBlock({ accruedAmount, actualAmount, dateLabel, memo, testId, transactionType, }: Readonly<MatchedTransactionBlockProps>): import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
export declare const JeCard: import('@emotion/styled').StyledComponent<{
|
|
58
|
+
theme?: import('@emotion/react').Theme;
|
|
59
|
+
as?: React.ElementType;
|
|
60
|
+
} & {
|
|
61
|
+
$hasFailure?: boolean;
|
|
62
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
63
|
+
export declare const JeCardHeader: import('@emotion/styled').StyledComponent<{
|
|
64
|
+
theme?: import('@emotion/react').Theme;
|
|
65
|
+
as?: React.ElementType;
|
|
66
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
67
|
+
export declare const JeCardTitle: import('@emotion/styled').StyledComponent<{
|
|
68
|
+
theme?: import('@emotion/react').Theme;
|
|
69
|
+
as?: React.ElementType;
|
|
70
|
+
} & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
|
71
|
+
theme?: import('@emotion/react').Theme;
|
|
72
|
+
}, {}, {}>;
|
|
73
|
+
export declare const JeTable: import('@emotion/styled').StyledComponent<{
|
|
74
|
+
theme?: import('@emotion/react').Theme;
|
|
75
|
+
as?: React.ElementType;
|
|
76
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
77
|
+
export declare const JeHeaderCell: import('@emotion/styled').StyledComponent<{
|
|
78
|
+
theme?: import('@emotion/react').Theme;
|
|
79
|
+
as?: React.ElementType;
|
|
80
|
+
} & {
|
|
81
|
+
$span?: number;
|
|
82
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
83
|
+
export declare const JeCell: import('@emotion/styled').StyledComponent<{
|
|
84
|
+
theme?: import('@emotion/react').Theme;
|
|
85
|
+
as?: React.ElementType;
|
|
86
|
+
} & {
|
|
87
|
+
$isFailureAmount?: boolean;
|
|
88
|
+
$muted?: boolean;
|
|
89
|
+
$span?: number;
|
|
90
|
+
$withTopBorder?: boolean;
|
|
91
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
92
|
+
export {};
|
|
@@ -31,6 +31,8 @@ export interface AutoCompleteSingleSelectFieldProps {
|
|
|
31
31
|
autoFocus?: boolean;
|
|
32
32
|
customStyleConfig?: StylesConfig<OptionType, false>;
|
|
33
33
|
isDisabled?: DisableMode;
|
|
34
|
+
/** More options are still arriving; shows a loading row under the list. */
|
|
35
|
+
isLoadingMoreOptions?: boolean;
|
|
34
36
|
menuIsOpen?: boolean;
|
|
35
37
|
menuPortal?: HTMLElement | null;
|
|
36
38
|
placeholder?: string;
|
|
@@ -46,7 +48,7 @@ export interface AutoCompleteSingleSelectFieldProps {
|
|
|
46
48
|
valueToId?: (value: string) => ID | undefined;
|
|
47
49
|
valueToInfo?: (value: string) => string;
|
|
48
50
|
}
|
|
49
|
-
export declare const AutoCompleteSingleSelectField: ({ name, registerOptions, defaultValue, isDisabled, style, autoFocus, menuIsOpen, onMenuClose, placeholder, valueToInfo, valueToId, customStyleConfig, showDownChevronWithValue, shouldShowChevronIcon, allowEmpty, menuPortal, disableCurrentOption, loadOptions, }: AutoCompleteSingleSelectFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
export declare const AutoCompleteSingleSelectField: ({ name, registerOptions, defaultValue, isDisabled, isLoadingMoreOptions, style, autoFocus, menuIsOpen, onMenuClose, placeholder, valueToInfo, valueToId, customStyleConfig, showDownChevronWithValue, shouldShowChevronIcon, allowEmpty, menuPortal, disableCurrentOption, loadOptions, }: AutoCompleteSingleSelectFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
50
52
|
/**
|
|
51
53
|
* internal Styled components
|
|
52
54
|
*/
|
|
@@ -37,6 +37,8 @@ export interface SingleSelectPickerFieldProps {
|
|
|
37
37
|
customStyleConfig?: StylesConfig<OptionType, false>;
|
|
38
38
|
isClearable?: boolean;
|
|
39
39
|
isDisabled?: DisableMode;
|
|
40
|
+
/** More options are still arriving; shows a loading row under the list. */
|
|
41
|
+
isLoadingMoreOptions?: boolean;
|
|
40
42
|
isOptionRemovable?: boolean;
|
|
41
43
|
isSearchable?: boolean;
|
|
42
44
|
maxMenuHeight?: number;
|
|
@@ -49,7 +51,6 @@ export interface SingleSelectPickerFieldProps {
|
|
|
49
51
|
rotateChevronOnOpen?: boolean;
|
|
50
52
|
showCreateOption?: boolean;
|
|
51
53
|
showDownChevronIcon?: boolean;
|
|
52
|
-
showDropdownIndicator?: boolean;
|
|
53
54
|
showEmptyState?: boolean;
|
|
54
55
|
showLoadingIcon?: boolean;
|
|
55
56
|
showLogoInSingleValue?: boolean;
|
|
@@ -1,20 +1,13 @@
|
|
|
1
1
|
import { RegisterOptions } from 'react-hook-form';
|
|
2
|
-
import { DisableMode } from '../common/common';
|
|
3
|
-
/** Consumers that restyle the at-rest value (the board mutes it on unhovered
|
|
4
|
-
* rows) target this rather than a bare `span`. */
|
|
5
|
-
export declare const TIME_SPENT_DISPLAY_CLASS = "timeSpentDisplay";
|
|
6
2
|
export interface TimeSpentFieldProps {
|
|
7
3
|
name: string;
|
|
8
4
|
timeSpentFormat: string;
|
|
9
5
|
defaultValue?: string;
|
|
10
6
|
fieldError?: string;
|
|
11
7
|
inputStyle?: React.CSSProperties;
|
|
12
|
-
/** Read-only on a task whose time is a rolled-up sum (D21). The server
|
|
13
|
-
* rejects such a write anyway; this stops the user typing into a 400. */
|
|
14
|
-
isDisabled?: DisableMode;
|
|
15
8
|
placeholder?: string;
|
|
16
9
|
registerOptions?: RegisterOptions;
|
|
17
10
|
style?: React.CSSProperties;
|
|
18
11
|
onInputBlur?: () => void;
|
|
19
12
|
}
|
|
20
|
-
export declare function TimeSpentField({ name, placeholder, defaultValue,
|
|
13
|
+
export declare function TimeSpentField({ name, placeholder, defaultValue, timeSpentFormat, registerOptions, onInputBlur, style, inputStyle, }: TimeSpentFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -19,6 +19,8 @@ export interface InvoicingListScaffoldProps<TData> {
|
|
|
19
19
|
activeTab?: string;
|
|
20
20
|
/** Show a spinner on the status-tab counts while the counts fetch is in flight. */
|
|
21
21
|
countsLoading?: boolean;
|
|
22
|
+
/** With server-driven sort, a sort other than this one shows a ⊗ in the header that resets to it. */
|
|
23
|
+
defaultSortState?: SortState | null;
|
|
22
24
|
/**
|
|
23
25
|
* Rich zero-state (illustration + copy + actions) shown when the list is empty
|
|
24
26
|
* and the user is not searching. Falls back to `emptyMessage` text when absent
|
|
@@ -63,5 +65,5 @@ export interface InvoicingListScaffoldProps<TData> {
|
|
|
63
65
|
* loading. Domain pages only supply columns, KPI cards and tabs, so every
|
|
64
66
|
* invoicing list reuses the same web-components primitives.
|
|
65
67
|
*/
|
|
66
|
-
export declare function InvoicingListScaffold<TData>({ activeTab, columns, data, emptyMessage, emptyState, getRowId, hasMore, isLoading, isLoadingMore, kpis, kpisLoading, countsLoading, navBarExtraContent, primaryActionLabel, searchPlaceholder, searchValue, showNavBorderBottom, tableVerticalPadding, sortState: controlledSortState, tabs, title, onClickMenuIcon, onLoadMore, onPrimaryAction, onSearchChange, onSortChange, onTabChange, renderRowMenu, }: Readonly<InvoicingListScaffoldProps<TData>>): import("react/jsx-runtime").JSX.Element;
|
|
68
|
+
export declare function InvoicingListScaffold<TData>({ activeTab, columns, data, emptyMessage, emptyState, getRowId, hasMore, isLoading, isLoadingMore, kpis, kpisLoading, countsLoading, navBarExtraContent, primaryActionLabel, searchPlaceholder, searchValue, showNavBorderBottom, tableVerticalPadding, sortState: controlledSortState, defaultSortState, tabs, title, onClickMenuIcon, onLoadMore, onPrimaryAction, onSearchChange, onSortChange, onTabChange, renderRowMenu, }: Readonly<InvoicingListScaffoldProps<TData>>): import("react/jsx-runtime").JSX.Element;
|
|
67
69
|
export default InvoicingListScaffold;
|
|
@@ -19,6 +19,8 @@ export interface InvoicingCreateInvoicePlanNameOption {
|
|
|
19
19
|
}
|
|
20
20
|
export interface InvoicingCreateInvoicePageProps {
|
|
21
21
|
customers: InvoicingCreateInvoiceCustomerOption[];
|
|
22
|
+
/** More customer pages are still loading; `customers` is partial. */
|
|
23
|
+
isCustomerListLoading: boolean;
|
|
22
24
|
isSubmitting: boolean;
|
|
23
25
|
localData: InvoicingCreateInvoiceFormLocalData;
|
|
24
26
|
errorMessage?: string;
|
|
@@ -38,5 +40,5 @@ export interface InvoicingCreateInvoicePageProps {
|
|
|
38
40
|
* draft (`localData`), syncing every change back via `onChange`; `onSubmit`
|
|
39
41
|
* signals intent and the request is derived from the draft in CES.
|
|
40
42
|
*/
|
|
41
|
-
export declare function InvoicingCreateInvoicePage({ customers, fieldHelp, errorMessage, isSubmitting, localData, onBack, onCancel, onChange, onSubmit, planNames, settings, }: Readonly<InvoicingCreateInvoicePageProps>): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
export declare function InvoicingCreateInvoicePage({ customers, fieldHelp, errorMessage, isCustomerListLoading, isSubmitting, localData, onBack, onCancel, onChange, onSubmit, planNames, settings, }: Readonly<InvoicingCreateInvoicePageProps>): import("react/jsx-runtime").JSX.Element;
|
|
42
44
|
export default InvoicingCreateInvoicePage;
|
|
@@ -5,6 +5,8 @@ export type { InvoicingSubscriptionFormOption } from './subscriptionForm.shared'
|
|
|
5
5
|
export interface InvoicingSubscriptionFormPageProps {
|
|
6
6
|
/** Save opens this cost review first; its own Save runs `onSubmit`. */
|
|
7
7
|
estimate: InvoicingSubscriptionEstimateView;
|
|
8
|
+
/** More customer pages are still loading; `customers` is partial. */
|
|
9
|
+
isCustomerListLoading: boolean;
|
|
8
10
|
isSubmitting: boolean;
|
|
9
11
|
localData: InvoicingSubscriptionFormLocalData;
|
|
10
12
|
mode: "create" | "edit";
|
|
@@ -38,5 +40,5 @@ export interface InvoicingSubscriptionFormPageProps {
|
|
|
38
40
|
* primitives. The draft flows from CES (`localData`) and is synced back on every
|
|
39
41
|
* change; the shipping address is captured via the shared Address screen.
|
|
40
42
|
*/
|
|
41
|
-
export declare function InvoicingSubscriptionFormPage({ fieldHelp, addons, charges, coupons, customers, errorMessage, isLoading, isSubmitting, localData, mode, estimate, onBack, onCancel, onChange, onCloseEstimate, onOpenAddress, onRequestEstimate, onSubmit, plans, shippingAddressLabel, }: Readonly<InvoicingSubscriptionFormPageProps>): import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
export declare function InvoicingSubscriptionFormPage({ fieldHelp, addons, charges, coupons, customers, errorMessage, isCustomerListLoading, isLoading, isSubmitting, localData, mode, estimate, onBack, onCancel, onChange, onCloseEstimate, onOpenAddress, onRequestEstimate, onSubmit, plans, shippingAddressLabel, }: Readonly<InvoicingSubscriptionFormPageProps>): import("react/jsx-runtime").JSX.Element;
|
|
42
44
|
export default InvoicingSubscriptionFormPage;
|
|
@@ -43,6 +43,10 @@ export type SubscriptionFormValues = Omit<InvoicingSubscriptionFormLocalData, "a
|
|
|
43
43
|
startedAt: Date | undefined;
|
|
44
44
|
trialEnd: Date | undefined;
|
|
45
45
|
};
|
|
46
|
+
export declare const toPickerOptions: (options: InvoicingSubscriptionFormOption[]) => {
|
|
47
|
+
label: string;
|
|
48
|
+
value: string;
|
|
49
|
+
}[];
|
|
46
50
|
/** Whether the option takes a quantity; a flat fee bills its price once. */
|
|
47
51
|
export declare const subscriptionOptionHasQuantity: (options: InvoicingSubscriptionFormOption[], priceCode: string | undefined) => boolean;
|
|
48
52
|
/** Value→label lookup for the add-on / one-time-charge multi-selects. */
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* End date (`YYYY-MM-DD`) of the custom date range the shown report data was
|
|
3
|
+
* fetched with (read from the store), or undefined when there is none (gate
|
|
4
|
+
* off, default periods, or a Class / Project view, which shows whole periods).
|
|
5
|
+
*
|
|
6
|
+
* Report cells use it to key comment anchors: only a column that ends on this
|
|
7
|
+
* date is a custom range's partial column with its own key. Every other
|
|
8
|
+
* column keeps the stable period-end key, so a default column whose data
|
|
9
|
+
* lags the period end never changes key (and drops its comments).
|
|
10
|
+
*/
|
|
11
|
+
export declare const CustomDateRangeColumnContext: import('react').Context<string | undefined>;
|
|
@@ -4,6 +4,11 @@ import { RequestToOpenThreadType } from '../commentsAndNotes/utils/ThreadsProvid
|
|
|
4
4
|
import { DownloadbleReportProps } from '../common/downloadReport/downloadableReportProps';
|
|
5
5
|
import { ReportTreeScrollPosition } from '../reportTree/ReportTree';
|
|
6
6
|
import { AccountBalanceClickMeta } from '../reportTree/reportTreeTypes';
|
|
7
|
+
/** A committed custom date range, as `YYYY-MM-DD` strings. */
|
|
8
|
+
export interface ReportsCustomDateRange {
|
|
9
|
+
endDate: string;
|
|
10
|
+
startDate: string;
|
|
11
|
+
}
|
|
7
12
|
export interface Props extends DownloadbleReportProps {
|
|
8
13
|
allTimeframeTicks: TimeframeTickWithMetaData[];
|
|
9
14
|
balanceSheetClassesViewReport: BalanceSheetClassesViewReport;
|
|
@@ -35,6 +40,11 @@ export interface Props extends DownloadbleReportProps {
|
|
|
35
40
|
*/
|
|
36
41
|
classViewLayout?: ClassViewLayout;
|
|
37
42
|
dataAvailable?: TimeframeTick;
|
|
43
|
+
/**
|
|
44
|
+
* Custom start/end (`YYYY-MM-DD`) the selected report's data was last fetched with, from the
|
|
45
|
+
* store; undefined when it holds the default periods. Keys the partial custom column's comments.
|
|
46
|
+
*/
|
|
47
|
+
fetchedCustomDateRange?: ReportsCustomDateRange;
|
|
38
48
|
initialOpenThreadRequest?: RequestToOpenThreadType;
|
|
39
49
|
isAccountingClassesEnabled?: boolean;
|
|
40
50
|
isAccountingProjectsEnabled?: boolean;
|
|
@@ -63,7 +73,12 @@ export interface Props extends DownloadbleReportProps {
|
|
|
63
73
|
onFetchClassReportFired?: () => void;
|
|
64
74
|
onInitialDateRangeAvailable?: (startDate: string, endDate: string) => void;
|
|
65
75
|
onReloadReport?: () => void;
|
|
66
|
-
|
|
76
|
+
/**
|
|
77
|
+
* `customDateRange` is the active custom date range (gate on) so the handler
|
|
78
|
+
* can fetch the newly selected report for it instead of showing the default
|
|
79
|
+
* window under the custom label.
|
|
80
|
+
*/
|
|
81
|
+
onReportSelectionChanged?: (selectedReport: ReportID, customDateRange?: ReportsCustomDateRange) => void;
|
|
67
82
|
onResyncReports?: () => void;
|
|
68
83
|
onTableScroll?: (reportId: ReportID, props: ReportTreeScrollPosition) => void;
|
|
69
84
|
onThisPeriodChanged?: (thisPeriod: TimeframeTick, maxNumOfPeriodsToSelect: number, reportViewUpdate?: boolean) => void;
|
|
@@ -74,7 +89,9 @@ export interface Props extends DownloadbleReportProps {
|
|
|
74
89
|
* the mode in one go, and the handler's own props still hold the previous
|
|
75
90
|
* report at that point, so the family has to travel with the mode.
|
|
76
91
|
*/
|
|
77
|
-
forReportId?: ReportID
|
|
92
|
+
forReportId?: ReportID,
|
|
93
|
+
/** Active custom date range, re-applied when the mode lands on an accounts view. */
|
|
94
|
+
customDateRange?: ReportsCustomDateRange) => void;
|
|
78
95
|
onUpdateClassesToFilterOut?: (classesToFilterOut: NestedClassID[]) => void;
|
|
79
96
|
onUpdateClassViewLayout?: (layout: ClassViewLayout) => void;
|
|
80
97
|
onUpdateProjectsToFilterOut?: (projectsToFilterOut: ID[]) => void;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ReportID } from '@zeniai/client-epic-state';
|
|
2
|
+
/**
|
|
3
|
+
* True for the Class / Project ("View By") variants of P&L, Balance Sheet and
|
|
4
|
+
* Cash Flow. These don't support custom date ranges yet: the backend serves
|
|
5
|
+
* them from the stored whole-period report and ignores custom dates.
|
|
6
|
+
*/
|
|
7
|
+
export declare const isGroupedReportId: (reportId: ReportID) => boolean;
|