@justifi/webcomponents 4.7.1 → 4.7.2

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 (133) hide show
  1. package/dist/cjs/{Payout-68a99ee3.js → Payout-f8240e9c.js} +49 -1
  2. package/dist/cjs/additional-questions-details_5.cjs.entry.js +9 -6
  3. package/dist/cjs/form-control-datepart_2.cjs.entry.js +1 -1
  4. package/dist/cjs/justifi-business-details.cjs.entry.js +17 -13
  5. package/dist/cjs/justifi-business-form-stepped.cjs.entry.js +1 -1
  6. package/dist/cjs/justifi-business-form.cjs.entry.js +1 -1
  7. package/dist/cjs/justifi-business-list.cjs.entry.js +1 -1
  8. package/dist/cjs/justifi-details.cjs.entry.js +1 -1
  9. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +23 -11
  10. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +1 -1
  11. package/dist/cjs/justifi-payment-details.cjs.entry.js +21 -12
  12. package/dist/cjs/justifi-payment-form.cjs.entry.js +16 -6
  13. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +3 -1
  14. package/dist/cjs/justifi-payments-list.cjs.entry.js +22 -23
  15. package/dist/cjs/justifi-payout-details.cjs.entry.js +20 -12
  16. package/dist/cjs/justifi-payouts-list.cjs.entry.js +21 -11
  17. package/dist/cjs/justifi-proceeds-list.cjs.entry.js +1 -1
  18. package/dist/cjs/justifi-refund-form.cjs.entry.js +1 -1
  19. package/dist/cjs/justifi-subaccount-details.cjs.entry.js +4 -6
  20. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +1 -1
  21. package/dist/cjs/justifi-table_2.cjs.entry.js +4 -4
  22. package/dist/cjs/subaccount-account-details_4.cjs.entry.js +1 -1
  23. package/dist/cjs/subaccount-bank-details.cjs.entry.js +1 -1
  24. package/dist/cjs/subaccount-terms-details.cjs.entry.js +1 -1
  25. package/dist/cjs/{utils-4622829d.js → utils-a47b2e73.js} +4 -4
  26. package/dist/collection/api/Payment.js +49 -1
  27. package/dist/collection/api/mockData/MockPayments.js +21 -21
  28. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +2 -2
  29. package/dist/collection/components/business-details/business-details.js +16 -12
  30. package/dist/collection/components/business-details/owner-details/owner-details.js +4 -1
  31. package/dist/collection/components/business-details/representative-details/representative-details.js +2 -2
  32. package/dist/collection/components/business-form/business-form-example.js +12 -0
  33. package/dist/collection/components/business-form/business-form-stepped-example.js +12 -0
  34. package/dist/collection/components/business-form/business-form-stepped.stories.js +1 -1
  35. package/dist/collection/components/details/utils.js +2 -2
  36. package/dist/collection/components/form/form-control-datepart.js +1 -1
  37. package/dist/collection/components/gross-payment-chart/example.js +12 -0
  38. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +20 -8
  39. package/dist/collection/components/payment-details/payment-details.js +21 -12
  40. package/dist/collection/components/payment-form/payment-form.js +16 -6
  41. package/dist/collection/components/payments-list/payments-list.js +21 -22
  42. package/dist/collection/components/payout-details/payout-details.js +19 -11
  43. package/dist/collection/components/payouts-list/payouts-list.js +20 -10
  44. package/dist/collection/components/subaccount-details/subaccount-details.js +2 -4
  45. package/dist/collection/components/table/table.css +5 -0
  46. package/dist/collection/components/table/table.js +2 -2
  47. package/dist/components/Payout.js +50 -2
  48. package/dist/components/additional-questions-details2.js +2 -2
  49. package/dist/components/form-control-datepart2.js +1 -1
  50. package/dist/components/justifi-business-details.js +15 -11
  51. package/dist/components/justifi-gross-payment-chart.js +21 -9
  52. package/dist/components/justifi-payment-details.js +21 -12
  53. package/dist/components/justifi-payment-form.js +16 -6
  54. package/dist/components/justifi-payments-list.js +22 -23
  55. package/dist/components/justifi-payout-details.js +19 -11
  56. package/dist/components/justifi-payouts-list.js +21 -11
  57. package/dist/components/justifi-subaccount-details.js +2 -4
  58. package/dist/components/owner-details2.js +4 -1
  59. package/dist/components/pagination-menu2.js +1 -1
  60. package/dist/components/payment-method-form.js +3 -1
  61. package/dist/components/representative-details2.js +2 -2
  62. package/dist/components/table.js +3 -3
  63. package/dist/components/utils.js +4 -4
  64. package/dist/esm/{Payout-fcf16887.js → Payout-586f06a3.js} +50 -2
  65. package/dist/esm/additional-questions-details_5.entry.js +9 -6
  66. package/dist/esm/form-control-datepart_2.entry.js +1 -1
  67. package/dist/esm/justifi-business-details.entry.js +17 -13
  68. package/dist/esm/justifi-business-form-stepped.entry.js +1 -1
  69. package/dist/esm/justifi-business-form.entry.js +1 -1
  70. package/dist/esm/justifi-business-list.entry.js +1 -1
  71. package/dist/esm/justifi-details.entry.js +1 -1
  72. package/dist/esm/justifi-gross-payment-chart.entry.js +23 -11
  73. package/dist/esm/justifi-payment-balance-transactions.entry.js +1 -1
  74. package/dist/esm/justifi-payment-details.entry.js +22 -13
  75. package/dist/esm/justifi-payment-form.entry.js +16 -6
  76. package/dist/esm/justifi-payment-method-form.entry.js +3 -1
  77. package/dist/esm/justifi-payments-list.entry.js +22 -23
  78. package/dist/esm/justifi-payout-details.entry.js +20 -12
  79. package/dist/esm/justifi-payouts-list.entry.js +21 -11
  80. package/dist/esm/justifi-proceeds-list.entry.js +1 -1
  81. package/dist/esm/justifi-refund-form.entry.js +1 -1
  82. package/dist/esm/justifi-subaccount-details.entry.js +4 -6
  83. package/dist/esm/justifi-subaccounts-list.entry.js +1 -1
  84. package/dist/esm/justifi-table_2.entry.js +4 -4
  85. package/dist/esm/subaccount-account-details_4.entry.js +1 -1
  86. package/dist/esm/subaccount-bank-details.entry.js +1 -1
  87. package/dist/esm/subaccount-terms-details.entry.js +1 -1
  88. package/dist/esm/{utils-6352c002.js → utils-d19c2778.js} +4 -4
  89. package/dist/types/api/Payment.d.ts +32 -5
  90. package/dist/types/api/Payout.d.ts +2 -2
  91. package/dist/types/components/business-details/business-details.d.ts +0 -1
  92. package/dist/types/components/payment-method-form/payment-method-responses.d.ts +7 -1
  93. package/dist/types/components/payments-list/payments-list.d.ts +1 -3
  94. package/dist/webcomponents/p-2140e9ba.entry.js +1 -0
  95. package/dist/webcomponents/{p-914d2284.entry.js → p-311250e2.entry.js} +1 -1
  96. package/dist/webcomponents/{p-2306d7aa.entry.js → p-3501b0e8.entry.js} +1 -1
  97. package/dist/webcomponents/{p-5e78d370.entry.js → p-3ed43465.entry.js} +1 -1
  98. package/dist/webcomponents/{p-29528eca.entry.js → p-3ee831ac.entry.js} +1 -1
  99. package/dist/webcomponents/{p-6075122d.entry.js → p-4214dbb8.entry.js} +1 -1
  100. package/dist/webcomponents/p-4852ce94.entry.js +1 -0
  101. package/dist/webcomponents/p-4ec00b55.entry.js +1 -0
  102. package/dist/webcomponents/p-5e6726a8.entry.js +1 -0
  103. package/dist/webcomponents/p-77a8bcea.entry.js +1 -0
  104. package/dist/webcomponents/p-86c23e1e.js +1 -0
  105. package/dist/webcomponents/{p-3fd6ff27.entry.js → p-91757d9f.entry.js} +1 -1
  106. package/dist/webcomponents/{p-984ff1aa.entry.js → p-98e4eae3.entry.js} +1 -1
  107. package/dist/webcomponents/p-9e012e33.entry.js +1 -0
  108. package/dist/webcomponents/p-a1ef6b4c.entry.js +1 -0
  109. package/dist/webcomponents/p-ac8ee442.entry.js +1 -0
  110. package/dist/webcomponents/{p-21998fea.entry.js → p-af771964.entry.js} +1 -1
  111. package/dist/webcomponents/{p-742188d9.entry.js → p-b60a58f4.entry.js} +1 -1
  112. package/dist/webcomponents/p-bc91044c.entry.js +1 -0
  113. package/dist/webcomponents/{p-ce2e68df.entry.js → p-c0f9f6a8.entry.js} +3 -3
  114. package/dist/webcomponents/{p-98bb3c6a.entry.js → p-c29c587f.entry.js} +1 -1
  115. package/dist/webcomponents/p-e12ab547.js +1 -0
  116. package/dist/webcomponents/{p-6444d443.entry.js → p-e7ef2455.entry.js} +1 -1
  117. package/dist/webcomponents/{p-5cf9128c.entry.js → p-ed8c9b88.entry.js} +1 -1
  118. package/dist/webcomponents/p-f2f0aa6e.entry.js +1 -0
  119. package/dist/webcomponents/webcomponents.esm.js +1 -1
  120. package/package.json +3 -2
  121. package/readme.md +38 -10
  122. package/dist/webcomponents/p-0e51a185.entry.js +0 -1
  123. package/dist/webcomponents/p-10210702.entry.js +0 -1
  124. package/dist/webcomponents/p-3b80dc4a.entry.js +0 -1
  125. package/dist/webcomponents/p-44271b0c.entry.js +0 -1
  126. package/dist/webcomponents/p-52643813.entry.js +0 -1
  127. package/dist/webcomponents/p-656a6bc8.entry.js +0 -1
  128. package/dist/webcomponents/p-76983a7e.js +0 -1
  129. package/dist/webcomponents/p-76dffeec.js +0 -1
  130. package/dist/webcomponents/p-884b8cf4.entry.js +0 -1
  131. package/dist/webcomponents/p-a82e7fcd.entry.js +0 -1
  132. package/dist/webcomponents/p-b0fbddb2.entry.js +0 -1
  133. package/dist/webcomponents/p-d89b1a78.entry.js +0 -1
@@ -1490,7 +1490,7 @@ const MessageEventType = {
1490
1490
  };
1491
1491
 
1492
1492
  const name = "@justifi/webcomponents";
1493
- const version = "4.7.1";
1493
+ const version = "4.7.2";
1494
1494
  const description = "JustiFi Web Components";
1495
1495
  const main = "dist/index.cjs.js";
1496
1496
  const module = "dist/components/index.js";
@@ -1502,6 +1502,7 @@ const repository = {
1502
1502
  type: "git",
1503
1503
  url: "git+https://github.com/justifi-tech/web-component-library.git"
1504
1504
  };
1505
+ const homepage = "https://storybook.justifi.ai/?path=/docs/introduction--docs";
1505
1506
  const publishConfig = {
1506
1507
  registry: "https://registry.npmjs.org"
1507
1508
  };
@@ -1579,6 +1580,7 @@ const packageJson = {
1579
1580
  collection: collection,
1580
1581
  "collection:main": "dist/collection/index.js",
1581
1582
  repository: repository,
1583
+ homepage: homepage,
1582
1584
  publishConfig: publishConfig,
1583
1585
  files: files,
1584
1586
  scripts: scripts,
@@ -12,8 +12,8 @@ const JustifiRepresentativeDetails = /*@__PURE__*/ proxyCustomElement(class Just
12
12
  this.representative = undefined;
13
13
  }
14
14
  render() {
15
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
16
- return (h(Host, null, h(DetailSection, { sectionTitle: "Representative Details" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Name", value: (_a = this.representative) === null || _a === void 0 ? void 0 : _a.name }), h(DetailItem, { title: "ID", value: (_b = this.representative) === null || _b === void 0 ? void 0 : _b.id }), h(DetailItem, { title: "Representative Address", value: (_c = this.representative) === null || _c === void 0 ? void 0 : _c.address.line1 }), h(DetailItem, { title: "Representative Created At", value: formatMediumDate((_d = this.representative) === null || _d === void 0 ? void 0 : _d.created_at) })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Title", value: (_e = this.representative) === null || _e === void 0 ? void 0 : _e.title }), h(DetailItem, { title: "Is Owner?", value: (_f = this.representative) === null || _f === void 0 ? void 0 : _f.is_owner.toString() }), h(DetailItem, { title: "Date Of Birth", value: formatMediumDate(new Date(Number((_g = this.representative) === null || _g === void 0 ? void 0 : _g.dob_year), Number((_h = this.representative) === null || _h === void 0 ? void 0 : _h.dob_month) - 1, Number((_j = this.representative) === null || _j === void 0 ? void 0 : _j.dob_day))) }), h(DetailItem, { title: "Email", value: (_k = this.representative) === null || _k === void 0 ? void 0 : _k.email }), h(DetailItem, { title: "Phone", value: (_l = this.representative) === null || _l === void 0 ? void 0 : _l.phone }), h(DetailItem, { title: "Representative Updated At", value: formatMediumDate((_m = this.representative) === null || _m === void 0 ? void 0 : _m.updated_at) }))))));
15
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
16
+ return (h(Host, null, h(DetailSection, { sectionTitle: "Representative Details" }, h("div", { class: "row gy-3" }, h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Name", value: (_a = this.representative) === null || _a === void 0 ? void 0 : _a.name }), h(DetailItem, { title: "ID", value: (_b = this.representative) === null || _b === void 0 ? void 0 : _b.id }), h(DetailItem, { title: "Address", value: (_d = (_c = this.representative) === null || _c === void 0 ? void 0 : _c.address) === null || _d === void 0 ? void 0 : _d.line1 }), h(DetailItem, { title: "Created At", value: ((_e = this.representative) === null || _e === void 0 ? void 0 : _e.created_at) && formatMediumDate((_f = this.representative) === null || _f === void 0 ? void 0 : _f.created_at) })), h("div", { class: "col-12 col-md-6" }, h(DetailItem, { title: "Title", value: (_g = this.representative) === null || _g === void 0 ? void 0 : _g.title }), h(DetailItem, { title: "Is Owner?", value: (_h = this.representative) === null || _h === void 0 ? void 0 : _h.is_owner.toString() }), h(DetailItem, { title: "Date Of Birth", value: this.representative && formatMediumDate(new Date(Number((_j = this.representative) === null || _j === void 0 ? void 0 : _j.dob_year), Number((_k = this.representative) === null || _k === void 0 ? void 0 : _k.dob_month) - 1, Number((_l = this.representative) === null || _l === void 0 ? void 0 : _l.dob_day))) }), h(DetailItem, { title: "Email", value: (_m = this.representative) === null || _m === void 0 ? void 0 : _m.email }), h(DetailItem, { title: "Phone", value: (_o = this.representative) === null || _o === void 0 ? void 0 : _o.phone }), h(DetailItem, { title: "Updated At", value: this.representative && formatMediumDate((_p = this.representative) === null || _p === void 0 ? void 0 : _p.updated_at) }))))));
17
17
  }
18
18
  static get style() { return representativeDetailsCss; }
19
19
  }, [1, "representative-details", {