crmbonus-component-wake 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. package/dist/components/loading-spinner.d.ts +11 -0
  2. package/dist/components/pedido-finalizado.d.ts +11 -0
  3. package/dist/crmbonus-component-wake/app-modal.entry.js +2 -2
  4. package/dist/crmbonus-component-wake/crm-bonus-form.entry.js +71 -3861
  5. package/dist/crmbonus-component-wake/crm-bonus-form.entry.js.map +1 -1
  6. package/dist/crmbonus-component-wake/crm-bonus.entry.js +6 -2
  7. package/dist/crmbonus-component-wake/crm-bonus.entry.js.map +1 -1
  8. package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js +3 -3
  9. package/dist/crmbonus-component-wake/crmbonus.service-134e7b0c.js +3863 -0
  10. package/dist/crmbonus-component-wake/crmbonus.service-134e7b0c.js.map +1 -0
  11. package/dist/crmbonus-component-wake/giftback-pin.entry.js +3 -5
  12. package/dist/crmbonus-component-wake/giftback-pin.entry.js.map +1 -1
  13. package/dist/crmbonus-component-wake/giftback-progress.entry.js +21 -8
  14. package/dist/crmbonus-component-wake/giftback-progress.entry.js.map +1 -1
  15. package/dist/crmbonus-component-wake/{index-9ebfa0b2.js → index-b9a7a992.js} +2 -2
  16. package/dist/crmbonus-component-wake/{index-9ebfa0b2.js.map → index-b9a7a992.js.map} +1 -1
  17. package/dist/crmbonus-component-wake/loading-spinner.entry.js +19 -0
  18. package/dist/crmbonus-component-wake/loading-spinner.entry.js.map +1 -0
  19. package/dist/crmbonus-component-wake/pedido-finalizado.entry.js +18 -0
  20. package/dist/crmbonus-component-wake/pedido-finalizado.entry.js.map +1 -0
  21. package/dist/crmbonus-component-wake/phone-input-mask.entry.js +2 -2
  22. package/dist/crmbonus-component-wake/phone-input.entry.js +2 -2
  23. package/dist/crmbonus-component-wake/phone-input.entry.js.map +1 -1
  24. package/dist/types/components/crm-bonus/crm-bonus.d.ts +4 -1
  25. package/dist/types/components/crm-bonus-form/crm-bonus-form.d.ts +8 -2
  26. package/dist/types/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.d.ts +1 -1
  27. package/dist/types/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.d.ts +6 -3
  28. package/dist/types/components/loading-spinner/loading-spinner.d.ts +5 -0
  29. package/dist/types/components/pedido/pedido.d.ts +4 -0
  30. package/dist/types/components.d.ts +48 -8
  31. package/dist/types/contants/index.d.ts +5 -0
  32. package/dist/types/contants/mocks.d.ts +4 -0
  33. package/dist/types/dto/validate.pin.bonus.d.ts +42 -6
  34. package/dist/types/services/crmbonus.service.d.ts +4 -1
  35. package/package.json +1 -1
  36. package/dist/crmbonus-component-wake/index-71c2c4ae.js +0 -3039
  37. package/dist/crmbonus-component-wake/index-71c2c4ae.js.map +0 -1
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface LoadingSpinner extends Components.LoadingSpinner, HTMLElement {}
4
+ export const LoadingSpinner: {
5
+ prototype: LoadingSpinner;
6
+ new (): LoadingSpinner;
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 PedidoFinalizado extends Components.PedidoFinalizado, HTMLElement {}
4
+ export const PedidoFinalizado: {
5
+ prototype: PedidoFinalizado;
6
+ new (): PedidoFinalizado;
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-9ebfa0b2.js';
1
+ import { r as registerInstance, a as createEvent, h } from './index-b9a7a992.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: 'a311cb4511ed438513165381f6f6716fbb98e7eb', class: `modal-backdrop ${this.isOpen ? 'visible' : ''}` }, h("div", { key: '32ae96a74f632fed1f022bb03aa758ecd97d5517', class: "modal" }, h("div", { key: 'c530273186ff342b29fe9b8e63f93c1101dbb4c1', class: "modal-header" }, h("h3", { key: '23fe8785c54f7b1797331907693767ae2f3895c8' }, this.modalTitle), h("button", { key: '01887990a93b0e2cf28e5075f5d17d9be9b1b624', class: "close-button", onClick: () => this.closeModal() }, "\u00D7")), h("div", { key: 'b3518d825e80ce61623fcc73acef86898f8a7cab', class: "modal-body" }, h("slot", { key: '984521462359cfc42a0e9e7c952af5723a23e267' })))));
16
+ return (h("div", { key: 'd57deb4dc3e57b2cfc24893b42be3696640f8278', class: `modal-backdrop ${this.isOpen ? 'visible' : ''}` }, h("div", { key: 'ea9cf768f827bf3e2462c62eb52c57316815b956', class: "modal" }, h("div", { key: '124cacc3f709c481802965824eada8dddc66929e', class: "modal-header" }, h("h3", { key: '663aa3a67f7dc2bb5cd8b791ef04c05eae8e57f9' }, this.modalTitle), h("button", { key: '679a674a789c8a845a75de1ce902afd5688ccbc1', class: "close-button", onClick: () => this.closeModal() }, "\u00D7")), h("div", { key: '6fc1e1e40942974efadbbf0163d3eef4fe1ef368', class: "modal-body" }, h("slot", { key: 'd0b8b797a97780032c8a57fe6f70f75562530992' })))));
17
17
  }
18
18
  };
19
19
  AppModal.style = appModalCss;