@aizu-chat/react 0.0.9 → 0.0.10

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,10 +1,10 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ComponentProps } from 'react';
2
+ import React, { ComponentProps } from 'react';
3
3
 
4
4
  declare const AizuChat: () => react_jsx_runtime.JSX.Element;
5
5
 
6
6
  type ButtonProps = ComponentProps<"button">;
7
- declare const Button: ({ children, className, onClick, ref, ...props }: ButtonProps) => react_jsx_runtime.JSX.Element;
7
+ declare const Button: React.NamedExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
8
8
 
9
9
  type LoadingProps = {
10
10
  message?: string;
@@ -16,12 +16,18 @@ declare enum MockResponseENUM {
16
16
  CATEGORY_NOTEBOOK = "CATEGORY_NOTEBOOK",
17
17
  QUICK_MENU_SHOP = "QUICK_MENU_SHOP",
18
18
  ERROR = "ERROR",
19
- CODE_CANT_USE = "CODE_CANT_USE",
20
19
  BUDGET_INQUIRY = "BUDGET_INQUIRY",
20
+ CODE_CANT_USE = "CODE_CANT_USE",
21
+ QUICK_MENU_PAYMENT_FAILED = "QUICK_MENU_PAYMENT_FAILED",
22
+ FOUND_NOTEBOOK = "FOUND_NOTEBOOK",
23
+ FOUND_COMPUTER = "FOUND_COMPUTER",
21
24
  PRODUCT_FOUND_LESS_10000 = "PRODUCT_FOUND_LESS_10000",
22
25
  PRODUCT_FOUND_RANGE_10000_20000 = "PRODUCT_FOUND_RANGE_10000_20000",
23
26
  PRODUCT_FOUND_RANGE_20000_30000 = "PRODUCT_FOUND_RANGE_20000_30000",
24
27
  PRODUCT_FOUND_MORE_30000 = "PRODUCT_FOUND_MORE_30000",
28
+ PRODUCT_PHONE_ALL = "PRODUCT_PHONE_ALL",
29
+ NOTFOUND_PRODUCT = "NOTFOUND_PRODUCT",
30
+ NO_ACTION = "NO_ACTION",
25
31
  SHIPPING_INFO = "SHIPPING_INFO",
26
32
  PAYMENT_METHODS = "PAYMENT_METHODS",
27
33
  WARRANTY_INFO = "WARRANTY_INFO",
@@ -36,9 +42,11 @@ type Menu = {
36
42
  id: string;
37
43
  title: string;
38
44
  mockResponse: MockResponseENUM;
45
+ mockRetryResponse?: MockResponseENUM;
39
46
  value?: string;
40
47
  phoneNumber?: string;
41
48
  imageUrl?: string;
49
+ url?: string;
42
50
  };
43
51
  type QuickMenusProps = {
44
52
  bannerSrc?: string;
@@ -1,10 +1,10 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { ComponentProps } from 'react';
2
+ import React, { ComponentProps } from 'react';
3
3
 
4
4
  declare const AizuChat: () => react_jsx_runtime.JSX.Element;
5
5
 
6
6
  type ButtonProps = ComponentProps<"button">;
7
- declare const Button: ({ children, className, onClick, ref, ...props }: ButtonProps) => react_jsx_runtime.JSX.Element;
7
+ declare const Button: React.NamedExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
8
8
 
9
9
  type LoadingProps = {
10
10
  message?: string;
@@ -16,12 +16,18 @@ declare enum MockResponseENUM {
16
16
  CATEGORY_NOTEBOOK = "CATEGORY_NOTEBOOK",
17
17
  QUICK_MENU_SHOP = "QUICK_MENU_SHOP",
18
18
  ERROR = "ERROR",
19
- CODE_CANT_USE = "CODE_CANT_USE",
20
19
  BUDGET_INQUIRY = "BUDGET_INQUIRY",
20
+ CODE_CANT_USE = "CODE_CANT_USE",
21
+ QUICK_MENU_PAYMENT_FAILED = "QUICK_MENU_PAYMENT_FAILED",
22
+ FOUND_NOTEBOOK = "FOUND_NOTEBOOK",
23
+ FOUND_COMPUTER = "FOUND_COMPUTER",
21
24
  PRODUCT_FOUND_LESS_10000 = "PRODUCT_FOUND_LESS_10000",
22
25
  PRODUCT_FOUND_RANGE_10000_20000 = "PRODUCT_FOUND_RANGE_10000_20000",
23
26
  PRODUCT_FOUND_RANGE_20000_30000 = "PRODUCT_FOUND_RANGE_20000_30000",
24
27
  PRODUCT_FOUND_MORE_30000 = "PRODUCT_FOUND_MORE_30000",
28
+ PRODUCT_PHONE_ALL = "PRODUCT_PHONE_ALL",
29
+ NOTFOUND_PRODUCT = "NOTFOUND_PRODUCT",
30
+ NO_ACTION = "NO_ACTION",
25
31
  SHIPPING_INFO = "SHIPPING_INFO",
26
32
  PAYMENT_METHODS = "PAYMENT_METHODS",
27
33
  WARRANTY_INFO = "WARRANTY_INFO",
@@ -36,9 +42,11 @@ type Menu = {
36
42
  id: string;
37
43
  title: string;
38
44
  mockResponse: MockResponseENUM;
45
+ mockRetryResponse?: MockResponseENUM;
39
46
  value?: string;
40
47
  phoneNumber?: string;
41
48
  imageUrl?: string;
49
+ url?: string;
42
50
  };
43
51
  type QuickMenusProps = {
44
52
  bannerSrc?: string;