vue-intergrall-plugins 1.1.36 → 1.1.37

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.
@@ -9536,10 +9536,17 @@ var script$a = {
9536
9536
  methods: {
9537
9537
  getInitials(name) {
9538
9538
  if (!name) return '';
9539
- const initials = name.first_name.charAt(0);
9539
+ let initials = '';
9540
+ if (name.first_name) {
9541
+ initials = name.first_name.charAt(0);
9542
+ }
9540
9543
  if (name.last_name) {
9541
9544
  return initials + name.last_name.charAt(0);
9542
9545
  }
9546
+ if (!initials && name.formatted_name) {
9547
+ const parts = name.formatted_name.split(' ');
9548
+ initials = parts.map(part => part.charAt(0)).join('');
9549
+ }
9543
9550
  return initials;
9544
9551
  },
9545
9552
  formatBirthday(birthday) {
@@ -9674,14 +9681,14 @@ var __vue_staticRenderFns__$a = [];
9674
9681
  /* style */
9675
9682
  const __vue_inject_styles__$a = function (inject) {
9676
9683
  if (!inject) return;
9677
- inject("data-v-3bd88e04_0", {
9678
- source: ".contact-card[data-v-3bd88e04]{border:1px solid rgba(0,0,0,.1);background-color:rgba(255,255,255,.9);border-radius:5px;padding:5px;margin-bottom:10px}.contact-header[data-v-3bd88e04]{margin-bottom:16px}.header-content[data-v-3bd88e04]{display:flex;align-items:center;gap:5px}.header-content h3[data-v-3bd88e04]{margin:0}.contact-list[data-v-3bd88e04]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:5px;margin:10px 0}.contact-list li>button[data-v-3bd88e04]{background-color:transparent;border:none;cursor:pointer;font-size:14px;color:var(--konecta-success)}.contact-list li>button[data-v-3bd88e04]:hover{color:var(--konecta-success-hover)}.badge[data-v-3bd88e04]{display:flex;justify-content:center;align-items:center;width:30px;height:30px;border-radius:50%;background-color:var(--message-color);color:var(--text-color);text-align:center;line-height:24px;font-size:14px;font-weight:700}.contact-section[data-v-3bd88e04]{margin-bottom:16px}.contact-section h4[data-v-3bd88e04]{margin:0;font-size:14px;font-weight:700;display:flex;align-items:center;gap:5px}",
9684
+ inject("data-v-3428baa2_0", {
9685
+ source: ".contact-card[data-v-3428baa2]{border:1px solid rgba(0,0,0,.1);background-color:rgba(255,255,255,.9);border-radius:5px;padding:5px;margin-bottom:10px}.contact-header[data-v-3428baa2]{margin-bottom:16px}.header-content[data-v-3428baa2]{display:flex;align-items:center;gap:5px}.header-content h3[data-v-3428baa2]{margin:0}.contact-list[data-v-3428baa2]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:5px;margin:10px 0}.contact-list li>button[data-v-3428baa2]{background-color:transparent;border:none;cursor:pointer;font-size:14px;color:var(--konecta-success)}.contact-list li>button[data-v-3428baa2]:hover{color:var(--konecta-success-hover)}.badge[data-v-3428baa2]{display:flex;justify-content:center;align-items:center;width:30px;height:30px;border-radius:50%;background-color:var(--message-color);color:var(--text-color);text-align:center;line-height:24px;font-size:14px;font-weight:700}.contact-section[data-v-3428baa2]{margin-bottom:16px}.contact-section h4[data-v-3428baa2]{margin:0;font-size:14px;font-weight:700;display:flex;align-items:center;gap:5px}",
9679
9686
  map: undefined,
9680
9687
  media: undefined
9681
9688
  });
9682
9689
  };
9683
9690
  /* scoped */
9684
- const __vue_scope_id__$a = "data-v-3bd88e04";
9691
+ const __vue_scope_id__$a = "data-v-3428baa2";
9685
9692
  /* module identifier */
9686
9693
  const __vue_module_identifier__$a = undefined;
9687
9694
  /* functional template */