@empathyco/x-components 3.0.0-alpha.364 → 3.0.0-alpha.366

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 (102) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/design-system/deprecated-full-theme.css +71 -71
  3. package/docs/API-reference/api/x-components.baseaddtocart.md +14 -11
  4. package/docs/API-reference/api/x-components.baseheadertogglepanel.animation.md +1 -1
  5. package/docs/API-reference/api/x-components.baseheadertogglepanel.md +1 -1
  6. package/docs/API-reference/api/x-components.basepricefilterlabel.md +46 -21
  7. package/docs/API-reference/api/x-components.baseratingfilterlabel.md +24 -11
  8. package/docs/API-reference/api/x-components.baseresultcurrentprice.md +20 -11
  9. package/docs/API-reference/api/x-components.baseresultimage.md +50 -13
  10. package/docs/API-reference/api/x-components.baseresultlink.md +15 -10
  11. package/docs/API-reference/api/x-components.baseresultpreviousprice.md +18 -11
  12. package/docs/API-reference/api/x-components.baseresultrating.md +20 -11
  13. package/docs/API-reference/api/x-components.basetogglepanel.md +24 -11
  14. package/docs/API-reference/api/x-components.md +9 -9
  15. package/js/components/filters/labels/base-price-filter-label.vue.js.map +1 -1
  16. package/js/components/filters/labels/base-price-filter-label.vue_rollup-plugin-vue_script.vue.js +79 -60
  17. package/js/components/filters/labels/base-price-filter-label.vue_rollup-plugin-vue_script.vue.js.map +1 -1
  18. package/js/components/filters/labels/base-rating-filter-label.vue.js.map +1 -1
  19. package/js/components/filters/labels/base-rating-filter-label.vue_rollup-plugin-vue_script.vue.js +41 -29
  20. package/js/components/filters/labels/base-rating-filter-label.vue_rollup-plugin-vue_script.vue.js.map +1 -1
  21. package/js/components/panels/base-header-toggle-panel.vue.js +1 -1
  22. package/js/components/panels/base-header-toggle-panel.vue.js.map +1 -1
  23. package/js/components/panels/base-header-toggle-panel.vue_rollup-plugin-vue_script.vue.js.map +1 -1
  24. package/js/components/panels/base-header-toggle-panel.vue_rollup-plugin-vue_styles.0.vue.js +1 -1
  25. package/js/components/panels/base-toggle-panel.vue.js.map +1 -1
  26. package/js/components/panels/base-toggle-panel.vue_rollup-plugin-vue_script.vue.js +25 -15
  27. package/js/components/panels/base-toggle-panel.vue_rollup-plugin-vue_script.vue.js.map +1 -1
  28. package/js/components/result/base-result-add-to-cart.vue.js.map +1 -1
  29. package/js/components/result/base-result-add-to-cart.vue_rollup-plugin-vue_script.vue.js +29 -23
  30. package/js/components/result/base-result-add-to-cart.vue_rollup-plugin-vue_script.vue.js.map +1 -1
  31. package/js/components/result/base-result-current-price.vue.js.map +1 -1
  32. package/js/components/result/base-result-current-price.vue_rollup-plugin-vue_script.vue.js +47 -26
  33. package/js/components/result/base-result-current-price.vue_rollup-plugin-vue_script.vue.js.map +1 -1
  34. package/js/components/result/base-result-image.vue.js +1 -1
  35. package/js/components/result/base-result-image.vue.js.map +1 -1
  36. package/js/components/result/base-result-image.vue_rollup-plugin-vue_script.vue.js +125 -96
  37. package/js/components/result/base-result-image.vue_rollup-plugin-vue_script.vue.js.map +1 -1
  38. package/js/components/result/base-result-image.vue_rollup-plugin-vue_styles.0.vue.js +1 -1
  39. package/js/components/result/base-result-link.vue.js +2 -1
  40. package/js/components/result/base-result-link.vue.js.map +1 -1
  41. package/js/components/result/base-result-link.vue_rollup-plugin-vue_script.vue.js +46 -27
  42. package/js/components/result/base-result-link.vue_rollup-plugin-vue_script.vue.js.map +1 -1
  43. package/js/components/result/base-result-link.vue_rollup-plugin-vue_styles.0.vue.js +1 -1
  44. package/js/components/result/base-result-previous-price.vue.js.map +1 -1
  45. package/js/components/result/base-result-previous-price.vue_rollup-plugin-vue_script.vue.js +34 -17
  46. package/js/components/result/base-result-previous-price.vue_rollup-plugin-vue_script.vue.js.map +1 -1
  47. package/js/components/result/base-result-rating.vue.js +2 -1
  48. package/js/components/result/base-result-rating.vue.js.map +1 -1
  49. package/js/components/result/base-result-rating.vue_rollup-plugin-vue_script.vue.js +44 -27
  50. package/js/components/result/base-result-rating.vue_rollup-plugin-vue_script.vue.js.map +1 -1
  51. package/js/components/result/base-result-rating.vue_rollup-plugin-vue_styles.0.vue.js +1 -1
  52. package/js/utils/options-api.js +4 -0
  53. package/js/utils/options-api.js.map +1 -0
  54. package/package.json +6 -6
  55. package/report/x-components.api.json +3107 -1695
  56. package/report/x-components.api.md +228 -82
  57. package/types/components/filters/labels/base-price-filter-label.vue.d.ts +59 -13
  58. package/types/components/filters/labels/base-price-filter-label.vue.d.ts.map +1 -1
  59. package/types/components/filters/labels/base-rating-filter-label.vue.d.ts +33 -11
  60. package/types/components/filters/labels/base-rating-filter-label.vue.d.ts.map +1 -1
  61. package/types/components/panels/base-header-toggle-panel.vue.d.ts +2 -1
  62. package/types/components/panels/base-header-toggle-panel.vue.d.ts.map +1 -1
  63. package/types/components/panels/base-toggle-panel.vue.d.ts +35 -5
  64. package/types/components/panels/base-toggle-panel.vue.d.ts.map +1 -1
  65. package/types/components/result/base-result-add-to-cart.vue.d.ts +16 -8
  66. package/types/components/result/base-result-add-to-cart.vue.d.ts.map +1 -1
  67. package/types/components/result/base-result-current-price.vue.d.ts +40 -10
  68. package/types/components/result/base-result-current-price.vue.d.ts.map +1 -1
  69. package/types/components/result/base-result-image.vue.d.ts +60 -70
  70. package/types/components/result/base-result-image.vue.d.ts.map +1 -1
  71. package/types/components/result/base-result-link.vue.d.ts +18 -23
  72. package/types/components/result/base-result-link.vue.d.ts.map +1 -1
  73. package/types/components/result/base-result-previous-price.vue.d.ts +40 -5
  74. package/types/components/result/base-result-previous-price.vue.d.ts.map +1 -1
  75. package/types/components/result/base-result-rating.vue.d.ts +28 -9
  76. package/types/components/result/base-result-rating.vue.d.ts.map +1 -1
  77. package/types/utils/options-api.d.ts +3 -0
  78. package/types/utils/options-api.d.ts.map +1 -0
  79. package/docs/API-reference/api/x-components.baseaddtocart.events.md +0 -13
  80. package/docs/API-reference/api/x-components.baseaddtocart.result.md +0 -13
  81. package/docs/API-reference/api/x-components.basepricefilterlabel.filter.md +0 -15
  82. package/docs/API-reference/api/x-components.basepricefilterlabel.format.md +0 -13
  83. package/docs/API-reference/api/x-components.basepricefilterlabel.from.md +0 -13
  84. package/docs/API-reference/api/x-components.basepricefilterlabel.fromto.md +0 -13
  85. package/docs/API-reference/api/x-components.basepricefilterlabel.label.md +0 -13
  86. package/docs/API-reference/api/x-components.basepricefilterlabel.lessthan.md +0 -13
  87. package/docs/API-reference/api/x-components.basepricefilterlabel.render.md +0 -22
  88. package/docs/API-reference/api/x-components.baseratingfilterlabel.filter.md +0 -13
  89. package/docs/API-reference/api/x-components.baseratingfilterlabel.max.md +0 -13
  90. package/docs/API-reference/api/x-components.baseresultcurrentprice.format.md +0 -18
  91. package/docs/API-reference/api/x-components.baseresultcurrentprice.result.md +0 -13
  92. package/docs/API-reference/api/x-components.baseresultimage.hoveranimation.md +0 -13
  93. package/docs/API-reference/api/x-components.baseresultimage.loadanimation.md +0 -13
  94. package/docs/API-reference/api/x-components.baseresultimage.result.md +0 -13
  95. package/docs/API-reference/api/x-components.baseresultimage.shownextimageonhover.md +0 -13
  96. package/docs/API-reference/api/x-components.baseresultlink.result.md +0 -13
  97. package/docs/API-reference/api/x-components.baseresultpreviousprice.format.md +0 -18
  98. package/docs/API-reference/api/x-components.baseresultpreviousprice.result.md +0 -13
  99. package/docs/API-reference/api/x-components.baseresultrating.link.md +0 -13
  100. package/docs/API-reference/api/x-components.baseresultrating.result.md +0 -13
  101. package/docs/API-reference/api/x-components.basetogglepanel.animation.md +0 -13
  102. package/docs/API-reference/api/x-components.basetogglepanel.open.md +0 -13
@@ -7,9 +7,12 @@
7
7
  import { ActionContext } from 'vuex';
8
8
  import { AnyFunction } from '@empathyco/x-utils';
9
9
  import { ComponentComputedOptions } from 'vue';
10
+ import { ComponentCustomProperties } from 'vue';
10
11
  import { ComponentMethodOptions } from 'vue';
11
12
  import { ComponentOptions } from 'vue';
13
+ import { ComponentOptionsBase } from 'vue/types/v3-component-options';
12
14
  import { ComponentOptionsMixin } from 'vue/types/v3-component-options';
15
+ import { ComponentPublicInstanceConstructor } from 'vue/types/v3-component-public-instance';
13
16
  import { ComputedRef } from 'vue';
14
17
  import { CreateElement } from 'vue';
15
18
  import { DeepPartial } from '@empathyco/x-utils';
@@ -34,6 +37,7 @@ import { Store } from 'vuex';
34
37
  import { SubjectPayload } from '@empathyco/x-bus';
35
38
  import { Subscription } from 'rxjs';
36
39
  import { VNode } from 'vue';
40
+ import { Vue3Instance } from 'vue/types/v3-component-public-instance';
37
41
  import { default as Vue_2 } from 'vue';
38
42
  import { Vue as Vue_3 } from 'vue-property-decorator';
39
43
  import { VueClass } from 'vue-class-component/lib/declarations';
@@ -241,11 +245,19 @@ export const BarCodeIcon: {};
241
245
  export const BarcodeTinyIcon: {};
242
246
 
243
247
  // @public
244
- export class BaseAddToCart extends Vue_2 {
245
- protected get events(): Partial<XEventsTypes>;
246
- // Warning: (ae-forgotten-export) The symbol "Result" needs to be exported by the entry point index.d.ts
247
- protected result: Result;
248
- }
248
+ export const BaseAddToCart: DefineComponent< {
249
+ result: {
250
+ type: PropType<Result>;
251
+ required: true;
252
+ };
253
+ }, {
254
+ events: ComputedRef<Partial<XEventsTypes>>;
255
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
256
+ result: {
257
+ type: PropType<Result>;
258
+ required: true;
259
+ };
260
+ }>>, {}>;
249
261
 
250
262
  // Warning: (ae-forgotten-export) The symbol "BaseColumnPickerDropdown_base" needs to be exported by the entry point index.d.ts
251
263
  //
@@ -440,7 +452,7 @@ export class BaseGrid extends Vue_2 {
440
452
 
441
453
  // @public
442
454
  export class BaseHeaderTogglePanel extends Vue_2 {
443
- protected animation: Vue_2 | string;
455
+ protected animation: typeof AnimationProp;
444
456
  // @internal
445
457
  protected emitOpenStatusEvent(): void;
446
458
  // @internal
@@ -568,18 +580,51 @@ export class BaseModal extends BaseModal_base {
568
580
  export const BasePlaceholderImage: {};
569
581
 
570
582
  // @public
571
- export class BasePriceFilterLabel extends Vue_2 {
572
- filter: {
573
- range: RangeValue;
574
- };
575
- format?: string;
576
- from: string;
577
- fromTo: string;
578
- protected get label(): string;
579
- lessThan: string;
580
- // (undocumented)
581
- render(createElement: CreateElement): VNode;
582
- }
583
+ export const BasePriceFilterLabel: DefineComponent< {
584
+ filter: {
585
+ type: PropType<{
586
+ range: RangeValue;
587
+ }>;
588
+ required: true;
589
+ };
590
+ format: {
591
+ type: StringConstructor;
592
+ };
593
+ lessThan: {
594
+ type: StringConstructor;
595
+ required: true;
596
+ };
597
+ fromTo: {
598
+ type: StringConstructor;
599
+ required: true;
600
+ };
601
+ from: {
602
+ type: StringConstructor;
603
+ required: true;
604
+ };
605
+ }, () => VNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
606
+ filter: {
607
+ type: PropType<{
608
+ range: RangeValue;
609
+ }>;
610
+ required: true;
611
+ };
612
+ format: {
613
+ type: StringConstructor;
614
+ };
615
+ lessThan: {
616
+ type: StringConstructor;
617
+ required: true;
618
+ };
619
+ fromTo: {
620
+ type: StringConstructor;
621
+ required: true;
622
+ };
623
+ from: {
624
+ type: StringConstructor;
625
+ required: true;
626
+ };
627
+ }>>, {}>;
583
628
 
584
629
  // @public
585
630
  export class BaseRating extends Vue_2 {
@@ -592,76 +637,156 @@ export class BaseRating extends Vue_2 {
592
637
  }
593
638
 
594
639
  // @public
595
- export class BaseRatingFilterLabel extends Vue_2 {
596
- // Warning: (ae-forgotten-export) The symbol "BooleanFilter" needs to be exported by the entry point index.d.ts
597
- filter: BooleanFilter;
598
- protected max: number;
599
- // @internal
600
- protected get value(): number;
601
- }
640
+ export const BaseRatingFilterLabel: DefineComponent< {
641
+ filter: {
642
+ type: PropType<BooleanFilter>;
643
+ required: true;
644
+ };
645
+ max: {
646
+ type: NumberConstructor;
647
+ default: number;
648
+ };
649
+ }, {
650
+ value: ComputedRef<number>;
651
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
652
+ filter: {
653
+ type: PropType<BooleanFilter>;
654
+ required: true;
655
+ };
656
+ max: {
657
+ type: NumberConstructor;
658
+ default: number;
659
+ };
660
+ }>>, {
661
+ max: number;
662
+ }>;
602
663
 
603
664
  // @public
604
- export class BaseResultCurrentPrice extends Vue_2 {
605
- // @internal
606
- protected get dynamicClasses(): VueCSSClasses;
607
- protected format?: string;
608
- protected result: Result;
609
- }
665
+ export const BaseResultCurrentPrice: DefineComponent< {
666
+ result: {
667
+ type: PropType<Result>;
668
+ required: true;
669
+ };
670
+ format: {
671
+ type: StringConstructor;
672
+ };
673
+ }, {
674
+ dynamicClasses: ComputedRef<VueCSSClasses>;
675
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
676
+ result: {
677
+ type: PropType<Result>;
678
+ required: true;
679
+ };
680
+ format: {
681
+ type: StringConstructor;
682
+ };
683
+ }>>, {}>;
610
684
 
611
685
  // @public
612
- export class BaseResultImage extends Vue_2 {
613
- // @internal
614
- protected get animation(): string | typeof Vue_2;
615
- // @internal
616
- protected flagImageAsFailed(): void;
617
- // @internal
618
- protected flagImageLoaded(): void;
619
- hoverAnimation: string | typeof Vue_2 | undefined;
620
- // @internal
621
- protected get imageSrc(): string;
622
- // @internal
623
- protected isHovering: boolean;
624
- loadAnimation: string | typeof Vue_2;
625
- // @internal
626
- protected loadedImages: string[];
627
- // @internal
628
- protected loaderStyles: Partial<CSSStyleDeclaration>;
629
- // @internal
630
- protected pendingImages: string[];
631
- // @internal
632
- resetImagesState(): void;
633
- protected result: Result;
634
- // @internal
635
- protected get shouldLoadNextImage(): boolean;
686
+ export const BaseResultImage: DefineComponent<{
687
+ result: {
688
+ type: PropType<Result>;
689
+ required: true;
690
+ };
691
+ loadAnimation: {
692
+ type: PropType<string | DefineComponent<{}, {}, {}, ComponentComputedOptions, ComponentMethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>>;
693
+ default: () => ExtendedVue<default_2<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => default_2<Record<string, any>, Record<string, any>, never, never, any>>, unknown, unknown, unknown, Record<never, any>, {}, ComponentOptionsMixin, ComponentOptionsMixin>;
694
+ };
695
+ hoverAnimation: {
696
+ type: PropType<string | DefineComponent<{}, {}, {}, ComponentComputedOptions, ComponentMethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>>;
697
+ };
698
+ showNextImageOnHover: {
699
+ type: BooleanConstructor;
700
+ default: boolean;
701
+ };
702
+ }, {
703
+ pendingImages: Ref<string[]>;
704
+ loadedImages: Ref<string[]>;
705
+ isHovering: Ref<boolean>;
706
+ userHasHoveredImage: Ref<boolean>;
707
+ loaderStyles: Partial<CSSStyleDeclaration>;
708
+ animation: ComputedRef<string | DefineComponent<{}, {}, {}, ComponentComputedOptions, ComponentMethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>>;
709
+ imageSrc: ComputedRef<string>;
710
+ shouldLoadNextImage: ComputedRef<boolean>;
711
+ flagImageAsFailed: () => void;
712
+ flagImageLoaded: () => void;
713
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
714
+ result: {
715
+ type: PropType<Result>;
716
+ required: true;
717
+ };
718
+ loadAnimation: {
719
+ type: PropType<string | DefineComponent<{}, {}, {}, ComponentComputedOptions, ComponentMethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>>;
720
+ default: () => ExtendedVue<default_2<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => default_2<Record<string, any>, Record<string, any>, never, never, any>>, unknown, unknown, unknown, Record<never, any>, {}, ComponentOptionsMixin, ComponentOptionsMixin>;
721
+ };
722
+ hoverAnimation: {
723
+ type: PropType<string | DefineComponent<{}, {}, {}, ComponentComputedOptions, ComponentMethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>>;
724
+ };
725
+ showNextImageOnHover: {
726
+ type: BooleanConstructor;
727
+ default: boolean;
728
+ };
729
+ }>>, {
730
+ loadAnimation: string | DefineComponent<{}, {}, {}, ComponentComputedOptions, ComponentMethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}> | (ComponentPublicInstanceConstructor<Vue3Instance< {}, Readonly<ExtractPropTypes< {}>>, Readonly<ExtractPropTypes< {}>>, {}, {}, true, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<ExtractPropTypes< {}>>> & ShallowUnwrapRef< {}> & ExtractComputedReturns<ComponentComputedOptions> & ComponentMethodOptions & ComponentCustomProperties & Readonly<ExtractPropTypes< {}>>, any, any, any, ComponentComputedOptions, ComponentMethodOptions> & ComponentOptionsBase<Readonly<ExtractPropTypes< {}>>, {}, {}, ComponentComputedOptions, ComponentMethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}> & {
731
+ props: {};
732
+ });
636
733
  showNextImageOnHover: boolean;
637
- // @internal
638
- protected userHasHoveredImage: boolean;
639
- }
734
+ }>;
640
735
 
641
736
  // @public
642
- export class BaseResultLink extends Vue_2 {
643
- // @internal
644
- $el: HTMLElement;
645
- // @internal
646
- protected emitUserClickedAResult(): void;
647
- protected result: Result;
648
- // @internal
649
- protected resultClickExtraEvents: PropsWithType<XEventsTypes, Result>[];
650
- }
737
+ export const BaseResultLink: DefineComponent< {
738
+ result: {
739
+ type: PropType<Result>;
740
+ required: true;
741
+ };
742
+ }, {
743
+ emitUserClickedAResult: () => void;
744
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
745
+ result: {
746
+ type: PropType<Result>;
747
+ required: true;
748
+ };
749
+ }>>, {}>;
651
750
 
652
751
  // @public
653
- export class BaseResultPreviousPrice extends Vue_2 {
654
- protected format?: string;
655
- protected result: Result;
656
- }
752
+ export const BaseResultPreviousPrice: DefineComponent< {
753
+ result: {
754
+ type: PropType<Result>;
755
+ required: true;
756
+ };
757
+ format: {
758
+ type: StringConstructor;
759
+ };
760
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
761
+ result: {
762
+ type: PropType<Result>;
763
+ required: true;
764
+ };
765
+ format: {
766
+ type: StringConstructor;
767
+ };
768
+ }>>, {}>;
657
769
 
658
770
  // @public
659
- export class BaseResultRating extends Vue_2 {
660
- // @internal
661
- protected emitClickedEvent(): void;
662
- protected link: string;
663
- protected result: Result;
664
- }
771
+ export const BaseResultRating: DefineComponent< {
772
+ result: {
773
+ type: PropType<Result>;
774
+ required: true;
775
+ };
776
+ link: {
777
+ type: StringConstructor;
778
+ };
779
+ }, {
780
+ emitClickedEvent: () => void;
781
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
782
+ result: {
783
+ type: PropType<Result>;
784
+ required: true;
785
+ };
786
+ link: {
787
+ type: StringConstructor;
788
+ };
789
+ }>>, {}>;
665
790
 
666
791
  // Warning: (ae-forgotten-export) The symbol "BaseScroll_base" needs to be exported by the entry point index.d.ts
667
792
  //
@@ -736,10 +861,29 @@ export class BaseTabsPanel extends BaseTabsPanel_base {
736
861
  }
737
862
 
738
863
  // @public
739
- export class BaseTogglePanel extends Vue_2 {
740
- protected animation: Vue_2 | string;
741
- protected open: boolean;
742
- }
864
+ export const BaseTogglePanel: DefineComponent< {
865
+ open: {
866
+ type: BooleanConstructor;
867
+ required: true;
868
+ };
869
+ animation: {
870
+ type: PropType<string | DefineComponent< {}, {}, {}, ComponentComputedOptions, ComponentMethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>>;
871
+ default: string;
872
+ };
873
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
874
+ open: {
875
+ type: BooleanConstructor;
876
+ required: true;
877
+ };
878
+ animation: {
879
+ type: PropType<string | DefineComponent< {}, {}, {}, ComponentComputedOptions, ComponentMethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}>>;
880
+ default: string;
881
+ };
882
+ }>>, {
883
+ animation: string | DefineComponent< {}, {}, {}, ComponentComputedOptions, ComponentMethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {}>>, {}> | (ComponentPublicInstanceConstructor<Vue3Instance< {}, Readonly<ExtractPropTypes< {}>>, Readonly<ExtractPropTypes< {}>>, {}, {}, true, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<ExtractPropTypes< {}>>> & ShallowUnwrapRef< {}> & ExtractComputedReturns<ComponentComputedOptions> & ComponentMethodOptions & ComponentCustomProperties & Readonly<ExtractPropTypes< {}>>, any, any, any, ComponentComputedOptions, ComponentMethodOptions> & ComponentOptionsBase<Readonly<ExtractPropTypes< {}>>, {}, {}, ComponentComputedOptions, ComponentMethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}> & {
884
+ props: {};
885
+ });
886
+ }>;
743
887
 
744
888
  // @public
745
889
  export class BaseVariableColumnGrid extends Vue_2 {
@@ -5946,7 +6090,9 @@ export type XStoreModuleOptions<StoreModule extends AnyXStoreModule> = StoreModu
5946
6090
 
5947
6091
  // Warnings were encountered during analysis:
5948
6092
  //
5949
- // dist/types/components/filters/labels/base-price-filter-label.vue.d.ts:12:9 - (ae-forgotten-export) The symbol "RangeValue" needs to be exported by the entry point index.d.ts
6093
+ // dist/types/components/filters/labels/base-price-filter-label.vue.d.ts:13:13 - (ae-forgotten-export) The symbol "RangeValue" needs to be exported by the entry point index.d.ts
6094
+ // dist/types/components/filters/labels/base-rating-filter-label.vue.d.ts:16:9 - (ae-forgotten-export) The symbol "BooleanFilter" needs to be exported by the entry point index.d.ts
6095
+ // dist/types/components/result/base-result-add-to-cart.vue.d.ts:17:9 - (ae-forgotten-export) The symbol "Result" needs to be exported by the entry point index.d.ts
5950
6096
  // src/x-modules/search/store/emitters.ts:13:40 - (ae-forgotten-export) The symbol "TaggingRequest" needs to be exported by the entry point index.d.ts
5951
6097
  // src/x-modules/url/store/emitters.ts:57:1 - (ae-forgotten-export) The symbol "shouldPushUrl" needs to be exported by the entry point index.d.ts
5952
6098
  // src/x-modules/url/store/emitters.ts:64:1 - (ae-forgotten-export) The symbol "shouldReplaceUrl" needs to be exported by the entry point index.d.ts
@@ -1,4 +1,4 @@
1
- import Vue, { CreateElement, VNode } from 'vue';
1
+ import { PropType, VNode } from 'vue';
2
2
  import { RangeValue } from '@empathyco/x-types';
3
3
  /**
4
4
  * Renders a label for a price filter, allowing to select different messages depending on the
@@ -6,38 +6,84 @@ import { RangeValue } from '@empathyco/x-types';
6
6
  *
7
7
  * @public
8
8
  */
9
- export default class BasePriceFilterLabel extends Vue {
9
+ declare const _default: import("vue").DefineComponent<{
10
10
  /** The filter data for get min and max value. */
11
11
  filter: {
12
- range: RangeValue;
12
+ type: PropType<{
13
+ range: RangeValue;
14
+ }>;
15
+ required: true;
13
16
  };
14
17
  /** Configuration for show the label. */
15
- format?: string;
18
+ format: {
19
+ type: StringConstructor;
20
+ };
16
21
  /**
17
22
  * Message shown when the filter hasn't got the min value defined.
18
23
  *
19
24
  * @public
20
25
  */
21
- lessThan: string;
26
+ lessThan: {
27
+ type: StringConstructor;
28
+ required: true;
29
+ };
22
30
  /**
23
31
  * Message shown when the filter has both the min and max values defined.
24
32
  *
25
33
  * @public
26
34
  */
27
- fromTo: string;
35
+ fromTo: {
36
+ type: StringConstructor;
37
+ required: true;
38
+ };
28
39
  /**
29
40
  * Message shown when the filter hasn't got max value defined.
30
41
  *
31
42
  * @public
32
43
  */
33
- from: string;
44
+ from: {
45
+ type: StringConstructor;
46
+ required: true;
47
+ };
48
+ }, () => VNode, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
49
+ /** The filter data for get min and max value. */
50
+ filter: {
51
+ type: PropType<{
52
+ range: RangeValue;
53
+ }>;
54
+ required: true;
55
+ };
56
+ /** Configuration for show the label. */
57
+ format: {
58
+ type: StringConstructor;
59
+ };
60
+ /**
61
+ * Message shown when the filter hasn't got the min value defined.
62
+ *
63
+ * @public
64
+ */
65
+ lessThan: {
66
+ type: StringConstructor;
67
+ required: true;
68
+ };
69
+ /**
70
+ * Message shown when the filter has both the min and max values defined.
71
+ *
72
+ * @public
73
+ */
74
+ fromTo: {
75
+ type: StringConstructor;
76
+ required: true;
77
+ };
34
78
  /**
35
- * The active label, retrieved from the provided props.
36
- * It depends on the min and max values of the filter.
79
+ * Message shown when the filter hasn't got max value defined.
37
80
  *
38
- * @returns The active label to be formatted with the min and max values of the filter.
81
+ * @public
39
82
  */
40
- protected get label(): string;
41
- render(createElement: CreateElement): VNode;
42
- }
83
+ from: {
84
+ type: StringConstructor;
85
+ required: true;
86
+ };
87
+ }>>, {}>;
88
+ export default _default;
43
89
  //# sourceMappingURL=base-price-filter-label.vue?rollup-plugin-vue=script.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-price-filter-label.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/components/filters/labels/base-price-filter-label.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AACE,OAAO,GAAG,EAAE,EAAE,aAAa,EAAE,KAAK,EAAiB,MAAM,KAAK,CAAC;AAE/D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD;;;;;GAKG;AAIH,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,GAAG;IACnD,iDAAiD;IAE1C,MAAM,EAAG;QAAE,KAAK,EAAE,UAAU,CAAA;KAAE,CAAC;IAEtC,wCAAwC;IAEjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;OAIG;IAEI,QAAQ,EAAG,MAAM,CAAC;IAEzB;;;;OAIG;IAEI,MAAM,EAAG,MAAM,CAAC;IAEvB;;;;OAIG;IAEI,IAAI,EAAG,MAAM,CAAC;IAErB;;;;;OAKG;IACH,SAAS,KAAK,KAAK,IAAI,MAAM,CAM5B;IAED,MAAM,CAAC,aAAa,EAAE,aAAa,GAAG,KAAK;CAwB5C"}
1
+ {"version":3,"file":"base-price-filter-label.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/components/filters/labels/base-price-filter-label.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AACE,OAAO,EAAgC,QAAQ,EAAE,KAAK,EAAiB,MAAM,KAAK,CAAC;AACnF,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD;;;;;GAKG;;IAIC,iDAAiD;;;mBAEb,UAAU;;;;IAG9C,wCAAwC;;;;IAIxC;;;;OAIG;;;;;IAKH;;;;OAIG;;;;;IAKH;;;;OAIG;;;;;SAqBgB,KAAK;IApDxB,iDAAiD;;;mBAEb,UAAU;;;;IAG9C,wCAAwC;;;;IAIxC;;;;OAIG;;;;;IAKH;;;;OAIG;;;;;IAKH;;;;OAIG;;;;;;AAlCP,wBAkFG"}
@@ -1,31 +1,53 @@
1
1
  import { BooleanFilter } from '@empathyco/x-types';
2
- import Vue from 'vue';
2
+ import { PropType } from 'vue';
3
3
  /**
4
4
  * Renders a label for a rating filter, allowing to override the elements used to paint
5
5
  * the rating.
6
6
  *
7
7
  * @public
8
8
  */
9
- export default class BaseRatingFilterLabel extends Vue {
9
+ declare const _default: import("vue").DefineComponent<{
10
10
  /**
11
11
  * The filter data to render.
12
12
  *
13
13
  * @public
14
- * */
15
- filter: BooleanFilter;
14
+ */
15
+ filter: {
16
+ type: PropType<BooleanFilter>;
17
+ required: true;
18
+ };
16
19
  /**
17
20
  * Maximum number of elements to paint.
18
21
  *
19
22
  * @public
20
23
  */
21
- protected max: number;
24
+ max: {
25
+ type: NumberConstructor;
26
+ default: number;
27
+ };
28
+ }, {
29
+ value: import("vue").ComputedRef<number>;
30
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
22
31
  /**
23
- * Converts the label string into a number.
32
+ * The filter data to render.
24
33
  *
25
- * @returns The label as number or 0 if it is not a valid number.
34
+ * @public
35
+ */
36
+ filter: {
37
+ type: PropType<BooleanFilter>;
38
+ required: true;
39
+ };
40
+ /**
41
+ * Maximum number of elements to paint.
26
42
  *
27
- * @internal
28
- * */
29
- protected get value(): number;
30
- }
43
+ * @public
44
+ */
45
+ max: {
46
+ type: NumberConstructor;
47
+ default: number;
48
+ };
49
+ }>>, {
50
+ max: number;
51
+ }>;
52
+ export default _default;
31
53
  //# sourceMappingURL=base-rating-filter-label.vue?rollup-plugin-vue=script.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-rating-filter-label.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/components/filters/labels/base-rating-filter-label.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAkBE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,GAAG,MAAM,KAAK,CAAC;AAItB;;;;;GAKG;AAMH,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,GAAG;IACpD;;;;SAIK;IAEE,MAAM,EAAG,aAAa,CAAC;IAE9B;;;;OAIG;IAEH,SAAS,CAAC,GAAG,EAAG,MAAM,CAAC;IAEvB;;;;;;SAMK;IACL,SAAS,KAAK,KAAK,IAAI,MAAM,CAG5B;CACF"}
1
+ {"version":3,"file":"base-rating-filter-label.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../../src/components/filters/labels/base-rating-filter-label.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAkBE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAA6B,QAAQ,EAAE,MAAM,KAAK,CAAC;AAG1D;;;;;GAKG;;IAMC;;;;OAIG;;;;;IAKH;;;;OAIG;;;;;;;;IAbH;;;;OAIG;;;;;IAKH;;;;OAIG;;;;;;;;AAlBP,wBAyCG"}
@@ -1,4 +1,5 @@
1
1
  import Vue from 'vue';
2
+ import { AnimationProp } from '../../types/animation-prop';
2
3
  /**
3
4
  * Toggle panel which uses the base toggle panel, adds a header and manage the
4
5
  * open / close state of the panel.
@@ -11,7 +12,7 @@ export default class BaseHeaderTogglePanel extends Vue {
11
12
  *
12
13
  * @public
13
14
  */
14
- protected animation: Vue | string;
15
+ protected animation: typeof AnimationProp;
15
16
  /**
16
17
  * Handles if the panel is open by default.
17
18
  *
@@ -1 +1 @@
1
- {"version":3,"file":"base-header-toggle-panel.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../src/components/panels/base-header-toggle-panel.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAwBE,OAAO,GAAG,MAAM,KAAK,CAAC;AAMtB;;;;;GAKG;AAKH,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,GAAG;IACpD;;;;OAIG;IAEH,SAAS,CAAC,SAAS,EAAG,GAAG,GAAG,MAAM,CAAC;IAEnC;;;;OAIG;IAEH,SAAS,CAAC,cAAc,EAAG,OAAO,CAAC;IAEnC;;;;OAIG;IACH,SAAS,CAAC,IAAI,UAAwB;IAEtC;;;;OAIG;IACH,SAAS,CAAC,UAAU,IAAI,IAAI;IAK5B;;;;OAIG;IACH,SAAS,CAAC,mBAAmB,IAAI,IAAI;CAGtC"}
1
+ {"version":3,"file":"base-header-toggle-panel.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../src/components/panels/base-header-toggle-panel.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAwBE,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAK3D;;;;;GAKG;AAKH,MAAM,CAAC,OAAO,OAAO,qBAAsB,SAAQ,GAAG;IACpD;;;;OAIG;IAEH,SAAS,CAAC,SAAS,EAAG,OAAO,aAAa,CAAC;IAC3C;;;;OAIG;IAEH,SAAS,CAAC,cAAc,EAAG,OAAO,CAAC;IACnC;;;;OAIG;IACH,SAAS,CAAC,IAAI,UAAwB;IACtC;;;;OAIG;IACH,SAAS,CAAC,UAAU,IAAI,IAAI;IAI5B;;;;OAIG;IACH,SAAS,CAAC,mBAAmB,IAAI,IAAI;CAGtC"}
@@ -1,23 +1,53 @@
1
- import Vue from 'vue';
2
1
  /**
3
2
  * Simple panel that receives its open state via prop, which is responsible of rendering
4
3
  * default slot inside a configurable transition.
5
4
  *
6
5
  * @public
7
6
  */
8
- export default class BaseTogglePanel extends Vue {
7
+ declare const _default: import("vue").DefineComponent<{
9
8
  /**
10
9
  * Handles if the panel is rendered. It is used with v-if instead of v-show to get better
11
10
  * performance.
12
11
  *
13
12
  * @public
14
13
  */
15
- protected open: boolean;
14
+ open: {
15
+ type: BooleanConstructor;
16
+ required: true;
17
+ };
16
18
  /**
17
19
  * Animation component that will be used to animate the panel content.
18
20
  *
19
21
  * @public
20
22
  */
21
- protected animation: Vue | string;
22
- }
23
+ animation: {
24
+ type: import("vue").PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComponentComputedOptions, import("vue").ComponentMethodOptions, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
25
+ default: string;
26
+ };
27
+ }, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
28
+ /**
29
+ * Handles if the panel is rendered. It is used with v-if instead of v-show to get better
30
+ * performance.
31
+ *
32
+ * @public
33
+ */
34
+ open: {
35
+ type: BooleanConstructor;
36
+ required: true;
37
+ };
38
+ /**
39
+ * Animation component that will be used to animate the panel content.
40
+ *
41
+ * @public
42
+ */
43
+ animation: {
44
+ type: import("vue").PropType<string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComponentComputedOptions, import("vue").ComponentMethodOptions, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
45
+ default: string;
46
+ };
47
+ }>>, {
48
+ animation: string | import("vue").DefineComponent<{}, {}, {}, import("vue").ComponentComputedOptions, import("vue").ComponentMethodOptions, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}> | (import("vue/types/v3-component-public-instance").ComponentPublicInstanceConstructor<import("vue/types/v3-component-public-instance").Vue3Instance<{}, Readonly<import("vue").ExtractPropTypes<{}>>, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue").ExtractPropTypes<{}>>> & import("vue").ShallowUnwrapRef<{}> & import("vue/types/v3-component-options").ExtractComputedReturns<import("vue").ComponentComputedOptions> & import("vue").ComponentMethodOptions & import("vue").ComponentCustomProperties & Readonly<import("vue").ExtractPropTypes<{}>>, any, any, any, import("vue").ComponentComputedOptions, import("vue").ComponentMethodOptions> & import("vue/types/v3-component-options").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, import("vue").ComponentComputedOptions, import("vue").ComponentMethodOptions, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, {}> & {
49
+ props: {};
50
+ });
51
+ }>;
52
+ export default _default;
23
53
  //# sourceMappingURL=base-toggle-panel.vue?rollup-plugin-vue=script.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-toggle-panel.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../src/components/panels/base-toggle-panel.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAUE,OAAO,GAAG,MAAM,KAAK,CAAC;AAGtB;;;;;GAKG;AAEH,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,GAAG;IAC9C;;;;;OAKG;IAEH,SAAS,CAAC,IAAI,EAAG,OAAO,CAAC;IAEzB;;;;OAIG;IAEH,SAAS,CAAC,SAAS,EAAG,GAAG,GAAG,MAAM,CAAC;CACpC"}
1
+ {"version":3,"file":"base-toggle-panel.vue?rollup-plugin-vue=script.d.ts","sourceRoot":"","sources":["../../../../src/components/panels/base-toggle-panel.vue?rollup-plugin-vue=script.ts"],"names":[],"mappings":"AAaE;;;;;GAKG;;IAGC;;;;;OAKG;;;;;IAKH;;;;OAIG;;;;;;IAdH;;;;;OAKG;;;;;IAKH;;;;OAIG;;;;;;;;;;AAhBP,wBAsBG"}