crmbonus-component-wake 0.0.12 → 0.0.13

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,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-71c2c4ae.js';
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: '8ec2c5769fd514155a25391de89b5267d9742473', id: "phone", type: "tel", class: "phone", value: this.phone, onInput: (event) => this.handleInput(event), placeholder: "(12) 94567-8910" }));
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-71c2c4ae.js';
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: '3e5921ab208cc6505874414e605a180b9c45c9ea', class: "form-container" }, h("phone-input-mask", { key: 'e8c80c27aa999df162f8e2ad9efacc5989dab23b', ref: ref => this.phoneInputMask = ref }), h("button", { key: 'ea6b0922c223e4154baf2a6a3f0b725f62113f57', class: `button ${this.loading ? 'disabled' : ''} `, disabled: this.loading, onClick: () => this.validatePhone() }, "validar")));
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
 
@@ -2,6 +2,8 @@ export declare class MyComponent {
2
2
  showModal: boolean;
3
3
  userId: string;
4
4
  storeName: any;
5
+ productsInString: string;
5
6
  products: Array<any>;
7
+ componentWillLoad(): void;
6
8
  render(): any;
7
9
  }
@@ -13,7 +13,7 @@ export namespace Components {
13
13
  "modalTitle": string;
14
14
  }
15
15
  interface CrmBonus {
16
- "products": Array<any>;
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
- "products"?: Array<any>;
115
+ "productsInString"?: string;
116
116
  "storeName"?: any;
117
117
  "userId"?: string;
118
118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crmbonus-component-wake",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",