@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Dayjs } from '@zeniai/client-epic-state';
|
|
1
|
+
import { Dayjs, ZeniDate } from '@zeniai/client-epic-state';
|
|
2
2
|
import { InputStyles } from '../../../../common/zeniDatePicker/CustomInput';
|
|
3
3
|
export interface DateRange {
|
|
4
4
|
endDate: Dayjs | undefined;
|
|
@@ -9,7 +9,9 @@ export interface DateRangeFilterFieldProps {
|
|
|
9
9
|
datePickerInputStyles?: Partial<InputStyles>;
|
|
10
10
|
datePickerStyle?: React.CSSProperties;
|
|
11
11
|
labelStyle?: React.CSSProperties;
|
|
12
|
+
/** Latest selectable date for both pickers (e.g. today for reports). */
|
|
13
|
+
maxDate?: ZeniDate;
|
|
12
14
|
onDateRangeChange: (range: DateRange) => void;
|
|
13
15
|
}
|
|
14
|
-
declare const DateRangeFilterField: ({ selectedDates, datePickerInputStyles, datePickerStyle, labelStyle, onDateRangeChange, }: DateRangeFilterFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare const DateRangeFilterField: ({ selectedDates, datePickerInputStyles, datePickerStyle, labelStyle, maxDate, onDateRangeChange, }: DateRangeFilterFieldProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
17
|
export default DateRangeFilterField;
|
|
@@ -32,7 +32,7 @@ interface GetUpdatedFiltersOnValueChangeProps {
|
|
|
32
32
|
selectedOptions: ValuesDropdownOption[];
|
|
33
33
|
}
|
|
34
34
|
export declare const getFilterCategoriesForSelectedEntity: (selectedEntity: SpendManagementFilterEntityType | "charge_card_payment_history", userRole: UserRoleType[]) => BillPayFilterCategoryDropdownOption[] | ReimbursementFilterCategoryDropdownOption[] | TaskFilterCategoryDropdownOption[] | PaymentHistoryFilterCategoryDropdownOption[];
|
|
35
|
-
export declare const getFilterCategoryLabel: (selectedEntity: SpendManagementFilterEntityType | "charge_card_payment_history", key: string) => string
|
|
35
|
+
export declare const getFilterCategoryLabel: (selectedEntity: SpendManagementFilterEntityType | "charge_card_payment_history", key: string) => string;
|
|
36
36
|
export declare const getUpdatedFiltersOnCategoryChange: ({ currentFilters, selectedOption, categoryIndex, }: GetUpdatedFiltersonCategoryChangeProps) => SpendManagementFiltersType;
|
|
37
37
|
export declare const getUpdatedFiltersOnMatchingOperatorChange: ({ currentFilters, selectedOption, categoryIndex, }: GetUpdatedFiltersOnMatchingOperatorChangeProps) => SpendManagementFiltersType;
|
|
38
38
|
export declare const getUpdatedFiltersOnValueChange: ({ currentFilters, selectedOptions, categoryIndex, }: GetUpdatedFiltersOnValueChangeProps) => SpendManagementFiltersType;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ClientAnalytics } from '@zeniai/client-analytics';
|
|
2
|
-
import { AuthParams, CannedResponse, EditTaskLocalData, FetchState, FilePayload, ID, LoggedInUser, TagViewSelectorView, Task,
|
|
2
|
+
import { AuthParams, CannedResponse, EditTaskLocalData, FetchState, FilePayload, ID, LoggedInUser, TagViewSelectorView, Task, TaskDetailSelectorView, UserGroup } from '@zeniai/client-epic-state';
|
|
3
3
|
import { UserMultiSelectFieldValue } from '../cockpit/common/userMultiSelect/UserMultiSelectField';
|
|
4
4
|
import { RequestToOpenThreadType } from '../commentsAndNotes/utils/ThreadsProvider';
|
|
5
|
-
import { AutoCompleteSingleSelectFieldValue } from '../formElements/autoCompleteSingleSelectField/AutoCompleteSingleSelectField';
|
|
6
5
|
import { MultiSelectFieldValue } from '../formElements/creatableMultiSelectField/CreatableMultiSelectField';
|
|
7
6
|
import { RecurringViewType } from '../formElements/recurringView/RecurringView';
|
|
8
7
|
import { SingleSelectPickerFieldValue } from '../formElements/singleSelectPickerField/SingleSelectPickerField';
|
|
@@ -23,7 +22,6 @@ declare const subtaskDetailSectionId = "subtaskDetailRows";
|
|
|
23
22
|
declare const taskType = "taskType";
|
|
24
23
|
declare const recurringView = "recurringView";
|
|
25
24
|
declare const visibility = "visibility";
|
|
26
|
-
declare const taskCategoryKey = "taskCategory";
|
|
27
25
|
export interface TaskDetailFormData {
|
|
28
26
|
[assignee]: UserMultiSelectFieldValue;
|
|
29
27
|
[description]: string;
|
|
@@ -36,7 +34,6 @@ export interface TaskDetailFormData {
|
|
|
36
34
|
[timeSpentKey]: string;
|
|
37
35
|
[dueDate]?: Date;
|
|
38
36
|
[recurringView]?: RecurringViewType;
|
|
39
|
-
[taskCategoryKey]?: AutoCompleteSingleSelectFieldValue;
|
|
40
37
|
[visibility]?: string;
|
|
41
38
|
}
|
|
42
39
|
type FormDataKeys = keyof TaskDetailFormData;
|
|
@@ -51,7 +48,7 @@ export interface FormData {
|
|
|
51
48
|
[taskDataKey]: Record<string, SubtaskInlineFieldData>;
|
|
52
49
|
};
|
|
53
50
|
}
|
|
54
|
-
declare const uniqueName: (sectionId: string, key: FormDataKeys) => `${string}.fileIds` | `${string}.name` | `${string}.status` | `${string}.description` | `${string}.dueDate` | `${string}.priority` | `${string}.timeSpent` | `${string}.assignee` | `${string}.visibility` | `${string}.tag` | `${string}.taskType` | `${string}.recurringView
|
|
51
|
+
declare const uniqueName: (sectionId: string, key: FormDataKeys) => `${string}.fileIds` | `${string}.name` | `${string}.status` | `${string}.description` | `${string}.dueDate` | `${string}.priority` | `${string}.timeSpent` | `${string}.assignee` | `${string}.visibility` | `${string}.tag` | `${string}.taskType` | `${string}.recurringView`;
|
|
55
52
|
export type FormDataKeyUniqueNames = ReturnType<typeof uniqueName>;
|
|
56
53
|
export declare const uniqueFormName: (sectionId: ID) => `${string}_form`;
|
|
57
54
|
export interface TaskDetailPageProps {
|
|
@@ -84,9 +81,6 @@ export interface TaskDetailPageProps {
|
|
|
84
81
|
recurringSourceTaskUrl?: string;
|
|
85
82
|
subTaskCreateStatus?: FetchState;
|
|
86
83
|
subtasks?: Task[];
|
|
87
|
-
/** The task category catalog (B3). Zeni-only, so it is absent for customer
|
|
88
|
-
* users and the Category control simply does not render. */
|
|
89
|
-
taskCategories?: TaskCategory[];
|
|
90
84
|
taskDetailFetchState?: FetchState;
|
|
91
85
|
taskGroupList?: Array<{
|
|
92
86
|
id: ID;
|
|
@@ -127,5 +121,5 @@ export interface TaskDetailPageProps {
|
|
|
127
121
|
* time-spent) the same way the task-list page does. */
|
|
128
122
|
onSubtaskUpdate?: (task: Task, updates: Partial<Task>) => void;
|
|
129
123
|
}
|
|
130
|
-
declare const TaskDetailPage: ({ taskDetailSelectorView, companyName, companyId, loggedInUser, analytics, isNewClicked, filesEndPoint, authParams, currentUrl, taskId, taskGroupList, taskGroupName, taskDetailFetchState, onSaveChangesToLocalStore, onSaveDetailClick, onArchiveTaskClick, onSnoozeTask, onUnsnoozeTask, onDismissClick, handleZeniLogoClick: _handleZeniLogoClick, updateFilesEntity, onDeleteFile, onEditFileName, onDeleteTaskClick, onReloadTaskDetailPage, tagListView, userGroupList, onCreateTagClick, onDeleteTagClick, cannedResponses, initialOpenThreadRequest, isCannedResponsesLoading, isTaskCannedResponsesEnabled, isTaskGroupAssigneesEnabled, isTaskRecurringParentEnabled, isTaskSnoozeEnabled, isTaskVisibilityEnabled, isZeniUser, onFetchCannedResponses, onManageTemplatesClick,
|
|
124
|
+
declare const TaskDetailPage: ({ taskDetailSelectorView, companyName, companyId, loggedInUser, analytics, isNewClicked, filesEndPoint, authParams, currentUrl, taskId, taskGroupList, taskGroupName, taskDetailFetchState, onSaveChangesToLocalStore, onSaveDetailClick, onArchiveTaskClick, onSnoozeTask, onUnsnoozeTask, onDismissClick, handleZeniLogoClick: _handleZeniLogoClick, updateFilesEntity, onDeleteFile, onEditFileName, onDeleteTaskClick, onReloadTaskDetailPage, tagListView, userGroupList, onCreateTagClick, onDeleteTagClick, cannedResponses, initialOpenThreadRequest, isCannedResponsesLoading, isTaskCannedResponsesEnabled, isTaskGroupAssigneesEnabled, isTaskRecurringParentEnabled, isTaskSnoozeEnabled, isTaskVisibilityEnabled, isZeniUser, onFetchCannedResponses, onManageTemplatesClick, onCreateSubtask, subTaskCreateStatus, onSubtaskUpdate, parentTaskRef, onSubtaskRowClick, onParentBreadcrumbClick, recurringSourceTaskUrl, subtasks, }: TaskDetailPageProps) => import("react/jsx-runtime").JSX.Element;
|
|
131
125
|
export default TaskDetailPage;
|
|
@@ -241,65 +241,6 @@ export declare const VisibilityContainer: import('@emotion/styled').StyledCompon
|
|
|
241
241
|
} & {
|
|
242
242
|
windowSize: WindowSize;
|
|
243
243
|
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
244
|
-
export declare const InternalUseContainer: import('@emotion/styled').StyledComponent<{
|
|
245
|
-
theme?: import('@emotion/react').Theme;
|
|
246
|
-
as?: React.ElementType;
|
|
247
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
248
|
-
export declare const InternalUseLockIcon: import('@emotion/styled').StyledComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
249
|
-
title?: string;
|
|
250
|
-
} & {
|
|
251
|
-
theme?: import('@emotion/react').Theme;
|
|
252
|
-
}, {}, {}>;
|
|
253
|
-
export declare const InternalUseHeader: import('@emotion/styled').StyledComponent<{
|
|
254
|
-
theme?: import('@emotion/react').Theme;
|
|
255
|
-
as?: React.ElementType;
|
|
256
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
257
|
-
export declare const InternalUseTitle: import('@emotion/styled').StyledComponent<{
|
|
258
|
-
theme?: import('@emotion/react').Theme;
|
|
259
|
-
as?: React.ElementType;
|
|
260
|
-
} & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
|
261
|
-
theme?: import('@emotion/react').Theme;
|
|
262
|
-
}, {}, {}>;
|
|
263
|
-
export declare const InternalUseSubtitle: import('@emotion/styled').StyledComponent<{
|
|
264
|
-
theme?: import('@emotion/react').Theme;
|
|
265
|
-
as?: React.ElementType;
|
|
266
|
-
} & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
|
267
|
-
theme?: import('@emotion/react').Theme;
|
|
268
|
-
}, {}, {}>;
|
|
269
|
-
export declare const InternalUseFields: import('@emotion/styled').StyledComponent<{
|
|
270
|
-
theme?: import('@emotion/react').Theme;
|
|
271
|
-
as?: React.ElementType;
|
|
272
|
-
} & {
|
|
273
|
-
windowSize: WindowSize;
|
|
274
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
275
|
-
export declare const InternalUseField: import('@emotion/styled').StyledComponent<{
|
|
276
|
-
theme?: import('@emotion/react').Theme;
|
|
277
|
-
as?: React.ElementType;
|
|
278
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
279
|
-
export declare const InternalUseFieldLabel: import('@emotion/styled').StyledComponent<{
|
|
280
|
-
theme?: import('@emotion/react').Theme;
|
|
281
|
-
as?: React.ElementType;
|
|
282
|
-
} & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
|
283
|
-
theme?: import('@emotion/react').Theme;
|
|
284
|
-
}, {}, {}>;
|
|
285
|
-
export declare const StaticFieldRow: import('@emotion/styled').StyledComponent<{
|
|
286
|
-
theme?: import('@emotion/react').Theme;
|
|
287
|
-
as?: React.ElementType;
|
|
288
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
289
|
-
export declare const StaticFieldLabel: import('@emotion/styled').StyledComponent<{
|
|
290
|
-
theme?: import('@emotion/react').Theme;
|
|
291
|
-
as?: React.ElementType;
|
|
292
|
-
} & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
|
293
|
-
theme?: import('@emotion/react').Theme;
|
|
294
|
-
} & import('react').ClassAttributes<HTMLLabelElement> & import('react').LabelHTMLAttributes<HTMLLabelElement> & {
|
|
295
|
-
windowSize: WindowSize;
|
|
296
|
-
}, {}, {}>;
|
|
297
|
-
export declare const StaticFieldValue: import('@emotion/styled').StyledComponent<{
|
|
298
|
-
theme?: import('@emotion/react').Theme;
|
|
299
|
-
as?: React.ElementType;
|
|
300
|
-
} & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
|
301
|
-
theme?: import('@emotion/react').Theme;
|
|
302
|
-
}, {}, {}>;
|
|
303
244
|
export declare const RightPanelContent: import('@emotion/styled').StyledComponent<{
|
|
304
245
|
theme?: import('@emotion/react').Theme;
|
|
305
246
|
as?: React.ElementType;
|
|
@@ -386,9 +327,3 @@ export declare const SubtasksHeaderRow: import('@emotion/styled').StyledComponen
|
|
|
386
327
|
theme?: import('@emotion/react').Theme;
|
|
387
328
|
as?: React.ElementType;
|
|
388
329
|
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
389
|
-
export declare const InternalUseCaption: import('@emotion/styled').StyledComponent<{
|
|
390
|
-
theme?: import('@emotion/react').Theme;
|
|
391
|
-
as?: React.ElementType;
|
|
392
|
-
} & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
|
393
|
-
theme?: import('@emotion/react').Theme;
|
|
394
|
-
}, {}, {}>;
|
|
@@ -72,7 +72,6 @@ export interface TaskListFlatRowData {
|
|
|
72
72
|
* changing on every keystroke. */
|
|
73
73
|
getSubtaskDraft?: () => TaskManagementFormData | undefined;
|
|
74
74
|
onSubtaskDraftChange?: (values: TaskManagementFormData) => void;
|
|
75
|
-
onTimerStop?: (taskId: ID, minutes: number) => void;
|
|
76
75
|
}
|
|
77
76
|
interface Props {
|
|
78
77
|
data: TaskListFlatRowData;
|
|
@@ -59,11 +59,10 @@ export interface TaskListRowProps extends FormSectionProps {
|
|
|
59
59
|
onTaskGroupNameClick: (id: ID) => void;
|
|
60
60
|
onTaskManagementRowClick: (id: ID) => void;
|
|
61
61
|
onTimeSpentUpdate: (task: Task, updates: Partial<Task>) => void;
|
|
62
|
-
onTimerStop?: (taskId: ID, minutes: number) => void;
|
|
63
62
|
resetSubtaskFormCreationStatus?: () => void;
|
|
64
63
|
}
|
|
65
64
|
export declare const getTagLabel: (tagIds: ID[], tagList: Tag[]) => JSX.Element;
|
|
66
|
-
export declare const RowContent: ({ taskDetail, userGroupList, tagList, isSelected, isLastRow, sectionId, userList, onRowClick, onTimeSpentUpdate,
|
|
65
|
+
export declare const RowContent: ({ taskDetail, userGroupList, tagList, isSelected, isLastRow, sectionId, userList, onRowClick, onTimeSpentUpdate, onShowToast, onCreateTagClick, onParentTaskClick, onAddSubtaskClick, isTaskRecurringParentEnabled, isZeniUser, isSubtask, hasSubtasks, hasExpandedContent, isSubtasksExpanded, onToggleSubtasks, }: {
|
|
67
66
|
isSelected: boolean;
|
|
68
67
|
sectionId: string;
|
|
69
68
|
tagList: Tag[];
|
|
@@ -83,10 +82,9 @@ export declare const RowContent: ({ taskDetail, userGroupList, tagList, isSelect
|
|
|
83
82
|
onRowClick: () => void;
|
|
84
83
|
onShowToast: (messageInfo: SnackbarMessageConfig) => void;
|
|
85
84
|
onTimeSpentUpdate: (task: Task, updates: Partial<Task>) => void;
|
|
86
|
-
onTimerStop?: (taskId: ID, minutes: number) => void;
|
|
87
85
|
onToggleSubtasks?: () => void;
|
|
88
86
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
89
|
-
declare const TaskListRow: ({ taskGroup, userGroupList, tagList, sectionId, uiState, userList, showGroupName, showRenameTextField, renderTaskRows, isCollapsed, isSelectionAllowed, selectedRowIds, existingTaskGroupNamesByGroupId, subtasksByParentId, onRenameClick, onDeleteTaskGroup, onExpandAll, onCollapseAll, onAddNewTaskToTaskGroup, onCollapseToggle, onTaskManagementRowClick, onColumnSortConfigChanged, onDragStart, onTimeSpentUpdate,
|
|
87
|
+
declare const TaskListRow: ({ taskGroup, userGroupList, tagList, sectionId, uiState, userList, showGroupName, showRenameTextField, renderTaskRows, isCollapsed, isSelectionAllowed, selectedRowIds, existingTaskGroupNamesByGroupId, subtasksByParentId, onRenameClick, onDeleteTaskGroup, onExpandAll, onCollapseAll, onAddNewTaskToTaskGroup, onCollapseToggle, onTaskManagementRowClick, onColumnSortConfigChanged, onDragStart, onTimeSpentUpdate, onShowToast, onCreateTagClick, onTaskGroupNameClick, onParentTaskClick, onCreateSubtask, onSubtaskFormToggle, onRowHeightChange, isTaskRecurringParentEnabled, isZeniUser, resetSubtaskFormCreationStatus, subTaskCreateStatus, }: TaskListRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
90
88
|
export default TaskListRow;
|
|
91
89
|
/**
|
|
92
90
|
* One task's row body: the task itself, its expanded subtasks, the
|
|
@@ -130,7 +128,6 @@ export declare const TaskRowGroupContent: import('react').NamedExoticComponent<R
|
|
|
130
128
|
onTimeSpentUpdate: (task: Task, updates: Partial<Task>) => void;
|
|
131
129
|
onToggleSubtasks: (taskId: ID) => void;
|
|
132
130
|
onSubtaskDraftChange?: (values: TaskManagementFormData) => void;
|
|
133
|
-
onTimerStop?: (taskId: ID, minutes: number) => void;
|
|
134
131
|
}>>;
|
|
135
132
|
/** Shared empty list so a task without subtasks keeps a stable prop identity
|
|
136
133
|
* and does not defeat `TaskRowGroupContent`'s memoisation. */
|
|
@@ -45,8 +45,7 @@ export interface TaskManagementPageProps {
|
|
|
45
45
|
onAskAiCfoClick?: () => void;
|
|
46
46
|
onQuickResponsesClick?: () => void;
|
|
47
47
|
onSubtaskCreation?: (parentTaskId: ID, data: CreateSubTaskPayload) => void;
|
|
48
|
-
onTimerStop?: (taskId: ID, minutes: number) => void;
|
|
49
48
|
resetSubtaskFormCreationStatus?: () => void;
|
|
50
49
|
}
|
|
51
|
-
declare const TaskManagementPage: ({ taskListView, tagListView, isTaskTemplatesEnabled, taskListFetchState, onCreateTagClick, updateTask, onDragNDrop, onDeleteTaskGroup, updateLocalData, onTaskManagementRowClick, onParentTaskClick, onReloadTasks, onColumnSortConfigChanged, onSearchTextChanged, onTabChange, onBackClick, bulkUpdateTasks, onNewTaskClick, onFiltersChange, resetLocalData, handleCreateGroup, assignGroupToTasks, onAddNewTaskToTaskGroup, onGroupByFilterChange, onTaskGroupRename, analytics, onTimeSpentUpdate,
|
|
50
|
+
declare const TaskManagementPage: ({ taskListView, tagListView, isTaskTemplatesEnabled, taskListFetchState, onCreateTagClick, updateTask, onDragNDrop, onDeleteTaskGroup, updateLocalData, onTaskManagementRowClick, onParentTaskClick, onReloadTasks, onColumnSortConfigChanged, onSearchTextChanged, onTabChange, onBackClick, bulkUpdateTasks, onNewTaskClick, onFiltersChange, resetLocalData, handleCreateGroup, assignGroupToTasks, onAddNewTaskToTaskGroup, onGroupByFilterChange, onTaskGroupRename, analytics, onTimeSpentUpdate, onShowToast, handleGroupTemplateClick, handleGroupTemplateTaskClick, handleNewTaskInitialization, onTaskGroupNameClick, isAiCfoAccessEnabled, isZeniUser, isTaskBulkResolutionEnabled, isTaskCannedResponsesEnabled, isTaskCategorizationEnabled, isTaskGroupAssigneesEnabled, isTaskRecurringParentEnabled, onAskAiCfoClick, onQuickResponsesClick, resetSubtaskFormCreationStatus, onSubtaskCreation, subTaskCreateStatus, }: TaskManagementPageProps) => import("react/jsx-runtime").JSX.Element;
|
|
52
51
|
export default TaskManagementPage;
|
|
@@ -2,7 +2,7 @@ import { Theme } from '@mui/material/styles';
|
|
|
2
2
|
import { ID, PriorityCodeType, Tag, TaskStatusCodeType } from '@zeniai/client-epic-state';
|
|
3
3
|
export type TaskAttributeCodeType = TaskStatusCodeType | PriorityCodeType | ID;
|
|
4
4
|
export declare const getLabelColor: (value: TaskAttributeCodeType, theme?: Theme) => string;
|
|
5
|
-
export declare const getRichLabel: (value: TaskAttributeCodeType, theme: Theme
|
|
5
|
+
export declare const getRichLabel: (value: TaskAttributeCodeType, theme: Theme) => JSX.Element;
|
|
6
6
|
export declare const getTagList: (tagList: Tag[]) => Array<{
|
|
7
7
|
label: string;
|
|
8
8
|
value: ID;
|
|
@@ -9,23 +9,3 @@ export interface TaskListHeaderItemData {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const taskManagementTagHeaderItem: TaskListHeaderItemData;
|
|
11
11
|
export declare const taskManagementHeaderItemsData: TaskListHeaderItemData[];
|
|
12
|
-
/**
|
|
13
|
-
* The same columns keyed by name.
|
|
14
|
-
*
|
|
15
|
-
* Row components used to size their cells with
|
|
16
|
-
* `taskManagementHeaderItemsData[N].width`. Those indices are invisible
|
|
17
|
-
* coupling: reordering the array above silently re-pointed every cell at a
|
|
18
|
-
* different column's width, and because the headers moved too the result
|
|
19
|
-
* typechecked, passed tests, and rendered assignees under "Priority".
|
|
20
|
-
*
|
|
21
|
-
* Look columns up by key instead, so order is a property of the array alone.
|
|
22
|
-
*/
|
|
23
|
-
export declare const taskManagementHeaderItemsByKey: {
|
|
24
|
-
readonly name: TaskListHeaderItemData;
|
|
25
|
-
readonly status: TaskListHeaderItemData;
|
|
26
|
-
readonly priority: TaskListHeaderItemData;
|
|
27
|
-
readonly dueDate: TaskListHeaderItemData;
|
|
28
|
-
readonly assignee: TaskListHeaderItemData;
|
|
29
|
-
readonly tag: TaskListHeaderItemData;
|
|
30
|
-
readonly timeSpent: TaskListHeaderItemData;
|
|
31
|
-
};
|
|
@@ -12,9 +12,9 @@ export interface CreateTransactionButtonProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* The Create split button on the Transaction Categorization review page.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* Hovering either segment opens the menu; clicking the primary segment opens the first type in
|
|
16
|
+
* the menu, so the shortcut is always the option shown at the top. Nothing is written until
|
|
17
|
+
* the user saves the page that opens.
|
|
18
18
|
*/
|
|
19
19
|
declare function CreateTransactionButton({ companyId, onSelect, isDisabled, }: Readonly<CreateTransactionButtonProps>): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
export default CreateTransactionButton;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreatableTransactionType, CreateTransactionLineLocalData, NestedAccountHierarchyForReport, NestedClassHierarchyForReport, Project } from '@zeniai/client-epic-state';
|
|
1
|
+
import { CreatableTransactionType, CreateTransactionLineLocalData, EntityAutoCompleteView, NestedAccountHierarchyForReport, NestedClassHierarchyForReport, Project } from '@zeniai/client-epic-state';
|
|
2
2
|
export interface CreateTransactionLinesTableProps {
|
|
3
3
|
/** COA hierarchy; also the source of the "Recommended" group once a vendor is picked. */
|
|
4
4
|
accountsHierarchyList: NestedAccountHierarchyForReport[];
|
|
@@ -13,6 +13,8 @@ export interface CreateTransactionLinesTableProps {
|
|
|
13
13
|
sectionPaddingLeftRight: number;
|
|
14
14
|
showProjectField: boolean;
|
|
15
15
|
transactionType: CreatableTransactionType;
|
|
16
|
+
/** Source of a journal entry line's name options. */
|
|
17
|
+
entityAutoCompleteView?: EntityAutoCompleteView;
|
|
16
18
|
/** Set after a failed submit; highlights the empty cells the same way the detail page does. */
|
|
17
19
|
validationErrors?: string[];
|
|
18
20
|
onAddLine: () => void;
|
|
@@ -6,18 +6,21 @@ import { CreateTransactionOption } from './createTransactionTypes';
|
|
|
6
6
|
* must send payment_type or qbo_purchase.py rejects it, a journal entry has no header account
|
|
7
7
|
* at all, and a transfer has neither lines nor a vendor.
|
|
8
8
|
*/
|
|
9
|
-
export type CreateTransactionFieldName = "amount" | "checkNumber" | "fromAccount" | "memo" | "paymentAccount" | "paymentMethod" | "printStatus" | "remitToAddress" | "toAccount" | "transactionDate" | "vendor";
|
|
9
|
+
export type CreateTransactionFieldName = "amount" | "billNumber" | "checkNumber" | "dueDate" | "entryName" | "fromAccount" | "memo" | "paymentAccount" | "paymentMethod" | "printStatus" | "referenceNumber" | "remitToAddress" | "toAccount" | "transactionDate" | "vendor";
|
|
10
10
|
export type CreateTransactionFieldKind = "account" | "amount" | "address" | "date" | "paymentMethod" | "printStatus" | "text" | "vendor";
|
|
11
11
|
export interface CreateTransactionFieldConfig {
|
|
12
12
|
kind: CreateTransactionFieldKind;
|
|
13
13
|
label: string;
|
|
14
14
|
name: CreateTransactionFieldName;
|
|
15
15
|
registerOptions: RegisterOptions;
|
|
16
|
+
placeholder?: string;
|
|
16
17
|
}
|
|
17
18
|
export interface CreateTransactionTypeConfig {
|
|
18
19
|
/** Header fields, in render order. */
|
|
19
20
|
fields: CreateTransactionFieldConfig[];
|
|
20
21
|
hasLines: boolean;
|
|
22
|
+
/** Whether the line table offers a Project column, when the tenant has projects on. */
|
|
23
|
+
hasProjectColumn: boolean;
|
|
21
24
|
/** Journal entries need a debit/credit table with no header account instead. */
|
|
22
25
|
isJournalEntry: boolean;
|
|
23
26
|
menuDescription: string;
|
|
@@ -12,11 +12,6 @@ export interface CreateTransactionFormValues {
|
|
|
12
12
|
}
|
|
13
13
|
export declare const headerFieldName: (sectionId: string, field: string) => string;
|
|
14
14
|
export declare const lineFieldName: (sectionId: string, lineId: string, field: string) => string;
|
|
15
|
-
/**
|
|
16
|
-
* A journal-entry row with both a debit and a credit typed. The projection below lets debit
|
|
17
|
-
* win, so the row is held back by validation instead of silently dropping the credit.
|
|
18
|
-
*/
|
|
19
|
-
export declare const hasDebitAndCreditOnLine: (getValue: (name: string) => unknown, sectionId: string, lineId: string) => boolean;
|
|
20
15
|
/**
|
|
21
16
|
* Projects the live form values back onto the working copy. Called at discrete change points
|
|
22
17
|
* rather than per keystroke -- the same arrangement TransactionDetailPage already uses via
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { JournalEntryRowSortConfig, JournalEntrySortKey, SortOrder } from '@zeniai/client-epic-state';
|
|
2
2
|
import { DisableMode } from '../../../../formElements/common/common';
|
|
3
|
+
import { JournalEntryRowHeaderItemData } from './journalEntryHeaderConfig';
|
|
3
4
|
export interface JournalEntryTableHeaderProps {
|
|
4
5
|
isAccountingClassesEnabled: boolean;
|
|
5
6
|
showProjectField: boolean;
|
|
6
7
|
sortConfig: JournalEntryRowSortConfig;
|
|
8
|
+
/** Overrides the default column set, for a caller whose rows use their own column padding. */
|
|
9
|
+
columns?: JournalEntryRowHeaderItemData[];
|
|
7
10
|
isCompressed?: boolean;
|
|
8
11
|
isDisabled?: DisableMode;
|
|
9
12
|
isQuickViewMode?: boolean;
|
|
10
13
|
onColumnSortConfigChanged?: (sortKey: JournalEntrySortKey, sortOrder: SortOrder) => void;
|
|
11
14
|
}
|
|
12
|
-
export declare const JournalEntryTableHeader: ({ sortConfig, isAccountingClassesEnabled, showProjectField, isCompressed, isQuickViewMode, isDisabled, onColumnSortConfigChanged, }: JournalEntryTableHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const JournalEntryTableHeader: ({ sortConfig, isAccountingClassesEnabled, showProjectField, columns, isCompressed, isQuickViewMode, isDisabled, onColumnSortConfigChanged, }: JournalEntryTableHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/components/transactionDetail/items/journalEntryTable/journalEntryTableTypes.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { AccountBase, ClassBase, ID, NestedAccountHierarchyForReport, NestedClas
|
|
|
2
2
|
import { COTTrackingProps } from '../../../../types/cotTracking';
|
|
3
3
|
import { DisableMode } from '../../../formElements/common/common';
|
|
4
4
|
import { LineInfo, SearchAutoComplete } from '../../common';
|
|
5
|
+
import { TransactionLineTableRowLine } from '../transactionLineTable/transactionLineTableTypes';
|
|
5
6
|
import { JournalEntryRowHeaderItemData } from './header/journalEntryHeaderConfig';
|
|
6
7
|
/**
|
|
7
8
|
* Public props for the new JE table entry component.
|
|
@@ -60,6 +61,12 @@ export interface TransactionLinesJournalEntryEmptyTableProps {
|
|
|
60
61
|
sectionId?: string;
|
|
61
62
|
skeletonRowCount?: number;
|
|
62
63
|
}
|
|
64
|
+
/** The `LineInfo` fields a JE row reads, so a create line needs no cast. */
|
|
65
|
+
export type JournalEntryTableRowLine = TransactionLineTableRowLine & Pick<Partial<LineInfo>, "postingType">;
|
|
66
|
+
/** The `LineInfo` fields the JE totals row reads. */
|
|
67
|
+
export type JournalEntryTotalsLine = Pick<LineInfo, "amount" | "postingType">;
|
|
68
|
+
/** Form fields a JE row registers; `getFieldName` maps each to a form path. */
|
|
69
|
+
export type JournalEntryTableRowField = "account" | "amount" | "class" | "lineDescription" | "lineEntitySelection" | "postingType" | "project";
|
|
63
70
|
/** Props for the inline list-row component. */
|
|
64
71
|
export interface JournalEntryTableListRowProps {
|
|
65
72
|
accountList: AccountBase[];
|
|
@@ -69,7 +76,7 @@ export interface JournalEntryTableListRowProps {
|
|
|
69
76
|
columns: JournalEntryRowHeaderItemData[];
|
|
70
77
|
isCompressed: boolean;
|
|
71
78
|
isCOTEnabled: boolean;
|
|
72
|
-
line:
|
|
79
|
+
line: JournalEntryTableRowLine;
|
|
73
80
|
lineIndex: number;
|
|
74
81
|
projects: Project[];
|
|
75
82
|
sectionId: string;
|
|
@@ -102,6 +109,8 @@ export interface JournalEntryTableListRowProps {
|
|
|
102
109
|
*/
|
|
103
110
|
transactionId?: ID;
|
|
104
111
|
uncategorizedAccounts?: UncategorizedAccounts;
|
|
112
|
+
/** Overrides the default index-based form field names, for a form keyed some other way. */
|
|
113
|
+
getFieldName?: (field: JournalEntryTableRowField) => string;
|
|
105
114
|
onCOTView?: (fieldType: TransactionLineRecommendationFieldTypes, recommendationSource?: string) => void;
|
|
106
115
|
setOpenTooltipId?: (tooltipId: ID | undefined) => void;
|
|
107
116
|
}
|
|
@@ -9,7 +9,7 @@ import { JournalEntryTableListEmptyRowProps, JournalEntryTableListRowProps } fro
|
|
|
9
9
|
* pattern at TransactionCategorizationListRow.tsx ~L1096-L1710 so a
|
|
10
10
|
* reviewer can diff the two row files column-by-column).
|
|
11
11
|
*/
|
|
12
|
-
export declare const JournalEntryTableListRow: ({ accountList: _accountList, accountsHierarchyList, classHierarchyList, classList: _classList, columns, entityId, feedbackTransactionInfo, isCOTEnabled, isCompressed, isDisabled, isAddedLine, isSplitEditMode, line, lineIndex, onCOTView, openTooltipId, projects, searchAutoComplete, sectionId, setOpenTooltipId, splitValidationErrors, totalLinesCount: _totalLinesCount, transactionId, }: JournalEntryTableListRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const JournalEntryTableListRow: ({ accountList: _accountList, accountsHierarchyList, classHierarchyList, classList: _classList, columns, entityId, feedbackTransactionInfo, getFieldName, isCOTEnabled, isCompressed, isDisabled, isAddedLine, isSplitEditMode, line, lineIndex, onCOTView, openTooltipId, projects, searchAutoComplete, sectionId, setOpenTooltipId, splitValidationErrors, totalLinesCount: _totalLinesCount, transactionId, }: JournalEntryTableListRowProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
/**
|
|
14
14
|
* Skeleton row consumed by `TransactionLinesJournalEntryEmptyTable`. Uses
|
|
15
15
|
* the same `RowItemContainer` as the live row so column widths line up
|
package/dist/components/transactionDetail/items/journalEntryTable/totals/JournalEntryTotalsRow.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { WindowSize } from '../../../../../context/windowSizeProvider/WindowSizeProvider';
|
|
2
|
-
import { LineInfo } from '../../../common';
|
|
3
2
|
import { JournalEntryRowHeaderItemData } from '../header/journalEntryHeaderConfig';
|
|
3
|
+
import { JournalEntryTotalsLine } from '../journalEntryTableTypes';
|
|
4
4
|
export interface JournalEntryTotalsRowProps {
|
|
5
5
|
columns: JournalEntryRowHeaderItemData[];
|
|
6
6
|
isCompressed: boolean;
|
|
7
|
-
lines:
|
|
7
|
+
lines: JournalEntryTotalsLine[];
|
|
8
8
|
sectionId: string;
|
|
9
9
|
windowSize: WindowSize;
|
|
10
10
|
/** Inline validation errors shown below the totals row on a failed submit. */
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { SortOrder } from '@zeniai/client-epic-state';
|
|
2
2
|
import { DisableMode } from '../../../../formElements/common/common';
|
|
3
|
-
import { TransactionLineRowSortConfig, TransactionLineSortKey } from './transactionLineHeaderConfig';
|
|
3
|
+
import { TransactionLineRowHeaderItemData, TransactionLineRowSortConfig, TransactionLineSortKey } from './transactionLineHeaderConfig';
|
|
4
4
|
export interface TransactionLineTableHeaderProps {
|
|
5
5
|
isAccountingClassesEnabled: boolean;
|
|
6
6
|
showProjectField: boolean;
|
|
7
7
|
sortConfig: TransactionLineRowSortConfig;
|
|
8
|
+
/** Overrides the default column set, for a caller whose rows use their own column padding. */
|
|
9
|
+
columns?: TransactionLineRowHeaderItemData[];
|
|
8
10
|
isCompressed?: boolean;
|
|
9
11
|
isDisabled?: DisableMode;
|
|
10
12
|
isQuickViewMode?: boolean;
|
|
11
13
|
showNameField?: boolean;
|
|
12
14
|
onColumnSortConfigChanged?: (sortKey: TransactionLineSortKey, sortOrder: SortOrder) => void;
|
|
13
15
|
}
|
|
14
|
-
export declare const TransactionLineTableHeader: ({ sortConfig, isAccountingClassesEnabled, showProjectField, isCompressed, isQuickViewMode, isDisabled, showNameField, onColumnSortConfigChanged, }: TransactionLineTableHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const TransactionLineTableHeader: ({ sortConfig, isAccountingClassesEnabled, showProjectField, columns, isCompressed, isQuickViewMode, isDisabled, showNameField, onColumnSortConfigChanged, }: TransactionLineTableHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AccountMappingView, CapitalizableAccounts, CurrentTenant } from '@zeniai/client-epic-state';
|
|
1
|
+
import { AccountMappingView, CapitalizableAccounts, CurrentTenant, CustomersTabSettingKey, CustomersTabSettings } from '@zeniai/client-epic-state';
|
|
2
2
|
import { BillsAccountsSectionFormData } from './BillsAccountsSection';
|
|
3
3
|
import { Filing1099SectionFormData } from './Filling1099Section';
|
|
4
4
|
import { ReimbursementsAccountsSectionFormData } from './ReimbursementsAccountsSection';
|
|
@@ -24,10 +24,13 @@ export interface Props {
|
|
|
24
24
|
capitalizableAccountOverrides?: Record<string, number> | null;
|
|
25
25
|
capitalizableAccounts?: CapitalizableAccounts | null;
|
|
26
26
|
currencySymbol?: string;
|
|
27
|
+
/** Customers tab settings; their toggles show when `onCustomersTabSettingToggle` is set (Customers tab on). */
|
|
28
|
+
customersTabSettings?: CustomersTabSettings;
|
|
27
29
|
isAutoReviewIncomeWithoutCustomerEnabled?: boolean;
|
|
28
30
|
isAutoReviewIncomeWithoutCustomerUpdateInProgress?: boolean;
|
|
29
31
|
isCapitalizationFeatureEnabled?: boolean;
|
|
30
32
|
isCapitalizationThresholdSaving?: boolean;
|
|
33
|
+
isCustomersTabSettingsUpdateInProgress?: boolean;
|
|
31
34
|
isRevenueAutomationEnabled?: boolean;
|
|
32
35
|
onAccountingClassesToggle: (enabled: boolean) => void;
|
|
33
36
|
onAccountingProjectsToggle: (enabled: boolean) => void;
|
|
@@ -36,6 +39,7 @@ export interface Props {
|
|
|
36
39
|
onAutoReviewIncomeWithoutCustomerToggle?: (enabled: boolean) => void;
|
|
37
40
|
onBackClick?: () => void;
|
|
38
41
|
onClickMenuIcon?: () => void;
|
|
42
|
+
onCustomersTabSettingToggle?: (setting: CustomersTabSettingKey, enabled: boolean) => void;
|
|
39
43
|
onSaveCapitalizationAccountThreshold?: (accountId: string, threshold: number | null) => void;
|
|
40
44
|
onSaveCapitalizationAccountThresholds?: (changes: Record<string, number | null>) => void;
|
|
41
45
|
}
|
|
@@ -46,5 +50,5 @@ export interface FormData {
|
|
|
46
50
|
[uncategorizedAccountSectionId]: UncategorizedAccountsSectionFormData;
|
|
47
51
|
[vendorsAccountSectionId]: VendorsAccountsSectionFormData;
|
|
48
52
|
}
|
|
49
|
-
declare function UncategorizedAccountsMappingPage({ currentTenant, accountMappingView, isAccountingClassesEnabled, isAccountingClassesUpdateInProgress, isAccountingProjectsEnabled, isAccountingProjectsUpdateInProgress, isFiling1099FeatureEnabled, isAccruedExpensesFeatureEnabled, meetingUrl, isSettings, onAccountingClassesToggle, onAccountingProjectsToggle, onAccountMappingChange, onSaveClick, onBackClick, onClickMenuIcon, capitalizableAccounts, accountNamesById, capitalizableAccountOverrides, currencySymbol, isCapitalizationFeatureEnabled, isCapitalizationThresholdSaving, isAutoReviewIncomeWithoutCustomerEnabled, isAutoReviewIncomeWithoutCustomerUpdateInProgress, isRevenueAutomationEnabled, onAutoReviewIncomeWithoutCustomerToggle, onSaveCapitalizationAccountThresholds, }: Readonly<Props>): import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
declare function UncategorizedAccountsMappingPage({ currentTenant, accountMappingView, isAccountingClassesEnabled, isAccountingClassesUpdateInProgress, isAccountingProjectsEnabled, isAccountingProjectsUpdateInProgress, isFiling1099FeatureEnabled, isAccruedExpensesFeatureEnabled, meetingUrl, isSettings, onAccountingClassesToggle, onAccountingProjectsToggle, onAccountMappingChange, onSaveClick, onBackClick, onClickMenuIcon, capitalizableAccounts, accountNamesById, capitalizableAccountOverrides, currencySymbol, isCapitalizationFeatureEnabled, isCapitalizationThresholdSaving, isAutoReviewIncomeWithoutCustomerEnabled, isAutoReviewIncomeWithoutCustomerUpdateInProgress, isRevenueAutomationEnabled, onAutoReviewIncomeWithoutCustomerToggle, customersTabSettings, isCustomersTabSettingsUpdateInProgress, onCustomersTabSettingToggle, onSaveCapitalizationAccountThresholds, }: Readonly<Props>): import("react/jsx-runtime").JSX.Element;
|
|
50
54
|
export default UncategorizedAccountsMappingPage;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
1
2
|
import { VendorSpend, ZeniUrl } from '@zeniai/client-epic-state';
|
|
2
|
-
declare const PageHeader: ({ spend, vendorName, vendorLogo, isPageLoading, isSpendTrendLoading, ytdLabel, isIncreaseFavorable, leadingKpi, onPercentChangeClick, }: {
|
|
3
|
+
declare const PageHeader: ({ spend, vendorName, vendorLogo, isPageLoading, isSpendTrendLoading, ytdLabel, isIncreaseFavorable, leadingKpi, nameAccessory, onPercentChangeClick, }: {
|
|
3
4
|
isPageLoading: boolean;
|
|
4
5
|
isSpendTrendLoading: boolean;
|
|
5
6
|
spend: VendorSpend;
|
|
@@ -11,6 +12,8 @@ declare const PageHeader: ({ spend, vendorName, vendorLogo, isPageLoading, isSpe
|
|
|
11
12
|
amount: number;
|
|
12
13
|
label: string;
|
|
13
14
|
};
|
|
15
|
+
/** Shown just after the name (Customers tab: the Sub-customer / Project tag). */
|
|
16
|
+
nameAccessory?: ReactNode;
|
|
14
17
|
vendorLogo?: ZeniUrl;
|
|
15
18
|
/** Label of the third KPI (Customers tab shows revenue instead of spend). */
|
|
16
19
|
ytdLabel?: string;
|
|
@@ -61,6 +61,9 @@ export declare enum FeatureGatesNamesWebApp {
|
|
|
61
61
|
/** AI CFO: offer "Download as PDF / Word" under an answer. Read by the host app, which passes `answerExportEndPoint` only when on; the chat service gates the endpoint separately. */
|
|
62
62
|
isAiCfoAnswerExportEnabled = "is_ai_cfo_answer_export_enabled",
|
|
63
63
|
isAiCfoDiscoveryTipsEnabled = "is_ai_cfo_discovery_tips_enabled",
|
|
64
|
+
/** Composer voice dictation. Paired with the chat service's own `enable_aicfo_voice_input`,
|
|
65
|
+
* which gates the transcription endpoint — both must be on. */
|
|
66
|
+
isAiCfoVoiceInputEnabled = "is_ai_cfo_voice_input_enabled",
|
|
64
67
|
/** Dashboard / reports “Ask AI CFO” nav button (Statsig). */
|
|
65
68
|
isAiCfoNavButtonEnabled = "is_ai_cfo_nav_button_enabled",
|
|
66
69
|
isTransactionDetailSplitViewEnabled = "is_transaction_detail_split_view_enabled",
|
|
@@ -163,6 +166,7 @@ export declare const FeatureGatesNames: {
|
|
|
163
166
|
isAiCfoFileUploadEnabled: FeatureGatesNamesWebApp.isAiCfoFileUploadEnabled;
|
|
164
167
|
isAiCfoAnswerExportEnabled: FeatureGatesNamesWebApp.isAiCfoAnswerExportEnabled;
|
|
165
168
|
isAiCfoDiscoveryTipsEnabled: FeatureGatesNamesWebApp.isAiCfoDiscoveryTipsEnabled;
|
|
169
|
+
isAiCfoVoiceInputEnabled: FeatureGatesNamesWebApp.isAiCfoVoiceInputEnabled;
|
|
166
170
|
isAiCfoNavButtonEnabled: FeatureGatesNamesWebApp.isAiCfoNavButtonEnabled;
|
|
167
171
|
isTransactionDetailSplitViewEnabled: FeatureGatesNamesWebApp.isTransactionDetailSplitViewEnabled;
|
|
168
172
|
isServiceWorkerPrefetchingEnabled: FeatureGatesNamesWebApp.isServiceWorkerPrefetchingEnabled;
|
package/dist/index.d.ts
CHANGED
|
@@ -638,6 +638,7 @@ export { default as AiCfoMenuContent } from './components/appDrawerContent/AiCfo
|
|
|
638
638
|
export type { Props as AiCfoMenuContentProps } from './components/appDrawerContent/AiCfoMenuContent';
|
|
639
639
|
export { default as LogoutButton } from './components/appDrawerContent/LogoutButton';
|
|
640
640
|
export { default as TenantsDropDown } from './components/appDrawerContent/TenantsDropDown';
|
|
641
|
+
export { default as DashboardHalloweenBatsAnimation } from './components/animations/DashboardHalloweenBatsAnimation';
|
|
641
642
|
export { default as DashboardSidebarLogoAnimation } from './components/animations/DashboardSidebarLogoAnimation';
|
|
642
643
|
export { CommentsAndNotesCount } from './components/commentsAndNotes/components/CommentsAndNotesCount';
|
|
643
644
|
export { ReactComponent as NotificationIcon } from './assets/interface/notification.svg';
|