@kiva/kv-components 6.55.1 → 6.55.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.
@@ -1 +1 @@
1
- .section[data-v-b813bc10]{border-bottom-width:.0625rem;border-top-width:0px;--tw-border-opacity: 1;border-color:rgba(var(--border-tertiary),var(--tw-border-opacity, 1));padding:.5rem;display:block;overflow:hidden}@media print{.section[data-v-b813bc10]{page-break-inside:avoid}}.section--lender-info[data-v-b813bc10]{padding-top:0}.section--print[data-v-b813bc10]{border-bottom:0}.checkout-receipt__headline[data-v-b813bc10]{text-align:center;margin-bottom:1.5rem}.checkout-receipt__item-list[data-v-b813bc10]{list-style:none;margin:0;width:100%}.loan__name[data-v-b813bc10]{margin-bottom:.5rem}.loan__name--inline[data-v-b813bc10]{display:inline-block}.loan__amount[data-v-b813bc10]{text-align:right}.total[data-v-b813bc10]{display:flex;align-items:baseline}.total__header[data-v-b813bc10],.total__amount[data-v-b813bc10]{text-align:right;flex:1}.total__amount[data-v-b813bc10]{flex-grow:.33}.payments[data-v-b813bc10]{border-bottom:none}.payments__type[data-v-b813bc10]{display:flex;text-align:right}.payments__type-title[data-v-b813bc10],.payments__type-amount[data-v-b813bc10]{flex:1}.print[data-v-b813bc10]{margin:0 auto}
1
+ .section[data-v-915e14e6]{border-bottom-width:.0625rem;border-top-width:0px;--tw-border-opacity: 1;border-color:rgba(var(--border-tertiary),var(--tw-border-opacity, 1));padding:.5rem;display:block;overflow:hidden}@media print{.section[data-v-915e14e6]{page-break-inside:avoid}}.section--lender-info[data-v-915e14e6]{padding-top:0}.section--print[data-v-915e14e6]{border-bottom:0}.checkout-receipt__headline[data-v-915e14e6]{text-align:center;margin-bottom:1.5rem}.checkout-receipt__item-list[data-v-915e14e6]{list-style:none;margin:0;width:100%}.loan__name[data-v-915e14e6]{margin-bottom:.5rem}.loan__name--inline[data-v-915e14e6]{display:inline-block}.loan__amount[data-v-915e14e6]{text-align:right}.total[data-v-915e14e6]{display:flex;align-items:baseline}.total__header[data-v-915e14e6],.total__amount[data-v-915e14e6]{text-align:right;flex:1}.total__amount[data-v-915e14e6]{flex-grow:.33}.payments[data-v-915e14e6]{border-bottom:none}.payments__type[data-v-915e14e6]{display:flex;text-align:right}.payments__type-title[data-v-915e14e6],.payments__type-amount[data-v-915e14e6]{flex:1}.print[data-v-915e14e6]{margin:0 auto}
@@ -26,7 +26,8 @@ const F = (d = Date.now()) => {
26
26
  props: {
27
27
  lender: {
28
28
  type: Object,
29
- required: !0
29
+ required: !1,
30
+ default: () => null
30
31
  },
31
32
  receipt: {
32
33
  type: Object,
@@ -83,7 +84,13 @@ const F = (d = Date.now()) => {
83
84
  }, U = { class: "checkout-receipt" }, M = { class: "checkout-receipt__wrapper tw-bg-primary tw-p-4 tw-rounded-xs tw-border tw-border-tertiary" }, N = {
84
85
  "data-testid": "lender-info",
85
86
  class: "section section--lender-info"
86
- }, P = { class: "data-hj-suppress" }, R = { class: "data-hj-suppress" }, V = {
87
+ }, P = {
88
+ key: 0,
89
+ class: "data-hj-suppress"
90
+ }, R = {
91
+ key: 1,
92
+ class: "data-hj-suppress"
93
+ }, V = {
87
94
  key: 0,
88
95
  "data-testid": "print-kcard-msg",
89
96
  class: "section tw-text-center print:!tw-hidden"
@@ -181,8 +188,8 @@ function Ct(d, t, o, k, wt, c) {
181
188
  e("div", M, [
182
189
  e("section", N, [
183
190
  e("div", null, i(c.formattedTransactionTime), 1),
184
- e("div", P, i(o.lender.firstName) + " " + i(o.lender.lastName), 1),
185
- e("div", R, i(o.lender.email), 1)
191
+ o.lender ? (n(), s("div", P, i(o.lender.firstName) + " " + i(o.lender.lastName), 1)) : r("", !0),
192
+ o.lender ? (n(), s("div", R, i(o.lender.email), 1)) : r("", !0)
186
193
  ]),
187
194
  e("section", null, [
188
195
  c.printableKivaCards.length > 0 ? (n(), s("div", V, [
@@ -379,7 +386,7 @@ function Ct(d, t, o, k, wt, c) {
379
386
  ])
380
387
  ]);
381
388
  }
382
- const Dt = /* @__PURE__ */ D(A, [["render", Ct], ["__scopeId", "data-v-b813bc10"]]);
389
+ const Dt = /* @__PURE__ */ D(A, [["render", Ct], ["__scopeId", "data-v-915e14e6"]]);
383
390
  export {
384
391
  Dt as default
385
392
  };
@@ -1,4 +1,4 @@
1
- import { computed as h, markRaw as p, resolveComponent as u, openBlock as r, createBlock as a, withCtx as k, createElementVNode as g, normalizeClass as f, createElementBlock as n, resolveDynamicComponent as D, mergeProps as _ } from "vue";
1
+ import { computed as h, markRaw as p, resolveComponent as u, openBlock as r, createBlock as n, withCtx as k, createElementVNode as g, normalizeClass as f, createElementBlock as a, resolveDynamicComponent as D, mergeProps as _ } from "vue";
2
2
  import { defaultTheme as i, stoneDarkTheme as v, stoneLightTheme as y, marigoldLightTheme as C, greenLightTheme as L, greenDarkTheme as P } from "@kiva/kv-tokens";
3
3
  import T from "./KvThemeProvider.js";
4
4
  import "./KvDatePicker.css";
@@ -89,24 +89,23 @@ const w = {
89
89
  key: 1,
90
90
  class: "kv-datepicker__loading"
91
91
  };
92
- function x(e, o, l, m, t, s) {
92
+ function x(e, o, m, l, t, s) {
93
93
  const d = u("kv-theme-provider");
94
- return r(), a(d, { theme: m.themeStyle }, {
94
+ return r(), n(d, { theme: l.themeStyle }, {
95
95
  default: k(() => [
96
96
  g("div", {
97
- class: f(["kv-datepicker", l.theme])
97
+ class: f(["kv-datepicker", m.theme])
98
98
  }, [
99
- t.datepickerComponent ? (r(), n("div", K, [
100
- (r(), a(D(t.datepickerComponent), _({
99
+ t.datepickerComponent ? (r(), a("div", K, [
100
+ (r(), n(D(t.datepickerComponent), _({
101
101
  key: t.componentKey,
102
102
  modelValue: t.selectedDate,
103
- "onUpdate:modelValue": o[0] || (o[0] = (c) => t.selectedDate = c),
104
- placeholder: e.placeholder
103
+ "onUpdate:modelValue": o[0] || (o[0] = (c) => t.selectedDate = c)
105
104
  }, e.$attrs, {
106
105
  "auto-apply": !0,
107
106
  "onUpdate:modelValue": s.handleDateChange
108
- }), null, 16, ["modelValue", "placeholder", "onUpdate:modelValue"]))
109
- ])) : (r(), n("div", S, " Loading... "))
107
+ }), null, 16, ["modelValue", "onUpdate:modelValue"]))
108
+ ])) : (r(), a("div", S, " Loading... "))
110
109
  ], 2)
111
110
  ]),
112
111
  _: 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "6.55.1",
3
+ "version": "6.55.2",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -114,5 +114,5 @@
114
114
  "embla-carousel-fade",
115
115
  "popper.js"
116
116
  ],
117
- "gitHead": "26b3da94fada3375cd0859e3c2fb0b2d622e73ca"
117
+ "gitHead": "ad2b5ea30a308784ca8bf3dfc1dd78758ca18221"
118
118
  }