@stock-in-the-channel/sinch-vue-components 0.0.314 → 0.0.316

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.es.js CHANGED
@@ -14696,13 +14696,12 @@ const OL = (e, t, n, r, o, a, i) => {
14696
14696
  props: {
14697
14697
  brands: {}
14698
14698
  },
14699
- emits: ["click"],
14700
- setup(e, { emit: t }) {
14701
- const n = e, r = t;
14702
- return (o, a) => (W(), ue("div", hT, [
14703
- (W(!0), ue(rt, null, jt(n.brands, (i) => (W(), ue("div", {
14699
+ setup(e) {
14700
+ const t = e;
14701
+ return (n, r) => (W(), ue("div", hT, [
14702
+ (W(!0), ue(rt, null, jt(t.brands, (o) => (W(), ue("div", {
14704
14703
  class: "col-xl-3 col-lg-3 col-md-4 col-sm-6 col-xs-12 q-ma-none q-pa-sm vendor-tile",
14705
- key: i.name
14704
+ key: o.name
14706
14705
  }, [
14707
14706
  A(q(rn), { flat: "" }, {
14708
14707
  default: H(() => [
@@ -14711,24 +14710,24 @@ const OL = (e, t, n, r, o, a, i) => {
14711
14710
  A(q(fn), {
14712
14711
  clickable: "",
14713
14712
  tag: "a",
14714
- onClick: (l) => r("click", l, i)
14713
+ href: `/search?brandId=${o.id}`
14715
14714
  }, {
14716
14715
  default: H(() => [
14717
14716
  C("div", gT, [
14718
14717
  C("div", yT, [
14719
- i.imageUrl ? (W(), He(q(va), {
14718
+ o.imageUrl ? (W(), He(q(va), {
14720
14719
  key: 0,
14721
14720
  class: "thumbnail-image",
14722
- src: i.imageUrl,
14721
+ src: o.imageUrl,
14723
14722
  "spinner-color": "primary",
14724
- srcset: `${i.imageUrl} 200w`,
14723
+ srcset: `${o.imageUrl} 200w`,
14725
14724
  sizes: "(max-width: 200px) 200w"
14726
- }, null, 8, ["src", "srcset"])) : (W(), ue("span", bT, V(i.name), 1))
14725
+ }, null, 8, ["src", "srcset"])) : (W(), ue("span", bT, V(o.name), 1))
14727
14726
  ])
14728
14727
  ])
14729
14728
  ]),
14730
14729
  _: 2
14731
- }, 1032, ["onClick"])
14730
+ }, 1032, ["href"])
14732
14731
  ]),
14733
14732
  _: 2
14734
14733
  }, 1024)
@@ -14757,62 +14756,63 @@ const OL = (e, t, n, r, o, a, i) => {
14757
14756
  hasLoadingError: { type: Boolean },
14758
14757
  categories: {}
14759
14758
  },
14760
- emits: ["onCategorySelected"],
14761
- setup(e, { emit: t }) {
14762
- const n = e, r = t;
14763
- return (o, a) => (W(), ue("div", wT, [
14759
+ setup(e) {
14760
+ const t = e;
14761
+ return (n, r) => (W(), ue("div", wT, [
14764
14762
  xe(C("div", ST, [
14765
14763
  A(q(Zl), {
14766
14764
  color: "primary",
14767
14765
  size: "10em"
14768
14766
  })
14769
14767
  ], 512), [
14770
- [Ie, n.isLoading]
14768
+ [Ie, t.isLoading]
14771
14769
  ]),
14772
- Array.isArray(o.categories) && o.categories.length > 0 ? (W(), ue("div", kT, [
14770
+ Array.isArray(n.categories) && n.categories.length > 0 ? (W(), ue("div", kT, [
14773
14771
  C("div", CT, [
14774
- (W(!0), ue(rt, null, jt(o.categories, (i) => (W(), ue("div", {
14772
+ (W(!0), ue(rt, null, jt(n.categories, (o) => (W(), ue("div", {
14775
14773
  class: "col-xl-3 col-lg-3 col-md-4 col-sm-6 col-xs-12 q-ma-none q-pa-sm",
14776
- key: i.id
14774
+ key: o.id
14777
14775
  }, [
14778
14776
  A(q(rn), { flat: "" }, {
14779
14777
  default: H(() => [
14780
14778
  A(q(bt), {
14781
14779
  class: "cursor-pointer",
14782
- onClick: (l) => r("onCategorySelected", i, l)
14780
+ clickable: "",
14781
+ tag: "a",
14782
+ href: `/search?categoryId=${o.id}`
14783
14783
  }, {
14784
14784
  default: H(() => [
14785
14785
  C("div", xT, [
14786
14786
  C("div", ET, [
14787
- i.imageUrl ? (W(), ue("img", {
14787
+ o.imageUrl ? (W(), ue("img", {
14788
14788
  key: 0,
14789
- src: i.imageUrl,
14790
- alt: i.name,
14789
+ src: o.imageUrl,
14790
+ alt: o.name,
14791
14791
  width: "72",
14792
14792
  "spinner-color": "primary"
14793
14793
  }, null, 8, TT)) : (W(), ue("img", {
14794
14794
  key: 1,
14795
14795
  src: "/img/placeholder.png",
14796
- alt: i.name,
14796
+ alt: o.name,
14797
14797
  width: "72",
14798
14798
  "spinner-color": "primary"
14799
14799
  }, null, 8, OT))
14800
14800
  ]),
14801
14801
  C("div", IT, [
14802
- C("div", qT, V(i.name), 1),
14803
- i.description ? (W(), ue("div", PT, V(i.description), 1)) : Be("", !0)
14802
+ C("div", qT, V(o.name), 1),
14803
+ o.description ? (W(), ue("div", PT, V(o.description), 1)) : Be("", !0)
14804
14804
  ])
14805
14805
  ])
14806
14806
  ]),
14807
14807
  _: 2
14808
- }, 1032, ["onClick"])
14808
+ }, 1032, ["href"])
14809
14809
  ]),
14810
14810
  _: 2
14811
14811
  }, 1024)
14812
14812
  ]))), 128))
14813
14813
  ])
14814
- ])) : o.isLoading ? Be("", !0) : (W(), ue("div", $T, [
14815
- n.hasLoadingError ? (W(), ue("div", RT, V(o.$t("Error loading categories")), 1)) : (W(), ue("div", NT, V(o.$t("No categories found")), 1))
14814
+ ])) : n.isLoading ? Be("", !0) : (W(), ue("div", $T, [
14815
+ t.hasLoadingError ? (W(), ue("div", RT, V(n.$t("Error loading categories")), 1)) : (W(), ue("div", NT, V(n.$t("No categories found")), 1))
14816
14816
  ]))
14817
14817
  ]));
14818
14818
  }
@@ -16185,13 +16185,12 @@ const DT = { class: "list-row row q-pa-xs" }, MT = { class: "row" }, FT = { clas
16185
16185
  props: {
16186
16186
  providers: {}
16187
16187
  },
16188
- emits: ["click"],
16189
- setup(e, { emit: t }) {
16190
- const n = e, r = t;
16191
- return (o, a) => (W(), ue("div", DT, [
16192
- (W(!0), ue(rt, null, jt(n.providers, (i) => (W(), ue("div", {
16188
+ setup(e) {
16189
+ const t = e;
16190
+ return (n, r) => (W(), ue("div", DT, [
16191
+ (W(!0), ue(rt, null, jt(t.providers, (o) => (W(), ue("div", {
16193
16192
  class: "col-xl-3 col-lg-3 col-md-4 col-sm-6 col-xs-12 q-ma-none q-pa-sm vendor-tile",
16194
- key: i.name
16193
+ key: o.name
16195
16194
  }, [
16196
16195
  A(q(rn), { flat: "" }, {
16197
16196
  default: H(() => [
@@ -16200,24 +16199,24 @@ const DT = { class: "list-row row q-pa-xs" }, MT = { class: "row" }, FT = { clas
16200
16199
  A(q(fn), {
16201
16200
  clickable: "",
16202
16201
  tag: "a",
16203
- onClick: (l) => r("click", l, i)
16202
+ href: `/search?distributorId=${o.distributorId}`
16204
16203
  }, {
16205
16204
  default: H(() => [
16206
16205
  C("div", MT, [
16207
16206
  C("div", FT, [
16208
- i.imageUrl ? (W(), He(q(va), {
16207
+ o.imageUrl ? (W(), He(q(va), {
16209
16208
  key: 0,
16210
16209
  class: "thumbnail-image",
16211
- src: i.imageUrl,
16210
+ src: o.imageUrl,
16212
16211
  "spinner-color": "primary",
16213
- srcset: `${i.imageUrl} 200w`,
16212
+ srcset: `${o.imageUrl} 200w`,
16214
16213
  sizes: "(max-width: 200px) 200w"
16215
- }, null, 8, ["src", "srcset"])) : (W(), ue("span", VT, V(i.name), 1))
16214
+ }, null, 8, ["src", "srcset"])) : (W(), ue("span", VT, V(o.name), 1))
16216
16215
  ])
16217
16216
  ])
16218
16217
  ]),
16219
16218
  _: 2
16220
- }, 1032, ["onClick"])
16219
+ }, 1032, ["href"])
16221
16220
  ]),
16222
16221
  _: 2
16223
16222
  }, 1024)
@@ -28130,7 +28129,10 @@ const y2 = { class: "q-ma-sm" }, b2 = { class: "row" }, _2 = { class: "text-h5 c
28130
28129
  fn: H((_) => [
28131
28130
  A(q(er), { class: "cursor-pointer" }, {
28132
28131
  default: H(() => [
28133
- A(q(Ne), { key: "customerName" }, {
28132
+ A(q(Ne), {
28133
+ key: "customerName",
28134
+ class: "ellipsis-column"
28135
+ }, {
28134
28136
  default: H(() => [
28135
28137
  C("a", {
28136
28138
  href: "javascript:void(0)",
@@ -28139,19 +28141,28 @@ const y2 = { class: "q-ma-sm" }, b2 = { class: "row" }, _2 = { class: "text-h5 c
28139
28141
  ]),
28140
28142
  _: 2
28141
28143
  }, 1024),
28142
- A(q(Ne), { key: "externalSystem" }, {
28144
+ A(q(Ne), {
28145
+ key: "externalSystem",
28146
+ class: "ellipsis-column"
28147
+ }, {
28143
28148
  default: H(() => [
28144
28149
  je(V(m.$t(_.row.externalSystem)), 1)
28145
28150
  ]),
28146
28151
  _: 2
28147
28152
  }, 1024),
28148
- c.hasDuplicatedExternalSystemClients ? (W(), He(q(Ne), { key: "externalSystemClientName" }, {
28153
+ c.hasDuplicatedExternalSystemClients ? (W(), He(q(Ne), {
28154
+ key: "externalSystemClientName",
28155
+ class: "ellipsis-column"
28156
+ }, {
28149
28157
  default: H(() => [
28150
28158
  je(V(_.row.externalSystemClientName), 1)
28151
28159
  ]),
28152
28160
  _: 2
28153
28161
  }, 1024)) : Be("", !0),
28154
- A(q(Ne), { key: "providerSubscriptionId" }, {
28162
+ A(q(Ne), {
28163
+ key: "providerSubscriptionId",
28164
+ class: "ellipsis-column"
28165
+ }, {
28155
28166
  default: H(() => [
28156
28167
  C("a", {
28157
28168
  href: "javascript:void(0)",
@@ -28160,13 +28171,19 @@ const y2 = { class: "q-ma-sm" }, b2 = { class: "row" }, _2 = { class: "text-h5 c
28160
28171
  ]),
28161
28172
  _: 2
28162
28173
  }, 1024),
28163
- A(q(Ne), { key: "subscriptionName" }, {
28174
+ A(q(Ne), {
28175
+ key: "subscriptionName",
28176
+ class: "ellipsis-column"
28177
+ }, {
28164
28178
  default: H(() => [
28165
28179
  je(V(_.row.subscriptionName), 1)
28166
28180
  ]),
28167
28181
  _: 2
28168
28182
  }, 1024),
28169
- A(q(Ne), { key: "status" }, {
28183
+ A(q(Ne), {
28184
+ key: "status",
28185
+ class: "ellipsis-column"
28186
+ }, {
28170
28187
  default: H(() => [
28171
28188
  C("span", {
28172
28189
  class: Bt("text-left status-" + _.row.status.toLowerCase())
@@ -28174,7 +28191,10 @@ const y2 = { class: "q-ma-sm" }, b2 = { class: "row" }, _2 = { class: "text-h5 c
28174
28191
  ]),
28175
28192
  _: 2
28176
28193
  }, 1024),
28177
- A(q(Ne), { key: "renewalDate" }, {
28194
+ A(q(Ne), {
28195
+ key: "renewalDate",
28196
+ class: "ellipsis-column"
28197
+ }, {
28178
28198
  default: H(() => [
28179
28199
  C("span", {
28180
28200
  class: Bt([_.row.renewalColour, "text-weight-bold"])
@@ -28182,7 +28202,10 @@ const y2 = { class: "q-ma-sm" }, b2 = { class: "row" }, _2 = { class: "text-h5 c
28182
28202
  ]),
28183
28203
  _: 2
28184
28204
  }, 1024),
28185
- A(q(Ne), { key: "createdAt" }, {
28205
+ A(q(Ne), {
28206
+ key: "createdAt",
28207
+ class: "ellipsis-column"
28208
+ }, {
28186
28209
  default: H(() => [
28187
28210
  je(V(m.$formatDate(_.row.createdAt)), 1)
28188
28211
  ]),
@@ -3,15 +3,11 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
3
3
  isLoading: boolean;
4
4
  hasLoadingError: boolean;
5
5
  categories: Category[];
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- onCategorySelected: (category: Category, evt: Event) => void;
8
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
6
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
9
7
  isLoading: boolean;
10
8
  hasLoadingError: boolean;
11
9
  categories: Category[];
12
- }>>> & {
13
- onOnCategorySelected?: ((category: Category, evt: Event) => any) | undefined;
14
- }, {}, {}>;
10
+ }>>>, {}, {}>;
15
11
  export default _default;
16
12
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
13
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,13 +1,9 @@
1
1
  import { ProvidersCatalogProvider } from '@/types/ProvidersCatalogProvider';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  providers: ProvidersCatalogProvider[];
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- click: (e: Event, provider: ProvidersCatalogProvider) => void;
6
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
5
  providers: ProvidersCatalogProvider[];
8
- }>>> & {
9
- onClick?: ((e: Event, provider: ProvidersCatalogProvider) => any) | undefined;
10
- }, {}, {}>;
6
+ }>>>, {}, {}>;
11
7
  export default _default;
12
8
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
9
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,13 +1,9 @@
1
1
  import { Brand } from '@/components/BrandSearch/BrandStore';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  brands: Brand[];
4
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
- click: (...args: any[]) => void;
6
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
7
5
  brands: Brand[];
8
- }>>> & {
9
- onClick?: ((...args: any[]) => any) | undefined;
10
- }, {}, {}>;
6
+ }>>>, {}, {}>;
11
7
  export default _default;
12
8
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
13
9
  type __VLS_TypePropsToRuntimeProps<T> = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stock-in-the-channel/sinch-vue-components",
3
- "version": "0.0.314",
3
+ "version": "0.0.316",
4
4
  "files": [
5
5
  "dist"
6
6
  ],