crmbonus-component-wake 0.0.7 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/dist/components/giftback-pin.d.ts +11 -0
  2. package/dist/components/giftback-progress.d.ts +11 -0
  3. package/dist/components/phone-input.d.ts +11 -0
  4. package/dist/crmbonus-component-wake/app-modal.entry.js +2 -2
  5. package/dist/crmbonus-component-wake/crm-bonus-form.entry.js +3865 -6
  6. package/dist/crmbonus-component-wake/crm-bonus-form.entry.js.map +1 -1
  7. package/dist/crmbonus-component-wake/crm-bonus.entry.js +3 -3
  8. package/dist/crmbonus-component-wake/crm-bonus.entry.js.map +1 -1
  9. package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js +3 -3
  10. package/dist/crmbonus-component-wake/giftback-pin.entry.js +38 -0
  11. package/dist/crmbonus-component-wake/giftback-pin.entry.js.map +1 -0
  12. package/dist/crmbonus-component-wake/giftback-progress.entry.js +26 -0
  13. package/dist/crmbonus-component-wake/giftback-progress.entry.js.map +1 -0
  14. package/dist/crmbonus-component-wake/{index-144d2e69.js → index-71c2c4ae.js} +2 -2
  15. package/dist/crmbonus-component-wake/index-71c2c4ae.js.map +1 -0
  16. package/dist/crmbonus-component-wake/{index-f4f9c8f2.js → index-eeb8f9f2.js} +2 -2
  17. package/dist/crmbonus-component-wake/{index-144d2e69.js.map → index-eeb8f9f2.js.map} +1 -1
  18. package/dist/crmbonus-component-wake/phone-input-mask.entry.js +3 -3
  19. package/dist/crmbonus-component-wake/phone-input-mask.entry.js.map +1 -1
  20. package/dist/crmbonus-component-wake/phone-input.entry.js +20 -0
  21. package/dist/crmbonus-component-wake/phone-input.entry.js.map +1 -0
  22. package/dist/types/components/crm-bonus/crm-bonus.d.ts +1 -0
  23. package/dist/types/components/crm-bonus-form/crm-bonus-form.d.ts +9 -2
  24. package/dist/types/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.d.ts +10 -0
  25. package/dist/types/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.d.ts +8 -0
  26. package/dist/types/components/crm-bonus-form/subcomponents/phone/phone.input.d.ts +7 -0
  27. package/dist/types/components/phone/phone-input-mask.d.ts +1 -1
  28. package/dist/types/components.d.ts +58 -1
  29. package/dist/types/dto/pin.sent.d.ts +4 -0
  30. package/dist/types/dto/validate.pin.bonus.d.ts +13 -0
  31. package/dist/types/home/darlison/Projects/crmbonus/crmbonus-component-wake/.stencil/env.d.ts +4 -0
  32. package/dist/types/services/crmbonus.service.d.ts +6 -0
  33. package/package.json +5 -2
  34. package/dist/crmbonus-component-wake/index-2aa8671b.js +0 -3039
  35. package/dist/crmbonus-component-wake/index-2aa8671b.js.map +0 -1
  36. package/dist/crmbonus-component-wake/index-f4f9c8f2.js.map +0 -1
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GiftbackPin extends Components.GiftbackPin, HTMLElement {}
4
+ export const GiftbackPin: {
5
+ prototype: GiftbackPin;
6
+ new (): GiftbackPin;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface GiftbackProgress extends Components.GiftbackProgress, HTMLElement {}
4
+ export const GiftbackProgress: {
5
+ prototype: GiftbackProgress;
6
+ new (): GiftbackProgress;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface PhoneInput extends Components.PhoneInput, HTMLElement {}
4
+ export const PhoneInput: {
5
+ prototype: PhoneInput;
6
+ new (): PhoneInput;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, a as createEvent, h } from './index-f4f9c8f2.js';
1
+ import { r as registerInstance, a as createEvent, h } from './index-71c2c4ae.js';
2
2
 
3
3
  const appModalCss = ".modal-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);display:none;justify-content:center;align-items:center;z-index:1000}.modal-backdrop.visible{display:flex}.modal{background:white;border-radius:8px;padding:1rem;max-width:500px;width:90%;box-shadow:0 2px 10px rgba(0, 0, 0, 0.3)}.modal-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ddd;margin-bottom:1rem}.close-button{background:none;border:none;font-size:1.5rem;cursor:pointer}.modal-body{}";
4
4
 
@@ -13,7 +13,7 @@ const AppModal = class {
13
13
  this.modalClosed.emit();
14
14
  }
15
15
  render() {
16
- return (h("div", { key: '3123d68ab0b3960c81873833899d315bcd31e64a', class: `modal-backdrop ${this.isOpen ? 'visible' : ''}` }, h("div", { key: '6afc1abb09215a5c498a91fa60e7e2179e60405d', class: "modal" }, h("div", { key: '74bcef6b6abcbdb96fa3505845c685d00c66bc82', class: "modal-header" }, h("h3", { key: '41e4033f3542370ae6c7ea51a00f0b916fb10344' }, this.modalTitle), h("button", { key: 'd440d24bef6d5bdbf6962c13b2a47607c08fe997', class: "close-button", onClick: () => this.closeModal() }, "\u00D7")), h("div", { key: '2639b0ab4a160d1b1100faa00258bb56df38776f', class: "modal-body" }, h("slot", { key: 'e90791acca3959cfeb676daf9acae611ca2fae9e' })))));
16
+ return (h("div", { key: '5d8a1d69a4d385244d76b63cc2913bfd116c2770', class: `modal-backdrop ${this.isOpen ? 'visible' : ''}` }, h("div", { key: 'cba53a13ef0e63341cccfb3b18c17c9ab89534e8', class: "modal" }, h("div", { key: '3d004fc0e759be2b4038fcde50cbd153518927ce', class: "modal-header" }, h("h3", { key: 'efb95ca281d70c3d01e389b2c3cdb7272fc2767f' }, this.modalTitle), h("button", { key: 'f84443411abb916fac9e183f2f91bf2dcfde7723', class: "close-button", onClick: () => this.closeModal() }, "\u00D7")), h("div", { key: 'de2cf94f8806ceb8af78efde12a27f082a08a3f3', class: "modal-body" }, h("slot", { key: 'dcfa486648090ed21faac8f0040f90bb96ee8def' })))));
17
17
  }
18
18
  };
19
19
  AppModal.style = appModalCss;