@propeller-commerce/propeller-v2-vue-ui 0.3.25 → 0.3.26

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/index.js CHANGED
@@ -3973,11 +3973,11 @@ const _hoisted_27$h = {
3973
3973
  key: 0,
3974
3974
  class: "propeller-add-to-cart__modal-sku text-xs text-foreground-subtle mt-0.5"
3975
3975
  };
3976
- const _hoisted_28$g = {
3976
+ const _hoisted_28$h = {
3977
3977
  key: 1,
3978
3978
  class: "propeller-add-to-cart__modal-surcharges mt-1 text-xs text-muted-foreground"
3979
3979
  };
3980
- const _hoisted_29$g = { class: "font-medium" };
3980
+ const _hoisted_29$h = { class: "font-medium" };
3981
3981
  const _hoisted_30$g = { class: "propeller-add-to-cart__modal-surcharges-list mt-0.5" };
3982
3982
  const _hoisted_31$g = { class: "flex-shrink-0 text-right" };
3983
3983
  const _hoisted_32$f = { class: "propeller-add-to-cart__modal-quantity text-xs text-muted-foreground" };
@@ -4367,8 +4367,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
4367
4367
  href: getProductUrl()
4368
4368
  }, toDisplayString(getModalName()), 9, _hoisted_26$h),
4369
4369
  !!getModalSku() ? (openBlock(), createElementBlock("p", _hoisted_27$h, " SKU: " + toDisplayString(getModalSku()), 1)) : createCommentVNode("", true),
4370
- getModalSurcharges().length > 0 ? (openBlock(), createElementBlock("div", _hoisted_28$g, [
4371
- createElementVNode("span", _hoisted_29$g, toDisplayString(getLabel$1("surcharges", "Additional surcharges:")), 1),
4370
+ getModalSurcharges().length > 0 ? (openBlock(), createElementBlock("div", _hoisted_28$h, [
4371
+ createElementVNode("span", _hoisted_29$h, toDisplayString(getLabel$1("surcharges", "Additional surcharges:")), 1),
4372
4372
  createElementVNode("ul", _hoisted_30$g, [
4373
4373
  (openBlock(true), createElementBlock(Fragment, null, renderList(getModalSurcharges(), (line, idx) => {
4374
4374
  return openBlock(), createElementBlock("li", {
@@ -4812,8 +4812,8 @@ const _hoisted_24$g = { class: "block text-sm font-medium mb-1" };
4812
4812
  const _hoisted_25$g = ["value"];
4813
4813
  const _hoisted_26$g = { class: "grid grid-cols-3 gap-4" };
4814
4814
  const _hoisted_27$g = { class: "block text-sm font-medium mb-1" };
4815
- const _hoisted_28$f = ["value"];
4816
- const _hoisted_29$f = { class: "block text-sm font-medium mb-1" };
4815
+ const _hoisted_28$g = ["value"];
4816
+ const _hoisted_29$g = { class: "block text-sm font-medium mb-1" };
4817
4817
  const _hoisted_30$f = ["value"];
4818
4818
  const _hoisted_31$f = { class: "block text-sm font-medium mb-1" };
4819
4819
  const _hoisted_32$e = ["value"];
@@ -5249,10 +5249,10 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
5249
5249
  editFirstName.value = e.target.value;
5250
5250
  }),
5251
5251
  required: true
5252
- }, null, 40, _hoisted_28$f)
5252
+ }, null, 40, _hoisted_28$g)
5253
5253
  ]),
5254
5254
  createElementVNode("div", null, [
5255
- createElementVNode("label", _hoisted_29$f, toDisplayString(getLabel$1("middleName", "Middle Name")), 1),
5255
+ createElementVNode("label", _hoisted_29$g, toDisplayString(getLabel$1("middleName", "Middle Name")), 1),
5256
5256
  createElementVNode("input", {
5257
5257
  type: "text",
5258
5258
  class: "propeller-address-card__input w-full h-10 px-3 rounded-[var(--radius-control)] border border-input",
@@ -6143,8 +6143,8 @@ const _hoisted_24$f = { class: "font-semibold text-foreground" };
6143
6143
  const _hoisted_25$f = { class: "propeller-cart-item__notes mt-3" };
6144
6144
  const _hoisted_26$f = { class: "propeller-cart-item__notes-label text-xs font-medium text-muted-foreground block mb-1" };
6145
6145
  const _hoisted_27$f = ["value", "placeholder"];
6146
- const _hoisted_28$e = { class: "propeller-cart-item__crossupsells mt-3 pt-3 border-t border-border" };
6147
- const _hoisted_29$e = { class: "propeller-cart-item__crossupsells-label text-xs font-semibold text-muted-foreground uppercase tracking-wider mb-2" };
6146
+ const _hoisted_28$f = { class: "propeller-cart-item__crossupsells mt-3 pt-3 border-t border-border" };
6147
+ const _hoisted_29$f = { class: "propeller-cart-item__crossupsells-label text-xs font-semibold text-muted-foreground uppercase tracking-wider mb-2" };
6148
6148
  const _hoisted_30$e = { class: "flex flex-col gap-2" };
6149
6149
  const _hoisted_31$e = ["href", "onClick"];
6150
6150
  const _hoisted_32$d = ["src", "alt"];
@@ -6669,8 +6669,8 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
6669
6669
  cartItem: __props.cartItem,
6670
6670
  crossupsells: getVisibleCrossupsells()
6671
6671
  }, () => [
6672
- createElementVNode("div", _hoisted_28$e, [
6673
- createElementVNode("p", _hoisted_29$e, toDisplayString(getLabel$1("crossupsellTitle", "You might also like")), 1),
6672
+ createElementVNode("div", _hoisted_28$f, [
6673
+ createElementVNode("p", _hoisted_29$f, toDisplayString(getLabel$1("crossupsellTitle", "You might also like")), 1),
6674
6674
  createElementVNode("div", _hoisted_30$e, [
6675
6675
  (openBlock(true), createElementBlock(Fragment, null, renderList(getVisibleCrossupsells(), (item, idx) => {
6676
6676
  return openBlock(), createElementBlock("div", {
@@ -6902,11 +6902,11 @@ const _hoisted_26$e = {
6902
6902
  class: "propeller-cart-icon__item-name text-sm font-medium line-clamp-2"
6903
6903
  };
6904
6904
  const _hoisted_27$e = ["href"];
6905
- const _hoisted_28$d = {
6905
+ const _hoisted_28$e = {
6906
6906
  key: 0,
6907
6907
  class: "propeller-cart-icon__sidebar-footer px-5 py-4 border-t border-border space-y-3 bg-surface-hover"
6908
6908
  };
6909
- const _hoisted_29$d = { class: "propeller-cart-icon__total-row flex justify-between items-center" };
6909
+ const _hoisted_29$e = { class: "propeller-cart-icon__total-row flex justify-between items-center" };
6910
6910
  const _hoisted_30$d = { class: "propeller-cart-icon__total-label text-sm font-medium text-muted-foreground" };
6911
6911
  const _hoisted_31$d = { class: "propeller-cart-icon__total-value text-base font-bold text-foreground" };
6912
6912
  const _hoisted_32$c = ["disabled"];
@@ -7214,8 +7214,8 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
7214
7214
  className: "mt-4"
7215
7215
  }, null, 8, ["cart"]))
7216
7216
  ]),
7217
- getItems().length > 0 ? (openBlock(), createElementBlock("div", _hoisted_28$d, [
7218
- createElementVNode("div", _hoisted_29$d, [
7217
+ getItems().length > 0 ? (openBlock(), createElementBlock("div", _hoisted_28$e, [
7218
+ createElementVNode("div", _hoisted_29$e, [
7219
7219
  createElementVNode("span", _hoisted_30$d, toDisplayString(getLabel$1("total", "Total")), 1),
7220
7220
  createElementVNode("span", _hoisted_31$d, toDisplayString(getTotalPrice()), 1)
7221
7221
  ]),
@@ -7334,8 +7334,8 @@ const _hoisted_26$d = {
7334
7334
  class: "space-y-2"
7335
7335
  };
7336
7336
  const _hoisted_27$d = { class: "text-sm font-medium" };
7337
- const _hoisted_28$c = ["value", "placeholder"];
7338
- const _hoisted_29$c = {
7337
+ const _hoisted_28$d = ["value", "placeholder"];
7338
+ const _hoisted_29$d = {
7339
7339
  key: 2,
7340
7340
  class: "flex items-center space-x-2 pt-2"
7341
7341
  };
@@ -7523,9 +7523,9 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
7523
7523
  )),
7524
7524
  placeholder: getLabel$1("notesPlaceholder", "Special instructions or comments"),
7525
7525
  maxLength: 255
7526
- }, null, 40, _hoisted_28$c)
7526
+ }, null, 40, _hoisted_28$d)
7527
7527
  ])) : createCommentVNode("", true),
7528
- showTermsAndConditions.value ? (openBlock(), createElementBlock("div", _hoisted_29$c, [
7528
+ showTermsAndConditions.value ? (openBlock(), createElementBlock("div", _hoisted_29$d, [
7529
7529
  createElementVNode("input", {
7530
7530
  type: "checkbox",
7531
7531
  id: "cart-overview-terms",
@@ -8172,8 +8172,8 @@ const _hoisted_27$c = {
8172
8172
  key: 6,
8173
8173
  class: "mt-auto hidden md:block"
8174
8174
  };
8175
- const _hoisted_28$b = { class: "propeller-cluster-card__price pt-1" };
8176
- const _hoisted_29$b = {
8175
+ const _hoisted_28$c = { class: "propeller-cluster-card__price pt-1" };
8176
+ const _hoisted_29$c = {
8177
8177
  key: 1,
8178
8178
  class: "font-bold text-foreground text-base sm:text-lg"
8179
8179
  };
@@ -8631,14 +8631,14 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
8631
8631
  currency: __props.currency,
8632
8632
  labels: __props.labels
8633
8633
  }, () => [
8634
- createElementVNode("div", _hoisted_28$b, [
8634
+ createElementVNode("div", _hoisted_28$c, [
8635
8635
  props.priceComponent ? (openBlock(), createBlock(resolveDynamicComponent(PriceImpl.value), {
8636
8636
  key: 0,
8637
8637
  price: __props.cluster.defaultProduct?.price,
8638
8638
  "include-tax": resolvedIncludeTax.value,
8639
8639
  currency: __props.currency,
8640
8640
  labels: __props.labels
8641
- }, null, 8, ["price", "include-tax", "currency", "labels"])) : (openBlock(), createElementBlock("span", _hoisted_29$b, toDisplayString(getClusterPrice()), 1))
8641
+ }, null, 8, ["price", "include-tax", "currency", "labels"])) : (openBlock(), createElementBlock("span", _hoisted_29$c, toDisplayString(getClusterPrice()), 1))
8642
8642
  ])
8643
8643
  ])
8644
8644
  ])) : createCommentVNode("", true)
@@ -10429,8 +10429,8 @@ const _hoisted_24$b = { class: "propeller-favorite-list-details__modal-header bo
10429
10429
  const _hoisted_25$b = { class: "propeller-favorite-list-details__modal-title text-lg font-bold" };
10430
10430
  const _hoisted_26$b = { class: "propeller-favorite-list-details__modal-body px-6 py-4 space-y-4" };
10431
10431
  const _hoisted_27$b = { class: "propeller-favorite-list-details__search-input-wrapper relative" };
10432
- const _hoisted_28$a = ["placeholder", "value"];
10433
- const _hoisted_29$a = ["aria-label"];
10432
+ const _hoisted_28$b = ["placeholder", "value"];
10433
+ const _hoisted_29$b = ["aria-label"];
10434
10434
  const _hoisted_30$a = { class: "propeller-favorite-list-details__search-results max-h-80 overflow-y-auto" };
10435
10435
  const _hoisted_31$a = {
10436
10436
  key: 0,
@@ -11048,7 +11048,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
11048
11048
  value: unref(searchTerm),
11049
11049
  onInput: _cache[5] || (_cache[5] = ($event) => onSearchInput($event)),
11050
11050
  autofocus: ""
11051
- }, null, 40, _hoisted_28$a),
11051
+ }, null, 40, _hoisted_28$b),
11052
11052
  unref(searchTerm) ? (openBlock(), createElementBlock("button", {
11053
11053
  key: 0,
11054
11054
  type: "button",
@@ -11080,7 +11080,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
11080
11080
  y2: "18"
11081
11081
  })
11082
11082
  ], -1)
11083
- ])], 8, _hoisted_29$a)) : createCommentVNode("", true)
11083
+ ])], 8, _hoisted_29$b)) : createCommentVNode("", true)
11084
11084
  ]),
11085
11085
  createElementVNode("div", _hoisted_30$a, [
11086
11086
  unref(searchLoading) ? (openBlock(), createElementBlock("div", _hoisted_31$a, toDisplayString(getLabel$1("searching", "Searching...")), 1)) : createCommentVNode("", true),
@@ -11197,8 +11197,8 @@ const _hoisted_26$a = {
11197
11197
  class: "propeller-favorite-lists__empty border border-border rounded-[var(--radius-container)] p-12 text-center space-y-4"
11198
11198
  };
11199
11199
  const _hoisted_27$a = { class: "propeller-favorite-lists__empty-title text-lg font-medium" };
11200
- const _hoisted_28$9 = { class: "propeller-favorite-lists__empty-message text-muted-foreground" };
11201
- const _hoisted_29$9 = {
11200
+ const _hoisted_28$a = { class: "propeller-favorite-lists__empty-message text-muted-foreground" };
11201
+ const _hoisted_29$a = {
11202
11202
  key: 3,
11203
11203
  class: "propeller-favorite-lists__create-modal fixed inset-0 bg-black/50 backdrop-blur-sm flex items-center justify-center z-50 p-4"
11204
11204
  };
@@ -11592,7 +11592,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
11592
11592
  ], -1)),
11593
11593
  createElementVNode("div", null, [
11594
11594
  createElementVNode("p", _hoisted_27$a, toDisplayString(getLabel$1("noLists", "No favorite lists")), 1),
11595
- createElementVNode("p", _hoisted_28$9, toDisplayString(getLabel$1(
11595
+ createElementVNode("p", _hoisted_28$a, toDisplayString(getLabel$1(
11596
11596
  "noListsDescription",
11597
11597
  "Start by creating a new list to save your items."
11598
11598
  )), 1)
@@ -11606,7 +11606,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
11606
11606
  }, toDisplayString(getLabel$1("createFirstList", "Create your first list")), 1)) : createCommentVNode("", true)
11607
11607
  ])) : createCommentVNode("", true)
11608
11608
  ], 64)) : createCommentVNode("", true),
11609
- showCreateModal.value ? (openBlock(), createElementBlock("div", _hoisted_29$9, [
11609
+ showCreateModal.value ? (openBlock(), createElementBlock("div", _hoisted_29$a, [
11610
11610
  createElementVNode("div", _hoisted_30$9, [
11611
11611
  createElementVNode("div", _hoisted_31$9, [
11612
11612
  createElementVNode("h3", _hoisted_32$8, toDisplayString(getLabel$1("createTitle", "Create New List")), 1),
@@ -12758,8 +12758,8 @@ const _hoisted_26$9 = {
12758
12758
  class: "propeller-items-overview__item-options mt-1.5 space-y-1 border-l-2 border-border-subtle pl-2"
12759
12759
  };
12760
12760
  const _hoisted_27$9 = { class: "line-clamp-1" };
12761
- const _hoisted_28$8 = { class: "text-foreground-subtle whitespace-nowrap ml-2" };
12762
- const _hoisted_29$8 = { class: "propeller-items-overview__item-qty flex items-center text-xs text-foreground-subtle mt-1" };
12761
+ const _hoisted_28$9 = { class: "text-foreground-subtle whitespace-nowrap ml-2" };
12762
+ const _hoisted_29$9 = { class: "propeller-items-overview__item-qty flex items-center text-xs text-foreground-subtle mt-1" };
12763
12763
  const _hoisted_30$8 = ["data-in-stock"];
12764
12764
  const _hoisted_31$8 = {
12765
12765
  key: 1,
@@ -12991,12 +12991,12 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
12991
12991
  class: "propeller-items-overview__item-option flex justify-between items-center text-xs text-muted-foreground"
12992
12992
  }, [
12993
12993
  createElementVNode("span", _hoisted_27$9, toDisplayString(child.product?.names?.[0]?.value || "Option"), 1),
12994
- createElementVNode("span", _hoisted_28$8, toDisplayString(formatItemPrice(child.totalSum || 0)), 1)
12994
+ createElementVNode("span", _hoisted_28$9, toDisplayString(formatItemPrice(child.totalSum || 0)), 1)
12995
12995
  ]);
12996
12996
  }), 128))
12997
12997
  ])) : createCommentVNode("", true)
12998
12998
  ]),
12999
- createElementVNode("div", _hoisted_29$8, [
12999
+ createElementVNode("div", _hoisted_29$9, [
13000
13000
  createElementVNode("span", null, toDisplayString(getLabel$1("quantity", "Qty:")) + toDisplayString(item.quantity), 1),
13001
13001
  showAvailability.value && getItemAvailability(item) ? (openBlock(), createElementBlock("span", {
13002
13002
  key: 0,
@@ -13077,8 +13077,8 @@ const _hoisted_26$8 = {
13077
13077
  "data-level": "3"
13078
13078
  };
13079
13079
  const _hoisted_27$8 = ["href", "onClick"];
13080
- const _hoisted_28$7 = { class: "propeller-menu__label" };
13081
- const _hoisted_29$7 = {
13080
+ const _hoisted_28$8 = { class: "propeller-menu__label" };
13081
+ const _hoisted_29$8 = {
13082
13082
  class: "propeller-menu__list divide-y divide-border",
13083
13083
  "data-level": "1"
13084
13084
  };
@@ -13351,7 +13351,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
13351
13351
  href: getCategoryUrl(l3),
13352
13352
  onClick: async (e) => handleItemClick(l3, e)
13353
13353
  }, [
13354
- createElementVNode("span", _hoisted_28$7, toDisplayString(getCategoryName(l3)), 1)
13354
+ createElementVNode("span", _hoisted_28$8, toDisplayString(getCategoryName(l3)), 1)
13355
13355
  ], 8, _hoisted_27$8)
13356
13356
  ]);
13357
13357
  }), 128))
@@ -13367,7 +13367,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
13367
13367
  key: 5,
13368
13368
  class: normalizeClass(`propeller-menu__nav propeller-menu-mobile md:hidden ${__props.menuClass || ""}`)
13369
13369
  }, [
13370
- createElementVNode("ul", _hoisted_29$7, [
13370
+ createElementVNode("ul", _hoisted_29$8, [
13371
13371
  (openBlock(true), createElementBlock(Fragment, null, renderList(menuCategories.value, (l1, idx) => {
13372
13372
  return openBlock(), createElementBlock("li", {
13373
13373
  key: `l1-mobile-${l1.categoryId}-${idx}`,
@@ -13750,8 +13750,8 @@ const _hoisted_24$7 = {
13750
13750
  const _hoisted_25$7 = ["value"];
13751
13751
  const _hoisted_26$7 = { value: "" };
13752
13752
  const _hoisted_27$7 = ["value"];
13753
- const _hoisted_28$6 = { class: "propeller-order-list__filter-actions flex justify-end space-x-2" };
13754
- const _hoisted_29$6 = {
13753
+ const _hoisted_28$7 = { class: "propeller-order-list__filter-actions flex justify-end space-x-2" };
13754
+ const _hoisted_29$7 = {
13755
13755
  key: 0,
13756
13756
  class: "propeller-order-list__results bg-card rounded-[var(--radius-container)] shadow overflow-hidden"
13757
13757
  };
@@ -14144,7 +14144,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
14144
14144
  ]);
14145
14145
  }), 128))
14146
14146
  ]),
14147
- createElementVNode("div", _hoisted_28$6, [
14147
+ createElementVNode("div", _hoisted_28$7, [
14148
14148
  createElementVNode("button", {
14149
14149
  class: "propeller-order-list__clear-btn inline-flex items-center px-4 py-2 border border-input text-sm font-medium rounded-[var(--radius-control)] shadow-sm text-muted-foreground bg-card hover:bg-surface-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary",
14150
14150
  onClick: _cache[11] || (_cache[11] = async (event) => {
@@ -14158,7 +14158,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
14158
14158
  ])
14159
14159
  ])) : createCommentVNode("", true),
14160
14160
  !unref(loading) || unref(orders).length > 0 ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
14161
- unref(orders).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_29$6, [
14161
+ unref(orders).length > 0 ? (openBlock(), createElementBlock("div", _hoisted_29$7, [
14162
14162
  createElementVNode("div", _hoisted_30$6, [
14163
14163
  createElementVNode("table", _hoisted_31$6, [
14164
14164
  createElementVNode("thead", _hoisted_32$6, [
@@ -14322,8 +14322,8 @@ const _hoisted_27$6 = {
14322
14322
  key: 0,
14323
14323
  class: "propeller-order-shipments__status inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-primary/10 text-primary"
14324
14324
  };
14325
- const _hoisted_28$5 = { key: 1 };
14326
- const _hoisted_29$5 = { class: "font-medium text-muted-foreground" };
14325
+ const _hoisted_28$6 = { key: 1 };
14326
+ const _hoisted_29$6 = { class: "font-medium text-muted-foreground" };
14327
14327
  const _hoisted_30$5 = { class: "mt-0.5" };
14328
14328
  const _hoisted_31$5 = { class: "text-sm font-semibold mb-2" };
14329
14329
  const _hoisted_32$5 = {
@@ -14473,11 +14473,11 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
14473
14473
  createElementVNode("span", _hoisted_25$6, toDisplayString(getLabel$1("labelStatus", "Status")), 1),
14474
14474
  createElementVNode("p", _hoisted_26$6, [
14475
14475
  !!activeShipment.value?.status ? (openBlock(), createElementBlock("span", _hoisted_27$6, toDisplayString(activeShipment.value?.status), 1)) : createCommentVNode("", true),
14476
- !activeShipment.value?.status ? (openBlock(), createElementBlock("span", _hoisted_28$5, "-")) : createCommentVNode("", true)
14476
+ !activeShipment.value?.status ? (openBlock(), createElementBlock("span", _hoisted_28$6, "-")) : createCommentVNode("", true)
14477
14477
  ])
14478
14478
  ]),
14479
14479
  createElementVNode("div", null, [
14480
- createElementVNode("span", _hoisted_29$5, toDisplayString(getLabel$1("labelExpectedDelivery", "Expected delivery")), 1),
14480
+ createElementVNode("span", _hoisted_29$6, toDisplayString(getLabel$1("labelExpectedDelivery", "Expected delivery")), 1),
14481
14481
  createElementVNode("p", _hoisted_30$5, [
14482
14482
  !!activeShipment.value?.expectedDeliveryAt ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
14483
14483
  createTextVNode(toDisplayString(formatDate(activeShipment.value?.expectedDeliveryAt)), 1)
@@ -14719,14 +14719,14 @@ const _hoisted_27$5 = {
14719
14719
  stroke: "currentColor",
14720
14720
  strokeWidth: 2
14721
14721
  };
14722
- const _hoisted_28$4 = {
14722
+ const _hoisted_28$5 = {
14723
14723
  key: 1,
14724
14724
  fill: "none",
14725
14725
  viewBox: "0 0 24 24",
14726
14726
  stroke: "currentColor",
14727
14727
  strokeWidth: 2
14728
14728
  };
14729
- const _hoisted_29$4 = {
14729
+ const _hoisted_29$5 = {
14730
14730
  fill: "none",
14731
14731
  viewBox: "0 0 24 24",
14732
14732
  stroke: "currentColor",
@@ -15069,7 +15069,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
15069
15069
  d: "M5 13l4 4L19 7"
15070
15070
  }, null, -1)
15071
15071
  ])])) : createCommentVNode("", true),
15072
- toastType.value === "error" ? (openBlock(), createElementBlock("svg", _hoisted_28$4, [..._cache[8] || (_cache[8] = [
15072
+ toastType.value === "error" ? (openBlock(), createElementBlock("svg", _hoisted_28$5, [..._cache[8] || (_cache[8] = [
15073
15073
  createElementVNode("path", {
15074
15074
  strokeLinecap: "round",
15075
15075
  strokeLinejoin: "round",
@@ -15085,7 +15085,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
15085
15085
  onClick: _cache[0] || (_cache[0] = async (event) => dismissToast()),
15086
15086
  class: normalizeClass(`propeller-product-bundles__toast-close flex-shrink-0 rounded focus:outline-none ${toastType.value === "success" ? "text-success-foreground hover:text-success-foreground/80" : "text-destructive-foreground hover:text-destructive-foreground/80"}`)
15087
15087
  }, [
15088
- (openBlock(), createElementBlock("svg", _hoisted_29$4, [..._cache[9] || (_cache[9] = [
15088
+ (openBlock(), createElementBlock("svg", _hoisted_29$5, [..._cache[9] || (_cache[9] = [
15089
15089
  createElementVNode("path", {
15090
15090
  strokeLinecap: "round",
15091
15091
  strokeLinejoin: "round",
@@ -15193,33 +15193,41 @@ const _hoisted_6$b = ["fill"];
15193
15193
  const _hoisted_7$b = { class: "propeller-product-card__body flex flex-1 flex-row items-center gap-4 px-4 py-2 min-w-0" };
15194
15194
  const _hoisted_8$a = { class: "flex flex-col gap-0.5 flex-1 min-w-0" };
15195
15195
  const _hoisted_9$9 = { class: "propeller-product-card__sku font-mono text-xs text-foreground-subtle" };
15196
- const _hoisted_10$8 = { class: "propeller-product-card__labels flex flex-col gap-0.5" };
15197
- const _hoisted_11$7 = { class: "propeller-product-card__manufacturer text-xs text-muted-foreground" };
15198
- const _hoisted_12$7 = { class: "propeller-product-card__description line-clamp-2 text-xs text-muted-foreground" };
15199
- const _hoisted_13$7 = { class: "propeller-product-card__footer w-full md:w-auto flex flex-col gap-2 md:flex-row md:items-center md:gap-3 px-4 py-2 md:py-0 border-t md:border-t-0 border-border-subtle" };
15200
- const _hoisted_14$7 = { class: "propeller-product-card__footer-meta flex items-center justify-between gap-3 md:contents" };
15201
- const _hoisted_15$6 = { class: "propeller-product-card__price" };
15202
- const _hoisted_16$6 = { class: "propeller-product-card__cta w-full md:w-auto md:flex-shrink-0 md:ml-auto" };
15203
- const _hoisted_17$6 = { class: "propeller-product-card__body flex flex-1 flex-col gap-1.5 p-3 sm:gap-2 sm:p-4" };
15204
- const _hoisted_18$5 = { class: "propeller-product-card__sku font-mono text-xs text-foreground-subtle" };
15205
- const _hoisted_19$5 = { class: "propeller-product-card__labels flex flex-col gap-0.5" };
15196
+ const _hoisted_10$8 = {
15197
+ key: 0,
15198
+ class: "propeller-product-card__below-name"
15199
+ };
15200
+ const _hoisted_11$7 = { class: "propeller-product-card__labels flex flex-col gap-0.5" };
15201
+ const _hoisted_12$7 = { class: "propeller-product-card__manufacturer text-xs text-muted-foreground" };
15202
+ const _hoisted_13$7 = { class: "propeller-product-card__description line-clamp-2 text-xs text-muted-foreground" };
15203
+ const _hoisted_14$7 = { class: "propeller-product-card__footer w-full md:w-auto flex flex-col gap-2 md:flex-row md:items-center md:gap-3 px-4 py-2 md:py-0 border-t md:border-t-0 border-border-subtle" };
15204
+ const _hoisted_15$6 = { class: "propeller-product-card__footer-meta flex items-center justify-between gap-3 md:contents" };
15205
+ const _hoisted_16$6 = { class: "propeller-product-card__price" };
15206
+ const _hoisted_17$6 = { class: "propeller-product-card__cta w-full md:w-auto md:flex-shrink-0 md:ml-auto" };
15207
+ const _hoisted_18$5 = { class: "propeller-product-card__body flex flex-1 flex-col gap-1.5 p-3 sm:gap-2 sm:p-4" };
15208
+ const _hoisted_19$5 = { class: "propeller-product-card__sku font-mono text-xs text-foreground-subtle" };
15206
15209
  const _hoisted_20$4 = {
15210
+ key: 0,
15211
+ class: "propeller-product-card__below-name"
15212
+ };
15213
+ const _hoisted_21$4 = { class: "propeller-product-card__labels flex flex-col gap-0.5" };
15214
+ const _hoisted_22$4 = {
15207
15215
  key: 3,
15208
15216
  class: "hidden md:block"
15209
15217
  };
15210
- const _hoisted_21$4 = { class: "propeller-product-card__manufacturer text-xs text-muted-foreground" };
15211
- const _hoisted_22$4 = { class: "propeller-product-card__description line-clamp-2 text-xs text-muted-foreground" };
15212
- const _hoisted_23$4 = {
15218
+ const _hoisted_23$4 = { class: "propeller-product-card__manufacturer text-xs text-muted-foreground" };
15219
+ const _hoisted_24$4 = { class: "propeller-product-card__description line-clamp-2 text-xs text-muted-foreground" };
15220
+ const _hoisted_25$4 = {
15213
15221
  key: 6,
15214
15222
  class: "mt-auto hidden md:block"
15215
15223
  };
15216
- const _hoisted_24$4 = { class: "propeller-product-card__price pt-1" };
15217
- const _hoisted_25$4 = {
15224
+ const _hoisted_26$4 = { class: "propeller-product-card__price pt-1" };
15225
+ const _hoisted_27$4 = {
15218
15226
  key: 0,
15219
15227
  class: "propeller-product-card__footer-meta flex flex-wrap items-center justify-between gap-x-2 gap-y-1 px-3 pt-1 sm:px-4 md:hidden"
15220
15228
  };
15221
- const _hoisted_26$4 = { class: "propeller-product-card__price min-w-0 text-right" };
15222
- const _hoisted_27$4 = {
15229
+ const _hoisted_28$4 = { class: "propeller-product-card__price min-w-0 text-right" };
15230
+ const _hoisted_29$4 = {
15223
15231
  key: 1,
15224
15232
  class: "propeller-product-card__cta px-3 pb-3 pt-2 sm:px-4 sm:pb-4"
15225
15233
  };
@@ -15274,7 +15282,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15274
15282
  addToCartComponent: {},
15275
15283
  imageComponent: {},
15276
15284
  badgesComponent: {},
15277
- favoriteComponent: {}
15285
+ favoriteComponent: {},
15286
+ belowNameComponent: {}
15278
15287
  },
15279
15288
  setup(__props) {
15280
15289
  const props = __props;
@@ -15287,7 +15296,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15287
15296
  addToCartComponent: { grid: "addToCartComponent" },
15288
15297
  imageComponent: { grid: "imageComponent" },
15289
15298
  badgesComponent: { grid: "badgesComponent" },
15290
- favoriteComponent: { grid: "favoriteComponent" }
15299
+ favoriteComponent: { grid: "favoriteComponent" },
15300
+ belowNameComponent: { grid: "belowNameComponent" }
15291
15301
  };
15292
15302
  const resolved = computed(() => useResolvedProps(props, RESOLVE_SPEC));
15293
15303
  const infra = useInfraProps(props);
@@ -15300,6 +15310,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15300
15310
  const ImageImpl = computed(() => resolved.value.imageComponent ?? _sfc_main$E);
15301
15311
  const BadgesImpl = computed(() => resolved.value.badgesComponent ?? _sfc_main$D);
15302
15312
  const FavoriteImpl = computed(() => resolved.value.favoriteComponent ?? _sfc_main$Q);
15313
+ const BelowNameImpl = computed(() => resolved.value.belowNameComponent ?? null);
15303
15314
  const isFavorite = ref(false);
15304
15315
  function isRow() {
15305
15316
  return props.columns === 1;
@@ -15510,12 +15521,17 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15510
15521
  onClick: _cache[2] || (_cache[2] = ($event) => handleNavigate())
15511
15522
  }, toDisplayString(getProductName()), 1)
15512
15523
  ]) : createCommentVNode("", true),
15524
+ renderSlot(_ctx.$slots, "belowName", { product: __props.product }, () => [
15525
+ BelowNameImpl.value ? (openBlock(), createElementBlock("div", _hoisted_10$8, [
15526
+ (openBlock(), createBlock(resolveDynamicComponent(BelowNameImpl.value), { product: __props.product }, null, 8, ["product"]))
15527
+ ])) : createCommentVNode("", true)
15528
+ ]),
15513
15529
  !!__props.textLabels && __props.textLabels.length > 0 && computedTextLabels().length > 0 ? renderSlot(_ctx.$slots, "textLabels", {
15514
15530
  key: 2,
15515
15531
  product: __props.product,
15516
15532
  values: computedTextLabels()
15517
15533
  }, () => [
15518
- createElementVNode("div", _hoisted_10$8, [
15534
+ createElementVNode("div", _hoisted_11$7, [
15519
15535
  (openBlock(true), createElementBlock(Fragment, null, renderList(computedTextLabels(), (item, index) => {
15520
15536
  return openBlock(), createElementBlock("div", {
15521
15537
  key: index,
@@ -15529,19 +15545,19 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15529
15545
  product: __props.product,
15530
15546
  manufacturer: getProductManufacturer()
15531
15547
  }, () => [
15532
- createElementVNode("div", _hoisted_11$7, toDisplayString(getProductManufacturer()), 1)
15548
+ createElementVNode("div", _hoisted_12$7, toDisplayString(getProductManufacturer()), 1)
15533
15549
  ]) : createCommentVNode("", true),
15534
15550
  __props.showShortDescription && !!getProductShortDescription() ? renderSlot(_ctx.$slots, "shortDescription", {
15535
15551
  key: 4,
15536
15552
  product: __props.product,
15537
15553
  text: getProductShortDescription()
15538
15554
  }, () => [
15539
- createElementVNode("p", _hoisted_12$7, toDisplayString(getProductShortDescription()), 1)
15555
+ createElementVNode("p", _hoisted_13$7, toDisplayString(getProductShortDescription()), 1)
15540
15556
  ]) : createCommentVNode("", true)
15541
15557
  ])
15542
15558
  ]),
15543
- createElementVNode("div", _hoisted_13$7, [
15544
- createElementVNode("div", _hoisted_14$7, [
15559
+ createElementVNode("div", _hoisted_14$7, [
15560
+ createElementVNode("div", _hoisted_15$6, [
15545
15561
  props.showStock && !!props.product.inventory ? renderSlot(_ctx.$slots, "stock", {
15546
15562
  key: 0,
15547
15563
  product: __props.product,
@@ -15571,7 +15587,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15571
15587
  currency: __props.currency,
15572
15588
  labels: props.priceLabels
15573
15589
  }, () => [
15574
- createElementVNode("div", _hoisted_15$6, [
15590
+ createElementVNode("div", _hoisted_16$6, [
15575
15591
  props.priceComponent ? (openBlock(), createBlock(resolveDynamicComponent(PriceImpl.value), {
15576
15592
  key: 0,
15577
15593
  price: __props.product.price,
@@ -15588,7 +15604,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15588
15604
  ])
15589
15605
  ]) : createCommentVNode("", true)
15590
15606
  ]),
15591
- createElementVNode("div", _hoisted_16$6, [
15607
+ createElementVNode("div", _hoisted_17$6, [
15592
15608
  renderSlot(_ctx.$slots, "addToCart", {
15593
15609
  product: __props.product,
15594
15610
  cartId: props.cartId,
@@ -15634,13 +15650,13 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15634
15650
  ])
15635
15651
  ], 64)) : createCommentVNode("", true),
15636
15652
  !isRow() ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
15637
- createElementVNode("div", _hoisted_17$6, [
15653
+ createElementVNode("div", _hoisted_18$5, [
15638
15654
  __props.showSku !== false && !!getProductSku$1() ? renderSlot(_ctx.$slots, "sku", {
15639
15655
  key: 0,
15640
15656
  product: __props.product,
15641
15657
  sku: getProductSku$1()
15642
15658
  }, () => [
15643
- createElementVNode("div", _hoisted_18$5, toDisplayString(getProductSku$1()), 1)
15659
+ createElementVNode("div", _hoisted_19$5, toDisplayString(getProductSku$1()), 1)
15644
15660
  ]) : createCommentVNode("", true),
15645
15661
  __props.showName !== false ? renderSlot(_ctx.$slots, getProductName(), {
15646
15662
  key: 1,
@@ -15655,12 +15671,17 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15655
15671
  onClick: _cache[3] || (_cache[3] = ($event) => handleNavigate())
15656
15672
  }, toDisplayString(getProductName()), 1)
15657
15673
  ]) : createCommentVNode("", true),
15674
+ renderSlot(_ctx.$slots, "belowName", { product: __props.product }, () => [
15675
+ BelowNameImpl.value ? (openBlock(), createElementBlock("div", _hoisted_20$4, [
15676
+ (openBlock(), createBlock(resolveDynamicComponent(BelowNameImpl.value), { product: __props.product }, null, 8, ["product"]))
15677
+ ])) : createCommentVNode("", true)
15678
+ ]),
15658
15679
  !!__props.textLabels && __props.textLabels.length > 0 && computedTextLabels().length > 0 ? renderSlot(_ctx.$slots, "textLabels", {
15659
15680
  key: 2,
15660
15681
  product: __props.product,
15661
15682
  values: computedTextLabels()
15662
15683
  }, () => [
15663
- createElementVNode("div", _hoisted_19$5, [
15684
+ createElementVNode("div", _hoisted_21$4, [
15664
15685
  (openBlock(true), createElementBlock(Fragment, null, renderList(computedTextLabels(), (item, index) => {
15665
15686
  return openBlock(), createElementBlock("div", {
15666
15687
  key: index,
@@ -15669,7 +15690,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15669
15690
  }), 128))
15670
15691
  ])
15671
15692
  ]) : createCommentVNode("", true),
15672
- props.showStock && !!props.product.inventory ? (openBlock(), createElementBlock("div", _hoisted_20$4, [
15693
+ props.showStock && !!props.product.inventory ? (openBlock(), createElementBlock("div", _hoisted_22$4, [
15673
15694
  renderSlot(_ctx.$slots, "stock", {
15674
15695
  product: __props.product,
15675
15696
  inventory: __props.product.inventory,
@@ -15696,16 +15717,16 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15696
15717
  product: __props.product,
15697
15718
  manufacturer: getProductManufacturer()
15698
15719
  }, () => [
15699
- createElementVNode("div", _hoisted_21$4, toDisplayString(getProductManufacturer()), 1)
15720
+ createElementVNode("div", _hoisted_23$4, toDisplayString(getProductManufacturer()), 1)
15700
15721
  ]) : createCommentVNode("", true),
15701
15722
  __props.showShortDescription && !!getProductShortDescription() ? renderSlot(_ctx.$slots, "shortDescription", {
15702
15723
  key: 5,
15703
15724
  product: __props.product,
15704
15725
  text: getProductShortDescription()
15705
15726
  }, () => [
15706
- createElementVNode("p", _hoisted_22$4, toDisplayString(getProductShortDescription()), 1)
15727
+ createElementVNode("p", _hoisted_24$4, toDisplayString(getProductShortDescription()), 1)
15707
15728
  ]) : createCommentVNode("", true),
15708
- __props.showPrice !== false && !!__props.product?.price ? (openBlock(), createElementBlock("div", _hoisted_23$4, [
15729
+ __props.showPrice !== false && !!__props.product?.price ? (openBlock(), createElementBlock("div", _hoisted_25$4, [
15709
15730
  renderSlot(_ctx.$slots, "price", {
15710
15731
  product: __props.product,
15711
15732
  price: __props.product.price,
@@ -15713,7 +15734,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15713
15734
  currency: __props.currency,
15714
15735
  labels: props.priceLabels
15715
15736
  }, () => [
15716
- createElementVNode("div", _hoisted_24$4, [
15737
+ createElementVNode("div", _hoisted_26$4, [
15717
15738
  props.priceComponent ? (openBlock(), createBlock(resolveDynamicComponent(PriceImpl.value), {
15718
15739
  key: 0,
15719
15740
  price: __props.product.price,
@@ -15731,7 +15752,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15731
15752
  ])
15732
15753
  ])) : createCommentVNode("", true)
15733
15754
  ]),
15734
- props.showStock && !!props.product.inventory || __props.showPrice !== false && !!__props.product?.price ? (openBlock(), createElementBlock("div", _hoisted_25$4, [
15755
+ props.showStock && !!props.product.inventory || __props.showPrice !== false && !!__props.product?.price ? (openBlock(), createElementBlock("div", _hoisted_27$4, [
15735
15756
  props.showStock && !!props.product.inventory ? renderSlot(_ctx.$slots, "stock", {
15736
15757
  key: 0,
15737
15758
  product: __props.product,
@@ -15761,7 +15782,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15761
15782
  currency: __props.currency,
15762
15783
  labels: props.priceLabels
15763
15784
  }, () => [
15764
- createElementVNode("div", _hoisted_26$4, [
15785
+ createElementVNode("div", _hoisted_28$4, [
15765
15786
  props.priceComponent ? (openBlock(), createBlock(resolveDynamicComponent(PriceImpl.value), {
15766
15787
  key: 0,
15767
15788
  price: __props.product.price,
@@ -15778,7 +15799,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
15778
15799
  ])
15779
15800
  ]) : createCommentVNode("", true)
15780
15801
  ])) : createCommentVNode("", true),
15781
- props.allowAddToCart !== false ? (openBlock(), createElementBlock("div", _hoisted_27$4, [
15802
+ props.allowAddToCart !== false ? (openBlock(), createElementBlock("div", _hoisted_29$4, [
15782
15803
  renderSlot(_ctx.$slots, "addToCart", {
15783
15804
  product: __props.product,
15784
15805
  cartId: props.cartId,
@@ -16188,7 +16209,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
16188
16209
  badgesComponent: {},
16189
16210
  favoriteComponent: {},
16190
16211
  productCardComponent: {},
16191
- clusterCardComponent: {}
16212
+ clusterCardComponent: {},
16213
+ belowNameComponent: {}
16192
16214
  },
16193
16215
  setup(__props) {
16194
16216
  const props = __props;
@@ -16233,7 +16255,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
16233
16255
  addToCartComponent: props.addToCartComponent,
16234
16256
  imageComponent: props.imageComponent,
16235
16257
  badgesComponent: props.badgesComponent,
16236
- favoriteComponent: props.favoriteComponent
16258
+ favoriteComponent: props.favoriteComponent,
16259
+ belowNameComponent: props.belowNameComponent
16237
16260
  }));
16238
16261
  provideProductGridConfig(gridConfig.value);
16239
16262
  const categoryIdRef = computed(() => props.categoryId);