@zeniai/web-components 4.3.59-betaAK0 → 4.3.59

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.
Files changed (56) hide show
  1. package/dist/{SessionTimeoutPopup-CYilum3A.js → SessionTimeoutPopup-BmGGI1m1.js} +86877 -86569
  2. package/dist/{SessionTimeoutPopup-Dn-ZPwN9.cjs → SessionTimeoutPopup-DOvBM1F6.cjs} +15231 -15156
  3. package/dist/appLocale.d.ts +64 -18
  4. package/dist/cockpit.cjs.js +84 -84
  5. package/dist/cockpit.esm.js +223 -222
  6. package/dist/components/common/downloadReport/types/downloadReportOptions.d.ts +2 -0
  7. package/dist/components/common/downloadReport/types/downloadReportOptionsPayload.d.ts +2 -0
  8. package/dist/components/common/downloadReport/types/statementID.d.ts +2 -2
  9. package/dist/components/detail/dashboardReportPage/DashboardReportPage.d.ts +2 -1
  10. package/dist/components/detail/dashboardReportPage/DetailPageReportFilters.d.ts +2 -1
  11. package/dist/components/expenseAutomation/sections/jeSchedules/accrualDetail/JEAccrualJournalEntryCard.d.ts +22 -0
  12. package/dist/components/expenseAutomation/sections/jeSchedules/accrualDetail/JEOneTimeAccrualDetailPage.d.ts +2 -8
  13. package/dist/components/invoicing/catalog/InvoicingCatalogPage.d.ts +1 -2
  14. package/dist/components/invoicing/catalog/catalogActionMenuItems.d.ts +0 -4
  15. package/dist/components/invoicing/catalogDetail/InvoicingCatalogItemDetailPage.d.ts +6 -19
  16. package/dist/components/invoicing/catalogForm/CatalogPricePointFields.d.ts +15 -1
  17. package/dist/components/invoicing/common/composeInvoicingEmailPreview.d.ts +20 -0
  18. package/dist/components/invoicing/customerDetail/InvoicingCustomerDetailPage.d.ts +14 -11
  19. package/dist/components/invoicing/customerDetail/InvoicingPaymentLinkEmailComposerDialog.d.ts +26 -0
  20. package/dist/components/invoicing/customerList/InvoicingCustomerListPage.d.ts +1 -1
  21. package/dist/components/invoicing/discountDetail/InvoicingDiscountDetailPage.d.ts +6 -2
  22. package/dist/components/invoicing/discountList/InvoicingDiscountListPage.d.ts +1 -2
  23. package/dist/components/invoicing/discountList/discountActionMenuItems.d.ts +0 -4
  24. package/dist/components/invoicing/dunningDetail/InvoicingDunningEmailComposerDialog.d.ts +4 -0
  25. package/dist/components/invoicing/invoiceDetail/InvoicingInvoiceDetailPage.d.ts +6 -1
  26. package/dist/components/invoicing/paymentList/paymentActionMenuItems.d.ts +2 -6
  27. package/dist/components/invoicing/paymentList/paymentListRowMenu.d.ts +1 -1
  28. package/dist/components/invoicing/subscriptionDetail/InvoicingSubscriptionDetailPage.d.ts +6 -2
  29. package/dist/components/invoicing/subscriptionList/InvoicingSubscriptionListPage.d.ts +1 -4
  30. package/dist/components/invoicing/subscriptionList/subscriptionActionMenuItems.d.ts +0 -4
  31. package/dist/components/invoicing/subscriptionList/subscriptionListRowMenu.d.ts +1 -1
  32. package/dist/components/reportTree/reportTreeTypes.d.ts +5 -0
  33. package/dist/components/reportTree/treeNode/pAndLReports/row/SectionRow.d.ts +7 -1
  34. package/dist/components/reportTree/treeNode/pAndLReports/treeNodeMappers/mapSectionToTreeNode.d.ts +6 -3
  35. package/dist/components/reports/ReportsPage.d.ts +10 -2
  36. package/dist/components/reports/cashFlow/mapCashFlowClassReportToTreeNodes.d.ts +4 -0
  37. package/dist/components/reports/cashFlow/mapCashFlowGroupedReportToTreeNodes.d.ts +20 -0
  38. package/dist/components/reports/cashFlow/mapCashFlowProjectReportToTreeNodes.d.ts +4 -0
  39. package/dist/components/reports/reportTypes.d.ts +2 -2
  40. package/dist/components/spendManagement/zeniAccounts/expressPay/sections/RecipientDetailsSection.d.ts +1 -1
  41. package/dist/components/transactionDetail/items/transactionLineTable/listRow/TransactionLineTableListRow.d.ts +1 -1
  42. package/dist/components/transactionDetail/items/transactionLineTable/transactionLineTableTypes.d.ts +9 -0
  43. package/dist/context/featureProvider/DynamicConfigNameConstants.d.ts +2 -0
  44. package/dist/context/featureProvider/useMeetingLinks.d.ts +16 -0
  45. package/dist/index.cjs.js +1 -1
  46. package/dist/index.d.ts +5 -1
  47. package/dist/index.esm.js +285 -284
  48. package/dist/strings/strings.d.ts +64 -18
  49. package/package.json +48 -124
  50. package/dist/components/expenseAutomation/sections/jeSchedules/accrualDetail/JEAccrualSequenceSection.d.ts +0 -22
  51. package/dist/components/invoicing/catalogDetail/catalogProductActionMenuItems.test.d.ts +0 -1
  52. package/dist/components/invoicing/customerDetail/InvoicingPaymentLinkEmailPreview.d.ts +0 -15
  53. package/dist/components/invoicing/discountList/discountActionMenuItems.test.d.ts +0 -1
  54. package/dist/components/invoicing/invoiceDetail/invoicingVoidInvoiceHelpers.d.ts +0 -4
  55. package/dist/components/invoicing/invoiceDetail/invoicingVoidInvoiceHelpers.test.d.ts +0 -1
  56. /package/dist/{components/invoicing/catalog/catalogActionMenuItems.test.d.ts → context/featureProvider/useMeetingLinks.test.d.ts} +0 -0
@@ -115,6 +115,7 @@ export declare const zeniStrings: {
115
115
  filter: string;
116
116
  name: string;
117
117
  select: string;
118
+ selectReason: string;
118
119
  goBack: string;
119
120
  minimize: string;
120
121
  maximize: string;
@@ -137,6 +138,7 @@ export declare const zeniStrings: {
137
138
  user: string;
138
139
  anonymousUser: string;
139
140
  tasks: string;
141
+ comment: string;
140
142
  comments: string;
141
143
  read: string;
142
144
  unread: string;
@@ -3741,12 +3743,23 @@ export declare const zeniStrings: {
3741
3743
  };
3742
3744
  additionalColumns: {
3743
3745
  month: {
3746
+ free_range_total: string;
3747
+ year_to_date_total: string;
3748
+ year_to_date_last_year_total: string;
3749
+ rolling_12_months: string;
3750
+ rolling_12_months_average: string;
3751
+ this_period_vs_same_period_last_year: string;
3744
3752
  same_period_last_year: string;
3745
3753
  this_period_vs_last_period: string;
3746
3754
  this_period_vs_last_period_percent: string;
3747
3755
  this_period_vs_same_period_last_year_percent: string;
3748
3756
  };
3749
3757
  quarter: {
3758
+ free_range_total: string;
3759
+ year_to_date_total: string;
3760
+ year_to_date_last_year_total: string;
3761
+ rolling_12_months: string;
3762
+ rolling_12_months_average: string;
3750
3763
  same_period_last_year: string;
3751
3764
  this_period_vs_last_period: string;
3752
3765
  this_period_vs_last_period_percent: string;
@@ -3754,6 +3767,11 @@ export declare const zeniStrings: {
3754
3767
  this_period_vs_same_period_last_year_percent: string;
3755
3768
  };
3756
3769
  year: {
3770
+ free_range_total: string;
3771
+ year_to_date_total: string;
3772
+ year_to_date_last_year_total: string;
3773
+ rolling_12_months: string;
3774
+ rolling_12_months_average: string;
3757
3775
  this_period_vs_last_period: string;
3758
3776
  this_period_vs_last_period_percent: string;
3759
3777
  this_period_vs_same_period_last_year: string;
@@ -3761,16 +3779,31 @@ export declare const zeniStrings: {
3761
3779
  };
3762
3780
  labels: {
3763
3781
  month: {
3782
+ free_range_total: string;
3783
+ year_to_date_total: string;
3784
+ year_to_date_last_year_total: string;
3785
+ rolling_12_months: string;
3786
+ rolling_12_months_average: string;
3764
3787
  same_period_last_year: string;
3765
3788
  this_period_vs_same_period_last_year: string;
3766
3789
  this_period_vs_same_period_last_year_percent: string;
3767
3790
  };
3768
3791
  quarter: {
3792
+ free_range_total: string;
3793
+ year_to_date_total: string;
3794
+ year_to_date_last_year_total: string;
3795
+ rolling_12_months: string;
3796
+ rolling_12_months_average: string;
3769
3797
  same_period_last_year: string;
3770
3798
  this_period_vs_same_period_last_year: string;
3771
3799
  this_period_vs_same_period_last_year_percent: string;
3772
3800
  };
3773
3801
  year: {
3802
+ free_range_total: string;
3803
+ year_to_date_total: string;
3804
+ year_to_date_last_year_total: string;
3805
+ rolling_12_months: string;
3806
+ rolling_12_months_average: string;
3774
3807
  this_period_vs_same_period_last_year: string;
3775
3808
  this_period_vs_same_period_last_year_percent: string;
3776
3809
  };
@@ -5890,6 +5923,21 @@ export declare const zeniStrings: {
5890
5923
  both: string;
5891
5924
  };
5892
5925
  tabsById: {
5926
+ draft: string;
5927
+ pending_approval: string;
5928
+ scheduled: string;
5929
+ paid: string;
5930
+ all: string;
5931
+ failed: string;
5932
+ cancelled: string;
5933
+ overdue: string;
5934
+ rejected: string;
5935
+ ach: string;
5936
+ wire: string;
5937
+ returned: string;
5938
+ awaitingMyApproval: string;
5939
+ awaitingAllApproval: string;
5940
+ deleted: string;
5893
5941
  myDrafts: string;
5894
5942
  awaitingApproval: string;
5895
5943
  };
@@ -6149,6 +6197,8 @@ export declare const zeniStrings: {
6149
6197
  secondaryButtonText: string;
6150
6198
  };
6151
6199
  tabsById: {
6200
+ zeniAccounts: string;
6201
+ achDetails: string;
6152
6202
  externalAccounts: string;
6153
6203
  wireDetails: string;
6154
6204
  };
@@ -8367,6 +8417,7 @@ export declare const zeniStrings: {
8367
8417
  schedules: string;
8368
8418
  total: string;
8369
8419
  typeLabels: {
8420
+ fixed_assets: string;
8370
8421
  prepaid_expenses: string;
8371
8422
  accrued_expenses: string;
8372
8423
  deferred_revenue: string;
@@ -8532,6 +8583,9 @@ export declare const zeniStrings: {
8532
8583
  };
8533
8584
  journalEntryPreview: {
8534
8585
  title: string;
8586
+ postedTitle: string;
8587
+ reversedTitle: string;
8588
+ autoReversalEnabled: string;
8535
8589
  };
8536
8590
  billingPattern: {
8537
8591
  title: string;
@@ -9099,10 +9153,8 @@ export declare const zeniStrings: {
9099
9153
  artifactFallbackTitle: string;
9100
9154
  downloadArtifactImage: string;
9101
9155
  saveToSkill: string;
9102
- savingToSkill: string;
9103
9156
  savedToSkill: string;
9104
9157
  saveToSkillFailed: string;
9105
- createSkillCommandDisplayName: string;
9106
9158
  createSkillCommandDescription: string;
9107
9159
  createSkillCommandExampleHint: string;
9108
9160
  downloadTableFailed: string;
@@ -9790,16 +9842,16 @@ export declare const zeniStrings: {
9790
9842
  default: string;
9791
9843
  noPaymentMethodOnFile: string;
9792
9844
  previewEmailHeading: string;
9793
- previewThisIsWhat: string;
9794
- theCustomer: string;
9795
- previewWillReceive: string;
9796
- hi: string;
9797
- there: string;
9798
- previewEmailBody: string;
9799
- previewFallbackLinkHint: string;
9800
- previewPlaceholderMagicUrl: string;
9801
- previewEmailFooter: string;
9802
- previewEmailContactPrefix: string;
9845
+ previewEmailSubtitle: string;
9846
+ previewEmailFrameTitle: string;
9847
+ previewEmailLoading: string;
9848
+ previewEmailUnavailable: string;
9849
+ previewEmailFailed: string;
9850
+ previewEmailRetry: string;
9851
+ previewEmailSend: string;
9852
+ previewEmailMessageLabel: string;
9853
+ previewEmailSubjectRequired: string;
9854
+ previewEmailBodyRequired: string;
9803
9855
  sending: string;
9804
9856
  noSubscriptions: string;
9805
9857
  recentInvoices: string;
@@ -10127,7 +10179,6 @@ export declare const zeniStrings: {
10127
10179
  placeholderAddReferenceNumber: string;
10128
10180
  labelInvoiceToLink: string;
10129
10181
  placeholderAddInvoiceToLink: string;
10130
- labelComment: string;
10131
10182
  placeholderCommentInternalNote: string;
10132
10183
  };
10133
10184
  invoicingIssueCreditNote: {
@@ -10138,7 +10189,6 @@ export declare const zeniStrings: {
10138
10189
  sectionCreditDetails: string;
10139
10190
  sectionLineItems: string;
10140
10191
  labelCreditTotal: string;
10141
- placeholderSelectReason: string;
10142
10192
  columnInclude: string;
10143
10193
  columnLineTotal: string;
10144
10194
  reasonServiceCredit: string;
@@ -10252,7 +10302,6 @@ export declare const zeniStrings: {
10252
10302
  defaultMemoLabel: string;
10253
10303
  invoiceFooterTextHint: string;
10254
10304
  invoiceFooterTextLabel: string;
10255
- invoiceFooterTextPlaceholder: string;
10256
10305
  showTaxIdOnInvoices: string;
10257
10306
  showServicePeriods: string;
10258
10307
  dunningScheduleTitle: string;
@@ -10306,9 +10355,6 @@ export declare const zeniStrings: {
10306
10355
  pauseSubscriptionDateLabel: string;
10307
10356
  pauseSubscriptionHint: string;
10308
10357
  cancelSubscriptionMessage: string;
10309
- cancelReasonLabel: string;
10310
- cancelReasonPlaceholder: string;
10311
- cancelCommentLabel: string;
10312
10358
  cancelCommentPlaceholder: string;
10313
10359
  everyUnit: string;
10314
10360
  everyPeriodUnits: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/web-components",
3
- "version": "4.3.59-betaAK0",
3
+ "version": "4.3.59",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -25,51 +25,6 @@
25
25
  "files": [
26
26
  "dist"
27
27
  ],
28
- "scripts": {
29
- "clean": "rimraf build",
30
- "build-stories": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc --noEmit",
31
- "test": "export NODE_OPTIONS=--max-old-space-size=8192 && pnpm lint-modified-files && tsc --noEmit && bash ./scripts/test-storybook-watch.sh",
32
- "test-all": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc --noEmit && test-storybook --updateSnapshot --maxWorkers 2 --testTimeout 30000",
33
- "test-modified-files": "export NODE_OPTIONS=--max-old-space-size=8192 && chmod +x ./scripts/track_modified_files.sh && ./scripts/track_modified_files.sh && pnpm test && pnpm format-watch",
34
- "storybook": "export NODE_OPTIONS=--max-old-space-size=8192 && storybook dev -p 6006",
35
- "build-storybook": "export NODE_OPTIONS=--max-old-space-size=8192 && storybook build",
36
- "circular-dependency": "npx madge --circular --extensions ts ./src",
37
- "circular-dependency-modified-files": "chmod +x ./scripts/circular-dependency-modified-files.sh && ./scripts/circular-dependency-modified-files.sh",
38
- "lint": "export NODE_OPTIONS=--max-old-space-size=8192 && time eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
39
- "lint:fix": "chmod +x ./scripts/fix-lint.sh && ./scripts/fix-lint.sh",
40
- "lint-modified-files": "chmod +x ./scripts/lint-modified-files.sh && ./scripts/lint-modified-files.sh",
41
- "lint:fix-modified-files": "chmod +x ./scripts/lint-modified-files.sh && LINT_FIX=true ./scripts/lint-modified-files.sh",
42
- "tsc-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && ./scripts/tsc-modified-files.sh",
43
- "data-testid-changes": "chmod +x ./scripts/data-testid-changes.sh && ./scripts/data-testid-changes.sh",
44
- "typecheck": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc --noEmit",
45
- "typecheck:mocks": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc --noEmit -p tsconfig.mocks.json",
46
- "typecheck:mocks-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=30 ./scripts/tsc-modified-files.sh master tsconfig.mocks.json",
47
- "typecheck:stories": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc --noEmit -p tsconfig.stories.json",
48
- "typecheck:stories-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=30 ./scripts/tsc-modified-files.sh master tsconfig.stories.json",
49
- "build": "export NODE_OPTIONS=--max-old-space-size=8192 && pnpm lint-modified-files && pnpm tsc-modified-files && vite build",
50
- "format": "prettier --write --ignore-unknown \"src/**/*\" && pnpm lint",
51
- "format-watch": "FORMAT_WATCH_EXT='\\.(ts|tsx|js)$' bash ./scripts/run-format-watch.sh",
52
- "format-staged": "git diff --cached --name-only --diff-filter=ACM | grep -E '\\.(ts|tsx|js)$' | xargs prettier --write || true",
53
- "preview": "vite preview",
54
- "version": "git add -A src",
55
- "postversion": "git push && git push --tags",
56
- "chromatic": "npx chromatic --project-token=b0f981300c3c --auto-accept-changes",
57
- "analyze": "vite-bundle-visualizer -t sunburst",
58
- "check-version": "node ./scripts/check_version.js",
59
- "bump-update-web-app-cockpit-beta": "chmod +x ./scripts/bump_and_update_web_app_ui_beta.sh && ./scripts/bump_and_update_web_app_ui_beta.sh",
60
- "publish-beta": "sh -c 'echo \"Publishing with tag: ${betaTag:-beta}\" && pnpm publish --tag ${betaTag:-beta} --no-git-checks'",
61
- "build-beta": "export NODE_OPTIONS=--max-old-space-size=8192 && tsc && vite build --config vite.dev.config.ts && ([ -f dist/web-components.css ] && mv dist/web-components.css dist/index.css || true)",
62
- "build-beta-and-copy": "chmod +x ./scripts/build_and_copy.sh && ./scripts/build_and_copy.sh",
63
- "prepublishOnly": "chmod +x ./scripts/branch_validation.sh && ./scripts/branch_validation.sh && pnpm run check-version && pnpm update-slack-group-topic && pnpm clean && if [ -n \"$betaTag\" ]; then pnpm run build-beta; else pnpm run build; fi",
64
- "check-dependencies": "node ./scripts/check_dependencies.js",
65
- "clean-overrides": "node ./scripts/clean_overrides.js",
66
- "update-slack-group-topic": "chmod +x ./scripts/update_slack_group_topic.sh && ./scripts/update_slack_group_topic.sh",
67
- "raise-pr-automation": "chmod +x ./scripts/raise_pr_automation.sh && ./scripts/raise_pr_automation.sh",
68
- "cherry-pick": "chmod +x ./scripts/cherry_pick.sh && ./scripts/cherry_pick.sh",
69
- "prebuild": "node ./scripts/check-imports.js",
70
- "prepare": "husky",
71
- "find-unused-code": "knip"
72
- },
73
28
  "dependencies": {
74
29
  "@emotion/cache": "^11.13.1",
75
30
  "@emotion/react": "11.10.0",
@@ -92,8 +47,8 @@
92
47
  "@statsig/react-bindings": "^3.14.0",
93
48
  "@stripe/react-stripe-js": "^2.7.3",
94
49
  "@stripe/stripe-js": "^4.4.0",
95
- "@zeniai/client-analytics": "2.0.86",
96
- "@zeniai/client-epic-state": "5.2.32-betaAK0",
50
+ "@zeniai/client-analytics": "2.0.87",
51
+ "@zeniai/client-epic-state": "5.2.32",
97
52
  "autosuggest-highlight": "^3.2.1",
98
53
  "browser-image-compression": "^2.0.2",
99
54
  "countries-list": "^2.6.1",
@@ -211,8 +166,8 @@
211
166
  "@types/color": "^3.0.2",
212
167
  "@types/react-select": "^4.0.18",
213
168
  "@types/react-window": "^1.8.8",
214
- "@zeniai/client-analytics": "2.0.86",
215
- "@zeniai/client-epic-state": "5.2.32-betaAK0",
169
+ "@zeniai/client-analytics": "2.0.87",
170
+ "@zeniai/client-epic-state": "5.2.32",
216
171
  "color": "^3.1.3",
217
172
  "react": "18.3.1",
218
173
  "react-dom": "18.3.1",
@@ -247,78 +202,47 @@
247
202
  "type": "git",
248
203
  "url": "https://github.com/zeni-ai/zeni-web-components.git"
249
204
  },
250
- "pnpm": {
251
- "onlyBuiltDependencies": [
252
- "@swc/core",
253
- "node-jq"
254
- ],
255
- "ignoredBuiltDependencies": [
256
- "canvas",
257
- "core-js",
258
- "core-js-pure",
259
- "esbuild",
260
- "unrs-resolver"
261
- ],
262
- "auditConfig": {
263
- "ignoreGhsas": [
264
- "GHSA-w5hq-g745-h8pq"
265
- ]
266
- },
267
- "overrides": {
268
- "@babel/plugin-transform-modules-systemjs": ">=7.29.4",
269
- "@eslint/eslintrc>ajv": ">=6.14.0 <7",
270
- "@eslint/plugin-kit": ">=0.3.4",
271
- "@tootallnate/once": ">=3.0.1",
272
- "ajv": ">=8.18.0",
273
- "ajv-keywords": ">=5.1.0",
274
- "axios": ">=1.18.0",
275
- "bfj": "9.1.3",
276
- "body-parser": ">=1.20.6 <2",
277
- "brace-expansion": ">=5.0.9",
278
- "cosmiconfig>yaml": ">=1.10.3 <2",
279
- "d3-color": ">=3.1.0",
280
- "decode-uri-component": ">=0.2.1",
281
- "esbuild": ">=0.28.1",
282
- "eslint>ajv": ">=6.14.0 <7",
283
- "fast-uri": ">=4.1.2",
284
- "flatted": ">=3.4.2",
285
- "follow-redirects": ">=1.16.0",
286
- "form-data": ">=4.0.6",
287
- "glob": "^11.1.0",
288
- "http-proxy-middleware": ">=3.0.6 <4",
289
- "immutable": ">=4.3.9 <5",
290
- "joi": ">=17.13.4",
291
- "js-yaml": ">=4.3.1 <5",
292
- "launch-editor": ">=2.14.1",
293
- "lodash": ">=4.18.1 <5",
294
- "mdast-util-to-hast": ">=13.2.1",
295
- "minimatch": ">=10.2.3",
296
- "mux-embed": "5.15.0",
297
- "node-forge": ">=1.4.0",
298
- "npm-check": ">=2.0.1",
299
- "nth-check": ">=2.0.1",
300
- "nyc>glob": "7.2.3",
301
- "on-headers": ">=1.1.0",
302
- "path-to-regexp": "0.1.13",
303
- "picomatch": ">=4.0.4",
304
- "playwright-core": "1.62.1",
305
- "postcss": ">=8.5.18",
306
- "prismjs": ">=1.30.0",
307
- "qs": ">=6.15.2",
308
- "rollup": ">=4.59.0",
309
- "serialize-javascript": ">=7.0.5",
310
- "shell-quote": ">=1.9.0",
311
- "svgo": ">=4.0.2",
312
- "tar": ">=7.5.21",
313
- "tar-fs": ">=3.1.1",
314
- "test-exclude>glob": "7.2.3",
315
- "tmp": ">=0.2.6",
316
- "uuid": "^11.1.1",
317
- "webpack": ">=5.104.1",
318
- "webpack-dev-server": ">=5.2.6 <6",
319
- "websocket-driver": "0.7.5",
320
- "ws": ">=8.21.0",
321
- "yaml": ">=2.8.3"
322
- }
205
+ "scripts": {
206
+ "clean": "rimraf build",
207
+ "build-stories": "export NODE_OPTIONS=--max-old-space-size=12288 && tsc --noEmit",
208
+ "test": "export NODE_OPTIONS=--max-old-space-size=12288 && pnpm lint-modified-files && tsc --noEmit && bash ./scripts/test-storybook-watch.sh",
209
+ "test-all": "export NODE_OPTIONS=--max-old-space-size=12288 && tsc --noEmit && test-storybook --updateSnapshot --maxWorkers 2 --testTimeout 30000",
210
+ "test-modified-files": "export NODE_OPTIONS=--max-old-space-size=12288 && chmod +x ./scripts/track_modified_files.sh && ./scripts/track_modified_files.sh && pnpm test && pnpm format-watch",
211
+ "storybook": "export NODE_OPTIONS=--max-old-space-size=12288 && storybook dev -p 6006",
212
+ "build-storybook": "export NODE_OPTIONS=--max-old-space-size=12288 && storybook build",
213
+ "circular-dependency": "npx madge --circular --extensions ts ./src",
214
+ "circular-dependency-modified-files": "chmod +x ./scripts/circular-dependency-modified-files.sh && ./scripts/circular-dependency-modified-files.sh",
215
+ "lint": "export NODE_OPTIONS=--max-old-space-size=12288 && time eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
216
+ "lint:fix": "chmod +x ./scripts/fix-lint.sh && ./scripts/fix-lint.sh",
217
+ "lint-modified-files": "chmod +x ./scripts/lint-modified-files.sh && ./scripts/lint-modified-files.sh",
218
+ "lint:fix-modified-files": "chmod +x ./scripts/lint-modified-files.sh && LINT_FIX=true ./scripts/lint-modified-files.sh",
219
+ "tsc-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && ./scripts/tsc-modified-files.sh",
220
+ "data-testid-changes": "chmod +x ./scripts/data-testid-changes.sh && ./scripts/data-testid-changes.sh",
221
+ "typecheck": "export NODE_OPTIONS=--max-old-space-size=12288 && tsc --noEmit",
222
+ "typecheck:mocks": "export NODE_OPTIONS=--max-old-space-size=12288 && tsc --noEmit -p tsconfig.mocks.json",
223
+ "typecheck:mocks-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=30 ./scripts/tsc-modified-files.sh master tsconfig.mocks.json",
224
+ "typecheck:stories": "export NODE_OPTIONS=--max-old-space-size=12288 && tsc --noEmit -p tsconfig.stories.json",
225
+ "typecheck:stories-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=30 ./scripts/tsc-modified-files.sh master tsconfig.stories.json",
226
+ "build": "export NODE_OPTIONS=--max-old-space-size=12288 && pnpm lint-modified-files && pnpm tsc-modified-files && vite build",
227
+ "format": "prettier --write --ignore-unknown \"src/**/*\" && pnpm lint",
228
+ "format-watch": "FORMAT_WATCH_EXT='\\.(ts|tsx|js)$' bash ./scripts/run-format-watch.sh",
229
+ "format-staged": "git diff --cached --name-only --diff-filter=ACM | grep -E '\\.(ts|tsx|js)$' | xargs prettier --write || true",
230
+ "preview": "vite preview",
231
+ "version": "git add -A src",
232
+ "postversion": "git push && git push --tags",
233
+ "chromatic": "npx chromatic --project-token=b0f981300c3c --auto-accept-changes",
234
+ "analyze": "vite-bundle-visualizer -t sunburst",
235
+ "check-version": "node ./scripts/check_version.js",
236
+ "bump-update-web-app-cockpit-beta": "chmod +x ./scripts/bump_and_update_web_app_ui_beta.sh && ./scripts/bump_and_update_web_app_ui_beta.sh",
237
+ "publish-beta": "sh -c 'echo \"Publishing with tag: ${betaTag:-beta}\" && pnpm publish --tag ${betaTag:-beta} --no-git-checks'",
238
+ "build-beta": "export NODE_OPTIONS=--max-old-space-size=12288 && tsc && vite build --config vite.dev.config.ts && ([ -f dist/web-components.css ] && mv dist/web-components.css dist/index.css || true)",
239
+ "build-beta-and-copy": "chmod +x ./scripts/build_and_copy.sh && ./scripts/build_and_copy.sh",
240
+ "check-dependencies": "node ./scripts/check_dependencies.js",
241
+ "clean-overrides": "node ./scripts/clean_overrides.js",
242
+ "update-slack-group-topic": "chmod +x ./scripts/update_slack_group_topic.sh && ./scripts/update_slack_group_topic.sh",
243
+ "raise-pr-automation": "chmod +x ./scripts/raise_pr_automation.sh && ./scripts/raise_pr_automation.sh",
244
+ "cherry-pick": "chmod +x ./scripts/cherry_pick.sh && ./scripts/cherry_pick.sh",
245
+ "prebuild": "node ./scripts/check-imports.js",
246
+ "find-unused-code": "knip"
323
247
  }
324
- }
248
+ }
@@ -1,22 +0,0 @@
1
- import { ClientAnalytics } from '@zeniai/client-analytics';
2
- import { JEOneTimeAccrual, ScheduledJournalEntry, TransactionID } from '@zeniai/client-epic-state';
3
- export declare const ACCRUAL_SEQUENCE_SECTION_ID = "jeAccrualSequenceSection";
4
- export interface JEAccrualSequenceSectionProps {
5
- accrual: JEOneTimeAccrual;
6
- analytics: ClientAnalytics;
7
- controllerEmails: string[];
8
- controllerUserIds: string[];
9
- onViewTransaction: (transactionID: TransactionID) => void;
10
- }
11
- /**
12
- * The accrual's entries — the accrual itself and, when it has one, its reversal — in the same
13
- * sequence table the accrued schedule detail page uses.
14
- *
15
- * The rows are synthesized from the accrual because an accrual has no `scheduledJournalEntry`
16
- * collection of its own. They deliberately carry no `jeScheduleId`: the table reads that to decide
17
- * whether to offer the per-row menu (cancel accrual, view recorded/posted JE), and none of those
18
- * apply to a one-time accrual. Combined with `isDisabled`, that makes this a read-only view.
19
- */
20
- declare const JEAccrualSequenceSection: ({ accrual, analytics, controllerEmails, controllerUserIds, onViewTransaction, }: Readonly<JEAccrualSequenceSectionProps>) => import("react/jsx-runtime").JSX.Element;
21
- export default JEAccrualSequenceSection;
22
- export declare function buildScheduledJournalEntries(accrual: JEOneTimeAccrual): ScheduledJournalEntry[];
@@ -1,15 +0,0 @@
1
- export interface InvoicingPaymentLinkEmailPreviewProps {
2
- recipientName: string;
3
- accentColor?: string;
4
- companyName?: string;
5
- contactEmail?: string;
6
- logoUrl?: string;
7
- magicUrl?: string;
8
- }
9
- /**
10
- * Visual approximation of the backend payment-link collection email. Uses
11
- * branding settings (accent, logo, company name, contact email) and the
12
- * customer contact name — not shared HTML with the mailer.
13
- */
14
- export declare function InvoicingPaymentLinkEmailPreview({ accentColor, companyName, contactEmail, logoUrl, magicUrl, recipientName, }: Readonly<InvoicingPaymentLinkEmailPreviewProps>): import("react/jsx-runtime").JSX.Element;
15
- export default InvoicingPaymentLinkEmailPreview;
@@ -1,4 +0,0 @@
1
- import { VoidInvoiceBody } from '@zeniai/client-epic-state';
2
- export declare function isBackdatedInvoiceDate(invoiceDate: string, referenceDate?: Date): boolean;
3
- export declare function shouldDefaultAdjustmentCreditNote(invoiceDate: string, referenceDate?: Date): boolean;
4
- export declare function buildVoidInvoiceSubmitBody(createAdjustmentCreditNote: boolean, referenceDate?: Date): VoidInvoiceBody;