crmbonus-component-wake 0.0.11 → 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: '5dac98fc24dc6535c41cfca2aebb8810c815b436', 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: '86a08965c63af741c8db338302f9b0fcb4d1b9ec', class: "form-container" }, h("phone-input-mask", { key: 'b0ba205369b3ab748074abc15c05ab33231d0d49', ref: ref => this.phoneInputMask = ref }), h("button", { key: '00e2a86976d44a1841fda90a73d6405c15f4c252', 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,5 +2,8 @@ export declare class MyComponent {
2
2
  showModal: boolean;
3
3
  userId: string;
4
4
  storeName: any;
5
+ productsInString: string;
6
+ products: Array<any>;
7
+ componentWillLoad(): void;
5
8
  render(): any;
6
9
  }
@@ -13,6 +13,7 @@ export namespace Components {
13
13
  "modalTitle": string;
14
14
  }
15
15
  interface CrmBonus {
16
+ "productsInString": string;
16
17
  "storeName": any;
17
18
  "userId": string;
18
19
  }
@@ -111,6 +112,7 @@ declare namespace LocalJSX {
111
112
  "onModalClosed"?: (event: AppModalCustomEvent<void>) => void;
112
113
  }
113
114
  interface CrmBonus {
115
+ "productsInString"?: string;
114
116
  "storeName"?: any;
115
117
  "userId"?: string;
116
118
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crmbonus-component-wake",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",