crmbonus-component-wake 0.0.13 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/loading-spinner.d.ts +11 -0
- package/dist/components/pedido-finalizado.d.ts +11 -0
- package/dist/crmbonus-component-wake/app-modal.entry.js +2 -2
- package/dist/crmbonus-component-wake/crm-bonus-form.entry.js +72 -3861
- package/dist/crmbonus-component-wake/crm-bonus-form.entry.js.map +1 -1
- package/dist/crmbonus-component-wake/crm-bonus.entry.js +6 -2
- package/dist/crmbonus-component-wake/crm-bonus.entry.js.map +1 -1
- package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js +3 -3
- package/dist/crmbonus-component-wake/crmbonus.service-134e7b0c.js +3863 -0
- package/dist/crmbonus-component-wake/crmbonus.service-134e7b0c.js.map +1 -0
- package/dist/crmbonus-component-wake/crmbonus.service-756d754d.js +3863 -0
- package/dist/crmbonus-component-wake/crmbonus.service-756d754d.js.map +1 -0
- package/dist/crmbonus-component-wake/giftback-pin.entry.js +3 -5
- package/dist/crmbonus-component-wake/giftback-pin.entry.js.map +1 -1
- package/dist/crmbonus-component-wake/giftback-progress.entry.js +21 -8
- package/dist/crmbonus-component-wake/giftback-progress.entry.js.map +1 -1
- package/dist/crmbonus-component-wake/{index-9ebfa0b2.js → index-b9a7a992.js} +2 -2
- package/dist/crmbonus-component-wake/{index-9ebfa0b2.js.map → index-b9a7a992.js.map} +1 -1
- package/dist/crmbonus-component-wake/loading-spinner.entry.js +19 -0
- package/dist/crmbonus-component-wake/loading-spinner.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/pedido-finalizado.entry.js +18 -0
- package/dist/crmbonus-component-wake/pedido-finalizado.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/phone-input-mask.entry.js +2 -2
- package/dist/crmbonus-component-wake/phone-input.entry.js +2 -2
- package/dist/crmbonus-component-wake/phone-input.entry.js.map +1 -1
- package/dist/types/components/crm-bonus/crm-bonus.d.ts +4 -1
- package/dist/types/components/crm-bonus-form/crm-bonus-form.d.ts +8 -2
- package/dist/types/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.d.ts +1 -1
- package/dist/types/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.d.ts +6 -3
- package/dist/types/components/loading-spinner/loading-spinner.d.ts +5 -0
- package/dist/types/components/pedido/pedido.d.ts +4 -0
- package/dist/types/components.d.ts +48 -8
- package/dist/types/contants/index.d.ts +5 -0
- package/dist/types/contants/mocks.d.ts +4 -0
- package/dist/types/dto/validate.pin.bonus.d.ts +44 -6
- package/dist/types/home/darlison/Projects/crmbonus/crmbonus-component-wake/.stencil/env.d.ts +1 -1
- package/dist/types/services/crmbonus.service.d.ts +4 -1
- package/package.json +1 -1
- package/dist/crmbonus-component-wake/index-71c2c4ae.js +0 -3039
- 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-
|
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: '
|
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;
|