crmbonus-component-wake 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/giftback-pin.d.ts +11 -0
- package/dist/components/giftback-progress.d.ts +11 -0
- package/dist/components/phone-input.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 +3865 -6
- package/dist/crmbonus-component-wake/crm-bonus-form.entry.js.map +1 -1
- package/dist/crmbonus-component-wake/crm-bonus.entry.js +3 -3
- 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/giftback-pin.entry.js +38 -0
- package/dist/crmbonus-component-wake/giftback-pin.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/giftback-progress.entry.js +26 -0
- package/dist/crmbonus-component-wake/giftback-progress.entry.js.map +1 -0
- package/dist/crmbonus-component-wake/index-71c2c4ae.js +3039 -0
- package/dist/crmbonus-component-wake/index-71c2c4ae.js.map +1 -0
- package/dist/crmbonus-component-wake/{index-f4f9c8f2.js → index-eeb8f9f2.js} +2 -2
- package/dist/crmbonus-component-wake/index-eeb8f9f2.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 +20 -0
- package/dist/crmbonus-component-wake/phone-input.entry.js.map +1 -0
- package/dist/types/components/crm-bonus/crm-bonus.d.ts +1 -0
- package/dist/types/components/crm-bonus-form/crm-bonus-form.d.ts +9 -2
- package/dist/types/components/crm-bonus-form/subcomponents/giftback-pin/giftback-pin.d.ts +10 -0
- package/dist/types/components/crm-bonus-form/subcomponents/giftback-progress/giftback-progress.d.ts +8 -0
- package/dist/types/components/crm-bonus-form/subcomponents/phone/phone.input.d.ts +7 -0
- package/dist/types/components.d.ts +57 -0
- package/dist/types/dto/pin.sent.d.ts +4 -0
- package/dist/types/dto/validate.pin.bonus.d.ts +13 -0
- package/dist/types/home/darlison/Projects/crmbonus/crmbonus-component-wake/.stencil/env.d.ts +4 -0
- package/dist/types/services/crmbonus.service.d.ts +6 -0
- package/package.json +5 -2
- 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-
|
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: '
|
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;
|