@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.
- package/CHANGELOG.md +26 -0
- package/design-system/deprecated-full-theme.css +71 -71
- package/docs/API-reference/api/x-components.baseaddtocart.md +14 -11
- package/docs/API-reference/api/x-components.baseheadertogglepanel.animation.md +1 -1
- package/docs/API-reference/api/x-components.baseheadertogglepanel.md +1 -1
- package/docs/API-reference/api/x-components.basepricefilterlabel.md +46 -21
- package/docs/API-reference/api/x-components.baseratingfilterlabel.md +24 -11
- package/docs/API-reference/api/x-components.baseresultcurrentprice.md +20 -11
- package/docs/API-reference/api/x-components.baseresultimage.md +50 -13
- package/docs/API-reference/api/x-components.baseresultlink.md +15 -10
- package/docs/API-reference/api/x-components.baseresultpreviousprice.md +18 -11
- package/docs/API-reference/api/x-components.baseresultrating.md +20 -11
- package/docs/API-reference/api/x-components.basetogglepanel.md +24 -11
- package/docs/API-reference/api/x-components.md +9 -9
- package/js/components/filters/labels/base-price-filter-label.vue.js.map +1 -1
- package/js/components/filters/labels/base-price-filter-label.vue_rollup-plugin-vue_script.vue.js +79 -60
- package/js/components/filters/labels/base-price-filter-label.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/components/filters/labels/base-rating-filter-label.vue.js.map +1 -1
- package/js/components/filters/labels/base-rating-filter-label.vue_rollup-plugin-vue_script.vue.js +41 -29
- package/js/components/filters/labels/base-rating-filter-label.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/components/panels/base-header-toggle-panel.vue.js +1 -1
- package/js/components/panels/base-header-toggle-panel.vue.js.map +1 -1
- package/js/components/panels/base-header-toggle-panel.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/components/panels/base-header-toggle-panel.vue_rollup-plugin-vue_styles.0.vue.js +1 -1
- package/js/components/panels/base-toggle-panel.vue.js.map +1 -1
- package/js/components/panels/base-toggle-panel.vue_rollup-plugin-vue_script.vue.js +25 -15
- package/js/components/panels/base-toggle-panel.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/components/result/base-result-add-to-cart.vue.js.map +1 -1
- package/js/components/result/base-result-add-to-cart.vue_rollup-plugin-vue_script.vue.js +29 -23
- package/js/components/result/base-result-add-to-cart.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/components/result/base-result-current-price.vue.js.map +1 -1
- package/js/components/result/base-result-current-price.vue_rollup-plugin-vue_script.vue.js +47 -26
- package/js/components/result/base-result-current-price.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/components/result/base-result-image.vue.js +1 -1
- package/js/components/result/base-result-image.vue.js.map +1 -1
- package/js/components/result/base-result-image.vue_rollup-plugin-vue_script.vue.js +125 -96
- package/js/components/result/base-result-image.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/components/result/base-result-image.vue_rollup-plugin-vue_styles.0.vue.js +1 -1
- package/js/components/result/base-result-link.vue.js +2 -1
- package/js/components/result/base-result-link.vue.js.map +1 -1
- package/js/components/result/base-result-link.vue_rollup-plugin-vue_script.vue.js +46 -27
- package/js/components/result/base-result-link.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/components/result/base-result-link.vue_rollup-plugin-vue_styles.0.vue.js +1 -1
- package/js/components/result/base-result-previous-price.vue.js.map +1 -1
- package/js/components/result/base-result-previous-price.vue_rollup-plugin-vue_script.vue.js +34 -17
- package/js/components/result/base-result-previous-price.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/components/result/base-result-rating.vue.js +2 -1
- package/js/components/result/base-result-rating.vue.js.map +1 -1
- package/js/components/result/base-result-rating.vue_rollup-plugin-vue_script.vue.js +44 -27
- package/js/components/result/base-result-rating.vue_rollup-plugin-vue_script.vue.js.map +1 -1
- package/js/components/result/base-result-rating.vue_rollup-plugin-vue_styles.0.vue.js +1 -1
- package/js/utils/options-api.js +4 -0
- package/js/utils/options-api.js.map +1 -0
- package/package.json +6 -6
- package/report/x-components.api.json +3107 -1695
- package/report/x-components.api.md +228 -82
- package/types/components/filters/labels/base-price-filter-label.vue.d.ts +59 -13
- package/types/components/filters/labels/base-price-filter-label.vue.d.ts.map +1 -1
- package/types/components/filters/labels/base-rating-filter-label.vue.d.ts +33 -11
- package/types/components/filters/labels/base-rating-filter-label.vue.d.ts.map +1 -1
- package/types/components/panels/base-header-toggle-panel.vue.d.ts +2 -1
- package/types/components/panels/base-header-toggle-panel.vue.d.ts.map +1 -1
- package/types/components/panels/base-toggle-panel.vue.d.ts +35 -5
- package/types/components/panels/base-toggle-panel.vue.d.ts.map +1 -1
- package/types/components/result/base-result-add-to-cart.vue.d.ts +16 -8
- package/types/components/result/base-result-add-to-cart.vue.d.ts.map +1 -1
- package/types/components/result/base-result-current-price.vue.d.ts +40 -10
- package/types/components/result/base-result-current-price.vue.d.ts.map +1 -1
- package/types/components/result/base-result-image.vue.d.ts +60 -70
- package/types/components/result/base-result-image.vue.d.ts.map +1 -1
- package/types/components/result/base-result-link.vue.d.ts +18 -23
- package/types/components/result/base-result-link.vue.d.ts.map +1 -1
- package/types/components/result/base-result-previous-price.vue.d.ts +40 -5
- package/types/components/result/base-result-previous-price.vue.d.ts.map +1 -1
- package/types/components/result/base-result-rating.vue.d.ts +28 -9
- package/types/components/result/base-result-rating.vue.d.ts.map +1 -1
- package/types/utils/options-api.d.ts +3 -0
- package/types/utils/options-api.d.ts.map +1 -0
- package/docs/API-reference/api/x-components.baseaddtocart.events.md +0 -13
- package/docs/API-reference/api/x-components.baseaddtocart.result.md +0 -13
- package/docs/API-reference/api/x-components.basepricefilterlabel.filter.md +0 -15
- package/docs/API-reference/api/x-components.basepricefilterlabel.format.md +0 -13
- package/docs/API-reference/api/x-components.basepricefilterlabel.from.md +0 -13
- package/docs/API-reference/api/x-components.basepricefilterlabel.fromto.md +0 -13
- package/docs/API-reference/api/x-components.basepricefilterlabel.label.md +0 -13
- package/docs/API-reference/api/x-components.basepricefilterlabel.lessthan.md +0 -13
- package/docs/API-reference/api/x-components.basepricefilterlabel.render.md +0 -22
- package/docs/API-reference/api/x-components.baseratingfilterlabel.filter.md +0 -13
- package/docs/API-reference/api/x-components.baseratingfilterlabel.max.md +0 -13
- package/docs/API-reference/api/x-components.baseresultcurrentprice.format.md +0 -18
- package/docs/API-reference/api/x-components.baseresultcurrentprice.result.md +0 -13
- package/docs/API-reference/api/x-components.baseresultimage.hoveranimation.md +0 -13
- package/docs/API-reference/api/x-components.baseresultimage.loadanimation.md +0 -13
- package/docs/API-reference/api/x-components.baseresultimage.result.md +0 -13
- package/docs/API-reference/api/x-components.baseresultimage.shownextimageonhover.md +0 -13
- package/docs/API-reference/api/x-components.baseresultlink.result.md +0 -13
- package/docs/API-reference/api/x-components.baseresultpreviousprice.format.md +0 -18
- package/docs/API-reference/api/x-components.baseresultpreviousprice.result.md +0 -13
- package/docs/API-reference/api/x-components.baseresultrating.link.md +0 -13
- package/docs/API-reference/api/x-components.baseresultrating.result.md +0 -13
- package/docs/API-reference/api/x-components.basetogglepanel.animation.md +0 -13
- 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
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
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:
|
|
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
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
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
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
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
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
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
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
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
|
-
|
|
638
|
-
protected userHasHoveredImage: boolean;
|
|
639
|
-
}
|
|
734
|
+
}>;
|
|
640
735
|
|
|
641
736
|
// @public
|
|
642
|
-
export
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
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
|
|
654
|
-
|
|
655
|
-
|
|
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
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
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
|
|
740
|
-
|
|
741
|
-
|
|
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:
|
|
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
|
|
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
|
-
|
|
9
|
+
declare const _default: import("vue").DefineComponent<{
|
|
10
10
|
/** The filter data for get min and max value. */
|
|
11
11
|
filter: {
|
|
12
|
-
|
|
12
|
+
type: PropType<{
|
|
13
|
+
range: RangeValue;
|
|
14
|
+
}>;
|
|
15
|
+
required: true;
|
|
13
16
|
};
|
|
14
17
|
/** Configuration for show the label. */
|
|
15
|
-
format
|
|
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:
|
|
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:
|
|
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:
|
|
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
|
-
*
|
|
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
|
-
* @
|
|
81
|
+
* @public
|
|
39
82
|
*/
|
|
40
|
-
|
|
41
|
-
|
|
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,
|
|
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
|
|
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
|
-
|
|
9
|
+
declare const _default: import("vue").DefineComponent<{
|
|
10
10
|
/**
|
|
11
11
|
* The filter data to render.
|
|
12
12
|
*
|
|
13
13
|
* @public
|
|
14
|
-
|
|
15
|
-
filter:
|
|
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
|
-
|
|
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
|
-
*
|
|
32
|
+
* The filter data to render.
|
|
24
33
|
*
|
|
25
|
-
* @
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
filter: {
|
|
37
|
+
type: PropType<BooleanFilter>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Maximum number of elements to paint.
|
|
26
42
|
*
|
|
27
|
-
* @
|
|
28
|
-
|
|
29
|
-
|
|
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,
|
|
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:
|
|
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;
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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":"
|
|
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"}
|