crmbonus-component-wake 0.0.12 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) 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 +11 -3
  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-71c2c4ae.js → index-b9a7a992.js} +2 -2
  16. package/dist/crmbonus-component-wake/{index-71c2c4ae.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 +6 -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 +50 -10
  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
@@ -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-71c2c4ae.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: '37c55ddb47bc0c333712da42f369851379c6c47d', class: `modal-backdrop ${this.isOpen ? 'visible' : ''}` }, h("div", { key: '79806824da9a4990ca6ba0cbf3c459431902e945', class: "modal" }, h("div", { key: 'cf60c5340f1171f2be3ebb23592d63c7ab0a086c', class: "modal-header" }, h("h3", { key: 'e5e4d66d4251c890319344c8c7ec66e66a44aa12' }, this.modalTitle), h("button", { key: '6eacc4be8e63e1511c3340ce460e618943d1ebbc', class: "close-button", onClick: () => this.closeModal() }, "\u00D7")), h("div", { key: '4dbec4e836cd3366a185581feeb1842a0b335f07', class: "modal-body" }, h("slot", { key: '38f4bb26dc576d6965f2ac184942cfdc8f4c4f07' })))));
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;