@inno_user/inno_clouds_lib 9.4.3 → 9.4.4

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.
@@ -1,3 +1,17 @@
1
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<ExtractPropTypes<{
3
+ color: {
4
+ type: StringConstructor;
5
+ required: false;
6
+ default: string;
7
+ };
8
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
9
+ color: {
10
+ type: StringConstructor;
11
+ required: false;
12
+ default: string;
13
+ };
14
+ }>> & Readonly<{}>, {
15
+ color: string;
16
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
3
17
  export default _default;
@@ -3,7 +3,9 @@ type __VLS_Props = {
3
3
  qr_menu?: boolean;
4
4
  closeProduct?: () => void;
5
5
  };
6
- declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
6
+ declare const _default: DefineComponent<__VLS_Props, {
7
+ addProductToCart: () => void;
8
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
9
  qr_menu: boolean;
8
10
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
9
11
  export default _default;
@@ -1,10 +1,83 @@
1
+ import { nextTick, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, GlobalComponents, GlobalDirectives, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
1
2
  import { IGroupModifiers } from '../../../types/iCardProduct';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ import { OnCleanup } from '@vue/reactivity';
3
4
  type __VLS_Props = {
4
5
  isSectionModifier: boolean;
5
6
  toggleNotRequire: (group: IGroupModifiers, index: number) => void;
6
7
  };
7
8
  declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
8
9
  scrollPlusContainer: HTMLDivElement;
10
+ scrollCenterRef: ({
11
+ $: ComponentInternalInstance;
12
+ $data: {};
13
+ $props: {
14
+ readonly axis: "x" | "y";
15
+ readonly behavior: "auto" | "smooth";
16
+ readonly autoScroll: boolean;
17
+ readonly container: HTMLElement | string | null;
18
+ readonly idActive: string | null;
19
+ readonly clearContainer: boolean;
20
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
21
+ $attrs: {
22
+ [x: string]: unknown;
23
+ };
24
+ $refs: {
25
+ [x: string]: unknown;
26
+ } & {
27
+ wrapperRef: HTMLDivElement;
28
+ };
29
+ $slots: Readonly<{
30
+ [name: string]: Slot<any> | undefined;
31
+ }>;
32
+ $root: ComponentPublicInstance | null;
33
+ $parent: ComponentPublicInstance | null;
34
+ $host: Element | null;
35
+ $emit: (event: string, ...args: any[]) => void;
36
+ $el: HTMLDivElement;
37
+ $options: ComponentOptionsBase<Readonly<{
38
+ axis: "x" | "y";
39
+ behavior: "auto" | "smooth";
40
+ autoScroll: boolean;
41
+ container: HTMLElement | string | null;
42
+ idActive: string | null;
43
+ clearContainer: boolean;
44
+ }> & Readonly<{}>, {
45
+ scrollToElement: (targetElement: HTMLElement) => Promise<void>;
46
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
47
+ beforeCreate?: (() => void) | (() => void)[];
48
+ created?: (() => void) | (() => void)[];
49
+ beforeMount?: (() => void) | (() => void)[];
50
+ mounted?: (() => void) | (() => void)[];
51
+ beforeUpdate?: (() => void) | (() => void)[];
52
+ updated?: (() => void) | (() => void)[];
53
+ activated?: (() => void) | (() => void)[];
54
+ deactivated?: (() => void) | (() => void)[];
55
+ beforeDestroy?: (() => void) | (() => void)[];
56
+ beforeUnmount?: (() => void) | (() => void)[];
57
+ destroyed?: (() => void) | (() => void)[];
58
+ unmounted?: (() => void) | (() => void)[];
59
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
60
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
61
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
62
+ };
63
+ $forceUpdate: () => void;
64
+ $nextTick: typeof nextTick;
65
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
66
+ } & Readonly<{}> & Omit<Readonly<{
67
+ axis: "x" | "y";
68
+ behavior: "auto" | "smooth";
69
+ autoScroll: boolean;
70
+ container: HTMLElement | string | null;
71
+ idActive: string | null;
72
+ clearContainer: boolean;
73
+ }> & Readonly<{}>, "scrollToElement"> & ShallowUnwrapRef<{
74
+ scrollToElement: (targetElement: HTMLElement) => Promise<void>;
75
+ }> & {} & ComponentCustomProperties & {} & {
76
+ $slots: {
77
+ default?(_: {
78
+ handleTargetClick: (event: Event) => Promise<void>;
79
+ }): any;
80
+ };
81
+ }) | null;
9
82
  }, HTMLDivElement>;
10
83
  export default _default;
@@ -1,9 +1,11 @@
1
1
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
2
  declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3
3
  close: () => any;
4
+ "add-to-cart": () => any;
4
5
  }, string, PublicProps, Readonly<{}> & Readonly<{
5
6
  onClose?: (() => any) | undefined;
7
+ "onAdd-to-cart"?: (() => any) | undefined;
6
8
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {
7
9
  modifierBody: HTMLDivElement;
8
- }, HTMLDivElement>;
10
+ }, any>;
9
11
  export default _default;
@@ -405,6 +405,50 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
405
405
  isSectionModifier: boolean;
406
406
  isAnimationFly: boolean;
407
407
  textErrorRequaired: string;
408
+ prevLast: {
409
+ id: string;
410
+ name: string;
411
+ required: boolean;
412
+ min_amount: number;
413
+ max_amount: number;
414
+ default_amount: number;
415
+ description: string;
416
+ image_link: null | string;
417
+ group_modifiers: {
418
+ id: string;
419
+ name: string;
420
+ price: number;
421
+ total_new_price?: number | null | undefined;
422
+ amount: number;
423
+ required: boolean;
424
+ max_amount: number;
425
+ min_amount: number;
426
+ image_link?: string | undefined;
427
+ video_link?: string | undefined;
428
+ default_amount: number;
429
+ add: boolean;
430
+ breakModifier?: boolean | undefined;
431
+ sizes: {
432
+ id: string;
433
+ title: string;
434
+ index: number;
435
+ is_default: boolean;
436
+ price?: number | undefined;
437
+ }[];
438
+ size?: {
439
+ id: string;
440
+ title: string;
441
+ index: number;
442
+ is_default: boolean;
443
+ price?: number | undefined;
444
+ } | null | undefined;
445
+ is_fake?: boolean | undefined;
446
+ is_od_united_product?: boolean | undefined;
447
+ }[];
448
+ is_fake?: boolean | undefined;
449
+ is_od_united_product?: boolean | undefined;
450
+ is_product_determining?: boolean | undefined;
451
+ };
408
452
  }, {
409
453
  openCard: IProduct | null;
410
454
  currentModifier: ISelectModifiers | null;
@@ -420,6 +464,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
420
464
  isSectionModifier: boolean;
421
465
  isAnimationFly: boolean;
422
466
  textErrorRequaired: string;
467
+ prevLast: IGroupModifiers;
423
468
  } | {
424
469
  openCard: {
425
470
  id: string;
@@ -823,6 +868,50 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
823
868
  isSectionModifier: boolean;
824
869
  isAnimationFly: boolean;
825
870
  textErrorRequaired: string;
871
+ prevLast: {
872
+ id: string;
873
+ name: string;
874
+ required: boolean;
875
+ min_amount: number;
876
+ max_amount: number;
877
+ default_amount: number;
878
+ description: string;
879
+ image_link: null | string;
880
+ group_modifiers: {
881
+ id: string;
882
+ name: string;
883
+ price: number;
884
+ total_new_price?: number | null | undefined;
885
+ amount: number;
886
+ required: boolean;
887
+ max_amount: number;
888
+ min_amount: number;
889
+ image_link?: string | undefined;
890
+ video_link?: string | undefined;
891
+ default_amount: number;
892
+ add: boolean;
893
+ breakModifier?: boolean | undefined;
894
+ sizes: {
895
+ id: string;
896
+ title: string;
897
+ index: number;
898
+ is_default: boolean;
899
+ price?: number | undefined;
900
+ }[];
901
+ size?: {
902
+ id: string;
903
+ title: string;
904
+ index: number;
905
+ is_default: boolean;
906
+ price?: number | undefined;
907
+ } | null | undefined;
908
+ is_fake?: boolean | undefined;
909
+ is_od_united_product?: boolean | undefined;
910
+ }[];
911
+ is_fake?: boolean | undefined;
912
+ is_od_united_product?: boolean | undefined;
913
+ is_product_determining?: boolean | undefined;
914
+ };
826
915
  }>;
827
916
  totalPrice_libCard: ComputedRef<number>;
828
917
  recountGroupTotalAmount: ComputedRef<number>;
@@ -887,15 +976,20 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
887
976
  visible: boolean;
888
977
  }>;
889
978
  is_startPage: Ref<boolean, boolean>;
979
+ isLastGroup: ComputedRef<boolean>;
890
980
  setProduct: (products: any) => void;
891
981
  summModifierAmount: (groupIndex: number) => number;
892
982
  setAddedProducts: (product: IProduct) => void;
893
983
  setCurrentCard: (card: any) => void;
894
984
  minusAmount: () => void;
895
985
  plusAmount: () => void;
896
- toggleNotRequire: (group: IGroupModifiers, index: number) => void;
986
+ toggleNotRequire: (group: IGroupModifiers, index?: number, isFollow?: boolean) => void;
897
987
  modifierSelect: (modifier: ISelectModifiers, isDefault?: boolean) => void;
898
988
  defaultAmountModifiers: () => void;
989
+ validateGroup: (groupIndex: number) => {
990
+ valid: boolean;
991
+ errorText?: string;
992
+ };
899
993
  reset: () => {
900
994
  openCard: IProduct | null;
901
995
  currentModifier: ISelectModifiers | null;
@@ -911,6 +1005,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
911
1005
  isSectionModifier: boolean;
912
1006
  isAnimationFly: boolean;
913
1007
  textErrorRequaired: string;
1008
+ prevLast: IGroupModifiers;
914
1009
  };
915
1010
  }, "stateCard" | "isOpenWindow" | "isUpSale" | "dataUpSale" | "productCards" | "isAddToCard" | "openProduct" | "is_startPage">, Pick<{
916
1011
  stateCard: Ref<{
@@ -1316,6 +1411,50 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
1316
1411
  isSectionModifier: boolean;
1317
1412
  isAnimationFly: boolean;
1318
1413
  textErrorRequaired: string;
1414
+ prevLast: {
1415
+ id: string;
1416
+ name: string;
1417
+ required: boolean;
1418
+ min_amount: number;
1419
+ max_amount: number;
1420
+ default_amount: number;
1421
+ description: string;
1422
+ image_link: null | string;
1423
+ group_modifiers: {
1424
+ id: string;
1425
+ name: string;
1426
+ price: number;
1427
+ total_new_price?: number | null | undefined;
1428
+ amount: number;
1429
+ required: boolean;
1430
+ max_amount: number;
1431
+ min_amount: number;
1432
+ image_link?: string | undefined;
1433
+ video_link?: string | undefined;
1434
+ default_amount: number;
1435
+ add: boolean;
1436
+ breakModifier?: boolean | undefined;
1437
+ sizes: {
1438
+ id: string;
1439
+ title: string;
1440
+ index: number;
1441
+ is_default: boolean;
1442
+ price?: number | undefined;
1443
+ }[];
1444
+ size?: {
1445
+ id: string;
1446
+ title: string;
1447
+ index: number;
1448
+ is_default: boolean;
1449
+ price?: number | undefined;
1450
+ } | null | undefined;
1451
+ is_fake?: boolean | undefined;
1452
+ is_od_united_product?: boolean | undefined;
1453
+ }[];
1454
+ is_fake?: boolean | undefined;
1455
+ is_od_united_product?: boolean | undefined;
1456
+ is_product_determining?: boolean | undefined;
1457
+ };
1319
1458
  }, {
1320
1459
  openCard: IProduct | null;
1321
1460
  currentModifier: ISelectModifiers | null;
@@ -1331,6 +1470,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
1331
1470
  isSectionModifier: boolean;
1332
1471
  isAnimationFly: boolean;
1333
1472
  textErrorRequaired: string;
1473
+ prevLast: IGroupModifiers;
1334
1474
  } | {
1335
1475
  openCard: {
1336
1476
  id: string;
@@ -1734,6 +1874,50 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
1734
1874
  isSectionModifier: boolean;
1735
1875
  isAnimationFly: boolean;
1736
1876
  textErrorRequaired: string;
1877
+ prevLast: {
1878
+ id: string;
1879
+ name: string;
1880
+ required: boolean;
1881
+ min_amount: number;
1882
+ max_amount: number;
1883
+ default_amount: number;
1884
+ description: string;
1885
+ image_link: null | string;
1886
+ group_modifiers: {
1887
+ id: string;
1888
+ name: string;
1889
+ price: number;
1890
+ total_new_price?: number | null | undefined;
1891
+ amount: number;
1892
+ required: boolean;
1893
+ max_amount: number;
1894
+ min_amount: number;
1895
+ image_link?: string | undefined;
1896
+ video_link?: string | undefined;
1897
+ default_amount: number;
1898
+ add: boolean;
1899
+ breakModifier?: boolean | undefined;
1900
+ sizes: {
1901
+ id: string;
1902
+ title: string;
1903
+ index: number;
1904
+ is_default: boolean;
1905
+ price?: number | undefined;
1906
+ }[];
1907
+ size?: {
1908
+ id: string;
1909
+ title: string;
1910
+ index: number;
1911
+ is_default: boolean;
1912
+ price?: number | undefined;
1913
+ } | null | undefined;
1914
+ is_fake?: boolean | undefined;
1915
+ is_od_united_product?: boolean | undefined;
1916
+ }[];
1917
+ is_fake?: boolean | undefined;
1918
+ is_od_united_product?: boolean | undefined;
1919
+ is_product_determining?: boolean | undefined;
1920
+ };
1737
1921
  }>;
1738
1922
  totalPrice_libCard: ComputedRef<number>;
1739
1923
  recountGroupTotalAmount: ComputedRef<number>;
@@ -1798,15 +1982,20 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
1798
1982
  visible: boolean;
1799
1983
  }>;
1800
1984
  is_startPage: Ref<boolean, boolean>;
1985
+ isLastGroup: ComputedRef<boolean>;
1801
1986
  setProduct: (products: any) => void;
1802
1987
  summModifierAmount: (groupIndex: number) => number;
1803
1988
  setAddedProducts: (product: IProduct) => void;
1804
1989
  setCurrentCard: (card: any) => void;
1805
1990
  minusAmount: () => void;
1806
1991
  plusAmount: () => void;
1807
- toggleNotRequire: (group: IGroupModifiers, index: number) => void;
1992
+ toggleNotRequire: (group: IGroupModifiers, index?: number, isFollow?: boolean) => void;
1808
1993
  modifierSelect: (modifier: ISelectModifiers, isDefault?: boolean) => void;
1809
1994
  defaultAmountModifiers: () => void;
1995
+ validateGroup: (groupIndex: number) => {
1996
+ valid: boolean;
1997
+ errorText?: string;
1998
+ };
1810
1999
  reset: () => {
1811
2000
  openCard: IProduct | null;
1812
2001
  currentModifier: ISelectModifiers | null;
@@ -1822,8 +2011,9 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
1822
2011
  isSectionModifier: boolean;
1823
2012
  isAnimationFly: boolean;
1824
2013
  textErrorRequaired: string;
2014
+ prevLast: IGroupModifiers;
1825
2015
  };
1826
- }, "totalPrice_libCard" | "recountGroupTotalAmount" | "groupTotalAmount" | "checkedRequiredBtn">, Pick<{
2016
+ }, "totalPrice_libCard" | "recountGroupTotalAmount" | "groupTotalAmount" | "checkedRequiredBtn" | "isLastGroup">, Pick<{
1827
2017
  stateCard: Ref<{
1828
2018
  openCard: {
1829
2019
  id: string;
@@ -2227,6 +2417,50 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
2227
2417
  isSectionModifier: boolean;
2228
2418
  isAnimationFly: boolean;
2229
2419
  textErrorRequaired: string;
2420
+ prevLast: {
2421
+ id: string;
2422
+ name: string;
2423
+ required: boolean;
2424
+ min_amount: number;
2425
+ max_amount: number;
2426
+ default_amount: number;
2427
+ description: string;
2428
+ image_link: null | string;
2429
+ group_modifiers: {
2430
+ id: string;
2431
+ name: string;
2432
+ price: number;
2433
+ total_new_price?: number | null | undefined;
2434
+ amount: number;
2435
+ required: boolean;
2436
+ max_amount: number;
2437
+ min_amount: number;
2438
+ image_link?: string | undefined;
2439
+ video_link?: string | undefined;
2440
+ default_amount: number;
2441
+ add: boolean;
2442
+ breakModifier?: boolean | undefined;
2443
+ sizes: {
2444
+ id: string;
2445
+ title: string;
2446
+ index: number;
2447
+ is_default: boolean;
2448
+ price?: number | undefined;
2449
+ }[];
2450
+ size?: {
2451
+ id: string;
2452
+ title: string;
2453
+ index: number;
2454
+ is_default: boolean;
2455
+ price?: number | undefined;
2456
+ } | null | undefined;
2457
+ is_fake?: boolean | undefined;
2458
+ is_od_united_product?: boolean | undefined;
2459
+ }[];
2460
+ is_fake?: boolean | undefined;
2461
+ is_od_united_product?: boolean | undefined;
2462
+ is_product_determining?: boolean | undefined;
2463
+ };
2230
2464
  }, {
2231
2465
  openCard: IProduct | null;
2232
2466
  currentModifier: ISelectModifiers | null;
@@ -2242,6 +2476,7 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
2242
2476
  isSectionModifier: boolean;
2243
2477
  isAnimationFly: boolean;
2244
2478
  textErrorRequaired: string;
2479
+ prevLast: IGroupModifiers;
2245
2480
  } | {
2246
2481
  openCard: {
2247
2482
  id: string;
@@ -2645,6 +2880,50 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
2645
2880
  isSectionModifier: boolean;
2646
2881
  isAnimationFly: boolean;
2647
2882
  textErrorRequaired: string;
2883
+ prevLast: {
2884
+ id: string;
2885
+ name: string;
2886
+ required: boolean;
2887
+ min_amount: number;
2888
+ max_amount: number;
2889
+ default_amount: number;
2890
+ description: string;
2891
+ image_link: null | string;
2892
+ group_modifiers: {
2893
+ id: string;
2894
+ name: string;
2895
+ price: number;
2896
+ total_new_price?: number | null | undefined;
2897
+ amount: number;
2898
+ required: boolean;
2899
+ max_amount: number;
2900
+ min_amount: number;
2901
+ image_link?: string | undefined;
2902
+ video_link?: string | undefined;
2903
+ default_amount: number;
2904
+ add: boolean;
2905
+ breakModifier?: boolean | undefined;
2906
+ sizes: {
2907
+ id: string;
2908
+ title: string;
2909
+ index: number;
2910
+ is_default: boolean;
2911
+ price?: number | undefined;
2912
+ }[];
2913
+ size?: {
2914
+ id: string;
2915
+ title: string;
2916
+ index: number;
2917
+ is_default: boolean;
2918
+ price?: number | undefined;
2919
+ } | null | undefined;
2920
+ is_fake?: boolean | undefined;
2921
+ is_od_united_product?: boolean | undefined;
2922
+ }[];
2923
+ is_fake?: boolean | undefined;
2924
+ is_od_united_product?: boolean | undefined;
2925
+ is_product_determining?: boolean | undefined;
2926
+ };
2648
2927
  }>;
2649
2928
  totalPrice_libCard: ComputedRef<number>;
2650
2929
  recountGroupTotalAmount: ComputedRef<number>;
@@ -2709,15 +2988,20 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
2709
2988
  visible: boolean;
2710
2989
  }>;
2711
2990
  is_startPage: Ref<boolean, boolean>;
2991
+ isLastGroup: ComputedRef<boolean>;
2712
2992
  setProduct: (products: any) => void;
2713
2993
  summModifierAmount: (groupIndex: number) => number;
2714
2994
  setAddedProducts: (product: IProduct) => void;
2715
2995
  setCurrentCard: (card: any) => void;
2716
2996
  minusAmount: () => void;
2717
2997
  plusAmount: () => void;
2718
- toggleNotRequire: (group: IGroupModifiers, index: number) => void;
2998
+ toggleNotRequire: (group: IGroupModifiers, index?: number, isFollow?: boolean) => void;
2719
2999
  modifierSelect: (modifier: ISelectModifiers, isDefault?: boolean) => void;
2720
3000
  defaultAmountModifiers: () => void;
3001
+ validateGroup: (groupIndex: number) => {
3002
+ valid: boolean;
3003
+ errorText?: string;
3004
+ };
2721
3005
  reset: () => {
2722
3006
  openCard: IProduct | null;
2723
3007
  currentModifier: ISelectModifiers | null;
@@ -2733,5 +3017,6 @@ export declare const useCardStore: StoreDefinition<"cardLib", Pick<{
2733
3017
  isSectionModifier: boolean;
2734
3018
  isAnimationFly: boolean;
2735
3019
  textErrorRequaired: string;
3020
+ prevLast: IGroupModifiers;
2736
3021
  };
2737
- }, "reset" | "plusAmount" | "minusAmount" | "setProduct" | "summModifierAmount" | "setAddedProducts" | "setCurrentCard" | "toggleNotRequire" | "modifierSelect" | "defaultAmountModifiers">>;
3022
+ }, "reset" | "plusAmount" | "minusAmount" | "setProduct" | "summModifierAmount" | "setAddedProducts" | "setCurrentCard" | "toggleNotRequire" | "modifierSelect" | "defaultAmountModifiers" | "validateGroup">>;