@solidgate/vue-sdk 1.2.0 → 1.3.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.
- package/CHANGELOG.md +17 -1
- package/README.md +1 -1
- package/dist/lib/Payment.vue.d.ts +2 -0
- package/dist/solid-payment.es.js +12 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,30 @@
|
|
|
1
|
+
**1.3.0**
|
|
2
|
+
|
|
3
|
+
Added **formParams.buttonType** config param
|
|
4
|
+
|
|
5
|
+
You may use it to set **continue** button type
|
|
6
|
+
```typescript
|
|
7
|
+
import { FormButtonType } from '@solidgate/vue-sdk'
|
|
8
|
+
|
|
9
|
+
initConfig.formParams.buttonType = FormButtonType.Continue
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
***
|
|
13
|
+
|
|
1
14
|
**1.2.0**
|
|
2
15
|
|
|
3
16
|
Added **formParams.autoFocus** config param
|
|
4
17
|
|
|
18
|
+
***
|
|
19
|
+
|
|
5
20
|
**1.1.2**
|
|
6
21
|
|
|
7
22
|
Added license
|
|
8
23
|
|
|
24
|
+
***
|
|
25
|
+
|
|
9
26
|
**1.1.0**
|
|
10
27
|
|
|
11
|
-
***
|
|
12
28
|
|
|
13
29
|
- Added **AdditionalFields** enum
|
|
14
30
|
- Fixed types which controlling labels visibility (like **initConfig.formParams.cardNumberLabel**)
|
package/README.md
CHANGED
|
@@ -22,6 +22,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
22
|
autoFocus: boolean;
|
|
23
23
|
submitButtonText: string;
|
|
24
24
|
isCardHolderVisible: boolean;
|
|
25
|
+
buttonType: import("@solidgate/client-sdk-loader/dist/enums/FormButtonType").default;
|
|
25
26
|
headerText: string;
|
|
26
27
|
titleText: string;
|
|
27
28
|
formTypeClass: import("@solidgate/client-sdk-loader/dist/enums/FormType").default;
|
|
@@ -143,6 +144,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
143
144
|
autoFocus: boolean;
|
|
144
145
|
submitButtonText: string;
|
|
145
146
|
isCardHolderVisible: boolean;
|
|
147
|
+
buttonType: import("@solidgate/client-sdk-loader/dist/enums/FormButtonType").default;
|
|
146
148
|
headerText: string;
|
|
147
149
|
titleText: string;
|
|
148
150
|
formTypeClass: import("@solidgate/client-sdk-loader/dist/enums/FormType").default;
|
package/dist/solid-payment.es.js
CHANGED
|
@@ -2052,6 +2052,14 @@ var AdditionalFieldName$1;
|
|
|
2052
2052
|
AdditionalFieldName2["VietnamVnid"] = "vietnamVnid";
|
|
2053
2053
|
})(AdditionalFieldName$1 || (AdditionalFieldName$1 = {}));
|
|
2054
2054
|
AdditionalFieldName$2.default = AdditionalFieldName$1;
|
|
2055
|
+
var FormButtonType$2 = {};
|
|
2056
|
+
Object.defineProperty(FormButtonType$2, "__esModule", { value: true });
|
|
2057
|
+
var FormButtonType$1;
|
|
2058
|
+
(function(FormButtonType2) {
|
|
2059
|
+
FormButtonType2["Default"] = "default";
|
|
2060
|
+
FormButtonType2["Continue"] = "continue";
|
|
2061
|
+
})(FormButtonType$1 || (FormButtonType$1 = {}));
|
|
2062
|
+
FormButtonType$2.default = FormButtonType$1;
|
|
2055
2063
|
var SdkLoader$2 = {};
|
|
2056
2064
|
var __classPrivateFieldGet = commonjsGlobal && commonjsGlobal.__classPrivateFieldGet || function(receiver, state, kind, f) {
|
|
2057
2065
|
if (kind === "a" && !f)
|
|
@@ -2108,7 +2116,7 @@ var __importDefault = commonjsGlobal && commonjsGlobal.__importDefault || functi
|
|
|
2108
2116
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
2109
2117
|
};
|
|
2110
2118
|
Object.defineProperty(dist, "__esModule", { value: true });
|
|
2111
|
-
var FormType = dist.FormType = SdkLoader = dist.SdkLoader = CardBrand = dist.CardBrand = FieldName = dist.FieldName = MessageType = dist.MessageType = SecureBrand = dist.SecureBrand = PayableEntity = dist.PayableEntity = InteractionType = dist.InteractionType = AdditionalFieldName = dist.AdditionalFieldName = InteractionTargetType = dist.InteractionTargetType = void 0;
|
|
2119
|
+
var FormType = dist.FormType = SdkLoader = dist.SdkLoader = CardBrand = dist.CardBrand = FieldName = dist.FieldName = MessageType = dist.MessageType = SecureBrand = dist.SecureBrand = PayableEntity = dist.PayableEntity = FormButtonType = dist.FormButtonType = InteractionType = dist.InteractionType = AdditionalFieldName = dist.AdditionalFieldName = InteractionTargetType = dist.InteractionTargetType = void 0;
|
|
2112
2120
|
const MessageType_1 = __importDefault(MessageType$2);
|
|
2113
2121
|
var MessageType = dist.MessageType = MessageType_1.default;
|
|
2114
2122
|
const FieldName_1 = __importDefault(FieldName$2);
|
|
@@ -2127,6 +2135,8 @@ const InteractionTargetType_1 = __importDefault(InteractionTargetType$2);
|
|
|
2127
2135
|
var InteractionTargetType = dist.InteractionTargetType = InteractionTargetType_1.default;
|
|
2128
2136
|
const AdditionalFieldName_1 = __importDefault(AdditionalFieldName$2);
|
|
2129
2137
|
var AdditionalFieldName = dist.AdditionalFieldName = AdditionalFieldName_1.default;
|
|
2138
|
+
const FormButtonType_1 = __importDefault(FormButtonType$2);
|
|
2139
|
+
var FormButtonType = dist.FormButtonType = FormButtonType_1.default;
|
|
2130
2140
|
const SdkLoader_1 = __importDefault(SdkLoader$2);
|
|
2131
2141
|
var SdkLoader = dist.SdkLoader = SdkLoader_1.default;
|
|
2132
2142
|
const payButtonIds = {
|
|
@@ -2291,4 +2301,4 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2291
2301
|
};
|
|
2292
2302
|
}
|
|
2293
2303
|
});
|
|
2294
|
-
export { AdditionalFieldName, CardBrand, FieldName, FormType, InteractionTargetType, InteractionType, MessageType, PayableEntity, SdkLoader, SecureBrand, _sfc_main as default };
|
|
2304
|
+
export { AdditionalFieldName, CardBrand, FieldName, FormButtonType, FormType, InteractionTargetType, InteractionType, MessageType, PayableEntity, SdkLoader, SecureBrand, _sfc_main as default };
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"import": "./dist/solid-payment.es.js"
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
|
-
"version": "1.
|
|
13
|
+
"version": "1.3.0",
|
|
14
14
|
"typings": "./dist/lib/index.d.ts",
|
|
15
15
|
"license": "Apache-2.0",
|
|
16
16
|
"scripts": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"vue": "^3.2.25"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@solidgate/client-sdk-loader": "^1.
|
|
28
|
+
"@solidgate/client-sdk-loader": "^1.5.0",
|
|
29
29
|
"vue3-styled-components": "^1.2.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|