@paypay/mini-app-js-sdk 1.17.1 → 1.21.0

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 (191) hide show
  1. package/dist/composition-api/dom/index.d.ts +4 -4
  2. package/dist/composition-api/dom/useEventListener.d.ts +8 -8
  3. package/dist/composition-api/dom/useHorizontalScrollDirective.d.ts +4 -4
  4. package/dist/composition-api/dom/useOnMountedOrActivated.d.ts +1 -1
  5. package/dist/composition-api/dom/useVerticalScrollDirective.d.ts +4 -4
  6. package/dist/composition-api/useErrorSheet.d.ts +3 -3
  7. package/dist/composition-api/useGetUserAddress.d.ts +2 -2
  8. package/dist/composition-api/useHeightProperties.d.ts +19 -19
  9. package/dist/composition-api/useInpuAddress.d.ts +2 -2
  10. package/dist/composition-api/useMakePayment.d.ts +3 -3
  11. package/dist/composition-api/useOpenApp.d.ts +3 -3
  12. package/dist/composition-api/useOpenMap.d.ts +3 -3
  13. package/dist/composition-api/useRegisterEmail.d.ts +2 -2
  14. package/dist/composition-api/useRenderSmartButton.d.ts +3 -3
  15. package/dist/composition-api/useShowAlert.d.ts +3 -3
  16. package/dist/composition-api/useShowUpdateWarning.d.ts +3 -3
  17. package/dist/composition-api/useTakePhoto.d.ts +3 -3
  18. package/dist/composition-api/useTopup.d.ts +3 -3
  19. package/dist/index.d.ts +3 -3
  20. package/dist/jsbridge-core/index.d.ts +4 -4
  21. package/dist/jsbridge-core/jsbridge.d.ts +62 -62
  22. package/dist/jsbridge-core/lib/browser.d.ts +3 -3
  23. package/dist/jsbridge-core/lib/logger.d.ts +9 -9
  24. package/dist/jsbridge-core/lib/reconstructParams.d.ts +2 -2
  25. package/dist/jsbridge-core/module.d.ts +15 -14
  26. package/dist/jsbridge-core/namespace.d.ts +2 -2
  27. package/dist/jsbridge-core/paypay-jsbridge.d.ts +17 -16
  28. package/dist/mini-app-api.d.ts +51 -51
  29. package/dist/mini-app-js-sdk.browser.js +1 -1
  30. package/dist/mini-app-js-sdk.d.ts +9 -9
  31. package/dist/mini-app-js-sdk.es.js +31031 -1
  32. package/dist/mini-app-js-sdk.min.css +1 -1
  33. package/dist/model/bridge/checkAccessToken.d.ts +3 -3
  34. package/dist/model/bridge/checkPaymentMethod.d.ts +2 -2
  35. package/dist/model/bridge/closeApp.d.ts +2 -2
  36. package/dist/model/bridge/copyToClipboard.d.ts +2 -2
  37. package/dist/model/bridge/debug.d.ts +3 -3
  38. package/dist/model/bridge/getAppDetail.d.ts +17 -17
  39. package/dist/model/bridge/getAuthStatus.d.ts +3 -3
  40. package/dist/model/bridge/getBalance.d.ts +2 -2
  41. package/dist/model/bridge/getConfigure.d.ts +39 -39
  42. package/dist/model/bridge/getDeviceInformation.d.ts +3 -3
  43. package/dist/model/bridge/getKycInformation.d.ts +2 -2
  44. package/dist/model/bridge/getPermissionStatus.d.ts +2 -2
  45. package/dist/model/bridge/getPlatformInformation.d.ts +3 -3
  46. package/dist/model/bridge/getSessionData.d.ts +2 -2
  47. package/dist/model/bridge/getStorageData.d.ts +2 -2
  48. package/dist/model/bridge/getTopBarHeight.d.ts +3 -3
  49. package/dist/model/bridge/getUAID.d.ts +3 -3
  50. package/dist/model/bridge/getUserAddress.d.ts +2 -2
  51. package/dist/model/bridge/getUserLocation.d.ts +2 -2
  52. package/dist/model/bridge/getUserProfile.d.ts +3 -3
  53. package/dist/model/bridge/index.d.ts +43 -43
  54. package/dist/model/bridge/init.d.ts +2 -2
  55. package/dist/model/bridge/inputAddress.d.ts +2 -2
  56. package/dist/model/bridge/logout.d.ts +3 -3
  57. package/dist/model/bridge/makePayment.d.ts +2 -2
  58. package/dist/model/bridge/openApp.d.ts +2 -2
  59. package/dist/model/bridge/openMap.d.ts +2 -2
  60. package/dist/model/bridge/openWebview.d.ts +3 -3
  61. package/dist/model/bridge/registerEmail.d.ts +2 -2
  62. package/dist/model/bridge/registerKyc.d.ts +2 -2
  63. package/dist/model/bridge/removeStorageData.d.ts +2 -2
  64. package/dist/model/bridge/render.d.ts +2 -2
  65. package/dist/model/bridge/renderLoginButton.d.ts +2 -2
  66. package/dist/model/bridge/renderPayButton.d.ts +2 -2
  67. package/dist/model/bridge/request.d.ts +2 -2
  68. package/dist/model/bridge/requestInternal.d.ts +2 -2
  69. package/dist/model/bridge/scanCode.d.ts +3 -3
  70. package/dist/model/bridge/setSessionData.d.ts +2 -2
  71. package/dist/model/bridge/setStorageData.d.ts +2 -2
  72. package/dist/model/bridge/setTitle.d.ts +2 -2
  73. package/dist/model/bridge/share.d.ts +2 -2
  74. package/dist/model/bridge/showAlert.d.ts +2 -2
  75. package/dist/model/bridge/showErrorSheet.d.ts +2 -2
  76. package/dist/model/bridge/showUpdateWarning.d.ts +2 -2
  77. package/dist/model/bridge/startMultiFactorAuth.d.ts +2 -2
  78. package/dist/model/bridge/takePhoto.d.ts +2 -2
  79. package/dist/model/bridge/topup.d.ts +2 -2
  80. package/dist/model/bridge/verifyMultiFactorAuthResult.d.ts +3 -3
  81. package/dist/model/makePayment.d.ts +324 -324
  82. package/dist/model/miniAppError.d.ts +57 -57
  83. package/dist/model/miniAppStatus.d.ts +9 -9
  84. package/dist/model/permission.d.ts +21 -19
  85. package/dist/model/uiComponents.d.ts +23 -23
  86. package/dist/package/action-sheet/index.d.ts +90 -91
  87. package/dist/package/banner-header/index.vue.d.ts +56 -56
  88. package/dist/package/button/index.d.ts +69 -69
  89. package/dist/package/charge-amount-list/index.vue.d.ts +54 -54
  90. package/dist/package/charge-amount-more-list/index.vue.d.ts +19 -19
  91. package/dist/package/date-button/index.vue.d.ts +21 -21
  92. package/dist/package/divider/index.d.ts +21 -22
  93. package/dist/package/header/index.d.ts +65 -65
  94. package/dist/package/index.d.ts +16 -16
  95. package/dist/package/input/index.d.ts +169 -170
  96. package/dist/package/input/utils.d.ts +10 -10
  97. package/dist/package/lottie/index.d.ts +61 -62
  98. package/dist/package/overlay/index.d.ts +44 -45
  99. package/dist/package/payment-method/Bank.vue.d.ts +35 -35
  100. package/dist/package/payment-method/CreditCard.vue.d.ts +42 -42
  101. package/dist/package/payment-method/SbidBank.vue.d.ts +21 -21
  102. package/dist/package/payment-method/Wallet.vue.d.ts +31 -31
  103. package/dist/package/payment-method/index.d.ts +15 -15
  104. package/dist/package/payment-method-list/index.vue.d.ts +27 -27
  105. package/dist/package/payment-type/Bank.vue.d.ts +31 -31
  106. package/dist/package/payment-type/CreditCard.vue.d.ts +32 -32
  107. package/dist/package/payment-type/Sbid.vue.d.ts +17 -17
  108. package/dist/package/payment-type/Wallet.vue.d.ts +17 -17
  109. package/dist/package/payment-type/index.d.ts +15 -15
  110. package/dist/package/select-list/Components.d.ts +65 -65
  111. package/dist/package/select-list/index.d.ts +73 -73
  112. package/dist/package/switch/index.d.ts +22 -23
  113. package/dist/types.d.ts +345 -344
  114. package/dist/utils/api.d.ts +160 -147
  115. package/dist/utils/common.d.ts +2 -2
  116. package/dist/utils/create/bem.d.ts +6 -6
  117. package/dist/utils/create/index.d.ts +5 -5
  118. package/dist/utils/fetch.d.ts +16 -16
  119. package/dist/utils/getImages.d.ts +5 -5
  120. package/dist/utils/getLanguage.d.ts +3 -3
  121. package/dist/utils/helper.d.ts +47 -47
  122. package/dist/utils/ip.d.ts +2 -2
  123. package/dist/utils/miniAppRequest.d.ts +9 -9
  124. package/dist/utils/popstateHandler.d.ts +4 -4
  125. package/dist/utils/secondary-list.d.ts +1 -1
  126. package/dist/utils/storage.d.ts +26 -26
  127. package/dist/views/email-registration/App.vue.d.ts +79 -79
  128. package/dist/views/email-registration/components/EmailButton.vue.d.ts +45 -45
  129. package/dist/views/email-registration/components/icons.d.ts +2 -2
  130. package/dist/views/email-registration/hooks/callback.d.ts +7 -7
  131. package/dist/views/email-registration/hooks/ui.d.ts +29 -29
  132. package/dist/views/email-registration/parts/RegisterEmail/RegisterEmail.vue.d.ts +52 -52
  133. package/dist/views/email-registration/parts/RegisterEmail/ResendEmailSheet.vue.d.ts +24 -24
  134. package/dist/views/error-sheet/Index.vue.d.ts +52 -52
  135. package/dist/views/get-user-address/App.vue.d.ts +44 -52
  136. package/dist/views/get-user-address/Sheet/AddSheet/Contents.vue.d.ts +73 -73
  137. package/dist/views/get-user-address/Sheet/AddSheet/DeleteHalfSheet.vue.d.ts +23 -23
  138. package/dist/views/get-user-address/Sheet/AddSheet/Footer.vue.d.ts +33 -33
  139. package/dist/views/get-user-address/Sheet/AddSheet/TagForm.vue.d.ts +35 -35
  140. package/dist/views/get-user-address/Sheet/AddSheet/constants.d.ts +4 -4
  141. package/dist/views/get-user-address/Sheet/AddSheet/index.vue.d.ts +83 -83
  142. package/dist/views/get-user-address/Sheet/App.vue.d.ts +62 -70
  143. package/dist/views/get-user-address/Sheet/DisplaySheet/Address.vue.d.ts +32 -32
  144. package/dist/views/get-user-address/Sheet/DisplaySheet/Footer.vue.d.ts +25 -25
  145. package/dist/views/get-user-address/Sheet/DisplaySheet/index.vue.d.ts +41 -49
  146. package/dist/views/get-user-address/hooks/ui-hooks.d.ts +14 -14
  147. package/dist/views/get-user-address/store/error-handle.d.ts +12 -12
  148. package/dist/views/get-user-address/store/root.d.ts +14 -14
  149. package/dist/views/input-address/App.vue.d.ts +36 -36
  150. package/dist/views/input-address/hook/app.d.ts +13 -13
  151. package/dist/views/input-address/hook/error-handle.d.ts +10 -10
  152. package/dist/views/input-address/hook/root.d.ts +10 -10
  153. package/dist/views/make-payment/App.vue.d.ts +52 -60
  154. package/dist/views/make-payment/Main.vue.d.ts +630 -638
  155. package/dist/views/make-payment/Sheets/AddressInfo.vue.d.ts +25 -25
  156. package/dist/views/make-payment/Sheets/CashBackDetailList.vue.d.ts +20 -20
  157. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirm.vue.d.ts +19 -19
  158. package/dist/views/make-payment/Sheets/CashBackDetails/BirthdayConfirmError.vue.d.ts +16 -16
  159. package/dist/views/make-payment/Sheets/CashBackDetails/FloatingButton.vue.d.ts +24 -24
  160. package/dist/views/make-payment/Sheets/CashBackDetails/hooks.d.ts +26 -26
  161. package/dist/views/make-payment/Sheets/CashBackDetails/index.vue.d.ts +53 -53
  162. package/dist/views/make-payment/Sheets/Charge/ChoosePaymentMethod.vue.d.ts +32 -32
  163. package/dist/views/make-payment/Sheets/Charge/TopContent.vue.d.ts +80 -80
  164. package/dist/views/make-payment/Sheets/Charge/TopInfo.vue.d.ts +49 -49
  165. package/dist/views/make-payment/Sheets/Charge/index.vue.d.ts +522 -522
  166. package/dist/views/make-payment/Sheets/ChoosePayment.vue.d.ts +38 -38
  167. package/dist/views/make-payment/Sheets/Consult.vue.d.ts +23 -23
  168. package/dist/views/make-payment/Sheets/DuplicatePayment.vue.d.ts +27 -27
  169. package/dist/views/make-payment/Sheets/Payment.vue.d.ts +108 -108
  170. package/dist/views/make-payment/Sheets/PaymentCompletion/CashBackDetailRow.vue.d.ts +36 -36
  171. package/dist/views/make-payment/Sheets/PaymentCompletion/index.vue.d.ts +69 -69
  172. package/dist/views/make-payment/hooks/app-hooks.d.ts +568 -568
  173. package/dist/views/make-payment/hooks/ui-hooks.d.ts +72 -72
  174. package/dist/views/make-payment/store/age-confirm.d.ts +9 -9
  175. package/dist/views/make-payment/store/handle-error.d.ts +36 -36
  176. package/dist/views/make-payment/store/root.d.ts +22 -22
  177. package/dist/views/make-payment/store/util-for-handle-error.d.ts +16 -16
  178. package/dist/views/make-payment/utils/paymentMethod.d.ts +3 -3
  179. package/dist/views/open-app/App.vue.d.ts +28 -28
  180. package/dist/views/open-map/App.vue.d.ts +28 -28
  181. package/dist/views/show-alert/App.vue.d.ts +36 -36
  182. package/dist/views/show-update-warning/App.vue.d.ts +28 -28
  183. package/dist/views/smart-button/App.vue.d.ts +87 -87
  184. package/dist/views/take-photo/App.vue.d.ts +25 -25
  185. package/dist/views/take-photo/helper.d.ts +2 -2
  186. package/dist/views/topup/App.vue.d.ts +102 -100
  187. package/dist/views/topup/BannerInfo.vue.d.ts +23 -23
  188. package/dist/views/topup/CashbackInfo.vue.d.ts +44 -44
  189. package/dist/views/topup/TopupCompletion.vue.d.ts +26 -26
  190. package/package.json +9 -16
  191. package/dist/utils/mock-data/mockData.d.ts +0 -64
@@ -1,70 +1,62 @@
1
- import { PropType } from 'vue';
2
- import { Address } from '../../../types';
3
- declare const _default: import("vue").DefineComponent<{
4
- show: BooleanConstructor;
5
- addresses: {
6
- type: PropType<Address[]>;
7
- required: true;
8
- default: () => Address[];
9
- };
10
- isMakepayment: {
11
- type: BooleanConstructor;
12
- required: false;
13
- default: boolean;
14
- };
15
- defaultSelected: {
16
- type: NumberConstructor;
17
- required: false;
18
- default: number;
19
- };
20
- }, {
21
- root: import("../store/root").RootStore;
22
- pageTransition: {
23
- fullScreen: import("vue").ComputedRef<boolean>;
24
- showAddSheet: import("vue").ComputedRef<boolean>;
25
- openAddSheet: (address: Address) => void;
26
- closeAddSheet: () => void;
27
- resetAddress: () => void;
28
- address: import("vue").ComputedRef<any>;
29
- };
30
- headerHeight: import("vue").ComputedRef<{
31
- maxHeight: string;
32
- }>;
33
- style: Record<string, string>;
34
- addAddress: (formValue: any) => Promise<void>;
35
- addSheetLoading: import("vue").ComputedRef<boolean>;
36
- addressList: import("vue").ComputedRef<{
37
- id: number;
38
- kyc: boolean;
39
- street1: string;
40
- country: string;
41
- zip: string;
42
- state: string;
43
- city: string;
44
- tags?: string[];
45
- title?: string;
46
- receiver?: string;
47
- street2?: string;
48
- }[]>;
49
- del: (e: Address) => void;
50
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "back" | "makepayment")[], "click" | "back" | "makepayment", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
51
- show?: unknown;
52
- addresses?: unknown;
53
- isMakepayment?: unknown;
54
- defaultSelected?: unknown;
55
- } & {
56
- show: boolean;
57
- addresses: Address[];
58
- isMakepayment: boolean;
59
- defaultSelected: number;
60
- } & {}> & {
61
- onClick?: (...args: any[]) => any;
62
- onBack?: (...args: any[]) => any;
63
- onMakepayment?: (...args: any[]) => any;
64
- }, {
65
- show: boolean;
66
- addresses: Address[];
67
- isMakepayment: boolean;
68
- defaultSelected: number;
69
- }>;
70
- export default _default;
1
+ import { PropType } from 'vue';
2
+ import { Address } from '../../../types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ show: BooleanConstructor;
5
+ addresses: {
6
+ type: PropType<Address[]>;
7
+ required: true;
8
+ default: () => Address[];
9
+ };
10
+ isMakepayment: {
11
+ type: BooleanConstructor;
12
+ required: false;
13
+ default: boolean;
14
+ };
15
+ }, {
16
+ root: import("../store/root").RootStore;
17
+ pageTransition: {
18
+ fullScreen: import("vue").ComputedRef<boolean>;
19
+ showAddSheet: import("vue").ComputedRef<boolean>;
20
+ openAddSheet: (address: Address) => void;
21
+ closeAddSheet: () => void;
22
+ resetAddress: () => void;
23
+ address: import("vue").ComputedRef<any>;
24
+ };
25
+ headerHeight: import("vue").ComputedRef<{
26
+ maxHeight: string;
27
+ }>;
28
+ style: Record<string, string>;
29
+ addAddress: (formValue: any) => Promise<void>;
30
+ addSheetLoading: import("vue").ComputedRef<boolean>;
31
+ addressList: import("vue").ComputedRef<{
32
+ id: number;
33
+ kyc: boolean;
34
+ street1: string;
35
+ country: string;
36
+ zip: string;
37
+ state: string;
38
+ city: string;
39
+ tags?: string[];
40
+ title?: string;
41
+ receiver?: string;
42
+ street2?: string;
43
+ }[]>;
44
+ del: () => Promise<void>;
45
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "back" | "makepayment")[], "click" | "back" | "makepayment", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
46
+ show?: unknown;
47
+ addresses?: unknown;
48
+ isMakepayment?: unknown;
49
+ } & {
50
+ show: boolean;
51
+ isMakepayment: boolean;
52
+ addresses: Address[];
53
+ } & {}> & {
54
+ onClick?: (...args: any[]) => any;
55
+ onBack?: (...args: any[]) => any;
56
+ onMakepayment?: (...args: any[]) => any;
57
+ }, {
58
+ show: boolean;
59
+ isMakepayment: boolean;
60
+ addresses: Address[];
61
+ }>;
62
+ export default _default;
@@ -1,32 +1,32 @@
1
- import { PropType } from 'vue';
2
- import { Address } from '../../../../types';
3
- declare const _default: import("vue").DefineComponent<{
4
- address: {
5
- type: PropType<Address>;
6
- required: true;
7
- default: () => {};
8
- };
9
- selected: {
10
- type: BooleanConstructor;
11
- required: true;
12
- default: boolean;
13
- };
14
- }, {
15
- style: Record<string, string>;
16
- postalCode: import("vue").ComputedRef<string>;
17
- addressText: import("vue").ComputedRef<string>;
18
- lg: unknown;
19
- edit: () => void;
20
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("edit" | "select")[], "edit" | "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
21
- address?: unknown;
22
- selected?: unknown;
23
- } & {
24
- address: Address;
25
- selected: boolean;
26
- } & {}> & {
27
- onEdit?: (...args: any[]) => any;
28
- onSelect?: (...args: any[]) => any;
29
- }, {
30
- address: Address;
31
- }>;
32
- export default _default;
1
+ import { PropType } from 'vue';
2
+ import { Address } from '../../../../types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ address: {
5
+ type: PropType<Address>;
6
+ required: true;
7
+ default: () => {};
8
+ };
9
+ selected: {
10
+ type: BooleanConstructor;
11
+ required: true;
12
+ default: boolean;
13
+ };
14
+ }, {
15
+ style: Record<string, string>;
16
+ postalCode: import("vue").ComputedRef<string>;
17
+ addressText: import("vue").ComputedRef<string>;
18
+ lg: unknown;
19
+ edit: () => void;
20
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "edit")[], "select" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
21
+ address?: unknown;
22
+ selected?: unknown;
23
+ } & {
24
+ address: Address;
25
+ selected: boolean;
26
+ } & {}> & {
27
+ onSelect?: (...args: any[]) => any;
28
+ onEdit?: (...args: any[]) => any;
29
+ }, {
30
+ address: Address;
31
+ }>;
32
+ export default _default;
@@ -1,25 +1,25 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- isMakepayment: {
3
- type: BooleanConstructor;
4
- required: false;
5
- default: boolean;
6
- };
7
- }, {
8
- add: () => void;
9
- close: () => void;
10
- style: Record<string, string>;
11
- bottomStyle: import("vue").ComputedRef<{
12
- paddingBottom: string;
13
- }>;
14
- lg: unknown;
15
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("add" | "close")[], "add" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
16
- isMakepayment?: unknown;
17
- } & {
18
- isMakepayment: boolean;
19
- } & {}> & {
20
- onAdd?: (...args: any[]) => any;
21
- onClose?: (...args: any[]) => any;
22
- }, {
23
- isMakepayment: boolean;
24
- }>;
25
- export default _default;
1
+ declare const _default: import("vue").DefineComponent<{
2
+ isMakepayment: {
3
+ type: BooleanConstructor;
4
+ required: false;
5
+ default: boolean;
6
+ };
7
+ }, {
8
+ add: () => void;
9
+ close: () => void;
10
+ style: Record<string, string>;
11
+ bottomStyle: import("vue").ComputedRef<{
12
+ paddingBottom: string;
13
+ }>;
14
+ lg: unknown;
15
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "add")[], "close" | "add", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
16
+ isMakepayment?: unknown;
17
+ } & {
18
+ isMakepayment: boolean;
19
+ } & {}> & {
20
+ onClose?: (...args: any[]) => any;
21
+ onAdd?: (...args: any[]) => any;
22
+ }, {
23
+ isMakepayment: boolean;
24
+ }>;
25
+ export default _default;
@@ -1,49 +1,41 @@
1
- import { PropType } from 'vue';
2
- import { Address as AddressType } from '../../../../types';
3
- declare const _default: import("vue").DefineComponent<{
4
- addresses: {
5
- type: PropType<AddressType[]>;
6
- required: true;
7
- default: () => AddressType[];
8
- };
9
- isMakepayment: {
10
- type: BooleanConstructor;
11
- required: false;
12
- default: boolean;
13
- };
14
- defaultSelected: {
15
- type: NumberConstructor;
16
- required: false;
17
- default: number;
18
- };
19
- }, {
20
- style: Record<string, string>;
21
- state: {
22
- selectedIndex: number;
23
- selected: boolean;
24
- };
25
- selectIndex: (index: number, address: AddressType) => void;
26
- close: () => void;
27
- add: () => void;
28
- lg: unknown;
29
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "back" | "success" | "add" | "makepayment" | "edit")[], "close" | "back" | "success" | "add" | "makepayment" | "edit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
30
- addresses?: unknown;
31
- isMakepayment?: unknown;
32
- defaultSelected?: unknown;
33
- } & {
34
- addresses: AddressType[];
35
- isMakepayment: boolean;
36
- defaultSelected: number;
37
- } & {}> & {
38
- onClose?: (...args: any[]) => any;
39
- onBack?: (...args: any[]) => any;
40
- onSuccess?: (...args: any[]) => any;
41
- onAdd?: (...args: any[]) => any;
42
- onMakepayment?: (...args: any[]) => any;
43
- onEdit?: (...args: any[]) => any;
44
- }, {
45
- addresses: AddressType[];
46
- isMakepayment: boolean;
47
- defaultSelected: number;
48
- }>;
49
- export default _default;
1
+ import { PropType } from 'vue';
2
+ import { Address as AddressType } from '../../../../types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ addresses: {
5
+ type: PropType<AddressType[]>;
6
+ required: true;
7
+ default: () => AddressType[];
8
+ };
9
+ isMakepayment: {
10
+ type: BooleanConstructor;
11
+ required: false;
12
+ default: boolean;
13
+ };
14
+ }, {
15
+ style: Record<string, string>;
16
+ state: {
17
+ selectedIndex: number;
18
+ selected: boolean;
19
+ };
20
+ selectIndex: (index: number, address: AddressType) => void;
21
+ close: () => void;
22
+ add: () => void;
23
+ lg: unknown;
24
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "edit" | "add" | "back" | "makepayment")[], "success" | "close" | "edit" | "add" | "back" | "makepayment", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
25
+ addresses?: unknown;
26
+ isMakepayment?: unknown;
27
+ } & {
28
+ isMakepayment: boolean;
29
+ addresses: AddressType[];
30
+ } & {}> & {
31
+ onClose?: (...args: any[]) => any;
32
+ onEdit?: (...args: any[]) => any;
33
+ onAdd?: (...args: any[]) => any;
34
+ onSuccess?: (...args: any[]) => any;
35
+ onBack?: (...args: any[]) => any;
36
+ onMakepayment?: (...args: any[]) => any;
37
+ }, {
38
+ isMakepayment: boolean;
39
+ addresses: AddressType[];
40
+ }>;
41
+ export default _default;
@@ -1,14 +1,14 @@
1
- import { Address } from '../../../types';
2
- export declare function useUIControl(): {
3
- pageTransition: {
4
- fullScreen: import("vue").ComputedRef<boolean>;
5
- showAddSheet: import("vue").ComputedRef<boolean>;
6
- openAddSheet: (address: Address) => void;
7
- closeAddSheet: () => void;
8
- resetAddress: () => void;
9
- address: import("vue").ComputedRef<any>;
10
- };
11
- headerHeight: import("vue").ComputedRef<{
12
- maxHeight: string;
13
- }>;
14
- };
1
+ import { Address } from '../../../types';
2
+ export declare function useUIControl(): {
3
+ pageTransition: {
4
+ fullScreen: import("vue").ComputedRef<boolean>;
5
+ showAddSheet: import("vue").ComputedRef<boolean>;
6
+ openAddSheet: (address: Address) => void;
7
+ closeAddSheet: () => void;
8
+ resetAddress: () => void;
9
+ address: import("vue").ComputedRef<any>;
10
+ };
11
+ headerHeight: import("vue").ComputedRef<{
12
+ maxHeight: string;
13
+ }>;
14
+ };
@@ -1,12 +1,12 @@
1
- import { ComputedRef } from 'vue';
2
- import { ErrorResponse } from '../../../utils/fetch';
3
- export declare const KEY = "getUserAddress_error_handling";
4
- export interface ErrorHandleStore {
5
- errorShow: ComputedRef<boolean>;
6
- errorTitle: ComputedRef<string>;
7
- errorDescription: ComputedRef<string>;
8
- errorIcon: ComputedRef<string>;
9
- handleError: <T>(res?: ErrorResponse | T) => res is ErrorResponse;
10
- }
11
- export declare function initErrorHandling(): ErrorHandleStore;
12
- export declare function getErrorHandling(): ErrorHandleStore;
1
+ import { ComputedRef } from 'vue';
2
+ import { ErrorResponse } from '../../../utils/fetch';
3
+ export declare const KEY = "getUserAddress_error_handling";
4
+ export interface ErrorHandleStore {
5
+ errorShow: ComputedRef<boolean>;
6
+ errorTitle: ComputedRef<string>;
7
+ errorDescription: ComputedRef<string>;
8
+ errorIcon: ComputedRef<string>;
9
+ handleError: <T>(res?: ErrorResponse | T) => res is ErrorResponse;
10
+ }
11
+ export declare function initErrorHandling(): ErrorHandleStore;
12
+ export declare function getErrorHandling(): ErrorHandleStore;
@@ -1,14 +1,14 @@
1
- import { SetupContext } from 'vue';
2
- import { Address, GetUserAddressParams } from '../../../types';
3
- export declare const KEY = "getUserAddress_root";
4
- export interface Props {
5
- getUserAddressParams: GetUserAddressParams;
6
- }
7
- export interface RootStore {
8
- cancel: () => void;
9
- success: (address: Address) => void;
10
- back: () => void;
11
- makepayment: (index: any) => void;
12
- }
13
- export declare function initRoot(props: Props, { emit }: SetupContext): RootStore;
14
- export declare function getRoot(): RootStore;
1
+ import { SetupContext } from 'vue';
2
+ import { Address, GetUserAddressParams } from '../../../types';
3
+ export declare const KEY = "getUserAddress_root";
4
+ export interface Props {
5
+ getUserAddressParams: GetUserAddressParams;
6
+ }
7
+ export interface RootStore {
8
+ cancel: () => void;
9
+ success: (address: Address) => void;
10
+ back: () => void;
11
+ makepayment: (index: any) => void;
12
+ }
13
+ export declare function initRoot(props: Props, { emit }: SetupContext): RootStore;
14
+ export declare function getRoot(): RootStore;
@@ -1,36 +1,36 @@
1
- import { PropType } from 'vue';
2
- import { InputAddressParams } from '../../types';
3
- declare const _default: import("vue").DefineComponent<{
4
- inputAddressParams: {
5
- type: PropType<InputAddressParams>;
6
- required: true;
7
- default: any;
8
- };
9
- show: {
10
- type: BooleanConstructor;
11
- required: false;
12
- default: boolean;
13
- };
14
- }, {
15
- cancel: () => void;
16
- errorTitle: import("vue").ComputedRef<string>;
17
- errorShow: import("vue").ComputedRef<boolean>;
18
- errorIcon: import("vue").ComputedRef<string>;
19
- errorDescription: import("vue").ComputedRef<string>;
20
- addAddress: (_address: import("../../types").Address) => Promise<void>;
21
- loading: import("vue").ComputedRef<boolean>;
22
- closeError: () => void;
23
- address: import("vue").ComputedRef<any>;
24
- delAddress: (_address: import("../../types").Address) => Promise<void>;
25
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
26
- inputAddressParams?: unknown;
27
- show?: unknown;
28
- } & {
29
- show: boolean;
30
- } & {
31
- inputAddressParams?: any;
32
- }>, {
33
- inputAddressParams: any;
34
- show: boolean;
35
- }>;
36
- export default _default;
1
+ import { PropType } from 'vue';
2
+ import { InputAddressParams } from '../../types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ inputAddressParams: {
5
+ type: PropType<InputAddressParams>;
6
+ required: true;
7
+ default: any;
8
+ };
9
+ show: {
10
+ type: BooleanConstructor;
11
+ required: false;
12
+ default: boolean;
13
+ };
14
+ }, {
15
+ cancel: () => void;
16
+ errorTitle: import("vue").ComputedRef<string>;
17
+ errorShow: import("vue").ComputedRef<boolean>;
18
+ errorIcon: import("vue").ComputedRef<string>;
19
+ errorDescription: import("vue").ComputedRef<string>;
20
+ addAddress: (_address: import("../../types").Address) => Promise<void>;
21
+ loading: import("vue").ComputedRef<boolean>;
22
+ closeError: () => void;
23
+ address: import("vue").ComputedRef<any>;
24
+ delAddress: (res: any) => Promise<void>;
25
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
26
+ inputAddressParams?: unknown;
27
+ show?: unknown;
28
+ } & {
29
+ show: boolean;
30
+ } & {
31
+ inputAddressParams?: any;
32
+ }>, {
33
+ show: boolean;
34
+ inputAddressParams: any;
35
+ }>;
36
+ export default _default;
@@ -1,13 +1,13 @@
1
- import { Address } from '../../../types';
2
- import { ErrorResponse } from '../../../utils/fetch';
3
- export declare function useApp(params: {
4
- handleError: (res?: ErrorResponse | any) => res is ErrorResponse;
5
- success: () => void;
6
- address?: Address | null | undefined;
7
- }): {
8
- addAddress: (_address: Address) => Promise<void>;
9
- loading: import("vue").ComputedRef<boolean>;
10
- delAddress: (_address: Address) => Promise<void>;
11
- shallow: import("vue").ComputedRef<boolean>;
12
- reset: () => void;
13
- };
1
+ import { Address } from '../../../types';
2
+ import { ErrorResponse } from '../../../utils/fetch';
3
+ export declare function useApp(params: {
4
+ handleError: (res?: ErrorResponse | any) => res is ErrorResponse;
5
+ success: () => void;
6
+ address?: Address | null | undefined;
7
+ }): {
8
+ addAddress: (_address: Address) => Promise<void>;
9
+ loading: import("vue").ComputedRef<boolean>;
10
+ delAddress: (res: ErrorResponse | any) => Promise<void>;
11
+ shallow: import("vue").ComputedRef<boolean>;
12
+ reset: () => void;
13
+ };
@@ -1,10 +1,10 @@
1
- import { SetupContext } from 'vue';
2
- import { ErrorResponse } from '../../../utils/fetch';
3
- export declare function useErrorHandling({ emit }: SetupContext): {
4
- errorShow: import("vue").ComputedRef<boolean>;
5
- errorTitle: import("vue").ComputedRef<string>;
6
- errorIcon: import("vue").ComputedRef<string>;
7
- errorDescription: import("vue").ComputedRef<string>;
8
- handleError: (res?: ErrorResponse | any) => res is ErrorResponse;
9
- closeError: () => void;
10
- };
1
+ import { SetupContext } from 'vue';
2
+ import { ErrorResponse } from '../../../utils/fetch';
3
+ export declare function useErrorHandling({ emit }: SetupContext): {
4
+ errorShow: import("vue").ComputedRef<boolean>;
5
+ errorTitle: import("vue").ComputedRef<string>;
6
+ errorIcon: import("vue").ComputedRef<string>;
7
+ errorDescription: import("vue").ComputedRef<string>;
8
+ handleError: (res?: ErrorResponse | any) => res is ErrorResponse;
9
+ closeError: () => void;
10
+ };
@@ -1,10 +1,10 @@
1
- import { InputAddressParams } from '../../../types';
2
- import { SetupContext } from 'vue';
3
- export interface Props {
4
- inputAddressParams: InputAddressParams;
5
- show: boolean;
6
- }
7
- export declare function useRoot(props: Props, { emit }: SetupContext): {
8
- cancel: () => void;
9
- success: () => void;
10
- };
1
+ import { InputAddressParams } from '../../../types';
2
+ import { SetupContext } from 'vue';
3
+ export interface Props {
4
+ inputAddressParams: InputAddressParams;
5
+ show: boolean;
6
+ }
7
+ export declare function useRoot(props: Props, { emit }: SetupContext): {
8
+ cancel: () => void;
9
+ success: () => void;
10
+ };