crmbonus-component-wake 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/crmbonus-component-wake/app-modal.entry.js +2 -2
- package/dist/crmbonus-component-wake/crm-bonus-form.entry.js +2 -2
- package/dist/crmbonus-component-wake/crm-bonus.entry.js +7 -3
- package/dist/crmbonus-component-wake/crm-bonus.entry.js.map +1 -1
- package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js +3 -3
- package/dist/crmbonus-component-wake/giftback-pin.entry.js +2 -2
- package/dist/crmbonus-component-wake/giftback-progress.entry.js +2 -2
- package/dist/crmbonus-component-wake/index-9ebfa0b2.js +3039 -0
- package/dist/crmbonus-component-wake/index-9ebfa0b2.js.map +1 -0
- package/dist/crmbonus-component-wake/phone-input-mask.entry.js +2 -2
- package/dist/crmbonus-component-wake/phone-input.entry.js +2 -2
- package/dist/types/components/crm-bonus/crm-bonus.d.ts +2 -0
- package/dist/types/components.d.ts +2 -2
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
1
|
+
import { r as registerInstance, h } from './index-9ebfa0b2.js';
|
2
2
|
|
3
3
|
const phoneInputMaskCss = ".inline-text-field-container{display:flex;flex-direction:column}@supports (top: max(0%)){.mdc-text-field--outlined{padding-right:max(16px, var(--mdc-shape-small, 4px))}}@supports (top: max(0%)){.mdc-text-field--outlined{padding-left:max(16px, calc(var(--mdc-shape-small, 4px) + 4px))}}.mdc-text-field--outlined{height:55px;overflow:visible}.phone{width:300px;height:50px;font-size:18px;padding:10px;color:grey;border:1px solid #d3c6c6;outline:none}.mdc-text-field{border-top-left-radius:4px;border-top-left-radius:var(--mdc-shape-small, 4px);border-top-right-radius:4px;border-top-right-radius:var(--mdc-shape-small, 4px);border-bottom-right-radius:0;border-bottom-left-radius:0;display:inline-flex;align-items:baseline;padding:0 16px;position:relative;box-sizing:border-box;overflow:hidden;will-change:opacity, transform, color}";
|
4
4
|
|
@@ -25,7 +25,7 @@ const PhoneInputMask = class {
|
|
25
25
|
return this.phone;
|
26
26
|
}
|
27
27
|
render() {
|
28
|
-
return (h("input", { key: '
|
28
|
+
return (h("input", { key: '0c97019b6865b4ffccddbae39361c72b20cceb20', id: "phone", type: "tel", class: "phone", value: this.phone, onInput: (event) => this.handleInput(event), placeholder: "(12) 94567-8910" }));
|
29
29
|
}
|
30
30
|
};
|
31
31
|
PhoneInputMask.style = phoneInputMaskCss;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
1
|
+
import { r as registerInstance, h } from './index-9ebfa0b2.js';
|
2
2
|
|
3
3
|
const PhoneInput = class {
|
4
4
|
constructor(hostRef) {
|
@@ -11,7 +11,7 @@ const PhoneInput = class {
|
|
11
11
|
await this.sendPin(phone);
|
12
12
|
}
|
13
13
|
render() {
|
14
|
-
return (h("div", { key: '
|
14
|
+
return (h("div", { key: 'fac7503245e21b8d371c22262aac4f06945d7f12', class: "form-container" }, h("phone-input-mask", { key: 'df1c08bbefab1287f2894c33b4dc3ac652e5c6b0', ref: ref => this.phoneInputMask = ref }), h("button", { key: '7486b3cbe0ee277213eab8e80058e800e0fcaa13', class: `button ${this.loading ? 'disabled' : ''} `, disabled: this.loading, onClick: () => this.validatePhone() }, "validar")));
|
15
15
|
}
|
16
16
|
};
|
17
17
|
|
@@ -13,7 +13,7 @@ export namespace Components {
|
|
13
13
|
"modalTitle": string;
|
14
14
|
}
|
15
15
|
interface CrmBonus {
|
16
|
-
"
|
16
|
+
"productsInString": string;
|
17
17
|
"storeName": any;
|
18
18
|
"userId": string;
|
19
19
|
}
|
@@ -112,7 +112,7 @@ declare namespace LocalJSX {
|
|
112
112
|
"onModalClosed"?: (event: AppModalCustomEvent<void>) => void;
|
113
113
|
}
|
114
114
|
interface CrmBonus {
|
115
|
-
"
|
115
|
+
"productsInString"?: string;
|
116
116
|
"storeName"?: any;
|
117
117
|
"userId"?: string;
|
118
118
|
}
|