crmbonus-component-wake 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) 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-71c2c4ae.js +3039 -0
  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-eeb8f9f2.js.map +1 -0
  18. package/dist/crmbonus-component-wake/phone-input-mask.entry.js +2 -2
  19. package/dist/crmbonus-component-wake/phone-input.entry.js +20 -0
  20. package/dist/crmbonus-component-wake/phone-input.entry.js.map +1 -0
  21. package/dist/types/components/crm-bonus/crm-bonus.d.ts +1 -0
  22. package/dist/types/components/crm-bonus-form/crm-bonus-form.d.ts +9 -2
  23. package/dist/types/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.d.ts +10 -0
  24. package/dist/types/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.d.ts +8 -0
  25. package/dist/types/components/crm-bonus-form/subcomponents/phone/phone.input.d.ts +7 -0
  26. package/dist/types/components.d.ts +57 -0
  27. package/dist/types/dto/pin.sent.d.ts +4 -0
  28. package/dist/types/dto/validate.pin.bonus.d.ts +13 -0
  29. package/dist/types/home/darlison/Projects/crmbonus/crmbonus-component-wake/.stencil/env.d.ts +4 -0
  30. package/dist/types/services/crmbonus.service.d.ts +6 -0
  31. package/package.json +5 -2
  32. 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: '7b733aa3839cb1a565a9492f8963c8fccf5633c1', class: `modal-backdrop ${this.isOpen ? 'visible' : ''}` }, h("div", { key: '3f6c192264c33d8fc1e87fe0663f04be745d5703', class: "modal" }, h("div", { key: 'cee602791571eb2a35bffc9f371ffb9f984390a2', class: "modal-header" }, h("h3", { key: '049767eae88f55e58c26b64147396c449f1b86ff' }, this.modalTitle), h("button", { key: '05b70bb33c1171759885a1f5c110a725edc13d5a', class: "close-button", onClick: () => this.closeModal() }, "\u00D7")), h("div", { key: '647eeff3f03e9cce2fd03209cd537424fe06d130', class: "modal-body" }, h("slot", { key: 'd88039e09e4ff4df6525f9355a969025e8dad611' })))));
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;