kivio 1.2.0 → 1.2.2
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/esm2022/lib/components/kv-popup/kv-popup.component.mjs +3 -3
- package/esm2022/lib/components/kv-resource-not-found/kv-resource-not-found.component.mjs +19 -0
- package/esm2022/public-api.mjs +2 -2
- package/fesm2022/kivio.mjs +13 -5
- package/fesm2022/kivio.mjs.map +1 -1
- package/lib/components/kv-resource-not-found/kv-resource-not-found.component.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/esm2022/lib/components/resource-not-found/resource-not-found.component.mjs +0 -11
- package/lib/components/resource-not-found/resource-not-found.component.d.ts +0 -5
|
@@ -17,11 +17,11 @@ export class KvPopupComponent {
|
|
|
17
17
|
this.onClose.emit();
|
|
18
18
|
}
|
|
19
19
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KvPopupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
20
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: KvPopupComponent, isStandalone: true, selector: "lib-kv-popup", inputs: { title: "title", description: "description", isCustomTemplate: "isCustomTemplate", actionType: "actionType" }, outputs: { onAccept: "onAccept", onClose: "onClose" }, ngImport: i0, template: "<div class=\"popup-backdrop\">\r\n <div class=\"popup-container\">\r\n <div class=\"content-container\">\r\n <div *ngIf=\"!isCustomTemplate\">\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <i class=\"icon material-icons\">error</i>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <i class=\"icon material-icons\">warning</i>\r\n </ng-container>\r\n </div>\r\n <div>\r\n <div class=\"title\">{{ title }}</div>\r\n <div *ngIf=\"description\">\r\n <p class=\"description\">{{ description }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"isCustomTemplate; else defaultContent\">\r\n <ng-content></ng-content>\r\n </ng-container>\r\n <ng-template #defaultContent>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Info\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--primary\" (click)=\"onAcceptSubmit()\">Aceptar</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Delete</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Continuar</button>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n </div>\r\n</div>", styles: ["@import\"https://fonts.googleapis.com/icon?family=Material+Icons\";.icon{display:inline-block;width:24px;height:24px;background-size:contain;background-repeat:no-repeat}.table-button--primary{width:100%;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.table-button--primary:hover{background-color:#00438a}.table-button--primary:disabled{background-color:#ededed;cursor:not-allowed}.button--primary{width:100%;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--primary:hover{background-color:#00438a}.button--primary:disabled{background-color:#ededed;cursor:not-allowed}.button--minimalist{height:min-content;padding:5px;background-color:#ebebeb;color:#475467;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--minimalist:disabled{background-color:#ededed;cursor:not-allowed}.button--primary-min{height:min-content;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;background:#0052cc;color:#fcfcfd}.button--primary-min:hover{background:#00438a}.button--primary-min:disabled{background-color:#ededed;cursor:not-allowed}.button--cancel{height:min-content;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;color:#475467;background-color:#fff;border:1px solid #ededed}.button--cancel:disabled{background-color:#ededed;cursor:not-allowed}.button--create{height:min-content;align-self:center;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--create:hover{background-color:#00438a}.button--create:disabled{background-color:#ededed;cursor:not-allowed}.button--sidenav{background-color:#fff;color:#475467;padding:8px;font-weight:700;border:none;display:flex;border-radius:4px;cursor:pointer;gap:10px;margin-top:10px;width:100%;align-items:center}.button--sidenav:hover{background-color:#f2f4f7;color:#101828}.button--sidenav:disabled{background-color:#ededed;cursor:not-allowed}.button--warn{background-color:#b90000;color:#f2f4f7;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;height:min-content}.button--warn:hover{background-color:red}.button--warn:disabled{background-color:#ededed;cursor:not-allowed}.button-container{display:flex;justify-content:flex-end;gap:8px}.button-container:disabled{background-color:#ededed;cursor:not-allowed}.popup-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}.popup-container{min-width:500px;max-width:500px;max-height:90vh;background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 10px #0000001a}.popup-container .content-container{display:flex;gap:15px;margin-bottom:30px}.popup-container .content-container .icon{color:red;font-size:30px}.popup-container .content-container .title{font-size:1.5rem;color:#101828}.popup-container .content-container .description{font-size:14px;color:#475467}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
20
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: KvPopupComponent, isStandalone: true, selector: "lib-kv-popup", inputs: { title: "title", description: "description", isCustomTemplate: "isCustomTemplate", actionType: "actionType" }, outputs: { onAccept: "onAccept", onClose: "onClose" }, ngImport: i0, template: "<div class=\"popup-backdrop\">\r\n <div class=\"popup-container\">\r\n <div class=\"content-container\">\r\n <div *ngIf=\"!isCustomTemplate\">\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <i class=\"icon material-icons\">error</i>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <i class=\"icon material-icons\">warning</i>\r\n </ng-container>\r\n </div>\r\n <div>\r\n <div class=\"title\">{{ title }}</div>\r\n <div *ngIf=\"description\">\r\n <p class=\"description\">{{ description }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"isCustomTemplate; else defaultContent\">\r\n <ng-content></ng-content>\r\n </ng-container>\r\n <ng-template #defaultContent>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Info\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--primary\" (click)=\"onAcceptSubmit()\">Aceptar</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Delete</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Continuar</button>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n </div>\r\n</div>", styles: ["@import\"https://fonts.googleapis.com/icon?family=Material+Icons\";.icon{display:inline-block;width:24px;height:24px;background-size:contain;background-repeat:no-repeat}.table-button--primary{width:100%;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.table-button--primary:hover{background-color:#00438a}.table-button--primary:disabled{background-color:#ededed;cursor:not-allowed}.button--primary{width:100%;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--primary:hover{background-color:#00438a}.button--primary:disabled{background-color:#ededed;cursor:not-allowed}.button--minimalist{height:min-content;padding:5px;background-color:#ebebeb;color:#475467;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--minimalist:disabled{background-color:#ededed;cursor:not-allowed}.button--primary-min{height:min-content;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;background:#0052cc;color:#fcfcfd}.button--primary-min:hover{background:#00438a}.button--primary-min:disabled{background-color:#ededed;cursor:not-allowed}.button--cancel{height:min-content;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;color:#475467;background-color:#fff;border:1px solid #ededed}.button--cancel:disabled{background-color:#ededed;cursor:not-allowed}.button--create{height:min-content;align-self:center;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--create:hover{background-color:#00438a}.button--create:disabled{background-color:#ededed;cursor:not-allowed}.button--sidenav{background-color:#fff;color:#475467;padding:8px;font-weight:700;border:none;display:flex;border-radius:4px;cursor:pointer;gap:10px;margin-top:10px;width:100%;align-items:center}.button--sidenav:hover{background-color:#f2f4f7;color:#101828}.button--sidenav:disabled{background-color:#ededed;cursor:not-allowed}.button--warn{background-color:#b90000;color:#f2f4f7;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;height:min-content}.button--warn:hover{background-color:red}.button--warn:disabled{background-color:#ededed;cursor:not-allowed}.button-container{display:flex;justify-content:flex-end;gap:8px}.button-container:disabled{background-color:#ededed;cursor:not-allowed}.popup-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}.popup-container{min-width:500px;max-width:500px;max-height:90vh;background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 10px #0000001a;overflow-y:auto}.popup-container .content-container{display:flex;gap:15px;margin-bottom:30px}.popup-container .content-container .icon{color:red;font-size:30px}.popup-container .content-container .title{font-size:1.5rem;color:#101828}.popup-container .content-container .description{font-size:14px;color:#475467}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
21
21
|
}
|
|
22
22
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KvPopupComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
|
-
args: [{ selector: 'lib-kv-popup', standalone: true, imports: [CommonModule], template: "<div class=\"popup-backdrop\">\r\n <div class=\"popup-container\">\r\n <div class=\"content-container\">\r\n <div *ngIf=\"!isCustomTemplate\">\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <i class=\"icon material-icons\">error</i>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <i class=\"icon material-icons\">warning</i>\r\n </ng-container>\r\n </div>\r\n <div>\r\n <div class=\"title\">{{ title }}</div>\r\n <div *ngIf=\"description\">\r\n <p class=\"description\">{{ description }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"isCustomTemplate; else defaultContent\">\r\n <ng-content></ng-content>\r\n </ng-container>\r\n <ng-template #defaultContent>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Info\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--primary\" (click)=\"onAcceptSubmit()\">Aceptar</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Delete</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Continuar</button>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n </div>\r\n</div>", styles: ["@import\"https://fonts.googleapis.com/icon?family=Material+Icons\";.icon{display:inline-block;width:24px;height:24px;background-size:contain;background-repeat:no-repeat}.table-button--primary{width:100%;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.table-button--primary:hover{background-color:#00438a}.table-button--primary:disabled{background-color:#ededed;cursor:not-allowed}.button--primary{width:100%;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--primary:hover{background-color:#00438a}.button--primary:disabled{background-color:#ededed;cursor:not-allowed}.button--minimalist{height:min-content;padding:5px;background-color:#ebebeb;color:#475467;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--minimalist:disabled{background-color:#ededed;cursor:not-allowed}.button--primary-min{height:min-content;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;background:#0052cc;color:#fcfcfd}.button--primary-min:hover{background:#00438a}.button--primary-min:disabled{background-color:#ededed;cursor:not-allowed}.button--cancel{height:min-content;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;color:#475467;background-color:#fff;border:1px solid #ededed}.button--cancel:disabled{background-color:#ededed;cursor:not-allowed}.button--create{height:min-content;align-self:center;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--create:hover{background-color:#00438a}.button--create:disabled{background-color:#ededed;cursor:not-allowed}.button--sidenav{background-color:#fff;color:#475467;padding:8px;font-weight:700;border:none;display:flex;border-radius:4px;cursor:pointer;gap:10px;margin-top:10px;width:100%;align-items:center}.button--sidenav:hover{background-color:#f2f4f7;color:#101828}.button--sidenav:disabled{background-color:#ededed;cursor:not-allowed}.button--warn{background-color:#b90000;color:#f2f4f7;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;height:min-content}.button--warn:hover{background-color:red}.button--warn:disabled{background-color:#ededed;cursor:not-allowed}.button-container{display:flex;justify-content:flex-end;gap:8px}.button-container:disabled{background-color:#ededed;cursor:not-allowed}.popup-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}.popup-container{min-width:500px;max-width:500px;max-height:90vh;background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 10px #0000001a}.popup-container .content-container{display:flex;gap:15px;margin-bottom:30px}.popup-container .content-container .icon{color:red;font-size:30px}.popup-container .content-container .title{font-size:1.5rem;color:#101828}.popup-container .content-container .description{font-size:14px;color:#475467}\n"] }]
|
|
24
|
+
args: [{ selector: 'lib-kv-popup', standalone: true, imports: [CommonModule], template: "<div class=\"popup-backdrop\">\r\n <div class=\"popup-container\">\r\n <div class=\"content-container\">\r\n <div *ngIf=\"!isCustomTemplate\">\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <i class=\"icon material-icons\">error</i>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <i class=\"icon material-icons\">warning</i>\r\n </ng-container>\r\n </div>\r\n <div>\r\n <div class=\"title\">{{ title }}</div>\r\n <div *ngIf=\"description\">\r\n <p class=\"description\">{{ description }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"isCustomTemplate; else defaultContent\">\r\n <ng-content></ng-content>\r\n </ng-container>\r\n <ng-template #defaultContent>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Info\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--primary\" (click)=\"onAcceptSubmit()\">Aceptar</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Delete</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Continuar</button>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n </div>\r\n</div>", styles: ["@import\"https://fonts.googleapis.com/icon?family=Material+Icons\";.icon{display:inline-block;width:24px;height:24px;background-size:contain;background-repeat:no-repeat}.table-button--primary{width:100%;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.table-button--primary:hover{background-color:#00438a}.table-button--primary:disabled{background-color:#ededed;cursor:not-allowed}.button--primary{width:100%;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--primary:hover{background-color:#00438a}.button--primary:disabled{background-color:#ededed;cursor:not-allowed}.button--minimalist{height:min-content;padding:5px;background-color:#ebebeb;color:#475467;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--minimalist:disabled{background-color:#ededed;cursor:not-allowed}.button--primary-min{height:min-content;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;background:#0052cc;color:#fcfcfd}.button--primary-min:hover{background:#00438a}.button--primary-min:disabled{background-color:#ededed;cursor:not-allowed}.button--cancel{height:min-content;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;color:#475467;background-color:#fff;border:1px solid #ededed}.button--cancel:disabled{background-color:#ededed;cursor:not-allowed}.button--create{height:min-content;align-self:center;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--create:hover{background-color:#00438a}.button--create:disabled{background-color:#ededed;cursor:not-allowed}.button--sidenav{background-color:#fff;color:#475467;padding:8px;font-weight:700;border:none;display:flex;border-radius:4px;cursor:pointer;gap:10px;margin-top:10px;width:100%;align-items:center}.button--sidenav:hover{background-color:#f2f4f7;color:#101828}.button--sidenav:disabled{background-color:#ededed;cursor:not-allowed}.button--warn{background-color:#b90000;color:#f2f4f7;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;height:min-content}.button--warn:hover{background-color:red}.button--warn:disabled{background-color:#ededed;cursor:not-allowed}.button-container{display:flex;justify-content:flex-end;gap:8px}.button-container:disabled{background-color:#ededed;cursor:not-allowed}.popup-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}.popup-container{min-width:500px;max-width:500px;max-height:90vh;background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 10px #0000001a;overflow-y:auto}.popup-container .content-container{display:flex;gap:15px;margin-bottom:30px}.popup-container .content-container .icon{color:red;font-size:30px}.popup-container .content-container .title{font-size:1.5rem;color:#101828}.popup-container .content-container .description{font-size:14px;color:#475467}\n"] }]
|
|
25
25
|
}], propDecorators: { title: [{
|
|
26
26
|
type: Input
|
|
27
27
|
}], description: [{
|
|
@@ -35,4 +35,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
35
35
|
}], onClose: [{
|
|
36
36
|
type: Output
|
|
37
37
|
}] } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
38
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtcG9wdXAuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l2aW8vc3JjL2xpYi9jb21wb25lbnRzL2t2LXBvcHVwL2t2LXBvcHVwLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2t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QoKTogdm9pZCB7XHJcbiAgICB0aGlzLm9uQWNjZXB0LmVtaXQoKTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBvbkNsb3NlU3VibWl0KCk6IHZvaWQge1xyXG4gICAgdGhpcy5vbkNsb3NlLmVtaXQoKTtcclxuICB9XHJcbn0iLCI8ZGl2IGNsYXNzPVwicG9wdXAtYmFja2Ryb3BcIj5cclxuICAgIDxkaXYgY2xhc3M9XCJwb3B1cC1jb250YWluZXJcIj5cclxuICAgICAgICA8ZGl2IGNsYXNzPVwiY29udGVudC1jb250YWluZXJcIj5cclxuICAgICAgICAgICAgPGRpdiAgKm5nSWY9XCIhaXNDdXN0b21UZW1wbGF0ZVwiPlxyXG4gICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cImFjdGlvblR5cGUgPT09IGFjdGlvblR5cGVFbnVtLldhcm5cIj5cclxuICAgICAgICAgICAgICAgICAgICA8aSBjbGFzcz1cImljb24gbWF0ZXJpYWwtaWNvbnNcIj5lcnJvcjwvaT5cclxuICAgICAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG4gICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cImFjdGlvblR5cGUgPT09IGFjdGlvblR5cGVFbnVtLkFkdmVydGlzZVwiPlxyXG4gICAgICAgICAgICAgICAgICAgIDxpIGNsYXNzPVwiaWNvbiBtYXRlcmlhbC1pY29uc1wiPndhcm5pbmc8L2k+XHJcbiAgICAgICAgICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgIDxkaXY+XHJcbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwidGl0bGVcIj57eyB0aXRsZSB9fTwvZGl2PlxyXG4gICAgICAgICAgICAgICAgPGRpdiAqbmdJZj1cImRlc2NyaXB0aW9uXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPHAgY2xhc3M9XCJkZXNjcmlwdGlvblwiPnt7IGRlc2NyaXB0aW9uIH19PC9wPlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDwvZGl2PlxyXG4gICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJpc0N1c3RvbVRlbXBsYXRlOyBlbHNlIGRlZmF1bHRDb250ZW50XCI+XHJcbiAgICAgICAgICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cclxuICAgICAgICA8L25nLWNvbnRhaW5lcj5cclxuICAgICAgICA8bmctdGVtcGxhdGUgI2RlZmF1bHRDb250ZW50PlxyXG4gICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiYWN0aW9uVHlwZSA9PT0gYWN0aW9uVHlwZUVudW0uSW5mb1wiPlxyXG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImJ1dHRvbi1jb250YWluZXJcIj5cclxuICAgICAgICAgICAgICAgICAgICA8YnV0dG9uIGNsYXNzPVwiYnV0dG9uLS1jYW5jZWxcIiAoY2xpY2spPVwib25DbG9zZVN1Ym1pdCgpXCI+Q2FuY2VsPC9idXR0b24+XHJcbiAgICAgICAgICAgICAgICAgICAgPGJ1dHRvbiBjbGFzcz1cImJ1dHRvbi0tcHJpbWFyeVwiIChjbGljayk9XCJvbkFjY2VwdFN1Ym1pdCgpXCI+QWNlcHRhcjwvYnV0dG9uPlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG4gICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ0lmPVwiYWN0aW9uVHlwZSA9PT0gYWN0aW9uVHlwZUVudW0uV2FyblwiPlxyXG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cImJ1dHRvbi1jb250YWluZXJcIj5cclxuICAgICAgICAgICAgICAgICAgICA8YnV0dG9uIGNsYXNzPVwiYnV0dG9uLS1jYW5jZWxcIiAoY2xpY2spPVwib25DbG9zZVN1Ym1pdCgpXCI+Q2FuY2VsPC9idXR0b24+XHJcbiAgICAgICAgICAgICAgICAgICAgPGJ1dHRvbiBjbGFzcz1cImJ1dHRvbi0td2FyblwiIChjbGljayk9XCJvbkFjY2VwdFN1Ym1pdCgpXCI+RGVsZXRlPC9idXR0b24+XHJcbiAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgPC9uZy1jb250YWluZXI+XHJcbiAgICAgICAgICAgIDxuZy1jb250YWluZXIgKm5nSWY9XCJhY3Rpb25UeXBlID09PSBhY3Rpb25UeXBlRW51bS5BZHZlcnRpc2VcIj5cclxuICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9XCJidXR0b24tY29udGFpbmVyXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgPGJ1dHRvbiBjbGFzcz1cImJ1dHRvbi0tY2FuY2VsXCIgKGNsaWNrKT1cIm9uQ2xvc2VTdWJtaXQoKVwiPkNhbmNlbDwvYnV0dG9uPlxyXG4gICAgICAgICAgICAgICAgICAgIDxidXR0b24gY2xhc3M9XCJidXR0b24tLXdhcm5cIiAoY2xpY2spPVwib25BY2NlcHRTdWJtaXQoKVwiPkNvbnRpbnVhcjwvYnV0dG9uPlxyXG4gICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgIDwvbmctY29udGFpbmVyPlxyXG4gICAgICAgIDwvbmctdGVtcGxhdGU+XHJcbiAgICA8L2Rpdj5cclxuPC9kaXY+Il19
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class ResourceNotFoundComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.messageTitle = 'Resource not found';
|
|
6
|
+
this.messageDescription = 'The requested resource could not be found.';
|
|
7
|
+
}
|
|
8
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ResourceNotFoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ResourceNotFoundComponent, isStandalone: true, selector: "lib-kv-resource-not-found", inputs: { messageTitle: "messageTitle", messageDescription: "messageDescription" }, ngImport: i0, template: "<div class=\"empty-state\">\r\n <div class=\"empty-state-content\">\r\n <i class=\"material-icons empty-icon\">rule</i>\r\n <h3>{{ messageTitle }}</h3>\r\n <p>{{ messageDescription }}</p>\r\n </div>\r\n</div>", styles: [".empty-state{display:flex;justify-content:center;align-items:center;min-height:300px;background-color:#f8f9fa;border-radius:8px;margin:2rem 0}.empty-state-content{text-align:center;padding:2rem}.empty-icon{font-size:64px;color:#adb5bd;margin-bottom:1rem}.empty-state h3{margin-bottom:.5rem;color:#495057;font-size:1.5rem}.empty-state p{color:#6c757d;max-width:400px}\n"] }); }
|
|
10
|
+
}
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ResourceNotFoundComponent, decorators: [{
|
|
12
|
+
type: Component,
|
|
13
|
+
args: [{ selector: 'lib-kv-resource-not-found', standalone: true, imports: [], template: "<div class=\"empty-state\">\r\n <div class=\"empty-state-content\">\r\n <i class=\"material-icons empty-icon\">rule</i>\r\n <h3>{{ messageTitle }}</h3>\r\n <p>{{ messageDescription }}</p>\r\n </div>\r\n</div>", styles: [".empty-state{display:flex;justify-content:center;align-items:center;min-height:300px;background-color:#f8f9fa;border-radius:8px;margin:2rem 0}.empty-state-content{text-align:center;padding:2rem}.empty-icon{font-size:64px;color:#adb5bd;margin-bottom:1rem}.empty-state h3{margin-bottom:.5rem;color:#495057;font-size:1.5rem}.empty-state p{color:#6c757d;max-width:400px}\n"] }]
|
|
14
|
+
}], propDecorators: { messageTitle: [{
|
|
15
|
+
type: Input
|
|
16
|
+
}], messageDescription: [{
|
|
17
|
+
type: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IHN0YW5kYWxvbmU6IHRydWUsXHJcbiAgaW1wb3J0czogW10sXHJcbiAgdGVtcGxhdGVVcmw6ICcuL2t2LXJlc291cmNlLW5vdC1mb3VuZC5jb21wb25lbnQuaHRtbCcsXHJcbiAgc3R5bGVVcmw6ICcuL2t2LXJlc291cmNlLW5vdC1mb3VuZC5jb21wb25lbnQuc2NzcydcclxufSlcclxuZXhwb3J0IGNsYXNzIFJlc291cmNlTm90Rm91bmRDb21wb25lbnQge1xyXG4gIEBJbnB1dCgpIG1lc3NhZ2VUaXRsZTogc3RyaW5nID0gJ1Jlc291cmNlIG5vdCBmb3VuZCc7XHJcbiAgQElucHV0KCkgbWVzc2FnZURlc2NyaXB0aW9uOiBzdHJpbmcgPSAnVGhlIHJlcXVlc3RlZCByZXNvdXJjZSBjb3VsZCBub3QgYmUgZm91bmQuJztcclxufVxyXG4iLCI8ZGl2IGNsYXNzPVwiZW1wdHktc3RhdGVcIj5cclxuICAgIDxkaXYgY2xhc3M9XCJlbXB0eS1zdGF0ZS1jb250ZW50XCI+XHJcbiAgICAgICAgPGkgY2xhc3M9XCJtYXRlcmlhbC1pY29ucyBlbXB0eS1pY29uXCI+cnVsZTwvaT5cclxuICAgICAgICA8aDM+e3sgbWVzc2FnZVRpdGxlIH19PC9oMz5cclxuICAgICAgICA8cD57eyBtZXNzYWdlRGVzY3JpcHRpb24gfX08L3A+XHJcbiAgICA8L2Rpdj5cclxuPC9kaXY+Il19
|
package/esm2022/public-api.mjs
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
//Components
|
|
5
5
|
export * from './lib/components/kv-popup/kv-popup.component';
|
|
6
6
|
export * from './lib/components/date-picker/date-picker.component';
|
|
7
|
-
export * from './lib/components/resource-not-found/resource-not-found.component';
|
|
7
|
+
export * from './lib/components/kv-resource-not-found/kv-resource-not-found.component';
|
|
8
8
|
export * from './lib/components/kv-stepper/kv-stepper.component';
|
|
9
9
|
export * from './lib/components/kv-step/kv-step.component';
|
|
10
10
|
export * from './lib/components/kv-accordion/kv-accordion.component';
|
|
@@ -29,4 +29,4 @@ export * from './lib/validators/password-missmatch.validator';
|
|
|
29
29
|
export * from './lib/enums/action-type.enum';
|
|
30
30
|
// Injection Tokens
|
|
31
31
|
export * from './lib/injection-tokens/auth-config';
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3Byb2plY3RzL2tpdmlvL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsWUFBWTtBQUNaLGNBQWMsOENBQThDLENBQUM7QUFDN0QsY0FBYyxvREFBb0QsQ0FBQztBQUNuRSxjQUFjLHdFQUF3RSxDQUFBO0FBQ3RGLGNBQWMsa0RBQWtELENBQUM7QUFDakUsY0FBYyw0Q0FBNEMsQ0FBQztBQUMzRCxjQUFjLHNEQUFzRCxDQUFDO0FBQ3JFLGNBQWMsOENBQThDLENBQUM7QUFDN0QsY0FBYyxzREFBc0QsQ0FBQTtBQUNwRSxjQUFjLHdEQUF3RCxDQUFBO0FBQ3RFLGNBQWMsa0RBQWtELENBQUM7QUFFakUsVUFBVTtBQUNWLGNBQWMsc0NBQXNDLENBQUM7QUFDckQsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxjQUFjLHFDQUFxQyxDQUFDO0FBQ3BELGNBQWMsZ0NBQWdDLENBQUM7QUFDL0MsY0FBYyx5Q0FBeUMsQ0FBQztBQUN4RCxjQUFjLDZCQUE2QixDQUFDO0FBRTVDLFNBQVM7QUFDVCxjQUFjLG9DQUFvQyxDQUFDO0FBRW5ELFNBQVM7QUFDVCxjQUFjLDJCQUEyQixDQUFBO0FBRXpDLFlBQVk7QUFDWixjQUFjLCtDQUErQyxDQ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G9hZGluZy9rdi1sb2FkaW5nLmNvbXBvbmVudCc7XHJcblxyXG4vL1NlcnZpY2VzXHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL2ZhY3Rvcmllcy9mb3JtLWZhY3Rvcnkuc2VydmljZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlcnZpY2VzL25hdmlnYXRpb24uc2VydmljZSc7XHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3NlcnZpY2VzL25vdGlmaWNhdGlvbi5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMvc2Vzc2lvbi5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMvYXV0aC1pbnRlcmNlcHRvci5zZXJ2aWNlJztcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvc2VydmljZXMvYXV0aC5zZXJ2aWNlJztcclxuXHJcbi8vQ29uZmlnc1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9pbnRlcmZhY2VzL2Zvcm0tZmllbGQuY29uZmlnJztcclxuXHJcbi8vSGVscGVyc1xyXG5leHBvcnQgKiBmcm9tICcuL2xpYi9oZWxwZXJzL2F1dGguaGVscGVyJ1xyXG5cclxuLy9WYWxpZGF0b3JzXHJcbmV4cG9ydCAqIGZyb20gJy4vbGliL3ZhbGlkYXRvcnMvcGFzc3dvcmQtbWlzc21hdGNoLnZhbGlkYXRvcidcclxuXHJcbi8vRW51bXNcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvZW51bXMvYWN0aW9uLXR5cGUuZW51bSdcclxuXHJcbi8vIEluamVjdGlvbiBUb2tlbnNcclxuZXhwb3J0ICogZnJvbSAnLi9saWIvaW5qZWN0aW9uLXRva2Vucy9hdXRoLWNvbmZpZyc7Il19
|
package/fesm2022/kivio.mjs
CHANGED
|
@@ -33,11 +33,11 @@ class KvPopupComponent {
|
|
|
33
33
|
this.onClose.emit();
|
|
34
34
|
}
|
|
35
35
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KvPopupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
36
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: KvPopupComponent, isStandalone: true, selector: "lib-kv-popup", inputs: { title: "title", description: "description", isCustomTemplate: "isCustomTemplate", actionType: "actionType" }, outputs: { onAccept: "onAccept", onClose: "onClose" }, ngImport: i0, template: "<div class=\"popup-backdrop\">\r\n <div class=\"popup-container\">\r\n <div class=\"content-container\">\r\n <div *ngIf=\"!isCustomTemplate\">\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <i class=\"icon material-icons\">error</i>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <i class=\"icon material-icons\">warning</i>\r\n </ng-container>\r\n </div>\r\n <div>\r\n <div class=\"title\">{{ title }}</div>\r\n <div *ngIf=\"description\">\r\n <p class=\"description\">{{ description }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"isCustomTemplate; else defaultContent\">\r\n <ng-content></ng-content>\r\n </ng-container>\r\n <ng-template #defaultContent>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Info\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--primary\" (click)=\"onAcceptSubmit()\">Aceptar</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Delete</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Continuar</button>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n </div>\r\n</div>", styles: ["@import\"https://fonts.googleapis.com/icon?family=Material+Icons\";.icon{display:inline-block;width:24px;height:24px;background-size:contain;background-repeat:no-repeat}.table-button--primary{width:100%;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.table-button--primary:hover{background-color:#00438a}.table-button--primary:disabled{background-color:#ededed;cursor:not-allowed}.button--primary{width:100%;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--primary:hover{background-color:#00438a}.button--primary:disabled{background-color:#ededed;cursor:not-allowed}.button--minimalist{height:min-content;padding:5px;background-color:#ebebeb;color:#475467;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--minimalist:disabled{background-color:#ededed;cursor:not-allowed}.button--primary-min{height:min-content;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;background:#0052cc;color:#fcfcfd}.button--primary-min:hover{background:#00438a}.button--primary-min:disabled{background-color:#ededed;cursor:not-allowed}.button--cancel{height:min-content;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;color:#475467;background-color:#fff;border:1px solid #ededed}.button--cancel:disabled{background-color:#ededed;cursor:not-allowed}.button--create{height:min-content;align-self:center;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--create:hover{background-color:#00438a}.button--create:disabled{background-color:#ededed;cursor:not-allowed}.button--sidenav{background-color:#fff;color:#475467;padding:8px;font-weight:700;border:none;display:flex;border-radius:4px;cursor:pointer;gap:10px;margin-top:10px;width:100%;align-items:center}.button--sidenav:hover{background-color:#f2f4f7;color:#101828}.button--sidenav:disabled{background-color:#ededed;cursor:not-allowed}.button--warn{background-color:#b90000;color:#f2f4f7;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;height:min-content}.button--warn:hover{background-color:red}.button--warn:disabled{background-color:#ededed;cursor:not-allowed}.button-container{display:flex;justify-content:flex-end;gap:8px}.button-container:disabled{background-color:#ededed;cursor:not-allowed}.popup-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}.popup-container{min-width:500px;max-width:500px;max-height:90vh;background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 10px #0000001a}.popup-container .content-container{display:flex;gap:15px;margin-bottom:30px}.popup-container .content-container .icon{color:red;font-size:30px}.popup-container .content-container .title{font-size:1.5rem;color:#101828}.popup-container .content-container .description{font-size:14px;color:#475467}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
36
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: KvPopupComponent, isStandalone: true, selector: "lib-kv-popup", inputs: { title: "title", description: "description", isCustomTemplate: "isCustomTemplate", actionType: "actionType" }, outputs: { onAccept: "onAccept", onClose: "onClose" }, ngImport: i0, template: "<div class=\"popup-backdrop\">\r\n <div class=\"popup-container\">\r\n <div class=\"content-container\">\r\n <div *ngIf=\"!isCustomTemplate\">\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <i class=\"icon material-icons\">error</i>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <i class=\"icon material-icons\">warning</i>\r\n </ng-container>\r\n </div>\r\n <div>\r\n <div class=\"title\">{{ title }}</div>\r\n <div *ngIf=\"description\">\r\n <p class=\"description\">{{ description }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"isCustomTemplate; else defaultContent\">\r\n <ng-content></ng-content>\r\n </ng-container>\r\n <ng-template #defaultContent>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Info\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--primary\" (click)=\"onAcceptSubmit()\">Aceptar</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Delete</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Continuar</button>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n </div>\r\n</div>", styles: ["@import\"https://fonts.googleapis.com/icon?family=Material+Icons\";.icon{display:inline-block;width:24px;height:24px;background-size:contain;background-repeat:no-repeat}.table-button--primary{width:100%;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.table-button--primary:hover{background-color:#00438a}.table-button--primary:disabled{background-color:#ededed;cursor:not-allowed}.button--primary{width:100%;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--primary:hover{background-color:#00438a}.button--primary:disabled{background-color:#ededed;cursor:not-allowed}.button--minimalist{height:min-content;padding:5px;background-color:#ebebeb;color:#475467;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--minimalist:disabled{background-color:#ededed;cursor:not-allowed}.button--primary-min{height:min-content;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;background:#0052cc;color:#fcfcfd}.button--primary-min:hover{background:#00438a}.button--primary-min:disabled{background-color:#ededed;cursor:not-allowed}.button--cancel{height:min-content;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;color:#475467;background-color:#fff;border:1px solid #ededed}.button--cancel:disabled{background-color:#ededed;cursor:not-allowed}.button--create{height:min-content;align-self:center;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--create:hover{background-color:#00438a}.button--create:disabled{background-color:#ededed;cursor:not-allowed}.button--sidenav{background-color:#fff;color:#475467;padding:8px;font-weight:700;border:none;display:flex;border-radius:4px;cursor:pointer;gap:10px;margin-top:10px;width:100%;align-items:center}.button--sidenav:hover{background-color:#f2f4f7;color:#101828}.button--sidenav:disabled{background-color:#ededed;cursor:not-allowed}.button--warn{background-color:#b90000;color:#f2f4f7;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;height:min-content}.button--warn:hover{background-color:red}.button--warn:disabled{background-color:#ededed;cursor:not-allowed}.button-container{display:flex;justify-content:flex-end;gap:8px}.button-container:disabled{background-color:#ededed;cursor:not-allowed}.popup-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}.popup-container{min-width:500px;max-width:500px;max-height:90vh;background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 10px #0000001a;overflow-y:auto}.popup-container .content-container{display:flex;gap:15px;margin-bottom:30px}.popup-container .content-container .icon{color:red;font-size:30px}.popup-container .content-container .title{font-size:1.5rem;color:#101828}.popup-container .content-container .description{font-size:14px;color:#475467}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] }); }
|
|
37
37
|
}
|
|
38
38
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KvPopupComponent, decorators: [{
|
|
39
39
|
type: Component,
|
|
40
|
-
args: [{ selector: 'lib-kv-popup', standalone: true, imports: [CommonModule], template: "<div class=\"popup-backdrop\">\r\n <div class=\"popup-container\">\r\n <div class=\"content-container\">\r\n <div *ngIf=\"!isCustomTemplate\">\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <i class=\"icon material-icons\">error</i>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <i class=\"icon material-icons\">warning</i>\r\n </ng-container>\r\n </div>\r\n <div>\r\n <div class=\"title\">{{ title }}</div>\r\n <div *ngIf=\"description\">\r\n <p class=\"description\">{{ description }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"isCustomTemplate; else defaultContent\">\r\n <ng-content></ng-content>\r\n </ng-container>\r\n <ng-template #defaultContent>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Info\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--primary\" (click)=\"onAcceptSubmit()\">Aceptar</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Delete</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Continuar</button>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n </div>\r\n</div>", styles: ["@import\"https://fonts.googleapis.com/icon?family=Material+Icons\";.icon{display:inline-block;width:24px;height:24px;background-size:contain;background-repeat:no-repeat}.table-button--primary{width:100%;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.table-button--primary:hover{background-color:#00438a}.table-button--primary:disabled{background-color:#ededed;cursor:not-allowed}.button--primary{width:100%;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--primary:hover{background-color:#00438a}.button--primary:disabled{background-color:#ededed;cursor:not-allowed}.button--minimalist{height:min-content;padding:5px;background-color:#ebebeb;color:#475467;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--minimalist:disabled{background-color:#ededed;cursor:not-allowed}.button--primary-min{height:min-content;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;background:#0052cc;color:#fcfcfd}.button--primary-min:hover{background:#00438a}.button--primary-min:disabled{background-color:#ededed;cursor:not-allowed}.button--cancel{height:min-content;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;color:#475467;background-color:#fff;border:1px solid #ededed}.button--cancel:disabled{background-color:#ededed;cursor:not-allowed}.button--create{height:min-content;align-self:center;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--create:hover{background-color:#00438a}.button--create:disabled{background-color:#ededed;cursor:not-allowed}.button--sidenav{background-color:#fff;color:#475467;padding:8px;font-weight:700;border:none;display:flex;border-radius:4px;cursor:pointer;gap:10px;margin-top:10px;width:100%;align-items:center}.button--sidenav:hover{background-color:#f2f4f7;color:#101828}.button--sidenav:disabled{background-color:#ededed;cursor:not-allowed}.button--warn{background-color:#b90000;color:#f2f4f7;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;height:min-content}.button--warn:hover{background-color:red}.button--warn:disabled{background-color:#ededed;cursor:not-allowed}.button-container{display:flex;justify-content:flex-end;gap:8px}.button-container:disabled{background-color:#ededed;cursor:not-allowed}.popup-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}.popup-container{min-width:500px;max-width:500px;max-height:90vh;background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 10px #0000001a}.popup-container .content-container{display:flex;gap:15px;margin-bottom:30px}.popup-container .content-container .icon{color:red;font-size:30px}.popup-container .content-container .title{font-size:1.5rem;color:#101828}.popup-container .content-container .description{font-size:14px;color:#475467}\n"] }]
|
|
40
|
+
args: [{ selector: 'lib-kv-popup', standalone: true, imports: [CommonModule], template: "<div class=\"popup-backdrop\">\r\n <div class=\"popup-container\">\r\n <div class=\"content-container\">\r\n <div *ngIf=\"!isCustomTemplate\">\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <i class=\"icon material-icons\">error</i>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <i class=\"icon material-icons\">warning</i>\r\n </ng-container>\r\n </div>\r\n <div>\r\n <div class=\"title\">{{ title }}</div>\r\n <div *ngIf=\"description\">\r\n <p class=\"description\">{{ description }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"isCustomTemplate; else defaultContent\">\r\n <ng-content></ng-content>\r\n </ng-container>\r\n <ng-template #defaultContent>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Info\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--primary\" (click)=\"onAcceptSubmit()\">Aceptar</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Delete</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Continuar</button>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n </div>\r\n</div>", styles: ["@import\"https://fonts.googleapis.com/icon?family=Material+Icons\";.icon{display:inline-block;width:24px;height:24px;background-size:contain;background-repeat:no-repeat}.table-button--primary{width:100%;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.table-button--primary:hover{background-color:#00438a}.table-button--primary:disabled{background-color:#ededed;cursor:not-allowed}.button--primary{width:100%;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--primary:hover{background-color:#00438a}.button--primary:disabled{background-color:#ededed;cursor:not-allowed}.button--minimalist{height:min-content;padding:5px;background-color:#ebebeb;color:#475467;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--minimalist:disabled{background-color:#ededed;cursor:not-allowed}.button--primary-min{height:min-content;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;background:#0052cc;color:#fcfcfd}.button--primary-min:hover{background:#00438a}.button--primary-min:disabled{background-color:#ededed;cursor:not-allowed}.button--cancel{height:min-content;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;color:#475467;background-color:#fff;border:1px solid #ededed}.button--cancel:disabled{background-color:#ededed;cursor:not-allowed}.button--create{height:min-content;align-self:center;padding:10px;background-color:#0052cc;color:#fcfcfd;border:none;border-radius:5px;font-size:16px;cursor:pointer}.button--create:hover{background-color:#00438a}.button--create:disabled{background-color:#ededed;cursor:not-allowed}.button--sidenav{background-color:#fff;color:#475467;padding:8px;font-weight:700;border:none;display:flex;border-radius:4px;cursor:pointer;gap:10px;margin-top:10px;width:100%;align-items:center}.button--sidenav:hover{background-color:#f2f4f7;color:#101828}.button--sidenav:disabled{background-color:#ededed;cursor:not-allowed}.button--warn{background-color:#b90000;color:#f2f4f7;padding:8px 20px;border:none;border-radius:4px;cursor:pointer;height:min-content}.button--warn:hover{background-color:red}.button--warn:disabled{background-color:#ededed;cursor:not-allowed}.button-container{display:flex;justify-content:flex-end;gap:8px}.button-container:disabled{background-color:#ededed;cursor:not-allowed}.popup-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:9999}.popup-container{min-width:500px;max-width:500px;max-height:90vh;background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 10px #0000001a;overflow-y:auto}.popup-container .content-container{display:flex;gap:15px;margin-bottom:30px}.popup-container .content-container .icon{color:red;font-size:30px}.popup-container .content-container .title{font-size:1.5rem;color:#101828}.popup-container .content-container .description{font-size:14px;color:#475467}\n"] }]
|
|
41
41
|
}], propDecorators: { title: [{
|
|
42
42
|
type: Input
|
|
43
43
|
}], description: [{
|
|
@@ -97,13 +97,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
97
97
|
}] } });
|
|
98
98
|
|
|
99
99
|
class ResourceNotFoundComponent {
|
|
100
|
+
constructor() {
|
|
101
|
+
this.messageTitle = 'Resource not found';
|
|
102
|
+
this.messageDescription = 'The requested resource could not be found.';
|
|
103
|
+
}
|
|
100
104
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ResourceNotFoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
101
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ResourceNotFoundComponent, isStandalone: true, selector: "lib-resource-not-found", ngImport: i0, template: "<div class=\"
|
|
105
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ResourceNotFoundComponent, isStandalone: true, selector: "lib-kv-resource-not-found", inputs: { messageTitle: "messageTitle", messageDescription: "messageDescription" }, ngImport: i0, template: "<div class=\"empty-state\">\r\n <div class=\"empty-state-content\">\r\n <i class=\"material-icons empty-icon\">rule</i>\r\n <h3>{{ messageTitle }}</h3>\r\n <p>{{ messageDescription }}</p>\r\n </div>\r\n</div>", styles: [".empty-state{display:flex;justify-content:center;align-items:center;min-height:300px;background-color:#f8f9fa;border-radius:8px;margin:2rem 0}.empty-state-content{text-align:center;padding:2rem}.empty-icon{font-size:64px;color:#adb5bd;margin-bottom:1rem}.empty-state h3{margin-bottom:.5rem;color:#495057;font-size:1.5rem}.empty-state p{color:#6c757d;max-width:400px}\n"] }); }
|
|
102
106
|
}
|
|
103
107
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ResourceNotFoundComponent, decorators: [{
|
|
104
108
|
type: Component,
|
|
105
|
-
args: [{ selector: 'lib-resource-not-found', standalone: true, imports: [], template: "<div class=\"
|
|
106
|
-
}]
|
|
109
|
+
args: [{ selector: 'lib-kv-resource-not-found', standalone: true, imports: [], template: "<div class=\"empty-state\">\r\n <div class=\"empty-state-content\">\r\n <i class=\"material-icons empty-icon\">rule</i>\r\n <h3>{{ messageTitle }}</h3>\r\n <p>{{ messageDescription }}</p>\r\n </div>\r\n</div>", styles: [".empty-state{display:flex;justify-content:center;align-items:center;min-height:300px;background-color:#f8f9fa;border-radius:8px;margin:2rem 0}.empty-state-content{text-align:center;padding:2rem}.empty-icon{font-size:64px;color:#adb5bd;margin-bottom:1rem}.empty-state h3{margin-bottom:.5rem;color:#495057;font-size:1.5rem}.empty-state p{color:#6c757d;max-width:400px}\n"] }]
|
|
110
|
+
}], propDecorators: { messageTitle: [{
|
|
111
|
+
type: Input
|
|
112
|
+
}], messageDescription: [{
|
|
113
|
+
type: Input
|
|
114
|
+
}] } });
|
|
107
115
|
|
|
108
116
|
class KvStepComponent {
|
|
109
117
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: KvStepComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
package/fesm2022/kivio.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kivio.mjs","sources":["../../../projects/kivio/src/lib/enums/action-type.enum.ts","../../../projects/kivio/src/lib/components/kv-popup/kv-popup.component.ts","../../../projects/kivio/src/lib/components/kv-popup/kv-popup.component.html","../../../projects/kivio/src/lib/components/date-picker/date-picker.component.ts","../../../projects/kivio/src/lib/components/date-picker/date-picker.component.html","../../../projects/kivio/src/lib/components/resource-not-found/resource-not-found.component.ts","../../../projects/kivio/src/lib/components/resource-not-found/resource-not-found.component.html","../../../projects/kivio/src/lib/components/kv-step/kv-step.component.ts","../../../projects/kivio/src/lib/components/kv-step/kv-step.component.html","../../../projects/kivio/src/lib/components/kv-stepper/kv-stepper.component.ts","../../../projects/kivio/src/lib/components/kv-stepper/kv-stepper.component.html","../../../projects/kivio/src/lib/components/kv-accordion/kv-accordion.component.ts","../../../projects/kivio/src/lib/components/kv-accordion/kv-accordion.component.html","../../../projects/kivio/src/lib/components/kv-alert/kv-alert.component.ts","../../../projects/kivio/src/lib/components/kv-alert/kv-alert.component.html","../../../projects/kivio/src/lib/components/kv-side-menu/kv-side-menu.component.ts","../../../projects/kivio/src/lib/components/kv-side-menu/kv-side-menu.component.html","../../../projects/kivio/src/lib/components/kv-loading/kv-loading.component.ts","../../../projects/kivio/src/lib/components/kv-loading/kv-loading.component.html","../../../projects/kivio/src/lib/components/kv-main-table/kv-main-table.component.ts","../../../projects/kivio/src/lib/components/kv-main-table/kv-main-table.component.html","../../../projects/kivio/src/lib/factories/form-factory.service.ts","../../../projects/kivio/src/lib/services/navigation.service.ts","../../../projects/kivio/src/lib/services/notification.service.ts","../../../projects/kivio/src/lib/services/session.service.ts","../../../projects/kivio/src/lib/injection-tokens/auth-config.ts","../../../projects/kivio/src/lib/services/auth-interceptor.service.ts","../../../projects/kivio/src/lib/services/auth.service.ts","../../../projects/kivio/src/lib/helpers/auth.helper.ts","../../../projects/kivio/src/lib/validators/password-missmatch.validator.ts","../../../projects/kivio/src/public-api.ts","../../../projects/kivio/src/kivio.ts"],"sourcesContent":["export enum ActionType {\r\n Info = \"info\",\r\n Warn = \"warn\",\r\n Error = \"error\",\r\n Advertise = \"advertise\"\r\n}","import { CommonModule } from '@angular/common';\r\nimport { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { ActionType } from '../../enums/action-type.enum';\r\n\r\n@Component({\r\n selector: 'lib-kv-popup',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './kv-popup.component.html',\r\n styleUrl: './kv-popup.component.scss'\r\n})\r\nexport class KvPopupComponent{\r\n\r\n @Input() title: string = '';\r\n @Input() description!: string;\r\n @Input() isCustomTemplate!: boolean;\r\n @Input() actionType!: ActionType;\r\n @Output() onAccept: EventEmitter<void> = new EventEmitter<void>();\r\n @Output() onClose: EventEmitter<void> = new EventEmitter<void>();\r\n\r\n public actionTypeEnum = ActionType;\r\n\r\n public onAcceptSubmit(): void {\r\n this.onAccept.emit();\r\n }\r\n\r\n public onCloseSubmit(): void {\r\n this.onClose.emit();\r\n }\r\n}","<div class=\"popup-backdrop\">\r\n <div class=\"popup-container\">\r\n <div class=\"content-container\">\r\n <div *ngIf=\"!isCustomTemplate\">\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <i class=\"icon material-icons\">error</i>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <i class=\"icon material-icons\">warning</i>\r\n </ng-container>\r\n </div>\r\n <div>\r\n <div class=\"title\">{{ title }}</div>\r\n <div *ngIf=\"description\">\r\n <p class=\"description\">{{ description }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"isCustomTemplate; else defaultContent\">\r\n <ng-content></ng-content>\r\n </ng-container>\r\n <ng-template #defaultContent>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Info\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--primary\" (click)=\"onAcceptSubmit()\">Aceptar</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Delete</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Continuar</button>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n </div>\r\n</div>","import { CommonModule } from '@angular/common';\r\nimport { Component, EventEmitter, Output, Input } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'lib-kv-date-picker',\r\n standalone: true,\r\n imports: [FormsModule, CommonModule],\r\n templateUrl: './date-picker.component.html',\r\n styleUrl: './date-picker.component.scss'\r\n})\r\nexport class DatePickerComponent {\r\n @Input() initialDate?: Date;\r\n @Input() showDetails = false;\r\n @Output() dateSelected = new EventEmitter<Date>();\r\n\r\n selectedDate: Date = new Date();\r\n minDate: string = '';\r\n\r\n ngOnInit() {\r\n this.minDate = this.formatDateForInput(new Date());\r\n\r\n if (this.initialDate) {\r\n this.selectedDate = this.initialDate >= new Date(this.minDate) ? this.initialDate : new Date();\r\n }\r\n }\r\n\r\n formatDateForInput(date: Date): string {\r\n const year = date.getFullYear();\r\n const month = String(date.getMonth() + 1).padStart(2, '0');\r\n const day = String(date.getDate()).padStart(2, '0');\r\n return `${year}-${month}-${day}`;\r\n }\r\n\r\n onDateChange(event: Event) {\r\n const input = event.target as HTMLInputElement;\r\n const newDate = new Date(input.value + \"T00:00:00\");\r\n\r\n if (newDate >= new Date(this.minDate)) {\r\n this.selectedDate = newDate;\r\n this.dateSelected.emit(this.selectedDate);\r\n } else {\r\n input.value = this.minDate;\r\n }\r\n }\r\n}\r\n","<div class=\"date-picker\">\r\n <input \r\n type=\"date\" \r\n [value]=\"formatDateForInput(selectedDate)\" \r\n [min]=\"minDate\" \r\n (input)=\"onDateChange($event)\" \r\n class=\"form-control\">\r\n \r\n <div *ngIf=\"showDetails\" class=\"date-details\">\r\n <p>{{ selectedDate | date:'fullDate' }}</p>\r\n </div>\r\n</div>\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-resource-not-found',\r\n standalone: true,\r\n imports: [],\r\n templateUrl: './resource-not-found.component.html',\r\n styleUrl: './resource-not-found.component.scss'\r\n})\r\nexport class ResourceNotFoundComponent {\r\n\r\n}\r\n","<div class=\"not-found\">\r\n <h2>Recurso no encontrado</h2>\r\n <p>El recurso consultado no está disponible</p>\r\n</div>","import { CommonModule } from '@angular/common';\r\nimport { Component, ContentChild, Input, TemplateRef } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-kv-step',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './kv-step.component.html',\r\n styleUrl: './kv-step.component.scss'\r\n})\r\nexport class KvStepComponent {\r\n @Input() title!: string;\r\n @Input() description!: string;\r\n @ContentChild(TemplateRef) content!: TemplateRef<any>;\r\n}\r\n","<p>kv-step works!</p>\r\n","import { CommonModule } from '@angular/common';\r\nimport { AfterContentInit, Component, ContentChildren, EventEmitter, Input, Output, QueryList, signal, TemplateRef } from '@angular/core';\r\nimport { KvStepComponent } from '../kv-step/kv-step.component';\r\n\r\n@Component({\r\n selector: 'lib-kv-stepper',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './kv-stepper.component.html',\r\n styleUrl: './kv-stepper.component.scss'\r\n})\r\n\r\nexport class KvStepperComponent implements AfterContentInit {\r\n currentStep = signal(0);\r\n \r\n @ContentChildren(KvStepComponent) steps!: QueryList<KvStepComponent>;\r\n\r\n @Input() public isSimpleStepper: boolean = false;\r\n @Input() public isVertical: boolean = false;\r\n @Input() public isAssociated: boolean = false;\r\n @Output() submit = new EventEmitter<void>();\r\n @Output() closeEvent = new EventEmitter<void>();\r\n @Output() isLastStep = new EventEmitter<boolean>();\r\n\r\n ngAfterContentInit() {\r\n if (this.steps.length === 0) {\r\n console.error('No se encontraron pasos en el stepper');\r\n }\r\n }\r\n\r\n next() {\r\n this.isLastStep.emit(true);\r\n if (this.currentStep() < this.steps.length - 1) {\r\n this.currentStep.update(val => val + 1);\r\n }\r\n }\r\n\r\n previous() {\r\n if (this.currentStep() > 0) {\r\n this.currentStep.update(val => val - 1);\r\n this.isLastStep.emit(true);\r\n }\r\n }\r\n\r\n close() {\r\n this.closeEvent.emit();\r\n }\r\n}","<ng-container *ngIf=\"!isSimpleStepper\">\r\n <div class=\"stepper-container\">\r\n <div class=\"step-header\">\r\n <div *ngFor=\"let step of steps; let i = index\" class=\"step-item\" [class.active]=\"currentStep() === i\"\r\n [class.completed]=\"i < currentStep()\">\r\n <div class=\"step-number\">{{ i + 1 }}</div>\r\n <div class=\"step-title\">{{ step.title }}</div>\r\n </div>\r\n </div>\r\n \r\n <div class=\"step-content\">\r\n <ng-container *ngIf=\"steps.get(currentStep())?.content\">\r\n <ng-container *ngTemplateOutlet=\"steps.get(currentStep())!.content\">\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n \r\n <div class=\"step-actions\">\r\n <button class=\"button--cancel\" (click)=\"close()\">Cancel</button>\r\n <button class=\"button--primary-min\" *ngIf=\"currentStep() > 0\" (click)=\"previous()\">Anterior</button>\r\n <button class=\"button--primary-min\" *ngIf=\"currentStep() < steps.length - 1\" (click)=\"next()\" [disabled]=\"!isAssociated\">Next</button>\r\n <button class=\"button--primary-min\" *ngIf=\"currentStep() === steps.length - 1\" (click)=\"submit.emit()\">Create</button>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"isSimpleStepper && !isVertical\">\r\n <div class=\"stepper-container-simple\">\r\n <div class=\"step-header\">\r\n <div *ngFor=\"let step of steps; let i = index\" class=\"step-item\" [class.active]=\"currentStep() === i\"\r\n [class.completed]=\"i < currentStep()\">\r\n <div class=\"step-number\">{{ i + 1 }}</div>\r\n <div class=\"step-title\">{{ step.title }}</div>\r\n </div>\r\n </div>\r\n \r\n <div class=\"step-content-simple\">\r\n <ng-container *ngIf=\"steps.get(currentStep())?.content\">\r\n <ng-container *ngTemplateOutlet=\"steps.get(currentStep())!.content\">\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"isSimpleStepper && isVertical\">\r\n <div class=\"stepper-container-vertical\">\r\n <div class=\"vertical-steps\">\r\n <div *ngFor=\"let step of steps; let i = index\" class=\"vertical-step-item\">\r\n <div class=\"step-indicator-container\">\r\n <div class=\"vertical-step-indicator\" \r\n [class.active]=\"currentStep() === i\"\r\n [class.completed]=\"i < currentStep()\">\r\n <div class=\"step-number\">{{ i + 1 }}</div>\r\n </div>\r\n <div class=\"vertical-line\" *ngIf=\"i !== steps.length - 1\"></div>\r\n </div>\r\n <div class=\"title-container\">\r\n <div class=\"step-title\">{{ step.title }}</div>\r\n <div class=\"step-description\">{{ step.description }}</div>\r\n </div>\r\n <div class=\"vertical-step-content\" \r\n [class.active]=\"currentStep() === i\"\r\n (click)=\"currentStep.set(i)\">\r\n <div class=\"step-content-vertical\" *ngIf=\"currentStep() === i\">\r\n <ng-container *ngTemplateOutlet=\"step.content\"></ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-container>","import { CommonModule } from '@angular/common';\r\nimport { Component, EventEmitter, Input, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-kv-accordion',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './kv-accordion.component.html',\r\n styleUrl: './kv-accordion.component.scss'\r\n})\r\nexport class KvAccordionComponent {\r\n @Input() isOpen = false;\r\n @Input() title = '';\r\n @Input() shouldShowImage = true;\r\n @Output() opened = new EventEmitter<void>();\r\n\r\n toggle() {\r\n this.isOpen = !this.isOpen;\r\n if(this.isOpen) {\r\n this.opened.emit();\r\n }\r\n }\r\n}\r\n","<div class=\"accordion\">\r\n <div class=\"accordion-header\" (click)=\"toggle()\">\r\n <div class=\"accordion-title\">\r\n <ng-container *ngIf=\"shouldShowImage\">\r\n <img width=\"40px\" [src]=\"'https://i.imgur.com/InRaVrL.jpg'\" alt=\"User Avatar\" class=\"avatar\">\r\n </ng-container>\r\n <span>{{ title }}</span>\r\n </div>\r\n <span class=\"accordion-icon\" [class.open]=\"isOpen\">▼</span>\r\n </div>\r\n <div class=\"accordion-content\" [class.open]=\"isOpen\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>","import { CommonModule } from '@angular/common';\r\nimport { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-kv-alert',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './kv-alert.component.html',\r\n styleUrl: './kv-alert.component.scss'\r\n})\r\nexport class KvAlertComponent implements OnInit{\r\n\r\n @Input() message: string = '';\r\n @Input() description: string = '';\r\n @Input() type = 'warning';\r\n @Input() timeoutDuration: number = 5000;\r\n @Output() close = new EventEmitter<void>();\r\n\r\n ngOnInit() {\r\n if (this.timeoutDuration > 0) {\r\n setTimeout(() => this.onClose(), this.timeoutDuration);\r\n }\r\n }\r\n\r\n onClose() {\r\n this.close.emit();\r\n }\r\n\r\n}\r\n","<div class=\"alert-container\">\r\n <div class=\"icon\" [ngClass]=\"type\">\r\n <ng-container *ngIf=\"type === 'success'\">\r\n <i class=\"icon material-icons\">check</i>\r\n </ng-container>\r\n <ng-container *ngIf=\"type !== 'success'\">\r\n <i class=\"icon material-icons\">close</i>\r\n </ng-container>\r\n </div>\r\n <div class=\"message\">\r\n <strong>{{ message }}</strong>\r\n <p>{{ description }}</p>\r\n </div>\r\n <button class=\"close-btn\" (click)=\"onClose()\">✖</button>\r\n</div>","import { CommonModule } from '@angular/common';\r\nimport { Component, EventEmitter, Input, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-kv-side-menu',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './kv-side-menu.component.html',\r\n styleUrl: './kv-side-menu.component.scss'\r\n})\r\nexport class KvSideMenuComponent {\r\n @Input() breadcrumb: string = '';\r\n @Output() onEdit: EventEmitter<boolean> = new EventEmitter<boolean>();\r\n @Output() onClose: EventEmitter<void> = new EventEmitter<void>();\r\n @Output() onDelete: EventEmitter<void> = new EventEmitter<void>();\r\n @Output() onSaveChanges: EventEmitter<void> = new EventEmitter<void>();\r\n\r\n public isEditMode: boolean = false;\r\n\r\n public handleEditButtonClicked(): void {\r\n this.isEditMode = !this.isEditMode;\r\n this.onEdit.emit(this.isEditMode);\r\n }\r\n\r\n public handleCloseButtonClicked(): void {\r\n this.onClose.emit();\r\n }\r\n\r\n public handleDeleteButtonClicked(): void {\r\n this.onDelete.emit();\r\n }\r\n\r\n public handleSaveChangesButtonClicked(): void {\r\n this.onSaveChanges.emit();\r\n }\r\n}\r\n","<div class=\"right-menu\">\r\n <div class=\"header\">\r\n <ng-container *ngIf=\"!isEditMode\">\r\n <span>{{ breadcrumb }}</span>\r\n <div>\r\n <button class=\"delete-button section-button\" (click)=\"handleDeleteButtonClicked()\"><i class=\"icon material-icons\">delete</i></button>\r\n <button class=\"edit-button section-button\" (click)=\"handleEditButtonClicked()\"><i class=\"icon material-icons\">edit</i></button>\r\n <button class=\"close-button section-button\" (click)=\"handleCloseButtonClicked()\"><i class=\"icon material-icons\">close</i></button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"isEditMode\">\r\n <button class=\"edit-button section-button\" (click)=\"handleEditButtonClicked()\"><i class=\"icon material-icons\">arrow_back</i></button>\r\n <div>\r\n <button class=\"button--primary-min\" (click)=\"handleSaveChangesButtonClicked()\">Save changes</button>\r\n </div>\r\n </ng-container>\r\n \r\n </div>\r\n <div class=\"body\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>","import { CommonModule } from \"@angular/common\";\r\nimport { Component, Input } from \"@angular/core\";\r\n\r\n@Component({\r\n selector: 'lib-kv-loading',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './kv-loading.component.html',\r\n styleUrl: './kv-loading.component.scss'\r\n })\r\n export class KvLoadingComponent{\r\n \r\n @Input() message: string = '';\r\n @Input() isLoading: boolean = false;\r\n \r\n }","<div class=\"loading-component\">\r\n <div class=\"loading-container\" *ngIf=\"isLoading\">\r\n <div class=\"loading-spinner\"></div>\r\n <p>{{message}}</p>\r\n </div>\r\n</div>","import { CommonModule } from '@angular/common';\r\nimport {\r\n Component,\r\n EventEmitter,\r\n Input,\r\n Output,\r\n OnInit,\r\n OnChanges,\r\n SimpleChanges,\r\n ContentChild,\r\n} from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { KvLoadingComponent } from '../kv-loading/kv-loading.component';\r\n\r\n@Component({\r\n selector: 'lib-kv-main-table',\r\n standalone: true,\r\n imports: [CommonModule, FormsModule, KvLoadingComponent],\r\n templateUrl: './kv-main-table.component.html',\r\n styleUrl: './kv-main-table.component.scss',\r\n})\r\nexport class KvMainTableComponent implements OnInit, OnChanges {\r\n @Input() columns: { key: string; label: string }[] = [];\r\n @Input() data: any[] = [];\r\n @Input() extraData!: any[];\r\n @Input() showPaginator: boolean = true;\r\n @Input() lazyLoading: boolean = false;\r\n @Input() loading: boolean = false;\r\n @Input() totalRecords: number = 0;\r\n @Input() message: string = '';\r\n\r\n @ContentChild('cellActions') cellActionsTemplate: any;\r\n @Output() onNameClicked: EventEmitter<any> = new EventEmitter<any>();\r\n @Output() onPageChange: EventEmitter<{\r\n page: number;\r\n pageSize: number;\r\n searchText: string;\r\n }> = new EventEmitter<{\r\n page: number;\r\n pageSize: number;\r\n searchText: string;\r\n }>();\r\n\r\n searchText: string = '';\r\n currentPage: number = 1;\r\n pageSize: number = 5;\r\n filteredItems: any[] = [];\r\n\r\n ngOnInit() {\r\n this.updateFilteredData();\r\n if (this.lazyLoading) {\r\n this.loadLazyData();\r\n }\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes['data'] || changes['searchText']) {\r\n this.updateFilteredData();\r\n }\r\n }\r\n\r\n private updateFilteredData() {\r\n if (!this.lazyLoading) {\r\n this.filteredItems = this.getFilteredData();\r\n }\r\n }\r\n\r\n private getFilteredData() {\r\n return this.data\r\n .filter((item) =>\r\n this.columns.some((col) =>\r\n item[col.key]\r\n ?.toString()\r\n .toLowerCase()\r\n .includes(this.searchText.toLowerCase())\r\n )\r\n )\r\n .slice(\r\n (this.currentPage - 1) * this.pageSize,\r\n this.currentPage * this.pageSize\r\n );\r\n }\r\n\r\n get filteredData() {\r\n return this.lazyLoading ? this.data : this.getFilteredData();\r\n }\r\n\r\n totalPages(): number {\r\n if (this.lazyLoading) {\r\n return Math.ceil(this.totalRecords / this.pageSize);\r\n }\r\n\r\n return Math.ceil(\r\n this.data.filter((item) =>\r\n this.columns.some((col) =>\r\n item[col.key]\r\n ?.toString()\r\n .toLowerCase()\r\n .includes(this.searchText.toLowerCase())\r\n )\r\n ).length / this.pageSize\r\n );\r\n }\r\n\r\n changePage(direction: number) {\r\n if (this.lazyLoading) {\r\n const newPage = this.currentPage + direction;\r\n if (newPage >= 1) {\r\n this.currentPage = newPage;\r\n this.loadLazyData();\r\n } else {\r\n if (this.currentPage !== 1) {\r\n this.currentPage = 1;\r\n this.loadLazyData();\r\n }\r\n }\r\n } else {\r\n const newPage = this.currentPage + direction;\r\n if (newPage > 0 && newPage <= this.totalPages()) {\r\n this.currentPage = newPage;\r\n this.updateFilteredData();\r\n }\r\n }\r\n }\r\n\r\n onSearch() {\r\n this.currentPage = 1;\r\n if (this.lazyLoading) {\r\n this.loadLazyData();\r\n } else {\r\n this.updateFilteredData();\r\n }\r\n }\r\n\r\n loadLazyData() {\r\n this.onPageChange.emit({\r\n page: this.currentPage,\r\n pageSize: this.pageSize,\r\n searchText: this.searchText,\r\n });\r\n }\r\n\r\n public getPosName(posId: string): string {\r\n return (\r\n this.extraData?.find((pos) => pos.point_of_sale_id === posId)?.name || ''\r\n );\r\n }\r\n\r\n public emitData(data: any) {\r\n this.onNameClicked.emit(data);\r\n }\r\n}\r\n","<lib-kv-loading [message]=\"message\" [isLoading]=\"loading\" > </lib-kv-loading>\r\n<ng-container *ngIf=\"!loading\">\r\n <div class=\"search-container\">\r\n <div class=\"search-section\">\r\n <input\r\n type=\"text\"\r\n placeholder=\"Buscar...\"\r\n [(ngModel)]=\"searchText\"\r\n (keyup.enter)=\"onSearch()\"\r\n />\r\n <button *ngIf=\"lazyLoading\" (click)=\"onSearch()\">Buscar</button>\r\n </div>\r\n </div>\r\n\r\n <table>\r\n <thead>\r\n <tr>\r\n <th *ngFor=\"let column of columns\">{{ column.label }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let item of filteredData\">\r\n <td *ngFor=\"let column of columns\">\r\n <div class=\"state\" [ngClass]=\"item[column.key]\">\r\n <ng-container *ngIf=\"column.label === 'Services'\">\r\n <div class=\"service-info\" (click)=\"emitData(item)\">\r\n <img [src]=\"item.url || 'https://i.imgur.com/InRaVrL.jpg'\" alt=\"Imagen\" class=\"service-image\" />\r\n <a class=\"a-link\">{{ item.name }}</a>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"column.key === 'name' && column.label !== 'Services'\">\r\n <a class=\"a-link\" (click)=\"emitData(item)\">{{\r\n item[column.key]\r\n }}</a>\r\n </ng-container>\r\n <ng-container *ngIf=\"column.key === 'images'\">\r\n <div class=\"image-container\">\r\n <div *ngFor=\"let image of item[column.key]?.slice(0, 3)\">\r\n <img [src]=\"image\" alt=\"Imagen\" />\r\n </div>\r\n <div *ngIf=\"item[column.key]?.length > 3\" class=\"extra-images\">\r\n +{{ item[column.key].length - 3 }}\r\n </div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"column.key === 'expire_at'\">\r\n {{ item[column.key] | date : \"dd/MM/yyyy\" }}\r\n </ng-container>\r\n <ng-container *ngIf=\"column.key === 'actions'\">\r\n <ng-container *ngTemplateOutlet=\"cellActionsTemplate; context: { $implicit: item }\"></ng-container>\r\n </ng-container>\r\n <ng-container\r\n *ngIf=\"\r\n column.key !== 'expire_at' &&\r\n column.key !== 'point_of_sale_id' &&\r\n column.key !== 'name' &&\r\n column.key !== 'pos_id' &&\r\n column.key !== 'images' &&\r\n column.key !== 'actions'\r\n \"\r\n >\r\n {{ item[column.key] }}\r\n </ng-container>\r\n <ng-container\r\n *ngIf=\"column.key === 'point_of_sale_id' || column.key === 'pos_id'\"\r\n >\r\n {{ getPosName(item[column.key]) }}\r\n </ng-container>\r\n </div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n\r\n <ng-container *ngIf=\"showPaginator\">\r\n <table class=\"table-pagination\">\r\n <tbody>\r\n <tr>\r\n <div class=\"pagination\">\r\n <div class=\"button-section\">\r\n <button (click)=\"changePage(-1)\" [disabled]=\"currentPage === 1\">\r\n Previous\r\n </button>\r\n <button\r\n (click)=\"changePage(1)\"\r\n [disabled]=\"currentPage === totalPages()\"\r\n [disabled]=\"loading\"\r\n >\r\n Next\r\n </button>\r\n </div>\r\n <div class=\"current-section\">\r\n <span>Page {{ currentPage }} of {{ totalPages() }}</span>\r\n </div>\r\n </div>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </ng-container>\r\n</ng-container>\r\n","import { Injectable } from '@angular/core';\r\nimport { FormArray, FormBuilder, FormGroup, ValidatorFn, Validators } from '@angular/forms';\r\nimport { FormFieldConfig } from '../interfaces/form-field.config';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FormFactoryService {\r\n constructor(private fb: FormBuilder) { }\r\n\r\n createForm(config: FormFieldConfig[], customValidator?: ValidatorFn): FormGroup {\r\n const formGroup = this.fb.group({}, { validators: customValidator });\r\n config.forEach((field) => {\r\n const control = this.fb.control(\r\n field.defaultValue || '',\r\n field.validators || []\r\n );\r\n formGroup.addControl(field.name, control);\r\n });\r\n return formGroup;\r\n }\r\n\r\n createFormArray(config: FormFieldConfig[], customValidator?: ValidatorFn): FormArray {\r\n const formArray = this.fb.array([], { validators: customValidator });\r\n config.forEach((field) => {\r\n const control = this.fb.control(\r\n field.defaultValue || '',\r\n field.validators || []\r\n );\r\n formArray.push(control);\r\n });\r\n return formArray;\r\n }\r\n\r\n createFormArrayOfGroups(config: FormFieldConfig[], initialCount: number, customValidator?: ValidatorFn): FormArray {\r\n const formArray = this.fb.array<FormGroup>([], { validators: customValidator });\r\n\r\n for (let i = 0; i < initialCount; i++) {\r\n const group = this.createForm(config);\r\n formArray.push(group);\r\n }\r\n\r\n return formArray;\r\n }\r\n\r\n createLoginForm(): FormGroup {\r\n return this.fb.group({\r\n email: ['', [Validators.required, Validators.email]],\r\n password: ['', [Validators.required, Validators.minLength(8)]],\r\n });\r\n }\r\n}","import { Injectable } from \"@angular/core\";\r\nimport { Router } from \"@angular/router\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class NavigationService {\r\n constructor(private router: Router) { }\r\n\r\n navigateToLogin(): Promise<boolean> {\r\n return this.router.navigate(['/login']);\r\n }\r\n\r\n navigateToOffers(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/offers']);\r\n }\r\n\r\n navigateToOffersDetails(id: string): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/offers-details'], {\r\n queryParams: { offerId: id }\r\n });\r\n }\r\n\r\n navigateToResetPassword(): Promise<boolean> {\r\n return this.router.navigate(['/login/reset-password']);\r\n }\r\n\r\n navigateToPointOfSaleDetails(id: string): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/point-of-sale-details'], {\r\n queryParams: { pointOfSaleId: id }\r\n });\r\n }\r\n\r\n navigateToPointOfSale(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/point-of-sale']);\r\n }\r\n\r\n navigateToItems(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/items']);\r\n }\r\n\r\n navigateToItemsDetails(id: string, posId: string): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/items-details'], {\r\n queryParams: { itemId: id, pointOfSaleId: posId}\r\n });\r\n }\r\n\r\n navigateToRules(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/rules']);\r\n }\r\n\r\n navigateToRulesManager(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/rules-manager']);\r\n }\r\n\r\n navigateToOfferFlow(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/offer-flow']);\r\n }\r\n\r\n navigateToPayment(price: number): Promise<boolean> {\r\n return this.router.navigate(['/auctions/payment']);\r\n }\r\n\r\n navigateToBillingRecords(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/billing-record']);\r\n }\r\n\r\n navigateToIntegrations(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/integrations']);\r\n }\r\n\r\n navigateToOrders(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/orders']);\r\n }\r\n}","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { ActionType } from '../enums/action-type.enum';\r\n\r\ninterface PopupState {\r\n show: boolean;\r\n title: string;\r\n actionType?: ActionType;\r\n description: string;\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class NotificationService {\r\n private popupState = new BehaviorSubject<PopupState>({\r\n show: false,\r\n title: '',\r\n description: '',\r\n actionType: ActionType.Info\r\n });\r\n\r\n popupState$ = this.popupState.asObservable();\r\n\r\n showNotification(title: string, description: string, actionType?: ActionType): void {\r\n this.popupState.next({\r\n show: true,\r\n title,\r\n description,\r\n actionType: actionType || ActionType.Info\r\n });\r\n }\r\n\r\n hideNotification(): void {\r\n this.popupState.next({\r\n show: false,\r\n title: '',\r\n description: '',\r\n actionType: ActionType.Info\r\n });\r\n }\r\n}","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject, Observable, ReplaySubject, map } from 'rxjs';\r\n\r\ninterface SessionData {\r\n pointsOfSale?: any[];\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\n\r\nexport class SessionService {\r\n private sessionSubject = new ReplaySubject<SessionData | null>(1);\r\n\r\n constructor() {\r\n this.sessionSubject.next(null);\r\n }\r\n\r\n setSessionData(data: SessionData): void {\r\n this.sessionSubject.next(data);\r\n }\r\n\r\n getCurrentSessionData(): SessionData | null {\r\n let value: SessionData | null = null;\r\n this.sessionSubject.subscribe(v => value = v).unsubscribe();\r\n return value;\r\n }\r\n}","import { InjectionToken } from '@angular/core';\r\n\r\nexport const API_KEY = new InjectionToken<string>('API_KEY');","import { inject, Injectable } from '@angular/core';\r\nimport {\r\n HttpRequest,\r\n HttpHandler,\r\n HttpEvent,\r\n HttpInterceptor\r\n} from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { CookieService } from \"ngx-cookie-service\";\r\nimport { API_KEY } from '../injection-tokens/auth-config';\r\n\r\n@Injectable()\r\nexport class AuthInterceptor implements HttpInterceptor {\r\n intercept(\r\n request: HttpRequest<unknown>,\r\n next: HttpHandler\r\n ): Observable<HttpEvent<unknown>> {\r\n const cookieService = inject(CookieService);\r\n const apiKey = inject(API_KEY);\r\n const token = cookieService.get('jwt');\r\n const modifiedReq = request.clone({\r\n headers: request.headers\r\n .set('Access_token', token)\r\n .set('Api_Key', apiKey) \r\n });\r\n return next.handle(modifiedReq);\r\n }\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { CookieService } from \"ngx-cookie-service\";\r\nimport { BehaviorSubject, firstValueFrom } from \"rxjs\";\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\n\r\nexport interface Session {\r\n access_token: string;\r\n refresh_token: string;\r\n expires_in?: number;\r\n user?: any;\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AuthService {\r\n\r\n private sessionSubject = new BehaviorSubject<Session | null>(null);\r\n protected refreshTimeout: any;\r\n private apiUrl = 'http://localhost:9090/v1';\r\n private apiKey = '';\r\n\r\n constructor(\r\n private readonly cookieService: CookieService,\r\n private readonly http: HttpClient\r\n ) {\r\n this.getSession().catch(() => null);\r\n }\r\n\r\n private getHeaders(): HttpHeaders {\r\n return new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'Api_Key': this.apiKey\r\n });\r\n }\r\n\r\n public configureApi(apiUrl: string, apiKey?: string): void {\r\n if (apiUrl) this.apiUrl = apiUrl;\r\n if (apiKey) this.apiKey = apiKey;\r\n }\r\n\r\n public getCurrentSession(): Session | null {\r\n return this.sessionSubject.getValue();\r\n }\r\n\r\n public signIn(email: string, password: string): Promise<any> {\r\n return firstValueFrom(\r\n this.http.post(`${this.apiUrl}/supabase-auth`, { email, password }, { headers: this.getHeaders() })\r\n ).then((response: any) => {\r\n if (response) {\r\n this.sessionSubject.next(response);\r\n localStorage.setItem('refresh_token', response.refresh_token || '');\r\n if (this.isValidLoginResponse(response)) {\r\n this.handleSuccessfulRefresh(response);\r\n this.startRefreshTimer(response);\r\n }\r\n }\r\n return response;\r\n });\r\n }\r\n\r\n public signOut(): Promise<any> {\r\n return firstValueFrom(\r\n this.http.post(`${this.apiUrl}/supabase-signout`, {}, { headers: this.getHeaders() })\r\n ).then((response: any) => {\r\n this.sessionSubject.next(null);\r\n this.cookieService.deleteAll();\r\n localStorage.removeItem('refresh_token');\r\n return response;\r\n }).catch(error => {\r\n console.error('Error signing out:', error);\r\n this.sessionSubject.next(null);\r\n this.cookieService.deleteAll();\r\n localStorage.removeItem('refresh_token');\r\n throw error;\r\n });\r\n }\r\n\r\n public sendResetPasswordEmail(email: string): Promise<any> {\r\n return firstValueFrom(\r\n this.http.post(`${this.apiUrl}/supabase-reset-password`, { email }, { headers: this.getHeaders() })\r\n );\r\n }\r\n\r\n public setNewPassword(newPassword: string): Promise<any> {\r\n const accessToken = this.cookieService.get('access_token');\r\n const headers = this.getHeaders().set('Authorization', `Bearer ${accessToken}`);\r\n\r\n return firstValueFrom(\r\n this.http.post(`${this.apiUrl}/supabase-set-password`, { password: newPassword }, { headers })\r\n );\r\n }\r\n\r\n public getSession(): Promise<any> {\r\n const refreshToken = localStorage.getItem('refresh_token');\r\n if (!refreshToken) {\r\n return Promise.resolve({ data: { session: null } });\r\n }\r\n \r\n return firstValueFrom(\r\n this.http.post(`${this.apiUrl}/supabase-session`, { refresh_token: refreshToken }, { headers: this.getHeaders() })\r\n ).then((response: any) => {\r\n if (response?.data?.session) {\r\n this.sessionSubject.next(response.data.session);\r\n if (this.isValidLoginResponse(response.data)) {\r\n this.handleSuccessfulRefresh(response.data);\r\n this.startRefreshTimer(response.data.session);\r\n }\r\n }\r\n return response;\r\n });\r\n }\r\n\r\n public refreshSession(): Promise<any> {\r\n const refreshToken = localStorage.getItem('refresh_token');\r\n if (!refreshToken) {\r\n return Promise.resolve({ data: { session: null } });\r\n }\r\n \r\n return firstValueFrom(\r\n this.http.post(`${this.apiUrl}/supabase-refresh`, { refresh_token: refreshToken }, { headers: this.getHeaders() })\r\n ).then((response: any) => {\r\n if (response?.data) {\r\n this.sessionSubject.next(response.data);\r\n localStorage.setItem('refresh_token', response.data.refresh_token || '');\r\n if (this.isValidLoginResponse(response.data)) {\r\n this.handleSuccessfulRefresh(response.data);\r\n this.startRefreshTimer(response.data);\r\n }\r\n }\r\n return response;\r\n });\r\n }\r\n\r\n public startRefreshTimer(session: Session) {\r\n const expiresIn = session.expires_in || 3200;\r\n this.refreshTimeout = setTimeout(() => {\r\n this.refreshSession().catch(console.error);\r\n }, (expiresIn - 60) * 1000);\r\n }\r\n\r\n public getSessionObservable() {\r\n return this.sessionSubject.asObservable();\r\n }\r\n\r\n private isValidLoginResponse(data: any): boolean {\r\n return !!(\r\n data?.access_token &&\r\n data?.user?.app_metadata?.role\r\n );\r\n }\r\n\r\n private handleSuccessfulRefresh(data: any): void {\r\n const token = data!.access_token;\r\n this.cookieService.delete('jwt');\r\n this.cookieService.set('jwt', token);\r\n }\r\n}\r\n","export class AuthHelper {\r\n\r\n public static getUserId(): string | null {\r\n return localStorage.getItem(\"userId\") || null;\r\n }\r\n\r\n public static getUserRole(): string | null {\r\n return localStorage.getItem(\"userRole\") || null;\r\n }\r\n}","import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';\r\n\r\nexport const passwordMatchValidator: ValidatorFn = (control: AbstractControl): ValidationErrors | null => {\r\n const password = control.get('password');\r\n const confirmPassword = control.get('confirmPassword');\r\n\r\n if (!password || !confirmPassword) {\r\n return null;\r\n }\r\n\r\n if (password.pristine || confirmPassword.pristine) {\r\n return null;\r\n }\r\n\r\n return password.value === confirmPassword.value ? null : { passwordMismatch: true };\r\n};","/*\r\n * Public API Surface of kivio\r\n */\r\n\r\n//Components\r\nexport * from './lib/components/kv-popup/kv-popup.component';\r\nexport * from './lib/components/date-picker/date-picker.component';\r\nexport * from './lib/components/resource-not-found/resource-not-found.component'\r\nexport * from './lib/components/kv-stepper/kv-stepper.component';\r\nexport * from './lib/components/kv-step/kv-step.component';\r\nexport * from './lib/components/kv-accordion/kv-accordion.component';\r\nexport * from './lib/components/kv-alert/kv-alert.component';\r\nexport * from './lib/components/kv-side-menu/kv-side-menu.component'\r\nexport * from './lib/components/kv-main-table/kv-main-table.component'\r\nexport * from './lib/components/kv-loading/kv-loading.component';\r\n\r\n//Services\r\nexport * from './lib/factories/form-factory.service';\r\nexport * from './lib/services/navigation.service';\r\nexport * from './lib/services/notification.service';\r\nexport * from './lib/services/session.service';\r\nexport * from './lib/services/auth-interceptor.service';\r\nexport * from './lib/services/auth.service';\r\n\r\n//Configs\r\nexport * from './lib/interfaces/form-field.config';\r\n\r\n//Helpers\r\nexport * from './lib/helpers/auth.helper'\r\n\r\n//Validators\r\nexport * from './lib/validators/password-missmatch.validator'\r\n\r\n//Enums\r\nexport * from './lib/enums/action-type.enum'\r\n\r\n// Injection Tokens\r\nexport * from './lib/injection-tokens/auth-config';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;;;;IAAY;AAAZ,CAAA,UAAY,UAAU,EAAA;AAClB,IAAA,UAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,UAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,UAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,UAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AAC3B,CAAC,EALW,UAAU,KAAV,UAAU,GAKrB,EAAA,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;AACd;AAED,IAAA,OAAO,QAAQ,CAAC,KAAK,KAAK,eAAe,CAAC,KAAK,GAAG,IAAI,GAAG,EAAE,gBAAgB,EAAE,IAAI,EAAE;AACvF;;ACfA;;AAEG;AAEH;;ACJA;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"kivio.mjs","sources":["../../../projects/kivio/src/lib/enums/action-type.enum.ts","../../../projects/kivio/src/lib/components/kv-popup/kv-popup.component.ts","../../../projects/kivio/src/lib/components/kv-popup/kv-popup.component.html","../../../projects/kivio/src/lib/components/date-picker/date-picker.component.ts","../../../projects/kivio/src/lib/components/date-picker/date-picker.component.html","../../../projects/kivio/src/lib/components/kv-resource-not-found/kv-resource-not-found.component.ts","../../../projects/kivio/src/lib/components/kv-resource-not-found/kv-resource-not-found.component.html","../../../projects/kivio/src/lib/components/kv-step/kv-step.component.ts","../../../projects/kivio/src/lib/components/kv-step/kv-step.component.html","../../../projects/kivio/src/lib/components/kv-stepper/kv-stepper.component.ts","../../../projects/kivio/src/lib/components/kv-stepper/kv-stepper.component.html","../../../projects/kivio/src/lib/components/kv-accordion/kv-accordion.component.ts","../../../projects/kivio/src/lib/components/kv-accordion/kv-accordion.component.html","../../../projects/kivio/src/lib/components/kv-alert/kv-alert.component.ts","../../../projects/kivio/src/lib/components/kv-alert/kv-alert.component.html","../../../projects/kivio/src/lib/components/kv-side-menu/kv-side-menu.component.ts","../../../projects/kivio/src/lib/components/kv-side-menu/kv-side-menu.component.html","../../../projects/kivio/src/lib/components/kv-loading/kv-loading.component.ts","../../../projects/kivio/src/lib/components/kv-loading/kv-loading.component.html","../../../projects/kivio/src/lib/components/kv-main-table/kv-main-table.component.ts","../../../projects/kivio/src/lib/components/kv-main-table/kv-main-table.component.html","../../../projects/kivio/src/lib/factories/form-factory.service.ts","../../../projects/kivio/src/lib/services/navigation.service.ts","../../../projects/kivio/src/lib/services/notification.service.ts","../../../projects/kivio/src/lib/services/session.service.ts","../../../projects/kivio/src/lib/injection-tokens/auth-config.ts","../../../projects/kivio/src/lib/services/auth-interceptor.service.ts","../../../projects/kivio/src/lib/services/auth.service.ts","../../../projects/kivio/src/lib/helpers/auth.helper.ts","../../../projects/kivio/src/lib/validators/password-missmatch.validator.ts","../../../projects/kivio/src/public-api.ts","../../../projects/kivio/src/kivio.ts"],"sourcesContent":["export enum ActionType {\r\n Info = \"info\",\r\n Warn = \"warn\",\r\n Error = \"error\",\r\n Advertise = \"advertise\"\r\n}","import { CommonModule } from '@angular/common';\r\nimport { Component, EventEmitter, Input, Output } from '@angular/core';\r\nimport { ActionType } from '../../enums/action-type.enum';\r\n\r\n@Component({\r\n selector: 'lib-kv-popup',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './kv-popup.component.html',\r\n styleUrl: './kv-popup.component.scss'\r\n})\r\nexport class KvPopupComponent{\r\n\r\n @Input() title: string = '';\r\n @Input() description!: string;\r\n @Input() isCustomTemplate!: boolean;\r\n @Input() actionType!: ActionType;\r\n @Output() onAccept: EventEmitter<void> = new EventEmitter<void>();\r\n @Output() onClose: EventEmitter<void> = new EventEmitter<void>();\r\n\r\n public actionTypeEnum = ActionType;\r\n\r\n public onAcceptSubmit(): void {\r\n this.onAccept.emit();\r\n }\r\n\r\n public onCloseSubmit(): void {\r\n this.onClose.emit();\r\n }\r\n}","<div class=\"popup-backdrop\">\r\n <div class=\"popup-container\">\r\n <div class=\"content-container\">\r\n <div *ngIf=\"!isCustomTemplate\">\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <i class=\"icon material-icons\">error</i>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <i class=\"icon material-icons\">warning</i>\r\n </ng-container>\r\n </div>\r\n <div>\r\n <div class=\"title\">{{ title }}</div>\r\n <div *ngIf=\"description\">\r\n <p class=\"description\">{{ description }}</p>\r\n </div>\r\n </div>\r\n </div>\r\n <ng-container *ngIf=\"isCustomTemplate; else defaultContent\">\r\n <ng-content></ng-content>\r\n </ng-container>\r\n <ng-template #defaultContent>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Info\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--primary\" (click)=\"onAcceptSubmit()\">Aceptar</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Warn\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Delete</button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"actionType === actionTypeEnum.Advertise\">\r\n <div class=\"button-container\">\r\n <button class=\"button--cancel\" (click)=\"onCloseSubmit()\">Cancel</button>\r\n <button class=\"button--warn\" (click)=\"onAcceptSubmit()\">Continuar</button>\r\n </div>\r\n </ng-container>\r\n </ng-template>\r\n </div>\r\n</div>","import { CommonModule } from '@angular/common';\r\nimport { Component, EventEmitter, Output, Input } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\n@Component({\r\n selector: 'lib-kv-date-picker',\r\n standalone: true,\r\n imports: [FormsModule, CommonModule],\r\n templateUrl: './date-picker.component.html',\r\n styleUrl: './date-picker.component.scss'\r\n})\r\nexport class DatePickerComponent {\r\n @Input() initialDate?: Date;\r\n @Input() showDetails = false;\r\n @Output() dateSelected = new EventEmitter<Date>();\r\n\r\n selectedDate: Date = new Date();\r\n minDate: string = '';\r\n\r\n ngOnInit() {\r\n this.minDate = this.formatDateForInput(new Date());\r\n\r\n if (this.initialDate) {\r\n this.selectedDate = this.initialDate >= new Date(this.minDate) ? this.initialDate : new Date();\r\n }\r\n }\r\n\r\n formatDateForInput(date: Date): string {\r\n const year = date.getFullYear();\r\n const month = String(date.getMonth() + 1).padStart(2, '0');\r\n const day = String(date.getDate()).padStart(2, '0');\r\n return `${year}-${month}-${day}`;\r\n }\r\n\r\n onDateChange(event: Event) {\r\n const input = event.target as HTMLInputElement;\r\n const newDate = new Date(input.value + \"T00:00:00\");\r\n\r\n if (newDate >= new Date(this.minDate)) {\r\n this.selectedDate = newDate;\r\n this.dateSelected.emit(this.selectedDate);\r\n } else {\r\n input.value = this.minDate;\r\n }\r\n }\r\n}\r\n","<div class=\"date-picker\">\r\n <input \r\n type=\"date\" \r\n [value]=\"formatDateForInput(selectedDate)\" \r\n [min]=\"minDate\" \r\n (input)=\"onDateChange($event)\" \r\n class=\"form-control\">\r\n \r\n <div *ngIf=\"showDetails\" class=\"date-details\">\r\n <p>{{ selectedDate | date:'fullDate' }}</p>\r\n </div>\r\n</div>\r\n","import { Component, Input } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-kv-resource-not-found',\r\n standalone: true,\r\n imports: [],\r\n templateUrl: './kv-resource-not-found.component.html',\r\n styleUrl: './kv-resource-not-found.component.scss'\r\n})\r\nexport class ResourceNotFoundComponent {\r\n @Input() messageTitle: string = 'Resource not found';\r\n @Input() messageDescription: string = 'The requested resource could not be found.';\r\n}\r\n","<div class=\"empty-state\">\r\n <div class=\"empty-state-content\">\r\n <i class=\"material-icons empty-icon\">rule</i>\r\n <h3>{{ messageTitle }}</h3>\r\n <p>{{ messageDescription }}</p>\r\n </div>\r\n</div>","import { CommonModule } from '@angular/common';\r\nimport { Component, ContentChild, Input, TemplateRef } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-kv-step',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './kv-step.component.html',\r\n styleUrl: './kv-step.component.scss'\r\n})\r\nexport class KvStepComponent {\r\n @Input() title!: string;\r\n @Input() description!: string;\r\n @ContentChild(TemplateRef) content!: TemplateRef<any>;\r\n}\r\n","<p>kv-step works!</p>\r\n","import { CommonModule } from '@angular/common';\r\nimport { AfterContentInit, Component, ContentChildren, EventEmitter, Input, Output, QueryList, signal, TemplateRef } from '@angular/core';\r\nimport { KvStepComponent } from '../kv-step/kv-step.component';\r\n\r\n@Component({\r\n selector: 'lib-kv-stepper',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './kv-stepper.component.html',\r\n styleUrl: './kv-stepper.component.scss'\r\n})\r\n\r\nexport class KvStepperComponent implements AfterContentInit {\r\n currentStep = signal(0);\r\n \r\n @ContentChildren(KvStepComponent) steps!: QueryList<KvStepComponent>;\r\n\r\n @Input() public isSimpleStepper: boolean = false;\r\n @Input() public isVertical: boolean = false;\r\n @Input() public isAssociated: boolean = false;\r\n @Output() submit = new EventEmitter<void>();\r\n @Output() closeEvent = new EventEmitter<void>();\r\n @Output() isLastStep = new EventEmitter<boolean>();\r\n\r\n ngAfterContentInit() {\r\n if (this.steps.length === 0) {\r\n console.error('No se encontraron pasos en el stepper');\r\n }\r\n }\r\n\r\n next() {\r\n this.isLastStep.emit(true);\r\n if (this.currentStep() < this.steps.length - 1) {\r\n this.currentStep.update(val => val + 1);\r\n }\r\n }\r\n\r\n previous() {\r\n if (this.currentStep() > 0) {\r\n this.currentStep.update(val => val - 1);\r\n this.isLastStep.emit(true);\r\n }\r\n }\r\n\r\n close() {\r\n this.closeEvent.emit();\r\n }\r\n}","<ng-container *ngIf=\"!isSimpleStepper\">\r\n <div class=\"stepper-container\">\r\n <div class=\"step-header\">\r\n <div *ngFor=\"let step of steps; let i = index\" class=\"step-item\" [class.active]=\"currentStep() === i\"\r\n [class.completed]=\"i < currentStep()\">\r\n <div class=\"step-number\">{{ i + 1 }}</div>\r\n <div class=\"step-title\">{{ step.title }}</div>\r\n </div>\r\n </div>\r\n \r\n <div class=\"step-content\">\r\n <ng-container *ngIf=\"steps.get(currentStep())?.content\">\r\n <ng-container *ngTemplateOutlet=\"steps.get(currentStep())!.content\">\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n \r\n <div class=\"step-actions\">\r\n <button class=\"button--cancel\" (click)=\"close()\">Cancel</button>\r\n <button class=\"button--primary-min\" *ngIf=\"currentStep() > 0\" (click)=\"previous()\">Anterior</button>\r\n <button class=\"button--primary-min\" *ngIf=\"currentStep() < steps.length - 1\" (click)=\"next()\" [disabled]=\"!isAssociated\">Next</button>\r\n <button class=\"button--primary-min\" *ngIf=\"currentStep() === steps.length - 1\" (click)=\"submit.emit()\">Create</button>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"isSimpleStepper && !isVertical\">\r\n <div class=\"stepper-container-simple\">\r\n <div class=\"step-header\">\r\n <div *ngFor=\"let step of steps; let i = index\" class=\"step-item\" [class.active]=\"currentStep() === i\"\r\n [class.completed]=\"i < currentStep()\">\r\n <div class=\"step-number\">{{ i + 1 }}</div>\r\n <div class=\"step-title\">{{ step.title }}</div>\r\n </div>\r\n </div>\r\n \r\n <div class=\"step-content-simple\">\r\n <ng-container *ngIf=\"steps.get(currentStep())?.content\">\r\n <ng-container *ngTemplateOutlet=\"steps.get(currentStep())!.content\">\r\n </ng-container>\r\n </ng-container>\r\n </div>\r\n </div>\r\n</ng-container>\r\n\r\n<ng-container *ngIf=\"isSimpleStepper && isVertical\">\r\n <div class=\"stepper-container-vertical\">\r\n <div class=\"vertical-steps\">\r\n <div *ngFor=\"let step of steps; let i = index\" class=\"vertical-step-item\">\r\n <div class=\"step-indicator-container\">\r\n <div class=\"vertical-step-indicator\" \r\n [class.active]=\"currentStep() === i\"\r\n [class.completed]=\"i < currentStep()\">\r\n <div class=\"step-number\">{{ i + 1 }}</div>\r\n </div>\r\n <div class=\"vertical-line\" *ngIf=\"i !== steps.length - 1\"></div>\r\n </div>\r\n <div class=\"title-container\">\r\n <div class=\"step-title\">{{ step.title }}</div>\r\n <div class=\"step-description\">{{ step.description }}</div>\r\n </div>\r\n <div class=\"vertical-step-content\" \r\n [class.active]=\"currentStep() === i\"\r\n (click)=\"currentStep.set(i)\">\r\n <div class=\"step-content-vertical\" *ngIf=\"currentStep() === i\">\r\n <ng-container *ngTemplateOutlet=\"step.content\"></ng-container>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</ng-container>","import { CommonModule } from '@angular/common';\r\nimport { Component, EventEmitter, Input, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-kv-accordion',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './kv-accordion.component.html',\r\n styleUrl: './kv-accordion.component.scss'\r\n})\r\nexport class KvAccordionComponent {\r\n @Input() isOpen = false;\r\n @Input() title = '';\r\n @Input() shouldShowImage = true;\r\n @Output() opened = new EventEmitter<void>();\r\n\r\n toggle() {\r\n this.isOpen = !this.isOpen;\r\n if(this.isOpen) {\r\n this.opened.emit();\r\n }\r\n }\r\n}\r\n","<div class=\"accordion\">\r\n <div class=\"accordion-header\" (click)=\"toggle()\">\r\n <div class=\"accordion-title\">\r\n <ng-container *ngIf=\"shouldShowImage\">\r\n <img width=\"40px\" [src]=\"'https://i.imgur.com/InRaVrL.jpg'\" alt=\"User Avatar\" class=\"avatar\">\r\n </ng-container>\r\n <span>{{ title }}</span>\r\n </div>\r\n <span class=\"accordion-icon\" [class.open]=\"isOpen\">▼</span>\r\n </div>\r\n <div class=\"accordion-content\" [class.open]=\"isOpen\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>","import { CommonModule } from '@angular/common';\r\nimport { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-kv-alert',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './kv-alert.component.html',\r\n styleUrl: './kv-alert.component.scss'\r\n})\r\nexport class KvAlertComponent implements OnInit{\r\n\r\n @Input() message: string = '';\r\n @Input() description: string = '';\r\n @Input() type = 'warning';\r\n @Input() timeoutDuration: number = 5000;\r\n @Output() close = new EventEmitter<void>();\r\n\r\n ngOnInit() {\r\n if (this.timeoutDuration > 0) {\r\n setTimeout(() => this.onClose(), this.timeoutDuration);\r\n }\r\n }\r\n\r\n onClose() {\r\n this.close.emit();\r\n }\r\n\r\n}\r\n","<div class=\"alert-container\">\r\n <div class=\"icon\" [ngClass]=\"type\">\r\n <ng-container *ngIf=\"type === 'success'\">\r\n <i class=\"icon material-icons\">check</i>\r\n </ng-container>\r\n <ng-container *ngIf=\"type !== 'success'\">\r\n <i class=\"icon material-icons\">close</i>\r\n </ng-container>\r\n </div>\r\n <div class=\"message\">\r\n <strong>{{ message }}</strong>\r\n <p>{{ description }}</p>\r\n </div>\r\n <button class=\"close-btn\" (click)=\"onClose()\">✖</button>\r\n</div>","import { CommonModule } from '@angular/common';\r\nimport { Component, EventEmitter, Input, Output } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'lib-kv-side-menu',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './kv-side-menu.component.html',\r\n styleUrl: './kv-side-menu.component.scss'\r\n})\r\nexport class KvSideMenuComponent {\r\n @Input() breadcrumb: string = '';\r\n @Output() onEdit: EventEmitter<boolean> = new EventEmitter<boolean>();\r\n @Output() onClose: EventEmitter<void> = new EventEmitter<void>();\r\n @Output() onDelete: EventEmitter<void> = new EventEmitter<void>();\r\n @Output() onSaveChanges: EventEmitter<void> = new EventEmitter<void>();\r\n\r\n public isEditMode: boolean = false;\r\n\r\n public handleEditButtonClicked(): void {\r\n this.isEditMode = !this.isEditMode;\r\n this.onEdit.emit(this.isEditMode);\r\n }\r\n\r\n public handleCloseButtonClicked(): void {\r\n this.onClose.emit();\r\n }\r\n\r\n public handleDeleteButtonClicked(): void {\r\n this.onDelete.emit();\r\n }\r\n\r\n public handleSaveChangesButtonClicked(): void {\r\n this.onSaveChanges.emit();\r\n }\r\n}\r\n","<div class=\"right-menu\">\r\n <div class=\"header\">\r\n <ng-container *ngIf=\"!isEditMode\">\r\n <span>{{ breadcrumb }}</span>\r\n <div>\r\n <button class=\"delete-button section-button\" (click)=\"handleDeleteButtonClicked()\"><i class=\"icon material-icons\">delete</i></button>\r\n <button class=\"edit-button section-button\" (click)=\"handleEditButtonClicked()\"><i class=\"icon material-icons\">edit</i></button>\r\n <button class=\"close-button section-button\" (click)=\"handleCloseButtonClicked()\"><i class=\"icon material-icons\">close</i></button>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"isEditMode\">\r\n <button class=\"edit-button section-button\" (click)=\"handleEditButtonClicked()\"><i class=\"icon material-icons\">arrow_back</i></button>\r\n <div>\r\n <button class=\"button--primary-min\" (click)=\"handleSaveChangesButtonClicked()\">Save changes</button>\r\n </div>\r\n </ng-container>\r\n \r\n </div>\r\n <div class=\"body\">\r\n <ng-content></ng-content>\r\n </div>\r\n</div>","import { CommonModule } from \"@angular/common\";\r\nimport { Component, Input } from \"@angular/core\";\r\n\r\n@Component({\r\n selector: 'lib-kv-loading',\r\n standalone: true,\r\n imports: [CommonModule],\r\n templateUrl: './kv-loading.component.html',\r\n styleUrl: './kv-loading.component.scss'\r\n })\r\n export class KvLoadingComponent{\r\n \r\n @Input() message: string = '';\r\n @Input() isLoading: boolean = false;\r\n \r\n }","<div class=\"loading-component\">\r\n <div class=\"loading-container\" *ngIf=\"isLoading\">\r\n <div class=\"loading-spinner\"></div>\r\n <p>{{message}}</p>\r\n </div>\r\n</div>","import { CommonModule } from '@angular/common';\r\nimport {\r\n Component,\r\n EventEmitter,\r\n Input,\r\n Output,\r\n OnInit,\r\n OnChanges,\r\n SimpleChanges,\r\n ContentChild,\r\n} from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { KvLoadingComponent } from '../kv-loading/kv-loading.component';\r\n\r\n@Component({\r\n selector: 'lib-kv-main-table',\r\n standalone: true,\r\n imports: [CommonModule, FormsModule, KvLoadingComponent],\r\n templateUrl: './kv-main-table.component.html',\r\n styleUrl: './kv-main-table.component.scss',\r\n})\r\nexport class KvMainTableComponent implements OnInit, OnChanges {\r\n @Input() columns: { key: string; label: string }[] = [];\r\n @Input() data: any[] = [];\r\n @Input() extraData!: any[];\r\n @Input() showPaginator: boolean = true;\r\n @Input() lazyLoading: boolean = false;\r\n @Input() loading: boolean = false;\r\n @Input() totalRecords: number = 0;\r\n @Input() message: string = '';\r\n\r\n @ContentChild('cellActions') cellActionsTemplate: any;\r\n @Output() onNameClicked: EventEmitter<any> = new EventEmitter<any>();\r\n @Output() onPageChange: EventEmitter<{\r\n page: number;\r\n pageSize: number;\r\n searchText: string;\r\n }> = new EventEmitter<{\r\n page: number;\r\n pageSize: number;\r\n searchText: string;\r\n }>();\r\n\r\n searchText: string = '';\r\n currentPage: number = 1;\r\n pageSize: number = 5;\r\n filteredItems: any[] = [];\r\n\r\n ngOnInit() {\r\n this.updateFilteredData();\r\n if (this.lazyLoading) {\r\n this.loadLazyData();\r\n }\r\n }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (changes['data'] || changes['searchText']) {\r\n this.updateFilteredData();\r\n }\r\n }\r\n\r\n private updateFilteredData() {\r\n if (!this.lazyLoading) {\r\n this.filteredItems = this.getFilteredData();\r\n }\r\n }\r\n\r\n private getFilteredData() {\r\n return this.data\r\n .filter((item) =>\r\n this.columns.some((col) =>\r\n item[col.key]\r\n ?.toString()\r\n .toLowerCase()\r\n .includes(this.searchText.toLowerCase())\r\n )\r\n )\r\n .slice(\r\n (this.currentPage - 1) * this.pageSize,\r\n this.currentPage * this.pageSize\r\n );\r\n }\r\n\r\n get filteredData() {\r\n return this.lazyLoading ? this.data : this.getFilteredData();\r\n }\r\n\r\n totalPages(): number {\r\n if (this.lazyLoading) {\r\n return Math.ceil(this.totalRecords / this.pageSize);\r\n }\r\n\r\n return Math.ceil(\r\n this.data.filter((item) =>\r\n this.columns.some((col) =>\r\n item[col.key]\r\n ?.toString()\r\n .toLowerCase()\r\n .includes(this.searchText.toLowerCase())\r\n )\r\n ).length / this.pageSize\r\n );\r\n }\r\n\r\n changePage(direction: number) {\r\n if (this.lazyLoading) {\r\n const newPage = this.currentPage + direction;\r\n if (newPage >= 1) {\r\n this.currentPage = newPage;\r\n this.loadLazyData();\r\n } else {\r\n if (this.currentPage !== 1) {\r\n this.currentPage = 1;\r\n this.loadLazyData();\r\n }\r\n }\r\n } else {\r\n const newPage = this.currentPage + direction;\r\n if (newPage > 0 && newPage <= this.totalPages()) {\r\n this.currentPage = newPage;\r\n this.updateFilteredData();\r\n }\r\n }\r\n }\r\n\r\n onSearch() {\r\n this.currentPage = 1;\r\n if (this.lazyLoading) {\r\n this.loadLazyData();\r\n } else {\r\n this.updateFilteredData();\r\n }\r\n }\r\n\r\n loadLazyData() {\r\n this.onPageChange.emit({\r\n page: this.currentPage,\r\n pageSize: this.pageSize,\r\n searchText: this.searchText,\r\n });\r\n }\r\n\r\n public getPosName(posId: string): string {\r\n return (\r\n this.extraData?.find((pos) => pos.point_of_sale_id === posId)?.name || ''\r\n );\r\n }\r\n\r\n public emitData(data: any) {\r\n this.onNameClicked.emit(data);\r\n }\r\n}\r\n","<lib-kv-loading [message]=\"message\" [isLoading]=\"loading\" > </lib-kv-loading>\r\n<ng-container *ngIf=\"!loading\">\r\n <div class=\"search-container\">\r\n <div class=\"search-section\">\r\n <input\r\n type=\"text\"\r\n placeholder=\"Buscar...\"\r\n [(ngModel)]=\"searchText\"\r\n (keyup.enter)=\"onSearch()\"\r\n />\r\n <button *ngIf=\"lazyLoading\" (click)=\"onSearch()\">Buscar</button>\r\n </div>\r\n </div>\r\n\r\n <table>\r\n <thead>\r\n <tr>\r\n <th *ngFor=\"let column of columns\">{{ column.label }}</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let item of filteredData\">\r\n <td *ngFor=\"let column of columns\">\r\n <div class=\"state\" [ngClass]=\"item[column.key]\">\r\n <ng-container *ngIf=\"column.label === 'Services'\">\r\n <div class=\"service-info\" (click)=\"emitData(item)\">\r\n <img [src]=\"item.url || 'https://i.imgur.com/InRaVrL.jpg'\" alt=\"Imagen\" class=\"service-image\" />\r\n <a class=\"a-link\">{{ item.name }}</a>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"column.key === 'name' && column.label !== 'Services'\">\r\n <a class=\"a-link\" (click)=\"emitData(item)\">{{\r\n item[column.key]\r\n }}</a>\r\n </ng-container>\r\n <ng-container *ngIf=\"column.key === 'images'\">\r\n <div class=\"image-container\">\r\n <div *ngFor=\"let image of item[column.key]?.slice(0, 3)\">\r\n <img [src]=\"image\" alt=\"Imagen\" />\r\n </div>\r\n <div *ngIf=\"item[column.key]?.length > 3\" class=\"extra-images\">\r\n +{{ item[column.key].length - 3 }}\r\n </div>\r\n </div>\r\n </ng-container>\r\n <ng-container *ngIf=\"column.key === 'expire_at'\">\r\n {{ item[column.key] | date : \"dd/MM/yyyy\" }}\r\n </ng-container>\r\n <ng-container *ngIf=\"column.key === 'actions'\">\r\n <ng-container *ngTemplateOutlet=\"cellActionsTemplate; context: { $implicit: item }\"></ng-container>\r\n </ng-container>\r\n <ng-container\r\n *ngIf=\"\r\n column.key !== 'expire_at' &&\r\n column.key !== 'point_of_sale_id' &&\r\n column.key !== 'name' &&\r\n column.key !== 'pos_id' &&\r\n column.key !== 'images' &&\r\n column.key !== 'actions'\r\n \"\r\n >\r\n {{ item[column.key] }}\r\n </ng-container>\r\n <ng-container\r\n *ngIf=\"column.key === 'point_of_sale_id' || column.key === 'pos_id'\"\r\n >\r\n {{ getPosName(item[column.key]) }}\r\n </ng-container>\r\n </div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n\r\n <ng-container *ngIf=\"showPaginator\">\r\n <table class=\"table-pagination\">\r\n <tbody>\r\n <tr>\r\n <div class=\"pagination\">\r\n <div class=\"button-section\">\r\n <button (click)=\"changePage(-1)\" [disabled]=\"currentPage === 1\">\r\n Previous\r\n </button>\r\n <button\r\n (click)=\"changePage(1)\"\r\n [disabled]=\"currentPage === totalPages()\"\r\n [disabled]=\"loading\"\r\n >\r\n Next\r\n </button>\r\n </div>\r\n <div class=\"current-section\">\r\n <span>Page {{ currentPage }} of {{ totalPages() }}</span>\r\n </div>\r\n </div>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </ng-container>\r\n</ng-container>\r\n","import { Injectable } from '@angular/core';\r\nimport { FormArray, FormBuilder, FormGroup, ValidatorFn, Validators } from '@angular/forms';\r\nimport { FormFieldConfig } from '../interfaces/form-field.config';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FormFactoryService {\r\n constructor(private fb: FormBuilder) { }\r\n\r\n createForm(config: FormFieldConfig[], customValidator?: ValidatorFn): FormGroup {\r\n const formGroup = this.fb.group({}, { validators: customValidator });\r\n config.forEach((field) => {\r\n const control = this.fb.control(\r\n field.defaultValue || '',\r\n field.validators || []\r\n );\r\n formGroup.addControl(field.name, control);\r\n });\r\n return formGroup;\r\n }\r\n\r\n createFormArray(config: FormFieldConfig[], customValidator?: ValidatorFn): FormArray {\r\n const formArray = this.fb.array([], { validators: customValidator });\r\n config.forEach((field) => {\r\n const control = this.fb.control(\r\n field.defaultValue || '',\r\n field.validators || []\r\n );\r\n formArray.push(control);\r\n });\r\n return formArray;\r\n }\r\n\r\n createFormArrayOfGroups(config: FormFieldConfig[], initialCount: number, customValidator?: ValidatorFn): FormArray {\r\n const formArray = this.fb.array<FormGroup>([], { validators: customValidator });\r\n\r\n for (let i = 0; i < initialCount; i++) {\r\n const group = this.createForm(config);\r\n formArray.push(group);\r\n }\r\n\r\n return formArray;\r\n }\r\n\r\n createLoginForm(): FormGroup {\r\n return this.fb.group({\r\n email: ['', [Validators.required, Validators.email]],\r\n password: ['', [Validators.required, Validators.minLength(8)]],\r\n });\r\n }\r\n}","import { Injectable } from \"@angular/core\";\r\nimport { Router } from \"@angular/router\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class NavigationService {\r\n constructor(private router: Router) { }\r\n\r\n navigateToLogin(): Promise<boolean> {\r\n return this.router.navigate(['/login']);\r\n }\r\n\r\n navigateToOffers(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/offers']);\r\n }\r\n\r\n navigateToOffersDetails(id: string): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/offers-details'], {\r\n queryParams: { offerId: id }\r\n });\r\n }\r\n\r\n navigateToResetPassword(): Promise<boolean> {\r\n return this.router.navigate(['/login/reset-password']);\r\n }\r\n\r\n navigateToPointOfSaleDetails(id: string): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/point-of-sale-details'], {\r\n queryParams: { pointOfSaleId: id }\r\n });\r\n }\r\n\r\n navigateToPointOfSale(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/point-of-sale']);\r\n }\r\n\r\n navigateToItems(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/items']);\r\n }\r\n\r\n navigateToItemsDetails(id: string, posId: string): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/items-details'], {\r\n queryParams: { itemId: id, pointOfSaleId: posId}\r\n });\r\n }\r\n\r\n navigateToRules(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/rules']);\r\n }\r\n\r\n navigateToRulesManager(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/rules-manager']);\r\n }\r\n\r\n navigateToOfferFlow(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/offer-flow']);\r\n }\r\n\r\n navigateToPayment(price: number): Promise<boolean> {\r\n return this.router.navigate(['/auctions/payment']);\r\n }\r\n\r\n navigateToBillingRecords(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/billing-record']);\r\n }\r\n\r\n navigateToIntegrations(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/integrations']);\r\n }\r\n\r\n navigateToOrders(): Promise<boolean> {\r\n return this.router.navigate(['/dashboard/orders']);\r\n }\r\n}","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { ActionType } from '../enums/action-type.enum';\r\n\r\ninterface PopupState {\r\n show: boolean;\r\n title: string;\r\n actionType?: ActionType;\r\n description: string;\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class NotificationService {\r\n private popupState = new BehaviorSubject<PopupState>({\r\n show: false,\r\n title: '',\r\n description: '',\r\n actionType: ActionType.Info\r\n });\r\n\r\n popupState$ = this.popupState.asObservable();\r\n\r\n showNotification(title: string, description: string, actionType?: ActionType): void {\r\n this.popupState.next({\r\n show: true,\r\n title,\r\n description,\r\n actionType: actionType || ActionType.Info\r\n });\r\n }\r\n\r\n hideNotification(): void {\r\n this.popupState.next({\r\n show: false,\r\n title: '',\r\n description: '',\r\n actionType: ActionType.Info\r\n });\r\n }\r\n}","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject, Observable, ReplaySubject, map } from 'rxjs';\r\n\r\ninterface SessionData {\r\n pointsOfSale?: any[];\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\n\r\nexport class SessionService {\r\n private sessionSubject = new ReplaySubject<SessionData | null>(1);\r\n\r\n constructor() {\r\n this.sessionSubject.next(null);\r\n }\r\n\r\n setSessionData(data: SessionData): void {\r\n this.sessionSubject.next(data);\r\n }\r\n\r\n getCurrentSessionData(): SessionData | null {\r\n let value: SessionData | null = null;\r\n this.sessionSubject.subscribe(v => value = v).unsubscribe();\r\n return value;\r\n }\r\n}","import { InjectionToken } from '@angular/core';\r\n\r\nexport const API_KEY = new InjectionToken<string>('API_KEY');","import { inject, Injectable } from '@angular/core';\r\nimport {\r\n HttpRequest,\r\n HttpHandler,\r\n HttpEvent,\r\n HttpInterceptor\r\n} from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { CookieService } from \"ngx-cookie-service\";\r\nimport { API_KEY } from '../injection-tokens/auth-config';\r\n\r\n@Injectable()\r\nexport class AuthInterceptor implements HttpInterceptor {\r\n intercept(\r\n request: HttpRequest<unknown>,\r\n next: HttpHandler\r\n ): Observable<HttpEvent<unknown>> {\r\n const cookieService = inject(CookieService);\r\n const apiKey = inject(API_KEY);\r\n const token = cookieService.get('jwt');\r\n const modifiedReq = request.clone({\r\n headers: request.headers\r\n .set('Access_token', token)\r\n .set('Api_Key', apiKey) \r\n });\r\n return next.handle(modifiedReq);\r\n }\r\n}\r\n","import { Injectable } from \"@angular/core\";\r\nimport { CookieService } from \"ngx-cookie-service\";\r\nimport { BehaviorSubject, firstValueFrom } from \"rxjs\";\r\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\r\n\r\nexport interface Session {\r\n access_token: string;\r\n refresh_token: string;\r\n expires_in?: number;\r\n user?: any;\r\n}\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AuthService {\r\n\r\n private sessionSubject = new BehaviorSubject<Session | null>(null);\r\n protected refreshTimeout: any;\r\n private apiUrl = 'http://localhost:9090/v1';\r\n private apiKey = '';\r\n\r\n constructor(\r\n private readonly cookieService: CookieService,\r\n private readonly http: HttpClient\r\n ) {\r\n this.getSession().catch(() => null);\r\n }\r\n\r\n private getHeaders(): HttpHeaders {\r\n return new HttpHeaders({\r\n 'Content-Type': 'application/json',\r\n 'Api_Key': this.apiKey\r\n });\r\n }\r\n\r\n public configureApi(apiUrl: string, apiKey?: string): void {\r\n if (apiUrl) this.apiUrl = apiUrl;\r\n if (apiKey) this.apiKey = apiKey;\r\n }\r\n\r\n public getCurrentSession(): Session | null {\r\n return this.sessionSubject.getValue();\r\n }\r\n\r\n public signIn(email: string, password: string): Promise<any> {\r\n return firstValueFrom(\r\n this.http.post(`${this.apiUrl}/supabase-auth`, { email, password }, { headers: this.getHeaders() })\r\n ).then((response: any) => {\r\n if (response) {\r\n this.sessionSubject.next(response);\r\n localStorage.setItem('refresh_token', response.refresh_token || '');\r\n if (this.isValidLoginResponse(response)) {\r\n this.handleSuccessfulRefresh(response);\r\n this.startRefreshTimer(response);\r\n }\r\n }\r\n return response;\r\n });\r\n }\r\n\r\n public signOut(): Promise<any> {\r\n return firstValueFrom(\r\n this.http.post(`${this.apiUrl}/supabase-signout`, {}, { headers: this.getHeaders() })\r\n ).then((response: any) => {\r\n this.sessionSubject.next(null);\r\n this.cookieService.deleteAll();\r\n localStorage.removeItem('refresh_token');\r\n return response;\r\n }).catch(error => {\r\n console.error('Error signing out:', error);\r\n this.sessionSubject.next(null);\r\n this.cookieService.deleteAll();\r\n localStorage.removeItem('refresh_token');\r\n throw error;\r\n });\r\n }\r\n\r\n public sendResetPasswordEmail(email: string): Promise<any> {\r\n return firstValueFrom(\r\n this.http.post(`${this.apiUrl}/supabase-reset-password`, { email }, { headers: this.getHeaders() })\r\n );\r\n }\r\n\r\n public setNewPassword(newPassword: string): Promise<any> {\r\n const accessToken = this.cookieService.get('access_token');\r\n const headers = this.getHeaders().set('Authorization', `Bearer ${accessToken}`);\r\n\r\n return firstValueFrom(\r\n this.http.post(`${this.apiUrl}/supabase-set-password`, { password: newPassword }, { headers })\r\n );\r\n }\r\n\r\n public getSession(): Promise<any> {\r\n const refreshToken = localStorage.getItem('refresh_token');\r\n if (!refreshToken) {\r\n return Promise.resolve({ data: { session: null } });\r\n }\r\n \r\n return firstValueFrom(\r\n this.http.post(`${this.apiUrl}/supabase-session`, { refresh_token: refreshToken }, { headers: this.getHeaders() })\r\n ).then((response: any) => {\r\n if (response?.data?.session) {\r\n this.sessionSubject.next(response.data.session);\r\n if (this.isValidLoginResponse(response.data)) {\r\n this.handleSuccessfulRefresh(response.data);\r\n this.startRefreshTimer(response.data.session);\r\n }\r\n }\r\n return response;\r\n });\r\n }\r\n\r\n public refreshSession(): Promise<any> {\r\n const refreshToken = localStorage.getItem('refresh_token');\r\n if (!refreshToken) {\r\n return Promise.resolve({ data: { session: null } });\r\n }\r\n \r\n return firstValueFrom(\r\n this.http.post(`${this.apiUrl}/supabase-refresh`, { refresh_token: refreshToken }, { headers: this.getHeaders() })\r\n ).then((response: any) => {\r\n if (response?.data) {\r\n this.sessionSubject.next(response.data);\r\n localStorage.setItem('refresh_token', response.data.refresh_token || '');\r\n if (this.isValidLoginResponse(response.data)) {\r\n this.handleSuccessfulRefresh(response.data);\r\n this.startRefreshTimer(response.data);\r\n }\r\n }\r\n return response;\r\n });\r\n }\r\n\r\n public startRefreshTimer(session: Session) {\r\n const expiresIn = session.expires_in || 3200;\r\n this.refreshTimeout = setTimeout(() => {\r\n this.refreshSession().catch(console.error);\r\n }, (expiresIn - 60) * 1000);\r\n }\r\n\r\n public getSessionObservable() {\r\n return this.sessionSubject.asObservable();\r\n }\r\n\r\n private isValidLoginResponse(data: any): boolean {\r\n return !!(\r\n data?.access_token &&\r\n data?.user?.app_metadata?.role\r\n );\r\n }\r\n\r\n private handleSuccessfulRefresh(data: any): void {\r\n const token = data!.access_token;\r\n this.cookieService.delete('jwt');\r\n this.cookieService.set('jwt', token);\r\n }\r\n}\r\n","export class AuthHelper {\r\n\r\n public static getUserId(): string | null {\r\n return localStorage.getItem(\"userId\") || null;\r\n }\r\n\r\n public static getUserRole(): string | null {\r\n return localStorage.getItem(\"userRole\") || null;\r\n }\r\n}","import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';\r\n\r\nexport const passwordMatchValidator: ValidatorFn = (control: AbstractControl): ValidationErrors | null => {\r\n const password = control.get('password');\r\n const confirmPassword = control.get('confirmPassword');\r\n\r\n if (!password || !confirmPassword) {\r\n return null;\r\n }\r\n\r\n if (password.pristine || confirmPassword.pristine) {\r\n return null;\r\n }\r\n\r\n return password.value === confirmPassword.value ? null : { passwordMismatch: true };\r\n};","/*\r\n * Public API Surface of kivio\r\n */\r\n\r\n//Components\r\nexport * from './lib/components/kv-popup/kv-popup.component';\r\nexport * from './lib/components/date-picker/date-picker.component';\r\nexport * from './lib/components/kv-resource-not-found/kv-resource-not-found.component'\r\nexport * from './lib/components/kv-stepper/kv-stepper.component';\r\nexport * from './lib/components/kv-step/kv-step.component';\r\nexport * from './lib/components/kv-accordion/kv-accordion.component';\r\nexport * from './lib/components/kv-alert/kv-alert.component';\r\nexport * from './lib/components/kv-side-menu/kv-side-menu.component'\r\nexport * from './lib/components/kv-main-table/kv-main-table.component'\r\nexport * from './lib/components/kv-loading/kv-loading.component';\r\n\r\n//Services\r\nexport * from './lib/factories/form-factory.service';\r\nexport * from './lib/services/navigation.service';\r\nexport * from './lib/services/notification.service';\r\nexport * from './lib/services/session.service';\r\nexport * from './lib/services/auth-interceptor.service';\r\nexport * from './lib/services/auth.service';\r\n\r\n//Configs\r\nexport * from './lib/interfaces/form-field.config';\r\n\r\n//Helpers\r\nexport * from './lib/helpers/auth.helper'\r\n\r\n//Validators\r\nexport * from './lib/validators/password-missmatch.validator'\r\n\r\n//Enums\r\nexport * from './lib/enums/action-type.enum'\r\n\r\n// Injection Tokens\r\nexport * from './lib/injection-tokens/auth-config';","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i2"],"mappings":";;;;;;;;;;;;;IAAY;AAAZ,CAAA,UAAY,UAAU,EAAA;AAClB,IAAA,UAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,UAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,UAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,UAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AAC3B,CAAC,EALW,UAAU,KAAV,UAAU,GAKrB,EAAA,CAAA,CAAA;;MCMY,gBAAgB,CAAA;AAP7B,IAAA,WAAA,GAAA;QASW,IAAK,CAAA,KAAA,GAAW,EAAE;AAIjB,QAAA,IAAA,CAAA,QAAQ,GAAuB,IAAI,YAAY,EAAQ;AACvD,QAAA,IAAA,CAAA,OAAO,GAAuB,IAAI,YAAY,EAAQ;QAEzD,IAAc,CAAA,cAAA,GAAG,UAAU;AASnC;IAPQ,cAAc,GAAA;AACnB,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE;;IAGf,aAAa,GAAA;AAClB,QAAA,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE;;+GAhBV,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,WAAA,EAAA,aAAA,EAAA,gBAAA,EAAA,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EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAW,cAFV,MAAM,EAAA,CAAA,CAAA;;4FAEP,WAAW,EAAA,UAAA,EAAA,CAAA;kBAHvB,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE;AACb,iBAAA;;;MCdY,UAAU,CAAA;AAEZ,IAAA,OAAO,SAAS,GAAA;QACnB,OAAO,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,IAAI;;AAG1C,IAAA,OAAO,WAAW,GAAA;QACrB,OAAO,YAAY,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,IAAI;;AAEtD;;ACPY,MAAA,sBAAsB,GAAgB,CAAC,OAAwB,KAA6B;IACrG,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;IACxC,MAAM,eAAe,GAAG,OAAO,CAAC,GAAG,CAAC,iBAAiB,CAAC;AAEtD,IAAA,IAAI,CAAC,QAAQ,IAAI,CAAC,eAAe,EAAE;AAC/B,QAAA,OAAO,IAAI;AACd;AAED,IAAA,IAAI,QAAQ,CAAC,QAAQ,IAAI,eAAe,CAAC,QAAQ,EAAE;AAC/C,QAAA,OAAO,IAAI;AACd;AAED,IAAA,OAAO,QAAQ,CAAC,KAAK,KAAK,eAAe,CAAC,KAAK,GAAG,IAAI,GAAG,EAAE,gBAAgB,EAAE,IAAI,EAAE;AACvF;;ACfA;;AAEG;AAEH;;ACJA;;AAEG;;;;"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ResourceNotFoundComponent {
|
|
3
|
+
messageTitle: string;
|
|
4
|
+
messageDescription: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceNotFoundComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceNotFoundComponent, "lib-kv-resource-not-found", never, { "messageTitle": { "alias": "messageTitle"; "required": false; }; "messageDescription": { "alias": "messageDescription"; "required": false; }; }, {}, never, never, true, never>;
|
|
7
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export * from './lib/components/kv-popup/kv-popup.component';
|
|
2
2
|
export * from './lib/components/date-picker/date-picker.component';
|
|
3
|
-
export * from './lib/components/resource-not-found/resource-not-found.component';
|
|
3
|
+
export * from './lib/components/kv-resource-not-found/kv-resource-not-found.component';
|
|
4
4
|
export * from './lib/components/kv-stepper/kv-stepper.component';
|
|
5
5
|
export * from './lib/components/kv-step/kv-step.component';
|
|
6
6
|
export * from './lib/components/kv-accordion/kv-accordion.component';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class ResourceNotFoundComponent {
|
|
4
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ResourceNotFoundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ResourceNotFoundComponent, isStandalone: true, selector: "lib-resource-not-found", ngImport: i0, template: "<div class=\"not-found\">\r\n <h2>Recurso no encontrado</h2>\r\n <p>El recurso consultado no est\u00E1 disponible</p>\r\n</div>", styles: [".not-found{text-align:center;margin:2rem 0;color:#6c757d;width:100%}h2{font-size:1.5rem;margin-bottom:.5rem}p{font-size:1rem;margin:0}\n"] }); }
|
|
6
|
-
}
|
|
7
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ResourceNotFoundComponent, decorators: [{
|
|
8
|
-
type: Component,
|
|
9
|
-
args: [{ selector: 'lib-resource-not-found', standalone: true, imports: [], template: "<div class=\"not-found\">\r\n <h2>Recurso no encontrado</h2>\r\n <p>El recurso consultado no est\u00E1 disponible</p>\r\n</div>", styles: [".not-found{text-align:center;margin:2rem 0;color:#6c757d;width:100%}h2{font-size:1.5rem;margin-bottom:.5rem}p{font-size:1rem;margin:0}\n"] }]
|
|
10
|
-
}] });
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb3VyY2Utbm90LWZvdW5kLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdmlvL3NyYy9saWIvY29tcG9uZW50cy9yZXNvdXJjZS1ub3QtZm91bmQvcmVzb3VyY2Utbm90LWZvdW5kLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdmlvL3NyYy9saWIvY29tcG9uZW50cy9yZXNvdXJjZS1ub3QtZm91bmQvcmVzb3VyY2Utbm90LWZvdW5kLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBUzFDLE1BQU0sT0FBTyx5QkFBeUI7K0dBQXpCLHlCQUF5QjttR0FBekIseUJBQXlCLGtGQ1R0Qyx1SUFHTTs7NEZETU8seUJBQXlCO2tCQVByQyxTQUFTOytCQUNFLHdCQUF3QixjQUN0QixJQUFJLFdBQ1AsRUFBRSIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5cclxuQENvbXBvbmVudCh7XHJcbiAgc2VsZWN0b3I6ICdsaWItcmVzb3VyY2Utbm90LWZvdW5kJyxcclxuICBzdGFuZGFsb25lOiB0cnVlLFxyXG4gIGltcG9ydHM6IFtdLFxyXG4gIHRlbXBsYXRlVXJsOiAnLi9yZXNvdXJjZS1ub3QtZm91bmQuY29tcG9uZW50Lmh0bWwnLFxyXG4gIHN0eWxlVXJsOiAnLi9yZXNvdXJjZS1ub3QtZm91bmQuY29tcG9uZW50LnNjc3MnXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBSZXNvdXJjZU5vdEZvdW5kQ29tcG9uZW50IHtcclxuXHJcbn1cclxuIiwiPGRpdiBjbGFzcz1cIm5vdC1mb3VuZFwiPlxyXG4gICAgPGgyPlJlY3Vyc28gbm8gZW5jb250cmFkbzwvaDI+XHJcbiAgICA8cD5FbCByZWN1cnNvIGNvbnN1bHRhZG8gbm8gZXN0w6EgZGlzcG9uaWJsZTwvcD5cclxuPC9kaXY+Il19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ResourceNotFoundComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceNotFoundComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResourceNotFoundComponent, "lib-resource-not-found", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|