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AA,CAAAA,4DAAA;AAAA;;QAAlB25M,MAAkB;EAAAtyM,SAAA;EAAAgzM,QAAA;EAAA3xD,YAAA,WAAA4xD,gCAAA3yM,EAAA,EAAAC,GAAA;IAAA,IAAAD,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACfgB;AAEY;;AAQrD,MAAOo9E,eAAe;SAAfA,eAAe;;mBAAfA,MAAe;AAAA;;QAAfA;AAAe;;YAHhBlmE,yDAAY;AAAA;;sHAGXkmE,eAAe;IAAAh2E,YAAA,GAJX4qM,oEAAkB;IAAA56M,OAAA,GACvB8f,yDAAY;IAAA5f,OAAA,GACZ06M,oEAAkB;EAAA;AAAA;;;;;;;;;;;;;;;;;;;ACRiB;AAEU;AAEZ;AAGvC,SAAUa,UAAUA,CAAA;EACxB,OAAOpkM,QAAQ,CAACmnH,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAACxnD,IAAI;AACtD;AAEA,MAAM0kI,SAAS,GAAG,CAChB;EAAEvsM,OAAO,EAAE,UAAU;EAAEI,UAAU,EAAEksM,UAAU;EAAEjsM,IAAI,EAAE;AAAE,CAAE,CAC1D;AAED,IAAIozE,kEAAW,CAAC83H,UAAU,EAAE;EAC1Bc,6DAAc,EAAE;;AAGlBG,sEAAA,EAAwB,CAACE,eAAe,CAAC/sM,sDAAS,CAAC,CAChDgtM,KAAK,CAACpxH,GAAG,IAAIpjD,OAAO,CAAC9uB,KAAK,CAACkyE,GAAG,CAAC,CAAC","sources":["./src/app/animations.ts","./src/app/app-routing.module.ts","./src/app/app-settings.service.ts","./src/app/app.component.ts","./src/app/app.component.html","./src/app/app.module.ts","./src/app/attachments/attachments-data.service.ts","./src/app/attachments/attachments-detail/attachments-detail.component.ts","./src/app/attachments/attachments-detail/attachments-detail.component.html","./src/app/attachments/attachments-list/attachments-list.component.ts","./src/app/attachments/attachments-list/attachments-list.component.html","./src/app/attachments/attachments-routing.module.ts","./src/app/attachments/attachments.module.ts","./src/app/attachments/attachments.service.ts","./src/app/attachments/generic-attachments-detail/generic-attachments-detail.component.ts","./src/app/attachments/generic-attachments-detail/generic-attachments-detail.component.html","./src/app/attachments/generic-attachments-list/generic-attachments-list.component.ts","./src/app/attachments/generic-attachments-list/generic-attachments-list.component.html","./src/app/calendar/calendar-routing.module.ts","./src/app/calendar/calendar.component.ts","./src/app/calendar/calendar.component.html","./src/app/calendar/calendar.module.ts","./src/app/campaigns/add-campaigns-to-entity/add-campaigns-to-entity.component.ts","./src/app/campaigns/add-campaigns-to-entity/add-campaigns-to-entity.component.html","./src/app/campaigns/campaign-add-element/campaign-add-element.component.ts","./src/app/campaigns/campaign-add-element/campaign-add-element.component.html","./src/app/campaigns/campaigns-chart/campaigns-chart.component.ts","./src/app/campaigns/campaigns-chart/campaigns-chart.component.html","./src/app/campaigns/campaigns-contacts.service.ts","./src/app/campaigns/campaigns-detail/campaigns-detail.component.ts","./src/app/campaigns/campaigns-detail/campaigns-detail.component.html","./src/app/campaigns/campaigns-list/campaigns-list.component.ts","./src/app/campaigns/campaigns-list/campaigns-list.component.html","./src/app/campaigns/campaigns-organizations.service.ts","./src/app/campaigns/campaigns-routing.module.ts","./src/app/campaigns/campaigns.module.ts","./src/app/campaigns/campaigns.service.ts","./src/app/configuration/attachments-types/attachments-types-detail/attachments-types-detail.component.ts","./src/app/configuration/attachments-types/attachments-types-detail/attachments-types-detail.component.html","./src/app/configuration/attachments-types/attachments-types-list/attachments-types-list.component.ts","./src/app/configuration/attachments-types/attachments-types-list/attachments-types-list.component.html","./src/app/configuration/attachments-types/attachments-types-routing.module.ts","./src/app/configuration/attachments-types/attachments-types.module.ts","./src/app/configuration/attachments-types/attachments-types.service.ts","./src/app/configuration/business/business-detail/business-detail.component.ts","./src/app/configuration/business/business-detail/business-detail.component.html","./src/app/configuration/business/business-list/business-list.component.ts","./src/app/configuration/business/business-list/business-list.component.html","./src/app/configuration/business/business-routing.module.ts","./src/app/configuration/business/business.module.ts","./src/app/configuration/business/business.service.ts","./src/app/configuration/company-license/company-license.component.ts","./src/app/configuration/company-license/company-license.component.html","./src/app/configuration/company-license/company-license.service.ts","./src/app/configuration/configuration-main-page/configuration-main-page.component.ts","./src/app/configuration/configuration-main-page/configuration-main-page.component.html","./src/app/configuration/configuration-routing.module.ts","./src/app/configuration/configuration.module.ts","./src/app/configuration/configuration.service.ts","./src/app/configuration/countries/countries-detail/countries-detail.component.ts","./src/app/configuration/countries/countries-detail/countries-detail.component.html","./src/app/configuration/countries/countries-list/countries-list.component.ts","./src/app/configuration/countries/countries-list/countries-list.component.html","./src/app/configuration/countries/countries.service.ts","./src/app/configuration/entities-detail/entities-detail-fields/add-item-to-entity-field-list/add-item-to-entity-field-list.component.ts","./src/app/configuration/entities-detail/entities-detail-fields/add-item-to-entity-field-list/add-item-to-entity-field-list.component.html","./src/app/configuration/entities-detail/entities-detail-fields/entities-detail-fields.component.ts","./src/app/configuration/entities-detail/entities-detail-fields/entities-detail-fields.component.html","./src/app/configuration/entities-detail/entities-detail-fields/entity-field-masive-options/entity-field-masive-options.component.ts","./src/app/configuration/entities-detail/entities-detail-fields/entity-field-masive-options/entity-field-masive-options.component.html","./src/app/configuration/entities-detail/entities-detail.component.ts","./src/app/configuration/entities-detail/entities-detail.component.html","./src/app/configuration/entities-fields.service.ts","./src/app/configuration/entities-list/entities-list.component.ts","./src/app/configuration/entities-list/entities-list.component.html","./src/app/configuration/entities.service.ts","./src/app/configuration/families/families-detail/families-detail.component.ts","./src/app/configuration/families/families-detail/families-detail.component.html","./src/app/configuration/families/families-list/families-list.component.ts","./src/app/configuration/families/families-list/families-list.component.html","./src/app/configuration/families/families-routing.module.ts","./src/app/configuration/families/families.module.ts","./src/app/configuration/families/families.service.ts","./src/app/configuration/integration/companiesintegrations.service.ts","./src/app/configuration/integration/gmail.service.ts","./src/app/configuration/integration/integration-edit-apirest/integration-edit-apirest.component.ts","./src/app/configuration/integration/integration-edit-apirest/integration-edit-apirest.component.html","./src/app/configuration/integration/integration-edit-gmail/integration-edit-gmail.component.ts","./src/app/configuration/integration/integration-edit-gmail/integration-edit-gmail.component.html","./src/app/configuration/integration/integration-edit-gmail/user-config/user-config.component.ts","./src/app/configuration/integration/integration-edit-gmail/user-config/user-config.component.html","./src/app/configuration/integration/integration-edit-mailchimp/integration-edit-mailchimp.component.ts","./src/app/configuration/integration/integration-edit-mailchimp/integration-edit-mailchimp.component.html","./src/app/configuration/integration/integration-edit-mailjet/integration-edit-mailjet.component.ts","./src/app/configuration/integration/integration-edit-mailjet/integration-edit-mailjet.component.html","./src/app/configuration/integration/integration-edit-office365/integration-edit-office365.component.ts","./src/app/configuration/integration/integration-edit-office365/integration-edit-office365.component.html","./src/app/configuration/integration/integration-edit-office365/user-config/user-config.component.ts","./src/app/configuration/integration/integration-edit-office365/user-config/user-config.component.html","./src/app/configuration/integration/integration-edit-sage/integration-edit-sage.component.ts","./src/app/configuration/integration/integration-edit-sage/integration-edit-sage.component.html","./src/app/configuration/integration/integration-edit-webcrm/integration-edit-webcrm.component.ts","./src/app/configuration/integration/integration-edit-webcrm/integration-edit-webcrm.component.html","./src/app/configuration/integration/integration-edit-webform/integration-edit-webform.component.ts","./src/app/configuration/integration/integration-edit-webform/integration-edit-webform.component.html","./src/app/configuration/integration/integration-edit/integration-edit.component.ts","./src/app/configuration/integration/integration-edit/integration-edit.component.html","./src/app/configuration/integration/integration-list/integration-list.component.ts","./src/app/configuration/integration/integration-list/integration-list.component.html","./src/app/configuration/integration/integration-routing.module.ts","./src/app/configuration/integration/integration.module.ts","./src/app/configuration/integration/integration.service.ts","./src/app/configuration/integration/mailchimp.service.ts","./src/app/configuration/integration/mailjet.service.ts","./src/app/configuration/integration/office365.service.ts","./src/app/configuration/mail-accounts/mail-accounts-detail/mail-accounts-detail.component.ts","./src/app/configuration/mail-accounts/mail-accounts-detail/mail-accounts-detail.component.html","./src/app/configuration/mail-accounts/mail-accounts-list/mail-accounts-list.component.ts","./src/app/configuration/mail-accounts/mail-accounts-list/mail-accounts-list.component.html","./src/app/configuration/mail-accounts/mail-accounts-routing.module.ts","./src/app/configuration/mail-accounts/mail-accounts.module.ts","./src/app/configuration/mail-accounts/mail-accounts.service.ts","./src/app/configuration/organizations-types/organizations-types-detail/organizations-types-detail.component.ts","./src/app/configuration/organizations-types/organizations-types-detail/organizations-types-detail.component.html","./src/app/configuration/organizations-types/organizations-types-list/organizations-types-list.component.ts","./src/app/configuration/organizations-types/organizations-types-list/organizations-types-list.component.html","./src/app/configuration/organizations-types/organizations-types-routing.module.ts","./src/app/configuration/organizations-types/organizations-types.module.ts","./src/app/configuration/origins/origins-detail/origins-detail.component.ts","./src/app/configuration/origins/origins-detail/origins-detail.component.html","./src/app/configuration/origins/origins-list/origins-list.component.ts","./src/app/configuration/origins/origins-list/origins-list.component.html","./src/app/configuration/origins/origins-routing.module.ts","./src/app/configuration/origins/origins.module.ts","./src/app/configuration/origins/origins.service.ts","./src/app/configuration/provinces/provinces-detail/provinces-detail.component.ts","./src/app/configuration/provinces/provinces-detail/provinces-detail.component.html","./src/app/configuration/provinces/provinces-list/provinces-list.component.ts","./src/app/configuration/provinces/provinces-list/provinces-list.component.html","./src/app/configuration/provinces/provinces-routing.module.ts","./src/app/configuration/provinces/provinces.module.ts","./src/app/configuration/provinces/provinces.service.ts","./src/app/configuration/reasons-transactions-status/reasons-transactions-status-detail/reasons-transactions-status-detail.component.ts","./src/app/configuration/reasons-transactions-status/reasons-transactions-status-detail/reasons-transactions-status-detail.component.html","./src/app/configuration/reasons-transactions-status/reasons-transactions-status-list/reasons-transactions-status-list.component.ts","./src/app/configuration/reasons-transactions-status/reasons-transactions-status-list/reasons-transactions-status-list.component.html","./src/app/configuration/reasons-transactions-status/reasons-transactions-status.service.ts","./src/app/configuration/roles/permissions-group.service.ts","./src/app/configuration/roles/permissions.service.ts","./src/app/configuration/roles/roles-detail/roles-detail.component.ts","./src/app/configuration/roles/roles-detail/roles-detail.component.html","./src/app/configuration/roles/roles-list/roles-list.component.ts","./src/app/configuration/roles/roles-list/roles-list.component.html","./src/app/configuration/roles/roles-permissions.service.ts","./src/app/configuration/roles/roles.service.ts","./src/app/configuration/sectors/sectors-detail/sectors-detail.component.ts","./src/app/configuration/sectors/sectors-detail/sectors-detail.component.html","./src/app/configuration/sectors/sectors-list/sectors-list.component.ts","./src/app/configuration/sectors/sectors-list/sectors-list.component.html","./src/app/configuration/sectors/sectors-routing.module.ts","./src/app/configuration/sectors/sectors.module.ts","./src/app/configuration/sectors/sectors.service.ts","./src/app/configuration/task-status/task-status-detail/task-status-detail.component.ts","./src/app/configuration/task-status/task-status-detail/task-status-detail.component.html","./src/app/configuration/task-status/task-status-list/task-status-list.component.ts","./src/app/configuration/task-status/task-status-list/task-status-list.component.html","./src/app/configuration/task-status/task-status-routing.module.ts","./src/app/configuration/task-status/task-status.module.ts","./src/app/configuration/task-status/task-status.service.ts","./src/app/configuration/tasks-actions-types/tasks-actions-types-detail/tasks-actions-types-detail.component.ts","./src/app/configuration/tasks-actions-types/tasks-actions-types-detail/tasks-actions-types-detail.component.html","./src/app/configuration/tasks-actions-types/tasks-actions-types-list/tasks-actions-types-list.component.ts","./src/app/configuration/tasks-actions-types/tasks-actions-types-list/tasks-actions-types-list.component.html","./src/app/configuration/tasks-actions-types/tasks-actions-types-routing.module.ts","./src/app/configuration/tasks-actions-types/tasks-actions-types.module.ts","./src/app/configuration/tax-rates/tax-rates-detail/tax-rates-detail.component.ts","./src/app/configuration/tax-rates/tax-rates-detail/tax-rates-detail.component.html","./src/app/configuration/tax-rates/tax-rates-list/tax-rates-list.component.ts","./src/app/configuration/tax-rates/tax-rates-list/tax-rates-list.component.html","./src/app/configuration/tax-rates/tax-rates.service.ts","./src/app/configuration/templates/html-preview/html-preview.component.ts","./src/app/configuration/templates/html-preview/html-preview.component.html","./src/app/configuration/templates/templates-detail/templates-detail.component.ts","./src/app/configuration/templates/templates-detail/templates-detail.component.html","./src/app/configuration/templates/templates-list/templates-list.component.ts","./src/app/configuration/templates/templates-list/templates-list.component.html","./src/app/configuration/templates/templates-routing.module.ts","./src/app/configuration/templates/templates-types.service.ts","./src/app/configuration/templates/templates.module.ts","./src/app/configuration/templates/templates.service.ts","./src/app/configuration/tracking-logs/tracking-logs.component.ts","./src/app/configuration/tracking-logs/tracking-logs.component.html","./src/app/configuration/transaction-status/transaction-status-blocking-roles/transaction-status-blocking-roles.component.ts","./src/app/configuration/transaction-status/transaction-status-blocking-roles/transaction-status-blocking-roles.component.html","./src/app/configuration/transaction-status/transaction-status-detail/transaction-status-detail.component.ts","./src/app/configuration/transaction-status/transaction-status-detail/transaction-status-detail.component.html","./src/app/configuration/transaction-status/transaction-status-list/transaction-status-list.component.ts","./src/app/configuration/transaction-status/transaction-status-list/transaction-status-list.component.html","./src/app/configuration/transaction-status/transaction-status-routing.module.ts","./src/app/configuration/transaction-status/transaction-status.module.ts","./src/app/configuration/transaction-status/transaction-status.service.ts","./src/app/configuration/transaction-types/transaction-types-detail/transaction-types-detail.component.ts","./src/app/configuration/transaction-types/transaction-types-detail/transaction-types-detail.component.html","./src/app/configuration/transaction-types/transaction-types-list/transaction-types-list.component.ts","./src/app/configuration/transaction-types/transaction-types-list/transaction-types-list.component.html","./src/app/configuration/transaction-types/transaction-types.module.ts","./src/app/configuration/transaction-types/transaction-types.service.ts","./src/app/configuration/views/view-detail/views-detail.component.ts","./src/app/configuration/views/view-detail/views-detail.component.html","./src/app/configuration/views/view-list/views-list.component.ts","./src/app/configuration/views/view-list/views-list.component.html","./src/app/configuration/views/views-routing.module.ts","./src/app/configuration/views/views.module.ts","./src/app/configuration/zones/zones-detail/zones-detail.component.ts","./src/app/configuration/zones/zones-detail/zones-detail.component.html","./src/app/configuration/zones/zones-list/zones-list.component.ts","./src/app/configuration/zones/zones-list/zones-list.component.html","./src/app/configuration/zones/zones-routing.module.ts","./src/app/configuration/zones/zones.module.ts","./src/app/configuration/zones/zones.service.ts","./src/app/contacts/contacts-list/contacts-list.component.ts","./src/app/contacts/contacts-list/contacts-list.component.html","./src/app/contacts/contacts-routing.module.ts","./src/app/contacts/contacts.module.ts","./src/app/core/EncodeHttpParamsInterceptor.ts","./src/app/core/bee.service.ts","./src/app/core/core.module.ts","./src/app/core/core.pipes.ts","./src/app/core/customHistory.service.ts","./src/app/core/debug.service.ts","./src/app/core/dialogs/core-dialog.service.ts","./src/app/core/dialogs/dialogs-confirm/dialogs-confirm.component.ts","./src/app/core/dialogs/dialogs-confirm/dialogs-confirm.component.html","./src/app/core/forms/core-forms.service.ts","./src/app/core/loader/httpconfig.interceptor.ts","./src/app/core/loader/loader.component.ts","./src/app/core/loader/loader.component.html","./src/app/core/loader/loader.service.ts","./src/app/core/search.service.ts","./src/app/core/sidebar/sidebar.component.ts","./src/app/core/sidebar/sidebar.component.html","./src/app/core/topbar/topbar.component.ts","./src/app/core/topbar/topbar.component.html","./src/app/core/utils.service.ts","./src/app/core/version.service.ts","./src/app/core/view/component.service.ts","./src/app/core/view/component/add/view-component-add.component.ts","./src/app/core/view/component/add/view-component-add.component.html","./src/app/core/view/component/card/view-component-card.component.ts","./src/app/core/view/component/card/view-component-card.component.html","./src/app/core/view/component/configure/view-component-configure.component.ts","./src/app/core/view/component/configure/view-component-configure.component.html","./src/app/core/view/component/custom/view-component-custom.component.ts","./src/app/core/view/component/custom/view-component-custom.component.html","./src/app/core/view/component/datetime/datetime.component.ts","./src/app/core/view/component/datetime/datetime.component.html","./src/app/core/view/component/files/view-component-files.component.ts","./src/app/core/view/component/files/view-component-files.component.html","./src/app/core/view/component/filter/modal/filter-modal.component.ts","./src/app/core/view/component/filter/modal/filter-modal.component.html","./src/app/core/view/component/filter/view-component-filter.component.ts","./src/app/core/view/component/filter/view-component-filter.component.html","./src/app/core/view/component/form/view-component-form.component.ts","./src/app/core/view/component/form/view-component-form.component.html","./src/app/core/view/component/gallery/view-component-gallery.component.ts","./src/app/core/view/component/gallery/view-component-gallery.component.html","./src/app/core/view/component/new-view/new-view.component.ts","./src/app/core/view/component/new-view/new-view.component.html","./src/app/core/view/component/table/view-component-table.component.ts","./src/app/core/view/component/table/view-component-table.component.html","./src/app/core/view/component/translate/CustomTranslateLoader.ts","./src/app/core/view/customizer.directive.ts","./src/app/core/view/customizer.service.ts","./src/app/core/view/view.component.ts","./src/app/core/view/view.component.html","./src/app/core/view/views-custom.service.ts","./src/app/core/view/views.service.ts","./src/app/entity-history-line/entity-history-line.component.ts","./src/app/entity-history-line/entity-history-line.component.html","./src/app/entity-history-line/entity-history-line.module.ts","./src/app/features/features.service.ts","./src/app/home/home-list/home-list.component.ts","./src/app/home/home-list/home-list.component.html","./src/app/home/home-routing.module.ts","./src/app/home/home.module.ts","./src/app/import/import-detail/import-detail.component.ts","./src/app/import/import-detail/import-detail.component.html","./src/app/import/import-detail/import-progressbar/import-progressbar.component.ts","./src/app/import/import-detail/import-progressbar/import-progressbar.component.html","./src/app/import/import-list/import-list.component.ts","./src/app/import/import-list/import-list.component.html","./src/app/import/import-routing.module.ts","./src/app/import/import.module.ts","./src/app/import/import.service.ts","./src/app/leads/leads-detail/leads-detail.component.ts","./src/app/leads/leads-detail/leads-detail.component.html","./src/app/leads/leads-list/leads-list.component.ts","./src/app/leads/leads-list/leads-list.component.html","./src/app/leads/leads-routing.module.ts","./src/app/leads/leads-task/leads-task.component.ts","./src/app/leads/leads-task/leads-task.component.html","./src/app/leads/leads.module.ts","./src/app/leads/process-leads-message-error/process-leads-message-error.component.ts","./src/app/leads/process-leads-message-error/process-leads-message-error.component.html","./src/app/login/auth.guard.ts","./src/app/login/forget-password/forget-password.component.ts","./src/app/login/forget-password/forget-password.component.html","./src/app/login/login-form/login-form.component.ts","./src/app/login/login-form/login-form.component.html","./src/app/login/login-routing.module.ts","./src/app/login/login.module.ts","./src/app/login/login.service.ts","./src/app/login/page-not-found/page-not-found.component.ts","./src/app/login/page-not-found/page-not-found.component.html","./src/app/login/session-change/login-change.component.ts","./src/app/login/session-change/login-change.component.html","./src/app/mail-marketing/mail-marketing-list/mail-marketing-list.component.ts","./src/app/mail-marketing/mail-marketing-list/mail-marketing-list.component.html","./src/app/mail-marketing/mail-marketing-notification-to-stats/mail-marketing-notification-to-stats.component.ts","./src/app/mail-marketing/mail-marketing-notification-to-stats/mail-marketing-notification-to-stats.component.html","./src/app/mail-marketing/mail-marketing-notification-to-stats/notification-stats.service.ts","./src/app/mail-marketing/mail-marketing-routing.module.ts","./src/app/mail-marketing/mail-marketing-send/mail-marketing-send.component.ts","./src/app/mail-marketing/mail-marketing-send/mail-marketing-send.component.html","./src/app/mail-marketing/mail-marketing-test/mail-marketing-test.component.ts","./src/app/mail-marketing/mail-marketing-test/mail-marketing-test.component.html","./src/app/mail-marketing/mail-marketing.module.ts","./src/app/mailing/mailing-attachments/mailing-attachments.component.ts","./src/app/mailing/mailing-attachments/mailing-attachments.component.html","./src/app/mailing/mailing-detail/mailing-detail.component.ts","./src/app/mailing/mailing-detail/mailing-detail.component.html","./src/app/mailing/mailing-to-detail/mailing-to-detail.component.ts","./src/app/mailing/mailing-to-detail/mailing-to-detail.component.html","./src/app/mailing/mailing.module.ts","./src/app/mailing/users-searcher/users-searcher.component.ts","./src/app/mailing/users-searcher/users-searcher.component.html","./src/app/maps/maps-detail/maps-detail.component.ts","./src/app/maps/maps-detail/maps-detail.component.html","./src/app/maps/maps.module.ts","./src/app/notifications/mail-in-out-list/mail-in-out-list.component.ts","./src/app/notifications/mail-in-out-list/mail-in-out-list.component.html","./src/app/notifications/notifications-in/notifications-in.component.ts","./src/app/notifications/notifications-in/notifications-in.component.html","./src/app/notifications/notifications-list/notifications-list.component.ts","./src/app/notifications/notifications-list/notifications-list.component.html","./src/app/notifications/notifications-routing.module.ts","./src/app/notifications/notifications.module.ts","./src/app/notifications/notifications.service.ts","./src/app/organizations/organizations-detail/opportunities-months-widget/opportunities-months-widget.component.ts","./src/app/organizations/organizations-detail/opportunities-months-widget/opportunities-months-widget.component.html","./src/app/organizations/organizations-detail/opportunities-total-pipeline/opportunities-total-pipeline.component.ts","./src/app/organizations/organizations-detail/opportunities-total-pipeline/opportunities-total-pipeline.component.html","./src/app/organizations/organizations-detail/opportunities-widget/opportunities-widget.component.ts","./src/app/organizations/organizations-detail/opportunities-widget/opportunities-widget.component.html","./src/app/organizations/organizations-detail/organizations-contacts-detail/contacts.service.ts","./src/app/organizations/organizations-detail/organizations-contacts-detail/organizations-contacts-detail.component.ts","./src/app/organizations/organizations-detail/organizations-contacts-detail/organizations-contacts-detail.component.html","./src/app/organizations/organizations-detail/organizations-contacts-view/organizations-contacts-view.component.ts","./src/app/organizations/organizations-detail/organizations-contacts-view/organizations-contacts-view.component.html","./src/app/organizations/organizations-detail/organizations-detail-general/organizations-detail-general.component.ts","./src/app/organizations/organizations-detail/organizations-detail-general/organizations-detail-general.component.html","./src/app/organizations/organizations-detail/organizations-detail.component.ts","./src/app/organizations/organizations-detail/organizations-detail.component.html","./src/app/organizations/organizations-detail/organizations-meetings-detail/meeting-states.service.ts","./src/app/organizations/organizations-detail/organizations-meetings-detail/meetings-users.service.ts","./src/app/organizations/organizations-detail/organizations-meetings-detail/meetings.service.ts","./src/app/organizations/organizations-detail/organizations-meetings-detail/organizations-meetings-detail.component.ts","./src/app/organizations/organizations-detail/organizations-meetings-detail/organizations-meetings-detail.component.html","./src/app/organizations/organizations-detail/organizations-meetings-view/organizations-meetings-view.component.ts","./src/app/organizations/organizations-detail/organizations-meetings-view/organizations-meetings-view.component.html","./src/app/organizations/organizations-detail/sales-total-pipeline/sales-total-pipeline.component.ts","./src/app/organizations/organizations-detail/sales-total-pipeline/sales-total-pipeline.component.html","./src/app/organizations/organizations-detail/tasks-widget/tasks-widget.component.ts","./src/app/organizations/organizations-detail/tasks-widget/tasks-widget.component.html","./src/app/organizations/organizations-list/organizations-list.component.ts","./src/app/organizations/organizations-list/organizations-list.component.html","./src/app/organizations/organizations-quick/organizations-quick/organizations-quick.component.ts","./src/app/organizations/organizations-quick/organizations-quick/organizations-quick.component.html","./src/app/organizations/organizations-routing.module.ts","./src/app/organizations/organizations-types.service.ts","./src/app/organizations/organizations-view/organizations-view.component.ts","./src/app/organizations/organizations-view/organizations-view.component.html","./src/app/organizations/organizations.module.ts","./src/app/organizations/organizations.service.ts","./src/app/preload/preload-routing.module.ts","./src/app/preload/preload.component.ts","./src/app/preload/preload.component.html","./src/app/preload/preload.module.ts","./src/app/products/products-catalogue/products-catalogue.component.ts","./src/app/products/products-catalogue/products-catalogue.component.html","./src/app/products/products-detail/products-detail.component.ts","./src/app/products/products-detail/products-detail.component.html","./src/app/products/products-list/products-list.component.ts","./src/app/products/products-list/products-list.component.html","./src/app/products/products-routing.module.ts","./src/app/products/products.module.ts","./src/app/products/products.service.ts","./src/app/reports/reports-detail/report-campaign/report-campaign.component.ts","./src/app/reports/reports-detail/report-campaign/report-campaign.component.html","./src/app/reports/reports-detail/report-clonator/report-clonator.component.ts","./src/app/reports/reports-detail/report-clonator/report-clonator.component.html","./src/app/reports/reports-detail/report-create-task/report-create-task.component.ts","./src/app/reports/reports-detail/report-create-task/report-create-task.component.html","./src/app/reports/reports-detail/report-mail-marketing/report-mail-marketing.component.ts","./src/app/reports/reports-detail/report-mail-marketing/report-mail-marketing.component.html","./src/app/reports/reports-detail/report-masive-update/report-masive-update.component.ts","./src/app/reports/reports-detail/report-masive-update/report-masive-update.component.html","./src/app/reports/reports-detail/reports-ask-user/reports-ask-user.component.ts","./src/app/reports/reports-detail/reports-ask-user/reports-ask-user.component.html","./src/app/reports/reports-detail/reports-detail.component.ts","./src/app/reports/reports-detail/reports-detail.component.html","./src/app/reports/reports-detail/reports-revalidation-action/reports-revalidation-action.component.ts","./src/app/reports/reports-detail/reports-revalidation-action/reports-revalidation-action.component.html","./src/app/reports/reports-list/reports-list.component.ts","./src/app/reports/reports-list/reports-list.component.html","./src/app/reports/reports-routing.module.ts","./src/app/reports/reports.module.ts","./src/app/reports/reports.service.ts","./src/app/tasks/tasks-action-types.service.ts","./src/app/tasks/tasks-create-contact/tasks-create-contact.component.ts","./src/app/tasks/tasks-create-contact/tasks-create-contact.component.html","./src/app/tasks/tasks-detail/tasks-detail.component.ts","./src/app/tasks/tasks-detail/tasks-detail.component.html","./src/app/tasks/tasks-histories.service.ts","./src/app/tasks/tasks-history-detail/tasks-history-detail.component.ts","./src/app/tasks/tasks-history-detail/tasks-history-detail.component.html","./src/app/tasks/tasks-history-line/tasks-history-line.component.ts","./src/app/tasks/tasks-history-line/tasks-history-line.component.html","./src/app/tasks/tasks-list/tasks-list.component.ts","./src/app/tasks/tasks-list/tasks-list.component.html","./src/app/tasks/tasks-routing.module.ts","./src/app/tasks/tasks-status.service.ts","./src/app/tasks/tasks.module.ts","./src/app/tasks/tasks.service.ts","./src/app/tracking/tracking-routing.module.ts","./src/app/tracking/tracking.component.ts","./src/app/tracking/tracking.component.html","./src/app/tracking/tracking.module.ts","./src/app/tracking/tracking.service.ts","./src/app/transactions/add-transaction-reason/add-transaction-reason.component.ts","./src/app/transactions/add-transaction-reason/add-transaction-reason.component.html","./src/app/transactions/transaction-status-change-confirm/transaction-status-change-confirm.component.ts","./src/app/transactions/transaction-status-change-confirm/transaction-status-change-confirm.component.html","./src/app/transactions/transactions-detail/transactions-detail.component.ts","./src/app/transactions/transactions-detail/transactions-detail.component.html","./src/app/transactions/transactions-detail/transactions-lines/transaction-lines-detail-custom/transaction-lines-detail-custom.component.ts","./src/app/transactions/transactions-detail/transactions-lines/transaction-lines-detail-custom/transaction-lines-detail-custom.component.html","./src/app/transactions/transactions-detail/transactions-lines/transaction-lines-detail/transaction-lines-detail.component.ts","./src/app/transactions/transactions-detail/transactions-lines/transaction-lines-detail/transaction-lines-detail.component.html","./src/app/transactions/transactions-detail/transactions-lines/transactions-lines-routing.module.ts","./src/app/transactions/transactions-detail/transactions-lines/transactions-lines.module.ts","./src/app/transactions/transactions-detail/transactions-lines/transactions-lines.service.ts","./src/app/transactions/transactions-detail/transactios-sage-info-custom/transactios-sage-info-custom.component.ts","./src/app/transactions/transactions-detail/transactios-sage-info-custom/transactios-sage-info-custom.component.html","./src/app/transactions/transactions-list/transactions-list.component.ts","./src/app/transactions/transactions-list/transactions-list.component.html","./src/app/transactions/transactions-routing.module.ts","./src/app/transactions/transactions.module.ts","./src/app/transactions/transactions.service.ts","./src/app/update/update.module.ts","./src/app/update/update.service.ts","./src/app/user-calendar/user-calendar-routing.module.ts","./src/app/user-calendar/user-calendar.component.ts","./src/app/user-calendar/user-calendar.component.html","./src/app/user-calendar/user-calendar.module.ts","./src/app/users/user-change-password/user-change-password.component.ts","./src/app/users/user-change-password/user-change-password.component.html","./src/app/users/user-zones-detail/user-zones-detail.component.ts","./src/app/users/user-zones-detail/user-zones-detail.component.html","./src/app/users/user-zones.service.ts","./src/app/users/users-detail/user-roles/user-roles.component.ts","./src/app/users/users-detail/user-roles/user-roles.component.html","./src/app/users/users-detail/user-roles/user-roles.service.ts","./src/app/users/users-detail/users-detail.component.ts","./src/app/users/users-detail/users-detail.component.html","./src/app/users/users-list/users-list.component.ts","./src/app/users/users-list/users-list.component.html","./src/app/users/users-mail-accounts-detail/user-mail-accounts.service.ts","./src/app/users/users-mail-accounts-detail/users-mail-accounts-detail.component.ts","./src/app/users/users-mail-accounts-detail/users-mail-accounts-detail.component.html","./src/app/users/users-routing.module.ts","./src/app/users/users.module.ts","./src/app/users/users.service.ts","./src/environments/environment.prod.ts","./src/lib/highlight/highlight.directive.ts","./src/lib/highlight/highlight.module.ts","./src/main.ts"],"sourcesContent":["import { animate, animateChild, group, query, sequence, style, transition, trigger } from \"@angular/animations\";\r\n\r\nexport const slideInAnimation =\r\n trigger('routeAnimations', [\r\n transition('* <=> login', [\r\n query(':enter', [\r\n style({ position: 'absolute', transform: 'scale(.97)', opacity: 0 }),\r\n animate('0.2s', style({ opacity: 1, transform: 'scale(1)' })),\r\n ], { optional: true })\r\n ]),\r\n transition('* <=> *', [\r\n query(':enter', [\r\n style({ position: 'absolute', width: '100%', paddingRight:'64px', transform: 'scale(.97)', opacity: 0 }),\r\n animate('0.2s', style({ opacity: 1, transform: 'scale(1)' })),\r\n ], { optional: true })\r\n ])\r\n ]);","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\n\r\nconst routes: Routes = [\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forRoot(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class AppRoutingModule { }\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AppSettingsService {\r\n versionNumber = \"1.0.13\";\r\n versionDate = \"11/06/2021\";\r\n\r\n baseUrl = \"/api/\";\r\n\r\n \r\n constructor(private http: HttpClient) {\r\n\r\n }\r\n\r\n Api(relativeUrl:string){\r\n return this.baseUrl + relativeUrl;\r\n }\r\n\r\n Version():any{\r\n return {\r\n version: this.versionNumber,\r\n date: this.versionDate\r\n };\r\n }\r\n\r\n getTime(): any {\r\n return new Date().toLocaleDateString();\r\n }\r\n\r\n}\r\n","import { Component, NgZone } from '@angular/core';\r\nimport { Router, RouterOutlet } from '@angular/router';\r\nimport { NgEventBus } from 'ng-event-bus';\r\nimport { MetaData } from 'ng-event-bus/lib/meta-data';\r\nimport { PrimeNGConfig } from 'primeng/api';\r\nimport { slideInAnimation } from './animations';\r\nimport { ConfigurationService } from './configuration/configuration.service';\r\nimport { EntitiesService } from './configuration/entities.service';\r\nimport { CustomHistoryService } from './core/customHistory.service';\r\nimport { ViewsService } from './core/view/views.service';\r\nimport { LoginService } from './login/login.service';\r\nimport { OpportunitiesMonthsWidgetComponent } from './organizations/organizations-detail/opportunities-months-widget/opportunities-months-widget.component';\r\nimport { OpportunitiesTotalPipelineComponent } from './organizations/organizations-detail/opportunities-total-pipeline/opportunities-total-pipeline.component';\r\nimport { OpportunitiesWidgetComponent } from './organizations/organizations-detail/opportunities-widget/opportunities-widget.component';\r\nimport { SalesTotalPipelineComponent } from './organizations/organizations-detail/sales-total-pipeline/sales-total-pipeline.component';\r\nimport { TasksWidgetComponent } from './organizations/organizations-detail/tasks-widget/tasks-widget.component';\r\nimport { TasksHistoryLineComponent } from './tasks/tasks-history-line/tasks-history-line.component';\r\nimport { UserRolesComponent } from './users/users-detail/user-roles/user-roles.component';\r\nimport { VersionService } from './core/version.service';\r\nimport { DebugService } from './core/debug.service';\r\nimport { EntityHistoryLineComponent } from './entity-history-line/entity-history-line.component';\r\nimport { TransactionLinesDetailCustomComponent } from './transactions/transactions-detail/transactions-lines/transaction-lines-detail-custom/transaction-lines-detail-custom.component';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { TransactionSAGEInfoCustomComponent } from './transactions/transactions-detail/transactios-sage-info-custom/transactios-sage-info-custom.component';\r\nimport { CampaignsChartComponent } from './campaigns/campaigns-chart/campaigns-chart.component';\r\n\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html',\r\n styleUrls: ['./app.component.scss'],\r\n animations: [\r\n slideInAnimation\r\n ]\r\n})\r\nexport class AppComponent {\r\n public version:any = {};\r\n public name:string = \"\";\r\n public actualComponentName: string = \"\";\r\n public isLogged: boolean = false;\r\n public cssLoaded: boolean = false;\r\n public isOpen: boolean = true;\r\n public showTopbar:boolean = false;\r\n public showSidebar:boolean = false;\r\n\r\n constructor(\r\n private versionService:VersionService,\r\n private primengConfig: PrimeNGConfig,\r\n private loginService:LoginService,\r\n private viewsService: ViewsService,\r\n private configurationService: ConfigurationService,\r\n private eventBus: NgEventBus,\r\n private entitiesService: EntitiesService,\r\n private router: Router,\r\n private customHistoryService: CustomHistoryService,\r\n private ngZone: NgZone, \r\n private debugService: DebugService,\r\n public translateService: TranslateService\r\n ) {\r\n\r\n this.getVersion();\r\n\r\n //registramos los componentes que pueden ser usados como custom en las views\r\n this.viewsService.RegisterCustomComponent(\"TasksWidgetComponent\", TasksWidgetComponent);\r\n this.viewsService.RegisterCustomComponent(\"OpportunitiesWidgetComponent\", OpportunitiesWidgetComponent);\r\n this.viewsService.RegisterCustomComponent(\"CampaignsChartComponent\", CampaignsChartComponent);\r\n this.viewsService.RegisterCustomComponent(\"OpportunitiesMonthsWidgetComponent\", OpportunitiesMonthsWidgetComponent);\r\n this.viewsService.RegisterCustomComponent(\"OpportunitiesTotalPipelineComponent\", OpportunitiesTotalPipelineComponent);\r\n this.viewsService.RegisterCustomComponent(\"SalesTotalPipelineComponent\", SalesTotalPipelineComponent);\r\n this.viewsService.RegisterCustomComponent(\"TasksHistoryLineComponent\", TasksHistoryLineComponent);\r\n this.viewsService.RegisterCustomComponent(\"UserRolesComponent\", UserRolesComponent);\r\n this.viewsService.RegisterCustomComponent(\"EntityHistoryLineComponent\", EntityHistoryLineComponent);\r\n this.viewsService.RegisterCustomComponent(\"TransactionLinesDetailCustomComponent\", TransactionLinesDetailCustomComponent);\r\n this.viewsService.RegisterCustomComponent(\"TransactionSAGEInfoCustomComponent\", TransactionSAGEInfoCustomComponent);\r\n\r\n //cambiaos de estadod elogin\r\n this.loginService.onLoginStateChange.subscribe((state)=>{\r\n this.isLogged = state;\r\n if (this.isLogged) {\r\n //enviamos a preload con la ruta recibida, salvo que vayamos sesion cambiada y vayamos al login\r\n if (location.pathname != \"/login-change\" && location.pathname != \"/login\" && location.pathname != \"/preload\") {\r\n var url = location.pathname + location.search;\r\n this.router.navigateByUrl(\"/preload?returnUrl=\" + encodeURIComponent(url));\r\n }\r\n }\r\n })\r\n this.loginService.checkLogged();\r\n\r\n //escuchamos eventos\r\n this.eventBus.on('sidebar:toogle').subscribe((meta: MetaData) => {\r\n this.isOpen = !this.isOpen;\r\n });\r\n\r\n //cargamos ultimo idioma selecciona o el guardado\r\n let current_lang = localStorage.getItem(\"language\");\r\n if (current_lang == null || current_lang == \"\") {\r\n current_lang = \"es\";\r\n localStorage.setItem(\"language\", current_lang);\r\n }\r\n this.translateService.setDefaultLang(current_lang);\r\n\r\n }\r\n \r\n\r\n getVersion(){\r\n this.versionService.get().subscribe(\r\n data => {\r\n this.version = data;\r\n }\r\n );\r\n }\r\n\r\n prepareRoute(outlet: RouterOutlet) {\r\n let componentName = \"\";\r\n if (outlet && outlet.isActivated) {\r\n let component:any = outlet.activatedRoute.component;\r\n componentName = component.name;\r\n }\r\n this.actualComponentName = componentName;\r\n return componentName;\r\n }\r\n\r\n onActivate(event) {\r\n\r\n //Vamos a guardar las urls por las que el usuario pasa. \r\n if (!this.router.url.includes(\"/preload?\") &&\r\n !this.router.url.includes(\"/page-not-found\") &&\r\n !this.customHistoryService.checkIfExistPrev(this.router.url)) {\r\n this.customHistoryService.add(this.router.url);\r\n }\r\n\r\n //mostra topbar y sidebar si no es login\r\n if(this.router.url != \"/login\" && this.router.url != \"/login-change\"){\r\n this.showTopbar = true;\r\n this.showSidebar = true;\r\n }else{\r\n this.showTopbar = false;\r\n this.showSidebar = false;\r\n }\r\n\r\n let scrollToTop = window.setInterval(() => {\r\n let pos = window.pageYOffset;\r\n if (pos > 0) {\r\n window.scrollTo(0, pos - 20);\r\n } else {\r\n window.clearInterval(scrollToTop);\r\n }\r\n }, 16);\r\n }\r\n\r\n configCssClass(){\r\n var cssClass = \"\";\r\n //cssClass += this.loginService.isLoggedIn()?\"logged-in\":\"logged-out\";\r\n cssClass += location.pathname == \"/\" || location.pathname == \"/login\" || location.pathname == \"/login-change\" || location.pathname == \"/preload\" ?\"logged-out\":\"\";\r\n return cssClass;\r\n }\r\n\r\n ngOnInit() {\r\n //añadimos funciones para llamar desde js (consola)\r\n window['angularComponentReference'] = { \r\n component: this, \r\n zone: this.ngZone, \r\n enableDebug: () => this.debugService.enable(), \r\n disableDebug: () => this.debugService.disable()\r\n }; \r\n\r\n\r\n //TRANSLATIONS:\r\n this.primengConfig.setTranslation({\r\n accept: 'Aceptar',\r\n reject: 'Cancelar',\r\n //translations calendar: \r\n monthNames: [\"Enero\",\"Febrero\",\"Marzo\",\"Abril\",\"Mayo\",\"Junio\",\"Julio\",\"Agosto\",\"Septiembre\",\"Octubre\",\"Noviembre\",\"Diciembre\"],\r\n monthNamesShort: [\"Ene\", \"Feb\", \"Mar\", \"Abr\", \"May\", \"Jun\",\"Jul\", \"Ago\", \"Sep\", \"Oct\", \"Nov\", \"Dic\"],\r\n dayNames: [\"Domingo\", \"Lunes\", \"Martes\", \"Miércoles\", \"Jueves\", \"Viernes\", \"Sábado\"],\r\n dayNamesShort: [\"Dom\", \"Lun\", \"Mar\", \"Mié\", \"Jue\", \"Vie\", \"Sáb\"],\r\n dayNamesMin: [\"Do\",\"Lu\",\"Ma\",\"Mi\",\"Ju\",\"Vi\",\"Sá\"],\r\n today: \"Hoy\",\r\n \r\n });\r\n\r\n \r\n }\r\n\r\n\r\n}\r\n","\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n","import { registerLocaleData } from '@angular/common';\r\nimport localeES from '@angular/common/locales/es';\r\nregisterLocaleData(localeES);\r\n\r\nimport { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule, LOCALE_ID, APP_INITIALIZER } from '@angular/core';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { HttpClientModule, HTTP_INTERCEPTORS, HttpClient } from '@angular/common/http';\r\nimport { DefaultUrlSerializer, RouterModule, UrlSerializer, UrlTree } from '@angular/router';\r\n\r\nimport { AppComponent } from './app.component';\r\n\r\nimport { FaIconLibrary, FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\n\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { CardModule } from 'primeng/card';\r\nimport { PanelModule } from 'primeng/panel';\r\nimport { ToastModule } from 'primeng/toast';\r\n\r\nimport { HomeModule } from './home/home.module';\r\nimport { BrowserAnimationsModule } from '@angular/platform-browser/animations';\r\nimport { LoginModule } from './login/login.module';\r\nimport { AuthGuard } from './login/auth.guard';\r\n\r\nimport { OrganizationsModule } from './organizations/organizations.module';\r\nimport { ConfigurationModule } from './configuration/configuration.module';\r\nimport { CalendarModule } from './calendar/calendar.module';\r\nimport { TasksModule } from './tasks/tasks.module';\r\nimport { OrganizationsTypesModule } from './configuration/organizations-types/organizations-types.module';\r\nimport { CoreModule } from './core/core.module';\r\nimport { UserCalendarModule } from './user-calendar/user-calendar.module';\r\nimport { ProductsModule } from './products/products.module';\r\nimport { TransactionTypesModule } from './configuration/transaction-types/transaction-types.module';\r\nimport { TransactionStatusModule } from './configuration/transaction-status/transaction-status.module';\r\nimport { TemplatesModule } from './configuration/templates/templates.module';\r\nimport { AttachmentsModule } from './attachments/attachments.module';\r\nimport { TransactionsModule } from './transactions/transactions.module';\r\nimport { TransactionsLinesModule } from './transactions/transactions-detail/transactions-lines/transactions-lines.module';\r\nimport { MailAccountsModule } from './configuration/mail-accounts/mail-accounts.module';\r\nimport { TrackingModule } from './tracking/tracking.module';\r\nimport { ViewsModule } from './configuration/views/views.module';\r\nimport { ZonesModule } from './configuration/zones/zones.module';\r\nimport { UsersModule } from './users/users.module';\r\nimport { MailingModule } from './mailing/mailing.module';\r\nimport { ContactsModule } from './contacts/contacts.module';\r\n\r\nimport { DialogService, DynamicDialogModule } from 'primeng/dynamicdialog';\r\nimport { MessageService } from 'primeng/api';\r\nimport { LoginComponent } from './login/login-form/login-form.component';\r\nimport { fas } from '@fortawesome/free-solid-svg-icons';\r\nimport { far } from '@fortawesome/free-regular-svg-icons';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { NgEventBus } from 'ng-event-bus';\r\nimport { ReportsModule } from './reports/reports.module';\r\nimport { AttachmentsTypesModule } from './configuration/attachments-types/attachments-types.module';\r\nimport { FamiliesModule } from './configuration/families/families.module';\r\nimport {CascadeSelectModule} from 'primeng/cascadeselect';\r\nimport {FieldsetModule} from 'primeng/fieldset';\r\nimport { MapsModule } from './maps/maps.module';\r\nimport { ImportModule } from './import/import.module';\r\nimport { IntegrationModule } from './configuration/integration/integration.module';\r\nimport { NotificationsModule } from './notifications/notifications.module';\r\nimport { MailMarketingModule } from './mail-marketing/mail-marketing.module';\r\nimport { UpdateModule } from './update/update.module';\r\nimport { TasksActionsTypesModule } from './configuration/tasks-actions-types/tasks-actions-types.module';\r\nimport { SectorsModule } from './configuration/sectors/sectors.module';\r\nimport { OriginsModule } from './configuration/origins/origins.module';\r\nimport { ProvincesModule } from './configuration/provinces/provinces.module';\r\nimport { EncodeHttpParamsInterceptor } from './core/EncodeHttpParamsInterceptor';\r\nimport { PreloadModule } from './preload/preload.module';\r\nimport { BusinessModule } from './configuration/business/business.module';\r\nimport { BadgeModule } from 'primeng/badge';\r\nimport { EditorModule, TINYMCE_SCRIPT_SRC } from '@tinymce/tinymce-angular';\r\nimport { LeadsModule } from './leads/leads.module';\r\nimport { EntityHistoryLineModule } from './entity-history-line/entity-history-line.module';\r\nimport { NgxWebstorageModule } from 'ngx-webstorage';\r\nimport { TranslateLoader, TranslateModule, TranslateService } from '@ngx-translate/core';\r\nimport { CustomTranslateLoader } from './core/view/component/translate/CustomTranslateLoader';\r\nimport { AppSettingsService } from './app-settings.service';\r\nimport { TaskStatusModule } from './configuration/task-status/task-status.module';\r\nimport { CampaignsModule } from './campaigns/campaigns.module';\r\n\r\n//import { ChartModule } from 'primeng/chart';\r\n\r\nexport default class CustomUrlSerializer implements UrlSerializer {\r\n private _defaultUrlSerializer: DefaultUrlSerializer = new DefaultUrlSerializer();\r\n\r\n parse(url: string): UrlTree {\r\n url = url.replace(/\\+/gi, '%2B');\r\n return this._defaultUrlSerializer.parse(url);\r\n }\r\n\r\n serialize(tree: UrlTree): string {\r\n return this._defaultUrlSerializer.serialize(tree).replace(/\\+/gi, '%2B');\r\n }\r\n}\r\nexport function loadTranslations(translateService: TranslateService) {\r\n //cargamos ultimo idioma selecciona o el guardado\r\n let current_lang = localStorage.getItem(\"language\");\r\n if (current_lang == null || current_lang == \"\") {\r\n current_lang = \"es\";\r\n localStorage.setItem(\"language\", current_lang);\r\n }\r\n translateService.setDefaultLang(current_lang);\r\n return () => translateService.use(current_lang);\r\n}\r\n\r\n\r\n@NgModule({\r\n declarations: [\t\t\r\n AppComponent\r\n ],\r\n imports: [\r\n TranslateModule.forRoot({\r\n loader: {\r\n provide: TranslateLoader,\r\n useClass: CustomTranslateLoader,\r\n deps: [HttpClient, AppSettingsService]\r\n }\r\n }),\r\n\r\n FontAwesomeModule,\r\n BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),\r\n NgxWebstorageModule.forRoot(),\r\n HttpClientModule,\r\n FormsModule,\r\n CoreModule,\r\n LoginModule,\r\n PreloadModule,\r\n HomeModule,\r\n DynamicDialogModule,\r\n ToastModule,\r\n BrowserAnimationsModule,\r\n InputTextModule,\r\n ReactiveFormsModule,\r\n CardModule,\r\n ButtonModule,\r\n PanelModule,\r\n OrganizationsModule,\r\n OrganizationsTypesModule,\r\n TasksActionsTypesModule,\r\n ConfigurationModule,\r\n CalendarModule,\r\n UserCalendarModule,\r\n TasksModule,\r\n ProductsModule,\r\n TransactionTypesModule,\r\n TransactionStatusModule,\r\n TransactionsModule,\r\n TransactionsLinesModule,\r\n MailAccountsModule,\r\n TrackingModule,\r\n ZonesModule,\r\n CampaignsModule,\r\n FamiliesModule,\r\n UsersModule,\r\n TemplatesModule,\r\n ViewsModule,\r\n AttachmentsModule,\r\n MailingModule,\r\n BusinessModule,\r\n AttachmentsTypesModule,\r\n ContactsModule,\r\n ReportsModule,\r\n MailMarketingModule,\r\n SectorsModule,\r\n OriginsModule,\r\n //ChartModule,\r\n EditorModule, \r\n CascadeSelectModule,\r\n FieldsetModule,\r\n UpdateModule,\r\n MapsModule,\r\n ImportModule,\r\n IntegrationModule,\r\n NotificationsModule,\r\n ProvincesModule,\r\n TaskStatusModule,\r\n BadgeModule,\r\n LeadsModule,\r\n EntityHistoryLineModule,\r\n RouterModule.forRoot([\r\n { path: '', component: LoginComponent, pathMatch: 'full', canActivate: [AuthGuard] }\r\n ], {onSameUrlNavigation: 'reload'})\r\n ],\r\n exports: [\r\n TranslateModule\r\n ],\r\n providers: [\r\n { provide: TINYMCE_SCRIPT_SRC, useValue: 'tinymce/tinymce.min.js' },\r\n { provide: LOCALE_ID, useValue: 'es-ES' }, \r\n MessageService,\r\n DialogService,\r\n NgEventBus,\r\n {\r\n provide: HTTP_INTERCEPTORS,\r\n useClass: EncodeHttpParamsInterceptor,\r\n multi: true\r\n },\r\n { provide: APP_INITIALIZER, useFactory: loadTranslations, deps: [TranslateService], multi: true }\r\n ],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule {\r\n constructor(library: FaIconLibrary) {\r\n library.addIconPacks(fas);\r\n library.addIconPacks(far);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AttachmentsDataService {\r\n url = \"/api/attachmentsData\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n \r\n getProfile(params): Observable {\r\n return this.http.get(this.url + \"/getProfile\", {params:params});\r\n }\r\n\r\n getHtml(id): Observable {\r\n return this.http.get(this.url + \"/html/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { AttachmentsTypesService } from 'src/app/configuration/attachments-types/attachments-types.service';\r\nimport { TemplatesTypesService } from 'src/app/configuration/templates/templates-types.service';\r\nimport { TemplatesService } from 'src/app/configuration/templates/templates.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { AttachmentsDataService } from '../attachments-data.service';\r\nimport { AttachmentsService } from '../attachments.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-attachments-detail',\r\n templateUrl: './attachments-detail.component.html',\r\n styleUrls: ['./attachments-detail.component.scss']\r\n})\r\nexport class AttachmentsDetailComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public attachment: any = {};\r\n public attachmentsTypes: any = [];\r\n public templates: any = [];\r\n public template: any = {\r\n name: \"blank\",\r\n html: \"blank\"\r\n };\r\n public selectedTemplateHtml: any;\r\n public html: any;\r\n tinyMceConfig: any;\r\n public showTinyMCE: boolean = false;\r\n public hideTabs: boolean = false;\r\n\r\n constructor(\r\n private attachmentsService: AttachmentsService,\r\n private attachmentDataService: AttachmentsDataService,\r\n private attachmentsTypesService: AttachmentsTypesService,\r\n private messageService: MessageService,\r\n public config: DynamicDialogConfig,\r\n private coreDialogService: CoreDialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private templatesService: TemplatesService,\r\n private templatesTypesService: TemplatesTypesService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.showTinyMCE = true;\r\n this.hideTabs = this.config.data.hideTabs;\r\n this.configureTinyMce();\r\n this.loadAttachmentsTypes();\r\n this.loadTemplates();\r\n this.loadData(this.config.data.id);\r\n this.config.header = (typeof (this.config.data.id) !== \"undefined\" ? this.translateService.instant(\"component.attachments.detail.detail_entity\", { entity_name: this.view?.getEntityBaseName() }) : this.translateService.instant(\"component.attachments.detail.new_entity\", { entity_name: this.view?.getEntityBaseName() }));\r\n\r\n }\r\n configureTinyMce() {\r\n const that = this;\r\n this.tinyMceConfig =\r\n {\r\n promotion: false,\r\n height: 500,\r\n menubar: true,\r\n toolbar: [\r\n 'undo redo | bold italic underline | fontselect fontsizeselect fontsize fontfamily formatselect |' +\r\n 'alignleft aligncenter alignright alignjustify | outdent indent | numlist bullist checklist |' +\r\n 'forecolor casechange permanentpen formatpainter removeformat | fullscreen | insertfile image media pageembed link | table quickbars | variablesButton variablesLinesButton | previewButton'\r\n ],\r\n plugins: 'quickbars',\r\n quickbars_insert_toolbar: \"quicktable\",\r\n toolbar_mode: 'wrap',\r\n language: 'es',\r\n language_url: '/assets/tinymce/langs/es.js',\r\n relative_urls: false,\r\n remove_script_host: false,\r\n document_base_url: 'https://app.axialcrm.com/',\r\n paste_data_images: false,\r\n file_picker_types: 'image',\r\n file_picker_callback: function (cb, value, meta) {\r\n var input = document.createElement('input');\r\n input.setAttribute('type', 'file');\r\n input.setAttribute('accept', 'image/*');\r\n input.onchange = function (e) {\r\n var file = e.target[\"files\"][0];\r\n var reader = new FileReader();\r\n reader.onload = (event: any) => {\r\n var datafile = {\r\n FileName: file.name,\r\n ContentType: file.type,\r\n Length: file.size,\r\n b64: event.target.result\r\n };\r\n that.templatesService.UploadImage(datafile).subscribe(\r\n (data: any) => {\r\n cb(data.location);\r\n },\r\n error => {\r\n that.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n };\r\n reader.readAsDataURL(file);\r\n };\r\n\r\n input.click();\r\n }\r\n };\r\n }\r\n loadData(id) {\r\n\r\n if (id) {\r\n this.attachmentsService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.attachment = data;\r\n if (this.attachment.mimetype == \"application/pdf\" && this.attachment.related_attachment_id) {\r\n //Si abres un PDF y tiene un related_attachment_id, vuelve a abrirse con los datos de su related_attachment_id:\r\n this.loadData(this.attachment.related_attachment_id);\r\n } else if (this.attachment.mimetype == \"text/html\") {\r\n //Si es un HTML, entonces abre el modal con la edición de HTML:\r\n this.html = \"Aquí debería cargar el HTML.\";\r\n this.loadHtmlData();\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.attachment.entity_id = this.config.data.entity_id;\r\n this.attachment.entity_pk_id = this.config.data.entity_pk_id;\r\n if (this.config.data.entity_id != null) this.searchTypeId();\r\n this.html = \"\";\r\n this.showTinyMCE = true;\r\n }\r\n }\r\n\r\n searchTypeId() {\r\n var code = \"\";\r\n if (this.config.data.entity_id == 8) code = \"CATALOGUE_IMAGES\";\r\n this.attachmentsTypesService.all({ code: code, is_generic: false }).subscribe({\r\n next: (data: any) => {\r\n if (data) {\r\n var attachment_type = data.rows[0];\r\n this.attachment.attachment_type_id = attachment_type.id;\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n\r\n save(event: any) {\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n this.attachment.organization_id = this.config.data.organization_id;\r\n if (typeof this.attachment.id === \"undefined\") {\r\n this.attachmentsService.add(this.attachment).subscribe({\r\n next: (data: any) => {\r\n this.dynamicDialogRef.close();\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.attachments.detail.add_attachment_correct\") /*\"Adjunto añadido correctamente.\"*/ });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.attachmentsService.save(this.attachment.id, this.attachment).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.attachments.detail.save_attachment_correct\") /*\"Adjunto guardado correctamente\"*/ });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n onBasicUpload(event) {\r\n if (event.originalEvent.body.off) {\r\n var guidNum = 0;\r\n event.originalEvent.body.files.forEach(file => {\r\n var datafile = {\r\n description: file.fileName,\r\n filename: file.fileName,\r\n mimetype: file.contentType,\r\n size: file.length,\r\n guid: event.originalEvent.body.guids[guidNum],\r\n entity_id: this.config.data.entity_id,\r\n entity_pk_id: this.config.data.entity_pk_id,\r\n organization_id: this.config.data.organization_id,\r\n attachment_type_id: this.attachment.attachment_type_id\r\n };\r\n this.attachmentsService.add(datafile).subscribe(\r\n data => {\r\n this.dynamicDialogRef.close();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n guidNum = guidNum + 1;\r\n });\r\n } else {\r\n this.attachment.description = event.originalEvent.body.filename;\r\n this.attachment.filename = event.originalEvent.body.filename;\r\n this.attachment.mimetype = event.originalEvent.body.mimetype;\r\n this.attachment.size = event.originalEvent.body.size;\r\n this.attachment.guid = event.originalEvent.body.guid;\r\n }\r\n }\r\n\r\n onErrorUpload(event) {\r\n this.messageService.add({ closable: false, severity: 'error', detail: this.translateService.instant('component.attachments.detail.error_updated_file') });\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.attachments.delete_message\", { description: this.attachment.description }),//\"¿Quieres borrar el adjunto \" + this.attachment.filename + \"?\",\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.attachmentsService.delete(this.attachment.id).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n )\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n loadTemplates() {\r\n this.templatesService.all({ entity_id: this.config.data.entity_id }).subscribe(\r\n data => {\r\n this.templates = data.rows;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n loadAttachmentsTypes() {\r\n this.attachmentsTypesService.all({ is_generic: false }).subscribe(\r\n data => {\r\n this.attachmentsTypes = data.rows;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n )\r\n }\r\n\r\n loadHtmlData() {\r\n this.attachmentDataService.getHtml(this.attachment.id).subscribe({\r\n next: (data: any) => {\r\n this.html = data[\"html\"];\r\n this.showTinyMCE = true;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadHtml() {\r\n if (this.selectedTemplateHtml == null) return;\r\n this.templatesService.toHTML(this.selectedTemplateHtml, this.config.data.entity_id, this.config.data.entity_pk_id, this.template).subscribe({\r\n next: (data: any) => {\r\n this.html = data.html;\r\n this.showTinyMCE = true;\r\n this.attachment.description = data.subject;\r\n if (this.attachment.description == null || this.attachment.description.trim() == \"\") this.attachment.description = data.description;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n toPdf(duply) {\r\n //Crea un PDF nuevo. Si ya hay uno vinculado a un html, borra el anterior y asigna el nuevo.\r\n this.attachmentsService.GeneratePDF(this.attachment.id, this.html).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant('component.generic_attachments.detail.pdf_generated_correct') });\r\n //Si es un duplicado, no cerraremos la pantalla de edición:\r\n if (!duply) this.dynamicDialogRef.close(data);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n toDraft(duply) {\r\n if (this.attachment.description == null || this.attachment.description == \"\") {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant('component.attachments.detail.error_empty_description') });\r\n return;\r\n }\r\n this.attachmentsService.htmlUpload({ html: this.html, attachment_guid: this.attachment.guid }).subscribe(\r\n data => {\r\n this.attachment.mimetype = \"text/html\";\r\n this.attachment.size = data[\"size\"];\r\n if (!this.attachment.id || duply) {\r\n //El adjunto es nuevo o un duplicado.\r\n this.attachment.guid = data[\"guid\"];\r\n this.attachment.filename = \"Borrador_HTML.html\";\r\n this.attachment.id = undefined;\r\n this.attachment.organization_id = this.config.data.organization_id;\r\n this.attachmentsService.add(this.attachment).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant('component.attachments.detail.add_attachment_correct') });\r\n this.attachment = data;\r\n this.toPdf(duply);\r\n }\r\n );\r\n }\r\n if (this.attachment.id) {\r\n //Se modifica un adjunto existente.\r\n this.attachmentsService.save(this.attachment.id, this.attachment).subscribe(\r\n data => {\r\n this.toPdf(duply);\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n uuidv4() {\r\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\r\n var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);\r\n return v.toString(16);\r\n });\r\n }\r\n\r\n isDuplied(event) {\r\n delete this.attachment.createdBy;\r\n if (this.attachment.created_at == null) delete this.attachment.created_at;\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n this.attachmentsService.isDuplied(this.attachment).subscribe(\r\n data => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.attachments.detail.duplicate_attachment\"),//\"Ya existe un adjunto con estos datos proporcionados.\",\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save(event);\r\n }\r\n }\r\n );\r\n }\r\n\r\n refreshAll() {\r\n this.view.view?.configuration?.components?.array?.forEach(component => {\r\n this.view.fireEvent(component.code, \"reload\");\r\n });\r\n }\r\n\r\n onEvent(event) {\r\n if (event.event == \"refreshAll\" && event.action.name == \"refreshAll\") this.refreshAll();\r\n if (event.component == \"attachments.edit.general\") {\r\n if (event.event == \"onChange\") { };\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.isDuplied(event);\r\n }\r\n /* No tiene una vista\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n this.config.header = typeof (this.attachment.id) !== \"undefined\" ? \"Detalles del \" + this.view.getEntityBaseName() : \"Nuevo \" + this.view.getEntityBaseName();\r\n }*/\r\n }\r\n}\r\n","\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n\r\n\r\n","import { ViewChild } from '@angular/core';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { AttachmentsDetailComponent } from '../attachments-detail/attachments-detail.component';\r\nimport { AttachmentsService } from '../attachments.service';\r\nimport * as XLSX from 'xlsx';\r\nimport * as FileSaver from 'file-saver';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-attachments-list',\r\n templateUrl: './attachments-list.component.html',\r\n styleUrls: ['./attachments-list.component.scss']\r\n})\r\nexport class AttachmentsListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public attachmentsFilters: any = {\r\n showTemplates : false,\r\n }\r\n public columns: any;\r\n\r\n constructor(\r\n private attachmentsService: AttachmentsService,\r\n private dialogService: DialogService,\r\n private coreDialogService: CoreDialogService,\r\n private messageService: MessageService,\r\n private viewsService: ViewsService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n edit(attachment) {\r\n const ref = this.dialogService.open(AttachmentsDetailComponent, {\r\n data: {\r\n entity_id: attachment ? attachment.entity_id : 12,\r\n entity_pk_id: 0,\r\n id: attachment ? attachment.id : 0\r\n },\r\n // header: attachment?\"Detalles del adjunto\":\"Nuevo adjunto\",\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"attachments.list.results\", \"reload\");\r\n });\r\n }\r\n delete(attachment) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.attachments.delete_message\", { description: attachment.description }), //\"¿Quieres borrar el adjunto \" + attachment.filename + \"?\",\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.attachmentsService.delete(attachment.id).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"attachments.list.results\", \"reload\");\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n )\r\n },\r\n reject: () => { }\r\n })\r\n }\r\n downloadFile(attachment) {\r\n this.attachmentsService.download(attachment.guid);\r\n }\r\n search() {\r\n this.view.fireEvent(\"attachments.list.results\", \"reload\");\r\n }\r\n\r\n exportExcel() {\r\n var aux = [];\r\n //For que recorre cada row y column y devuelve un objeto que será exportado a excel: \r\n this.attachmentsFilters.forEach(row => {\r\n var obj = {};\r\n this.columns.forEach(label => {\r\n obj[label.description] = row[label.model_property];\r\n });\r\n aux.push(obj);\r\n });\r\n //Promise.resolve(null).then(() => this.loading = false);\r\n const worksheet = XLSX.utils.json_to_sheet(aux);\r\n const workbook = { Sheets: { 'data': worksheet }, SheetNames: ['data'] };\r\n const excelBuffer: any = XLSX.write(workbook, { bookType: 'xlsx', type: 'array' });\r\n this.saveAsExcelFile(excelBuffer, \"data\");\r\n }\r\n\r\n saveAsExcelFile(buffer: any, fileName: string): void {\r\n let EXCEL_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8';\r\n let EXCEL_EXTENSION = '.xlsx';\r\n const data: Blob = new Blob([buffer], {\r\n type: EXCEL_TYPE\r\n });\r\n FileSaver.saveAs(data, fileName + '_export_' + new Date().getTime() + EXCEL_EXTENSION);\r\n }\r\n\r\n onEvent(event: any) {\r\n \r\n if (event.component == \"attachments.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") this.search();\r\n if (event.event == \"action\" && event.action.name == \"show_templates\") { this.attachmentsFilters.showTemplates = true; this.search(); }\r\n if (event.event == \"action\" && event.action.name == \"hide_templates\") { this.attachmentsFilters.showTemplates = false; this.search(); }\r\n } else if (event.component == \"attachments.list.results\") {\r\n if (event.event == \"dblclick\") this.edit(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.edit(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.edit(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete(event.data);\r\n if (event.event == \"action\" && event.action.name == \"download\") this.downloadFile(event.data);\r\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"attachments.list.results\", \"reload\", event.data);\r\n }\r\n }\r\n}\r\n","
{{view.getEntityBaseName(true)}}
\r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { AttachmentsListComponent } from './attachments-list/attachments-list.component';\r\nimport { GenericAttachmentsListComponent } from './generic-attachments-list/generic-attachments-list.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"attachments\", component: AttachmentsListComponent},\r\n { path: \"genericAttachments\", component: GenericAttachmentsListComponent},\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class AttachmentsRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { AttachmentsRoutingModule } from './attachments-routing.module';\r\nimport { AttachmentsListComponent } from './attachments-list/attachments-list.component';\r\nimport { AttachmentsDetailComponent } from './attachments-detail/attachments-detail.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { InputTextareaModule } from 'primeng/inputtextarea';\r\nimport { SplitButtonModule } from 'primeng/splitbutton';\r\nimport { TableModule } from 'primeng/table';\r\nimport { TimelineModule } from 'primeng/timeline';\r\nimport { CoreModule } from '../core/core.module';\r\nimport { FileUploadModule } from 'primeng/fileupload';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { TabViewModule } from 'primeng/tabview';\r\nimport { EditorModule } from '@tinymce/tinymce-angular';\r\nimport { GenericAttachmentsDetailComponent } from './generic-attachments-detail/generic-attachments-detail.component';\r\nimport { GenericAttachmentsListComponent } from './generic-attachments-list/generic-attachments-list.component';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\nimport { SidebarModule } from 'primeng/sidebar';\r\n\r\n\r\n@NgModule({\r\n declarations: [AttachmentsListComponent, AttachmentsDetailComponent, GenericAttachmentsDetailComponent, GenericAttachmentsListComponent],\r\n imports: [\r\n CommonModule,\r\n AttachmentsRoutingModule,\r\n InputTextModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n InputTextareaModule,\r\n DropdownModule,\r\n CalendarModule,\r\n SplitButtonModule,\r\n TimelineModule,\r\n FileUploadModule,\r\n HttpClientModule,\r\n TabViewModule,\r\n EditorModule,\r\n TranslateModule,\r\n SidebarModule\r\n ],\r\n exports:[AttachmentsListComponent, AttachmentsDetailComponent]\r\n})\r\nexport class AttachmentsModule { }\r\n","import { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AttachmentsService {\r\n\r\n url = \"/api/attachments\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n download(guid: string) {\r\n var url = \"/api/PublicAttachments/\" + localStorage.getItem(\"companyId\") + \"/\" + guid + \"/download\";\r\n window.open(url);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n addGeneric(obj): Observable {\r\n return this.http.post(this.url+\"/generic\", obj);\r\n }\r\n\r\n htmlUpload(obj): Observable {\r\n return this.http.post(this.url + \"/htmlUpload\", obj);\r\n }\r\n upload(obj): Observable {\r\n return this.http.post(this.url + \"/upload\", obj);\r\n }\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n GeneratePDF(attachment_id, data): Observable {\r\n return this.http.post(this.url + \"/\" + attachment_id + \"/GeneratePDF\", { html: data });\r\n }\r\n isDuplied(obj): Observable {\r\n return this.http.post(this.url + \"/isDuplied\", obj);\r\n }\r\n customupload(obj): Observable {\r\n return this.http.post(this.url + \"/customUpload2\", obj);\r\n\r\n }\r\n deleteByGuid(guid): Observable {\r\n return this.http.get(this.url + \"/delete\" + guid);\r\n }\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { NgForm } from '@angular/forms';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { AttachmentsTypesService } from 'src/app/configuration/attachments-types/attachments-types.service';\r\nimport { TemplatesTypesService } from 'src/app/configuration/templates/templates-types.service';\r\nimport { TemplatesService } from 'src/app/configuration/templates/templates.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { CoreFormService } from 'src/app/core/forms/core-forms.service';\r\nimport { AttachmentsDataService } from '../attachments-data.service';\r\nimport { AttachmentsService } from '../attachments.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-generic-attachments-detail',\r\n templateUrl: './generic-attachments-detail.component.html',\r\n styleUrls: ['./generic-attachments-detail.component.scss']\r\n})\r\nexport class GenericAttachmentsDetailComponent implements OnInit {\r\n @ViewChild(\"formDetails\") public formDetails: NgForm;\r\n public attachment: any = {};\r\n public attachmentsTypes: any = [];\r\n public templates: any = [];\r\n public template: any = {\r\n name: \"blank\",\r\n html: \"blank\"\r\n };\r\n public selectedTemplateHtml: any;\r\n public html: any;\r\n tinyMceConfig: any;\r\n public showTinyMCE: boolean = false;\r\n public hideTabs: boolean = false;\r\n\r\n constructor(\r\n private attachmentsService: AttachmentsService,\r\n private attachmentDataService: AttachmentsDataService,\r\n private attachmentsTypesService: AttachmentsTypesService,\r\n private messageService: MessageService,\r\n public config: DynamicDialogConfig,\r\n private coreDialogService: CoreDialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private templatesService: TemplatesService,\r\n private templatesTypesService: TemplatesTypesService,\r\n private coreFormService: CoreFormService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.hideTabs = this.config.data.hideTabs;\r\n this.configureTinyMce();\r\n this.loadAttachmentsTypes();\r\n this.loadTemplates();\r\n this.loadData(this.config.data.id);\r\n this.config.header = (typeof (this.config.data.id) !== \"undefined\" && this.config.data.id != 0 ? this.translateService.instant(\"component.generic_attachments.detail.detail_entity\") : this.translateService.instant(\"component.generic_attachments.detail.new_entity\"));\r\n }\r\n\r\n configureTinyMce() {\r\n this.showTinyMCE = true;\r\n const that = this;\r\n this.tinyMceConfig =\r\n {\r\n promotion: false,\r\n height: 500,\r\n menubar: true,\r\n /*plugins: [\r\n 'advlist autolink lists link image charmap print preview anchor',\r\n 'searchreplace visualblocks code fullscreen',\r\n 'insertdatetime media table paste code help wordcount',\r\n 'preview paste importcss searchreplace autolink directionality code visualblocks visualchars fullscreen image link media template codesample table charmap hr nonbreaking anchor toc insertdatetime advlist lists wordcount imagetools textpattern noneditable help quickbars'\r\n ],*/\r\n toolbar: [\r\n 'undo redo | bold italic underline | fontselect fontsizeselect fontsize fontfamily formatselect |' +\r\n 'alignleft aligncenter alignright alignjustify | outdent indent | numlist bullist checklist |' +\r\n 'forecolor casechange permanentpen formatpainter removeformat | fullscreen | insertfile image media pageembed link | table quickbars | variablesButton variablesLinesButton | previewButton'\r\n ],\r\n plugins: 'quickbars',\r\n quickbars_insert_toolbar: \"quicktable\",\r\n toolbar_mode: 'wrap',\r\n language: 'es',\r\n language_url: '/assets/tinymce/langs/es.js',\r\n relative_urls: false,\r\n remove_script_host: false,\r\n document_base_url: 'https://app.axialcrm.com/',\r\n paste_data_images: false,\r\n file_picker_types: 'image',\r\n file_picker_callback: function (cb, value, meta) {\r\n var input = document.createElement('input');\r\n input.setAttribute('type', 'file');\r\n input.setAttribute('accept', 'image/*');\r\n input.onchange = function (e) {\r\n var file = e.target[\"files\"][0];\r\n var reader = new FileReader();\r\n reader.onload = (event: any) => {\r\n var datafile = {\r\n FileName: file.name,\r\n ContentType: file.type,\r\n Length: file.size,\r\n b64: event.target.result\r\n };\r\n that.templatesService.UploadImage(datafile).subscribe(\r\n (data: any) => {\r\n cb(data.location);\r\n },\r\n error => {\r\n that.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n };\r\n reader.readAsDataURL(file);\r\n };\r\n\r\n input.click();\r\n }\r\n };\r\n }\r\n\r\n loadTemplates() {\r\n this.templatesService.all({ entity_id: this.config.data.entity_id }).subscribe(\r\n data => {\r\n this.templates = data.rows;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n loadAttachmentsTypes() {\r\n this.attachmentsTypesService.all({ is_generic: true }).subscribe(\r\n data => {\r\n this.attachmentsTypes = data.rows;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n )\r\n }\r\n loadData(id) {\r\n if (id) {\r\n this.attachmentsService.get(id).subscribe(\r\n data => {\r\n this.attachment = data;\r\n if (this.attachment.mimetype == \"application/pdf\" && this.attachment.related_attachment_id) {\r\n //Si abres un PDF y tiene un related_attachment_id, vuelve a abrirse con los datos de su related_attachment_id:\r\n this.loadData(this.attachment.related_attachment_id);\r\n } else if (this.attachment.mimetype == \"text/html\") {\r\n //Si es un HTML, entonces abre el modal con la edición de HTML:\r\n this.html = \"Aquí debería cargar el HTML.\";\r\n this.loadHtmlData();\r\n }\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n } else {\r\n this.attachment.entity_id = this.config.data.entity_id;\r\n this.attachment.entity_pk_id = this.config.data.entity_pk_id;\r\n if (this.config.data.entity_id != null) this.searchTypeId();\r\n }\r\n }\r\n\r\n searchTypeId() {\r\n var code = \"\";\r\n //¿También deberíamos comparar el entity por code en lugar de id?\r\n if (this.config.data.entity_id == 8) code = \"CATALOGUE_IMAGES\";\r\n this.attachmentsTypesService.all({ code: code }).subscribe({\r\n next: (data: any) => {\r\n if (data.length > 0) {\r\n var attachment_type = data.rows[0];\r\n this.attachment.attachment_type_id = attachment_type.id;\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadHtmlData() {\r\n this.attachmentDataService.getHtml(this.attachment.id).subscribe(\r\n data => {\r\n this.html = data[\"html\"];\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n loadHtml() {\r\n if (this.selectedTemplateHtml == null) return;\r\n this.templatesService.toHTML(this.selectedTemplateHtml, this.config.data.entity_id, this.config.data.entity_pk_id, this.template).subscribe(\r\n data => {\r\n this.html = data.html;\r\n if (this.attachment.description == null || this.attachment.description.trim() == \"\") this.attachment.description = data.subject;\r\n });\r\n }\r\n onBasicUpload(event) {\r\n if (event.originalEvent.body.off) {\r\n var guidNum = 0;\r\n event.originalEvent.body.files.forEach(file => {\r\n var datafile = {\r\n description: file.fileName,\r\n filename: file.fileName,\r\n mimetype: file.contentType,\r\n size: file.length,\r\n guid: event.originalEvent.body.guids[guidNum],\r\n entity_id: this.config.data.entity_id,\r\n entity_pk_id: this.config.data.entity_pk_id,\r\n organization_id: this.config.data.organization_id,\r\n attachment_type_id: this.attachment.attachment_type_id\r\n };\r\n this.attachmentsService.add(datafile).subscribe(\r\n data => {\r\n this.dynamicDialogRef.close();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n guidNum = guidNum + 1;\r\n });\r\n } else {\r\n this.attachment.description = event.originalEvent.body.filename;\r\n this.attachment.filename = event.originalEvent.body.filename;\r\n this.attachment.mimetype = event.originalEvent.body.mimetype;\r\n //if(event.originalEvent.body.mimetype == \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\") this.attachment.mimetype = \"application/xlsx\";\r\n //if(event.originalEvent.body.mimetype == \"application/vnd.ms-excel\") this.attachment.mimetype = \"application/xls\";\r\n //if(event.originalEvent.body.mimetype == \"application/vnd.openxmlformats-officedocument.presentationml.presentation\") this.attachment.mimetype = \"application/pptx\"\r\n this.attachment.size = event.originalEvent.body.size;\r\n this.attachment.guid = event.originalEvent.body.guid;\r\n }\r\n }\r\n\r\n onErrorUpload(event) {\r\n this.messageService.add({ closable: false, severity: 'error', detail: this.translateService.instant(\"component.generic_attachments.detail.error_updated_file\") });\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.generic_attachments.delete_message\", { filename: this.attachment.filename }), //\"¿Quieres borrar el adjunto \" + this.attachment.filename + \"?\",\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.attachmentsService.delete(this.attachment.id).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n )\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n isDuplied() {\r\n if (this.attachment.description == null || this.attachment.description == \"\") {//this.coreFormService.validate(this.formDetails)) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n this.attachmentsService.isDuplied(this.attachment).subscribe(\r\n data => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.generic_attachments.detail.generic_attachment_duplicate\"),\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save();\r\n }\r\n }\r\n );\r\n }\r\n save() {\r\n this.attachment.organization_id = this.config.data.organization_id;\r\n delete this.attachment.attachmentType;\r\n if (typeof this.attachment.id === \"undefined\") {\r\n this.attachmentsService.addGeneric(this.attachment).subscribe(\r\n data => {\r\n this.dynamicDialogRef.close();\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.generic_attachments.detail.add_generic_attachment_correct\") });\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n )\r\n } else {\r\n this.attachmentsService.save(this.attachment.id, this.attachment).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.generic_attachments.detail.save_generic_attachment_correct\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n )\r\n }\r\n }\r\n}\r\n","\r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { Table } from 'primeng/table';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { AttachmentsTypesService } from '../../configuration/attachments-types/attachments-types.service';\r\nimport { AttachmentsService } from '../attachments.service';\r\nimport { GenericAttachmentsDetailComponent } from '../generic-attachments-detail/generic-attachments-detail.component';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { SessionStorageService } from 'ngx-webstorage';\r\n\r\n@Component({\r\n selector: 'app-generic-attachments-list',\r\n templateUrl: './generic-attachments-list.component.html',\r\n styleUrls: ['./generic-attachments-list.component.scss']\r\n})\r\nexport class GenericAttachmentsListComponent implements OnInit {\r\n @ViewChild(\"grid\") public grid: Table;\r\n public genericAttachmentsFilters: any = {};\r\n public genericAttachments: any[];\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n private lastGridEvent: any;\r\n public editAttachmentPermission: boolean = false;\r\n public createAttachmentPermission: boolean = false;\r\n public deleteAttachmentPermission: boolean = false;\r\n public attachmentsTypes: any = [];\r\n\r\n public first;\r\n public last;\r\n\r\n public fieldQuicks: any[] = [];\r\n public componentFilter: any;\r\n public hasFilterValue: boolean = false;\r\n public has_filter_panel: boolean = true;\r\n public show_filter_panel: boolean = false;\r\n public show_filter_panel_mobile: boolean = false;\r\n\r\n constructor(private attachmentsService: AttachmentsService,\r\n private router: Router,\r\n private coreDialogService: CoreDialogService,\r\n private messageService: MessageService,\r\n private dialogService: DialogService,\r\n private loginService: LoginService,\r\n private attachmentsTypesService: AttachmentsTypesService,\r\n private translateService: TranslateService,\r\n private sessionStorage: SessionStorageService\r\n ) {\r\n this.editAttachmentPermission = loginService.hasPermission(\"GENERIC_ATTACHMENTS_EDIT\");\r\n this.createAttachmentPermission = loginService.hasPermission(\"GENERIC_ATTACHMENTS_CREATE\");\r\n this.deleteAttachmentPermission = loginService.hasPermission(\"GENERIC_ATTACHMENTS_DELETE\");\r\n this.createQuickFilters();\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadAttachmentsTypes();\r\n }\r\n loadAttachmentsTypes() {\r\n this.attachmentsTypesService.all({ is_generic: true }).subscribe({\r\n next: (data: any) => {\r\n this.attachmentsTypes = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n clearFilters() {\r\n this.genericAttachmentsFilters = {};\r\n this.sessionStorage.clear(\"genericAttachments.genericAttachments\");\r\n this.hasFilterValue = false;\r\n this.search();\r\n }\r\n search() {\r\n this.lastGridEvent.first = 0;\r\n this.loadData(this.lastGridEvent);\r\n }\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first / $event.rows,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\",\r\n is_generic: true\r\n };\r\n if (this.genericAttachmentsFilters.attachment_type_id == null) delete this.genericAttachmentsFilters['attachment_type_id'];\r\n params = Object.assign(params, this.genericAttachmentsFilters);\r\n this.attachmentsService.all(params).subscribe({\r\n next:( data:any) => {\r\n this.totalRecords = data.totalRows;\r\n this.genericAttachments = data.rows;\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error:any) => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n\r\n editAttachment(attachment) {\r\n const ref = this.dialogService.open(GenericAttachmentsDetailComponent, {\r\n data: {\r\n entity_id: attachment.entity_id ? attachment.entity_id : 12,\r\n entity_pk_id: 0,\r\n id: attachment.id ? attachment.id : 0\r\n },\r\n // header: attachment?\"Detalles del adjunto\":\"Nuevo adjunto\",\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.loadData(this.lastGridEvent);\r\n });\r\n }\r\n\r\n deleteAttachment(attachment) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.generic_attachments.delete_message\", { description: attachment.description }), //'¿Quieres borrar el documento ' + attachment.filename + '?',\r\n accept: () => {\r\n this.attachmentsService.delete(attachment.id).subscribe({\r\n next: (data: any) => {\r\n this.loadData(this.lastGridEvent);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n }\r\n );\r\n }\r\n\r\n downloadAttachment(attachment) {\r\n this.attachmentsService.download(attachment.guid);\r\n }\r\n\r\n\r\n createQuickFilters() {\r\n\r\n //Los buscamos en la sesión\r\n var sessionInfo = this.sessionStorage.retrieve(\"genericAttachments.genericAttachments\");\r\n var selectedFields = [];\r\n\r\n if (sessionInfo != null) {\r\n this.hasFilterValue = true;\r\n this.genericAttachmentsFilters.attachment_type_id = (sessionInfo.filters.find(m => m.attachment_type_id) != undefined ? sessionInfo.filters.find(m => m.attachment_type_id).attachment_type_id : null);\r\n this.genericAttachmentsFilters.filename = (sessionInfo.filters.find(m => m.filename) != undefined ? sessionInfo.filters.find(m => m.filename).filename : null);\r\n this.genericAttachmentsFilters.description = (sessionInfo.filters.find(m => m.description) != undefined ? sessionInfo.filters.find(m => m.description).description : null);\r\n }\r\n }\r\n\r\n toggleFilter() {\r\n this.show_filter_panel = !this.show_filter_panel;\r\n }\r\n toggleFilterMobile() {\r\n this.show_filter_panel_mobile = !this.show_filter_panel_mobile;\r\n }\r\n\r\n loadFilterAndSearch() {\r\n this.sessionStorage.clear(\"genericAttachments.genericAttachments\");\r\n if (this.genericAttachmentsFilters.attachment_type_id != null || (this.genericAttachmentsFilters.filename != null && this.genericAttachmentsFilters.filename != \"\") || (this.genericAttachmentsFilters.description != null && this.genericAttachmentsFilters.description != \"\")) {\r\n this.hasFilterValue = true;\r\n var sessionInfo = { filters: [] };\r\n \r\n if (this.genericAttachmentsFilters.attachment_type_id != null) {\r\n sessionInfo.filters.push({ attachment_type_id: this.genericAttachmentsFilters.attachment_type_id });\r\n }\r\n if (this.genericAttachmentsFilters.filename != null && this.genericAttachmentsFilters.filename != \"\") sessionInfo.filters.push({ filename: this.genericAttachmentsFilters.filename });\r\n if (this.genericAttachmentsFilters.description != null && this.genericAttachmentsFilters.description != \"\") sessionInfo.filters.push({ description: this.genericAttachmentsFilters.description });\r\n this.sessionStorage.store(\"genericAttachments.genericAttachments\", sessionInfo);\r\n } else {\r\n this.hasFilterValue = false;\r\n }\r\n this.search();\r\n }\r\n\r\n}\r\n","
{{'generic_attachment.entity.name_plural' | translate}}
\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n {{'generic_attachment.id' | translate}}\r\n {{'generic_attachment.entity_fields.attachment_type' | translate}}\r\n {{'generic_attachment.entity_fields.filename' | translate}}\r\n {{'generic_attachment.entity_fields.size' | translate}}\r\n {{'generic_attachment.entity_fields.created_at' | translate}}\r\n {{'generic_attachment.entity_fields.created_by' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n {{attachment.id}}\r\n {{attachment.attachmentType?.name}}\r\n {{attachment.filename}}\r\n {{(attachment.size/1000).toFixed(0)}} KB\r\n {{attachment.created_at | date: 'dd/MM/yyyy HH:mm'}}\r\n {{attachment.createdBy?.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n
\r\n \r\n {{'general.filter.title' | translate}}\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { CalendarComponent } from './calendar.component';\r\nimport { OrganizationsMeetingsDetailComponent } from '../organizations/organizations-detail/organizations-meetings-detail/organizations-meetings-detail.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"calendar/:id\", component: CalendarComponent },\r\n { path: \"calendar\", component: CalendarComponent },\r\n { path: \"meetings/:id\", component: OrganizationsMeetingsDetailComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class CalendarRoutingModule { }\r\n","import { Component, Input, OnInit, Optional, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { MeetingsService } from '../organizations/organizations-detail/organizations-meetings-detail/meetings.service';\r\nimport timeGridPlugin from '@fullcalendar/timegrid';\r\nimport interactionPlugin from '@fullcalendar/interaction';\r\nimport dayGridPlugin from '@fullcalendar/daygrid';\r\n\r\nimport { OrganizationsService } from '../organizations/organizations.service';\r\nimport { OrganizationsMeetingsDetailComponent } from '../organizations/organizations-detail/organizations-meetings-detail/organizations-meetings-detail.component';\r\nimport { DialogService, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { ActivatedRoute, NavigationExtras, Router } from '@angular/router';\r\nimport esLocale from '@fullcalendar/core/locales/es';\r\nimport { UsersService } from '../users/users.service';\r\nimport { LoginService } from '../login/login.service';\r\nimport { MeetingStatesService } from '../organizations/organizations-detail/organizations-meetings-detail/meeting-states.service';\r\nimport { ViewComponent } from '../core/view/view.component';\r\nimport { Tooltip, TooltipModule } from 'primeng/tooltip';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { SessionStorageService } from 'ngx-webstorage';\r\n@Component({\r\n selector: 'app-calendar',\r\n templateUrl: './calendar.component.html',\r\n styleUrls: ['./calendar.component.scss']\r\n})\r\nexport class CalendarComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n @Input() public canOpenMeeting: any = true;\r\n\r\n public fieldQuicks: any[] = [];\r\n public componentFilter: any;\r\n public hasFilterValue: boolean = false;\r\n public has_filter_panel: boolean = true;\r\n public show_filter_panel: boolean = false;\r\n public show_filter_panel_mobile: boolean = false;\r\n\r\n //Parámetros de pre-filtrado:\r\n public route_organization_id;\r\n public organization;\r\n\r\n private calendarViewToolbar: string = \"\";\r\n public writeMeeting: boolean = true;\r\n public userId = null;\r\n public isSuperAdmin = \"false\";\r\n public selectedOrganization: any;\r\n public selectedOrganizationId: number = null;\r\n public selectedStateId: number = null;\r\n public subject: any;\r\n public organizations: any[];\r\n public states: any[];\r\n public selectedUsers: any[];\r\n public names: any[];\r\n public users: any[];\r\n public user: any;\r\n public connectedUserPermission: any;\r\n public tooltip_info = {\r\n show: false,\r\n description: \"\",\r\n showType: \"\",\r\n date_from: \"\",\r\n date_to: \"\",\r\n responsible: \"\",\r\n organization: \"\",\r\n duration: \"\",\r\n state: \"\",\r\n allDay: false,\r\n participants: [],\r\n backgroundColor: '#ceede6',\r\n textColor: \"black\",\r\n };\r\n public xPos = \"0px\";\r\n public yPos = \"0px\";\r\n\r\n public events: any[] = [];\r\n public from_date: Date = null;\r\n public to_date: Date = null;\r\n public options: any = {\r\n locale: esLocale,\r\n navLinks: true,\r\n plugins: [dayGridPlugin, timeGridPlugin, interactionPlugin],\r\n defaultDate: new Date(),\r\n scrollTime: '06:00:00',\r\n scrollTimeReset: true,\r\n contentHeight: 650,\r\n headerToolbar: {\r\n left: 'prev,next',\r\n center: 'title',\r\n right: 'dayGridMonth,timeGridWeek,timeGridDay'\r\n },\r\n eventClick: (e) => {\r\n //Se activa cuando haces clic en un evento.\r\n //Recoge valores:\r\n var event_id = e.event._def.extendedProps.event_id;\r\n var type = e.event._def.extendedProps.type;\r\n\r\n //Abre un popup u otro dependiendo del tipo de entidad:\r\n if (type == 'meeting') this.meetingService.get(event_id).subscribe(\r\n data => {\r\n var meeting;\r\n meeting = data;\r\n this.viewMeeting(meeting, null);\r\n }\r\n )\r\n },\r\n dateClick: (e) => {\r\n //Se activa cuando haces clic en una fecha.\r\n this.viewMeeting(null, e.date);\r\n },\r\n datesSet: (e) => {\r\n this.calendarViewToolbar = e.view.type;\r\n this.handleDatesRender(e);\r\n },\r\n eventDragStart: (e) => {\r\n this.tooltip_info.show = false;\r\n },\r\n eventMouseEnter: (e) => {\r\n //let container = e.el.parentElement;\r\n let container = document.getElementById(\"calendarEvents\");\r\n var rect = container.getBoundingClientRect();\r\n container.addEventListener(\"mousemove\", (e2) => {\r\n this.xPos = (e2.clientX + 46 - rect.x) + \"px\";\r\n this.yPos = (e2.clientY + 32 - rect.y) + \"px\";\r\n });\r\n this.tooltip_info.description = e.event._def.extendedProps.subject;\r\n this.tooltip_info.show = true;\r\n this.tooltip_info.showType = e.event._def.extendedProps.showType;\r\n this.tooltip_info.date_from = (e.event._def.allDay != true ? e.event._def.extendedProps.date_from : \"\");\r\n this.tooltip_info.date_to = e.event._def.extendedProps.date_to;\r\n this.tooltip_info.responsible = e.event._def.extendedProps.responsible;\r\n this.tooltip_info.organization = e.event._def.extendedProps.organization;\r\n this.tooltip_info.duration = (e.event._def.allDay == true ? this.translateService.instant(\"component.calendar.all_day\") : this.getTimeOfEvent(e.event._def.extendedProps.minutes));\r\n this.tooltip_info.participants = e.event._def.extendedProps.participants;\r\n this.tooltip_info.state = e.event._def.extendedProps.state;\r\n this.tooltip_info.allDay = e.event._def.allDay;\r\n this.tooltip_info.backgroundColor = e.event.backgroundColor;\r\n this.tooltip_info.textColor = this.lightOrDark(e.event.backgroundColor) == \"dark\" ? \"white\" : \"black\";\r\n\r\n },\r\n eventMouseLeave: (e) => {\r\n this.tooltip_info.show = false;\r\n },\r\n eventResize: (e) => {\r\n this.modifyEvent(e.event._def.extendedProps, e.endDelta, \"resize\");\r\n },\r\n eventDrop: (e) => {\r\n this.modifyEvent(e.event._def.extendedProps, e.delta, \"drop\");\r\n },\r\n slotLabelFormat: {\r\n hour: '2-digit',\r\n minute: '2-digit',\r\n meridiem: false\r\n },\r\n eventTimeFormat: {\r\n hour: '2-digit',\r\n minute: '2-digit',\r\n meridiem: false\r\n },\r\n eventDidMount: function (info) {\r\n }\r\n };\r\n public inModal: boolean = false;\r\n\r\n constructor(\r\n\r\n @Optional() private dialogRef: DynamicDialogRef,\r\n public meetingService: MeetingsService,\r\n public messageService: MessageService,\r\n public organizationService: OrganizationsService,\r\n public dialogService: DialogService,\r\n public route: ActivatedRoute,\r\n public routerLink: Router,\r\n private usersService: UsersService,\r\n public loginService: LoginService,\r\n public meetingStatesService: MeetingStatesService,\r\n private translateService: TranslateService,\r\n public sessionStorage: SessionStorageService\r\n ) {\r\n this.writeMeeting = this.loginService.hasPermission(\"MEETINGS_WRITE\");\r\n this.userId = localStorage.getItem(\"userId\");\r\n this.isSuperAdmin = localStorage.getItem(\"isSuperAdmin\");\r\n if (this.route.snapshot.paramMap.has('id')) this.selectedOrganizationId = parseInt(this.route.snapshot.paramMap.get('id'));\r\n\r\n this.createQuickFilters();\r\n }\r\n\r\n\r\n ngOnInit(): void {\r\n const params = this.route.snapshot.queryParams;\r\n const organizationId = params.organizationId != null ? parseInt(params.organizationId) : null;\r\n if (organizationId) {\r\n this.route_organization_id = organizationId;\r\n this.selectedOrganizationId = this.route_organization_id;\r\n this.loadOrganization();\r\n }\r\n this.loadUser();\r\n this.loadOrganizations(null);\r\n this.loadStates(null);\r\n if (this.dialogRef == null) {\r\n this.inModal = true;\r\n }\r\n }\r\n\r\n loadUser() {\r\n this.usersService.get(this.loginService.get(\"userId\")).subscribe({\r\n next: (data: any) => {\r\n this.user = data;\r\n this.selectedUsers = this.user.metadata?.calendarConfig?.selectedUsers;\r\n if (this.selectedUsers == null || this.selectedUsers.length == 0) this.selectedUsers = [parseInt(localStorage.getItem(\"userId\"))];\r\n this.loadUsers();\r\n this.loadMeeting();\r\n },\r\n error: (error: any) => this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title })\r\n });\r\n }\r\n\r\n loadMeeting() {\r\n\r\n let parameters = {\r\n check_invited_users: true, //busca tambien en invitados\r\n from_date: this.from_date.toISOString(),\r\n to_date: this.to_date.toISOString()\r\n };\r\n\r\n // Lo eliminamos, lo sacamos de la sesión\r\n /*if (this.selectedOrganizationId != null) Object.assign(parameters, { organization_id: this.selectedOrganizationId });\r\n if (this.selectedStateId != null) Object.assign(parameters, { meeting_state_id: this.selectedStateId });\r\n if (this.subject != null) Object.assign(parameters, { subject: this.subject });\r\n */\r\n\r\n var sessionInfo = this.sessionStorage.retrieve(\"calendar.calendar\");\r\n if (sessionInfo != null) {\r\n\r\n var subject = (sessionInfo.filters.find(m => m.subject) != undefined ? sessionInfo.filters.find(m => m.subject).subject : null);\r\n var selectedOrganizationId = (sessionInfo.filters.find(m => m.selectedOrganizationId) != undefined ? sessionInfo.filters.find(m => m.selectedOrganizationId).selectedOrganizationId : null);\r\n var selectedStateId = (sessionInfo.filters.find(m => m.selectedStateId) != undefined ? sessionInfo.filters.find(m => m.selectedStateId).selectedStateId : null);\r\n\r\n if (selectedOrganizationId != null) Object.assign(parameters, { organization_id: selectedOrganizationId });\r\n if (selectedStateId != null) Object.assign(parameters, { meeting_state_id: selectedStateId });\r\n if (subject != null && subject != \"\") Object.assign(parameters, { subject: subject });\r\n }\r\n\r\n if (this.selectedUsers != null && this.selectedUsers.length > 0) {\r\n Object.assign(parameters, { usersIds: this.selectedUsers });\r\n } else {\r\n Object.assign(parameters, { usersIds: [parseInt(localStorage.getItem(\"userId\"))] });\r\n }\r\n\r\n this.meetingService.all(parameters).subscribe({\r\n next: (data: any) => {\r\n this.events = data.rows.map(m => {\r\n var title = \"\";\r\n if (m.organization?.name != null || m.organization?.tradename) {\r\n title += \"(\";\r\n if (m.organization?.name != null) {\r\n title += m.organization?.name;\r\n if (m.organization?.tradename != null) title += \", \";\r\n }\r\n if (m.organization?.tradename != null) title += m.organization.tradename;\r\n title += \")\";\r\n };\r\n\r\n var isCreator = (this.userId == m.created_by);\r\n var isResponsible = (this.userId == m.responsible_id);\r\n return {\r\n minutes: m.duration,\r\n title: m.subject + \" \" + title,\r\n subject: m.subject,\r\n start: m.from,\r\n end: m.to,\r\n event_id: m.id,\r\n created_by: m.created_by,\r\n responsible_id: m.responsible_id,\r\n date_from: m.from,\r\n date_to: m.to,\r\n type: 'meeting',\r\n allDay: m.allDay,\r\n showType: this.translateService.instant(\"component.calendar.meeting\"),\r\n responsible: m.responsible?.name,\r\n organization: (m.organization?.name ? m.organization.name : \"\") + (m.organization?.tradename ? \" (\" + m.organization.tradename + \")\" : \"\"),\r\n duration: m.duration,\r\n display: 'block',\r\n backgroundColor: m.responsible.color ? m.responsible.color : \"#e8e8e8\",\r\n //textColor: \"black\",\r\n textColor: this.lightOrDark(m.responsible.color ? m.responsible.color : \"#e8e8e8\") == \"dark\" ? \"white\" : \"black\",\r\n participants: m.meetingUsers,\r\n state: m.state?.name,\r\n editable: (this.calendarViewToolbar != \"dayGridMonth\" && ((this.isSuperAdmin === \"true\") || this.loginService.canEditModel(m, this.view?.entity?.code)))\r\n };\r\n });\r\n },\r\n error: (error: any) => this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title })\r\n });\r\n //if (this.selectedUsers) this.loadNames();\r\n }\r\n\r\n saveSelectedUsers() {\r\n this.user.metadata[\"calendarConfig\"] = { \"selectedUsers\": this.selectedUsers };\r\n this.usersService.save(this.user.id, this.user).subscribe({\r\n next: (data: any) => {\r\n this.user = data;\r\n this.loadMeeting();\r\n },\r\n error: (error: any) => this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title })\r\n });\r\n }\r\n\r\n onChangeUser(user) {\r\n let idx = this.selectedUsers.indexOf(user.id);\r\n if (idx >= 0) {\r\n this.selectedUsers.splice(idx, 1);\r\n user.selected = false;\r\n } else {\r\n this.selectedUsers.push(user.id);\r\n user.selected = true;\r\n }\r\n this.saveSelectedUsers();\r\n }\r\n\r\n lightOrDark(color) {\r\n\r\n // Variables for red, green, blue values\r\n var r, g, b, hsp;\r\n\r\n // Check the format of the color, HEX or RGB?\r\n if (color.match(/^rgb/)) {\r\n\r\n // If RGB --> store the red, green, blue values in separate variables\r\n color = color.match(/^rgba?\\((\\d+),\\s*(\\d+),\\s*(\\d+)(?:,\\s*(\\d+(?:\\.\\d+)?))?\\)$/);\r\n\r\n r = color[1];\r\n g = color[2];\r\n b = color[3];\r\n }\r\n else {\r\n\r\n // If hex --> Convert it to RGB: http://gist.github.com/983661\r\n color = +(\"0x\" + color.slice(1).replace(\r\n color.length < 5 && /./g, '$&$&'));\r\n\r\n r = color >> 16;\r\n g = color >> 8 & 255;\r\n b = color & 255;\r\n }\r\n\r\n // HSP (Highly Sensitive Poo) equation from http://alienryderflex.com/hsp.html\r\n hsp = Math.sqrt(\r\n 0.299 * (r * r) +\r\n 0.587 * (g * g) +\r\n 0.114 * (b * b)\r\n );\r\n\r\n // Using the HSP value, determine whether the color is light or dark\r\n if (hsp > 127.5) {\r\n\r\n return 'light';\r\n }\r\n else {\r\n\r\n return 'dark';\r\n }\r\n }\r\n\r\n getUserCheckClass(user: any) {\r\n let className = \"checkbox-color-black\";\r\n if (user.color) {\r\n let hexColor = user.color.replace(\"#\", \"\");\r\n className = this.lightOrDark(hexColor) == \"dark\" ? 'checkbox-color-white' : 'checkbox-color-black';\r\n }\r\n return \"checkbox-no-bg \" + className;\r\n }\r\n\r\n loadOrganizations(event) {\r\n let params: any = {};\r\n if (event != null) params.text = event.filter;\r\n if (this.selectedOrganizationId != null) params.include_organization_id = this.selectedOrganizationId;\r\n this.organizationService.getCombo(params).subscribe({\r\n next: (data: any) => {\r\n this.organizations = data.rows;\r\n //this.organizations.unshift({ name: \"Todas\", id: null });\r\n },\r\n error: (error: any) => this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title })\r\n });\r\n\r\n }\r\n\r\n loadStates(event) {\r\n let params: any = {};\r\n if (event != null) params.text = event.filter;\r\n if (this.selectedStateId != null) params.include_state_id = this.selectedStateId;\r\n this.meetingStatesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.states = data.rows;\r\n //this.states.unshift({ name: \"Todos\", id: null });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadUsers() {\r\n\r\n //si no puedes ver otros calendarios, solo le añadimos a el\r\n if (!this.loginService.hasPermission(\"CALENDAR_OTHERS_USERS\")) {\r\n this.selectedUsers = [localStorage.getItem(\"userId\")];\r\n return;\r\n }\r\n\r\n //cargamos otros usuarios\r\n this.meetingService.users({}).subscribe({\r\n next: (data: any) => {\r\n this.users = data.rows;\r\n if (this.selectedUsers != null) {\r\n this.users.forEach(user => {\r\n if (this.selectedUsers.indexOf(user.id) >= 0) user.selected = true;\r\n });\r\n }\r\n },\r\n error: (error: any) => this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title })\r\n });\r\n }\r\n viewMeeting(meeting, from: null) {\r\n if (this.canOpenMeeting) {\r\n var params = {\r\n id: meeting ? meeting.organization_id : 0,\r\n contactId: meeting ? meeting.contact_id : 0,\r\n meetingId: meeting ? meeting.id : 0,\r\n deactivated: meeting ? true : false,\r\n from: from ? from : null\r\n }\r\n // Utiliza router.navigate y pasa el objeto de parámetros\r\n this.routerLink.navigate(['/meetings/', (meeting ? meeting.id : 0)], { queryParams: params });\r\n if (this.dialogRef) {\r\n //Cerramos el popup.\r\n this.dialogRef.close();\r\n }\r\n }\r\n\r\n }\r\n\r\n viewOrganization(organization: any) {\r\n this.routerLink.navigate(['/organizations/', organization.organization_type_id ? organization.organization_type_id : 0, organization.id]);\r\n }\r\n\r\n modifyEvent(props, delta, action) {\r\n if (props.type == \"meeting\") this.saveMeeting(props, delta, props.event_id, action);\r\n }\r\n\r\n calcNewDate(originalDate, delta) {\r\n var newDate = new Date(originalDate);\r\n\r\n if (delta.years) {\r\n newDate.setFullYear(newDate.getFullYear() + delta.years);\r\n }\r\n\r\n if (delta.months) {\r\n newDate.setMonth(newDate.getMonth() + delta.months);\r\n }\r\n\r\n if (delta.days) {\r\n newDate.setDate(newDate.getDate() + delta.days);\r\n }\r\n\r\n if (delta.milliseconds) {\r\n newDate.setMilliseconds(newDate.getMilliseconds() + delta.milliseconds);\r\n }\r\n return newDate.toISOString();\r\n }\r\n\r\n calcNewDateTo(date, duration) {\r\n var dateFrom = new Date(date);\r\n var dateTo = new Date(dateFrom.getTime() + duration * 60000);\r\n return dateTo.toISOString();\r\n }\r\n\r\n calcDuration(date_from, date_to) {\r\n var startDate = new Date(date_from);\r\n var endDate = new Date(date_to);\r\n var duration = endDate.getTime() - startDate.getTime();\r\n return duration / 60000;\r\n }\r\n\r\n\r\n saveMeeting(props, delta, meeting_id, action) {\r\n\r\n if (action == \"drop\") {\r\n var new_date_from = this.calcNewDate(props.date_from, delta);\r\n var new_date_to = this.calcNewDateTo(new_date_from, props.minutes);\r\n this.meetingService.setNewDates(meeting_id, { new_date_from: new_date_from, new_date_to: new_date_to, id: meeting_id }).subscribe(\r\n data => {\r\n //this.messageService.add({ closable: false, severity: \"success\", detail: \"Evento modificado\" });\r\n this.loadMeeting();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }\r\n if (action == \"resize\") {\r\n var new_date_to = this.calcNewDate(props.date_to, delta);\r\n this.meetingService.setNewDates(meeting_id, { new_date_to: new_date_to, duration: this.calcDuration(props.date_from, new_date_to) }).subscribe({\r\n next: (data: any) => {\r\n //this.messageService.add({ closable: false, severity: \"success\", detail: \"Evento modificado\" });\r\n this.loadMeeting();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n handleDatesRender($event) {\r\n this.from_date = $event.start;\r\n this.to_date = $event.end;\r\n this.loadMeeting();\r\n }\r\n\r\n getTimeOfEvent(duration) {\r\n //Éste método devuelve una cadena de texto con la duración del evento en el formato X h XX m.\r\n\r\n var durationText = \"\";\r\n if (duration >= 60) {\r\n var hours = Math.floor(duration / 60);\r\n var minutes = duration % 60;\r\n if (hours === 1) {\r\n //Si se necesita, se puede poner aquí \"hora\":\r\n durationText = \"1 h\";\r\n } else {\r\n //Si se necesita, se puede poner aquí \"horas\":\r\n durationText = hours + \" h\";\r\n }\r\n if (minutes > 0) {\r\n durationText += \" \";\r\n if (minutes === 1) {\r\n //Si se necesita, se puede poner aquí \"minuto\":\r\n durationText += \"1 min.\";\r\n } else {\r\n //Si se necesita, se puede poner aquí \"minutos\":\r\n durationText += minutes + \" min.\";\r\n }\r\n }\r\n } else {\r\n //Si se necesita, se puede poner aquí \"minutos\":\r\n durationText = duration + \" min.\";\r\n }\r\n return durationText;\r\n }\r\n\r\n\r\n createQuickFilters() {\r\n\r\n //Los buscamos en la sesión\r\n var sessionInfo = this.sessionStorage.retrieve(\"calendar.calendar\");\r\n var selectedFields = [];\r\n\r\n if (sessionInfo != null) {\r\n this.hasFilterValue = true;\r\n this.subject = (sessionInfo.filters.find(m => m.subject) != undefined ? sessionInfo.filters.find(m => m.subject).subject : null);\r\n this.selectedOrganizationId = (sessionInfo.filters.find(m => m.selectedOrganizationId) != undefined ? sessionInfo.filters.find(m => m.selectedOrganizationId).selectedOrganizationId : null);\r\n this.selectedStateId = (sessionInfo.filters.find(m => m.selectedStateId) != undefined ? sessionInfo.filters.find(m => m.selectedStateId).selectedStateId : null);\r\n\r\n /* this.subject = sessionInfo.filters[\"subject\"];\r\n this.selectedOrganizationId = sessionInfo.filters[\"selectedOrganizationId\"];\r\n this.selectedStateId = sessionInfo.filters[\"selectedStateId\"];*/\r\n }\r\n\r\n }\r\n\r\n toggleFilter() {\r\n this.show_filter_panel = !this.show_filter_panel;\r\n }\r\n toggleFilterMobile() {\r\n this.show_filter_panel_mobile = !this.show_filter_panel_mobile;\r\n }\r\n\r\n resetFilters() {\r\n if (this.selectedOrganizationId != null) this.selectedOrganizationId = null;\r\n if (this.selectedStateId != null) this.selectedStateId = null;\r\n if (this.subject != null) this.subject = null;\r\n this.sessionStorage.clear(\"calendar.calendar\");\r\n this.hasFilterValue = false;\r\n this.loadMeeting();\r\n }\r\n\r\n loadMeetingFilter() {\r\n this.sessionStorage.clear(\"calendar.calendar\");\r\n if (this.subject != null || this.selectedOrganizationId != null || this.selectedStateId != null) {\r\n this.hasFilterValue = true;\r\n var sessionInfo = { filters: [] };\r\n /*sessionInfo.filters.push({ organization_id: this.route_organization_id });\r\n sessionInfo.filters.push({ include_organization_id: this.route_organization_id });\r\n sessionInfo.filters.push({ _op_organization_id: \"in\" });\r\n sessionInfo.filters.push({ _ignore_session_fields: this.route_organization_id });\r\n sessionInfo.filters.push({ _excluded_fields: this.route_organization_id });*/\r\n if (this.subject != null) sessionInfo.filters.push({ subject: this.subject });\r\n if (this.selectedOrganizationId != null) sessionInfo.filters.push({ selectedOrganizationId: this.selectedOrganizationId });\r\n if (this.selectedStateId != null) sessionInfo.filters.push({ selectedStateId: this.selectedStateId });\r\n this.sessionStorage.store(\"calendar.calendar\", sessionInfo);\r\n } else {\r\n this.hasFilterValue = false;\r\n }\r\n this.loadMeeting();\r\n\r\n }\r\n loadOrganization() {\r\n this.organizationService.get(this.route_organization_id).subscribe({\r\n next: (data: any) => {\r\n this.organization = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n}\r\n","
{{'component.calendar.calendar' | translate}}
\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n {{'component.calendar.calendars' | translate}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n {{tooltip_info.showType}} - ({{tooltip_info.state}})
\r\n {{tooltip_info.description}}
\r\n {{tooltip_info.date_from | date:'dd/MM/yyyy HH:mm'}} ({{tooltip_info.duration}})
\r\n
\r\n {{tooltip_info.organization?tooltip_info.organization:''}}\r\n
\r\n
\r\n {{tooltip_info.responsible}}\r\n
\r\n
\r\n
\r\n {{participant.user?participant.user.name:participant.external_user}}\r\n {{participant.user?'('+participant.user.email+')':''}}\r\n
\r\n
\r\n
3\">\r\n +{{tooltip_info.participants.length-3}} participante/s...\r\n
\r\n \r\n\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n\r\n
\r\n \r\n {{'general.filter.title' | translate}}\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n {{selectedItem.name}} ({{selectedItem.tradename}})\r\n
\r\n
\r\n \r\n
\r\n {{item.name}} ({{item.tradename}})\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { CalendarRoutingModule } from './calendar-routing.module';\r\nimport { CalendarComponent } from './calendar.component';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { CardModule } from 'primeng/card';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { MultiSelectModule } from 'primeng/multiselect';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { FullCalendarModule } from '@fullcalendar/angular';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\nimport { SidebarModule } from 'primeng/sidebar';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n CalendarComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n CalendarRoutingModule,\r\n FullCalendarModule,\r\n DropdownModule,\r\n CardModule,\r\n FormsModule,\r\n ButtonModule,\r\n FontAwesomeModule,\r\n MultiSelectModule,\r\n CheckboxModule,\r\n TranslateModule,\r\n SidebarModule\r\n ],\r\n exports:[\r\n CalendarComponent\r\n ]\r\n})\r\nexport class CalendarModule { }\r\n","import { Component } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { MessageService } from 'primeng/api';\nimport { DynamicDialogRef, DynamicDialogConfig } from 'primeng/dynamicdialog';\nimport { NotificationsService } from 'src/app/notifications/notifications.service';\nimport { MeetingsService } from 'src/app/organizations/organizations-detail/organizations-meetings-detail/meetings.service';\nimport { TasksService } from 'src/app/tasks/tasks.service';\nimport { TransactionsService } from 'src/app/transactions/transactions.service';\nimport { CampaignsContactsService } from '../campaigns-contacts.service';\nimport { CampaignsOrganizationsService } from '../campaigns-organizations.service';\nimport { CampaignsService } from '../campaigns.service';\n\n@Component({\n selector: 'app-add-campaigns-to-entity',\n templateUrl: './add-campaigns-to-entity.component.html',\n styleUrls: ['./add-campaigns-to-entity.component.scss']\n})\nexport class AddCampaignsToEntityComponent {\n public campaigns: any[] = [];\n public entity;\n public results: any[] = [];\n public selected: any[] = [];\n public selected_campaign_id;\n public filters: any = {};\n public is_valid: boolean = false;\n public id;\n public add_organizations_checkbox = false;\n public add_contacts_checkbox = false;\n\n constructor(\n private campaignsService: CampaignsService,\n private campaignsOrganizationsService: CampaignsOrganizationsService,\n private campaignsContactsService: CampaignsContactsService,\n private tasksService: TasksService,\n private meetingsService: MeetingsService,\n private transactionsService: TransactionsService,\n private notificationsService: NotificationsService,\n private messageService: MessageService,\n private translateService: TranslateService,\n private dynamicDialogRef: DynamicDialogRef,\n public config: DynamicDialogConfig,\n ) { }\n\n ngOnInit() {\n this.entity = this.config.data.entity;\n this.id = this.config.data.id;\n\n if (this.entity == \"organization\") {\n this.filters.skip_by_organization_id = this.id;\n }\n if (this.entity == \"contact\") {\n this.filters.skip_by_contact_id = this.id;\n }\n\n this.selected_campaign_id = this.config.data.campaign_id;\n if (this.selected_campaign_id != null) this.filters.include_campaign_id = this.selected_campaign_id;\n this.filters.skip_passed_campaigns = true;\n\n this.loadCampaigns();\n }\n\n loadCampaigns() {\n this.campaignsService.all(this.filters).subscribe({\n next: (data: any) => {\n this.campaigns = data.rows;\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n validateFilters(): boolean {\n for (const key in this.filters) {\n if (this.filters[key].length >= 3) {\n this.is_valid = true;\n return true;\n }\n }\n this.is_valid = false;\n return false;\n }\n onInputChange(): void {\n this.is_valid = this.validateFilters();\n }\n\n saveCampaigns() {\n switch (this.entity) {\n case \"contact\":\n this.saveContactCampaigns();\n break;\n case \"organization\":\n this.saveOrganizationCampaigns();\n break;\n case \"task\":\n this.saveTaskCampaigns();\n break;\n case \"meeting\":\n this.saveMeetingCampaigns();\n break;\n case \"mailMarketing\":\n this.saveMailMarketingCampaigns();\n break;\n case \"oportunity\":\n case \"sale\":\n case \"transaction\":\n this.saveTransactionCampaigns();\n break;\n default:\n break;\n }\n }\n saveOrganizationCampaigns() {\n this.campaignsOrganizationsService.addMultiplesCampaignsToOrganization({ organization_id: this.id, ids: this.selected }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_\" + this.entity) });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n\n saveContactCampaigns() {\n this.campaignsContactsService.addMultiplesCampaignsToContact({ contact_id: this.id, ids: this.selected }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_\" + this.entity) });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n saveTaskCampaigns() {\n ///TODO: traducir component.reports.added_elements_to_task\n\n if (this.selected_campaign_id) {\n this.tasksService.addMultiplesToCampaign({ campaign_id: this.selected_campaign_id, ids: [this.id], add_organizations_checkbox: this.add_organizations_checkbox, add_contacts_checkbox: this.add_contacts_checkbox }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_\" + this.entity) });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n }\n\n saveMeetingCampaigns() {\n ///TODO: traducir component.reports.added_elements_to_meeting\n\n if (this.selected_campaign_id) {\n this.meetingsService.addMultiplesToCampaign({ campaign_id: this.selected_campaign_id, ids: [this.id], add_organizations_checkbox: this.add_organizations_checkbox, add_contacts_checkbox: this.add_contacts_checkbox }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_\" + this.entity) });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n }\n\n saveMailMarketingCampaigns() {\n ///TODO: traducir component.reports.added_elements_to_mailMarketing\n\n if (this.selected_campaign_id) {\n this.notificationsService.addMultiplesToCampaign({ campaign_id: this.selected_campaign_id, ids: [this.id], add_organizations_checkbox: this.add_organizations_checkbox, add_contacts_checkbox: this.add_contacts_checkbox }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_\" + this.entity) });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n }\n\n\n saveTransactionCampaigns() {\n ///TODO: traducir component.reports.added_elements_to_oportunity/sale/transaction\n\n if (this.selected_campaign_id) {\n this.transactionsService.addMultiplesToCampaign({ campaign_id: this.selected_campaign_id, ids: [this.id], add_organizations_checkbox: this.add_organizations_checkbox, add_contacts_checkbox: this.add_contacts_checkbox }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_\" + this.entity) });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n }\n\n cancel() {\n this.dynamicDialogRef.close();\n }\n}","\n
\n
\n \n \n
\n
\n
\n
\n \n
\n
\n \n \n
\n
\n
\n
\n \n
\n \n \n \n \n \n {{'campaign.entity_fields.id' | translate}}\n {{'campaign.entity_fields.name' | translate}}\n {{'campaign.entity_fields.from' | translate}}\n {{'campaign.entity_fields.to' | translate}}\n \n \n \n \n \n {{rowData.id}}\n {{rowData.name}}\n {{rowData.from | date}}\n {{rowData.to | date}}\n \n \n \n \n \n {{'general.not_data' | translate }}\n \n \n \n \n
\n
\n
\n
\n
\n \n \n
","import { Component } from '@angular/core';\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\nimport { NotificationsService } from 'src/app/notifications/notifications.service';\nimport { ContactsService } from 'src/app/organizations/organizations-detail/organizations-contacts-detail/contacts.service';\nimport { MeetingsService } from 'src/app/organizations/organizations-detail/organizations-meetings-detail/meetings.service';\nimport { OrganizationsService } from 'src/app/organizations/organizations.service';\nimport { TasksService } from 'src/app/tasks/tasks.service';\nimport { TransactionsService } from 'src/app/transactions/transactions.service';\nimport { CampaignsOrganizationsService } from '../campaigns-organizations.service';\nimport { CampaignsContactsService } from '../campaigns-contacts.service';\nimport { MessageService } from 'primeng/api';\nimport { TranslateService } from '@ngx-translate/core';\n\n@Component({\n selector: 'app-campaign-add-element',\n templateUrl: './campaign-add-element.component.html',\n styleUrls: ['./campaign-add-element.component.scss']\n})\nexport class CampaignAddElementComponent {\n\n public elements: any[] = [];\n public campaign_id;\n public entity;\n public rows: any[] = [];\n public results: any[] = [];\n public labels: any[] = [];\n public organizationLabels: any[] = [\"organization.entity_fields.id\", \"organization.entity_fields.name\", \"organization.entity_fields.responsible_id\"];\n public contactLabels: any[] = [\"contact.entity_fields.id\", \"contact.entity_fields.fullname\", \"contact.entity_fields.organization_id\"];\n public taskLabels: any[] = [\"task.entity_fields.id\", \"task.entity_fields.subject\", \"task.entity_fields.date\", \"task.entity_fields.organization_id\", \"task.entity_fields.contact_id\", \"task.entity_fields.responsible_user_id\", \"task.entity_fields.task_status_id\", \"task.entity_fields.task_action_id\"];\n public meetingLabels: any[] = [\"meeting.entity_fields.id\", \"meeting.entity_fields.subject\", \"meeting.entity_fields.from\", \"meeting.entity_fields.organization_id\", \"meeting.entity_fields.contact_id\", \"meeting.entity_fields.meeting_state_id\", \"meeting.entity_fields.responsible_user_id\"];\n public transactionLabels: any[] = [\"transaction.entity_fields.id\", \"transaction.entity_fields.description\", \"transaction.entity_fields.organization_id\", \"transaction.entity_fields.organization_id\", \"transaction.entity_fields.transaction_status_id\", \"transaction.entity_fields.responsible_id\"];\n public oportunityLabels: any[] = [\"oportunity.entity_fields.id\", \"oportunity.entity_fields.description\", \"oportunity.entity_fields.date\", \"oportunity.entity_fields.organization_id\", \"oportunity.entity_fields.contact_id\", \"oportunity.entity_fields.transaction_status_id\", \"oportunity.entity_fields.responsible_id\"];\n public saleLabels: any[] = [\"sale.entity_fields.id\", \"sale.entity_fields.description\", \"sale.entity_fields.date\", \"sale.entity_fields.organization_id\", \"sale.entity_fields.organization_id\", \"sale.entity_fields.transaction_status_id\", \"sale.entity_fields.responsible_id\"];\n public notificationEmailsLabels: any[] = [\"notificationsEmails.entity_fields.id\", \"notificationsEmails.entity_fields.subject\", \"notificationsEmails.entity_fields.from\", \"notificationsEmails.entity_fields.date\", \"notificationsEmails.entity_fields.status\"];\n public selected: any[] = [];\n public filters: any = {};\n public is_valid: boolean = false;\n\n public add_organizations_checkbox: boolean;\n public add_contacts_checkbox: boolean;\n public visible_organizations_checkbox: boolean;\n public visible_contacts_checkbox: boolean;\n\n constructor(\n private organizationsService: OrganizationsService,\n private contactsService: ContactsService,\n private campaignsOrganizationsService: CampaignsOrganizationsService,\n private campaignsContactsService: CampaignsContactsService,\n private tasksService: TasksService,\n private meetingsService: MeetingsService,\n private transactionsService: TransactionsService,\n private notificationsService: NotificationsService,\n private messageService: MessageService,\n private translateService: TranslateService,\n private dynamicDialogRef: DynamicDialogRef,\n public config: DynamicDialogConfig,\n ) { }\n\n ngOnInit() {\n this.campaign_id = this.config.data.campaign_id;\n this.entity = this.config.data.entity;\n this.revealCheckboxes();\n this.loadElements();\n }\n\n loadElements() {\n switch (this.entity) {\n case \"organization\":\n this.labels = this.organizationLabels;\n if (this.is_valid) this.loadOrganizations();\n break;\n case \"contact\":\n this.labels = this.contactLabels;\n if (this.is_valid) this.loadContacts();\n break;\n case \"task\":\n this.labels = this.taskLabels;\n if (this.is_valid) this.loadTasks();\n break;\n case \"meeting\":\n this.labels = this.meetingLabels;\n if (this.is_valid) this.loadMeetings();\n break;\n case \"transaction\":\n this.labels = this.transactionLabels;\n if (this.is_valid) this.loadTransactions();\n break;\n case \"oportunity\":\n this.labels = this.oportunityLabels;\n //this.loadTransactions();\n if (this.is_valid) this.loadOportunities();\n break;\n case \"sale\":\n this.labels = this.saleLabels;\n //this.loadTransactions();\n if (this.is_valid) this.loadSales();\n break;\n case \"notificationEmails\":\n this.labels = this.notificationEmailsLabels;\n if (this.is_valid) this.loadNotifications();\n break;\n default:\n break;\n }\n }\n\n loadOrganizations() {\n this.organizationsService.all(this.filters).subscribe({\n next: (data: any) => {\n this.rows = data.rows;\n },\n error: (error: any) => {\n\n }\n });\n }\n\n loadContacts() {\n this.contactsService.all(this.filters).subscribe({\n next: (data: any) => {\n this.rows = data.rows;\n },\n error: (error: any) => {\n\n }\n });\n }\n\n loadTasks() {\n this.tasksService.all(this.filters).subscribe({\n next: (data: any) => {\n this.rows = data.rows;\n },\n error: (error: any) => {\n\n }\n });\n }\n\n loadMeetings() {\n this.meetingsService.all(this.filters).subscribe({\n next: (data: any) => {\n this.rows = data.rows;\n },\n error: (error: any) => {\n\n }\n });\n }\n\n loadTransactions() {\n this.transactionsService.all(this.filters).subscribe({\n next: (data: any) => {\n this.rows = data.rows;\n },\n error: (error: any) => {\n\n }\n });\n }\n\n loadOportunities() {\n this.filters.transaction_type_id = 1;\n this.transactionsService.all(this.filters).subscribe({\n next: (data: any) => {\n this.rows = data.rows;\n },\n error: (error: any) => {\n\n }\n })\n }\n loadSales() {\n this.filters.transaction_type_id = 2;\n this.transactionsService.all(this.filters).subscribe({\n next: (data: any) => {\n this.rows = data.rows;\n },\n error: (error: any) => {\n\n }\n })\n }\n\n loadNotifications() {\n this.notificationsService.all(this.filters).subscribe({\n next: (data: any) => {\n this.rows = data.rows;\n },\n error: (error: any) => {\n\n }\n });\n }\n cancel() {\n this.dynamicDialogRef.close();\n }\n saveCampaign() {\n switch (this.entity) {\n case \"contact\":\n this.saveCampaignContacts();\n break;\n case \"organization\":\n this.saveCampaignOrganizations();\n break;\n case \"task\":\n this.saveTasksToCampaign();\n break;\n case \"oportunity\":\n this.saveTransactionsToCampaign();\n break;\n case \"sale\":\n this.saveTransactionsToCampaign();\n break;\n case \"transaction\":\n this.saveTransactionsToCampaign();\n break;\n case \"meeting\":\n this.saveMeetingsToCampaign();\n break;\n case \"notificationEmails\":\n this.saveNotificationsToCampaign();\n break;\n default:\n break;\n }\n }\n saveTasksToCampaign() {\n this.tasksService.addMultiplesToCampaign({ campaign_id: this.campaign_id, ids: this.selected, add_organizations_checkbox: this.add_organizations_checkbox, add_contacts_checkbox: this.add_contacts_checkbox }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_campaign\") });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n\n saveTransactionsToCampaign() {\n this.transactionsService.addMultiplesToCampaign({ campaign_id: this.campaign_id, ids: this.selected, add_organizations_checkbox: this.add_organizations_checkbox, add_contacts_checkbox: this.add_contacts_checkbox }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_campaign\") });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n\n saveMeetingsToCampaign() {\n this.meetingsService.addMultiplesToCampaign({ campaign_id: this.campaign_id, ids: this.selected, add_organizations_checkbox: this.add_organizations_checkbox, add_contacts_checkbox: this.add_contacts_checkbox }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_campaign\") });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n\n saveNotificationsToCampaign() {\n this.notificationsService.addMultiplesToCampaign({ campaign_id: this.campaign_id, ids: this.selected, add_organizations_checkbox: this.add_organizations_checkbox, add_contacts_checkbox: this.add_contacts_checkbox }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_campaign\") });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n\n saveCampaignOrganizations() {\n this.campaignsOrganizationsService.addMultiples({ campaign_id: this.campaign_id, ids: this.selected }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_campaign\") });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n\n saveCampaignContacts() {\n this.campaignsContactsService.addMultiples({ campaign_id: this.campaign_id, ids: this.selected, add_organizations_checkbox: this.add_organizations_checkbox, add_contacts_checkbox: this.add_contacts_checkbox }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_campaign\") });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n\n validateFilters(): boolean {\n for (const key in this.filters) {\n if (this.filters[key].length >= 3) {\n this.is_valid = true;\n return true;\n }\n }\n this.is_valid = false;\n return false;\n }\n\n onInputChange(): void {\n this.is_valid = this.validateFilters();\n }\n\n revealCheckboxes() {\n switch (this.entity) {\n case \"contact\":\n this.visible_contacts_checkbox = false;\n this.visible_organizations_checkbox = true;\n break;\n case \"organization\":\n this.visible_contacts_checkbox = false;\n this.visible_organizations_checkbox = false;\n break;\n case \"task\":\n this.visible_contacts_checkbox = true;\n this.visible_organizations_checkbox = true;\n break;\n case \"oportunity\":\n this.visible_contacts_checkbox = true;\n this.visible_organizations_checkbox = true;\n break;\n case \"sale\":\n this.visible_contacts_checkbox = true;\n this.visible_organizations_checkbox = true;\n break;\n case \"transaction\":\n this.visible_contacts_checkbox = true;\n this.visible_organizations_checkbox = true;\n break;\n case \"meeting\":\n this.visible_contacts_checkbox = true;\n this.visible_organizations_checkbox = true;\n break;\n case \"notifications\":\n this.visible_contacts_checkbox = false;\n this.visible_organizations_checkbox = false;\n break;\n default:\n this.visible_contacts_checkbox = false;\n this.visible_organizations_checkbox = false;\n break;\n }\n }\n}\n","\n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n \n
\n \n \n
\n
\n \n \n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n \n
\n
\n \n \n \n \n \n \n {{label | translate}}\n \n \n \n \n \n \n {{rowData.id}}\n \n {{rowData.name}}\n {{rowData.responsible?.name}}\n \n \n {{rowData.fullname}}\n {{rowData.organization?.name}}\n \n \n {{rowData.subject}}\n {{rowData.date | date}}\n {{rowData.organization?.name}}\n {{rowData.contact?.fullname}}\n {{rowData.user?.name}}\n {{rowData.taskStatus?.name}}\n {{rowData.taskActionType?.name}}\n \n \n {{rowData.subject}}\n {{rowData.from | date}}\n {{rowData.organization?.name}}\n {{rowData.contact?.fullname}}\n {{rowData.state?.name}}\n {{rowData.responsible?.name}}\n \n \n {{rowData.description}}\n {{rowData.date | date}}\n {{rowData.organization?.name}}\n {{rowData.contact?.fullname}}\n {{rowData.transactionStatus?.name}}\n {{rowData.responsible?.name}}\n \n \n {{rowData.subject}}\n {{rowData.from}}\n {{rowData.date | date}}\n {{rowData.status}}\n \n \n \n \n \n \n {{'general.not_data' | translate }}\n \n \n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n
\n
\n \n \n
\n
","import { Component, Input, ViewChild } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { UIChart } from 'primeng/chart';\nimport { CampaignsService } from '../campaigns.service';\n\n@Component({\n selector: 'app-campaigns-chart',\n templateUrl: './campaigns-chart.component.html',\n styleUrls: ['./campaigns-chart.component.scss']\n})\nexport class CampaignsChartComponent {\n @ViewChild('chart') chart: UIChart;\n\n @Input() public data: any;\n @Input() public entity: any;\n\n public id: any;\n public ret: any = {};\n public height = 0;\n\n public basicData: any;\n public options: any;\n public labels: any[] = [];\n public backgroundColors: any[] = [];\n public dataFormated: any[] = [];\n\n\n constructor(\n private route: ActivatedRoute,\n private translateService: TranslateService,\n private campaignsService: CampaignsService,\n ) { }\n\n ngOnInit() {\n this.route.params.subscribe(params => {\n this.id = params['id'];\n //this.loadStatsOpportunities(this.id);\n //this.loadBasicDataYears();\n if(this.id) this.loadStats(this.id);\n })\n }\n\n loadStats(id) {\n this.campaignsService.getStats(id).subscribe({\n next: (data: any) => {\n this.ret = data;\n this.loadBasicDataYears();\n },\n error: (error: any) => {\n //TODO: messageService.\n }\n });\n }\n\n onEvent(event: string) {\n this.refresh();\n }\n\n refresh() {\n //this.loadStatsOpportunities(this.id);\n this.chart.reinit();\n this.chart.refresh();\n }\n\n loadBasicDataYears() {\n var anyoActual = new Date().getFullYear();\n if (this.ret.actualDate != null) anyoActual = new Date(this.ret.actualDate).getFullYear();\n\n var cost_string = this.translateService.instant(\"component.campaigns.stats.costs\");\n var income_string = this.translateService.instant(\"component.campaigns.stats.income\");\n var expected_income_string = this.translateService.instant(\"component.campaigns.stats.expected_income\");\n this.basicData = {\n labels: [\"Total €\"],\n datasets: [\n {\n label: cost_string,\n backgroundColor: ['#ED8686'],\n data: [this.ret.cost]\n },\n {\n label: expected_income_string,\n backgroundColor: ['#90cdc4'],\n data: [this.ret.expected_income]\n },\n {\n label: income_string,\n backgroundColor: ['#E0ED31'],\n data: [this.ret.income]\n }\n ]\n };\n this.options = {\n plugins: {\n legend: {\n labels: {\n usePointStyle: true,\n }\n }\n }\n };\n };\n}\n","
\n
\n
\n
\n \n

{{'organization.entity.name_plural' | translate}}

\n

{{ret?.n_organizations}}

\n
\n
\n
\n \n

{{'contact.entity.name_plural' | translate}}

\n

{{ret?.n_contacts}}

\n
\n
\n
\n \n

{{'task.entity.name_plural' | translate}}

\n

{{ret?.n_tasks}}

\n
\n
\n
\n \n

{{'meeting.entity.name_plural' | translate}}

\n

{{ret?.n_meetings}}

\n
\n
\n
\n \n

{{'transaction.entity.name_plural' | translate}}

\n

{{ret?.n_transactions}}

\n
\n
\n
\n \n

{{'component.campaigns.detail.transaction_volume' | translate}}

\n

{{ ret?.transaction_volume?.toLocaleString('es-ES', { useGrouping: false }) }}€

\n
\n
\n
\n \n

{{'component.campaigns.detail.final_transaction_volume' | translate}}

\n

{{ret?.final_transaction_volume?.toLocaleString('es-ES', {useGrouping: false})}}€

\n
\n
\n
\n
\n
\n \n
\n
","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { LoaderService } from '../core/loader/loader.service';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class CampaignsContactsService {\n url = \"/api/campaignsContacts\";\n\n constructor(private http: HttpClient, private loaderService: LoaderService) { }\n\n all(params): Observable {\n if (params == null) params = {};\n return this.http.get(this.url, { params: params });\n }\n\n get(id): Observable {\n return this.http.get(this.url + \"/\" + id);\n }\n\n save(id, obj): Observable {\n return this.http.put(this.url + \"/\" + id, obj);\n }\n\n add(obj): Observable {\n return this.http.post(this.url, obj);\n }\n\n delete(id): Observable {\n return this.http.delete(this.url + \"/\" + id);\n }\n\n isDuplied(obj): Observable {\n return this.http.post(this.url + \"/isDuplied\", obj);\n }\n\n addMultiples(obj): Observable {\n return this.http.post(this.url + \"/addMultiples\", obj);\n }\n\n unlinkContact(obj): Observable {\n return this.http.post(this.url + \"/unlinkContact\", obj);\n }\n addMultiplesCampaignsToContact(obj): Observable {\n return this.http.post(this.url + \"/addMultiplesCampaignsToContact\", obj);\n }\n}\n","import { Component, ViewChild } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { MessageService } from 'primeng/api';\nimport { ViewComponent } from 'src/app/core/view/view.component';\nimport { OrganizationsService } from 'src/app/organizations/organizations.service';\nimport { CampaignsService } from '../campaigns.service';\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\nimport { DialogService } from 'primeng/dynamicdialog';\nimport { ViewsService } from 'src/app/core/view/views.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ComponentService } from 'src/app/core/view/component.service';\nimport { MailingDetailComponent } from 'src/app/mailing/mailing-detail/mailing-detail.component';\nimport { Location } from '@angular/common';\nimport { MailMarketingNotificationToStatsComponent } from 'src/app/mail-marketing/mail-marketing-notification-to-stats/mail-marketing-notification-to-stats.component';\nimport { CampaignsContactsService } from '../campaigns-contacts.service';\nimport { CampaignsOrganizationsService } from '../campaigns-organizations.service';\nimport { MeetingsService } from 'src/app/organizations/organizations-detail/organizations-meetings-detail/meetings.service';\nimport { TasksService } from 'src/app/tasks/tasks.service';\nimport { TransactionsService } from 'src/app/transactions/transactions.service';\nimport { NotificationsService } from 'src/app/notifications/notifications.service';\nimport { CampaignAddElementComponent } from '../campaign-add-element/campaign-add-element.component';\n\n@Component({\n selector: 'app-campaigns-detail',\n templateUrl: './campaigns-detail.component.html',\n styleUrls: ['./campaigns-detail.component.scss']\n})\nexport class CampaignsDetailComponent {\n public campaign: any = {};\n public organization: any = {};\n public last_organization_id;\n public previousUrl;\n @ViewChild(\"view\") public view: ViewComponent;\n constructor(\n private route: ActivatedRoute,\n private organizationsService: OrganizationsService,\n private meetingsService: MeetingsService,\n private tasksService: TasksService,\n private campaignContactsService: CampaignsContactsService,\n private campaignOrganizationsService: CampaignsOrganizationsService,\n private notificationMailsService: NotificationsService,\n private messageService: MessageService,\n private campaignsService: CampaignsService,\n private transactionsService: TransactionsService,\n private coreDialogService: CoreDialogService,\n private dialogService: DialogService,\n private router: Router,\n private viewsService: ViewsService,\n private translateService: TranslateService,\n public componentService: ComponentService,\n private _location: Location\n ) { }\n\n ngOnInit(): void {\n this.route.params.subscribe(params => {\n this.loadData(params[\"id\"]);\n });\n this.route.queryParams.subscribe(params => {\n this.previousUrl = params['returnUrl'];\n });\n }\n\n loadData(id: number) {\n if (id != 0) {\n this.campaignsService.get(id).subscribe({\n next: (data: any) => {\n this.campaign = data;\n this.last_organization_id = this.campaign.organization_id;\n //this.view.setModel(this.campaign);\n this.refreshAll();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n } else {\n this.route.params.subscribe(params => {\n this.campaign.organization_id = parseInt(params[\"organizationId\"]);\n });\n //this.campaign.organization_id = this.config.data.id;\n }\n }\n\n loadDataOrganization(id: number) {\n this.organizationsService.get(id).subscribe({\n next: (data: any) => {\n this.organization = data;\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n\n cancel() {\n this._location.back();\n //this.dynamicDialogRef.close();\n }\n\n save(event: any) {\n if (!event.valid) {\n this.messageService.add({\n closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\")\n });\n return;\n }\n if (this.campaign.email != null) this.campaign.email = this.campaign.email.trim();\n if (this.campaign.email != null && this.campaign.email.length > 0 && !this.validateEmail(this.campaign.email)) {\n this.messageService.add({\n closable: false, severity: \"error\", detail: this.translateService.instant(\"component.campaigns.detail.invalid_mail\")\n });\n return;\n }\n if (typeof this.campaign.id === \"undefined\") {\n this.campaignsService.add(this.campaign).subscribe({\n next: (data: any) => {\n this.messageService.add({\n closable: false, severity: 'success', summary: this.translateService.instant(\"component.campaigns.detail.add_campaign_correct\")\n });\n //this.dynamicDialogRef.close(data);\n //this.loadData(data.id);\n this.router.navigate([\"/campaigns/\" + data.id]);\n //this._location.back();\n\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\n }\n });\n } else {\n if (this.last_organization_id != this.campaign.organization_id) {\n //this.confirmMoveData();\n } else {\n this.campaignsService.save(this.campaign.id, this.campaign).subscribe({\n next: (data: any) => {\n if (this.campaign.disabled == true) {\n this.alertDisable();\n } else {\n this.messageService.add({\n closable: false, severity: \"success\", detail: this.translateService.instant(\"component.campaigns.detail.save_campaign_correct\")\n });\n //this.dynamicDialogRef.close(data);\n if (this.previousUrl != null && this.previousUrl != \"\") {\n this.router.navigate([this.previousUrl]);\n } else {\n this._location.back();\n }\n }\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\n }\n });\n }\n }\n }\n\n delete() {\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.organizations.delete_message\", { name: this.campaign.name }),\n header: this.translateService.instant(\"general.confirmation_delete_title\"), // this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: \"pi pi-info-circle\",\n accept: () => {\n this.campaignsService.delete(this.campaign.id).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\n this.refreshAll();\n //this.dynamicDialogRef.close();\n //this._location.back();\n if (this.previousUrl != null && this.previousUrl != \"\") {\n this.router.navigate([this.previousUrl]);\n } else {\n this.router.navigate(['/campaigns']);\n }\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n });\n },\n reject: () => {\n\n }\n })\n }\n newMail(emailAcc) {\n const ref = this.dialogService.open(MailingDetailComponent, {\n data: {\n to: emailAcc,\n entity_id: 2,\n entity_pk_id: this.campaign.id,\n organization_id: this.campaign.organization_id,\n campaign_id: this.campaign.id,\n //template_type_id: 1,\n template_type_code: \"MAIL\",\n searchRelated: true\n },\n header: this.translateService.instant(\"general.new_mail_title\"),//\"Nuevo mensaje de correo\",\n width: '70%',\n });\n ref.onClose.subscribe((data: any) => {\n if (data) {\n //this.dynamicDialogRef.close(data);\n location.reload();\n }\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\n });\n }\n\n isDuplied(campaign, event) {\n if (!event.valid) {\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\n return;\n }\n this.campaignsService.isDuplied(campaign).subscribe(\n data => {\n if (data == true) {\n this.coreDialogService.notify({\n message: this.translateService.instant(\"component.campaigns.detail.campaign_duplicate\"), //\"Ya existe un campaigno con estos datos proporcionados.\",\n header: this.translateService.instant(\"general.error\"),\n icon: 'far, exclamation-circle',\n color: 'var(--orange-500)',\n accept: () => { }\n });\n } else {\n this.save(event);\n }\n }\n );\n }\n\n refreshAll() {\n this.view.view?.configuration?.components?.forEach(component => {\n this.view.fireEvent(component.code, \"reload\");\n });\n }\n\n /*\n openNotificationStats() {\n const ref = this.dialogService.open(MailMarketingNotificationToStatsComponent, {\n data: {\n //organization_id: this.campaign.organization_id,\n campaign_id: this.campaign.id,\n },\n header: this.translateService.instant(\"component.campaigns.detail.report_clicks\"),\n width: '70%'\n });\n ref.onClose.subscribe((data: any) => {\n //nothing\n })\n }\n*/\n openCall(tlfn: string): void {\n // Verificar si el navegador soporta la función de llamada telefónica\n if ('open' in window) {\n // Utilizar el protocolo tel: seguido del número de teléfono\n window.open(`tel:${tlfn}`);\n } else {\n // Manejar el caso donde la función de llamada telefónica no está soportada\n console.log('Tu navegador no soporta la función de llamada telefónica.');\n }\n }\n\n\n validateEmail(email) {\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return re.test(email);\n }\n\n openEmails() {\n if (this.campaign.id != null) this.router.navigate([\"/emails\", (this.organization.id ? this.organization.id : 0), this.campaign.id]); this.cancel();\n }\n\n alertDisable() {\n this.coreDialogService.notify({\n message: this.translateService.instant(\"component.campaigns.detail.disabled_campaign_alert\"),//\"Se ha dado de baja el campaigno.\",\n header: this.translateService.instant(\"general.error\"),\n icon: 'far exclamation-circle',\n color: 'var(--orange-500)',\n accept: () => {\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.campaigns.detail.save_campaign_correct\") });\n //this._location.back();\n }\n });\n }\n\n openNotificationStats() {\n const ref = this.dialogService.open(MailMarketingNotificationToStatsComponent, {\n data: {\n //organization_id: this.contact.organization_id,\n //contact_id: this.contact.id,\n },\n header: this.translateService.instant(\"component.mailMarketing.toStats.report_clicks\"),\n width: '70%'\n });\n ref.onClose.subscribe((data: any) => {\n //nothing\n })\n }\n\n openOrganization(organization) {\n window.open(\"/organizations/0/\" + (organization.id ? organization.id : 0));\n }\n openMeeting(meeting: any) {\n var params = {\n id: meeting ? meeting.company_id : 0,\n contactId: meeting ? meeting.contact_id : 0,\n meetingId: meeting ? meeting.id : 0,\n deactivated: true\n };\n\n // Construir la URL con los parámetros de consulta\n const url = this.router.serializeUrl(\n this.router.createUrlTree(['/meetings/', meeting ? meeting.id : 0], { queryParams: params })\n );\n\n // Abrir la URL en una nueva pestaña\n window.open(url, '_blank');\n }\n\n openTransaction(transaction, type_id) {\n window.open(\"/transactions/\" + type_id + \"/\" + (transaction.id ? transaction.id : 0))\n }\n openContact(contact) {\n window.open(\"/contacts/\" + (contact.id ? contact.id : 0));\n }\n\n unlinkContact(contact) {\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.campaigns.unlink_contact\", { fullname: contact.fullname }),\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: \"pi pi-info-circle\",\n accept: () => {\n this.campaignContactsService.unlinkContact({ contact_id: contact.id, campaign_id: this.campaign.id }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\n this.refreshAll();\n //this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n })\n },\n reject: () => {\n\n }\n });\n }\n\n unlinkOrganization(organization) {\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.campaigns.unlink_organization\", { name: organization.name }),\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: \"pi pi-info-circle\",\n accept: () => {\n this.campaignOrganizationsService.unlinkOrganization({ organization_id: organization.id, campaign_id: this.campaign.id }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\n this.refreshAll();\n //this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n })\n },\n reject: () => {\n\n }\n });\n }\n\n unlinkMeeting(meeting) {\n meeting.campaign_id = null;\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.campaigns.unlink_meeting\", { subject: meeting.subject }),\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: \"pi pi-info-circle\",\n accept: () => {\n this.meetingsService.save(meeting.id, meeting).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\n this.refreshAll();\n //this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n })\n },\n reject: () => {\n\n }\n });\n }\n unlinkTask(task) {\n task.campaign_id = null;\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.campaigns.unlink_task\", { subject: task.subject }),\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: \"pi pi-info-circle\",\n accept: () => {\n this.tasksService.save(task.id, task).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\n this.refreshAll();\n //this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n })\n },\n reject: () => {\n\n }\n });\n }\n unlinkTransaction(transaction) {\n transaction.campaign_id = null;\n var message = \"component.campaigns_unlink_\";\n if (transaction.transaction_type_id == 1) message += \"oportunity\";\n else if (transaction.transaction_type_id == 2) message += \"sale\";\n else message += \"transaction\";\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.campaigns.unlink_transaction\", { description: transaction.description }),\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: \"pi pi-info-circle\",\n accept: () => {\n this.transactionsService.save(transaction.id, transaction).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\n this.refreshAll();\n //this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n })\n },\n reject: () => {\n\n }\n });\n }\n\n unlinkEmail(mail) {\n mail.campaign_id = null;\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.campaigns.unlink_notificationEmails\", { subject: mail.subject }),\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: \"pi pi-info-circle\",\n accept: () => {\n this.notificationMailsService.unlinkEmail(mail.id).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\n this.refreshAll();\n //this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n })\n },\n reject: () => {\n\n }\n });\n }\n\n openTask(task) {\n window.open(\"/tasks/\" + (task.id ? task.id : 0));\n }\n\n addElementToCampaign(entity) {\n const ref = this.dialogService.open(CampaignAddElementComponent, {\n data: {\n campaign_id: this.campaign.id,\n entity: entity\n },\n header: this.translateService.instant('component.campaigns.detail.add_element'),\n width: \"75%\",\n /*baseZIndex: 1000*/\n });\n ref.onClose.subscribe((data: any) => {\n this.loadData(this.campaign.id);\n });\n }\n viewMail(data) {\n const ref = this.dialogService.open(MailingDetailComponent, {\n data: {\n mail_id: data.id,\n //entity_id: data.notificationEmails.entity.id,\n //template_type_id: 1,\n template_type_code: \"MAIL\",\n searchRelated: true\n },\n header: this.translateService.instant(\"general.new_mail_title\"),\n width: '70%',\n });\n };\n\n onEvent(event: any) {\n if (event.event == \"refreshAll\" && event.action.name == \"refreshAll\") this.loadData(this.campaign.id);\n if (event.component == \"campaigns.detail\") {\n //if (event.event == \"action\" && event.action.name == \"openNotificationStats\") this.openNotificationStats();\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\n if (event.event == \"action\" && event.action.name == \"save\") this.isDuplied(this.campaign, event);\n if (event.event == \"fieldAction\" && event.action.name == \"new-mail\") this.newMail(event.value);\n if (event.event == \"action\" && event.action.name == \"openEmails\") this.openEmails();\n if (event.event == \"fieldAction\" && event.action.name == \"openCall\") this.openCall(event.value);\n }\n\n if (event.component == \"campaigns.opportunities\") {\n if (event.event == \"action\" && event.action.name == \"edit\") this.openTransaction(event.data, 1);\n if (event.event == \"dblclick\") this.openTransaction(event.data, 1);\n if (event.event == \"action\" && event.action.name == \"unlink\") this.unlinkTransaction(event.data);\n if (event.event == \"action\" && event.action.name == \"add\") this.addElementToCampaign(\"oportunity\");\n }\n\n if (event.component == \"campaigns.sales\") {\n if (event.event == \"action\" && event.action.name == \"edit\") this.openTransaction(event.data, 2);\n if (event.event == \"dblclick\") this.openTransaction(event.data, 2);\n if (event.event == \"action\" && event.action.name == \"unlink\") this.unlinkTransaction(event.data);\n if (event.event == \"action\" && event.action.name == \"add\") this.addElementToCampaign(\"sale\");\n }\n\n if (event.component == \"campaigns.tasks\") {\n if (event.event == \"action\" && event.action.name == \"edit\") this.openTask(event.data);\n if (event.event == \"dblclick\") this.openTask(event.data);\n if (event.event == \"action\" && event.action.name == \"unlink\") this.unlinkTask(event.data);\n if (event.event == \"action\" && event.action.name == \"add\") this.addElementToCampaign(\"task\");\n }\n\n if (event.component == \"campaigns.contacts\") {\n if (event.event == \"action\" && event.action.name == \"sendEmailContact\") {\n //Botón enviar email a contacto\n }\n if (event.event == \"action\" && event.action.name == \"edit\") this.openContact(event.data);\n if (event.event == \"dblclick\") this.openContact(event.data);\n if (event.event == \"action\" && event.action.name == \"unlink\") this.unlinkContact(event.data);\n if (event.event == \"action\" && event.action.name == \"add\") this.addElementToCampaign(\"contact\");\n }\n\n if (event.component == \"campaigns.meetings\") {\n if (event.event == \"action\" && event.action.name == \"calendar\") {\n //Botón abrir calendario.\n }\n if (event.event == \"dblclick\") this.openMeeting(event.data);\n if (event.event == \"action\" && event.action.name == \"edit\") this.openMeeting(event.data);\n if (event.event == \"action\" && event.action.name == \"unlink\") this.unlinkMeeting(event.data);\n if (event.event == \"action\" && event.action.name == \"add\") this.addElementToCampaign(\"meeting\");\n }\n\n if (event.component == \"campaigns.mails\") {\n if (event.event == \"action\" && event.action.name == \"resend-mail\") {\n //Reenviar email desde widget.\n }\n if (event.event == \"action\" && event.action.name == \"view\") {\n this.viewMail(event.data);\n }\n if (event.event == \"action\" && event.action.name == \"unlink\") this.unlinkEmail(event.data);\n if (event.event == \"action\" && event.action.name == \"add\") this.addElementToCampaign(\"notificationEmails\");\n }\n\n if (event.component == \"campaigns.organizations\") {\n if (event.event == \"dblclick\") this.openOrganization(event.data);\n if (event.event == \"action\" && event.action.name == \"edit\") this.openOrganization(event.data);\n if (event.event == \"action\" && event.action.name == \"unlink\") this.unlinkOrganization(event.data);\n if (event.event == \"action\" && event.action.name == \"add\") this.addElementToCampaign(\"organization\");\n }\n\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\n //this.config.header = typeof (this.campaign.id) !== \"undefined\" ? \"Detalles del \" + this.view.getEntityBaseName() : \"Nuevo \" + this.view.getEntityBaseName();\n }\n }\n\n}\n","\n","import { Component, ViewChild } from '@angular/core';\nimport { ViewComponent } from 'src/app/core/view/view.component';\nimport { CampaignsService } from '../campaigns.service';\nimport { ViewsService } from 'src/app/core/view/views.service';\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\nimport { DialogService } from 'primeng/dynamicdialog';\nimport { TranslateService } from '@ngx-translate/core';\nimport { Router } from '@angular/router';\nimport { MessageService } from 'primeng/api';\n\n@Component({\n selector: 'app-campaigns-list',\n templateUrl: './campaigns-list.component.html',\n styleUrls: ['./campaigns-list.component.scss']\n})\nexport class CampaignsListComponent {\n @ViewChild(\"view\") public view: ViewComponent;\n public campaignsFilters: any = {};\n\n constructor(\n private campaignsService: CampaignsService,\n private viewsService: ViewsService,\n private coreDialogService: CoreDialogService,\n private messageService: MessageService,\n private dialogService: DialogService,\n private router: Router,\n private translateService: TranslateService,\n ) { }\n\n ngOnInit(): void { }\n\n viewCampaign(campaign) {\n this.router.navigate([\"/campaigns/\" + (campaign ? campaign.id : 0)]);\n }\n\n deleteCampaign(campaign) {\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.campaigns.delete_message\", { name: campaign.name }),\n header: this.translateService.instant(\"genera.confirmation_delete_title\"),\n icon: \"pi pi-info-circle\",\n accept: () => {\n this.campaignsService.delete(campaign.id).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\n this.router.navigate(['/campaigns']);\n this.view.fireEvent(\"campaigns.list.results\", \"reload\");\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n });\n },\n reject: () => { }\n });\n }\n\n onEvent(event: any) {\n if (event.component == \"campaigns.list.filters\") {\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"campaigns.list.results\", \"reload\");\n } else if (event.component == \"campaigns.list.results\") {\n if (event.event == \"dblclick\") this.viewCampaign(event.data);\n if (event.event == \"action\" && event.action.name == \"add\") this.viewCampaign(null);\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewCampaign(event.data);\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteCampaign(event.data);\n if (event.event == \"action\" && event.action.name == \"search\") {\n this.view.fireEvent(\"campaigns.list.results\", \"reload\", event.data);\n }\n }\n }\n}\n","
{{view.getEntityBaseName(true)}}
\n\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { LoaderService } from '../core/loader/loader.service';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class CampaignsOrganizationsService {\n url = \"/api/campaignsOrganizations\";\n\n constructor(private http: HttpClient, private loaderService: LoaderService) { }\n\n all(params): Observable {\n if (params == null) params = {};\n return this.http.get(this.url, { params: params });\n }\n\n get(id): Observable {\n return this.http.get(this.url + \"/\" + id);\n }\n\n save(id, obj): Observable {\n return this.http.put(this.url + \"/\" + id, obj);\n }\n\n add(obj): Observable {\n return this.http.post(this.url, obj);\n }\n\n delete(id): Observable {\n return this.http.delete(this.url + \"/\" + id);\n }\n\n isDuplied(obj): Observable {\n return this.http.post(this.url + \"/isDuplied\", obj);\n }\n\n addMultiples(obj): Observable {\n return this.http.post(this.url + \"/addMultiples\", obj);\n }\n unlinkOrganization(obj): Observable {\n return this.http.post(this.url + \"/unlinkOrganization\", obj);\n }\n addMultiplesCampaignsToOrganization(obj): Observable {\n return this.http.post(this.url + \"/addMultiplesCampaignsToOrganization\", obj);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { CampaignsListComponent } from './campaigns-list/campaigns-list.component';\nimport { CampaignsDetailComponent } from './campaigns-detail/campaigns-detail.component';\n\nconst routes: Routes = [\n { path: \"campaigns\", component: CampaignsListComponent },\n { path: \"campaigns/:id\", component: CampaignsDetailComponent },\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule]\n})\nexport class CampaignsRoutingModule { }\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { CampaignsRoutingModule } from './campaigns-routing.module';\nimport { CampaignsDetailComponent } from './campaigns-detail/campaigns-detail.component';\nimport { CampaignsListComponent } from './campaigns-list/campaigns-list.component';\nimport { FormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { ButtonModule } from 'primeng/button';\nimport { CalendarModule } from 'primeng/calendar';\nimport { CardModule } from 'primeng/card';\nimport { CarouselModule } from 'primeng/carousel';\nimport { CheckboxModule } from 'primeng/checkbox';\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\nimport { DialogModule } from 'primeng/dialog';\nimport { DropdownModule } from 'primeng/dropdown';\nimport { InputTextareaModule } from 'primeng/inputtextarea';\nimport { SplitButtonModule } from 'primeng/splitbutton';\nimport { TableModule } from 'primeng/table';\nimport { TimelineModule } from 'primeng/timeline';\nimport { CoreModule } from '../core/core.module';\nimport { ChartModule } from 'primeng/chart';\nimport { CampaignsChartComponent } from './campaigns-chart/campaigns-chart.component';\nimport { CampaignAddElementComponent } from './campaign-add-element/campaign-add-element.component';\nimport { AddCampaignsToEntityComponent } from './add-campaigns-to-entity/add-campaigns-to-entity.component';\n\n\n@NgModule({\n declarations: [\n CampaignsDetailComponent,\n CampaignsListComponent,\n CampaignsChartComponent,\n CampaignAddElementComponent,\n AddCampaignsToEntityComponent\n ],\n imports: [\n CommonModule,\n CampaignsRoutingModule,\n ButtonModule,\n TableModule,\n ConfirmDialogModule,\n DialogModule,\n FormsModule,\n CheckboxModule,\n CoreModule,\n CardModule,\n FontAwesomeModule,\n InputTextareaModule,\n DropdownModule,\n CalendarModule,\n SplitButtonModule,\n TimelineModule,\n CarouselModule,\n ChartModule,\n TranslateModule\n ],\n exports: [\n CampaignsDetailComponent,\n CampaignsListComponent\n ]\n})\nexport class CampaignsModule { }\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { LoaderService } from '../core/loader/loader.service';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class CampaignsService {\n url = \"/api/campaigns\";\n\n constructor(private http: HttpClient, private loaderService: LoaderService) { }\n\n all(params): Observable {\n if (params == null) params = {};\n return this.http.get(this.url, { params: params });\n }\n getByElementId(params): Observable {\n if (params == null) params = {};\n return this.http.get(this.url+\"/getByElementId\", { params: params });\n }\n\n get(id): Observable {\n return this.http.get(this.url + \"/\" + id);\n }\n\n save(id, obj): Observable {\n return this.http.put(this.url + \"/\" + id, obj);\n }\n\n add(obj): Observable {\n return this.http.post(this.url, obj);\n }\n\n delete(id): Observable {\n return this.http.delete(this.url + \"/\" + id);\n }\n\n isDuplied(obj): Observable {\n return this.http.post(this.url + \"/isDuplied\", obj);\n }\n\n addContacts(obj): Observable {\n return this.http.post(\"/api/campaignsContacts/addMultiple\", obj);\n }\n addOrganizations(obj): Observable {\n return this.http.post(\"/api/campaignsOrganizations/addMultiple\", obj);\n }\n getStats(id): Observable {\n return this.http.get(this.url + \"/getStats/\" + id);\n }\n}\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from '../../../core/view/view.component';\r\nimport { AttachmentsTypesService } from '../attachments-types.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-attachments-types-detail',\r\n templateUrl: './attachments-types-detail.component.html',\r\n styleUrls: ['./attachments-types-detail.component.scss']\r\n})\r\nexport class AttachmentsTypesDetailComponent implements OnInit {\r\n public attachmentType: any = {};\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public attachment_type_type_id;\r\n constructor(\r\n private attachmentsTypesService: AttachmentsTypesService,\r\n private config: DynamicDialogConfig,\r\n private messageService: MessageService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private coreDialogService: CoreDialogService,\r\n private translateService: TranslateService\r\n ) {\r\n this.attachment_type_type_id = this.config.data.attachment_type_type_id;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadAttachmentsTypes(this.config.data.id);\r\n }\r\n\r\n loadAttachmentsTypes(id) {\r\n if (id) {\r\n this.attachmentsTypesService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.attachmentType = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n save(event: any) {\r\n if(this.attachment_type_type_id == 2){\r\n this.attachmentType.is_generic = true;\r\n }\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n if (typeof this.attachmentType.id === \"undefined\") {\r\n this.attachmentsTypesService.add(this.attachmentType).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"component.attachmentType.detail.add_correct\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.attachmentsTypesService.save(this.attachmentType.id, this.attachmentType).subscribe({\r\n next: (data: any) => {\r\n this.attachmentsTypesService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.attachmentType.detail.save_correct\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.attachmentType.delete_message\", { name: this.attachmentType.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.attachmentsTypesService.delete(this.attachmentType.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n isDuplied(event) {\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n this.attachmentsTypesService.isDuplied(this.attachmentType).subscribe(\r\n data => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.attachmentType.detail.types_duplicates\"),\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save(event);\r\n }\r\n }\r\n );\r\n }\r\n\r\n onEvent(event) {\r\n if (event.component == \"attachmentType.edit.general\") {\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.isDuplied(event);\r\n }\r\n\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n this.config.header = typeof (this.attachmentType.id) !== \"undefined\" ?\r\n this.translateService.instant(\"component.attachmentType.detail.detail_entity\", { entity_name: this.view.getEntityBaseName() })\r\n :\r\n this.translateService.instant(\"component.attachmentType.detail.new_entity\", { entity_name: this.view.getEntityBaseName() });\r\n }\r\n }\r\n}\r\n","\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { AttachmentsTypesDetailComponent } from '../attachments-types-detail/attachments-types-detail.component';\r\nimport { AttachmentsTypesService } from '../attachments-types.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-attachments-types-list',\r\n templateUrl: './attachments-types-list.component.html',\r\n styleUrls: ['./attachments-types-list.component.scss']\r\n})\r\nexport class AttachmentsTypesListComponent implements OnInit {\r\n\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public attachmentsTypesFilters: any = {};\r\n public attachment_type_id;\r\n\r\n constructor(\r\n private attachmentsTypesService: AttachmentsTypesService,\r\n private dialogService: DialogService,\r\n private coreDialogService: CoreDialogService,\r\n private messageService: MessageService,\r\n private viewsService: ViewsService,\r\n private activatedRoute: ActivatedRoute,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.attachment_type_id = this.activatedRoute.snapshot.params.attachment_type_id;\r\n }\r\n\r\n viewAttachmentType(attachmentType) {\r\n const ref = this.dialogService.open(AttachmentsTypesDetailComponent, {\r\n data: {\r\n id: attachmentType ? attachmentType.id : 0,\r\n attachment_type_type_id: this.attachment_type_id\r\n },\r\n width: '40%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"attachmentsTypes.list.results\", \"reload\");\r\n });\r\n }\r\n\r\n deleteAttachmentType(attachmentType) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.attachmentType.delete_message\", { name: attachmentType.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.attachmentsTypesService.delete(attachmentType.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"attachmentsTypes.list.results\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => { }\r\n });\r\n }\r\n\r\n onEvent(event: any) {\r\n if (event.component == \"attachmentsTypes.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"attachmentsTypes.list.results\", \"reload\");\r\n } else if (event.component == \"attachmentsTypes.list.results\") {\r\n if (event.event == \"dblclick\") this.viewAttachmentType(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewAttachmentType(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewAttachmentType(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteAttachmentType(event.data);\r\n }\r\n }\r\n}\r\n","\r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { AttachmentsTypesListComponent } from './attachments-types-list/attachments-types-list.component';\r\n\r\nconst routes: Routes = [{path:'zones', component:AttachmentsTypesListComponent}];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class AttachmentsTypesRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { AttachmentsTypesRoutingModule } from './attachments-types-routing.module';\r\nimport { AttachmentsTypesListComponent } from './attachments-types-list/attachments-types-list.component';\r\nimport { AttachmentsTypesDetailComponent } from './attachments-types-detail/attachments-types-detail.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TableModule } from 'primeng/table';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { CoreModule } from 'src/app/core/core.module';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [AttachmentsTypesListComponent, AttachmentsTypesDetailComponent],\r\n imports: [\r\n CommonModule,\r\n AttachmentsTypesRoutingModule,\r\n InputTextModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n AppRoutingModule,\r\n TranslateModule\r\n ],\r\n exports:[AttachmentsTypesListComponent, AttachmentsTypesDetailComponent]\r\n})\r\nexport class AttachmentsTypesModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class AttachmentsTypesService {\r\n url = \"/api/attachmentsTypes\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n isDuplied(obj): Observable{\r\n return this.http.post(this.url+\"/isDuplied\",obj);\r\n }\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { BusinessService } from '../business.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-business-detail',\r\n templateUrl: './business-detail.component.html',\r\n styleUrls: ['./business-detail.component.scss']\r\n})\r\nexport class BusinessDetailComponent implements OnInit {\r\n\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public business: any = {};\r\n constructor(\r\n private businessService: BusinessService,\r\n\r\n private config: DynamicDialogConfig,\r\n private messageService: MessageService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private coreDialogService: CoreDialogService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadBusiness(this.config.data.id);\r\n }\r\n\r\n loadBusiness(id) {\r\n if (id) {\r\n this.businessService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.business = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n save(event: any) {\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n if (typeof this.business.id === \"undefined\") {\r\n this.businessService.add(this.business).subscribe({\r\n next: (data: any) => {\r\n this.dynamicDialogRef.close();\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"component.business.detail.add_correct\") });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.businessService.save(this.business.id, this.business).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.business.detail.save_correct\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.business.delete_message\", { name: this.business.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.businessService.delete(this.business.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n isDuplied(business, event) {\r\n if (business.name == null || business.name == \"\"){\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"component.business.detail.no_name\") });\r\n return;\r\n }\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n this.businessService.isDuplied(business).subscribe(\r\n data => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.business.detail.business_duplicate\"),\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save(event);\r\n }\r\n }\r\n );\r\n }\r\n\r\n onEvent(event) {\r\n if (event.component == \"business.edit.general\") {\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.isDuplied(this.business, event);\r\n }\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n this.config.header = typeof (this.business.id) !== \"undefined\" ?\r\n this.translateService.instant(\"component.business.detail.detail_entity\", { entity_name: this.view.getEntityBaseName() })\r\n :\r\n this.translateService.instant(\"component.business.detail.new_entity\", { entity_name: this.view.getEntityBaseName() });\r\n }\r\n }\r\n}\r\n","","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { BusinessDetailComponent } from '../business-detail/business-detail.component';\r\nimport { BusinessService } from '../business.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-business-list',\r\n templateUrl: './business-list.component.html',\r\n styleUrls: ['./business-list.component.scss']\r\n})\r\nexport class BusinessListComponent implements OnInit {\r\n\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public businessFilters: any = {};\r\n\r\n constructor(\r\n private businessService: BusinessService,\r\n private dialogService: DialogService,\r\n private coreDialogService: CoreDialogService,\r\n private messageService: MessageService,\r\n private viewsService: ViewsService,\r\n private activatedRoute: ActivatedRoute,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n //this.attachment_type_id = this.activatedRoute.snapshot.params.attachment_type_id;\r\n }\r\n\r\n viewBusiness(business) {\r\n const ref = this.dialogService.open(BusinessDetailComponent, {\r\n data: {\r\n id: business ? business.id : 0,\r\n },\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"business.list.results\", \"reload\");\r\n });\r\n }\r\n\r\n deleteAttachmentType(business) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.business.delete_message\", { name: business.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.businessService.delete(business.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"business.list.results\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => { }\r\n });\r\n }\r\n\r\n onEvent(event: any) {\r\n if (event.component == \"business.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"business.list.results\", \"reload\");\r\n } else if (event.component == \"business.list.results\") {\r\n if (event.event == \"dblclick\") this.viewBusiness(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewBusiness(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewBusiness(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteAttachmentType(event.data);\r\n }\r\n }\r\n}\r\n","\r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { BusinessDetailComponent } from './business-detail/business-detail.component';\r\nimport { BusinessListComponent } from './business-list/business-list.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"business\", component: BusinessListComponent },\r\n { path: \"business/:id\", component: BusinessDetailComponent }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class BusinessRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { BusinessRoutingModule } from './business-routing.module';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TableModule } from 'primeng/table';\r\nimport { CountriesRoutingModule } from '../countries/countries-routing.module';\r\nimport { BusinessListComponent } from './business-list/business-list.component';\r\nimport { BusinessDetailComponent } from './business-detail/business-detail.component';\r\nimport { BusinessService } from './business.service';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { CoreModule } from 'src/app/core/core.module';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [BusinessListComponent, BusinessDetailComponent],\r\n imports: [\r\n CommonModule,\r\n BusinessRoutingModule,\r\n InputTextModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n AppRoutingModule,\r\n TranslateModule\r\n ],\r\n exports: [BusinessDetailComponent, BusinessListComponent]\r\n})\r\nexport class BusinessModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class BusinessService {\r\n url = \"/api/business\";\r\n\r\n constructor(private http: HttpClient) {\r\n\r\n }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n if (id != 0 && typeof id !== \"undefined\") {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n } else {\r\n return this.add(obj);\r\n }\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n isDuplied(obj): Observable {\r\n return this.http.post(this.url + \"/isDuplied\", obj);\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { FeaturesService } from 'src/app/features/features.service';\r\nimport { CompanyLicenseService } from './company-license.service';\r\n\r\n@Component({\r\n selector: 'app-company-license',\r\n templateUrl: './company-license.component.html',\r\n styleUrls: ['./company-license.component.scss']\r\n})\r\nexport class CompanyLicenseComponent implements OnInit {\r\n\r\n public license: any;\r\n public features: any[];\r\n constructor(\r\n private licensesService: CompanyLicenseService,\r\n private featuresService: FeaturesService,\r\n\r\n private messageService: MessageService,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadData();\r\n this.loadFeatures();\r\n }\r\n loadData(){\r\n this.licensesService.getLastLicense().subscribe({\r\n next: (data: any) => {\r\n this.license = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadFeatures(){\r\n this.featuresService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.features = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n getFeaturesInGroup(group) {\r\n return this.features.filter(m => m.group == group);\r\n }\r\n}\r\n","\r\n\r\n \r\n
\r\n {{'component.companyLicense.license_data' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{license.renew_date?license.renew_date:' Sin fecha de renovación '}}\r\n
\r\n
\r\n \r\n {{license.number_of_users}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n

{{'component.companyLicense.features_contracted' | translate}}

\r\n
\r\n
\r\n
\r\n {{feature.name}}\r\n
\r\n
\r\n
\r\n

{{'component.companyLicense.integrations_contracted' | translate}}

\r\n
\r\n
\r\n\r\n
\r\n {{feature.name}}\r\n
\r\n
\r\n
\r\n
","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { AppSettingsService } from 'src/app/app-settings.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CompanyLicenseService {\r\n url = \"licenses\";\r\n\r\n constructor(private http: HttpClient, private appSetting: AppSettingsService) {\r\n this.url = appSetting.Api(this.url);\r\n }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n getLastLicense(): Observable {\r\n return this.http.get(this.url + \"/getLastLicense\", { params: {} });\r\n }\r\n canCreateUser(user_id = null): Observable {\r\n //Si se pasa user_id, comprobará si se puede modificar un usuario y activarlo.\r\n //Si no se pasa user_id, comprobará si se puede crear un usuario.\r\n var params = {};\r\n if (user_id) {\r\n params[\"user_id\"] = user_id;\r\n }\r\n return this.http.get(this.url + \"/canCreateUser\", { params: params });\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { EntitiesService } from '../entities.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-configuration-main-page',\r\n templateUrl: './configuration-main-page.component.html',\r\n styleUrls: ['./configuration-main-page.component.scss']\r\n})\r\nexport class ConfigurationMainPageComponent implements OnInit {\r\n\r\n public configuration: boolean;\r\n public pipeline_configuration: boolean;\r\n public personalize_interface: boolean;\r\n public families: boolean;\r\n public roles_configuration: boolean;\r\n public create_templates: boolean;\r\n public create_clients: boolean;\r\n public mail_history: boolean;\r\n public zonesPermission: boolean;\r\n public business: boolean;\r\n public entities: any[];\r\n\r\n constructor(\r\n private loginService: LoginService,\r\n private entitiesService: EntitiesService,\r\n private messageService: MessageService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n\r\n this.configuration = this.loginService.hasPermission(\"CONFIGURATION\");\r\n this.pipeline_configuration = this.loginService.hasPermission(\"PIPELINE_CONFIGURATION\");\r\n this.personalize_interface = this.loginService.hasPermission(\"PERSONALIZE_INTERFACE\");\r\n this.families = this.loginService.hasPermission(\"FAMILIES_READ\");\r\n this.roles_configuration = (this.loginService.hasPermission(\"ROLES_CONFIGURATION\") || localStorage.getItem(\"isSuperAdmin\") === \"true\");\r\n this.create_templates = this.loginService.hasPermission(\"CREATE_TEMPLATES\");\r\n this.create_clients = this.loginService.hasPermission(\"CREATE_CLIENTS\");\r\n this.mail_history = this.loginService.hasPermission(\"MAIL_HISTORY\");\r\n this.zonesPermission = this.loginService.hasPermission(\"ZONES_SUPERADMIN\") || this.loginService.hasPermission(\"ZONES_READ\");\r\n\r\n //this.sectorsPermission = this.loginService.hasPermission(\"CREATE_SECTORS\");\r\n //this.originsPermission = this.loginService.hasPermission(\"CREATE_ORIGINS\");\r\n this.business = this.loginService.hasFeature(\"31\");\r\n\r\n this.entitiesService.all({}).subscribe(\r\n data => {\r\n this.entities = data.rows;\r\n },\r\n error => {\r\n this.messageService.add({ severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n getName(table, otherName) {\r\n if (typeof (this.entities) != \"undefined\" && this.entities != null && this.entities.length != 0) {\r\n let aux = this.entities.filter(m => m.code == table);\r\n let res = aux.length > 0 ? aux[0] : null;\r\n\r\n if (res != null) {\r\n //buscamos el nombre en el idioma\r\n var name = res.name_plural;\r\n var strPlural = \"name_plural\";\r\n var key = res.code + \".entity.\" + strPlural;\r\n if (this.translateService.instant(key) !== key) {\r\n name = this.translateService.instant(key);\r\n }\r\n return name;\r\n } else {\r\n var name = otherName;\r\n var strPlural = \"name_plural\";\r\n var key = table + \".entity.\" + strPlural;\r\n if (this.translateService.instant(key) !== key) {\r\n name = this.translateService.instant(key);\r\n }\r\n return name;\r\n }\r\n /*if (res != null) {\r\n return res.name_plural;\r\n } else {\r\n return otherName;\r\n }*/\r\n }\r\n return otherName;\r\n }\r\n}\r\n","","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { ImportListComponent } from '../import/import-list/import-list.component';\r\nimport { NotificationsListComponent } from '../notifications/notifications-list/notifications-list.component';\r\nimport { UsersDetailComponent } from '../users/users-detail/users-detail.component';\r\nimport { UsersListComponent } from '../users/users-list/users-list.component';\r\nimport { AttachmentsTypesDetailComponent } from './attachments-types/attachments-types-detail/attachments-types-detail.component';\r\nimport { AttachmentsTypesListComponent } from './attachments-types/attachments-types-list/attachments-types-list.component';\r\nimport { BusinessListComponent } from './business/business-list/business-list.component';\r\nimport { BusinessDetailComponent } from './business/business-detail/business-detail.component';\r\nimport { CompanyLicenseComponent } from './company-license/company-license.component';\r\nimport { ConfigurationMainPageComponent } from './configuration-main-page/configuration-main-page.component';\r\nimport { CountriesDetailComponent } from './countries/countries-detail/countries-detail.component';\r\nimport { CountriesListComponent } from './countries/countries-list/countries-list.component';\r\nimport { EntitiesDetailComponent } from './entities-detail/entities-detail.component';\r\nimport { EntitiesListComponent } from './entities-list/entities-list.component';\r\nimport { FamiliesDetailComponent } from './families/families-detail/families-detail.component';\r\nimport { FamiliesListComponent } from './families/families-list/families-list.component';\r\nimport { IntegrationListComponent } from './integration/integration-list/integration-list.component';\r\nimport { MailAccountsListComponent } from './mail-accounts/mail-accounts-list/mail-accounts-list.component';\r\nimport { OrganizationsTypesDetailComponent } from './organizations-types/organizations-types-detail/organizations-types-detail.component';\r\nimport { OrganizationsTypesListComponent } from './organizations-types/organizations-types-list/organizations-types-list.component';\r\nimport { OriginsListComponent } from './origins/origins-list/origins-list.component';\r\nimport { ProvincesDetailComponent } from './provinces/provinces-detail/provinces-detail.component';\r\nimport { ProvincesListComponent } from './provinces/provinces-list/provinces-list.component';\r\nimport { RolesDetailComponent } from './roles/roles-detail/roles-detail.component';\r\nimport { RolesListComponent } from './roles/roles-list/roles-list.component';\r\nimport { SectorsListComponent } from './sectors/sectors-list/sectors-list.component';\r\nimport { TasksActionsTypesListComponent } from './tasks-actions-types/tasks-actions-types-list/tasks-actions-types-list.component';\r\nimport { TaxRatesDetailComponent } from './tax-rates/tax-rates-detail/tax-rates-detail.component';\r\nimport { TaxRatesListComponent } from './tax-rates/tax-rates-list/tax-rates-list.component';\r\nimport { TemplatesListComponent } from './templates/templates-list/templates-list.component';\r\nimport { TrackingLogsComponent } from './tracking-logs/tracking-logs.component';\r\nimport { TransactionStatusListComponent } from './transaction-status/transaction-status-list/transaction-status-list.component';\r\nimport { TransactionTypesListComponent } from './transaction-types/transaction-types-list/transaction-types-list.component';\r\nimport { ViewsListComponent } from './views/view-list/views-list.component';\r\nimport { ZonesDetailComponent } from './zones/zones-detail/zones-detail.component';\r\nimport { ZonesListComponent } from './zones/zones-list/zones-list.component';\r\nimport { MailInOutListComponent } from '../notifications/mail-in-out-list/mail-in-out-list.component';\r\nimport { TaskStatusListComponent } from './task-status/task-status-list/task-status-list.component';\r\nimport { TaskStatusDetailComponent } from './task-status/task-status-detail/task-status-detail.component';\r\nimport { ReasonsTransactionsStatusListComponent } from './reasons-transactions-status/reasons-transactions-status-list/reasons-transactions-status-list.component';\r\nimport { ReasonsTransactionsStatusDetailComponent } from './reasons-transactions-status/reasons-transactions-status-detail/reasons-transactions-status-detail.component';\r\n\r\n\r\nconst routes: Routes = [\r\n {\r\n path: \"configuration\", component: ConfigurationMainPageComponent, children: [\r\n { path: '', component: EntitiesListComponent },\r\n { path: 'entities', component: EntitiesListComponent },\r\n { path: \"entities/:id\", component: EntitiesDetailComponent },\r\n { path: \"organizationsTypes\", component: OrganizationsTypesListComponent },\r\n { path: \"organizationsTypes/:id\", component: OrganizationsTypesDetailComponent },\r\n { path: \"countries\", component: CountriesListComponent },\r\n { path: \"countries/:id\", component: CountriesDetailComponent },\r\n { path: \"roles\", component: RolesListComponent },\r\n { path: \"roles/:id\", component: RolesDetailComponent },\r\n { path: \"transactionsTypes\", component: TransactionTypesListComponent },\r\n { path: \"transactionsStatus\", component: TransactionStatusListComponent },\r\n { path: \"templates\", component: TemplatesListComponent },\r\n { path: \"mailAccounts\", component: MailAccountsListComponent },\r\n { path: \"views\", component: ViewsListComponent },\r\n { path: \"zones\", component: ZonesListComponent },\r\n { path: \"zones/:id\", component: ZonesDetailComponent },\r\n { path: \"users\", component: UsersListComponent },\r\n { path: \"users/:id\", component: UsersDetailComponent },\r\n { path: \"attachmentsTypes\", component: AttachmentsTypesListComponent },\r\n { path: \"attachmentsTypes/:attachment_type_id\", component: AttachmentsTypesListComponent },\r\n { path: \"attachmentsTypes/:attachment_type_id/:id\", component: AttachmentsTypesDetailComponent },\r\n { path: \"business\", component: BusinessListComponent },\r\n { path: \"business/:id\", component: BusinessDetailComponent },\r\n { path: \"families\", component: FamiliesListComponent },\r\n { path: \"families/:id\", component: FamiliesDetailComponent },\r\n { path: \"logs\", component: TrackingLogsComponent },\r\n { path: \"import\", component: ImportListComponent },\r\n { path: \"integrations\", component: IntegrationListComponent },\r\n { path: \"notifications\", component: NotificationsListComponent },\r\n { path: \"emails\", component: MailInOutListComponent },\r\n { path: 'companyLicense', component: CompanyLicenseComponent },\r\n { path: \"tasksActionsTypes\", component: TasksActionsTypesListComponent },\r\n { path: \"sectors\", component: SectorsListComponent },\r\n { path: \"origins\", component: OriginsListComponent },\r\n { path: \"provinces\", component: ProvincesListComponent },\r\n { path: \"provinces/:id\", component: ProvincesDetailComponent },\r\n { path: \"taskStatus\", component: TaskStatusListComponent },\r\n { path: \"taskStatus/:id\", component: TaskStatusDetailComponent },\r\n { path: \"taxRates\", component: TaxRatesListComponent },\r\n { path: \"taxRates/:id\", component: TaxRatesDetailComponent },\r\n { path: \"reasonsTransactionsStatus\", component: ReasonsTransactionsStatusListComponent },\r\n { path: \"reasonsTransactionsStatus/:id\", component: ReasonsTransactionsStatusDetailComponent },\r\n ]\r\n },\r\n\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class ConfigurationRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { ConfigurationRoutingModule } from './configuration-routing.module';\r\nimport { TableModule } from 'primeng/table';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { EntitiesService } from './entities.service';\r\nimport { EntitiesFieldsService } from './entities-fields.service';\r\nimport { EntitiesDetailFieldsComponent } from './entities-detail/entities-detail-fields/entities-detail-fields.component';\r\nimport { InputTextareaModule } from 'primeng/inputtextarea';\r\n\r\nimport { EntitiesListComponent } from './entities-list/entities-list.component';\r\nimport { EntitiesDetailComponent } from './entities-detail/entities-detail.component';\r\nimport { ConfigurationMainPageComponent } from './configuration-main-page/configuration-main-page.component';\r\nimport { CountriesListComponent } from './countries/countries-list/countries-list.component';\r\nimport { RolesListComponent } from './roles/roles-list/roles-list.component';\r\nimport { RolesDetailComponent } from './roles/roles-detail/roles-detail.component';\r\nimport { RolesService } from './roles/roles.service';\r\nimport { PermissionsService } from './roles/permissions.service';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport { TrackingLogsComponent } from './tracking-logs/tracking-logs.component';\r\nimport { MultiSelectModule } from 'primeng/multiselect';\r\nimport { MonacoEditorModule, MONACO_PATH } from '@materia-ui/ngx-monaco-editor';\r\nimport { TabViewModule } from 'primeng/tabview';\r\nimport { HttpConfigInterceptor } from '../core/loader/httpconfig.interceptor';\r\nimport { HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { ColorPickerModule } from 'primeng/colorpicker';\r\nimport { AccordionModule } from 'primeng/accordion';\r\nimport { CompanyLicenseComponent } from './company-license/company-license.component';\r\nimport { CascadeSelectModule } from 'primeng/cascadeselect';\r\nimport { EntityFieldMasiveOptionsComponent } from './entities-detail/entities-detail-fields/entity-field-masive-options/entity-field-masive-options.component';\r\nimport { MessageModule } from 'primeng/message';\r\nimport { TaxRatesListComponent } from './tax-rates/tax-rates-list/tax-rates-list.component';\r\nimport { TaxRatesDetailComponent } from './tax-rates/tax-rates-detail/tax-rates-detail.component';\r\nimport { AddItemToEntityFieldListComponent } from './entities-detail/entities-detail-fields/add-item-to-entity-field-list/add-item-to-entity-field-list.component';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\nimport { CountriesDetailComponent } from './countries/countries-detail/countries-detail.component';\r\nimport { Tooltip, TooltipModule } from 'primeng/tooltip';\r\nimport { ReasonsTransactionsStatusDetailComponent } from './reasons-transactions-status/reasons-transactions-status-detail/reasons-transactions-status-detail.component';\r\nimport { ReasonsTransactionsStatusListComponent } from './reasons-transactions-status/reasons-transactions-status-list/reasons-transactions-status-list.component';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n EntitiesListComponent,\r\n EntitiesDetailComponent,\r\n EntitiesDetailFieldsComponent,\r\n ConfigurationMainPageComponent,\r\n CountriesDetailComponent,\r\n CountriesListComponent,\r\n RolesListComponent,\r\n RolesDetailComponent,\r\n TrackingLogsComponent,\r\n CompanyLicenseComponent,\r\n EntityFieldMasiveOptionsComponent,\r\n TaxRatesListComponent,\r\n TaxRatesDetailComponent,\r\n ReasonsTransactionsStatusDetailComponent,\r\n ReasonsTransactionsStatusListComponent,\r\n AddItemToEntityFieldListComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n ConfigurationRoutingModule,\r\n ButtonModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n TableModule,\r\n FormsModule,\r\n DropdownModule,\r\n ConfirmDialogModule,\r\n InputTextModule,\r\n FormsModule,\r\n InputTextareaModule,\r\n CheckboxModule,\r\n CalendarModule,\r\n MultiSelectModule,\r\n MonacoEditorModule,\r\n TabViewModule,\r\n ColorPickerModule,\r\n AccordionModule,\r\n CascadeSelectModule,\r\n MessageModule,\r\n TranslateModule,\r\n TooltipModule\r\n ],\r\n exports: [\r\n EntitiesListComponent,\r\n EntitiesDetailComponent,\r\n EntitiesDetailFieldsComponent,\r\n AddItemToEntityFieldListComponent,\r\n RolesListComponent,\r\n RolesDetailComponent,\r\n TaxRatesDetailComponent,\r\n TaxRatesListComponent,\r\n ],\r\n providers: [\r\n EntitiesService,\r\n EntitiesFieldsService,\r\n RolesService,\r\n PermissionsService,\r\n { provide: HTTP_INTERCEPTORS, useClass: HttpConfigInterceptor, multi: true },\r\n {\r\n provide: MONACO_PATH,\r\n useValue: 'https://unpkg.com/monaco-editor@0.24.0/min/vs'\r\n }\r\n ]\r\n})\r\nexport class ConfigurationModule { }\r\n","import { HttpClient, HttpHeaders } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ConfigurationService {\r\n\r\n url = \"/api/configuration\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n company(): Observable {\r\n return this.http.get(this.url + \"/company\");\r\n }\r\n\r\n css(): Observable {\r\n return this.http.get(this.url + \"/css\", { responseType: 'text' as 'json' });\r\n }\r\n\r\n configuration(): Observable {\r\n return this.http.get(this.url + \"/configuration\");\r\n }\r\n\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { Router, ActivatedRoute } from \"@angular/router\";\r\nimport { MessageService } from 'primeng/api';\r\nimport { FormGroup, NgForm } from '@angular/forms';\r\nimport { CoreFormService } from 'src/app/core/forms/core-forms.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { CountriesService } from '../countries.service';\r\n\r\n@Component({\r\n selector: 'app-countries-detail',\r\n templateUrl: './countries-detail.component.html',\r\n styleUrls: ['./countries-detail.component.scss']\r\n})\r\n\r\nexport class CountriesDetailComponent implements OnInit {\r\n @ViewChild(\"formDetails\") public formDetails: NgForm;\r\n public country: any = {\r\n iso_code_2: \"\",\r\n iso_code_3: \"\",\r\n name: \"\"\r\n };\r\n\r\n constructor(\r\n private countriesService: CountriesService,\r\n private route: ActivatedRoute, private router: Router,\r\n private messageService: MessageService,\r\n private coreFormService: CoreFormService,\r\n private coreDialogService: CoreDialogService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.route.params.subscribe(params => {\r\n this.loadData(params['id']);\r\n });\r\n }\r\n\r\n loadData(id: number) {\r\n if (id != 0) {\r\n this.countriesService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.country = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n cancel() {\r\n this.router.navigate(['/configuration/countries']);\r\n }\r\n\r\n save() {\r\n if (this.coreFormService.validate(this.formDetails)) {\r\n this.countriesService.save(this.country.id, this.country).subscribe({\r\n next: (data: any) => {\r\n var _msg = (this.country.id != 0 && typeof this.country.id !== \"undefined\") ? \"modificado\" : \"añadido\";\r\n this.messageService.add({ closable: false, severity: 'success', summary: \"País \" + _msg + \" correctamente\" });\r\n this.router.navigate(['/configuration/countries']);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.country.delete_message\", { name: this.country.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.countriesService.delete(this.country.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.router.navigate(['/configuration/countries']);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n isDuplied() {\r\n var errorMessage = \"\";\r\n if (this.country.iso_code_2.length != 2) {\r\n errorMessage += \"El código ISO 2 debe tener 2 carácteres. \\n\";\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: this.translateService.instant(\"component.country.detail.iso_2_characters\") });\r\n }\r\n if (this.country.iso_code_3.length != 3) {\r\n errorMessage += \"El código ISO 3 debe tener 3 carácteres. \\n\";\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: this.translateService.instant(\"component.country.detail.iso_3_characters\") });\r\n }\r\n if (this.country.name.length <= 0) {\r\n //errorMessage += \"El nombre no puede estar vacío. \\n\";\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: this.translateService.instant(\"component.country.detail.name_not_empty\") });\r\n }\r\n /*if(errorMessage){\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: errorMessage });\r\n }*/\r\n this.countriesService.isDuplied(this.country).subscribe(\r\n data => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.country.detail.types_duplicates\"),\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save();\r\n }\r\n }\r\n );\r\n }\r\n}\r\n","\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { FilterService, MessageService } from 'primeng/api';\r\nimport { Table } from 'primeng/table';\r\nimport { CountriesService } from '../countries.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-countries-list',\r\n templateUrl: './countries-list.component.html',\r\n styleUrls: ['./countries-list.component.scss'],\r\n providers: []\r\n})\r\nexport class CountriesListComponent implements OnInit {\r\n\r\n @ViewChild(\"grid\") public grid:Table;\r\n public countriesFilters:any = {};\r\n public countries:any[];\r\n public totalRecords:number;\r\n public loading:boolean = false;\r\n private lastGridEvent:any;\r\n\r\n public first;\r\n public last;\r\n constructor(private countriesService:CountriesService, \r\n private router:Router,\r\n private coreDialogService: CoreDialogService,\r\n private messageService: MessageService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n search(){\r\n this.lastGridEvent.first = 0;\r\n this.loadData(this.lastGridEvent);\r\n }\r\n\r\n clearFilters(){\r\n this.countriesFilters = {};\r\n this.search();\r\n }\r\n\r\n loadData($event){\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField?$event.sortField:\"\",\r\n _sortDirection: $event.sortOrder>0?\"asc\":\"desc\"\r\n };\r\n params = Object.assign(params, this.countriesFilters);\r\n this.countriesService.all(params).subscribe({\r\n next: (data: any) => {\r\n this.totalRecords = data.totalRows;\r\n this.countries = data.rows;\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n\r\n edit(country){\r\n this.router.navigate(['/configuration/countries/', country.id ]);\r\n }\r\n\r\n delete(country){\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.country.delete_message\", { name: country.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.countriesService.delete(country.id).subscribe({\r\n next: (data: any) => {\r\n this.loadData(this.lastGridEvent);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n \r\n }\r\n });\r\n }\r\n}\r\n","\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n {{ 'general.filter.title' | translate}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n {{ 'country.entity.name_plural' | translate}}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {{ 'country.entity_fields.id' | translate}}\r\n {{ 'country.entity_fields.iso_code_2' | translate}}\r\n {{ 'country.entity_fields.iso_code_3' | translate}}\r\n {{ 'country.entity_fields.name' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n {{country.id}}\r\n {{country.iso_code_2}}\r\n {{country.iso_code_3}}\r\n {{country.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CountriesService {\r\n\r\n url = \"/api/countries\";\r\n\r\n constructor(private http: HttpClient) {\r\n\r\n }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n \r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n if (id != 0 && typeof id !== \"undefined\") {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n } else {\r\n return this.add(obj);\r\n }\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n } \r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n isDuplied(obj):Observable{\r\n return this.http.post(this.url+\"/isDuplied\",obj);\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { EntitiesFieldsService } from 'src/app/configuration/entities-fields.service';\r\n\r\n@Component({\r\n selector: 'app-add-item-to-entity-field-list',\r\n templateUrl: './add-item-to-entity-field-list.component.html',\r\n styleUrls: ['./add-item-to-entity-field-list.component.scss']\r\n})\r\nexport class AddItemToEntityFieldListComponent implements OnInit {\r\n\r\n public element: any;\r\n public is_create: any = false;\r\n public entityField: any;\r\n\r\n constructor(\r\n private config: DynamicDialogConfig,\r\n private messageService: MessageService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private entitiesFieldsService: EntitiesFieldsService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.element = {};\r\n if (this.config.data.element != null) {\r\n this.element = JSON.parse(JSON.stringify(this.config.data.element));\r\n //Si llega aquí es que el usuario está editando un elemento.\r\n this.is_create = false;\r\n } else {\r\n //Si llega aquí, es que el usuario está creando un elemento nuevo.\r\n this.is_create = true;\r\n }\r\n this.entityField = this.config.data.entityField;\r\n }\r\n\r\n delete() {\r\n\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close(this.entityField);\r\n }\r\n\r\n save(saveAndContinue: boolean = false) {\r\n if (this.element.code && this.element.text) {\r\n //Si estamos creando un nuevo elemento, hay que comprobar que no está el código en la lista:\r\n var indice = this.entityField.configuration.options?.items?.findIndex(op => op.code == this.element.code.trim());\r\n if (this.is_create && indice >= 0) {\r\n this.messageService.add({ severity: 'error', summary: 'Error', detail: this.translateService.instant(\"component.entity.detail_fields_fields.element_exist_code\") });\r\n return;\r\n }\r\n\r\n if (this.isEmpty(this.entityField.configuration)) this.entityField.configuration = { options: { items: [] }, field_text: 'text', field_value: 'code' };\r\n if (this.entityField.configuration.field_text == null) this.entityField.configuration = { field_text: 'text', field_value: 'code' };\r\n if (this.entityField.configuration.options == null) this.entityField.configuration['options'] = {};\r\n if (this.entityField.configuration.options.items == null) this.entityField.configuration.options['items'] = [];\r\n\r\n if (indice >= 0) {\r\n //Si ya existe, sobreescribimos:\r\n this.entityField.configuration.options.items[indice] = { code: this.element.code.trim(), text: this.element.text.trim() };\r\n } else {\r\n //Si no lo encuentra, simplemente lo añade:\r\n this.entityField.configuration.options?.items?.push({ code: this.element.code.trim(), text: this.element.text.trim() });\r\n }\r\n\r\n //this.modelMonaco = JSON.stringify(this.entityField.configuration, null, \"\\t\");\r\n\r\n if (this.entityField.id) {\r\n this.entitiesFieldsService.save(this.entityField.id, this.entityField).subscribe({\r\n next: ( data:any) => {\r\n if(this.is_create) {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"component.entity.detail_fields_fields.add_correct\") });\r\n } else {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"component.entity.detail_fields_fields.save_correct\") });\r\n }\r\n if (saveAndContinue) {\r\n this.element = {};\r\n this.is_create = true;\r\n } else {\r\n this.dynamicDialogRef.close(this.entityField);\r\n }\r\n },\r\n error: (error:any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n if (this.is_create) {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"component.entity.detail_fields_fields.add_correct\") });\r\n } else {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"component.entity.detail_fields_fields.save_correct\") });\r\n }\r\n if (saveAndContinue) {\r\n this.element = {};\r\n this.is_create = true;\r\n } else {\r\n this.dynamicDialogRef.close(this.entityField);\r\n }\r\n }\r\n } else {\r\n this.messageService.add({ severity: 'error', summary: 'Error', detail: this.translateService.instant(\"component.entity.detail_fields_fields.error_no_data\") });\r\n }\r\n }\r\n isEmpty(obj) {\r\n return Object.keys(obj).length === 0;\r\n }\r\n}\r\n","

{{'component.entity.detail_fields_fields.add_new_title' | translate}}

\r\n

{{'component.entity.detail_fields_fields.modify_title' | translate}}

\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { MonacoStandaloneCodeEditor } from '@materia-ui/ngx-monaco-editor';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { EntitiesFieldsService } from '../../entities-fields.service';\r\nimport { RolesService } from '../../roles/roles.service';\r\nimport { EntityFieldMasiveOptionsComponent } from './entity-field-masive-options/entity-field-masive-options.component';\r\nimport * as XLSX from 'xlsx';\r\nimport * as FileSaver from 'file-saver';\r\nimport { AddItemToEntityFieldListComponent } from './add-item-to-entity-field-list/add-item-to-entity-field-list.component';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ComponentService } from '../../../core/view/component.service';\r\nimport { EntitiesService } from '../../entities.service';\r\n@Component({\r\n selector: 'app-entities-detail-fields',\r\n templateUrl: './entities-detail-fields.component.html',\r\n styleUrls: ['./entities-detail-fields.component.scss']\r\n})\r\nexport class EntitiesDetailFieldsComponent implements OnInit {\r\n public control_types = [\r\n { name: 'input-text' },\r\n { name: 'input-number' },\r\n { name: 'select' },\r\n { name: 'label' },\r\n { name: 'dropdown' },\r\n { name: 'dropdown-multiple' }\r\n ];\r\n public data_types = [\r\n { name: this.translateService.instant(\"component.entity.detail.string\"), value: 'string' },\r\n { name: this.translateService.instant(\"component.entity.detail.textarea\"), value: 'textarea' },\r\n { name: this.translateService.instant(\"component.entity.detail.number\"), value: 'number' },\r\n { name: this.translateService.instant(\"component.entity.detail.date\"), value: 'date' },\r\n { name: this.translateService.instant(\"component.entity.detail.boolean\"), value: 'boolean' },\r\n { name: this.translateService.instant(\"component.entity.detail.list\"), value: 'list' },\r\n { name: this.translateService.instant(\"component.entity.detail.list_multiple\"), value: 'list_multiple' }\r\n ];\r\n public entityField: any = {\r\n entity_id: this.config.data.entity_id,\r\n data_type: this.data_types[0].value,\r\n is_base_field: 0,\r\n configuration: {},\r\n control_type: \"input-text\",\r\n model_property: \"custom_\",\r\n is_disabled: false,\r\n };\r\n\r\n public selected_data_type: any;\r\n\r\n public code: any;\r\n public text: any;\r\n public items: any[] = [];\r\n public modelMonaco: any = {};\r\n public editorOptions = { theme: 'vs-dark', language: 'json' };\r\n public roles: any[] = [];\r\n public selectedRoles: any[] = [];\r\n public require_roles = false;\r\n \r\n constructor(\r\n private entitiesFieldsService: EntitiesFieldsService,\r\n private messageService: MessageService,\r\n private rolesService: RolesService,\r\n private config: DynamicDialogConfig,\r\n private router: Router,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private coreDialogService: CoreDialogService,\r\n private dialogService: DialogService,\r\n private translateService: TranslateService,\r\n private entitiesService: EntitiesService,\r\n public componentService: ComponentService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadData(this.config.data.id);\r\n this.loadRoles();\r\n }\r\n loadData(id) {\r\n if (id != 0 && id != null) {\r\n this.entitiesFieldsService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.entityField = data;\r\n this.entityField.entity_code = (this.entityField.entity != null ? this.entityField.entity.code : this.entityField.entity_custom.code);\r\n\r\n this.entityField.description = this.componentService.getFieldDescription(this.entityField, false);\r\n\r\n //TODO: this.selected_data_type = this.attachment.selected_data_type;\r\n //if (this.entityField.configuration == null) this.entityField.configuration = { options: { items: [] }, field_text: 'text', field_value: 'code' };\r\n this.selectedRoles = (this.entityField.configuration != null ? this.entityField.configuration['viewRoles'] : null);\r\n if (this.selectedRoles?.length > 0) this.require_roles = true;\r\n this.modelMonaco = (this.entityField.configuration != null ? JSON.stringify(this.entityField.configuration, null, \"\\t\") : JSON.stringify({}, null, \"\\t\"));\r\n this.updateNameType();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.modelMonaco = \"{}\";\r\n }\r\n }\r\n\r\n loadRoles() {\r\n this.rolesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.roles = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n editorInit(editor: MonacoStandaloneCodeEditor) { }\r\n\r\n onMonacoChange(event) {\r\n this.entityField.configuration = JSON.parse(this.modelMonaco);\r\n }\r\n\r\n save(closeWindow = true) {\r\n if (this.entityField.id === \"undefined\") this.updateControlType(); //Solo loo hacemos si es nuevo, sino se deja como estaba.\r\n if (this.entityField.data_type == \"boolean\" && this.entityField.default_value == false) this.entityField.default_value = null;\r\n if (this.entityField.data_type == \"textarea\") this.entityField.data_type = \"string\";\r\n if (!this.isEmpty(this.modelMonaco)) {\r\n //this.entityField.configuration = JSON.parse(this.modelMonaco);\r\n }\r\n\r\n //por conpatibilidad con lo anterior ELIMINADO: 12/04/24 para poder utilizar traducciones. Name tiene que ser como model_property.\r\n this.entityField.name = this.entityField.description;\r\n\r\n if (this.require_roles) {\r\n this.entityField.configuration['viewRoles'] = this.selectedRoles;\r\n } else {\r\n this.entityField.configuration['viewRoles'] = [];\r\n }\r\n this.entityField.configuration[\"allowedUpdateMasive\"] = true;\r\n\r\n //si es un dropdown customizado, configuramos campos del dropdown\r\n if ((this.entityField.control_type == \"dropdown\" || this.entityField.control_type == 'dropdown-multiple') && this.entityField.is_base_field == false) {\r\n this.entityField.configuration[\"field_text\"] = 'text';\r\n this.entityField.configuration[\"field_value\"] = 'code';\r\n }\r\n\r\n if (typeof this.entityField.id === \"undefined\") {\r\n\r\n this.entitiesFieldsService.add(this.entityField).subscribe({\r\n next: (data: any) => {\r\n if (closeWindow) {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.entity.detail_fields.add_correct\") });\r\n this.dynamicDialogRef.close(data);\r\n //Para cargarlo en la cache\r\n this.entitiesService.initCache((success) => { });\r\n } else {\r\n this.entityField = data;\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"component.entity.detail_fields.elements_add_correct\") });\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n\r\n } else {\r\n this.entitiesFieldsService.save(this.entityField.id, this.entityField).subscribe({\r\n next: (data: any) => {\r\n if (closeWindow) {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.entity.detail_fields.save_correct\") });\r\n this.dynamicDialogRef.close(data);\r\n //Para cargarlo en la cache\r\n this.entitiesService.initCache((success) => { });\r\n } else {\r\n this.entityField = data;\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"component.entity.detail_fields.elements_add_correct\") });\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.entity.delete_message\", { name: this.entityField.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.entitiesFieldsService.delete(this.entityField.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close();\r\n //Para cargarlo en la cache\r\n this.entitiesService.initCache((success) => { });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n isEmpty(obj) {\r\n return Object.keys(obj).length === 0;\r\n }\r\n addItem(element) {\r\n const ref = this.dialogService.open(AddItemToEntityFieldListComponent, {\r\n data: {\r\n element: element,\r\n //entityField_id: this.entityField.id,\r\n entityField: this.entityField\r\n },\r\n showHeader: false,\r\n //header: element ? \"Elemento de la lista\",\r\n width: '70%',\r\n //baseZIndex: 1000\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data) {\r\n this.entityField.configuration = data.configuration;\r\n this.modelMonaco = JSON.stringify(this.entityField.configuration, null, \"\\t\");\r\n }\r\n });\r\n }\r\n\r\n deleteItem(item) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.entity.detail_fields.delete_message\", { name: item.code }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n var i = 0;\r\n this.entityField.configuration.options.items.forEach(element => {\r\n if (element.code == item.code) {\r\n this.entityField.configuration.options.items.splice(i, 1);\r\n }\r\n i++;\r\n });\r\n this.modelMonaco = JSON.stringify(this.entityField.configuration, null, \"\\t\");\r\n\r\n if (this.entityField.id) {\r\n this.entitiesFieldsService.save(this.entityField.id, this.entityField).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"component.entity.detail_fields_fields.delete_message\") });\r\n },\r\n error: (error:any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n updateControlType() {\r\n if(this.entityField.configuration.formatFn != null) delete this.entityField.configuration.formatFn;\r\n switch (this.selected_data_type) {\r\n case 'string':\r\n this.entityField.data_type = 'string';\r\n this.entityField.control_type = 'input-text'; //O input-textarea. Hay que contemplar esto\r\n break;\r\n case 'textarea':\r\n this.entityField.data_type = 'string';\r\n this.entityField.control_type = 'input-textarea';\r\n break;\r\n case 'number':\r\n this.entityField.data_type = 'number';\r\n this.entityField.control_type = 'input-number';\r\n break;\r\n case 'date':\r\n this.entityField.data_type = 'date';\r\n this.entityField.control_type = 'input-datetime';\r\n this.entityField.configuration.formatFn = \"date|dd/MM/YYYY HH:mm\";\r\n break;\r\n case 'boolean':\r\n this.entityField.data_type = 'boolean';\r\n this.entityField.control_type = 'checkbox';\r\n break;\r\n case 'list':\r\n this.entityField.data_type = 'list';\r\n this.entityField.control_type = 'dropdown';\r\n break;\r\n case 'list_multiple':\r\n this.entityField.data_type = 'list_multiple';\r\n this.entityField.control_type = 'dropdown-multiple';\r\n break;\r\n default:\r\n break;\r\n }\r\n }\r\n\r\n updateNameType() {\r\n switch (this.entityField.control_type) {\r\n case 'input-text':\r\n this.selected_data_type = 'string';\r\n break;\r\n case 'input-number':\r\n this.selected_data_type = 'number';\r\n break;\r\n case 'input-textarea':\r\n this.selected_data_type = 'textarea';\r\n break;\r\n case 'input-datetime':\r\n this.selected_data_type = 'date';\r\n break;\r\n case 'checkbox':\r\n this.selected_data_type = 'boolean';\r\n break;\r\n case 'dropdown':\r\n this.selected_data_type = 'list';\r\n break;\r\n case 'dropdown-multiple':\r\n this.selected_data_type = 'list_multiple';\r\n break;\r\n }\r\n /*if (this.selected_data_type == 'list') {\r\n if (this.entityField.data_type == \"list_multiple\") this.selected_data_type = 'list_multiple';\r\n }*/\r\n }\r\n\r\n addItemMasive() {\r\n const ref = this.dialogService.open(EntityFieldMasiveOptionsComponent, {\r\n data: {},\r\n header: this.translateService.instant(\"component.entity.detail_fields.add_masive\"),\r\n width: '70%',\r\n /*baseZIndex: 1000*/\r\n });\r\n ref.onClose.subscribe(data => {\r\n if (data) {\r\n if (this.isEmpty(this.entityField.configuration)) this.entityField.configuration = { options: { items: [] }, field_text: 'text', field_value: 'code' };\r\n if (this.entityField.configuration.options == null) this.entityField.configuration['options'] = {};\r\n this.entityField.configuration.options['items'] = [];\r\n\r\n data.forEach(keyValue => {\r\n //Si encuentra su índice en las opciones existentes, no lo añade, sino que lo sobreescribe:\r\n var index = this.entityField.configuration.options?.items?.findIndex(op => op.code == keyValue[0]);\r\n if (index >= 0) {\r\n this.entityField.configuration.options.items[index] = { code: keyValue[0], text: keyValue[1] };\r\n } else {\r\n //Si no lo encuentra, simplemente lo añade:\r\n this.entityField.configuration.options?.items?.push({ code: keyValue[0], text: keyValue[1] });\r\n }\r\n });\r\n this.save(false);\r\n this.modelMonaco = JSON.stringify(this.entityField.configuration, null, \"\\t\");\r\n }\r\n });\r\n }\r\n\r\n exportExcel() {\r\n var aux = [];\r\n //For que recorre cada row y column y devuelve un objeto que será exportado a excel:\r\n var obj = {};\r\n this.entityField.configuration?.options?.items.forEach(row => {\r\n obj[row.code] = row.text;\r\n });\r\n aux.push(obj);\r\n //Promise.resolve(null).then(() => this.loading = false);\r\n const worksheet = XLSX.utils.json_to_sheet(this.entityField.configuration?.options?.items);\r\n const workbook = { Sheets: { 'data': worksheet }, SheetNames: ['data'] };\r\n const excelBuffer: any = XLSX.write(workbook, { bookType: 'xlsx', type: 'array' });\r\n this.saveAsExcelFile(excelBuffer, \"data\");\r\n }\r\n\r\n saveAsExcelFile(buffer: any, fileName: string): void {\r\n let EXCEL_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8';\r\n let EXCEL_EXTENSION = '.xlsx';\r\n const data: Blob = new Blob([buffer], {\r\n type: EXCEL_TYPE\r\n });\r\n FileSaver.saveAs(data, fileName + '_export_' + new Date().getTime() + EXCEL_EXTENSION);\r\n }\r\n}\r\n","\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n {{'component.entity.detail_fields.code' | translate}}\r\n {{'component.entity.detail_fields.text' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{item.code}}\r\n {{item.text}}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n {{'component.entity.detail_fields.roles' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n {{role.name}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n 0 && !entityField.is_base_field\" icon=\"pi pi-trash\"\r\n styleClass=\"p-button-danger\" (click)=\"delete()\">\r\n
\r\n \r\n \r\n \r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogRef } from 'primeng/dynamicdialog';\r\n\r\n@Component({\r\n selector: 'app-entity-field-masive-options',\r\n templateUrl: './entity-field-masive-options.component.html',\r\n styleUrls: ['./entity-field-masive-options.component.scss']\r\n})\r\nexport class EntityFieldMasiveOptionsComponent implements OnInit {\r\n\r\n public text: string = \"\";\r\n\r\n constructor(\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private messageService: MessageService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n save() {\r\n var finalItems = [];\r\n\r\n if (this.text.includes(\"|\") || this.text.includes(\"\\t\")) {\r\n var items = this.text.split(\"\\n\").filter(m => m.length > 0);\r\n var errorLine = 0;\r\n\r\n for (let index = 0; index < items.length; index++) {\r\n const item = items[index];\r\n if (this.text.includes(\"|\")) {\r\n var keyValue = item.split(\"|\");\r\n keyValue[0] = keyValue[0].trim();\r\n keyValue[1] = keyValue[1].trim();\r\n } else {\r\n var keyValue = item.split(\"\\t\");\r\n }\r\n if (keyValue[0].length == 0) {\r\n errorLine = index + 1;\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: this.translateService.instant(\"component.entity.detail_fields_fields.error_empty_key\", { errorLine: errorLine }) });\r\n break;\r\n } else {\r\n finalItems.push(keyValue);\r\n }\r\n }\r\n if (errorLine == 0) this.dynamicDialogRef.close(finalItems);\r\n } else {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: this.translateService.instant(\"component.entity.detail_fields_fields.error_separator\") });\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { FormGroup, NgForm } from '@angular/forms';\r\nimport { MonacoEditorLoaderService, MonacoStandaloneCodeEditor } from '@materia-ui/ngx-monaco-editor';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { EntitiesFieldsService } from '../entities-fields.service';\r\nimport { EntitiesService } from '../entities.service';\r\nimport { EntitiesDetailFieldsComponent } from './entities-detail-fields/entities-detail-fields.component';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ComponentService } from '../../core/view/component.service';\r\nimport { DebugService } from '../../core/debug.service';\r\n\r\n@Component({\r\n selector: 'app-entities-detail',\r\n templateUrl: './entities-detail.component.html',\r\n styleUrls: ['./entities-detail.component.scss']\r\n})\r\nexport class EntitiesDetailComponent implements OnInit {\r\n public entitiesFields: any[];\r\n public entitiesFieldsForDuplicities: any[];\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n private lastGridEvent: any;\r\n public entity: any;\r\n public modelMonaco: any = {};\r\n public editorOptions = { theme: 'vs-dark', language: 'json' };\r\n public selectedEntities: any[] = [];\r\n\r\n public first;\r\n public last;\r\n\r\n //Permisos:\r\n public create_fields: boolean;\r\n public isSuperAdmin: boolean = false\r\n\r\n @ViewChild(\"formDetails\") public formDetails: NgForm;\r\n\r\n\r\n constructor(\r\n private entitiesFieldsService: EntitiesFieldsService,\r\n private config: DynamicDialogConfig,\r\n private messageService: MessageService,\r\n private dialogService: DialogService,\r\n private coreDialogService: CoreDialogService,\r\n private entityService: EntitiesService,\r\n private entityFieldsService: EntitiesFieldsService,\r\n private loginService: LoginService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private translateService: TranslateService,\r\n public componentService: ComponentService,\r\n public debugService: DebugService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.create_fields = this.loginService.hasPermission(\"CREATE_FIELDS\");\r\n this.entity = { name: \"\" };\r\n this.isSuperAdmin = (localStorage.getItem(\"isSuperAdmin\") === 'false' ? false : true);\r\n }\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\",\r\n entity_id: this.config.data.id\r\n }\r\n this.entityService.get(params.entity_id).subscribe({\r\n next: (data: any) => {\r\n this.entity = data;\r\n this.entity.name = this.componentService.getEntityName(this.entity, false);\r\n this.entity.name_plural = this.componentService.getEntityName(this.entity, true);\r\n\r\n this.loadEntitiesFieldsForDuplicities();\r\n this.modelMonaco = (this.entity.metadata != null ? JSON.stringify(this.entity.metadata, null, \"\\t\") : JSON.stringify({}, null, \"\\t\"));\r\n if (this.entity.metadata != null) this.selectedEntities = this.entity.metadata.duplicities;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n this.entitiesFieldsService.all(params).subscribe({\r\n next: (data: any) => {\r\n this.totalRecords = data.totalRows;\r\n this.entitiesFields = data.rows;\r\n this.entitiesFields.forEach((item: any) => {\r\n item.entity_code = item.entity.code;\r\n item.description = this.componentService.getFieldDescription(item, false);\r\n\r\n if (this.debugService.enabled) item.description += \" (\" + (item.entity_code + \".entity.name\") + \")\";\r\n });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n\r\n loadEntitiesFieldsForDuplicities() {\r\n this.entitiesFieldsService.all({ entity_id: this.config.data.id }).subscribe({\r\n next: (data: any) => {\r\n this.entitiesFieldsForDuplicities = data.rows;\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n\r\n edit(entityField) {\r\n if (!entityField) entityField = { id: 0 };\r\n const ref = this.dialogService.open(EntitiesDetailFieldsComponent, {\r\n data: {\r\n id: entityField.id,\r\n entity_id: this.config.data.id,\r\n entity_field_id: entityField.entity_field_id\r\n },\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.loadData(this.lastGridEvent);\r\n });\r\n }\r\n editorInit(editor: MonacoStandaloneCodeEditor) { }\r\n\r\n onMonacoChange(event) {\r\n this.entity.metadata = JSON.parse(this.modelMonaco);\r\n }\r\n\r\n save() {\r\n this.entity.metadata = JSON.parse(this.modelMonaco);\r\n this.entity.metadata.duplicities = this.selectedEntities;\r\n this.entityService.save(this.entity.id, this.entity).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.entity.detail.save_correct\") });\r\n location.reload();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n onRowReorder(event: any) {\r\n if (event.dragIndex != event.dropIndex) {\r\n this.entityFieldsService.reorderFields(event.dragIndex, event.dropIndex, this.entity.id).subscribe({\r\n next: (data: any) => {\r\n //this.messageService.add({ closable: false, severity: 'success', detail: \"Acción realizada correctamente\" });\r\n this.loadData(this.lastGridEvent);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n delete(entityField) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.entity.delete_message\", { name: entityField.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.entitiesFieldsService.delete(entityField.id).subscribe({\r\n next: (res: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.loadData(this.lastGridEvent);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n onEvent(event) {\r\n\r\n if (event.component == \"attachments.edit.general\") {\r\n if (event.event == \"onChange\") { };\r\n }\r\n\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n //this.config.header = typeof (this.entity.id) !== \"undefined\" ? \"Detalles de la \" + this.view.getEntityBaseName() : \"Nueva \" + this.view.getEntityBaseName();\r\n }\r\n }\r\n}\r\n\r\n","\r\n\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n {{'component.entity.detail.additional_fields' | translate}}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {{'component.entity.detail.position' | translate}}\r\n {{'component.entity.detail.property' | translate}}\r\n {{'component.entity.detail.name' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{entityField.position}}\r\n {{entityField.model_property}}\r\n ({{'component.entity.detail.inactive' |\r\n translate}}) {{entityField.description}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n

{{'general.confirmation_delete_title' | translate}}

\r\n
\r\n \r\n \r\n \r\n \r\n
","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class EntitiesFieldsService {\r\n\r\n url = \"/api/entitiesFields\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(\"/api/entitiesFieldsCustom/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(\"/api/entitiesFieldsCustom/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(\"/api/entitiesFieldsCustom/\", obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(\"/api/entitiesFieldsCustom/\" + id);\r\n }\r\n reorderFields(dragPos, dropPos, entity_id): Observable {\r\n return this.http.get(this.url + \"/reorderFields/\" + dragPos + \"/\" + dropPos + \"/\" + entity_id)\r\n }\r\n GetEntityFieldDescription(entity_id, entity_field_model_property): Observable {\r\n let params = {\r\n entity_id: entity_id,\r\n entity_field_model_property: entity_field_model_property\r\n }\r\n return this.http.get(\"api/entitiesFieldsCustom/GetEntityFieldDescription/\", { params: params });\r\n }\r\n GetTransactionLinesFieldsAvailable(): Observable {\r\n let params = {}\r\n return this.http.get(\"api/entitiesFieldsCustom/GetTransactionLinesFieldsAvailable/\", { params: params });\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { EntitiesDetailComponent } from '../entities-detail/entities-detail.component';\r\nimport { EntitiesService } from '../entities.service';\r\nimport { ComponentService } from '../../core/view/component.service';\r\nimport { DebugService } from '../../core/debug.service';\r\n\r\n@Component({\r\n selector: 'app-entities-list',\r\n templateUrl: './entities-list.component.html',\r\n styleUrls: ['./entities-list.component.scss']\r\n})\r\nexport class EntitiesListComponent implements OnInit {\r\n public entitiesFilters: any = {};\r\n public entities: any[];\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n private lastGridEvent: any;\r\n\r\n public first;\r\n public last;\r\n //Permisos:\r\n public access_entities_fields: boolean;\r\n\r\n constructor(\r\n private entitiesService: EntitiesService,\r\n private dialogService: DialogService,\r\n private messageService: MessageService,\r\n private loginService: LoginService,\r\n public componentService: ComponentService,\r\n\r\n public debugService: DebugService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.access_entities_fields = this.loginService.hasPermission(\"ACCESS_ENTITIES_FIELDS\");\r\n }\r\n\r\n search() {\r\n this.lastGridEvent.first = 0;\r\n this.loadData(this.lastGridEvent);\r\n }\r\n\r\n clearFilters() {\r\n this.entitiesFilters = {};\r\n this.search();\r\n }\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\"\r\n };\r\n params = Object.assign(params, this.entitiesFilters);\r\n this.entitiesService.all(params).subscribe({\r\n next: (data: any) => {\r\n this.totalRecords = data.totalRows;\r\n this.entities = data.rows;\r\n this.entities.forEach((item: any) => {\r\n item.name = this.componentService.getEntityName(item, false);\r\n if (this.debugService.enabled) item.name += \" (\" + (item.code + \".entity.name\") + \")\";\r\n item.name_plural = this.componentService.getEntityName(item, true);\r\n });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n edit(entity) {\r\n if (this.access_entities_fields) {\r\n const ref = this.dialogService.open(EntitiesDetailComponent, {\r\n data: {\r\n id: entity.id\r\n },\r\n // header: \"Detalle de Entidad - \" + entity.name,\r\n width: '70%',\r\n /*baseZIndex: 999*/\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data != null) {\r\n this.loadData(this.lastGridEvent);\r\n }\r\n this.loadData(this.lastGridEvent);\r\n });\r\n }\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n {{ 'entity.entity.name_plural' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {{ 'entity.entity.name' | translate}}\r\n {{ 'entity.entity.name_plural' | translate}}\r\n {{ 'entity.entity_fields.for_reports' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n {{entity.name}}\r\n {{entity.name_plural}}\r\n {{entity.for_reports?\"Sí\":\"No\"}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class EntitiesService {\r\n\r\n url = \"/api/entities\";\r\n cacheEntities: any[] = [];\r\n\r\n constructor(\r\n private http: HttpClient\r\n ) { }\r\n\r\n initCache(cbFn:Function){\r\n this.http.get(this.url + \"/all\").subscribe(\r\n data => {\r\n this.cacheEntities = data;\r\n cbFn(true);\r\n },\r\n error => {\r\n console.log(error);\r\n cbFn(false);\r\n }\r\n );\r\n }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(\"/api/entitiesCustom/\" + id);\r\n }\r\n\r\n getRelatedEntities(id): Observable {\r\n return this.http.get(this.url+ \"/related_entities/\" + id);\r\n }\r\n\r\n getByCode(code:string): Observable {\r\n let observable = Observable.create(observer => {\r\n let entity = this.cacheEntities.find(m => m.code == code);\r\n if (entity == null) {\r\n this.http.get(this.url + \"/bycode/\" + code).subscribe(data => {\r\n observer.next(data);\r\n observer.complete();\r\n });\r\n } else {\r\n //devolvemos un clon\r\n var clonedEntity = JSON.parse(JSON.stringify(entity));\r\n observer.next(clonedEntity);\r\n observer.complete();\r\n }\r\n });\r\n\r\n return observable;\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(\"/api/entitiesCustom/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n\r\n isDuplied(id, obj): Observable{\r\n return this.http.post(this.url+\"/\"+ id + \"/isDuplied\", obj);\r\n }\r\n\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from '../../../core/view/view.component';\r\nimport { FamiliesService } from '../families.service';\r\nimport { TransactionsService } from '../../../transactions/transactions.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-families-detail',\r\n templateUrl: './families-detail.component.html',\r\n styleUrls: ['./families-detail.component.scss']\r\n})\r\nexport class FamiliesDetailComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public family: any = {};\r\n constructor(\r\n private familiesService: FamiliesService,\r\n\r\n private config: DynamicDialogConfig,\r\n private messageService: MessageService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private coreDialogService: CoreDialogService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadFamilies(this.config.data.id);\r\n }\r\n\r\n loadFamilies(id) {\r\n if (id) {\r\n this.familiesService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.family = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n save(event: any) {\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n if (typeof this.family.id === \"undefined\") {\r\n this.familiesService.add(this.family).subscribe({\r\n next: (data: any) => {\r\n this.dynamicDialogRef.close();\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.families.detail.add_correct\") });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.familiesService.save(this.family.id, this.family).subscribe({\r\n next: (data: any) => {\r\n this.familiesService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.families.detail.save_correct\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.families.delete_message\", { name: this.family.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.familiesService.delete(this.family.id).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n )\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n isDuplied(family, event) {\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n this.familiesService.isDuplied(family).subscribe(\r\n data =>{\r\n if(data==true){\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.families.detail.types_duplicates\"),\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept:() => { }\r\n });\r\n }else{\r\n this.save(event);\r\n }\r\n }\r\n );\r\n }\r\n\r\n onEvent(event) {\r\n if (event.component == \"families.edit.general\") {\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.isDuplied(this.family,event);\r\n }\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n this.config.header = typeof (this.family.id) !== \"undefined\" ?\r\n this.translateService.instant(\"component.families.detail.detail_entity\", { entity_name: this.view.getEntityBaseName() }) :\r\n this.translateService.instant(\"component.families.detail.new_entity\", { entity_name: this.view.getEntityBaseName() })\r\n }\r\n }\r\n}\r\n","\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { FamiliesDetailComponent } from '../families-detail/families-detail.component';\r\nimport { FamiliesService } from '../families.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-families-list',\r\n templateUrl: './families-list.component.html',\r\n styleUrls: ['./families-list.component.scss']\r\n})\r\nexport class FamiliesListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public familiesFilters: any = {};\r\n\r\n constructor(\r\n private familiesService: FamiliesService,\r\n private viewsService: ViewsService,\r\n\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private dialogService: DialogService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n viewFamily(family) {\r\n const ref = this.dialogService.open(FamiliesDetailComponent, {\r\n data: {\r\n id: family ? family.id : 0\r\n },\r\n //header: family ? \"Detalles de la familia\" : \"Nueva familia\",\r\n width: '40%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"families.list.results\", \"reload\");\r\n });\r\n }\r\n\r\n deleteFamily(family) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.families.delete_message\", { name: family.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.familiesService.delete(family.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"families.list.results\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => { }\r\n });\r\n }\r\n\r\n onEvent(event: any) {\r\n if (event.component == \"families.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"families.list.results\", \"reload\");\r\n } else if (event.component == \"families.list.results\") {\r\n if (event.event == \"dblclick\") this.viewFamily(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewFamily(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewFamily(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteFamily(event.data);\r\n }\r\n }\r\n}\r\n","\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { FamiliesListComponent } from './families-list/families-list.component';\r\n\r\nconst routes: Routes = [\r\n {path:'families', component:FamiliesListComponent}\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class FamiliesRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { FamiliesRoutingModule } from './families-routing.module';\r\nimport { FamiliesListComponent } from './families-list/families-list.component';\r\nimport { FamiliesDetailComponent } from './families-detail/families-detail.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TableModule } from 'primeng/table';\r\nimport { CoreModule } from 'src/app/core/core.module';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [FamiliesListComponent, FamiliesDetailComponent],\r\n imports: [\r\n CommonModule,\r\n FamiliesRoutingModule,\r\n InputTextModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n TranslateModule\r\n ],\r\n exports: [FamiliesListComponent, FamiliesDetailComponent]\r\n})\r\nexport class FamiliesModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FamiliesService {\r\n\r\n url = \"/api/families\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n isDuplied(obj):Observable{\r\n return this.http.post(this.url+\"/isDuplied\",obj);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CompaniesIntegrationsService {\r\n\r\n url = \"/api/companiesintegrations\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n getByCode(code): Observable {\r\n return this.http.get(this.url + \"/bycode/\" + code);\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { LoaderService } from 'src/app/core/loader/loader.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class GMailService {\r\n\r\n url = \"/api/google\";\r\n\r\n constructor(private http: HttpClient, private loaderService:LoaderService) { }\r\n\r\n authorize(): Observable {\r\n return this.http.get(this.url + \"/google/authorize\");\r\n }\r\n\r\n me(): Observable {\r\n this.loaderService.skipRequest(this.url + \"/google/me\", null);\r\n return this.http.get(this.url + \"/google/me\");\r\n }\r\n\r\n users(id): Observable {\r\n return this.http.get(this.url + \"/google/\" + id + \"/users\");\r\n }\r\n\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { UtilsService } from '../../../core/utils.service';\r\nimport { CompaniesIntegrationsService } from '../companiesintegrations.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-integration-edit-apirest',\r\n templateUrl: './integration-edit-apirest.component.html',\r\n styleUrls: ['./integration-edit-apirest.component.scss']\r\n})\r\nexport class IntegrationEditApirestComponent implements OnInit {\r\n\r\n /*\r\n - Organizaciones: sin acceso / lectura / lectura y escritura\r\n - Contactos: sin acceso / lectura / lectura y escritura\r\n - Actividades: sin acceso / lectura / lectura y escritura\r\n */\r\n\r\n public permissions: any = [\r\n { name: this.translateService.instant('component.integrations.no_permission'), value: \"\" },\r\n { name: this.translateService.instant('component.integrations.read_permission'), value: \"read\" },\r\n { name: this.translateService.instant('component.integrations.readwrite_permission'), value: \"readwrite\" }\r\n ];\r\n\r\n public integration: any = {\r\n configuration: {}\r\n };\r\n\r\n constructor(\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private companiesIntegrationsService: CompaniesIntegrationsService,\r\n private messageService: MessageService,\r\n private utilsService: UtilsService,\r\n private translateService: TranslateService,\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.companiesIntegrationsService.getByCode(\"apirest\").subscribe(\r\n data => {\r\n if (data != null) {\r\n if (data.configuration == null) data.configuration = {};\r\n this.integration = data;\r\n }\r\n if (this.integration.configuration.user == null || this.integration.configuration.user == \"\") this.integration.configuration.user = this.utilsService.randomString(10);\r\n if (this.integration.configuration.password == null || this.integration.configuration.password == \"\") this.integration.configuration.password = this.utilsService.randomString(10);\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n save() {\r\n //const md5 = new Md5();\r\n //obj.configuration.password = md5.appendStr(obj.configuration.password).end();\r\n this.companiesIntegrationsService.save(this.integration.id, this.integration).subscribe(\r\n data => {\r\n this.dynamicDialogRef.close();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n}\r\n","\r\n \r\n
\r\n {{'component.integrations.configuration.user'|translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n {{'component.integrations.apirest_permissions'|translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from '../../../core/dialogs/core-dialog.service';\r\nimport { CompaniesIntegrationsService } from '../companiesintegrations.service';\r\nimport { IntegrationEditGMailUserEditComponent } from './user-config/user-config.component';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-integration-edit-gmail',\r\n templateUrl: './integration-edit-gmail.component.html',\r\n styleUrls: ['./integration-edit-gmail.component.scss']\r\n})\r\nexport class IntegrationEditGMailComponent implements OnInit {\r\n\r\n public integration: any = {\r\n configuration: {\r\n users: []\r\n }\r\n };\r\n\r\n public connected: boolean = false;\r\n public connectionInfo: any = {};\r\n public users: any[] = [];\r\n\r\n constructor(\r\n private coreDialogService: CoreDialogService,\r\n private dialogService: DialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private companiesIntegrationsService: CompaniesIntegrationsService,\r\n private messageService: MessageService,\r\n private usersService: UsersService,\r\n private translateService: TranslateService,\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.companiesIntegrationsService.getByCode(\"gmail\").subscribe({\r\n next: (data: any) => {\r\n if (data != null) {\r\n if (data.configuration == null) data.configuration = {};\r\n if (data.configuration.users == null) data.configuration.users = [];\r\n this.integration = data;\r\n this.loadUsers();\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n save() {\r\n this.companiesIntegrationsService.save(this.integration.id, this.integration).subscribe({\r\n next: (data: any) => {\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n loadUsers() {\r\n let params: any = {\r\n _sortBy: \"name\"\r\n };\r\n this.usersService.all(params).subscribe({\r\n next: (users: any) => {\r\n this.users = users.rows;\r\n this.users.forEach(user => {\r\n let currentUserConfig = this.integration.configuration.users.find(m => m.user_id == user.id);\r\n if (currentUserConfig == null) {\r\n currentUserConfig = {\r\n user_id: user.id,\r\n name: user.name,\r\n contacts: { enabled: false },\r\n mail: { enabled: false },\r\n calendar: { enabled: false },\r\n connected: false,\r\n id: null\r\n };\r\n this.integration.configuration.users.push(currentUserConfig);\r\n } else {\r\n currentUserConfig.name = user.name;\r\n }\r\n });\r\n\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n configUser(user: any) {\r\n const ref = this.dialogService.open(IntegrationEditGMailUserEditComponent, {\r\n header: this.translateService.instant('component.integrations.user_configuration'),\r\n width: '500px',\r\n data: {\r\n user: user\r\n }\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data) {\r\n user.contacts = data.contacts;\r\n user.mail = data.mail;\r\n user.calendar = data.calendar;\r\n }\r\n });\r\n }\r\n}\r\n","\r\n \r\n {{'component.integrations.gmail_info1'|translate}}
\r\n {{'component.integrations.gmail_info2'|translate}}\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {{user.name}}\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n {{'component.integrations.connected'|translate}}
\r\n
\r\n {{'component.integrations.connection_pending'|translate}}
\r\n
\r\n {{'component.integrations.without_connection'|translate}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog'\r\nimport { UsersService } from '../../../../users/users.service';\r\n\r\n@Component({\r\n selector: 'app-integration-edit-gmail-user-config',\r\n templateUrl: './user-config.component.html',\r\n styleUrls: ['./user-config.component.scss']\r\n})\r\nexport class IntegrationEditGMailUserEditComponent implements OnInit {\r\n\r\n public contactsModes: any = [\r\n { name: \"Axial <= GMail\", value: \"<\" },\r\n { name: \"Axial => GMail\", value: \">\" },\r\n { name: \"Axial <=> GMail\", value: \"<>\" }\r\n ];\r\n public calendarModes: any = [\r\n { name: \"Axial <= GMail\", value: \"<\" },\r\n { name: \"Axial => GMail\", value: \">\" },\r\n { name: \"Axial <=> GMail\", value: \"<>\" }\r\n ];\r\n public mailModes: any = [\r\n { name: \"Axial <= GMail\", value: \"<\" }\r\n ];\r\n\r\n public users: any[] = [];\r\n public user: any = {}\r\n;\r\n\r\n constructor(\r\n private config:DynamicDialogConfig,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private messageService: MessageService,\r\n private usersService: UsersService\r\n ) {\r\n this.user = JSON.parse(JSON.stringify(config.data.user));\r\n }\r\n\r\n ngOnInit() {\r\n this.loadUsers();\r\n \r\n }\r\n\r\n loadUsers() {\r\n this.usersService.all({}).subscribe(\r\n data => this.users = data.rows,\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n save() {\r\n this.dynamicDialogRef.close(this.user);\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n}\r\n","
\r\n\r\n \r\n
\r\n \r\n
\r\n

{{user.name}}

\r\n \r\n
\r\n {{user.id}}\r\n
\r\n
\r\n {{'component.user_config.not_connected'|translate}}\r\n
\r\n
\r\n \r\n
\r\n {{user.userPrincipalName}}\r\n
\r\n
\r\n {{'component.user_config.not_connected'|translate}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n {{'mailAccount.entity.name'|translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
{{'component.user_config.contacts_synchronization'|translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'component.user_config.synchronization_disabled'|translate}}\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n \r\n
\r\n
{{'component.user_config.email_synchronization'|translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'component.user_config.synchronization_disabled'|translate}}\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n \r\n
\r\n
{{'component.user_config.calendar_synchronization'|translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
'\">\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'component.user_config.synchronization_disabled'|translate}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CompaniesIntegrationsService } from '../companiesintegrations.service';\r\nimport { Office365Service } from '../office365.service';\r\nimport { MailchimpService } from '../mailchimp.service';\r\nimport { EntitiesService } from '../../entities.service';\r\n\r\n@Component({\r\n selector: 'app-integration-edit-mailchimp',\r\n templateUrl: './integration-edit-mailchimp.component.html',\r\n styleUrls: ['./integration-edit-mailchimp.component.scss']\r\n})\r\nexport class IntegrationEditMailchimpComponent implements OnInit {\r\n public integration: any = {\r\n id: null,\r\n configuration: {\r\n auth: { enabled: false },\r\n mail: { enabled: false },\r\n contacts: { enabled: false },\r\n campaigns: { enabled: false },\r\n }\r\n };\r\n public connected: boolean = false;\r\n public connectionInfo: any = {};\r\n public auth: any = {};\r\n public mail: any = {};\r\n public contacts: any = {};\r\n public campaigns: any = {};\r\n public lists: any;\r\n public errorMessage: string;\r\n public mergeFields: any[] = [];\r\n public bind: any = {};\r\n public entity: any = {};\r\n\r\n public contactsModes: any = [\r\n { name: \"Axial <= Mailchimp\", value: \"<\" },\r\n { name: \"Axial => Mailchimp\", value: \">\" },\r\n { name: \"Axial <=> Mailchimp\", value: \"<>\" }\r\n ];\r\n public campaignsModes: any = [\r\n { name: \"Axial => Mailchimp\", value: \">\" },\r\n { name: \"Axial <=> Mailchimp\", value: \"<=>\" }\r\n ];\r\n\r\n constructor(\r\n private dialogService: DialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private companiesIntegrationsService: CompaniesIntegrationsService,\r\n private office365Service: Office365Service,\r\n private messageService: MessageService,\r\n private mailchimpService: MailchimpService,\r\n private entitiesService: EntitiesService,\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.companiesIntegrationsService.getByCode(\"mailchimp\").subscribe({\r\n next: (data: any) => {\r\n if (data != null) {\r\n this.integration = data;\r\n if (this.integration.configuration == null) this.initializeConfig();\r\n this.verify();\r\n } else {\r\n this.initializeConfig();\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n initializeConfig() {\r\n this.integration.configuration = {\r\n auth: { enabled: false },\r\n mail: { enabled: false },\r\n contacts: { enabled: false },\r\n campaigns: { enabled: false },\r\n };\r\n }\r\n\r\n verify() {\r\n if (this.integration?.configuration?.auth?.api_key == null || this.integration?.configuration?.auth?.api_key == \"\") return;\r\n this.mailchimpService.verify(this.integration.configuration.auth.api_key).subscribe(\r\n data => {\r\n this.errorMessage = null;\r\n this.connected = true;\r\n this.integration.configuration.auth.connected = true;\r\n\r\n //cargamos listas\r\n this.getAllLists();\r\n\r\n //cargamos campos de entidad contactos\r\n this.loadEntityFields();\r\n\r\n //cargamos merges\r\n if (this.integration.configuration.contacts?.list_id != null) {\r\n this.loadMergeFields();\r\n }\r\n },\r\n error => {\r\n //this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n this.errorMessage = error.error.title;\r\n this.connected = false;\r\n this.integration.configuration.auth.connected = false;\r\n }\r\n );\r\n }\r\n\r\n getAllLists() {\r\n if (this.integration?.configuration?.auth?.api_key == null || this.integration?.configuration?.auth?.api_key == \"\") return;\r\n this.mailchimpService.getAllLists(this.integration.configuration.auth.api_key).subscribe({\r\n next: (data: any) => {\r\n this.lists = data;\r\n },\r\n error: (error: any) => {\r\n //this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n this.errorMessage = error.error.title;\r\n }\r\n });\r\n }\r\n\r\n loadEntityFields() {\r\n this.entitiesService.getByCode(\"contact\").subscribe({\r\n next: (data: any) => {\r\n this.entity = data;\r\n\r\n this.entity.fields.forEach(field => {\r\n field.description = field.entity_name + \" / \" + field.description;\r\n });\r\n },\r\n error: (error: any) => {\r\n //this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n this.errorMessage = error.error.title;\r\n }\r\n });\r\n }\r\n\r\n loadMergeFields() {\r\n if (this.integration?.configuration?.auth?.api_key == null || this.integration?.configuration?.auth?.api_key == \"\") return;\r\n if (this.integration?.configuration?.contacts?.list_id == null || this.integration?.configuration?.contacts?.list_id == \"\") return;\r\n this.mailchimpService.getMergeFields(this.integration.configuration.auth.api_key, this.integration.configuration.contacts.list_id).subscribe({\r\n next: (data: any) => {\r\n this.mergeFields = data;\r\n },\r\n error: (error: any) => {\r\n //this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n this.errorMessage = error.error.title;\r\n }\r\n });\r\n }\r\n\r\n addBind() {\r\n if (this.bind.entity_field_id != null && this.bind.mailchimp != null) {\r\n if (!this.integration.configuration.contacts.binds) this.integration.configuration.contacts.binds = [];\r\n this.integration.configuration.contacts.binds.push(this.bind);\r\n this.bind = {};\r\n } else {\r\n this.messageService.add({ severity: \"error\"/* summary: \"Enlace no creado\"*/, detail: \"Debes seleccionar ambas propiedades para poder añadir el enlace de datos\" });\r\n }\r\n }\r\n\r\n removeBind(bind) {\r\n let idx = this.integration.configuration.contacts.binds.indexOf(bind);\r\n this.integration.configuration.contacts.binds.splice(idx, 1);\r\n }\r\n\r\n save() {\r\n this.companiesIntegrationsService.save(this.integration.id, this.integration).subscribe(\r\n data => {\r\n this.dynamicDialogRef.close(data);\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n connect() {\r\n this.verify();\r\n }\r\n\r\n}\r\n","\r\n \r\n
\r\n
{{'component.integrations.connection_info' | translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{'component.integrations.not_configured_mailchimp_text1' | translate}}

\r\n {{'component.integrations.not_configured_mailchimp_text2' | translate}}

\r\n {{'component.integrations.not_configured_mailchimp_text3' | translate}}\r\n \r\n
\r\n\r\n\r\n \r\n
\r\n
{{'component.integrations.connection_info' | translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n {{'component.integrations.connection_correct'|translate}}\r\n \r\n \r\n
\r\n\r\n
\r\n\r\n\r\n\r\n\r\n\r\n \r\n
\r\n
{{'contact.entity.name_plural' | translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n Axial\r\n Mailchimp\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'component.integrations.disabled_integrations'| translate}}\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n
{{'component.integrations.campaigns'|translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'component.integrations.disabled_integrations'|translate}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n {{errorMessage}}\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { EntitiesService } from '../../entities.service';\r\nimport { CompaniesIntegrationsService } from '../companiesintegrations.service';\r\nimport { MailjetService } from '../mailjet.service';\r\n\r\n@Component({\r\n selector: 'app-integration-edit-mailjet',\r\n templateUrl: './integration-edit-mailjet.component.html',\r\n styleUrls: ['./integration-edit-mailjet.component.scss']\r\n})\r\nexport class IntegrationEditMailjetComponent implements OnInit {\r\n\r\n public integration: any = {\r\n configuration: {\r\n auth: { enabled: false },\r\n mail: { enabled: false },\r\n contacts: { enabled: false },\r\n campaigns: { enabled: false },\r\n }\r\n };\r\n public connected: boolean = false;\r\n public connectionInfo: any = {};\r\n public lists: any[] = [];\r\n public errorMessage: string;\r\n public mergeFields: any[] = [];\r\n public bind: any = {};\r\n public entity: any = {};\r\n\r\n public contactsModes: any = [\r\n { name: \"Axial <= Mailjet\", value: \"<\" },\r\n { name: \"Axial => Mailjet\", value: \">\" },\r\n { name: \"Axial <=> Mailjet\", value: \"<>\" }\r\n ];\r\n public campaignsModes: any = [\r\n { name: \"Axial => Mailjet\", value: \">\" },\r\n { name: \"Axial <=> Mailjet\", value: \"<>\" }\r\n ];\r\n\r\n constructor(\r\n private dialogService: DialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private companiesIntegrationsService: CompaniesIntegrationsService,\r\n private messageService: MessageService,\r\n private mailjetService: MailjetService,\r\n private entitiesService: EntitiesService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.companiesIntegrationsService.getByCode(\"mailjet\").subscribe({\r\n next: (data: any) => {\r\n if (data != null) {\r\n this.integration = data;\r\n this.initializeConfig();\r\n this.verify();\r\n } else {\r\n this.initializeConfig();\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n initializeConfig() {\r\n //Si no es null, verificamos que tenga cada uno de los campos de configuración:\r\n /*if (this.integration.configuration.auth == null) this.integration.configuration.auth = { enabled: false };\r\n if (this.integration.configuration.mail == null) this.integration.configuration.mail = { enabled: false };\r\n if (this.integration.configuration.contacts == null) this.integration.configuration.contacts = { enabled: false };\r\n if (this.integration.configuration.campaigns == null) this.integration.configuration.campaigns = { enabled: false };\r\n */\r\n if (this.integration.configuration == null) {\r\n this.integration.configuration = {\r\n auth: { enabled: false },\r\n mail: { enabled: false },\r\n contacts: { enabled: false },\r\n campaigns: { enabled: false },\r\n };\r\n } else {\r\n if (this.integration.configuration.auth == null) this.integration.configuration.auth = { enabled: false };\r\n if (this.integration.configuration.mail == null) this.integration.configuration.mail = { enabled: false };\r\n if (this.integration.configuration.contacts == null) this.integration.configuration.contacts = { enabled: false };\r\n if (this.integration.configuration.campaigns == null) this.integration.configuration.campaigns = { enabled: false };\r\n }\r\n }\r\n\r\n\r\n verify() {\r\n if (this.integration?.configuration?.auth?.api_key == null || this.integration?.configuration?.auth?.api_key == \"\") return;\r\n if (this.integration?.configuration?.auth?.api_secret == null || this.integration?.configuration?.auth?.api_secret == \"\") return;\r\n this.mailjetService.verify(this.integration.configuration.auth.api_key, this.integration.configuration.auth.api_secret).subscribe({\r\n next: (data: any) => {\r\n this.errorMessage = null;\r\n this.connected = true;\r\n this.integration.configuration.auth.connected = true;\r\n\r\n //cargamos campos de entidad contactos\r\n this.loadEntityFields();\r\n\r\n //cargamos metadata de contactos\r\n this.loadContactMetadata();\r\n\r\n //cargamos listas de contactos disponibles\r\n this.laodLists();\r\n },\r\n error: (error: any) => {\r\n //this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n this.errorMessage = error.error.title;\r\n this.connected = false;\r\n this.integration.configuration.auth.connected = false;\r\n }\r\n });\r\n }\r\n\r\n loadEntityFields() {\r\n this.entitiesService.getByCode(\"contact\").subscribe({\r\n next: (data: any) => {\r\n this.entity = data;\r\n\r\n this.entity.fields.forEach(field => {\r\n field.description = field.entity_name + \" / \" + field.description;\r\n });\r\n },\r\n error: (error: any) => {\r\n //this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n this.errorMessage = error.error.title;\r\n }\r\n });\r\n }\r\n\r\n\r\n laodLists() {\r\n if (this.integration?.configuration?.auth?.api_key == null || this.integration?.configuration?.auth?.api_key == \"\") return;\r\n if (this.integration?.configuration?.auth?.api_secret == null || this.integration?.configuration?.auth?.api_secret == \"\") return;\r\n this.mailjetService.getAllLists(this.integration.configuration.auth.api_key, this.integration.configuration.auth.api_secret).subscribe(\r\n (data: any) => {\r\n this.lists = data;\r\n },\r\n error => {\r\n //this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n this.errorMessage = error.error.title;\r\n }\r\n );\r\n }\r\n\r\n loadContactMetadata() {\r\n if (this.integration?.configuration?.auth?.api_key == null || this.integration?.configuration?.auth?.api_key == \"\") return;\r\n if (this.integration?.configuration?.auth?.api_secret == null || this.integration?.configuration?.auth?.api_secret == \"\") return;\r\n this.mailjetService.getContactMetadata(this.integration.configuration.auth.api_key, this.integration.configuration.auth.api_secret).subscribe({\r\n next: (data: any) => {\r\n this.mergeFields = data;\r\n },\r\n error: (error: any) => {\r\n //this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n this.errorMessage = error.error.title;\r\n }\r\n });\r\n }\r\n\r\n addBind() {\r\n if (this.bind.entity_field_id != null && this.bind.mailjet != null) {\r\n if (!this.integration.configuration.contacts.binds) this.integration.configuration.contacts.binds = [];\r\n this.integration.configuration.contacts.binds.push(this.bind);\r\n this.bind = {};\r\n } else {\r\n this.messageService.add({ severity: \"error\", detail: \"{{'component.integrations.error_select_both_properties'|translate}}\" });\r\n }\r\n }\r\n\r\n removeBind(bind) {\r\n let idx = this.integration.configuration.contacts.binds.indexOf(bind);\r\n this.integration.configuration.contacts.binds.splice(idx, 1);\r\n }\r\n\r\n\r\n save() {\r\n this.companiesIntegrationsService.save(this.integration.id, this.integration).subscribe({\r\n next: (data: any) => {\r\n this.dynamicDialogRef.close(data);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n connect() {\r\n this.verify();\r\n }\r\n\r\n}\r\n","\r\n \r\n
\r\n
{{'component.integrations.connection_info'|translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{'component.integrations.not_configured_mailjet_text1' | translate}}

\r\n {{'component.integrations.not_configured_mailjet_text2' | translate}}

\r\n {{'component.integrations.not_configured_mailjet_text3' | translate}}\r\n
\r\n\r\n\r\n \r\n
\r\n
{{'component.integrations.connection_info'|translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n
{{'component.integrations.mail'|translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'component.integrations.disabled_integrations'|translate}}\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n
{{'contact.entity.name_plural'|translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n Axial\r\n Mailjet\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'component.integrations.disabled_integrations'|translate}}\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n
{{'component.integrations.campaigns' | translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'component.integrations.disabled_integrations'|translate}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n {{errorMessage}}\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from '../../../core/dialogs/core-dialog.service';\r\nimport { CompaniesIntegrationsService } from '../companiesintegrations.service';\r\nimport { IntegrationEditOffice365UserEditComponent } from './user-config/user-config.component';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-integration-edit-office365',\r\n templateUrl: './integration-edit-office365.component.html',\r\n styleUrls: ['./integration-edit-office365.component.scss']\r\n})\r\nexport class IntegrationEditOffice365Component implements OnInit {\r\n\r\n public integration: any = {\r\n configuration: {\r\n users: []\r\n }\r\n };\r\n\r\n public connected: boolean = false;\r\n public connectionInfo: any = {};\r\n public users: any[] = [];\r\n\r\n constructor(\r\n private coreDialogService: CoreDialogService,\r\n private dialogService: DialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private companiesIntegrationsService: CompaniesIntegrationsService,\r\n private messageService: MessageService,\r\n private usersService: UsersService,\r\n private translateService: TranslateService,\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.companiesIntegrationsService.getByCode(\"office365\").subscribe({\r\n next: (data: any) => {\r\n if (data != null) {\r\n if (data.configuration == null) data.configuration = {};\r\n if (data.configuration.users == null) data.configuration.users = [];\r\n this.integration = data;\r\n this.loadUsers();\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n save() {\r\n this.companiesIntegrationsService.save(this.integration.id, this.integration).subscribe({\r\n next: (data: any) => {\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n loadUsers() {\r\n let params: any = {\r\n _sortBy: \"name\"\r\n };\r\n this.usersService.all(params).subscribe({\r\n next: (users: any) => {\r\n this.users = users.rows;\r\n this.users.forEach(user => {\r\n let currentUserConfig = this.integration.configuration.users.find(m => m.user_id == user.id);\r\n if (currentUserConfig == null) {\r\n currentUserConfig = {\r\n user_id: user.id,\r\n name: user.name,\r\n contacts: { enabled: false },\r\n mail: { enabled: false },\r\n calendar: { enabled: false },\r\n connected: false,\r\n id: null\r\n };\r\n this.integration.configuration.users.push(currentUserConfig);\r\n } else {\r\n currentUserConfig.name = user.name;\r\n }\r\n });\r\n\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n \r\n configUser(user: any) {\r\n const ref = this.dialogService.open(IntegrationEditOffice365UserEditComponent, {\r\n header: this.translateService.instant('component.integrations.user_configuration'),\r\n width: '500px',\r\n data: {\r\n user: user\r\n }\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data) {\r\n user.contacts = data.contacts;\r\n user.mail = data.mail;\r\n user.calendar = data.calendar;\r\n }\r\n });\r\n }\r\n}\r\n","\r\n \r\n {{'component.integrations.office365_info1'|translate}}
\r\n {{'component.integrations.office365_info2'|translate}}\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n {{user.name}}\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n {{'component.integrations.connected'|translate}}
\r\n
\r\n {{'component.integrations.connection_pending'|translate}}
\r\n
\r\n {{'component.integrations.without_connection'|translate}}
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog'\r\nimport { UsersService } from '../../../../users/users.service';\r\n\r\n@Component({\r\n selector: 'app-integration-edit-office365-user-config',\r\n templateUrl: './user-config.component.html',\r\n styleUrls: ['./user-config.component.scss']\r\n})\r\nexport class IntegrationEditOffice365UserEditComponent implements OnInit {\r\n\r\n public contactsModes: any = [\r\n { name: \"Axial <= Office 365\", value: \"<\" },\r\n { name: \"Axial => Office 365\", value: \">\" },\r\n { name: \"Axial <=> Office 365\", value: \"<>\" }\r\n ];\r\n public calendarModes: any = [\r\n { name: \"Axial <= Office 365\", value: \"<\" },\r\n { name: \"Axial => Office 365\", value: \">\" },\r\n { name: \"Axial <=> Office 365\", value: \"<>\" }\r\n ];\r\n public mailModes: any = [\r\n { name: \"Axial <= Office 365\", value: \"<\" }\r\n ];\r\n\r\n public users: any[] = [];\r\n public user: any = {}\r\n;\r\n\r\n constructor(\r\n private config:DynamicDialogConfig,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private messageService: MessageService,\r\n private usersService: UsersService\r\n ) {\r\n this.user = JSON.parse(JSON.stringify(config.data.user));\r\n }\r\n\r\n ngOnInit() {\r\n this.loadUsers();\r\n \r\n }\r\n\r\n loadUsers() {\r\n this.usersService.all({}).subscribe(\r\n data => this.users = data.rows,\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n save() {\r\n this.dynamicDialogRef.close(this.user);\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n}\r\n","
\r\n\r\n \r\n
\r\n \r\n
\r\n

{{user.name}}

\r\n \r\n
\r\n {{user.id}}\r\n
\r\n
\r\n {{'component.user_config.not_connected'|translate}}\r\n
\r\n
\r\n \r\n
\r\n {{user.userPrincipalName}}\r\n
\r\n
\r\n {{'component.user_config.not_connected'|translate}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n {{'mailAccount.entity.name'|translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n
{{'component.user_config.contacts_synchronization'|translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'component.user_config.synchronization_disabled'|translate}}\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n \r\n
\r\n
{{'component.user_config.email_synchronization'|translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'component.user_config.synchronization_disabled'|translate}}\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n \r\n
\r\n
{{'component.user_config.calendar_synchronization'|translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
'\">\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'component.user_config.synchronization_disabled'|translate}}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { FormBuilder, FormGroup, NgForm } from '@angular/forms';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { TransactionStatusService } from '../../transaction-status/transaction-status.service';\r\nimport { TransactionTypesService } from '../../transaction-types/transaction-types.service';\r\nimport { CompaniesIntegrationsService } from '../companiesintegrations.service';\r\nimport { OrganizationsTypesService } from 'src/app/organizations/organizations-types.service';\r\nimport { BusinessService } from '../../business/business.service';\r\n\r\n@Component({\r\n selector: 'app-integration-edit-sage',\r\n templateUrl: './integration-edit-sage.component.html',\r\n styleUrls: ['./integration-edit-sage.component.scss']\r\n})\r\nexport class IntegrationEditSageComponent implements OnInit {\r\n public integration: any = {\r\n configuration: {\r\n business: []\r\n }\r\n };\r\n @ViewChild(\"formDetails\") public formDetails: NgForm;\r\n\r\n public organizationsTypes: any[] = [];\r\n public transactionTypes: any[] = [];\r\n public transactionStatus: any[] = [];\r\n public business: any[] = [];\r\n\r\n constructor(\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private companiesIntegrationsService: CompaniesIntegrationsService,\r\n private transactionTypesService: TransactionTypesService,\r\n private transactionStatusService: TransactionStatusService,\r\n private messageService: MessageService,\r\n private organizationsTypesService: OrganizationsTypesService,\r\n private businessService: BusinessService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.loadTypes();\r\n }\r\n\r\n loadData() {\r\n this.companiesIntegrationsService.getByCode(\"sagedespachos\").subscribe(\r\n data => {\r\n if (data != null) {\r\n if (data.configuration == null) data.configuration = {};\r\n if (data.configuration.business == null) data.configuration.business = [];\r\n\r\n //generamos array de business\r\n this.business.forEach(b => {\r\n let item = data.configuration.business.find(m => m.business_id == b.id);\r\n if (item == null) {\r\n //si no esta la empresa en la lista, la incluimos\r\n data.configuration.business.push({\r\n business_id: b.id,\r\n business_name: b.name,\r\n business_code: b.erp_id\r\n });\r\n item = data.configuration.business.find(m => m.business_id == b.id);\r\n } else {\r\n item.business_name = b.name;\r\n item.business_code = b.erp_id;\r\n }\r\n\r\n //generamos datos por defecto para ventas\r\n if (!item.sales) {\r\n item.sales = {\r\n export: item.export_sales || false,\r\n use_axial_prices: false\r\n };\r\n //quitamos clave de configuración vieja\r\n delete item.export_sales;\r\n }\r\n });\r\n\r\n this.integration = data;\r\n } else {\r\n this.integration = {\r\n integration_id: 1,\r\n configuration: {}\r\n };\r\n }\r\n this.loadStatus();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n loadTypes() {\r\n //sociedad\r\n this.businessService.all({}).subscribe(\r\n data => {\r\n this.business = data.rows;\r\n this.loadData();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n //tipos de transaccion\r\n this.transactionTypesService.all({}).subscribe(\r\n data => {\r\n this.transactionTypes = data.rows;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n //tipos de organizacion\r\n this.organizationsTypesService.all({}).subscribe(\r\n data => {\r\n this.organizationsTypes = data.rows;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n loadStatus() {\r\n if (this.integration.configuration.invoices_transaction_type_id) {\r\n this.transactionStatusService.all({ transaction_type_id: this.integration.configuration.invoices_transaction_type_id }).subscribe(\r\n data => {\r\n this.transactionStatus = data.rows;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }\r\n }\r\n\r\n onTransactionTypeChange() {\r\n this.loadStatus();\r\n }\r\n\r\n save() {\r\n this.companiesIntegrationsService.save(this.integration.id, this.integration).subscribe({\r\n next: (data: any) => {\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n}\r\n","\r\n \r\n {{'component.integrations.sage_info'|translate}}\r\n \r\n\r\n\r\n\r\n \r\n \r\n
\r\n
{{config.business_name}}
\r\n
{{'component.integrations.sage_code'|translate}}:\r\n {{config.business_code}}
\r\n
\r\n {{'component.integrations.sage_code_not_configured'|translate}}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n {{'component.integrations.clients'|translate}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n {{'contact.entity.name_plural'|translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n {{'component.integrations.articles'|translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n \r\n \r\n
\r\n {{'sale.entity.name_plural' |translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CompaniesIntegrationsService } from '../companiesintegrations.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-integration-edit-webcrm',\r\n templateUrl: './integration-edit-webcrm.component.html',\r\n styleUrls: ['./integration-edit-webcrm.component.scss']\r\n})\r\nexport class IntegrationEditWebcrmComponent implements OnInit {\r\n\r\n /*\r\n - Organizaciones: sin acceso / lectura / lectura y escritura\r\n - Contactos: sin acceso / lectura / lectura y escritura\r\n - Actividades: sin acceso / lectura / lectura y escritura\r\n */\r\n\r\n public permissions: any = [\r\n { name: this.translateService.instant('no_permission'), value: \"\" },\r\n { name: this.translateService.instant('read_permission'), value: \"read\" },\r\n { name: this.translateService.instant('readwrite_permission'), value: \"readwrite\" }\r\n ];\r\n\r\n public integration: any = {\r\n configuration: {}\r\n };\r\n\r\n constructor(\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private companiesIntegrationsService: CompaniesIntegrationsService,\r\n private messageService: MessageService,\r\n private translateService: TranslateService,\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.companiesIntegrationsService.getByCode(\"webcrm\").subscribe({\r\n next: (data: any) => {\r\n if (data != null) {\r\n if (data.configuration == null) data.configuration = {};\r\n this.integration = data;\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n save() {\r\n //const md5 = new Md5();\r\n //obj.configuration.password = md5.appendStr(obj.configuration.password).end();\r\n this.companiesIntegrationsService.save(this.integration.id, this.integration).subscribe({\r\n next: (data: any) => {\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n}\r\n","\r\n \r\n
\r\n {{'component.integration.api_rest_connection'|translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { UtilsService } from '../../../core/utils.service';\r\nimport { CompaniesIntegrationsService } from '../companiesintegrations.service';\r\nimport { OriginsService } from '../../origins/origins.service';\r\nimport { TasksActionTypesService } from 'src/app/tasks/tasks-action-types.service';\r\nimport { UsersService } from '../../../users/users.service';\r\nimport { TasksStatusService } from '../../../tasks/tasks-status.service';\r\nimport { OrganizationsService } from '../../../organizations/organizations.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-integration-edit-webform',\r\n templateUrl: './integration-edit-webform.component.html',\r\n styleUrls: ['./integration-edit-webform.component.scss']\r\n})\r\nexport class IntegrationEditWebformComponent implements OnInit {\r\n\r\n public task_actions: any[] = [];\r\n public responsibles: any[] = [];\r\n public task_status: any[] = []\r\n public type_process_options: any[] = [\r\n { label: this.translateService.instant('component.integrations.type_process_assign'), value: 'assign' },\r\n { label: this.translateService.instant('component.integrations.type_process_create'), value: 'create' }\r\n ]\r\n public organizations: any[];\r\n public integration: any = {\r\n configuration: {}\r\n };\r\n public selectedOrganizationId: number = null;\r\n\r\n constructor(\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private companiesIntegrationsService: CompaniesIntegrationsService,\r\n private messageService: MessageService,\r\n private utilsService: UtilsService,\r\n private taskActionsTypesService: TasksActionTypesService,\r\n private tasksStatusService: TasksStatusService,\r\n private responsiblesService: UsersService,\r\n private organizationService: OrganizationsService,\r\n private translateService: TranslateService,\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.loadTaskCombos();\r\n this.companiesIntegrationsService.getByCode(\"webform\").subscribe({\r\n next: (data: any) => {\r\n if (data != null) {\r\n if (data.configuration == null) {\r\n data.configuration = {\r\n recaptcha: { enabled: false }\r\n };\r\n }\r\n\r\n this.integration = data;\r\n this.selectedOrganizationId = this.integration.configuration.organization_id;\r\n this.loadOrganizations(null);\r\n }\r\n if (this.integration.configuration.url == null || this.integration.configuration.url == \"\") {\r\n var b64 = btoa(localStorage.getItem(\"companyId\") + \";\" + this.utilsService.randomString(10));\r\n this.integration.configuration.url = location.protocol + \"//\" + location.host + \"/api/webforms/leads/\" + b64 + \"/create\";\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n loadTaskCombos() {\r\n this.taskActionsTypesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.task_actions = data.rows;\r\n },\r\n error: (error: any) => {\r\n console.log(error);\r\n }\r\n });\r\n this.responsiblesService.combo({}).subscribe({\r\n next: (data: any) => {\r\n this.responsibles = data.rows;\r\n this.responsibles.unshift({ name: this.translateService.instant('general.undefined'), id: null });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n this.tasksStatusService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.task_status = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n save() {\r\n this.companiesIntegrationsService.save(this.integration.id, this.integration).subscribe({\r\n next: (data: any) => {\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n loadOrganizations(event) {\r\n let params: any = {};\r\n if (event != null) params.text = event.filter;\r\n if (this.selectedOrganizationId != null) params.include_organization_id = this.selectedOrganizationId;\r\n this.organizationService.getCombo(params).subscribe({\r\n next: (data: any) => {\r\n this.organizations = data.rows;\r\n this.organizations.unshift({ name: this.translateService.instant('component.integrations.none'), id: null });\r\n //if (this.selectedOrganizationId != null) this.selectedOrganization = this.organizations.find(m => m.id == this.selectedOrganizationId);\r\n },\r\n error: (error: any) => this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title })\r\n });\r\n }\r\n}\r\n","\r\n \r\n
\r\n
{{'lead.entity.name_plural'|translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {{'component.integrations.thank_you_url_description'|translate}}\r\n
\r\n
\r\n \r\n \r\n {{'component.integrations.error_url_description'|translate}}\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n
{{'component.integrations.recaptcha_validation' | translate}}
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n
{{'component.integrations.task_creation'|translate}}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { DynamicDialogRef } from 'primeng/dynamicdialog';\r\n\r\n@Component({\r\n selector: 'app-integration-edit',\r\n templateUrl: './integration-edit.component.html',\r\n styleUrls: ['./integration-edit.component.scss']\r\n})\r\nexport class IntegrationEditComponent implements OnInit {\r\n\r\n constructor(private dynamicDialogRef: DynamicDialogRef) { }\r\n\r\n ngOnInit() {\r\n }\r\n\r\n save(){\r\n this.dynamicDialogRef.close();\r\n }\r\n \r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n}\r\n","

\r\n integration-edit works!\r\n

\r\n
\r\n
\r\n \r\n \r\n \r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { IntegrationEditApirestComponent } from '../integration-edit-apirest/integration-edit-apirest.component';\r\nimport { IntegrationEditOffice365Component } from '../integration-edit-office365/integration-edit-office365.component';\r\nimport { IntegrationEditSageComponent } from '../integration-edit-sage/integration-edit-sage.component';\r\nimport { IntegrationEditComponent } from '../integration-edit/integration-edit.component';\r\nimport { IntegrationService } from '../integration.service';\r\nimport { IntegrationEditMailchimpComponent } from '../integration-edit-mailchimp/integration-edit-mailchimp.component';\r\nimport { IntegrationEditMailjetComponent } from '../integration-edit-mailjet/integration-edit-mailjet.component';\r\nimport { IntegrationEditWebformComponent } from '../integration-edit-webform/integration-edit-webform.component';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { IntegrationEditGMailComponent } from '../integration-edit-gmail/integration-edit-gmail.component';\r\n\r\n@Component({\r\n selector: 'app-integration-list',\r\n templateUrl: './integration-list.component.html',\r\n styleUrls: ['./integration-list.component.scss']\r\n})\r\nexport class IntegrationListComponent implements OnInit {\r\n\r\n public integrations: any = Array();\r\n\r\n constructor(\r\n private iService: IntegrationService,\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private dialogService: DialogService,\r\n private translateService: TranslateService,\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.loadData();\r\n }\r\n loadData() {\r\n var params = {\r\n _page: 0,\r\n _pageSize: 100,\r\n _sortBy: \"name\",\r\n _sortDirection: \"asc\"\r\n };\r\n params = Object.assign(params, {});\r\n this.iService.all(params).subscribe(\r\n data => {\r\n this.integrations = data.rows;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n open(code) {\r\n if (code == \"apirest\") {\r\n const ref = this.dialogService.open(IntegrationEditApirestComponent, {\r\n header: this.translateService.instant('component.integrations.integration_with_apirest'),\r\n width: '50%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n });\r\n } else if (code == \"sagedespachos\") {\r\n const ref = this.dialogService.open(IntegrationEditSageComponent, {\r\n header: this.translateService.instant('component.integrations.integration_with_sagedespachos'),\r\n width: '50%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n });\r\n\r\n } else if (code == \"office365\") {\r\n const ref = this.dialogService.open(IntegrationEditOffice365Component, {\r\n header: this.translateService.instant('component.integrations.integration_with_office365'),\r\n width: '900px'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n });\r\n\r\n } else if (code == \"gmail\") {\r\n const ref = this.dialogService.open(IntegrationEditGMailComponent, {\r\n header: this.translateService.instant('component.integrations.integration_with_gmail'),\r\n width: '900px'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n });\r\n\r\n } else if (code == \"mailchimp\") {\r\n const ref = this.dialogService.open(IntegrationEditMailchimpComponent, {\r\n header: this.translateService.instant('component.integrations.integration_with_mailchimp'),\r\n width: '800px'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n });\r\n\r\n } else if (code == \"mailjet\") {\r\n const ref = this.dialogService.open(IntegrationEditMailjetComponent, {\r\n header: this.translateService.instant('component.integrations.integration_with_mailjet'),\r\n width: '500px'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n });\r\n\r\n } else if (code == \"webform\") {\r\n const ref = this.dialogService.open(IntegrationEditWebformComponent, {\r\n header: this.translateService.instant('component.integrations.integration_with_webforms'),\r\n width: '800px'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n });\r\n\r\n } else {\r\n const ref = this.dialogService.open(IntegrationEditComponent, {\r\n header: this.translateService.instant('component.integrations.generic_integration'),\r\n width: '50%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n });\r\n }\r\n }\r\n}\r\n","\r\n\r\n\r\n \r\n
\r\n {{ 'integration.entity.name_plural' | translate}}\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n {{item.name}}
\r\n {{item.description}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { IntegrationListComponent } from './integration-list/integration-list.component';\r\n\r\nconst routes: Routes = [\r\n {path:'integrations', component:IntegrationListComponent}\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class IntegrationRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TableModule } from 'primeng/table';\r\nimport { CoreModule } from 'src/app/core/core.module';\r\nimport { IntegrationRoutingModule } from './integration-routing.module';\r\nimport { IntegrationListComponent } from './integration-list/integration-list.component';\r\nimport { IntegrationEditComponent } from './integration-edit/integration-edit.component';\r\nimport { PanelModule } from 'primeng/panel';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { IntegrationEditApirestComponent } from './integration-edit-apirest/integration-edit-apirest.component';\r\nimport { IntegrationEditSageComponent } from './integration-edit-sage/integration-edit-sage.component';\r\nimport { IntegrationEditWebcrmComponent } from './integration-edit-webcrm/integration-edit-webcrm.component';\r\nimport { IntegrationEditOffice365Component } from './integration-edit-office365/integration-edit-office365.component';\r\nimport { MessageModule } from 'primeng/message';\r\nimport { MessagesModule } from 'primeng/messages';\r\nimport { InputSwitchModule } from 'primeng/inputswitch';\r\nimport { IntegrationEditOffice365UserEditComponent } from './integration-edit-office365/user-config/user-config.component';\r\nimport { IntegrationEditMailchimpComponent } from './integration-edit-mailchimp/integration-edit-mailchimp.component';\r\nimport { IntegrationEditMailjetComponent } from './integration-edit-mailjet/integration-edit-mailjet.component';\r\nimport { IntegrationEditWebformComponent } from './integration-edit-webform/integration-edit-webform.component';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\nimport { AccordionModule } from 'primeng/accordion';\r\nimport { BadgeModule } from 'primeng/badge';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\nimport { IntegrationEditGMailComponent } from './integration-edit-gmail/integration-edit-gmail.component';\r\nimport { IntegrationEditGMailUserEditComponent } from './integration-edit-gmail/user-config/user-config.component';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n IntegrationListComponent,\r\n IntegrationEditComponent,\r\n IntegrationEditApirestComponent,\r\n IntegrationEditSageComponent,\r\n IntegrationEditWebcrmComponent,\r\n IntegrationEditOffice365Component,\r\n IntegrationEditOffice365UserEditComponent,\r\n IntegrationEditGMailComponent,\r\n IntegrationEditGMailUserEditComponent,\r\n IntegrationEditMailchimpComponent,\r\n IntegrationEditMailjetComponent,\r\n IntegrationEditWebformComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n IntegrationRoutingModule,\r\n InputTextModule,\r\n InputSwitchModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n DropdownModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n PanelModule,\r\n HttpClientModule,\r\n MessageModule,\r\n MessagesModule,\r\n TooltipModule,\r\n AccordionModule,\r\n BadgeModule,\r\n TranslateModule\r\n ],\r\n exports: [IntegrationListComponent, IntegrationEditComponent]\r\n})\r\nexport class IntegrationModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class IntegrationService {\r\n\r\n url = \"/api/integrations\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MailchimpService {\r\n\r\n url = \"/api/mailchimp\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n verify(api_key): Observable {\r\n return this.http.get(this.url + \"/verify/\" + api_key);\r\n }\r\n\r\n getAllLists(api_key): Observable {\r\n return this.http.get(this.url + \"/getAllLists/\" + api_key);\r\n }\r\n\r\n getMergeFields(api_key, list_id): Observable {\r\n return this.http.get(this.url + \"/mergesfields/\" + api_key + \"/\" + list_id);\r\n }\r\n\r\n dashboard(id): Observable {\r\n return this.http.get(this.url + \"/dashboard/\" + id);\r\n }\r\n\r\n sendCampaignTest(id:number, email:string): Observable {\r\n return this.http.get(this.url + \"/campaign/\" + id + \"/send-test?email=\" + email);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MailjetService {\r\n\r\n url = \"/api/mailjet\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n verify(api_key, api_secret): Observable {\r\n return this.http.get(this.url + \"/verify/\" + api_key + \"/\" + api_secret);\r\n }\r\n\r\n getAllLists(api_key, api_secret): Observable {\r\n return this.http.get(this.url + \"/getAllLists/\" + api_key + \"/\" + api_secret);\r\n }\r\n\r\n getContactMetadata(api_key, api_secret): Observable {\r\n return this.http.get(this.url + \"/contactmetadata/\" + api_key + \"/\" + api_secret);\r\n }\r\n\r\n dashboard(id): Observable {\r\n return this.http.get(this.url + \"/dashboard/\" + id);\r\n }\r\n\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { LoaderService } from 'src/app/core/loader/loader.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class Office365Service {\r\n\r\n url = \"/api/microsoft\";\r\n\r\n constructor(private http: HttpClient, private loaderService:LoaderService) { }\r\n\r\n authorize(): Observable {\r\n return this.http.get(this.url + \"/office365/authorize\");\r\n }\r\n\r\n me(): Observable {\r\n this.loaderService.skipRequest(this.url + \"/office365/me\", null);\r\n return this.http.get(this.url + \"/office365/me\");\r\n }\r\n\r\n users(id): Observable {\r\n return this.http.get(this.url + \"/office365/\" + id + \"/users\");\r\n }\r\n\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { NgForm } from '@angular/forms';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DialogService, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { CoreFormService } from 'src/app/core/forms/core-forms.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { MailAccountsService } from '../mail-accounts.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-mail-accounts-detail',\r\n templateUrl: './mail-accounts-detail.component.html',\r\n styleUrls: ['./mail-accounts-detail.component.scss']\r\n})\r\nexport class MailAccountsDetailComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n @ViewChild(\"formDetails\") public formDetails: NgForm;\r\n public mailAccount: any = {}\r\n public status: any = \"\";\r\n public mail_types: any = [\r\n { name: this.translateService.instant(\"component.mailAccount.list.server_smtp\"), code: \"smtp\" }\r\n ];\r\n public lastGridEvent: any;\r\n public yesno_options: any = [{ label: \"Sí\", value: true }, { label: \"No\", value: false }];\r\n public mode_options: any = [\r\n { label: this.translateService.instant(\"component.mailAccount.detail.download_office365\"), value: \"<\" },\r\n { label: this.translateService.instant(\"component.mailAccount.detail.send_office365\"), value: \">\" },\r\n { label: this.translateService.instant(\"component.mailAccount.detail.sincronize_office365\"), value: \"<>\" }\r\n ];\r\n\r\n constructor(\r\n private mailAccountsService: MailAccountsService,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private dialogService: DialogService,\r\n private coreDialogService: CoreDialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private loginService: LoginService,\r\n private coreFormService: CoreFormService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.checkPossiblesTypes();\r\n this.loadData(this.config.data.id);\r\n }\r\n\r\n checkPossiblesTypes() {\r\n //Si tiene el feature 34 (Integración Correo/Calendarios office), mete el office365:\r\n if (this.loginService.hasFeature(\"34\")) this.mail_types.push({ name: this.translateService.instant(\"component.mailAccount.list.office365\"), code: \"office365\" });\r\n\r\n //Si tiene el feature 42, mete el mailchimp:\r\n if (this.loginService.hasFeature(\"42\")) this.mail_types.push({ name: this.translateService.instant(\"component.mailAccount.list.mailchimp\"), code: \"mailchimp\" });\r\n\r\n //si tiene el feature 43, metemos mailjet\r\n if (this.loginService.hasFeature(\"43\")) this.mail_types.push({ name: this.translateService.instant(\"component.mailAccount.list.mailjet\"), code: \"mailjet\" });\r\n\r\n //Si tiene el feature 46 (Integración Correo/Calendarios gmail), mete el gmail:\r\n if (this.loginService.hasFeature(\"46\")) this.mail_types.push({ name: this.translateService.instant(\"component.mailAccount.list.gmail\"), code: \"gmail\" });\r\n\r\n }\r\n\r\n loadData(id) {\r\n if (id) {\r\n this.mailAccountsService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.mailAccount = data;\r\n if (this.mailAccount.connected) { this.status = this.translateService.instant(\"component.mailAccount.detail.account_connected\") } else { this.status = this.translateService.instant(\"component.mailAccount.detail.account_disconnected\") }\r\n var date_last_connection = new Date();\r\n if (this.mailAccount.last_connection) {\r\n date_last_connection = new Date(this.mailAccount.last_connection);\r\n var date_formatted = this.getFormattedDate(date_last_connection);\r\n //this.status += \" - Última conexión \" + date_formatted;\r\n this.status += this.translateService.instant(\"component.mailAccount.detail\", { date: date_formatted });\r\n };\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.mailAccount.type = 'smtp';\r\n //this.mailAccount.mail_out_server = \"smtp.gmail.com\";\r\n //this.mailAccount.mail_out_port = 587;\r\n //this.mailAccount.mail_out_ssl = true;\r\n this.mailAccount.configuration = {\r\n mail: {\r\n enabled: false,\r\n mode: \"<\"\r\n },\r\n contacts: {\r\n enabled: false,\r\n mode: \"<\"\r\n },\r\n calendar: {\r\n enabled: false,\r\n mode: \"<\"\r\n }\r\n };\r\n };\r\n };\r\n save(cb:Function=null) {\r\n if (!this.coreFormService.validate(this.formDetails)) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n if (typeof this.mailAccount.id === \"undefined\") {\r\n this.mailAccountsService.add(this.mailAccount).subscribe({\r\n next: (data: any) => {\r\n this.mailAccount = data;\r\n this.loadData(this.mailAccount.id);\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.mailAccount.detail.add_correct\") });\r\n if (cb != null) {\r\n cb();\r\n } else {\r\n this.dynamicDialogRef.close();\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.mailAccountsService.save(this.mailAccount.id, this.mailAccount).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.mailAccount.detail.save_correct\") });\r\n if (cb != null) {\r\n cb();\r\n } else {\r\n this.dynamicDialogRef.close();\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.mailAccount.delete_message\", { name: this.mailAccount.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.mailAccountsService.delete(this.mailAccount.id).subscribe({\r\n next: (data:any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error:any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n isDuplied() {\r\n if (!this.coreFormService.validate(this.formDetails)) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n this.mailAccountsService.isDuplied(this.mailAccount).subscribe({\r\n next: (data: any) => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.mailAccount.detail.types_duplicates\"),\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save();\r\n }\r\n },\r\n error: (error: any) => {\r\n console.log(error.error.errors);\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n getFormattedDate(date) {\r\n var date_formatted = this.padDigits(date.getDate())\r\n + \"/\"\r\n + this.padDigits(date.getMonth())\r\n + \"/\"\r\n + date.getFullYear()\r\n + \" \"\r\n + this.padDigits(date.getHours())\r\n + \":\"\r\n + this.padDigits(date.getMinutes());\r\n return date_formatted;\r\n }\r\n padDigits(num, padding = 2) {\r\n return num.toString().padStart(padding, '0');\r\n }\r\n\r\n testAccount() {\r\n //TODO:\r\n }\r\n\r\n}\r\n","\r\n\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { MailAccountsDetailComponent } from '../mail-accounts-detail/mail-accounts-detail.component';\r\nimport { MailAccountsService } from '../mail-accounts.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-mail-accounts-list',\r\n templateUrl: './mail-accounts-list.component.html',\r\n styleUrls: ['./mail-accounts-list.component.scss']\r\n})\r\nexport class MailAccountsListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public mailAccountsFilters: any = {};\r\n public mailAccounts: any[];\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n private lastGridEvent: any;\r\n public mail_types: any = [{ label: this.translateService.instant(\"component.mailAccount.list.server_smtp\"), value: \"smtp\" }];\r\n\r\n public first;\r\n public last;\r\n constructor(\r\n private mailAccountsService: MailAccountsService,\r\n private coreDialogService: CoreDialogService,\r\n private messageService: MessageService,\r\n private dialogService: DialogService,\r\n private viewsService: ViewsService,\r\n private router: Router,\r\n private loginService: LoginService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.checkPossiblesTypes();\r\n }\r\n\r\n checkPossiblesTypes() {\r\n //Si tiene el feature 34 (Integración Correo/Calendarios office365), mete el office365:\r\n if (this.loginService.hasFeature(\"34\")) this.mail_types.push({ label: this.translateService.instant(\"component.mailAccount.list.office365\"), value: \"office365\" });\r\n\r\n //Si tiene el feature 42 (Integración MailChimp), mete el MailChimp:\r\n if (this.loginService.hasFeature(\"42\")) this.mail_types.push({ label: this.translateService.instant(\"component.mailAccount.list.mailchimp\"), value: \"mailchimp\" });\r\n\r\n //Si tiene el feature 43 (Integración Mailjet), mete el Mailjet:\r\n if (this.loginService.hasFeature(\"43\")) this.mail_types.push({ label: this.translateService.instant(\"component.mailAccount.list.mailjet\"), value: \"mailjet\" });\r\n\r\n //Si tiene el feature 46 (Integración Correo/Calendarios gmail), mete el gmail:\r\n if (this.loginService.hasFeature(\"46\")) this.mail_types.push({ label: this.translateService.instant(\"component.mailAccount.list.gmail\"), value: \"gmail\" });\r\n}\r\n\r\n search() {\r\n this.lastGridEvent.first = 0;\r\n if (this.mailAccountsFilters.type == null) delete this.mailAccountsFilters.type;\r\n\r\n this.loadData(this.lastGridEvent);\r\n }\r\n\r\n clearFilters() {\r\n this.mailAccountsFilters = {};\r\n this.search();\r\n }\r\n\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\"\r\n };\r\n params = Object.assign(params, this.mailAccountsFilters);\r\n this.mailAccountsService.all(params).subscribe({\r\n next: (data: any) => {\r\n this.totalRecords = data.totalRows;\r\n this.mailAccounts = data.rows;\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n\r\n editMailAccount(mailAccount) {\r\n const ref = this.dialogService.open(MailAccountsDetailComponent, {\r\n data: {\r\n id: mailAccount ? mailAccount.id : 0\r\n },\r\n header: mailAccount.id ? this.translateService.instant(\"component.mailAccount.list.detail_entity\") : this.translateService.instant(\"component.mailAccount.list.new_entity\"),\r\n width: '50%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n /*if(data != null){\r\n this.loadData(this.lastGridEvent);\r\n }*/\r\n this.loadData(this.lastGridEvent);\r\n })\r\n }\r\n delete(mailAccount) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.mailAccount.delete_message\", { name: mailAccount.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.mailAccountsService.delete(mailAccount.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.loadData(this.lastGridEvent);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => { }\r\n })\r\n }\r\n\r\n getAccountType(account:any) {\r\n var accountType = this.mail_types.find(m => m.value == account.type);\r\n return accountType?.label;\r\n }\r\n\r\n onEvent(event: any) {\r\n if (event.component == \"mailAccounts.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"mailAccounts.list.results\", \"reload\");\r\n } else if (event.component == \"mailAccounts.list.results\") {\r\n if (event.event == \"dblclick\") this.editMailAccount(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.editMailAccount(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.editMailAccount(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete(event.data);\r\n }\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n \r\n
\r\n {{ 'general.filter.title' | translate}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n {{ 'mailAccount.entity.name_plural' | translate}}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {{ 'mailAccount.entity_fields.type' | translate}}\r\n \r\n {{ 'mailAccount.entity_fields.name' | translate}}\r\n {{ 'mailAccount.entity_fields.mail_out_server' | translate}}\r\n {{ 'mailAccount.entity_fields.mail_out_port' | translate}}\r\n {{ 'mailAccount.entity_fields.mail_out_from' | translate}}\r\n {{ 'mailAccount.entity_fields.created_by' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n {{getAccountType(mailAccount)}}\r\n {{mailAccount.name}}\r\n {{mailAccount.mail_out_server}}\r\n {{mailAccount.mail_out_port}}\r\n {{mailAccount.mail_out_from}}\r\n {{mailAccount.createdBy?.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\n\r\nconst routes: Routes = [];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class MailAccountsRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { MailAccountsRoutingModule } from './mail-accounts-routing.module';\r\nimport { MailAccountsListComponent } from './mail-accounts-list/mail-accounts-list.component';\r\nimport { MailAccountsDetailComponent } from './mail-accounts-detail/mail-accounts-detail.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextareaModule } from 'primeng/inputtextarea';\r\nimport { SplitButtonModule } from 'primeng/splitbutton';\r\nimport { TableModule } from 'primeng/table';\r\nimport { TimelineModule } from 'primeng/timeline';\r\nimport { CalendarModule } from 'src/app/calendar/calendar.module';\r\nimport { CoreModule } from 'src/app/core/core.module';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [MailAccountsListComponent, MailAccountsDetailComponent],\r\n imports: [\r\n CommonModule,\r\n MailAccountsRoutingModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n InputTextareaModule,\r\n DropdownModule,\r\n CalendarModule,\r\n SplitButtonModule,\r\n TimelineModule,\r\n InputTextModule,\r\n TranslateModule\r\n ]\r\n})\r\nexport class MailAccountsModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MailAccountsService {\r\n url = \"/api/mailAccounts\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n\r\n send(id, mail): Observable {\r\n \r\n return this.http.post(this.url + \"/\" + id + \"/send\", mail);\r\n }\r\n isDuplied(obj): Observable{\r\n return this.http.post(this.url+\"/isDuplied\",obj);\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { OrganizationsTypesService } from 'src/app/organizations/organizations-types.service';\r\n\r\n@Component({\r\n selector: 'app-organizations-types-detail',\r\n templateUrl: './organizations-types-detail.component.html',\r\n styleUrls: ['./organizations-types-detail.component.scss']\r\n})\r\nexport class OrganizationsTypesDetailComponent implements OnInit {\r\n\r\n public organizationType: any = {}\r\n\r\n constructor(\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private config: DynamicDialogConfig,\r\n private messageService: MessageService,\r\n private organizationsTypesService: OrganizationsTypesService,\r\n private coreDialogService: CoreDialogService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadData(this.config.data.id);\r\n }\r\n loadData(id) {\r\n if (id != 0 && id != null) {\r\n this.organizationsTypesService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.organizationType = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: '¿Quieres borrar el tipo ' + this.organizationType.name + '?',\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.organizationsTypesService.delete(this.organizationType.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: 'Borrado correctamente' });\r\n this.dynamicDialogRef.close(data);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n isDuplied() {\r\n this.organizationsTypesService.isDuplied(this.organizationType).subscribe(\r\n data => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: \"Ya existe un tipo de organización con estos datos proporcionados.\",\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save();\r\n }\r\n }\r\n );\r\n }\r\n\r\n save() {\r\n if (typeof this.organizationType.id === \"undefined\") {\r\n this.organizationsTypesService.add(this.organizationType).subscribe({\r\n next: (data: any) => {\r\n this.organizationType = data;\r\n this.loadData(this.organizationType.id);\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.organizationType.detail.add_correct\") });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.organizationsTypesService.save(this.organizationType.id, this.organizationType).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.organizationType.detail.save_correct\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n}\r\n\r\n","
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { OrganizationsTypesService } from 'src/app/organizations/organizations-types.service';\r\nimport { OrganizationsTypesDetailComponent } from '../organizations-types-detail/organizations-types-detail.component';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-organizations-types-list',\r\n templateUrl: './organizations-types-list.component.html',\r\n styleUrls: ['./organizations-types-list.component.scss']\r\n})\r\nexport class OrganizationsTypesListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public organizationsFilters: any = {};\r\n public organizationsTypes: any[];\r\n private lastGridEvent: any;\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n\r\n constructor(\r\n private organizationsTypesService: OrganizationsTypesService,\r\n private coreDialogService: CoreDialogService,\r\n private dialogService: DialogService,\r\n private viewsService: ViewsService,\r\n private messageService: MessageService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\"\r\n }\r\n //params = Object.assign(params, this.organizationsFilters);\r\n this.organizationsTypesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.totalRecords = data.totalRows;\r\n this.organizationsTypes = data.rows;\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n\r\n edit(organizationType){\r\n const ref = this.dialogService.open(OrganizationsTypesDetailComponent,{\r\n data:{\r\n id: organizationType!=null?organizationType.id:null\r\n },\r\n width: '30%'\r\n });\r\n ref.onClose.subscribe((data:any) =>{\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.loadData(this.lastGridEvent);\r\n })\r\n }\r\n delete(organizationType){\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.organizationType.delete_message\", { name: organizationType.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept:()=>{\r\n this.organizationsTypesService.delete(organizationType.id).subscribe({\r\n next: (data: any) => {\r\n this.loadData(this.lastGridEvent);\r\n this.messageService.add({ closable: false, severity: \"success\", detail: 'Eliminado correctamente.' });\r\n\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject:()=>{\r\n \r\n }\r\n })\r\n }\r\n}\r\n","\r\n\r\n \r\n
\r\n {{'organizationType.entity.name_plural' | translate}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n {{'organizationType.entity_fields.name' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n {{organizationType.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { OrganizationsTypesListComponent } from './organizations-types-list/organizations-types-list.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"organizationsTypes\", component: OrganizationsTypesListComponent },\r\n];\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class OrganizationsTypesRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { OrganizationsTypesRoutingModule } from './organizations-types-routing.module';\r\nimport { OrganizationsTypesListComponent } from './organizations-types-list/organizations-types-list.component';\r\nimport { CoreModule } from '../../core/core.module';\r\nimport { CardModule } from 'primeng/card';\r\nimport { TableModule } from 'primeng/table';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { OrganizationsTypesService } from '../../organizations/organizations-types.service';\r\nimport { OrganizationsTypesDetailComponent } from './organizations-types-detail/organizations-types-detail.component';\r\nimport { ColorPickerModule } from 'primeng/colorpicker';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [OrganizationsTypesListComponent, OrganizationsTypesDetailComponent],\r\n imports: [\r\n CommonModule,\r\n OrganizationsTypesRoutingModule,\r\n CoreModule,\r\n CardModule,\r\n TableModule,\r\n ButtonModule,\r\n FormsModule,\r\n ConfirmDialogModule,\r\n ColorPickerModule,\r\n TranslateModule\r\n ],\r\n exports:[\r\n OrganizationsTypesListComponent\r\n ],\r\n providers:[\r\n OrganizationsTypesService\r\n ]\r\n})\r\nexport class OrganizationsTypesModule { }\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogRef, DynamicDialogConfig } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { OriginsService } from '../origins.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-origins-detail',\r\n templateUrl: './origins-detail.component.html',\r\n styleUrls: ['./origins-detail.component.scss']\r\n})\r\nexport class OriginsDetailComponent implements OnInit {\r\n\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public origin: any = {};\r\n constructor(\r\n private originsService: OriginsService,\r\n\r\n private coreDialogService: CoreDialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadData(this.config.data.id);\r\n }\r\n loadData(id) {\r\n if (id) {\r\n this.originsService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.origin = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n save(event: any) {\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n if (typeof this.origin.id === \"undefined\") {\r\n this.originsService.add(this.origin).subscribe({\r\n next: (data: any) => {\r\n this.origin = data;\r\n this.dynamicDialogRef.close(this.origin);\r\n this.messageService.add({\r\n closable: false, severity: 'success', summary: this.translateService.instant(\"component.origin.detail.add_origin_correct\") });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.originsService.save(this.origin.id, this.origin).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.origin.detail.save_origin_correct\") });\r\n this.dynamicDialogRef.close(this.origin);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.origin.delete_message\", { name: this.origin.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.originsService.delete(this.origin.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n onEvent(event) {\r\n if (event.component == \"origins.edit.general\") {\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.save(event);\r\n }\r\n }\r\n}\r\n","\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { OriginsDetailComponent } from '../origins-detail/origins-detail.component';\r\nimport { OriginsService } from '../origins.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-origins-list',\r\n templateUrl: './origins-list.component.html',\r\n styleUrls: ['./origins-list.component.scss']\r\n})\r\nexport class OriginsListComponent implements OnInit {\r\n\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public originsFilters: any = {};\r\n public origins: any[];\r\n private lastGridEvent: any;\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n\r\n constructor(\r\n private originsService: OriginsService,\r\n private coreDialogService: CoreDialogService,\r\n private dialogService: DialogService,\r\n private messageService: MessageService,\r\n private viewsService: ViewsService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\"\r\n }\r\n params = Object.assign(params, this.originsFilters);\r\n this.originsService.all(params).subscribe({\r\n next: (data: any) => {\r\n this.totalRecords = data.totalRows;\r\n this.origins = data.rows;\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n editOrigin(origin) {\r\n const ref = this.dialogService.open(OriginsDetailComponent, {\r\n data: {\r\n id: origin != null ? origin.id : null\r\n },\r\n header: origin != null ? this.translateService.instant(\"component.origin.edit_origin\") : this.translateService.instant(\"component.origin.add_origin\"),\r\n width: '45%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"origins.list.results\", \"reload\");\r\n });\r\n }\r\n delete(origin) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.origin.delete_message\", { name: origin.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.originsService.delete(origin.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"origins.list.results\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n search() {\r\n this.lastGridEvent.first = 0;\r\n this.loadData(this.lastGridEvent);\r\n }\r\n\r\n onEvent(event: any) {\r\n if (event.component == \"origins.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"origins.list.results\", \"reload\");\r\n } else if (event.component == \"origins.list.results\") {\r\n if (event.event == \"dblclick\") this.editOrigin(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.editOrigin(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.editOrigin(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete(event.data);\r\n }\r\n }\r\n}\r\n","\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { OriginsDetailComponent } from './origins-detail/origins-detail.component';\r\nimport { OriginsListComponent } from './origins-list/origins-list.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"origins\",component: OriginsListComponent },\r\n { path: \"origins/:id\",component: OriginsDetailComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class OriginsRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { OriginsRoutingModule } from './origins-routing.module';\r\nimport { OriginsListComponent } from './origins-list/origins-list.component';\r\nimport { OriginsDetailComponent } from './origins-detail/origins-detail.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextareaModule } from 'primeng/inputtextarea';\r\nimport { SplitButtonModule } from 'primeng/splitbutton';\r\nimport { TableModule } from 'primeng/table';\r\nimport { TimelineModule } from 'primeng/timeline';\r\nimport { CoreModule } from 'src/app/core/core.module';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [OriginsListComponent, OriginsDetailComponent],\r\n imports: [\r\n CommonModule,\r\n OriginsRoutingModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n InputTextareaModule,\r\n DropdownModule,\r\n CalendarModule,\r\n SplitButtonModule,\r\n TimelineModule,\r\n TranslateModule\r\n ],\r\n exports:[\r\n OriginsListComponent,\r\n OriginsDetailComponent\r\n ]\r\n})\r\nexport class OriginsModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OriginsService {\r\n\r\n url = \"/api/origins\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { NgForm } from '@angular/forms';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { CoreFormService } from 'src/app/core/forms/core-forms.service';\r\nimport { ProvincesService } from '../provinces.service';\r\nimport { Location } from '@angular/common';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { CountriesService } from '../../countries/countries.service';\r\n\r\n@Component({\r\n selector: 'app-provinces-detail',\r\n templateUrl: './provinces-detail.component.html',\r\n styleUrls: ['./provinces-detail.component.scss']\r\n})\r\nexport class ProvincesDetailComponent implements OnInit {\r\n @ViewChild(\"formDetails\") public formDetails: NgForm;\r\n public province: any = {\r\n name: \"\"\r\n };\r\n public countries: any[] = [];\r\n\r\n constructor(\r\n private provincesService: ProvincesService,\r\n private countriesService: CountriesService,\r\n private route: ActivatedRoute,\r\n private router: Router,\r\n private messageService: MessageService,\r\n private coreFormService: CoreFormService,\r\n private coreDialogService: CoreDialogService,\r\n private _location: Location,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadCountries();\r\n this.route.params.subscribe(params => {\r\n this.loadData(params['id']);\r\n });\r\n }\r\n\r\n loadData(id: number) {\r\n if (id != 0) {\r\n this.provincesService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.province = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n loadCountries() {\r\n this.countriesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.countries = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n cancel() {\r\n this.router.navigate(['/configuration/provinces']);\r\n }\r\n\r\n save() {\r\n if (this.coreFormService.validate(this.formDetails)) {\r\n this.provincesService.save(this.province.id, this.province).subscribe({\r\n next: (data: any) => {\r\n var _msg = (this.province.id != 0 && typeof this.province.id !== \"undefined\") ? \"save_correct\" : \"add_correct\";\r\n var aux = this.translateService.instant(\"component.province.detail.\" + _msg);\r\n this.messageService.add({ closable: false, severity: 'success', summary: aux });\r\n this.router.navigate(['/configuration/provinces']);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.province.delete_message\", { name: this.province.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.provincesService.delete(this.province.id).subscribe({\r\n next: (res: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"general.confirmation_delete\") });\r\n this._location.back();\r\n //this.router.navigate(['/configuration/provinces']);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n isDuplied() {\r\n var errorMessage = \"\";\r\n if (this.province.name.length <= 0) {\r\n //errorMessage += \"El nombre no puede estar vacío. \\n\";\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: this.translateService.instant(\"general.form_incomplete\") });\r\n }\r\n /*if(errorMessage){\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: errorMessage });\r\n }*/\r\n this.provincesService.isDuplied(this.province).subscribe(\r\n data => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.province.detail.types_duplicates\"),\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save();\r\n }\r\n }\r\n );\r\n }\r\n}\r\n","\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { Table } from 'primeng/table';\r\nimport { ProvincesService } from '../provinces.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { CountriesService } from '../../countries/countries.service';\r\n\r\n@Component({\r\n selector: 'app-provinces-list',\r\n templateUrl: './provinces-list.component.html',\r\n styleUrls: ['./provinces-list.component.scss']\r\n})\r\nexport class ProvincesListComponent implements OnInit {\r\n\r\n @ViewChild(\"grid\") public grid: Table;\r\n public provincesFilters: any = {};\r\n public provinces: any[];\r\n public countries: any[];\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n private lastGridEvent: any;\r\n\r\n public first;\r\n public last;\r\n constructor(private provincesService: ProvincesService,\r\n private countriesService: CountriesService,\r\n private router: Router,\r\n private coreDialogService: CoreDialogService,\r\n private messageService: MessageService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadCountries();\r\n }\r\n\r\n search() {\r\n this.lastGridEvent.first = 0;\r\n this.loadData(this.lastGridEvent);\r\n }\r\n\r\n clearFilters() {\r\n this.provincesFilters = {};\r\n this.search();\r\n }\r\n\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\"\r\n };\r\n params = Object.assign(params, this.provincesFilters);\r\n this.provincesService.all(params).subscribe({\r\n next: (data: any) => {\r\n this.totalRecords = data.totalRows;\r\n this.provinces = data.rows;\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n\r\n loadCountries() {\r\n this.countriesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.countries = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n edit(province) {\r\n this.router.navigate(['/configuration/provinces/', province.id]);\r\n }\r\n\r\n delete(province) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.province.delete_message\", { name: province.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.provincesService.delete(province.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n\r\n this.loadData(this.lastGridEvent);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n}\r\n","\r\n\r\n\r\n\r\n\r\n\r\n \r\n
\r\n {{ 'general.filter.title' | translate}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n
\r\n {{ 'province.entity.name_plural' | translate}}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {{ 'province.entity_fields.id' | translate}}\r\n {{ 'province.entity_fields.name' | translate}}\r\n {{ 'province.entity_fields.country_id' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n {{province.id}}\r\n {{province.name}}\r\n {{province.country.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { ProvincesDetailComponent } from './provinces-detail/provinces-detail.component';\r\nimport { ProvincesListComponent } from './provinces-list/provinces-list.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"provinces\", component: ProvincesListComponent },\r\n { path: \"provinces/:id\", component: ProvincesDetailComponent }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class ProvincesRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { ProvincesRoutingModule } from './provinces-routing.module';\r\nimport { ProvincesListComponent } from './provinces-list/provinces-list.component';\r\nimport { ProvincesDetailComponent } from './provinces-detail/provinces-detail.component';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TableModule } from 'primeng/table';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [ProvincesListComponent, ProvincesDetailComponent],\r\n imports: [\r\n CommonModule,\r\n ProvincesRoutingModule,\r\n CommonModule,\r\n FormsModule,\r\n HttpClientModule,\r\n ButtonModule,\r\n InputTextModule,\r\n TableModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n ConfirmDialogModule,\r\n DropdownModule,\r\n TranslateModule\r\n ],\r\n exports:[\r\n ProvincesListComponent,\r\n ProvincesDetailComponent\r\n ]\r\n})\r\nexport class ProvincesModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProvincesService {\r\n\r\n url = \"/api/provinces\";\r\n\r\n constructor(private http: HttpClient) {\r\n\r\n }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n if (id != 0 && typeof id !== \"undefined\") {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n } else {\r\n return this.add(obj);\r\n }\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n isDuplied(obj): Observable {\r\n return this.http.post(this.url + \"/isDuplied\", obj);\r\n }\r\n}\r\n","import { Component, ViewChild } from '@angular/core';\nimport { NgForm } from '@angular/forms';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { MessageService } from 'primeng/api';\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\nimport { CoreFormService } from 'src/app/core/forms/core-forms.service';\nimport { CountriesService } from '../../countries/countries.service';\nimport { Location } from '@angular/common';\nimport { ReasonsTransactionsStatusService } from '../reasons-transactions-status.service';\n\n@Component({\n selector: 'app-reasons-transactions-status-detail',\n templateUrl: './reasons-transactions-status-detail.component.html',\n styleUrls: ['./reasons-transactions-status-detail.component.scss']\n})\nexport class ReasonsTransactionsStatusDetailComponent {\n @ViewChild(\"formDetails\") public formDetails: NgForm;\n public reasonTransactionStatus: any = {\n name: \"\"\n };\n public countries: any[] = [];\n\n constructor(\n private reasonsTransactionsStatusService: ReasonsTransactionsStatusService,\n private route: ActivatedRoute,\n private router: Router,\n private messageService: MessageService,\n private coreFormService: CoreFormService,\n private coreDialogService: CoreDialogService,\n private _location: Location,\n private translateService: TranslateService\n ) { }\n\n ngOnInit(): void {\n this.route.params.subscribe(params => {\n this.loadData(params['id']);\n });\n }\n\n loadData(id: number) {\n if (id != 0) {\n this.reasonsTransactionsStatusService.get(id).subscribe({\n next: (data: any) => {\n this.reasonTransactionStatus = data;\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n }\n cancel() {\n this.router.navigate(['/configuration/reasonsTransactionsStatus']);\n }\n\n save() {\n if (this.coreFormService.validate(this.formDetails)) {\n this.reasonsTransactionsStatusService.save(this.reasonTransactionStatus.id, this.reasonTransactionStatus).subscribe({\n next: (data: any) => {\n var _msg = (this.reasonTransactionStatus.id != 0 && typeof this.reasonTransactionStatus.id !== \"undefined\") ? \"save_correct\" : \"add_correct\";\n var aux = this.translateService.instant(\"component.reasonTransactionStatus.detail.\" + _msg);\n this.messageService.add({ closable: false, severity: 'success', summary: aux });\n this.router.navigate(['/configuration/reasonsTransactionsStatus']);\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n }\n\n delete() {\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.reasonTransactionStatus.delete_message\", { name: this.reasonTransactionStatus.name }),\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: 'pi pi-info-circle',\n accept: () => {\n this.reasonsTransactionsStatusService.delete(this.reasonTransactionStatus.id).subscribe({\n next: (res: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"general.confirmation_delete\") });\n this._location.back();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n },\n reject: () => {\n\n }\n });\n }\n\n isDuplied() {\n this.save();\n return;\n var errorMessage = \"\";\n if (this.reasonTransactionStatus.name.length <= 0) {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: this.translateService.instant(\"general.form_incomplete\") });\n }\n this.reasonsTransactionsStatusService.isDuplied(this.reasonTransactionStatus).subscribe(\n data => {\n if (data == true) {\n this.coreDialogService.notify({\n message: this.translateService.instant(\"component.reasonsTransactionsStatus.detail.types_duplicates\"),\n header: 'Error',\n icon: 'far exclamation-circle',\n color: 'var(--orange-500)',\n accept: () => { }\n });\n } else {\n this.save();\n }\n }\n );\n }\n}\n","\n\n
\n \n
\n
\n \n \n
\n
\n \n
\n \n
\n \n \n
\n
\n
\n
","import { Component, ViewChild } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { MessageService } from 'primeng/api';\nimport { Table } from 'primeng/table';\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\nimport { CountriesService } from '../../countries/countries.service';\nimport { ReasonsTransactionsStatusService } from '../reasons-transactions-status.service';\n\n@Component({\n selector: 'app-reasons-transactions-status-list',\n templateUrl: './reasons-transactions-status-list.component.html',\n styleUrls: ['./reasons-transactions-status-list.component.scss']\n})\nexport class ReasonsTransactionsStatusListComponent {\n @ViewChild(\"grid\") public grid: Table;\n public reasonsTransactionsStatusFilters: any = {};\n public reasonsTransactionsStatus: any[];\n public totalRecords: number;\n public loading: boolean = false;\n private lastGridEvent: any;\n\n public first;\n public last;\n constructor(\n private reasonsTransactionsStatusService: ReasonsTransactionsStatusService,\n private router: Router,\n private coreDialogService: CoreDialogService,\n private messageService: MessageService,\n private translateService: TranslateService\n ) { }\n\n ngOnInit(): void {\n //this.loadCountries();\n }\n\n search() {\n this.lastGridEvent.first = 0;\n this.loadData(this.lastGridEvent);\n }\n\n clearFilters() {\n this.reasonsTransactionsStatusFilters = {};\n this.search();\n }\n\n loadData($event) {\n this.lastGridEvent = $event;\n Promise.resolve(null).then(() => this.loading = true);\n var params = {\n _page: $event.first,\n _pageSize: $event.rows,\n _sortBy: $event.sortField ? $event.sortField : \"\",\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\"\n };\n params = Object.assign(params, this.reasonsTransactionsStatusFilters);\n this.reasonsTransactionsStatusService.all(params).subscribe({\n next: (data: any) => {\n this.totalRecords = data.totalRows;\n this.reasonsTransactionsStatus = data.rows;\n Promise.resolve(null).then(() => this.loading = false);\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\n Promise.resolve(null).then(() => this.loading = false);\n }\n });\n }\n\n edit(reasonTransactionStatus) {\n this.router.navigate(['/configuration/reasonsTransactionsStatus/', reasonTransactionStatus.id]);\n }\n\n delete(reasonTransactionStatus) {\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.reasonTransactionStatus.delete_message\", { name: reasonTransactionStatus.name }),\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: 'pi pi-info-circle',\n accept: () => {\n this.reasonsTransactionsStatusService.delete(reasonTransactionStatus.id).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\n\n this.loadData(this.lastGridEvent);\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\n }\n });\n },\n reject: () => {\n\n }\n });\n }\n\n}\n","\n\n\n\n \n
\n {{ 'general.filter.title' | translate}}\n \n
\n
\n
\n
\n \n \n
\n
\n \n
\n
\n\n \n
\n {{ 'reasonTransactionStatus.entity.name_plural' | translate}}\n \n
\n
\n \n \n \n {{ 'reasonTransactionStatus.entity_fields.id' | translate}}\n {{ 'reasonTransactionStatus.entity_fields.name' | translate}}\n \n \n \n \n \n {{reasonTransactionStatus.id}}\n {{reasonTransactionStatus.name}}\n \n \n \n \n \n \n \n \n \n \n \n
","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class ReasonsTransactionsStatusService {\n\n url = \"/api/reasonsTransactionsStatus\";\n\n constructor(private http: HttpClient) {\n\n }\n\n all(params): Observable {\n return this.http.get(this.url, { params: params });\n }\n\n get(id): Observable {\n return this.http.get(this.url + \"/\" + id);\n }\n\n save(id, obj): Observable {\n if (id != 0 && typeof id !== \"undefined\") {\n return this.http.put(this.url + \"/\" + id, obj);\n } else {\n return this.add(obj);\n }\n }\n\n add(obj): Observable {\n return this.http.post(this.url, obj);\n }\n\n delete(id): Observable {\n return this.http.delete(this.url + \"/\" + id);\n }\n isDuplied(obj): Observable {\n return this.http.post(this.url + \"/isDuplied\", obj);\n }\n}\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { AppSettingsService } from '../../app-settings.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PermissionsGroupService {\r\n\r\n url = \"permissionsGroup\";\r\n\r\n constructor(private http: HttpClient, private appSetting:AppSettingsService) {\r\n this.url = appSetting.Api(this.url);\r\n }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { AppSettingsService } from '../../app-settings.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class PermissionsService {\r\n\r\n url = \"permissions\";\r\n\r\n constructor(private http: HttpClient, private appSetting:AppSettingsService) {\r\n this.url = appSetting.Api(this.url);\r\n }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Message, MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { PermissionsGroupService } from '../permissions-group.service';\r\nimport { PermissionsService } from '../permissions.service';\r\nimport { RolesService } from '../roles.service';\r\nimport { style } from '@angular/animations';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { FeaturesService } from 'src/app/features/features.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-roles-detail',\r\n templateUrl: './roles-detail.component.html',\r\n styleUrls: ['./roles-detail.component.scss']\r\n})\r\nexport class RolesDetailComponent implements OnInit {\r\n public role: any = {\r\n };\r\n public permissionsGroup: any[];\r\n public permissions: any[];\r\n public allPermissions: any[];\r\n public checked_all: any;\r\n public selectedPermissions: string[] = [];\r\n public features: any[];\r\n\r\n constructor(\r\n private rolesService: RolesService,\r\n private featuresService: FeaturesService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private config: DynamicDialogConfig,\r\n private messageService: MessageService,\r\n private permissionsGroupService: PermissionsGroupService,\r\n private permissionsService: PermissionsService,\r\n private coreDialogService: CoreDialogService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadData(this.config.data.id);\r\n }\r\n\r\n loadData(id) {\r\n if (id != 0 && id != null) {\r\n this.rolesService.get(id).subscribe(\r\n data => {\r\n this.role = data;\r\n\r\n this.selectedPermissions = this.role.rolePermissions.map(m => m.permission_id + \"\");\r\n this.loadDataFeatures();\r\n },\r\n error => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n } else {\r\n this.role = {\r\n rolePermissions: []\r\n }\r\n this.loadDataFeatures();\r\n }\r\n\r\n }\r\n\r\n loadDataPermissionsGroup() {\r\n this.permissionsGroupService.all({}).subscribe(\r\n data => {\r\n this.permissionsGroup = data.rows;\r\n this.loadDataPermissions();\r\n },\r\n error => {\r\n this.messageService.add({ severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n loadDataPermissions() {\r\n var ids = this.features.map(m => m.id);\r\n this.permissionsService.all({ featureIds: ids }).subscribe(\r\n data => {\r\n this.permissions = data.rows;\r\n this.allPermissions = this.permissions.map(permission => permission.id + \"\");\r\n this.updateChecked();\r\n },\r\n error => {\r\n this.messageService.add({ severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n getPermissions(group) {\r\n if (this.permissions == null) return [];\r\n return this.permissions.filter(m => m.permission_group_id == group.id);\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: '¿Quieres borrar el rol ' + this.role.name + '?',\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.rolesService.delete(this.role.id).subscribe(\r\n data => {\r\n this.messageService.add({ severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close(data);\r\n }\r\n ),\r\n error => {\r\n this.messageService.add({ severity: 'error', detail: error.error.title });\r\n }\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n\r\n }\r\n\r\n save() {\r\n //añadir permisos al rol\r\n let finalRolePermissions = this.selectedPermissions.map(permission_id => {\r\n let existentPermissions = this.role.rolePermissions.filter(m => m.permission_id == permission_id && !m.deleted);\r\n if (existentPermissions.length > 0) {\r\n return existentPermissions[0];\r\n } else {\r\n return { role_id: this.role.id, permission_id: parseInt(permission_id) };\r\n }\r\n })\r\n this.role.rolePermissions = finalRolePermissions;\r\n\r\n if (typeof this.role.id === \"undefined\") {\r\n this.rolesService.add(this.role).subscribe(\r\n data => {\r\n this.role = data;\r\n this.loadData(this.role.id);\r\n this.messageService.add({ severity: \"success\", detail: \"Guardado correctamente\" });\r\n },\r\n error => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n } else {\r\n this.rolesService.save(this.role.id, this.role).subscribe(\r\n data => {\r\n this.messageService.add({ severity: \"success\", detail: \"Guardado correctamente\" });\r\n this.dynamicDialogRef.close();\r\n },\r\n error => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }\r\n }\r\n loadDataFeatures() {\r\n this.featuresService.all({}).subscribe(\r\n data => {\r\n this.features = data.rows;\r\n this.loadDataPermissionsGroup();\r\n }, error => {\r\n this.messageService.add({ severity: 'error', detail: error.error.title });\r\n }\r\n )\r\n }\r\n isDuplied() {\r\n this.rolesService.isDuplied(this.role).subscribe(\r\n data => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: \"Ya existe un rol con estos datos proporcionados.\",\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save();\r\n }\r\n }\r\n );\r\n }\r\n check_all() {\r\n this.allPermissions.sort();\r\n this.selectedPermissions.sort();\r\n\r\n //Si el check está marcado, añadirá todos los permisos posibles al array.\r\n if (this.checked_all) {\r\n this.selectedPermissions = this.allPermissions;\r\n } else {\r\n //Y si no, los borra.\r\n this.selectedPermissions = [];\r\n }\r\n }\r\n updateChecked() {\r\n if (this.selectedPermissions.length == this.allPermissions.length) {\r\n this.checked_all = true;\r\n } else {\r\n this.checked_all = false;\r\n }\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n 0\">\r\n {{ 'permissions_groups.' + permissionGroup.code | translate }}\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { faSmileBeam } from '@fortawesome/free-solid-svg-icons';\r\nimport { Message, MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { Table } from 'primeng/table';\r\nimport { RolesDetailComponent } from '../roles-detail/roles-detail.component';\r\nimport { RolesService } from \"../roles.service\";\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-roles-list',\r\n templateUrl: './roles-list.component.html',\r\n styleUrls: ['./roles-list.component.scss']\r\n})\r\nexport class RolesListComponent implements OnInit {\r\n @ViewChild(\"grid\") public grid: Table;\r\n public rolesFilters: any = {};\r\n public roles: any[];\r\n private lastGridEvent: any;\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n\r\n public first;\r\n public last;\r\n constructor(\r\n private rolesService: RolesService,\r\n private route: ActivatedRoute,\r\n private coreDialogService: CoreDialogService,\r\n private messageService: MessageService,\r\n private dialogService: DialogService,\r\n private router: Router, private translateService: TranslateService) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n search() {\r\n this.lastGridEvent.first = 0;\r\n this.loadData(this.lastGridEvent);\r\n }\r\n\r\n clearFilters() {\r\n this.rolesFilters = {};\r\n this.search();\r\n }\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\"\r\n };\r\n params = Object.assign(params, this.rolesFilters);\r\n this.rolesService.all(params).subscribe(\r\n data => {\r\n this.totalRecords = data.totalRows;\r\n this.roles = data.rows;\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error => {\r\n this.messageService.add({ severity: 'error', detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n );\r\n }\r\n\r\n delete(role: any) {\r\n this.coreDialogService.confirm({\r\n message: '¿Quieres borrar el rol ' + role.name + '?',\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.rolesService.delete(role.id).subscribe(\r\n data => {\r\n this.loadData(this.lastGridEvent);\r\n this.messageService.add({ severity: \"success\", detail: 'Eliminado correctamente.' });\r\n\r\n },\r\n error => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n edit(role: any) {\r\n const ref = this.dialogService.open(RolesDetailComponent, {\r\n data: {\r\n id: role != null ? role.id : null\r\n },\r\n //header: role!=null?'Modificar rol':'Añadir rol',\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data) {\r\n this.loadData(this.lastGridEvent);\r\n }\r\n this.loadData(this.lastGridEvent);\r\n });\r\n }\r\n}\r\n","\r\n\r\n \r\n
\r\n {{ 'general.filter.title' | translate}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n \r\n
\r\n {{ 'role.entity.name_plural' | translate}}\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n {{ 'role.entity_fields.id' | translate}}\r\n {{ 'role.entity_fields.name' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n {{role.id}}\r\n {{role.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RolesPermissionsService {\r\n\r\n url = \"/api/rolesPermissions\";\r\n\r\n constructor(private http: HttpClient) {\r\n }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { AppSettingsService } from '../../app-settings.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class RolesService {\r\n url = \"roles\";\r\n\r\n constructor(private http: HttpClient, private appSetting:AppSettingsService) {\r\n this.url = appSetting.Api(this.url);\r\n }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n getComboRoles(params): Observable{\r\n return this.http.get(this.url+\"/getComboRoles\",{params:params});\r\n }\r\n combo(params): Observable {\r\n return this.http.get(this.url + \"/Combo\", { params: params });\r\n }\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n isDuplied(obj): Observable{\r\n return this.http.post(this.url+\"/isDuplied\",obj);\r\n }\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { SectorsService } from '../sectors.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-sectors-detail',\r\n templateUrl: './sectors-detail.component.html',\r\n styleUrls: ['./sectors-detail.component.scss']\r\n})\r\nexport class SectorsDetailComponent implements OnInit {\r\n\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public sector: any = {};\r\n constructor(\r\n private sectorsService: SectorsService,\r\n\r\n private coreDialogService: CoreDialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadData(this.config.data.id);\r\n }\r\n loadData(id) {\r\n if (id) {\r\n this.sectorsService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.sector = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n save(event: any) {\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n if (typeof this.sector.id === \"undefined\") {\r\n this.sectorsService.add(this.sector).subscribe({\r\n next: (data: any) => {\r\n this.sector = data;\r\n this.loadData(this.sector.id);\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.sectors.detail.add_sector_correct\") });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.sectorsService.save(this.sector.id, this.sector).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.sectors.detail.save_sector_correct\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.sectors.delete_message\", { name: this.sector.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.sectorsService.delete(this.sector.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n }\r\n })\r\n }\r\n onEvent(event) {\r\n if (event.component == \"sector.edit.general\") {\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.save(event);\r\n }\r\n }\r\n}\r\n","","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { SectorsDetailComponent } from '../sectors-detail/sectors-detail.component';\r\nimport { SectorsService } from '../sectors.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-sectors-list',\r\n templateUrl: './sectors-list.component.html',\r\n styleUrls: ['./sectors-list.component.scss']\r\n})\r\nexport class SectorsListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public sectorsFilters: any = {};\r\n public tasksActionsTypes: any[];\r\n private lastGridEvent: any;\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n\r\n constructor(\r\n private sectorsService: SectorsService,\r\n private coreDialogService: CoreDialogService,\r\n private dialogService: DialogService,\r\n private messageService: MessageService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n /*var params = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\"\r\n }*/\r\n //params = Object.assign(params, this.organizationsFilters);\r\n this.sectorsService.all({}).subscribe({\r\n next: (data:any) => {\r\n this.totalRecords = data.totalRows;\r\n this.tasksActionsTypes = data.rows;\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error:any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n editSector(sector) {\r\n const ref = this.dialogService.open(SectorsDetailComponent, {\r\n data: {\r\n id: sector != null ? sector.id : null\r\n },\r\n header: sector != null ? this.translateService.instant(\"component.sectors.edit_sector\") : this.translateService.instant(\"component.sectors.add_sector\"),\r\n width: '45%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.view.fireEvent(\"sectors.list.results\", \"reload\");\r\n });\r\n }\r\n delete(sector) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.sectors.delete_message\", { name: sector.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.sectorsService.delete(sector.id).subscribe({\r\n next: (data:any) => {\r\n //this.loadData(this.lastGridEvent);\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"sectors.list.results\", \"reload\");\r\n },\r\n error: (error:any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n onEvent(event: any) {\r\n if (event.component == \"sectors.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"sectors.list.results\", \"reload\");\r\n } else if (event.component == \"sectors.list.results\") {\r\n if (event.event == \"dblclick\") this.editSector(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.editSector(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.editSector(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete(event.data);\r\n }\r\n }\r\n}\r\n","\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { SectorsDetailComponent } from './sectors-detail/sectors-detail.component';\r\nimport { SectorsListComponent } from './sectors-list/sectors-list.component';\r\n\r\nconst routes: Routes = [\r\n {path:'sectors', component:SectorsListComponent},\r\n {path:'sectors/:id', component:SectorsDetailComponent},\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class SectorsRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { SectorsRoutingModule } from './sectors-routing.module';\r\nimport { SectorsListComponent } from './sectors-list/sectors-list.component';\r\nimport { SectorsDetailComponent } from './sectors-detail/sectors-detail.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextareaModule } from 'primeng/inputtextarea';\r\nimport { SplitButtonModule } from 'primeng/splitbutton';\r\nimport { TableModule } from 'primeng/table';\r\nimport { TimelineModule } from 'primeng/timeline';\r\nimport { CoreModule } from 'src/app/core/core.module';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [SectorsListComponent, SectorsDetailComponent],\r\n imports: [\r\n CommonModule,\r\n SectorsRoutingModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n InputTextareaModule,\r\n DropdownModule,\r\n CalendarModule,\r\n SplitButtonModule,\r\n TimelineModule,\r\n TranslateModule\r\n ],\r\n exports:[\r\n SectorsListComponent,\r\n SectorsDetailComponent\r\n ]\r\n})\r\nexport class SectorsModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SectorsService {\r\n url = \"/api/sectors\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { NgForm } from '@angular/forms';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { MessageService } from 'primeng/api';\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\nimport { CoreFormService } from 'src/app/core/forms/core-forms.service';\nimport { TaskStatusService } from '../task-status.service';\nimport { Location } from '@angular/common';\n\n@Component({\n selector: 'app-task-status-detail',\n templateUrl: './task-status-detail.component.html',\n styleUrls: ['./task-status-detail.component.scss']\n})\nexport class TaskStatusDetailComponent implements OnInit {\n @ViewChild(\"formDetails\") public formDetails: NgForm;\n public taskStatus: any = {\n name: \"\"\n };\n public init_default = false;\n constructor(\n private taskStatusService: TaskStatusService,\n private route: ActivatedRoute,\n private router: Router,\n private messageService: MessageService,\n private coreFormService: CoreFormService,\n private coreDialogService: CoreDialogService,\n private _location: Location,\n private translateService: TranslateService,\n ) { }\n\n ngOnInit(): void {\n this.route.params.subscribe(params => {\n this.loadData(params['id']);\n });\n }\n\n loadData(id: number) {\n if (id != 0) {\n this.taskStatusService.get(id).subscribe({\n next: (data: any) => {\n this.taskStatus = data;\n this.init_default = this.taskStatus.is_default\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n } else {\n this.taskStatus.css_class = \"secondary\";\n this.taskStatus.color = \"#82868b\"\n }\n }\n\n cancel() {\n this.router.navigate(['/configuration/taskStatus']);\n }\n\n save() {\n if (this.init_default != true && this.taskStatus.is_default == true) {\n //Si empieza como false y se cambia a true...\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.taskStatus.change_default\"),\n header: this.translateService.instant(\"general.confirmation_change_default\"),\n icon: \"pi pi-info-circle\",\n accept: () => {\n this.saveProcess();\n return true;\n },\n reject: () => {\n return false\n }\n });\n } else {\n this.saveProcess();\n return true;\n }\n }\n\n saveProcess() {\n if (this.coreFormService.validate(this.formDetails)) {\n this.taskStatusService.save(this.taskStatus.id, this.taskStatus).subscribe({\n next: (data: any) => {\n var _msg = (this.taskStatus.id != 0 && typeof this.taskStatus.id !== \"undefined\") ? \"save_correct\" : \"add_correct\";\n var aux = this.translateService.instant(\"component.taskStatus.detail.\" + _msg);\n this.messageService.add({ closable: false, severity: 'success', summary: aux });\n this.router.navigate(['/configuration/taskStatus']);\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n }\n\n delete() {\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.taskStatus.delete_message\", { name: this.taskStatus.name }),\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: 'pi pi-info-circle',\n accept: () => {\n this.taskStatusService.delete(this.taskStatus.id).subscribe({\n next: (res: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"general.confirmation_delete\") });\n this._location.back();\n //this.router.navigate(['/configuration/taskStatus']);\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n },\n reject: () => {\n\n }\n });\n }\n\n isDuplied() {\n var errorMessage = \"\";\n if (this.taskStatus.name.length <= 0) {\n //errorMessage += \"El nombre no puede estar vacío. \\n\";\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: this.translateService.instant(\"general.form_incomplete\") });\n }\n /*if(errorMessage){\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: errorMessage });\n }*/\n this.taskStatusService.isDuplied(this.taskStatus).subscribe(\n data => {\n if (data == true) {\n this.coreDialogService.notify({\n message: this.translateService.instant(\"component.taskStatus.detail.types_duplicates\"),\n header: 'Error',\n icon: 'far exclamation-circle',\n color: 'var(--orange-500)',\n accept: () => { }\n });\n } else {\n this.save();\n }\n }\n );\n }\n}\n","\n\n
\n \n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n\n
\n \n
\n \n
\n \n \n
\n
\n
\n
","import { Component, ViewChild } from '@angular/core';\nimport { TaskStatusService } from '../task-status.service';\nimport { Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { MessageService } from 'primeng/api';\nimport { Table } from 'primeng/table';\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\n\n@Component({\n selector: 'app-task-status-list',\n templateUrl: './task-status-list.component.html',\n styleUrls: ['./task-status-list.component.scss']\n})\nexport class TaskStatusListComponent {\n @ViewChild(\"grid\") public grid: Table;\n public taskStatusFilters: any = {};\n public taskStatus: any[];\n public totalRecords: number;\n public loading: boolean = false;\n private lastGridEvent: any;\n\n public first;\n public last;\n constructor(\n private taskStatusService: TaskStatusService,\n private router: Router,\n private coreDialogService: CoreDialogService,\n private messageService: MessageService,\n private translateService: TranslateService\n ) { }\n\n ngOnInit(): void { }\n\n search() {\n this.lastGridEvent.first = 0;\n this.loadData(this.lastGridEvent);\n }\n\n clearFilters() {\n this.taskStatusFilters = {};\n this.search();\n }\n\n loadData($event) {\n this.lastGridEvent = $event;\n Promise.resolve(null).then(() => this.loading = true);\n var params = {\n _page: $event.first,\n _pageSize: $event.rows,\n _sortBy: $event.sortField ? $event.sortField : \"order\",\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\"\n };\n params = Object.assign(params, this.taskStatusFilters);\n this.taskStatusService.all(params).subscribe({\n next: (data: any) => {\n this.totalRecords = data.totalRows;\n this.taskStatus = data.rows;\n Promise.resolve(null).then(() => this.loading = false);\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\n Promise.resolve(null).then(() => this.loading = false);\n }\n });\n }\n\n edit(taskStatus) {\n this.router.navigate(['/configuration/taskStatus/', taskStatus.id]);\n }\n\n delete(taskStatus) {\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.taskStatus.delete_message\", { name: taskStatus.name }),\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: 'pi pi-info-circle',\n accept: () => {\n this.taskStatusService.delete(taskStatus.id).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\n\n this.loadData(this.lastGridEvent);\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\n }\n });\n },\n reject: () => {\n\n }\n });\n }\n\n}\n","\n\n\n\n\n\n \n
\n {{ 'general.filter.title' | translate}}\n \n
\n
\n
\n
\n \n \n
\n
\n \n
\n
\n\n \n
\n {{ 'taskStatus.entity.name_plural' | translate}}\n \n
\n
\n \n \n \n {{ 'taskStatus.entity_fields.id' | translate}}\n {{ 'taskStatus.entity_fields.name' | translate}}\n {{ 'taskStatus.entity_fields.order' | translate}}\n \n \n \n \n \n {{taskStatus.id}}\n {{taskStatus.name}}\n {{taskStatus.order}}\n \n \n \n \n \n \n \n \n \n \n \n
","import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { TaskStatusListComponent } from './task-status-list/task-status-list.component';\nimport { TaskStatusDetailComponent } from './task-status-detail/task-status-detail.component';\n\nconst routes: Routes = [\n { path: \"taskStatus\", component: TaskStatusListComponent },\n { path: \"taskStatus/:id\", component: TaskStatusDetailComponent }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule]\n})\nexport class TaskStatusRoutingModule { }\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { TaskStatusRoutingModule } from './task-status-routing.module';\nimport { TaskStatusListComponent } from './task-status-list/task-status-list.component';\nimport { TaskStatusDetailComponent } from './task-status-detail/task-status-detail.component';\nimport { HttpClientModule } from '@angular/common/http';\nimport { FormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { ButtonModule } from 'primeng/button';\nimport { CardModule } from 'primeng/card';\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\nimport { DropdownModule } from 'primeng/dropdown';\nimport { InputTextModule } from 'primeng/inputtext';\nimport { TableModule } from 'primeng/table';\nimport { ColorPickerModule } from 'primeng/colorpicker';\nimport { CheckboxModule } from 'primeng/checkbox';\n\n\n@NgModule({\n declarations: [\n TaskStatusListComponent,\n TaskStatusDetailComponent\n ],\n imports: [\n CommonModule,\n TaskStatusRoutingModule,\n FormsModule,\n HttpClientModule,\n ButtonModule,\n InputTextModule,\n TableModule,\n CardModule,\n FontAwesomeModule,\n ConfirmDialogModule,\n DropdownModule,\n TranslateModule,\n ColorPickerModule,\n CheckboxModule\n ],\n exports:[\n TaskStatusListComponent,\n TaskStatusDetailComponent\n ]\n})\nexport class TaskStatusModule { }\n","import { HttpClient } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class TaskStatusService {\n\n url = \"/api/tasksStatus\";\n\n constructor(private http: HttpClient) {\n\n }\n\n all(params): Observable {\n return this.http.get(this.url, { params: params });\n }\n\n get(id): Observable {\n return this.http.get(this.url + \"/\" + id);\n }\n\n save(id, obj): Observable {\n if (id != 0 && typeof id !== \"undefined\") {\n return this.http.put(this.url + \"/\" + id, obj);\n } else {\n return this.add(obj);\n }\n }\n\n add(obj): Observable {\n return this.http.post(this.url, obj);\n }\n\n delete(id): Observable {\n return this.http.delete(this.url + \"/\" + id);\n }\n isDuplied(obj): Observable {\n return this.http.post(this.url + \"/isDuplied\", obj);\n }\n}\n","import { Component, OnInit } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogRef, DynamicDialogConfig } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { TasksActionTypesService } from 'src/app/tasks/tasks-action-types.service';\r\n\r\n@Component({\r\n selector: 'app-tasks-actions-types-detail',\r\n templateUrl: './tasks-actions-types-detail.component.html',\r\n styleUrls: ['./tasks-actions-types-detail.component.scss']\r\n})\r\nexport class TasksActionsTypesDetailComponent implements OnInit {\r\n\r\n public taskActionType: any = {}\r\n\r\n constructor(\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private config: DynamicDialogConfig,\r\n private messageService: MessageService,\r\n private taskActionTypesService: TasksActionTypesService,\r\n private coreDialogService: CoreDialogService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadData(this.config.data.id);\r\n }\r\n loadData(id) {\r\n if (id != 0 && id != null) {\r\n this.taskActionTypesService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.taskActionType = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.tasksActionsTypes.delete_message\", { name: this.taskActionType.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.taskActionTypesService.delete(this.taskActionType.id).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close(data);\r\n }\r\n ),\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n save() {\r\n if (typeof this.taskActionType.id === \"undefined\") {\r\n this.taskActionTypesService.add(this.taskActionType).subscribe({\r\n next: (data: any) => {\r\n this.taskActionType = data;\r\n this.loadData(this.taskActionType.id);\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.tasksActionsTypes.detail.save_correct\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.taskActionTypesService.save(this.taskActionType.id, this.taskActionType).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.tasksActionsTypes.detail.add_correct\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { TasksActionTypesService } from 'src/app/tasks/tasks-action-types.service';\r\nimport { TasksActionsTypesDetailComponent } from '../tasks-actions-types-detail/tasks-actions-types-detail.component';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-tasks-actions-types-list',\r\n templateUrl: './tasks-actions-types-list.component.html',\r\n styleUrls: ['./tasks-actions-types-list.component.scss']\r\n})\r\nexport class TasksActionsTypesListComponent implements OnInit {\r\n\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public tasksActionsTypesFilters: any = {};\r\n public tasksActionsTypes: any[];\r\n private lastGridEvent: any;\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n\r\n constructor(\r\n private tasksActionTypesService: TasksActionTypesService,\r\n private coreDialogService: CoreDialogService,\r\n private dialogService: DialogService,\r\n private messageService: MessageService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\"\r\n }\r\n //params = Object.assign(params, this.organizationsFilters);\r\n this.tasksActionTypesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.totalRecords = data.totalRows;\r\n this.tasksActionsTypes = data.rows;\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n\r\n edit(taskActionType){\r\n const ref = this.dialogService.open(TasksActionsTypesDetailComponent,{\r\n data:{\r\n id: taskActionType!=null?taskActionType.id:null\r\n },\r\n header: taskActionType != null ? this.translateService.instant(\"component.tasksActionsTypes.edit_tasksActionsTypes\") : this.translateService.instant(\"component.tasksActionsTypes.add_tasksActionsTypes\"),\r\n width: '30%'\r\n });\r\n ref.onClose.subscribe((data:any) =>{\r\n this.loadData(this.lastGridEvent);\r\n })\r\n }\r\n delete(taskActionType){\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.tasksActionsTypes.delete_message\", { name: taskActionType.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept:()=>{\r\n this.tasksActionTypesService.delete(taskActionType.id).subscribe({\r\n next: (data: any) => {\r\n this.loadData(this.lastGridEvent);\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject:()=>{\r\n \r\n }\r\n })\r\n }\r\n}\r\n","\r\n\r\n \r\n
\r\n {{'component.tasksActionsTypes.title' | translate}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n Nombre\r\n \r\n \r\n \r\n \r\n \r\n {{taskActionType.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { TasksActionsTypesDetailComponent } from './tasks-actions-types-detail/tasks-actions-types-detail.component';\r\nimport { TasksActionsTypesListComponent } from './tasks-actions-types-list/tasks-actions-types-list.component';\r\n\r\nconst routes: Routes = [\r\n {path:'tasksActionTypes', component:TasksActionsTypesListComponent},\r\n { path: \"tasksActionTypes/:id\", component: TasksActionsTypesDetailComponent }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class TasksActionsTypesRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { TasksActionsTypesRoutingModule } from './tasks-actions-types-routing.module';\r\nimport { TasksActionsTypesListComponent } from './tasks-actions-types-list/tasks-actions-types-list.component';\r\nimport { TasksActionsTypesDetailComponent } from './tasks-actions-types-detail/tasks-actions-types-detail.component';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TableModule } from 'primeng/table';\r\nimport { RouterModule } from '@angular/router';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [TasksActionsTypesListComponent, TasksActionsTypesDetailComponent],\r\n imports: [\r\n CommonModule,\r\n TasksActionsTypesRoutingModule,\r\n FormsModule,\r\n HttpClientModule,\r\n ButtonModule,\r\n InputTextModule,\r\n TableModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n ConfirmDialogModule,\r\n DropdownModule,\r\n RouterModule,\r\n TranslateModule\r\n ],\r\n exports:[\r\n TasksActionsTypesListComponent,\r\n TasksActionsTypesDetailComponent\r\n ]\r\n})\r\nexport class TasksActionsTypesModule { }\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { NgForm } from '@angular/forms';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { CoreFormService } from 'src/app/core/forms/core-forms.service';\r\nimport { TaxRatesService } from '../tax-rates.service';\r\nimport { Location } from '@angular/common';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-tax-rates-detail',\r\n templateUrl: './tax-rates-detail.component.html',\r\n styleUrls: ['./tax-rates-detail.component.scss']\r\n})\r\nexport class TaxRatesDetailComponent implements OnInit {\r\n\r\n @ViewChild(\"formDetails\") public formDetails: NgForm;\r\n public taxRate: any = {\r\n name: \"\"\r\n };\r\n public countries: any[] = [];\r\n\r\n constructor(\r\n private taxRatesService: TaxRatesService,\r\n private route: ActivatedRoute,\r\n private router: Router,\r\n private messageService: MessageService,\r\n private coreFormService: CoreFormService,\r\n private coreDialogService: CoreDialogService,\r\n private _location: Location,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.route.params.subscribe(params => {\r\n this.loadData(params['id']);\r\n });\r\n }\r\n\r\n loadData(id: number) {\r\n if (id != 0) {\r\n this.taxRatesService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.taxRate = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n cancel() {\r\n this.router.navigate(['/configuration/taxRates']);\r\n }\r\n\r\n save() {\r\n if (this.taxRate.id != null && this.taxRate.id > 0) {\r\n this.taxRatesService.save(this.taxRate.id, this.taxRate).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.taxRates.detail.save_correct\") });\r\n this.router.navigate(['/configuration/taxRates']);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.taxRatesService.add(this.taxRate).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.taxRates.detail.add_correct\") });\r\n this.router.navigate(['/configuration/taxRates']);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.taxRates.delete_message\", { name: this.taxRate.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.taxRatesService.delete(this.taxRate.id).subscribe({\r\n next: (data: any) => {\r\n\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this._location.back();\r\n //this.router.navigate(['/configuration/taxRates']);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n isDuplied() {\r\n var errorMessage = \"\";\r\n if (this.taxRate.name.length <= 0) {\r\n //errorMessage += \"El nombre no puede estar vacío. \\n\";\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: this.translateService.instant(\"component.taxRates.detail.no_name\") });\r\n }\r\n /*if(errorMessage){\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: errorMessage });\r\n }*/\r\n this.taxRatesService.isDuplied(this.taxRate).subscribe(\r\n data => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.taxRates.detail.taxRates_duplicate\"),\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save();\r\n }\r\n }\r\n );\r\n }\r\n}\r\n","\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { Table } from 'primeng/table';\r\nimport { TaxRatesService } from '../tax-rates.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ViewComponent } from '../../../core/view/view.component';\r\n\r\n@Component({\r\n selector: 'app-tax-rates-list',\r\n templateUrl: './tax-rates-list.component.html',\r\n styleUrls: ['./tax-rates-list.component.scss']\r\n})\r\nexport class TaxRatesListComponent implements OnInit {\r\n @ViewChild(\"grid\") public grid: Table;\r\n public taxRatesFilters: any = {};\r\n public taxRates: any[];\r\n public countries: any[];\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n private lastGridEvent: any;\r\n public resumen_table_records: string;\r\n\r\n constructor(\r\n private taxRatesService: TaxRatesService,\r\n private router: Router,\r\n private coreDialogService: CoreDialogService,\r\n private messageService: MessageService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n search() {\r\n this.lastGridEvent.first = 0;\r\n this.loadData(this.lastGridEvent);\r\n }\r\n\r\n clearFilters() {\r\n this.taxRatesFilters = {};\r\n this.search();\r\n }\r\n\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\"\r\n };\r\n params = Object.assign(params, this.taxRatesFilters);\r\n this.taxRatesService.all(params).subscribe({\r\n next: (data: any) => {\r\n this.totalRecords = data.totalRows;\r\n this.taxRates = data.rows;\r\n this.resumen_table_records = this.translateService.instant(\"component.taxRates.resumen_table_records\", { first: $event.first, last: $event.last, totalRecords: this.totalRecords });\r\n\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n\r\n edit(taxRate) {\r\n this.router.navigate(['/configuration/taxRates/', taxRate.id]);\r\n }\r\n\r\n delete(taxRate) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.taxRates.delete_message\", { name: taxRate.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.taxRatesService.delete(taxRate.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n\r\n this.loadData(this.lastGridEvent);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n}\r\n","\r\n\r\n\r\n \r\n
\r\n {{'taxRate.entity.name_plural' | translate}}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {{'taxRate.entity_fields.id' | translate}}\r\n {{'taxRate.entity_fields.name' | translate}}\r\n {{'taxRate.entity_fields.percent' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n {{taxRate.id}}\r\n {{taxRate.name}}\r\n {{taxRate.percent}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TaxRatesService {\r\n\r\n url = \"/api/taxRates\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n isDuplied(obj): Observable {\r\n return this.http.post(this.url + \"/isDuplied\", obj);\r\n }\r\n}\r\n","import { Component, OnInit, SecurityContext } from '@angular/core';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig } from 'primeng/dynamicdialog';\r\nimport { TemplatesService } from '../templates.service';\r\n\r\n@Component({\r\n selector: 'app-html-preview',\r\n templateUrl: './html-preview.component.html',\r\n styleUrls: ['./html-preview.component.scss']\r\n})\r\nexport class HtmlPreviewComponent implements OnInit {\r\n\r\n public entity_id;\r\n public entity_pk_id;\r\n public temporal_template;\r\n public res = \"\";\r\n\r\n constructor(\r\n private config: DynamicDialogConfig,\r\n private templatesService: TemplatesService,\r\n private messageService: MessageService, public sanitizer: DomSanitizer,\r\n\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.entity_id = this.config.data.entity_id;\r\n this.entity_pk_id = this.config.data.entity_pk_id;\r\n this.temporal_template = this.config.data.temporal_template;\r\n this.getHtml();\r\n }\r\n\r\n public getHtml() {\r\n this.templatesService.toHTML(this.temporal_template.id, this.entity_id, this.entity_pk_id, this.temporal_template).subscribe({\r\n next: (data: any) => {\r\n this.res = data.html;\r\n //this.res = this.sanitizer.sanitize(SecurityContext.HTML,data.html);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n };\r\n}\r\n","

\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { EntitiesService } from '../../entities.service';\r\nimport { RolesService } from '../../roles/roles.service';\r\nimport { ZonesService } from '../../zones/zones.service';\r\nimport { HtmlPreviewComponent } from '../html-preview/html-preview.component';\r\nimport { TemplatesTypesService } from '../templates-types.service';\r\nimport { TemplatesService } from '../templates.service';\r\nimport { timeout } from 'rxjs';\r\nimport { BeeService } from '../../../core/bee.service';\r\nimport { ViewsService } from '../../../core/view/views.service';\r\nimport { CoreFormService } from '../../../core/forms/core-forms.service';\r\nimport { NgForm } from '@angular/forms';\r\nimport { TinyMCE } from 'tinymce';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-templates-detail',\r\n templateUrl: './templates-detail.component.html',\r\n styleUrls: ['./templates-detail.component.scss']\r\n})\r\nexport class TemplatesDetailComponent implements OnInit {\r\n\r\n @ViewChild(\"formDetails\") public formDetails: NgForm;\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n\r\n tinyMceConfig: any;\r\n\r\n public showTinyMCE: boolean = false;\r\n\r\n public template: any = {};\r\n public users: any[] = [];\r\n public zones: any[] = [];\r\n public roles: any[] = [];\r\n public selected_zone: any;\r\n public selected_zones: any[] = [];\r\n public selected_user: any;\r\n public selected_users: any[] = [];\r\n public selected_role: any;\r\n public selected_roles: any[] = [];\r\n\r\n public templateTypes: any[];\r\n public entities: any[];\r\n\r\n public zonesPermission: any;\r\n\r\n constructor(\r\n private templatesService: TemplatesService,\r\n private zonesService: ZonesService,\r\n private usersService: UsersService,\r\n private rolesService: RolesService,\r\n private templateTypesService: TemplatesTypesService,\r\n private entitiesService: EntitiesService,\r\n private loginService: LoginService,\r\n private coreFormService: CoreFormService,\r\n private coreDialogService: CoreDialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private dialogService: DialogService,\r\n private beeService: BeeService,\r\n private viewsService: ViewsService,\r\n private translateService: TranslateService\r\n ) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n this.zonesPermission = this.loginService.hasPermission(\"ZONES_READ\");\r\n this.loadTemplateTypes();\r\n //if (!id) {\r\n this.loadEntities();\r\n //}\r\n\r\n //this.loadData(id);\r\n\r\n\r\n\r\n //this.configureTinyMce(\"entities/variables?entity_id=3\");\r\n // this.preConfigTinyMce();\r\n\r\n }\r\n\r\n load() {\r\n var id = this.config.data.id;\r\n if (id) {\r\n this.templatesService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.template = data;\r\n\r\n if (!this.template.beeplugin) {\r\n //setTimeout(function () {\r\n this.configureTinyMce(\"entities/variables?entity_id=\" + this.template.entity_id);\r\n //}, 5000)\r\n } else {\r\n this.configureBee(\"entities/variables?entity_id=\" + this.template.entity_id);\r\n }\r\n\r\n this.loadMetadata();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.template.template_type_id = this.config.data.template_type_id;\r\n var default_entity = this.entities.find(entity => entity.code == \"contact\");\r\n var default_template_type = this.templateTypes.find(template => template.code == \"MAIL\");\r\n\r\n this.template.entity_id = default_entity.id;\r\n this.template.template_type_id = default_template_type.id;\r\n this.beeService.start({}, null, null);\r\n }\r\n }\r\n\r\n preConfigTinyMce() {\r\n\r\n const that = this;\r\n this.tinyMceConfig =\r\n {\r\n promotion: false,\r\n height: 500,\r\n menubar: true,\r\n browser_spellcheck: true,\r\n contextmenu: false,\r\n plugins: [\r\n /*'preview',*/\r\n /*'formatpainter'*/\r\n 'quickbars'\r\n ],\r\n quickbars_insert_toolbar: \"quicktable\",\r\n toolbar: [\r\n 'previewButton | undo redo | bold italic underline | fontselect fontsizeselect fontsize blocks fontfamily formatselect |' +\r\n 'alignleft aligncenter alignright alignjustify | outdent indent | numlist bullist checklist |' +\r\n 'forecolor casechange permanentpen formatpainter removeformat | fullscreen | insertfile image media pageembed link | table quickbars | variablesButton variablesLinesButton |'\r\n ],\r\n fontsize_formats: \"8px 9px 10px 11px 12px 13px 14px 15px 16px 17px 18px 19px 20px 21px 22px 23px 24px 30px 36px 38px 40px\",\r\n\r\n content_css: \"../assets/stylesTinymceCustom.css\", //\"https://assets.codepen.io/413052/templates-noneditable-styling-content.css\",\r\n noneditable_noneditable_class: \"mceNonEditable\",\r\n toolbar_mode: 'wrap',\r\n language: 'es',\r\n language_url: '/assets/tinymce/langs/es.js',\r\n relative_urls: false,\r\n remove_script_host: false,\r\n document_base_url: 'https://app.axialcrm.com/',\r\n file_picker_types: 'image',\r\n paste_data_images: false,\r\n /* and here's our custom image picker*/\r\n onRemove: function () {\r\n },\r\n file_picker_callback: function (cb, value, meta) {\r\n var input = document.createElement('input');\r\n input.setAttribute('type', 'file');\r\n input.setAttribute('accept', 'image/*');\r\n\r\n input.onchange = function (e) {\r\n var file = e.target[\"files\"][0];\r\n var reader = new FileReader();\r\n reader.onload = (event: any) => {\r\n //tenemos la url en base64. creamos el attachment\r\n //that.onBasicUpload(file, event.target.result);\r\n var datafile = {\r\n FileName: file.name,\r\n ContentType: file.type,\r\n Length: file.size,\r\n b64: event.target.result\r\n };\r\n that.templatesService.UploadImage(datafile).subscribe({\r\n next: (data: any) => {\r\n cb(data.location);\r\n //FALTA Pintar la imagen con la url en el visor.... work in progress\r\n },\r\n error: (error: any) => {\r\n that.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n };\r\n reader.readAsDataURL(file);\r\n };\r\n\r\n input.click();\r\n },\r\n };\r\n\r\n }\r\n onChangeName() {\r\n if (this.template.id == null) this.template.subject = this.template.name;\r\n }\r\n\r\n configureTinyMce(url) {\r\n this.preConfigTinyMce();\r\n let params = \"\";\r\n const that = this;\r\n this.viewsService.getComboOptions(url).subscribe(\r\n data => {\r\n let result = data;\r\n let showLinesTransaction = false;\r\n result.forEach(element => {\r\n if (element.entity_navigation == \"transactionsLines\") showLinesTransaction = true;\r\n });\r\n\r\n this.tinyMceConfig[\"setup\"] = function (editor) {\r\n\r\n let toggleState = false;\r\n /* example, adding a toolbar menu button */\r\n editor.ui.registry.addButton('previewButton', {\r\n text: that.translateService.instant('component.templates.detail.previewed'),\r\n onAction: function () {\r\n that.previewHTML();\r\n }\r\n })\r\n editor.ui.registry.addMenuButton('variablesButton', {\r\n text: that.translateService.instant('component.templates.detail.variables'),\r\n fetch: function (callback) {\r\n //TODO: SELECCIONAR EL QUE CORRESPONDA DE templates_types_id no entiendo como saber cual es el disponible.\r\n let items = [];\r\n result.forEach(element => {\r\n items.push({\r\n type: 'nestedmenuitem',\r\n text: element.entity_name,\r\n getSubmenuItems: function () {\r\n let aux = [];\r\n element.options.forEach(option => {\r\n aux.push({\r\n type: 'menuitem',\r\n text: option.text,\r\n //icon: 'unlock',\r\n onAction: function () {\r\n editor.insertContent(option.action);\r\n }\r\n })\r\n });\r\n return aux;\r\n }\r\n });\r\n });\r\n callback(items);\r\n }\r\n });\r\n if (showLinesTransaction) {\r\n editor.ui.registry.addButton('variablesLinesButton', {\r\n text: that.translateService.instant('component.templates.detail.add_lines_block'),\r\n onAction: function () {\r\n //that.addForeach()\r\n editor.insertContent('

@foreach(var item in @Model.transactionsLines){

\\n\\n\\n\\n\\n

}

', { format: 'html' });\r\n\r\n }\r\n })\r\n }\r\n };\r\n this.showTinyMCE = true;\r\n }\r\n );\r\n\r\n }\r\n\r\n loadTemplateTypes() {\r\n this.templateTypesService.all({}).subscribe(\r\n data => {\r\n this.templateTypes = data.rows;\r\n if (this.templateTypes.length > 0 && this.template.id == null) {\r\n this.template.template_type_id = this.templateTypes[0].id;\r\n this.template.templatetype = this.templateTypes[0];\r\n }\r\n }, error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n loadEntities() {\r\n this.entitiesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.entities = data.rows;\r\n if (this.entities.length > 0 && this.template.id == null) {\r\n this.template.entity_id = this.entities[1].id;\r\n }\r\n this.load();\r\n }, error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n configureBee(url) {\r\n this.viewsService.getComboOptions(url).subscribe(\r\n variables => {\r\n var mergeTags = [];\r\n var specialLinks = [];\r\n variables.forEach((item: any) => {\r\n item.options.forEach(option => {\r\n mergeTags.push({\r\n name: item.entity_name + \" - \" + option.text,\r\n value: option.actionBlocks\r\n });\r\n });\r\n });\r\n\r\n if (this.template.beeplugin) {\r\n if (this.template.json != null) {\r\n this.beeService.start(JSON.parse(this.template.json), mergeTags, []);\r\n } else {\r\n this.beeService.start({}, mergeTags, []);\r\n }\r\n\r\n }\r\n });\r\n }\r\n loadData(id) {\r\n if (id) {\r\n this.templatesService.get(id).subscribe(\r\n data => {\r\n this.template = data;\r\n\r\n if (!this.template.beeplugin) {\r\n //setTimeout(function () {\r\n this.configureTinyMce(\"entities/variables?entity_id=\" + this.template.entity_id);\r\n //}, 5000)\r\n } else {\r\n this.configureBee(\"entities/variables?entity_id=\" + this.template.entity_id);\r\n }\r\n\r\n this.loadMetadata();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n } else {\r\n this.template.template_type_id = this.config.data.template_type_id;\r\n this.beeService.start({}, null, null);\r\n }\r\n }\r\n\r\n saveDb(event: any) {\r\n this.buildMetadata();\r\n /*if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }*/\r\n\r\n if (!this.template.html) {\r\n this.template.html = \"

\";\r\n }\r\n if (typeof this.template.id === \"undefined\") {\r\n this.template.is_default = 0;\r\n this.templatesService.add(this.template).subscribe(\r\n data => {\r\n this.template = data;\r\n\r\n this.loadData(this.template.id);\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant('component.templates.detail.add_correct') });\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n )\r\n } else {\r\n this.templatesService.save(this.template.id, this.template).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant('component.templates.detail.save_correct') });\r\n //this.cancel();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n })\r\n }\r\n }\r\n save(event: any) {\r\n\r\n if (this.coreFormService.validate(this.formDetails)) {\r\n if (this.template.id && this.template.beeplugin) {\r\n this.beeService.save().then((data: any) => {\r\n this.template.beeplugin = true;\r\n this.template.json = data.jsonFile;\r\n this.template.html = data.htmlFile;\r\n this.saveDb(event);\r\n });\r\n } else {\r\n this.saveDb(event);\r\n }\r\n } else {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n }\r\n cancel() {\r\n //this.tinyMceConfig.remove();\r\n this.showTinyMCE = false;\r\n this.dynamicDialogRef.close();\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.template.detail.delete_message\", { name: this.template.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.templatesService.delete(this.template.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.cancel();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n save_permissions(message) {\r\n this.buildMetadata();\r\n this.templatesService.savePermissions(this.template.id, this.template).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: message });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n save_zone() {\r\n //Guarda zona en tabla y lo elimina del dropdown.\r\n if (this.selected_zone != null) {\r\n this.zones.splice(this.zones.lastIndexOf(this.selected_zone), 1);\r\n this.selected_zones.push(this.selected_zone);\r\n this.selected_zone = null;\r\n this.save_permissions(this.translateService.instant('component.templates.detail.zone_assign_correct'));\r\n }\r\n }\r\n unlinkZone(zone) {\r\n //Guarda la zona en dropdown y lo elimina de la tabla.\r\n var erased = this.selected_zones.splice(this.selected_zones.lastIndexOf(zone), 1);\r\n this.zones.push(erased[0]);\r\n this.selected_zone = { name: this.translateService.instant('component.template.detail.select_zone') };\r\n this.save_permissions(this.translateService.instant('component.template.detail.zone_rejected_correct'));\r\n }\r\n save_role() {\r\n if (this.selected_role != null) {\r\n this.roles.splice(this.roles.lastIndexOf(this.selected_role), 1);\r\n this.selected_roles.push(this.selected_role);\r\n this.selected_role = null;\r\n this.save_permissions(this.translateService.instant('component.template.detail.role_assign_correct'));\r\n }\r\n }\r\n unlinkRole(role) {\r\n var erased = this.selected_roles.splice(this.selected_roles.lastIndexOf(role), 1);\r\n this.roles.push(erased[0]);\r\n this.selected_role = { name: this.translateService.instant(\"component.template.detail.select_role\") };\r\n this.save_permissions(this.translateService.instant('component.template.detail.role_rejected_correct'));\r\n }\r\n save_user() {\r\n if (this.selected_user != null) {\r\n this.users.splice(this.users.lastIndexOf(this.selected_user), 1);\r\n this.selected_users.push(this.selected_user);\r\n this.selected_user = null;\r\n this.save_permissions(this.translateService.instant('component.template.detail.user_assign_correct'));\r\n }\r\n }\r\n unlinkUser(user) {\r\n var erased = this.selected_users.splice(this.selected_users.lastIndexOf(user), 1);\r\n this.users.push(erased[0]);\r\n this.selected_user = { name: this.translateService.instant('component.template.detail.select_user') };\r\n this.save_permissions(this.translateService.instant('component.template.detail.user_rejected_correct'));\r\n }\r\n buildMetadata() {\r\n var finalZones = [];\r\n var finalUsers = [];\r\n var finalRoles = [];\r\n\r\n this.selected_zones.forEach(zone => {\r\n finalZones.push(zone.id);\r\n });\r\n this.selected_roles.forEach(role => {\r\n finalRoles.push(role.id);\r\n });\r\n this.selected_users.forEach(user => {\r\n finalUsers.push(user.id);\r\n });\r\n\r\n this.template.metadata = {\r\n permissions: {\r\n zones: finalZones,\r\n users: finalUsers,\r\n roles: finalRoles\r\n }\r\n }\r\n }\r\n\r\n loadMetadata() {\r\n var zonesIds = this.template.metadata[\"permissions\"][\"zones\"];\r\n var usersIds = this.template.metadata[\"permissions\"][\"users\"];\r\n var rolesIds = this.template.metadata[\"permissions\"][\"roles\"];\r\n\r\n //Carga la tabla y dropdown de Usuarios:\r\n this.usersService.combo({}).subscribe(\r\n data => {\r\n var tempUsers = [];\r\n this.users = data.rows;\r\n this.users.forEach(user => {\r\n if (usersIds.indexOf(user.id) > -1) {\r\n this.selected_users.push(user);\r\n } else {\r\n tempUsers.push(user);\r\n }\r\n this.users = tempUsers;\r\n });\r\n /*this.selected_users = this.users.filter(function (e) {\r\n return usersIds.indexOf(e.id) > -1;\r\n });*/\r\n },\r\n error => {\r\n\r\n }\r\n );\r\n\r\n //Carga la tabla y dropdown de Zonas:\r\n if (this.zonesPermission) {\r\n\r\n this.zonesService.combo({}).subscribe({\r\n next: (data: any) => {\r\n var tempZones = [];\r\n this.zones = data.rows;\r\n this.zones.forEach(zone => {\r\n if (zonesIds.indexOf(zone.id) > -1) {\r\n this.selected_zones.push(zone);\r\n } else {\r\n tempZones.push(zone);\r\n }\r\n this.zones = tempZones;\r\n });\r\n\r\n /*this.selected_zones = this.zones.filter(function (e) {\r\n return zonesIds.indexOf(e.id) > -1;\r\n });*/\r\n },\r\n error: (error: any) => {\r\n\r\n }\r\n });\r\n }\r\n\r\n /*/Carga la tabla y dropdown de Roles:\r\n this.rolesService.getComboRoles({rolesIds: rolesIds}).subscribe(\r\n data=>{\r\n this.selected_roles = data.filter(function(element){\r\n return element.selected == true;\r\n });\r\n this.roles = data.filter(function(element){\r\n return element.selected != true;\r\n });\r\n }\r\n );*/\r\n this.rolesService.combo({}).subscribe({\r\n next: (data: any) => {\r\n var tempRoles = [];\r\n this.roles = data.rows;\r\n this.roles.forEach(role => {\r\n if (rolesIds.indexOf(role.id) > -1) {\r\n this.selected_roles.push(role);\r\n } else {\r\n tempRoles.push(role);\r\n }\r\n this.roles = tempRoles;\r\n });\r\n /*this.selected_roles = this.roles.filter(function (e) {\r\n return rolesIds.indexOf(e.id) > -1;\r\n });*/\r\n },\r\n error: (error: any) => {\r\n\r\n }\r\n });\r\n }\r\n\r\n previewHTML() {\r\n if (this.template.beeplugin == true) {\r\n this.beeService.save().then((data2: any) => {\r\n this.template.json = data2.jsonFile;\r\n this.template.html = data2.htmlFile;\r\n const ref = this.dialogService.open(HtmlPreviewComponent, {\r\n data: {\r\n temporal_template: this.template,\r\n entity_id: this.template.entity_id,\r\n entity_pk_id: 0\r\n },\r\n header: this.translateService.instant('component.templates.detail.previewed'),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n });\r\n });\r\n } else {\r\n const ref = this.dialogService.open(HtmlPreviewComponent, {\r\n data: {\r\n temporal_template: this.template,\r\n entity_id: this.template.entity_id,\r\n entity_pk_id: 0\r\n },\r\n header: this.translateService.instant('component.templates.detail.previewed'),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n });\r\n }\r\n }\r\n\r\n isDuplied(event) {\r\n if (this.template.id == null) {\r\n this.template.html = \"

\";\r\n }\r\n this.template.templatetype = null;\r\n //if (this.template.templatetype?.code != \"MAIL\") this.template.subject = null;\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n this.templatesService.isDuplied(this.template).subscribe({\r\n next: (data: any) => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant('component.templates.detail.template_duplicate'),\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save(event);\r\n }\r\n },\r\n error: (error: any) => {\r\n var message = \"\";\r\n for (var [key, value] of Object.entries(error.error.errors)) {\r\n message += value[0] + \"\\n\\t\";\r\n }\r\n if (message == \"\") message = error.error.title;\r\n this.messageService.add({ closable: false, severity: \"error\", detail: message });\r\n }\r\n });\r\n }\r\n duplicateTemplate() {\r\n //GUARDAMOS y Duplicamos la líneas de notification_to y notification_email.\r\n this.templatesService.save(this.template.id, this.template).subscribe({\r\n next: (data: any) => {\r\n\r\n this.templatesService.duplicateTemplate(this.template.id).subscribe({\r\n next: (data: any) => {\r\n this.cancel();\r\n\r\n let template_new = data;\r\n const ref = this.dialogService.open(TemplatesDetailComponent, {\r\n data: {\r\n id: template_new != null ? template_new.id : null,\r\n template_type_id: template_new.template_type_id\r\n },\r\n header: template_new != null ? this.translateService.instant('component.templates.detail.detail_entity') : this.translateService.instant('component.templates.detail.new_entity'),\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.view.fireEvent(\"templates.list.results\", \"reload\");\r\n });\r\n }\r\n });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n })\r\n\r\n }\r\n\r\n getHtml() {\r\n let a = document.createElement(\"a\");\r\n let dataURI = \"data:text/plain;base64,\" + btoa(this.template.html);\r\n a.href = dataURI;\r\n a['download'] = this.template.name.replace(/\\s/g, '_') + \".html\";\r\n a.click();\r\n a.remove();\r\n }\r\n\r\n /*changeCode(templatetype) {\r\n this.template.templatetype = templatetype;\r\n if (templatetype.code == \"DOCUMENT\") this.template.subject = \"\";\r\n }\r\n */\r\n onEvent(event) {\r\n\r\n if (event.component == \"templates.edit.general\") {\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.isDuplied(event);\r\n if (event.event == \"action\" && event.action.name == \"preview\") this.previewHTML();\r\n if (event.event == \"action\" && event.action.name == \"duplicate\") this.duplicateTemplate();\r\n if (event.event == \"onChange\" && event.entityField?.model_property == \"template_type_id\") {\r\n //this.changeCode(this.templateTypes.filter(m => m.id == event.data.template_type_id)[0]);\r\n }\r\n }\r\n\r\n\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n this.config.header = typeof (this.template.id) !== \"undefined\" ? this.translateService.instant(\"component.templates.detail.detail_entity\", { entity_name: this.view.getEntityBaseName() }) : this.translateService.instant(\"component.templates.detail.new_entity\", { entity_name: this.view.getEntityBaseName() });\r\n }\r\n }\r\n}\r\n","\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n {{'component.templates.detail.title'|translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n\r\n\r\n\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n {{'zone.entity_fields.id'|translate}}\r\n {{'zone.entity_fields.name'|translate}}\r\n \r\n \r\n \r\n \r\n \r\n {{zone.id}}\r\n {{zone.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{'general.not_data' | translate }}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {{'role.entity_fields.id'|translate}}\r\n {{'role.entity_fields.name'|translate}}\r\n \r\n \r\n \r\n \r\n \r\n {{role.id}}\r\n {{role.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{'general.not_data' | translate }}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {{'user.entity_fields.id'|translate}}\r\n {{'user.entity_fields.name'|translate}}\r\n {{'user.entity_fields.email'|translate}}\r\n \r\n \r\n \r\n \r\n \r\n {{user.id}}\r\n {{user.name}}\r\n {{user.email}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{'general.not_data' | translate }}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { TemplatesDetailComponent } from '../templates-detail/templates-detail.component';\r\nimport { TemplatesService } from '../templates.service';\r\nimport { BeeService } from '../../../core/bee.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { LoginService } from '../../../login/login.service';\r\n\r\n@Component({\r\n selector: 'app-templates-list',\r\n templateUrl: './templates-list.component.html',\r\n styleUrls: ['./templates-list.component.scss']\r\n})\r\nexport class TemplatesListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public templatesFilters: any = {};\r\n public templates: any[] = [];\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n public lastGridEvent: any;\r\n\r\n\r\n public first;\r\n public last;\r\n public template_type_id: number = null;\r\n private editor: any;\r\n\r\n\r\n constructor(\r\n private templatesService: TemplatesService,\r\n private coreDialogService: CoreDialogService,\r\n private messageService: MessageService,\r\n private dialogService: DialogService,\r\n private beeService: BeeService,\r\n private translateService: TranslateService,\r\n private loginService: LoginService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\"\r\n };\r\n params = Object.assign(params, this.templatesFilters);\r\n this.templatesService.all(params).subscribe(\r\n data => {\r\n this.totalRecords = data.totalRows;\r\n this.templates = data.rows;\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n );\r\n }\r\n search() {\r\n this.view.fireEvent(\"templates.list.results\", \"reload\");\r\n }\r\n clearFilters() {\r\n this.templatesFilters = {};\r\n }\r\n delete(template) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.templates.delete_message\", { name: template.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.templatesService.delete(template.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant('component.templates.delete_template_correct') });\r\n this.view.fireEvent(\"templates.list.results\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n edit(template) {\r\n const ref = this.dialogService.open(TemplatesDetailComponent, {\r\n data: {\r\n id: template != null ? template.id : null,\r\n template_type_id: this.template_type_id\r\n },\r\n header: template != null ? this.translateService.instant('component.templates.edit_template') : this.translateService.instant('component.templates.add_template'),\r\n width: '90%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.view.fireEvent(\"templates.list.results\", \"reload\");\r\n });\r\n }\r\n onEvent(event: any) {\r\n if (event.component == \"templates.list.filters\") {\r\n if (event.event == \"onChange\") {\r\n this.template_type_id = event.data.template_type_id;\r\n this.templatesFilters = Object.assign(this.templatesFilters, { entity_id: event.data.entity_id });\r\n }\r\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"templates.list.results\", \"reload\");\r\n } else if (event.component == \"templates.list.results\") {\r\n if (event.event == \"dblclick\") this.edit(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.edit(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.edit(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete(event.data);\r\n }\r\n }\r\n}\r\n\r\n\r\n","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\n\r\nconst routes: Routes = [];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class TemplatesRoutingModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TemplatesTypesService {\r\n url = \"/api/templatesTypes\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n getByCode(code): Observable {\r\n return this.http.get(this.url + \"/bycode/\" + code);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n\r\n getAllowedVariables(template_id): Observable {\r\n var params = {\r\n template_id: template_id\r\n }\r\n return this.http.get(this.url + \"/variables\", {params});\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { TemplatesRoutingModule } from './templates-routing.module';\r\nimport { TemplatesListComponent } from './templates-list/templates-list.component';\r\nimport { TemplatesDetailComponent } from './templates-detail/templates-detail.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextareaModule } from 'primeng/inputtextarea';\r\nimport { SplitButtonModule } from 'primeng/splitbutton';\r\nimport { TableModule } from 'primeng/table';\r\nimport { TimelineModule } from 'primeng/timeline';\r\nimport { CalendarModule } from 'src/app/calendar/calendar.module';\r\nimport { CoreModule } from 'src/app/core/core.module';\r\nimport { TabViewModule } from 'primeng/tabview';\r\nimport { AccordionModule } from 'primeng/accordion';\r\nimport { HtmlPreviewComponent } from './html-preview/html-preview.component';\r\nimport { EditorModule } from '@tinymce/tinymce-angular';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [TemplatesListComponent, TemplatesDetailComponent, HtmlPreviewComponent],\r\n imports: [\r\n TemplatesRoutingModule,\r\n CommonModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n InputTextareaModule,\r\n DropdownModule,\r\n CalendarModule,\r\n SplitButtonModule,\r\n TimelineModule,\r\n TabViewModule,\r\n AccordionModule,\r\n EditorModule,\r\n TranslateModule\r\n ],\r\n exports:[TemplatesListComponent, TemplatesDetailComponent]\r\n})\r\nexport class TemplatesModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TemplatesService {\r\n url = \"/api/templates\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n getByCode(code): Observable {\r\n return this.http.get(this.url + \"/bycode/\" + code);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n savePermissions(id, obj): Observable {\r\n return this.http.put(this.url + \"/savePermissions/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n\r\n toPDF(id, data): Observable {\r\n return this.http.post(this.url + \"/\" + id + \"/topdf\", data);\r\n }\r\n\r\n toHTML(id: number, entity_id: number, entity_pk_id: number, temporal_template): Observable {\r\n return this.http.post(this.url + \"/\" + id + \"/\" + entity_id + \"/\" + entity_pk_id + \"/tohtml\", temporal_template);\r\n }\r\n\r\n duplicateTemplate(id): Observable {\r\n return this.http.get(this.url + \"/duplicateTemplate?id=\" + id);\r\n }\r\n\r\n /*\r\n toHTML2(id:number, entity_id:number, entity_pk_id:number, temporal_template): Observable {\r\n var params = {temporal_template: temporal_template};\r\n return this.http.post(this.url + \"/\" + id + \"/\" + entity_id + \"/\" + entity_pk_id + \"/tohtml2\",temporal_template);\r\n }\r\n */\r\n\r\n isDuplied(obj): Observable {\r\n return this.http.post(this.url + \"/isDuplied\", obj);\r\n }\r\n UploadImage(obj): Observable {\r\n return this.http.post(this.url + \"/UploadImage\", obj);\r\n\r\n }\r\n\r\n}\r\n","import { Component, OnInit, ViewEncapsulation } from '@angular/core';\r\nimport { TrackingService } from 'src/app/tracking/tracking.service';\r\nimport { EntitiesFieldsService } from '../entities-fields.service';\r\nimport { EntitiesService } from '../entities.service';\r\nimport * as FileSaver from 'file-saver';\r\nimport * as XLSX from 'xlsx';\r\nimport { MessageService } from 'primeng/api';\r\nimport { ComponentService } from '../../core/view/component.service';\r\nimport { ReportsService } from '../../reports/reports.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n encapsulation: ViewEncapsulation.None,\r\n selector: 'app-tracking-logs',\r\n templateUrl: './tracking-logs.component.html',\r\n styleUrls: ['./tracking-logs.component.scss']\r\n})\r\nexport class TrackingLogsComponent implements OnInit {\r\n\r\n public entity_id: number;\r\n public entity: any;\r\n public entities = [{ name: \"Ninguna\", id: 0 }];\r\n public selectedEntitiesFields = [];\r\n public entitiesFields = [{ name: \"Ninguna\", id: 0 }];\r\n public element: any;\r\n public element_id: number;\r\n public elements = [{ name: \"Ninguno\", id: 0 }];\r\n public entitiesToTable: any[] = [];\r\n\r\n public logs: any;\r\n public columns: any;\r\n\r\n public totalRecords;\r\n public first;\r\n public last;\r\n public totalRecordsLogs;\r\n public loadingLogs = false;\r\n public temporalCombos = {};\r\n\r\n constructor(\r\n private entitiesService: EntitiesService,\r\n private entitiesFieldsService: EntitiesFieldsService,\r\n private trackingService: TrackingService,\r\n private messageService: MessageService,\r\n private componentService: ComponentService,\r\n private reportsService: ReportsService,\r\n private translateService: TranslateService\r\n\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadEntities();\r\n\r\n }\r\n loadEntities() {\r\n this.entitiesService.all({ for_tracking: true }).subscribe({\r\n next: (data:any) => {\r\n this.entities = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n getSelectableEntityFields(filterIfAllreadyExist: boolean = false, onlyNumbers: boolean = false) {\r\n if (this.entity?.fields != null) {\r\n //obtener entidades\r\n let entities = [];\r\n let visibleEntityFields = [];\r\n this.entity.fields.forEach(field => {\r\n if (this.componentService.isVisibleFieldCustom({ entityField: field }, null)) {\r\n visibleEntityFields.push(field);\r\n if (entities.find(m => m.name == field.entity_name) == null) {\r\n entities.push({ code: field.entity_code, name: field.entity_name });\r\n }\r\n }\r\n });\r\n\r\n let entityFields = [];\r\n //entityFields = this.entity.fields.filter(m => m.use_for_report);\r\n entityFields = visibleEntityFields.filter(m => m.use_for_report);\r\n\r\n if (filterIfAllreadyExist) {\r\n //filtramos que no aparezcan si ya están añadidos a la tabla.\r\n /*if (typeof (this.report.metadata.report.columns) !== \"undefined\") {\r\n entityFields = visibleEntityFields.filter(m => m.use_for_report).filter(el => this.report.metadata?.report.columns.map(m => m.entity_field_id).indexOf(el.id) === -1);\r\n }*/\r\n }\r\n\r\n let data = [];\r\n entities.forEach((entity) => {\r\n data.push({\r\n entity: entity.name,\r\n fields: entityFields.filter(m => m.entity_code == entity.code)\r\n });\r\n });\r\n return data;\r\n } else {\r\n return [];\r\n }\r\n }\r\n\r\n\r\n checkOption(id) {\r\n if (this.selectedEntitiesFields != null && this.selectedEntitiesFields.length > 0 && this.selectedEntitiesFields.indexOf(id) > -1) {\r\n //lo quitamos\r\n this.selectedEntitiesFields = this.selectedEntitiesFields.filter(obj => obj !== id);\r\n } else {\r\n this.selectedEntitiesFields.push(id);\r\n }\r\n }\r\n\r\n\r\n loadEntitiesFields() {\r\n this.selectedEntitiesFields = [];\r\n this.entitiesFieldsService.all({ entity_id: this.entity_id, is_base_field: true }).subscribe({\r\n next: (data: any) => {\r\n this.entity.fields = data.rows;\r\n this.entitiesFields = data.rows;\r\n this.entitiesToTable = this.getSelectableEntityFields(true);\r\n\r\n this.loadTable({});\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n this.trackingService.allElements({ entity_id: this.entity_id }).subscribe({\r\n next: (data: any) => {\r\n this.elements = data.values;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n getComboOptions(field) {\r\n var _a;\r\n if (((_a = field.configuration.options) === null || _a === void 0 ? void 0 : _a.type) == \"api\") {\r\n var url = \"/api/\" + field.configuration.options.url;\r\n this.reportsService.customVoidCombos(url, {}).subscribe({\r\n next: (data: any) => {\r\n this.temporalCombos[field.id] = data.rows;\r\n if (field.configuration.options.url == \"users\") {\r\n //Añadimor el usuario actual\r\n this.temporalCombos[field.id].push({ id: -1, name: this.translateService.instant(\"general.actual_user\") });\r\n }\r\n if (field.configuration.options.url == \"transactionsStatus\") {\r\n let transaction_type_id = (field.entity_code == \"oportunity\" ? 1 : 2);\r\n this.temporalCombos[field.id] = this.temporalCombos[field.id].filter(function (e) { return e.transaction_type_id == transaction_type_id; });\r\n }\r\n //\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n else {\r\n this.temporalCombos[field.id] = field.configuration.options.items;\r\n }\r\n }\r\n\r\n loadEntitiesFieldsCUSTOM() {\r\n this.reportsService.fields(this.entity_id).subscribe({\r\n next: (data: any) => {\r\n\r\n this.entity = data;\r\n this.entity.fields.forEach(field => {\r\n\r\n //cargamos en un temporal todos los datos de los posibles combos\r\n if (field.control_type == \"dropdown\") {\r\n if (field.data_type == \"list\") {\r\n //los datos están aqui\r\n //this.temporalCombos[field.id] = field.configuration.options.items;\r\n this.getComboOptions(field);\r\n }\r\n else if (field.data_type == \"number\") {\r\n //tenemos que hacer petición para obtener la lista de datos.\r\n if (field.configuration.options?.type == \"api\") {\r\n var url = \"/api/\" + field.configuration.options.url;\r\n this.reportsService.customVoidCombos(url, {}).subscribe({\r\n next: (data: any) => {\r\n this.temporalCombos[field.id] = data.rows;\r\n if (field.configuration.options.url == \"users\") {\r\n //Añadimor el usuario actual\r\n this.temporalCombos[field.id].push({ id: -1, name: this.translateService.instant(\"general.actual_user\") });\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n }\r\n });\r\n this.entitiesToTable = this.getSelectableEntityFields(true);\r\n\r\n this.trackingService.allElements({ entity_id: this.entity_id }).subscribe({\r\n next: (data: any) => {\r\n this.elements = data.values;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n\r\n this.loadTable({});\r\n\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n\r\n });\r\n }\r\n getSelectedItems() {\r\n return \"cilo\";\r\n }\r\n\r\n loadTable(params: any) {\r\n if (this.entity_id != null) {\r\n this.loadingLogs = true;\r\n\r\n params.entity_id = this.entity_id\r\n if (this.element_id != null) params = Object.assign(params, { entity_pk_id: this.element_id });\r\n if (this.selectedEntitiesFields != null && this.selectedEntitiesFields.length > 0) params = Object.assign(params, { entitiesFieldsIds: this.selectedEntitiesFields });\r\n this.trackingService.all2(params).subscribe(\r\n data => {\r\n this.logs = data.values;\r\n this.columns = data.columns;\r\n this.loadingLogs = false;\r\n //this.first = params._page * params._pageSize;\r\n //this.last = params._pageSize;\r\n \r\n this.totalRecordsLogs = data.total[0].total;\r\n }\r\n );\r\n\r\n }\r\n }\r\n\r\n exportExcel() {\r\n var aux = [];\r\n //For que recorre cada row y column y devuelve un objeto que será exportado a excel: \r\n this.logs.forEach(row => {\r\n var obj = {};\r\n this.columns.forEach(label => {\r\n obj[label.description] = row[label.model_property];\r\n });\r\n aux.push(obj);\r\n });\r\n //Promise.resolve(null).then(() => this.loading = false);\r\n const worksheet = XLSX.utils.json_to_sheet(aux);\r\n const workbook = { Sheets: { 'data': worksheet }, SheetNames: ['data'] };\r\n const excelBuffer: any = XLSX.write(workbook, { bookType: 'xlsx', type: 'array' });\r\n this.saveAsExcelFile(excelBuffer, \"data\");\r\n }\r\n\r\n saveAsExcelFile(buffer: any, fileName: string): void {\r\n let EXCEL_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8';\r\n let EXCEL_EXTENSION = '.xlsx';\r\n const data: Blob = new Blob([buffer], {\r\n type: EXCEL_TYPE\r\n });\r\n FileSaver.saveAs(data, fileName + '_export_' + new Date().getTime() + EXCEL_EXTENSION);\r\n }\r\n\r\n customSort(event) {\r\n const field = (typeof event.sortField != \"undefined\" ? event.sortField : \"date\"); // Campo por el que se está ordenando\r\n const order = event.sortOrder == 1 ? 'ASC' : 'DESC'; // Dirección del orden\r\n\r\n this.loadTable({ _sortBy: field, _sortDirection: order, _page: (event.first / event.rows)+1, _pageSize: event.rows });\r\n /*\r\n // Copia del array original:\r\n const sortedLogs = [...this.logs];\r\n\r\n // Función de comparación para el orden ascendente:\r\n const ascSort = (a, b) => {\r\n const valueA = this.canBeParsedAsDate(a[field]) ? new Date(a[field]) : a[field];\r\n const valueB = this.canBeParsedAsDate(b[field]) ? new Date(b[field]) : b[field];\r\n\r\n if (valueA < valueB) return -1;\r\n if (valueA > valueB) return 1;\r\n return 0;\r\n };\r\n\r\n // Función de comparación para el orden descendente:\r\n const descSort = (a, b) => {\r\n const valueA = this.canBeParsedAsDate(a[field]) ? new Date(a[field]) : a[field];\r\n const valueB = this.canBeParsedAsDate(b[field]) ? new Date(b[field]) : b[field];\r\n\r\n if (valueA < valueB) return 1;\r\n if (valueA > valueB) return -1;\r\n return 0;\r\n };\r\n\r\n // Ordenar el array en función del campo y la dirección del orden:\r\n sortedLogs.sort(order === 1 ? ascSort : descSort);\r\n\r\n // Actualizar los logs ordenados\r\n this.logs = sortedLogs;*/\r\n }\r\n\r\n\r\n canBeParsedAsDate(value) {\r\n return !isNaN(Date.parse(value));\r\n }\r\n\r\n}\r\n","\r\n\r\n\r\n\r\n\r\n \r\n
\r\n {{ 'general.filter.title' | translate}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n {{ 'component.tranckingLogs.title' | translate}}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {{column.description}}\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
","import { Inject } from '@angular/core';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { RolesService } from '../../roles/roles.service';\r\nimport { TransactionStatusDetailComponent } from '../transaction-status-detail/transaction-status-detail.component';\r\n\r\n@Component({\r\n selector: 'app-transaction-status-blocking-roles',\r\n templateUrl: './transaction-status-blocking-roles.component.html',\r\n styleUrls: ['./transaction-status-blocking-roles.component.scss']\r\n})\r\nexport class TransactionStatusBlockingRolesComponent implements OnInit {\r\n public rolesFilters: any = {};\r\n public roles: any[];\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n public selected_role_status: any;\r\n\r\n public first;\r\n public last;\r\n constructor(\r\n private rolesService: RolesService,\r\n\r\n private messageService: MessageService,\r\n @Inject(TransactionStatusDetailComponent) public parent: TransactionStatusDetailComponent\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadRoles();\r\n }\r\n\r\n loadRoles() {\r\n this.rolesService.all({}).subscribe(\r\n data => {\r\n this.roles = data.rows;\r\n },\r\n error => {\r\n this.messageService.add({ severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n delete(role) {\r\n var index = this.parent.transactionStatus.metadata.rolesStatus.findIndex(r => r.id == role.id);\r\n this.parent.transactionStatus.metadata.rolesStatus.splice(index, 1);\r\n }\r\n\r\n onChangeRole($event) {\r\n if (this.parent.transactionStatus.metadata.rolesStatus == null) this.parent.transactionStatus.metadata.rolesStatus = [];\r\n if (this.parent.transactionStatus.metadata.rolesStatus.findIndex(r => r.id == $event.value.id) < 0) this.parent.transactionStatus.metadata.rolesStatus.push({ id: $event.value.id, name: $event.value.name });\r\n this.selected_role_status = null;\r\n }\r\n}\r\n","\r\n \r\n
\r\n {{'component.transactionsStatus.detail.not_bloqued' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {{'transactionsStatus.entity_fields.id' | translate}}\r\n \r\n \r\n {{'transactionsStatus.entity_fields.name' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{role.id}}\r\n {{role.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { RolesService } from '../../roles/roles.service';\r\nimport { TransactionStatusService } from '../transaction-status.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-transaction-status-detail',\r\n templateUrl: './transaction-status-detail.component.html',\r\n styleUrls: ['./transaction-status-detail.component.scss']\r\n})\r\nexport class TransactionStatusDetailComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public transactionStatus: any = {};\r\n public lastGridEvent: any;\r\n public selected_roles: any[] = [];\r\n public selected_role_status: any;\r\n public selected_role_data: any;\r\n public roles: any[] = [];\r\n\r\n public first;\r\n public last;\r\n constructor(\r\n private transactionStatusService: TransactionStatusService,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private dialogService: DialogService,\r\n private coreDialogService: CoreDialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private rolesService: RolesService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadData(this.config.data.id);\r\n this.loadRoles();\r\n }\r\n\r\n loadData(id) {\r\n if (id) {\r\n this.transactionStatusService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.transactionStatus = data;\r\n //Si no tiene metadata, se lo inicializamos:\r\n if (this.transactionStatus.metadata == null) this.transactionStatus.metadata = { rolesStatus: [] };\r\n if (this.transactionStatus.metadata[\"rolesStatus\"] == null) this.transactionStatus[\"rolesStatus\"] = [];\r\n var rolesIds = []; // this.transactionStatus.metadata[\"permissions\"][\"roles\"];\r\n //Carga la tabla y dropdown de Roles:\r\n this.rolesService.combo({}).subscribe({\r\n next: (data: any) => {\r\n this.roles = data.rows;\r\n this.selected_roles = this.roles.filter(function (e) {\r\n return rolesIds.indexOf(e.id) > -1;\r\n });\r\n }\r\n });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.transactionStatus.transaction_type_id = this.config.data.transaction_type_id;\r\n }\r\n\r\n\r\n }\r\n\r\n loadRoles() {\r\n this.rolesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.roles = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n save(event: any) {\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n if (typeof this.transactionStatus.id === \"undefined\") {\r\n this.transactionStatus.is_default = 0;\r\n this.transactionStatus.css_class = \"{}\";\r\n this.transactionStatusService.add(this.transactionStatus).subscribe({\r\n next: (data: any) => {\r\n this.transactionStatus = data;\r\n this.loadData(this.transactionStatus.id);\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.transactionsStatus.detail.add_correct\") });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.transactionStatusService.save(this.transactionStatus.id, this.transactionStatus).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.transactionsStatus.detail.save_correct\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.transactionsStatus.delete_message\", { name: this.transactionStatus.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.transactionStatusService.delete(this.transactionStatus.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n isDuplied(event) {\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n this.transactionStatusService.isDuplied(this.transactionStatus).subscribe(\r\n data => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.transactionsStatus.detail.types_duplicates\"),\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save(event);\r\n }\r\n }\r\n );\r\n }\r\n onEvent(event) {\r\n if (event.component == \"transactionStatus.edit.general\") {\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.isDuplied(event);\r\n }\r\n\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n this.config.header = typeof (this.transactionStatus.id) !== \"undefined\" ?\r\n this.translateService.instant(\"component.transactionsStatus.detail.detail_entity\", { entity_name: this.view.getEntityBaseName() })\r\n :\r\n this.translateService.instant(\"component.transactionsStatus.detail.new_entity\", { entity_name: this.view.getEntityBaseName() });\r\n }\r\n }\r\n\r\n save_role() {\r\n if (this.selected_role_status != null) {\r\n this.roles.splice(this.roles.lastIndexOf(this.selected_role_status), 1);\r\n this.selected_roles.push(this.selected_role_status);\r\n this.selected_role_status = null;\r\n }\r\n }\r\n unlinkRole(role) {\r\n var erased = this.selected_roles.splice(this.selected_roles.lastIndexOf(role), 1);\r\n this.roles.push(erased[0]);\r\n this.selected_role_status = { name: this.translateService.instant(\"component.transactionsStatus.detail.select_rol\") };\r\n }\r\n\r\n onChangeRole($event, type) {\r\n if (type == \"status\") {\r\n if (this.transactionStatus.metadata.rolesStatus == null) this.transactionStatus.metadata.rolesStatus = [];\r\n if (this.transactionStatus.metadata.rolesStatus.findIndex(r => r.id == $event.value.id) < 0) this.transactionStatus.metadata.rolesStatus.push({ id: $event.value.id, name: $event.value.name });\r\n this.selected_role_status = null;\r\n } else if (type == \"data\") {\r\n if (this.transactionStatus.metadata.rolesData == null) this.transactionStatus.metadata.rolesData = [];\r\n if (this.transactionStatus.metadata.rolesData.findIndex(r => r.id == $event.value.id) < 0) this.transactionStatus.metadata.rolesData.push({ id: $event.value.id, name: $event.value.name });\r\n this.selected_role_data = null;\r\n }\r\n\r\n }\r\n\r\n deleteRole(role, type) {\r\n if (type == \"status\") {\r\n var index = this.transactionStatus.metadata.rolesStatus.findIndex(r => r.id == role.id);\r\n this.transactionStatus.metadata.rolesStatus.splice(index, 1);\r\n } else if (type == \"data\") {\r\n var index = this.transactionStatus.metadata.rolesData.findIndex(r => r.id == role.id);\r\n this.transactionStatus.metadata.rolesData.splice(index, 1);\r\n }\r\n }\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n {{'component.transactionsStatus.detail.not_bloqued' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n ID\r\n \r\n {{'transactionsStatus.entity_fields.name' | translate}}\r\n \r\n \r\n {{'component.transactionsStatus.detail.skip_confirmation' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{role.id}}\r\n {{role.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n {{'component.transactionsStatus.detail.not_bloqued_data' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {{'transactionsStatus.entity_fields.id' | translate}}\r\n \r\n \r\n {{'transactionsStatus.entity_fields.name' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{role.id}}\r\n {{role.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { TransactionTypesService } from '../../transaction-types/transaction-types.service';\r\nimport { TransactionStatusDetailComponent } from '../transaction-status-detail/transaction-status-detail.component';\r\nimport { TransactionStatusService } from '../transaction-status.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-transaction-status-list',\r\n templateUrl: './transaction-status-list.component.html',\r\n styleUrls: ['./transaction-status-list.component.scss']\r\n})\r\nexport class TransactionStatusListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public transactionTypes: any[] = [];\r\n public transactionsStatus: any[] = [];\r\n public transactionsStatusFilters: any = {};\r\n public transaction_type_id: number = null;\r\n\r\n public lastGridEvent: any;\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n\r\n //Permisos:\r\n public pipeline_configuration;\r\n\r\n constructor(\r\n private transactionTypesService: TransactionTypesService,\r\n private transactionStatusService: TransactionStatusService,\r\n private coreDialogService: CoreDialogService,\r\n private messageService: MessageService,\r\n private dialogService: DialogService,\r\n private loginService: LoginService,\r\n private translateService: TranslateService\r\n\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.pipeline_configuration = this.loginService.hasPermission(\"PIPELINE_CONFIGURATION\");\r\n this.transactionsStatusFilters.transaction_type_id = 1;\r\n }\r\n\r\n search() {\r\n this.lastGridEvent.first = 0;\r\n this.loadData(this.lastGridEvent);\r\n this.view.fireEvent(\"transactionStatus.list.results\", \"reload\");\r\n }\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\"\r\n };\r\n params = Object.assign(params, this.transactionsStatusFilters);\r\n this.transactionStatusService.all(params).subscribe({\r\n next: (data: any) => {\r\n this.totalRecords = data.totalRows;\r\n this.transactionsStatus = data.rows;\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n\r\n loadTransactionTypes() {\r\n this.loading = true;\r\n this.transactionTypesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.transactionTypes = data.rows;\r\n this.loading = false;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n this.loading = false;\r\n }\r\n });\r\n }\r\n\r\n delete(transactionStatus: any) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.transactionsStatus.delete_message\", { name: transactionStatus.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.transactionStatusService.delete(transactionStatus.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"transactionStatus.list.results\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n edit(transactionStatus: any) {\r\n if (this.pipeline_configuration) {\r\n const ref = this.dialogService.open(TransactionStatusDetailComponent, {\r\n data: {\r\n id: transactionStatus != null ? transactionStatus.id : null,\r\n transaction_type_id: this.transaction_type_id\r\n },\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.view.fireEvent(\"transactionStatus.list.results\", \"reload\");\r\n });\r\n }\r\n }\r\n clearFilters() {\r\n this.transactionsStatusFilters = {};\r\n this.search();\r\n }\r\n onEvent(event: any) {\r\n if (event.component == \"transactionStatus.list.filters\") {\r\n if (event.event == \"onChange\") this.transaction_type_id = event.data.transaction_type_id;\r\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"transactionStatus.list.results\", \"reload\");\r\n } else if (event.component == \"transactionStatus.list.results\") {\r\n if (event.event == \"dblclick\") this.edit(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") {\r\n if (this.transaction_type_id != null) this.edit(null); else this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"component.attachmentType.first_select_type\") });\r\n }\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.edit(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete(event.data);\r\n }\r\n }\r\n}\r\n","\r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { TransactionStatusListComponent } from './transaction-status-list/transaction-status-list.component';\r\n\r\nconst routes: Routes = [\r\n {path:'transactionsStatus', component: TransactionStatusListComponent}\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class TransactionStatusRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { TransactionStatusRoutingModule } from './transaction-status-routing.module';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TableModule } from 'primeng/table';\r\nimport { CoreModule } from 'src/app/core/core.module';\r\nimport { TransactionStatusListComponent } from './transaction-status-list/transaction-status-list.component';\r\nimport { TransactionStatusDetailComponent } from './transaction-status-detail/transaction-status-detail.component';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { TransactionStatusBlockingRolesComponent } from './transaction-status-blocking-roles/transaction-status-blocking-roles.component';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [TransactionStatusListComponent,TransactionStatusDetailComponent, TransactionStatusBlockingRolesComponent],\r\n imports: [\r\n CommonModule,\r\n TransactionStatusRoutingModule,\r\n InputTextModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n DropdownModule,\r\n TranslateModule\r\n ],\r\n exports: [TransactionStatusListComponent,TransactionStatusDetailComponent]\r\n})\r\nexport class TransactionStatusModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TransactionStatusService {\r\n\r\n url = \"/api/transactionsStatus\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n isDuplied(obj): Observable{\r\n return this.http.post(this.url+\"/isDuplied\",obj);\r\n }\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { TransactionTypesService } from '../transaction-types.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-transaction-types-detail',\r\n templateUrl: './transaction-types-detail.component.html',\r\n styleUrls: ['./transaction-types-detail.component.scss']\r\n})\r\nexport class TransactionTypesDetailComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public transactionType: any = {}\r\n public lastGridEvent: any;\r\n constructor(\r\n private transactionsTypesService: TransactionTypesService,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private dialogService: DialogService,\r\n private coreDialogService: CoreDialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadData(this.config.data.id);\r\n }\r\n loadData(id){\r\n if(id){\r\n this.transactionsTypesService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.transactionType = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n save(event:any) {\r\n if (typeof this.transactionType.id === \"undefined\") {\r\n this.transactionsTypesService.add(this.transactionType).subscribe({\r\n next: (data: any) => {\r\n this.transactionType = data;\r\n this.loadData(this.transactionType.id);\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.transactionType.detail.add_correct\") });\r\n location.reload();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.transactionsTypesService.save(this.transactionType.id, this.transactionType).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.transactionType.detail.save_correct\") });\r\n location.reload();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.attachmentType.delete_message\", { name: this.transactionType.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.transactionsTypesService.delete(this.transactionType.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n isDuplied(event) {\r\n if(!event.valid){\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n this.transactionsTypesService.isDuplied(this.transactionType).subscribe(\r\n data => {\r\n if(data == true){\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.transactionType.detail.types_duplicates\") ,\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n }); \r\n }else{\r\n this.save(event);\r\n }\r\n }\r\n );\r\n }\r\n onEvent(event) {\r\n if (event.component == \"transactionTypes.edit.general\") {\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.isDuplied(event);\r\n }\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n this.config.header = typeof (this.transactionType.id) !== \"undefined\" ?\r\n this.translateService.instant(\"component.transactionType.detail.detail_entity\", { entity_name: this.view.getEntityBaseName() })\r\n :\r\n this.translateService.instant(\"component.transactionType.detail.new_entity\", { entity_name: this.view.getEntityBaseName() });\r\n }\r\n }\r\n}\r\n","","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { TransactionTypesDetailComponent } from '../transaction-types-detail/transaction-types-detail.component';\r\nimport { TransactionTypesService } from '../transaction-types.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-transaction-types-list',\r\n templateUrl: './transaction-types-list.component.html',\r\n styleUrls: ['./transaction-types-list.component.scss']\r\n})\r\nexport class TransactionTypesListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public transactionsTypesFilters: any = {};\r\n \r\n constructor(\r\n private transactionTypesService:TransactionTypesService,\r\n private dialogService: DialogService,\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private router: Router,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n viewTransactionType(transactionType) {\r\n const ref = this.dialogService.open(TransactionTypesDetailComponent, {\r\n data: {\r\n id: transactionType?transactionType.id:0\r\n },\r\n width: '40%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.view.fireEvent(\"transactionTypes.list.results\",\"reload\");\r\n })\r\n }\r\n delete(transactionType) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.attachmentType.delete_message\", { name: transactionType.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.transactionTypesService.delete(transactionType.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n location.reload();\r\n\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => { }\r\n })\r\n }\r\n onEvent(event: any) {\r\n if (event.component == \"transactionTypes.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"transactionTypes.list.results\", \"reload\");\r\n }else if(event.component==\"transactionTypes.list.results\"){\r\n if(event.event==\"dblclick\") this.viewTransactionType(event.data);\r\n if(event.event==\"action\" && event.action.name==\"add\") this.viewTransactionType(null);\r\n if(event.event==\"action\" && event.action.name==\"edit\") this.viewTransactionType(event.data);\r\n if(event.event==\"action\" && event.action.name==\"delete\") this.delete(event.data);\r\n }\r\n }\r\n}\r\n","\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { TransactionTypesListComponent } from './transaction-types-list/transaction-types-list.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextareaModule } from 'primeng/inputtextarea';\r\nimport { SplitButtonModule } from 'primeng/splitbutton';\r\nimport { TableModule } from 'primeng/table';\r\nimport { TimelineModule } from 'primeng/timeline';\r\nimport { CalendarModule } from 'src/app/calendar/calendar.module';\r\nimport { CoreModule } from 'src/app/core/core.module';\r\nimport { TransactionTypesDetailComponent } from './transaction-types-detail/transaction-types-detail.component';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [TransactionTypesListComponent, TransactionTypesDetailComponent],\r\n imports: [\r\n CommonModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n InputTextareaModule,\r\n DropdownModule,\r\n CalendarModule,\r\n SplitButtonModule,\r\n TimelineModule,\r\n AppRoutingModule,\r\n TranslateModule\r\n ],\r\n exports:[\r\n TransactionTypesListComponent\r\n ]\r\n})\r\nexport class TransactionTypesModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TransactionTypesService {\r\n url = \"/api/transactionsTypes\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n isDuplied(obj): Observable{\r\n return this.http.post(this.url+\"/isDuplied\",obj);\r\n }\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\n\r\n@Component({\r\n selector: 'app-views-detail',\r\n templateUrl: './views-detail.component.html',\r\n styleUrls: ['./views-detail.component.scss']\r\n})\r\nexport class ViewsDetailComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public item: any = {};\r\n\r\n constructor(\r\n private viewsService: ViewsService,\r\n private coreDialogService: CoreDialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadData(this.config.data.id);\r\n }\r\n loadData(id) {\r\n if (id) {\r\n this.viewsService.get(id).subscribe(\r\n data => {\r\n this.item = data;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n }\r\n save(event) {\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n if (typeof this.item.id === \"undefined\") {\r\n this.viewsService.add(this.item).subscribe(\r\n data => {\r\n this.item = data;\r\n this.messageService.add({ closable: false, severity: 'success', summary: \"Plantilla añadida correctamente.\" });\r\n this.dynamicDialogRef.close();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n )\r\n } else {\r\n this.viewsService.save(this.item.id, this.item).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: \"Plantilla guardada correctamente\" });\r\n this.dynamicDialogRef.close();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n )\r\n }\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: \"¿Quieres borrar la vista \" + this.item.name + \"?\",\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.viewsService.delete(this.item.id).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n )\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n onEvent(event) {\r\n if (event.component == \"views.edit.general\") {\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.save(event);\r\n }\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n this.config.header = typeof (this.item.id) !== \"undefined\" ? this.translateService.instant(\"component.views.detail.new_entity\", { entity_name: this.view.getEntityBaseName() }) : this.translateService.instant(\"component.views.detail.new_entity\", { entity_name: this.view.getEntityBaseName() });\r\n }\r\n }\r\n}\r\n","","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { ViewsDetailComponent } from '../view-detail/views-detail.component';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-views-list',\r\n templateUrl: './views-list.component.html',\r\n styleUrls: ['./views-list.component.scss']\r\n})\r\nexport class ViewsListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public viewsFilters: any = {};\r\n public personalize_interface: boolean;\r\n constructor(\r\n private viewsService: ViewsService,\r\n private coreDialogService: CoreDialogService,\r\n private messageService: MessageService,\r\n private dialogService: DialogService,\r\n private loginService: LoginService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.personalize_interface = this.loginService.hasPermission(\"PERSONALIZE_INTERFACE\"); //Se hace uso de este permiso en código.\r\n }\r\n\r\n search() {\r\n this.view.fireEvent(\"views.list.results\", \"reload\");\r\n }\r\n\r\n delete(item) {\r\n this.coreDialogService.confirm({\r\n message: '¿Quieres borrar la vista ' + item.name + '?',\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.viewsService.delete(item.id).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: 'Eliminada correctamente.' });\r\n this.view.fireEvent(\"views.list.results\", \"reload\");\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n edit(template) {\r\n const ref = this.dialogService.open(ViewsDetailComponent, {\r\n data: {\r\n id: template != null ? template.id : null\r\n },\r\n //header: template != null ? 'Modificar vista' : 'Añadir vista',\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.view.fireEvent(\"views.list.results\", \"reload\");\r\n });\r\n }\r\n onEvent(event: any) {\r\n if (event.component == \"views.list.filters\" && this.personalize_interface) {\r\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"views.list.results\", \"reload\");\r\n } else if (event.component == \"views.list.results\" && this.personalize_interface) {\r\n if (event.event == \"dblclick\") this.edit(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.edit(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.edit(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete(event.data);\r\n }\r\n }\r\n}\r\n","\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\n\r\nconst routes: Routes = [];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class ViewsRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextareaModule } from 'primeng/inputtextarea';\r\nimport { SplitButtonModule } from 'primeng/splitbutton';\r\nimport { TableModule } from 'primeng/table';\r\nimport { TimelineModule } from 'primeng/timeline';\r\nimport { CalendarModule } from 'src/app/calendar/calendar.module';\r\nimport { CoreModule } from 'src/app/core/core.module';\r\nimport { ViewsListComponent } from './view-list/views-list.component';\r\nimport { ViewsDetailComponent } from './view-detail/views-detail.component';\r\nimport { ViewsRoutingModule } from './views-routing.module';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n ViewsListComponent, \r\n ViewsDetailComponent\r\n ],\r\n imports: [\r\n ViewsRoutingModule,\r\n CommonModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n InputTextareaModule,\r\n DropdownModule,\r\n CalendarModule,\r\n SplitButtonModule,\r\n TimelineModule,\r\n TranslateModule\r\n ],\r\n exports:[\r\n ViewsListComponent, \r\n ViewsDetailComponent\r\n ]\r\n})\r\nexport class ViewsModule { }\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from '../../../core/view/view.component';\r\nimport { ZonesService } from '../zones.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-zones-detail',\r\n templateUrl: './zones-detail.component.html',\r\n styleUrls: ['./zones-detail.component.scss']\r\n})\r\nexport class ZonesDetailComponent implements OnInit {\r\n\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public zone: any = {};\r\n constructor(\r\n private zonesService: ZonesService,\r\n\r\n private config: DynamicDialogConfig,\r\n private messageService: MessageService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private coreDialogService: CoreDialogService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadZones(this.config.data.id);\r\n }\r\n\r\n loadZones(id) {\r\n if (id) {\r\n this.zonesService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.zone = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n save(event: any) {\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n if (typeof this.zone.id === \"undefined\") {\r\n this.zonesService.add(this.zone).subscribe({\r\n next: (data: any) => {\r\n this.zone = data;\r\n this.loadZones(this.zone.id);\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.zones.detail.add_correct\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.zonesService.save(this.zone.id, this.zone).subscribe({\r\n next: (data: any) => {\r\n this.zonesService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.zones.detail.save_correct\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.zones.delete_message\", { name: this.zone.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.zonesService.delete(this.zone.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n isDuplied(zone, event) {\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n this.zonesService.isDuplied(zone).subscribe({\r\n next: (data: any) => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.zones.detail.zones_duplicates\"),\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save(event);\r\n }\r\n }\r\n });\r\n }\r\n onEvent(event) {\r\n if (event.component == \"zone.edit.general\") {\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.isDuplied(this.zone, event);\r\n }\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n this.config.header = typeof (this.zone.id) !== \"undefined\" ?\r\n this.translateService.instant(\"component.zones.detail.detail_entity\", { entity_name: this.view.getEntityBaseName() })\r\n :\r\n this.translateService.instant(\"component.zones.detail.new_entity\", { entity_name: this.view.getEntityBaseName() });\r\n }\r\n }\r\n}\r\n","","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ZonesDetailComponent } from '../zones-detail/zones-detail.component';\r\nimport { ZonesService } from '../zones.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-zones-list',\r\n templateUrl: './zones-list.component.html',\r\n styleUrls: ['./zones-list.component.scss']\r\n})\r\nexport class ZonesListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public zonesFilters: any = {};\r\n\r\n constructor(\r\n private zonesService: ZonesService,\r\n\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private dialogService: DialogService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n viewZone(zone) {\r\n const ref = this.dialogService.open(ZonesDetailComponent, {\r\n data: {\r\n id: zone ? zone.id : 0\r\n },\r\n //header: zone ? \"Detalles de la zona\" : \"Nueva zona\",\r\n width: '40%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.view.fireEvent(\"zones.list.results\", \"reload\");\r\n });\r\n }\r\n\r\n deleteZone(zone) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.zones.delete_message\", { name: zone.name }),\r\n\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.zonesService.delete(zone.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"zones.list.results\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => { }\r\n });\r\n }\r\n\r\n onEvent(event: any) {\r\n if (event.component == \"zones.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"zones.list.results\", \"reload\");\r\n } else if (event.component == \"zones.list.results\") {\r\n if (event.event == \"dblclick\") this.viewZone(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewZone(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewZone(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteZone(event.data);\r\n }\r\n }\r\n}\r\n","\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { ZonesDetailComponent } from './zones-detail/zones-detail.component';\r\n\r\nconst routes: Routes = [\r\n {path:'zones', component:ZonesDetailComponent}\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class ZonesRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { ZonesRoutingModule } from './zones-routing.module';\r\nimport { ZonesListComponent } from './zones-list/zones-list.component';\r\nimport { ZonesDetailComponent } from './zones-detail/zones-detail.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TableModule } from 'primeng/table';\r\nimport { CoreModule } from 'src/app/core/core.module';\r\nimport { AppRoutingModule } from 'src/app/app-routing.module';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [ZonesListComponent, ZonesDetailComponent],\r\n imports: [\r\n CommonModule,\r\n ZonesRoutingModule,\r\n InputTextModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n AppRoutingModule,\r\n TranslateModule\r\n ],\r\n exports:[\r\n ZonesListComponent,\r\n ZonesDetailComponent\r\n ]\r\n})\r\nexport class ZonesModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ZonesService {\r\n url = \"/api/zones\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n getComboZones(params): Observable{\r\n return this.http.get(this.url+\"/combo\",{params:params});\r\n }\r\n combo(params): Observable {\r\n return this.http.get(this.url + \"/Combo\", { params: params });\r\n }\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n\r\n isDuplied(obj):Observable{\r\n return this.http.post(this.url+\"/isDuplied\",obj);\r\n }\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { ContactsService } from 'src/app/organizations/organizations-detail/organizations-contacts-detail/contacts.service';\r\nimport { OrganizationsService } from 'src/app/organizations/organizations.service';\r\n\r\n@Component({\r\n selector: 'app-contacts-list',\r\n templateUrl: './contacts-list.component.html',\r\n styleUrls: ['./contacts-list.component.scss']\r\n})\r\nexport class ContactsListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public contactsFilters: any = {};\r\n public route_organization_id;\r\n public organization;\r\n\r\n constructor(\r\n private contactsService: ContactsService,\r\n private viewsService: ViewsService,\r\n private organizationsService: OrganizationsService,\r\n private route: ActivatedRoute,\r\n\r\n private coreDialogService: CoreDialogService,\r\n private messageService: MessageService,\r\n private dialogService: DialogService,\r\n private router: Router,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.getOrganizationId();\r\n }\r\n\r\n viewContact(contact) {\r\n this.router.navigate([\"/contacts/\" + (contact ? contact.id : 0)]);\r\n }\r\n\r\n deleteContact(contact) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.contacts.delete_message\", { name: contact.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"), // this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.contactsService.delete(contact.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.router.navigate(['/contacts']);\r\n this.view.fireEvent(\"contacts.list.results\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => { }\r\n });\r\n }\r\n\r\n getOrganizationId() {\r\n if (this.route) {\r\n this.route.params.subscribe(params => {\r\n if (params['organization_id']) {\r\n var organization_id = params[\"organization_id\"];\r\n if (organization_id != null && parseInt(organization_id) != 0) {\r\n this.route_organization_id = parseInt(organization_id);\r\n\r\n this.contactsFilters.organization_id = this.route_organization_id;\r\n this.contactsFilters.include_organization_id = this.route_organization_id;\r\n this.contactsFilters._op_organization_id = \"in\";\r\n this.contactsFilters._ignore_session_fields = [\"organization_id\"];\r\n this.contactsFilters._excluded_fields = [\"organization_id\"];\r\n\r\n this.view?.fireEvent(\"contacts.list.results\", \"reload\", this.contactsFilters);\r\n this.loadOrganization();\r\n }\r\n }\r\n });\r\n }\r\n }\r\n\r\n loadOrganization() {\r\n this.organizationsService.get(this.route_organization_id).subscribe({\r\n next: (data: any) => {\r\n this.organization = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n onEvent(event: any) {\r\n if (event.component == \"contacts.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"contacts.list.results\", \"reload\");\r\n } else if (event.component == \"contacts.list.results\") {\r\n if (event.event == \"dblclick\") this.viewContact(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewContact(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewContact(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteContact(event.data);\r\n if (event.event == \"action\" && event.action.name == \"search\") {\r\n this.view.fireEvent(\"contacts.list.results\", \"reload\", event.data);\r\n }\r\n }\r\n }\r\n}\r\n","
{{view.getEntityBaseName(true)}}
\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { ContactsListComponent } from './contacts-list/contacts-list.component';\r\nimport { OrganizationsContactsDetailComponent } from '../organizations/organizations-detail/organizations-contacts-detail/organizations-contacts-detail.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"contacts/organization/:organization_id\", component: ContactsListComponent },\r\n { path: \"contacts/:id\", component: OrganizationsContactsDetailComponent },\r\n { path: \"contacts\", component: ContactsListComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class ContactsRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { ContactsRoutingModule } from './contacts-routing.module';\r\nimport { ContactsListComponent } from './contacts-list/contacts-list.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CarouselModule } from 'primeng/carousel';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextareaModule } from 'primeng/inputtextarea';\r\nimport { SplitButtonModule } from 'primeng/splitbutton';\r\nimport { TableModule } from 'primeng/table';\r\nimport { TimelineModule } from 'primeng/timeline';\r\nimport { CoreModule } from '../core/core.module';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [ContactsListComponent],\r\n imports: [\r\n CommonModule,\r\n ContactsRoutingModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n InputTextareaModule,\r\n DropdownModule,\r\n CalendarModule,\r\n SplitButtonModule,\r\n TimelineModule,\r\n CarouselModule,\r\n TranslateModule\r\n ]\r\n})\r\nexport class ContactsModule { }\r\n","import { HttpInterceptor, HttpRequest, HttpEvent, HttpHandler, HttpParams, HttpParameterCodec } from \"@angular/common/http\";\r\nimport { Injectable } from \"@angular/core\";\r\nimport { Observable } from \"rxjs\";\r\n\r\n@Injectable()\r\nexport class EncodeHttpParamsInterceptor implements HttpInterceptor {\r\n intercept(req: HttpRequest, next: HttpHandler): Observable> {\r\n const params = new HttpParams({ encoder: new CustomEncoder(), fromString: req.params.toString() });\r\n return next.handle(req.clone({ params }));\r\n }\r\n}\r\n\r\n\r\nclass CustomEncoder implements HttpParameterCodec {\r\n encodeKey(key: string): string {\r\n return encodeURIComponent(key);\r\n }\r\n\r\n encodeValue(value: string): string {\r\n return encodeURIComponent(value);\r\n }\r\n\r\n decodeKey(key: string): string {\r\n return decodeURIComponent(key);\r\n }\r\n\r\n decodeValue(value: string): string {\r\n return decodeURIComponent(value);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\nimport { EventEmitter, Injectable } from '@angular/core';\nimport BeePlugin from '@mailupinc/bee-plugin'\nimport { IBeeConfig } from '@mailupinc/bee-plugin/dist/types/bee';\nimport { Observable } from 'rxjs';\nimport { environment } from 'src/environments/environment';\n\n\n@Injectable({\n providedIn: 'root'\n})\n\nexport class BeeService {\n endpoint = \"https://auth.getbee.io/apiauth\";\n beeTest:BeePlugin = null;\n myPromise: Promise | null = null;\n private resolve: Function | null = null;\n\n\n constructor(private http: HttpClient) {\n\n /* this.myPromise = new Promise((resolve, reject) => {\n this.resolve = resolve;\n });*/\n }\n\n userInput (message, sample) {\n return function handler(resolve, reject) {\n var data = prompt(message, JSON.stringify(sample))\n return (data == null || data == '')\n ? reject()\n : resolve(JSON.parse(data))\n }\n }\n\n beeConfig:IBeeConfig = {\n uid: 'AxialCRM-' + localStorage.getItem(\"companyCode\"), //needed for identify resources of the that user and billing stuff\n container: 'bee-plugin-container', // Identifies the id of div element that contains the Beefree SDK builder\n language: 'es-ES',\n mergeTags: [],\n specialLinks: [],\n onSave: (jsonFile, htmlFile) => { \n this.myPromise = new Promise((resolve, reject) => {\n this.resolve!({ jsonFile: jsonFile, htmlFile: htmlFile });\n }); \n },\n onSaveAsTemplate: (jsonFile) => {\n console.log('onSaveAsTemplate', jsonFile)\n },\n onSend: (htmlFile) => {\n console.log('onSend', htmlFile)\n },\n onError: (errorMessage) => {\n console.log('onError ', errorMessage)\n }\n }\n start(template: any, mergeTag: any, especialLinks: any) {\n //Put your credentials in the .env file\n const clientId = environment.BEE_CLIENT_ID\n const clientSecret = environment.BEE_CLIENT_SECRET\n\n\n let config_html = {\n client_id: clientId, // Enter your client id\n client_secret: clientSecret, // Enter your secret key\n grant_type: \"password\" // Do not change\n };\n\n this.http.post(this.endpoint, config_html).subscribe({\n next: (response: any) => {\n this.beeTest = new BeePlugin(response.data);\n if (mergeTag != null) {\n mergeTag.forEach(item => {\n this.beeConfig.mergeTags.push(item);\n });\n }\n if (especialLinks != null) {\n especialLinks.forEach(item => {\n this.beeConfig.specialLinks.push(item);\n });\n }\n this.beeTest.getToken(clientId, clientSecret)\n .then(() => this.beeTest.start(this.beeConfig, template));\n\n },\n error: (error: any) => {\n console.log(error);\n }\n });\n\n }\n\n save(): Promise {\n this.myPromise = new Promise((resolve, reject) => {\n this.resolve = resolve;\n });\n\n this.beeTest.save();\n return this.myPromise;\n \n }\n \n}\n","import { NgModule } from '@angular/core';\r\nimport { SidebarComponent } from './sidebar/sidebar.component';\r\nimport { SidebarModule } from 'primeng/sidebar';\r\nimport { TopbarComponent } from './topbar/topbar.component';\r\nimport { RouterModule } from '@angular/router';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\nimport { ToastModule } from 'primeng/toast';\r\n//import { DialogConfirmComponent } from './dialogs/dialogs-confirm/dialogs-confirm.component';\r\nimport { DragDropModule } from '@angular/cdk/drag-drop';\r\nimport { ConfirmationService, MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogModule } from 'primeng/dynamicdialog';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { DialogConfirmComponent } from './dialogs/dialogs-confirm/dialogs-confirm.component';\r\nimport { ViewComponent } from './view/view.component';\r\nimport { CommonModule, DatePipe } from '@angular/common';\r\nimport { CardModule } from 'primeng/card';\r\nimport { InputText, InputTextModule } from 'primeng/inputtext';\r\nimport { InputTextarea, InputTextareaModule } from 'primeng/inputtextarea';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { TableModule } from 'primeng/table';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { ViewComponentFormComponent } from './view/component/form/view-component-form.component';\r\nimport { ViewComponentTableComponent } from './view/component/table/view-component-table.component';\r\nimport { ViewComponentConfigureComponent } from './view/component/configure/view-component-configure.component';\r\nimport { GridsterModule } from 'angular-gridster2';\r\nimport { LoaderComponent } from './loader/loader.component';\r\nimport { LoaderService } from './loader/loader.service';\r\nimport { HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { HttpConfigInterceptor } from './loader/httpconfig.interceptor';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\nimport { ViewComponentCardComponent } from './view/component/card/view-component-card.component';\r\nimport { AutoCompleteModule } from 'primeng/autocomplete';\r\nimport { PanelMenuModule } from 'primeng/panelmenu';\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport {BadgeModule} from 'primeng/badge';\r\nimport { EditorModule } from '@tinymce/tinymce-angular';\r\nimport { ViewComponentGalleryComponent } from './view/component/gallery/view-component-gallery.component';\r\nimport { ViewComponentFilesComponent } from './view/component/files/view-component-files.component';\r\nimport { MonacoEditorModule, MONACO_PATH } from '@materia-ui/ngx-monaco-editor';\r\nimport { PasswordModule } from 'primeng/password';\r\nimport { ViewComponentCustomComponent } from './view/component/custom/view-component-custom.component';\r\nimport {SlideMenuModule} from 'primeng/slidemenu';\r\nimport {SplitButtonModule} from 'primeng/splitbutton';\r\nimport {ColorPickerModule} from 'primeng/colorpicker';\r\nimport { AccordionModule } from 'primeng/accordion';\r\nimport { CascadeSelectModule } from 'primeng/cascadeselect';\r\nimport { InputSwitchModule} from 'primeng/inputswitch';\r\nimport { FileUploadModule } from 'primeng/fileupload';\r\nimport { CustomizerDirective } from './view/customizer.directive';\r\nimport { OverlayPanelModule } from 'primeng/overlaypanel';\r\nimport { PanelModule } from 'primeng/panel';\r\nimport { ScrollPanelModule } from 'primeng/scrollpanel';\r\nimport { ViewComponentAddComponent } from './view/component/add/view-component-add.component';\r\nimport { MultiSelectModule } from 'primeng/multiselect';\r\nimport { NewViewComponent } from './view/component/new-view/new-view.component';\r\nimport { ProgressBarModule } from 'primeng/progressbar';\r\nimport { HighlightModule } from '../../lib/highlight/highlight.module';\r\nimport { IsoToDatePipe } from './core.pipes';\r\nimport { InputMaskModule } from 'primeng/inputmask';\r\nimport { ViewComponentDateTimeComponent } from './view/component/datetime/datetime.component';\r\nimport { InputNumberModule } from 'primeng/inputnumber';\r\nimport { ViewComponentFilterComponent } from './view/component/filter/view-component-filter.component';\r\nimport { FilterModalComponent } from './view/component/filter/modal/filter-modal.component';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n IsoToDatePipe,\r\n SidebarComponent,\r\n TopbarComponent,\r\n DialogConfirmComponent,\r\n LoaderComponent,\r\n ViewComponent,\r\n ViewComponentFormComponent,\r\n ViewComponentTableComponent,\r\n ViewComponentCardComponent,\r\n ViewComponentGalleryComponent,\r\n ViewComponentConfigureComponent,\r\n ViewComponentFilesComponent,\r\n ViewComponentCustomComponent,\r\n CustomizerDirective,\r\n ViewComponentAddComponent,\r\n NewViewComponent,\r\n ViewComponentDateTimeComponent,\r\n ViewComponentFilterComponent,\r\n FilterModalComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n SidebarModule,\r\n RouterModule,\r\n ToastModule,\r\n DynamicDialogModule,\r\n ButtonModule,\r\n FontAwesomeModule,\r\n CardModule,\r\n InputTextModule,\r\n InputTextareaModule,\r\n DropdownModule,\r\n CheckboxModule,\r\n TableModule,\r\n TooltipModule,\r\n EditorModule,\r\n DragDropModule,\r\n GridsterModule,\r\n AutoCompleteModule,\r\n PanelMenuModule,\r\n CalendarModule,\r\n BadgeModule,\r\n MonacoEditorModule,\r\n SlideMenuModule,\r\n SplitButtonModule,\r\n ColorPickerModule,\r\n CascadeSelectModule,\r\n AccordionModule,\r\n InputSwitchModule,\r\n FileUploadModule,\r\n OverlayPanelModule,\r\n PanelModule,\r\n ScrollPanelModule,\r\n MultiSelectModule,\r\n ProgressBarModule,\r\n HighlightModule,\r\n InputMaskModule,\r\n InputNumberModule,\r\n TranslateModule\r\n ],\r\n exports: [\r\n SidebarComponent,\r\n TopbarComponent,\r\n LoaderComponent,\r\n ViewComponent,\r\n ViewComponentFormComponent,\r\n ViewComponentTableComponent,\r\n ViewComponentCardComponent,\r\n ViewComponentGalleryComponent,\r\n ViewComponentConfigureComponent,\r\n ViewComponentFilesComponent,\r\n ViewComponentCustomComponent,\r\n ToastModule,\r\n DynamicDialogModule,\r\n ButtonModule,\r\n FontAwesomeModule,\r\n AutoCompleteModule,\r\n PasswordModule,\r\n IsoToDatePipe,\r\n ViewComponentDateTimeComponent,\r\n ViewComponentFilterComponent,\r\n FilterModalComponent\r\n ],\r\n providers: [\r\n ConfirmationService,\r\n DialogService,\r\n MessageService,\r\n LoaderService,\r\n DatePipe,\r\n { provide: HTTP_INTERCEPTORS, useClass: HttpConfigInterceptor, multi: true },\r\n {\r\n provide: MONACO_PATH,\r\n useValue: 'https://unpkg.com/monaco-editor@0.24.0/min/vs'\r\n }\r\n ]\r\n})\r\nexport class CoreModule { }\r\n","import { Pipe, PipeTransform } from \"@angular/core\";\n\n@Pipe({\n name: 'isoToDate'\n })\n export class IsoToDatePipe implements PipeTransform {\n \n transform(value: string, ...args: unknown[]): Date {\n let dt:Date = null;\n if(value!=null) dt = new Date(value);\n return dt;\n \n }\n \n }","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CustomHistoryService {\r\n\r\n public history: string [] = [];\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n getAll() {\r\n return this.history;\r\n }\r\n getBackHistory() {\r\n if (this.history.length > 1) {\r\n return this.history[this.history.length - 2];\r\n } else {\r\n return null;\r\n }\r\n }\r\n checkIfExistPrev(url : string) {\r\n //Busca si justo antes se ha insertado (esto es porque se carga, llama al preload, que no guardamos y se vuelve a cargar, entonces aparece dos veces);\r\n if (this.history[this.history.length - 1] == url) return true;\r\n return false;\r\n }\r\n add(url: string) {\r\n if (this.history.length >= 10) {\r\n this.history.splice(0, 1);\r\n }\r\n this.history.push(url);\r\n }\r\n getTotal() {\r\n return this.history.length;\r\n }\r\n}\r\n","import { Injectable } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class DebugService {\r\n\r\n public enabled:boolean = false;\r\n\r\n constructor() { }\r\n \r\n enable(){\r\n this.enabled = true;\r\n console.log(\"Debug enabled\");\r\n }\r\n\r\n disable(){\r\n this.enabled = false;\r\n console.log(\"Debug disabled\");\r\n }\r\n\r\n log(source:any, message:string|object){\r\n if(!this.enabled) return;\r\n if(typeof(message)!=\"string\") message = JSON.stringify(message);\r\n let constructorName = source?.constructor?.name;\r\n console.log(\"DEBUG \" + (new Date()).toISOString() + \" - \" + constructorName + \": \" + message);\r\n }\r\n\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { DialogConfirmComponent } from './dialogs-confirm/dialogs-confirm.component';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CoreDialogService {\r\n\r\n constructor(private dialogService: DialogService) {\r\n\r\n }\r\n public icon : any;\r\n public show_button_ok : boolean=false;\r\n\r\n confirm(params:any) {\r\n //params.baseZIndex = \"2000\";\r\n params.showHeader = false;\r\n params.icon =\"far question-circle\";\r\n params.acceptFn = function(){\r\n params.accept();\r\n };\r\n params.rejectFn = function(){\r\n params.reject();\r\n };\r\n this.dialogService.open(DialogConfirmComponent, params);\r\n }\r\n\r\n notify(params:any) {\r\n //params.baseZIndex = \"2000\";\r\n params.show_button_ok = true;\r\n params.showHeader = false;\r\n params.acceptFn = function(){\r\n params.accept();\r\n };/*\r\n params.rejectFn = function(){\r\n params.reject();\r\n };*/\r\n this.dialogService.open(DialogConfirmComponent, params);\r\n }\r\n\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\n\r\n@Component({\r\n selector: 'app-dialogs-confirm',\r\n templateUrl: 'dialogs-confirm.component.html',\r\n styleUrls: ['dialogs-confirm.component.scss'],\r\n})\r\nexport class DialogConfirmComponent implements OnInit {\r\n\r\n public configuration:any = {};\r\n public icon : [];\r\n public show_button_ok: boolean;\r\n public color: string;\r\n\r\n constructor(private ref: DynamicDialogRef,\r\n //public sanitizer: DomSanitizer,\r\n private config: DynamicDialogConfig) { \r\n this.configuration = config;\r\n }\r\n\r\n ngOnInit(): void {\r\n this.icon = this.configuration.icon.split(\" \");\r\n this.show_button_ok = this.configuration.show_button_ok;\r\n this.color = this.configuration.color;\r\n }\r\n myStyle(): object {\r\n if(this.color != \"\"){\r\n return {\"color\":this.color};\r\n }\r\n } \r\n accept(){\r\n this.configuration.acceptFn();\r\n this.ref.close();\r\n }\r\n\r\n reject(){\r\n this.configuration.rejectFn();\r\n this.ref.close();\r\n }\r\n\r\n getHtml(){\r\n //no parece necesario\r\n //return this.sanitizer.bypassSecurityTrustHtml(this.configuration.message);\r\n return this.configuration.message;\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n","import { Injectable } from \"@angular/core\";\r\nimport { UntypedFormArray, UntypedFormGroup, NgForm } from \"@angular/forms\";\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CoreFormService {\r\n\r\n constructor() {\r\n\r\n }\r\n\r\n validate(group: NgForm | UntypedFormGroup | UntypedFormArray) {\r\n Object.keys(group.controls).forEach((key: string) => {\r\n const control = group.controls[key];\r\n if (control instanceof UntypedFormGroup || control instanceof UntypedFormArray) { \r\n control.markAsTouched(); this.validate(control);\r\n }\r\n else {\r\n control.markAsTouched();\r\n };\r\n });\r\n return group.valid;\r\n };\r\n\r\n}","import { Injectable } from '@angular/core';\r\nimport {\r\n HttpInterceptor,\r\n HttpRequest,\r\n HttpResponse,\r\n HttpHandler,\r\n HttpEvent,\r\n HttpErrorResponse\r\n} from '@angular/common/http';\r\n\r\nimport { Observable, throwError } from 'rxjs';\r\nimport { map, catchError } from 'rxjs/operators';\r\nimport { LoaderService } from './loader.service';\r\nimport { LoginService } from '../../login/login.service';\r\nimport { MessageService } from 'primeng/api';\r\n\r\n@Injectable()\r\nexport class HttpConfigInterceptor implements HttpInterceptor {\r\n\r\n private requestPendings: number = 0;\r\n private is_connection_error:boolean = false;\r\n\r\n constructor(\r\n private loaderService: LoaderService, \r\n private loginService: LoginService,\r\n private messageService: MessageService) {\r\n }\r\n\r\n intercept(request: HttpRequest, next: HttpHandler): Observable> {\r\n let isSkipedRequest = this.loaderService.isRequestSkiped(request);\r\n if (request.method!='GET' || !isSkipedRequest) this.requestPendings++;\r\n this.loaderService.onPendingRequest.emit({ pendingRequests: this.requestPendings, loadingPercent: 0 });\r\n var clonedRequest = request;\r\n\r\n if (request.url != \"https://auth.getbee.io/apiauth\") {\r\n //Se discrimina si es la autenticación del bee porque fallaba el cors, alguna de estas propiedades de la petición no le gustaba.\r\n var token = localStorage.getItem(\"token\");\r\n let requestHeaders = request.headers;\r\n let code = this.loginService.get(\"code\") ?? '';\r\n let language = this.loginService.get(\"language\") ?? 'es';\r\n\r\n clonedRequest = request.clone({ headers: request.headers.set('Authorization', 'Bearer ' + token).set('code', code).set('language', language) });\r\n \r\n }\r\n \r\n\r\n return next.handle(clonedRequest).pipe(\r\n map((event: HttpEvent) => {\r\n if (event instanceof HttpResponse) {\r\n if (request.method != 'GET' || !isSkipedRequest) this.requestPendings--;\r\n this.loaderService.removeSkipRequest(request);\r\n this.loaderService.onPendingRequest.emit({ pendingRequests: this.requestPendings, loadingPercent: 0 });\r\n }\r\n return event;\r\n }),\r\n catchError((err) => {\r\n console.error(err)\r\n this.loaderService.removeSkipRequest(request);\r\n if (request.method != 'GET' || !isSkipedRequest) this.requestPendings--;\r\n this.loaderService.onPendingRequest.emit({ pendingRequests: this.requestPendings, loadingPercent: 0 });\r\n if (err.status == 401) {\r\n console.log(\"Request unauthorized. Logging out.\", request.urlWithParams.toString());\r\n this.loginService.logout();\r\n } else if (err.status == 404) {\r\n console.log(\"Not found. Logging out.\", request.urlWithParams.toString());\r\n this.loginService.notFound();\r\n } else if (err.status == 0) {\r\n console.log(\"Not found. Logging out.\", request.urlWithParams.toString());\r\n if(!this.is_connection_error){\r\n this.messageService.add({ severity: 'error', detail: \"No se pudo conectar con el servidor. Por favor, revise su conexión e intentelo nuevamente.\" });\r\n setTimeout(() => { this.is_connection_error = false; }, 1000);\r\n }\r\n this.is_connection_error = true;\r\n } else {\r\n return throwError(err);\r\n }\r\n })\r\n );\r\n\r\n }\r\n}\r\n","import { Component, OnInit, OnDestroy } from '@angular/core';\r\nimport { Subscription } from 'rxjs';\r\nimport { LoaderService } from './loader.service';\r\n\r\n@Component({\r\n selector: 'app-loader',\r\n templateUrl: './loader.component.html',\r\n styleUrls: ['./loader.component.scss']\r\n})\r\n/** loader component*/\r\nexport class LoaderComponent implements OnInit, OnDestroy {\r\n\r\n private subscription: Subscription;\r\n public pendingRequests: number = 0;\r\n public loading: boolean = false;\r\n public loadingPercent: number = 0;\r\n\r\n constructor(private loaderService: LoaderService) {\r\n }\r\n\r\n ngOnInit() {\r\n this.subscription = this.loaderService.onPendingRequest.subscribe((requestSubscription) => {\r\n this.pendingRequests = requestSubscription.pendingRequests;\r\n this.loadingPercent = requestSubscription.loadingPercent;\r\n Promise.resolve(null).then(() => this.loading = requestSubscription.pendingRequests > 0);\r\n });\r\n }\r\n\r\n ngOnDestroy() {\r\n this.subscription.unsubscribe();\r\n }\r\n\r\n}\r\n","\r\n
0\" class=\"app-loader p-grid p-jc-center p-ai-center\">\r\n
\r\n
\r\n
0\">\r\n

{{loadingPercent}}%

\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { HttpParams, HttpRequest } from '@angular/common/http';\r\nimport { Injectable, EventEmitter } from '@angular/core';\r\nimport { skip } from 'rxjs/operators';\r\n\r\n@Injectable()\r\nexport class LoaderService {\r\n\r\n onPendingRequest: EventEmitter = new EventEmitter();\r\n requestsToSkip: string[] = [];\r\n\r\n constructor() {\r\n }\r\n\r\n skipRequest(url: string, params: any) {\r\n let urlWithParams = url;\r\n if (params != null) {\r\n urlWithParams += \"?\" + (new URLSearchParams(params)).toString();\r\n }\r\n urlWithParams = decodeURIComponent(urlWithParams);\r\n this.requestsToSkip.push(urlWithParams);\r\n }\r\n\r\n removeSkipRequest(request: HttpRequest) {\r\n let idx = this.requestsToSkip.indexOf(request.urlWithParams);\r\n if (idx >= 0) {\r\n delete this.requestsToSkip[idx];\r\n }\r\n }\r\n\r\n isRequestSkiped(request: HttpRequest) {\r\n let skiped = this.requestsToSkip.indexOf(request.urlWithParams) >= 0;\r\n /*if (skiped) {\r\n //console.log(\"Skiped loader for\", request.urlWithParams);\r\n } else {\r\n // console.log(\"Show loader for\", request.urlWithParams);\r\n }*/\r\n return skiped;\r\n }\r\n\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class SearchService {\r\n url = \"/api/search\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url + \"/topbar\", { params: params });\r\n }\r\n onlyPeople(params): Observable {\r\n return this.http.get(this.url + \"/people\", { params: params });\r\n }\r\n}\r\n","import { Component } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { OrganizationsTypesService } from 'src/app/organizations/organizations-types.service';\r\nimport { MenuItem } from 'primeng/api';\r\nimport { TransactionTypesService } from 'src/app/configuration/transaction-types/transaction-types.service';\r\nimport { NgEventBus } from 'ng-event-bus';\r\nimport { MetaData } from 'ng-event-bus/lib/meta-data';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { forkJoin } from 'rxjs';\r\nimport { VersionService } from '../version.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-sidebar',\r\n templateUrl: 'sidebar.component.html',\r\n styleUrls: ['sidebar.component.scss'],\r\n})\r\nexport class SidebarComponent {\r\n\r\n public version: any = {};\r\n public organizationTypes: any = Array();\r\n public transactionTypes: any = Array();\r\n public items: MenuItem[];\r\n public isMobile: boolean = false;\r\n public isOpen: boolean = true;\r\n public titleItemsMenu: any;\r\n public entities: any[];\r\n public firstTimeResize: boolean = true;\r\n public isMenuLoaded:boolean = false;\r\n\r\n constructor(\r\n private entitiesService: EntitiesService,\r\n private versionService: VersionService,\r\n private organizationTypesService: OrganizationsTypesService,\r\n private transactionTypesService: TransactionTypesService,\r\n private loginService: LoginService,\r\n private messageService: MessageService,\r\n private router: Router,\r\n private eventBus: NgEventBus,\r\n private translateService: TranslateService\r\n ) {\r\n this.getVersion();\r\n this.router.routeReuseStrategy.shouldReuseRoute = function () {\r\n return false;\r\n };\r\n\r\n //escuchamos eventos\r\n this.eventBus.on('sidebar:toogle').subscribe((meta: MetaData) => {\r\n if (meta.data != null) {\r\n this.isOpen = meta.data;\r\n } else {\r\n this.isOpen = !this.isOpen;\r\n }\r\n });\r\n\r\n //calculamos ancho de pantalla para ver si cerramos menu en caso de movil\r\n var ratio = window.devicePixelRatio || 1;\r\n //var w = screen.width / ratio;\r\n var w = window.innerWidth / ratio;\r\n if (w <= 768) {\r\n //cerramos menu\r\n this.isMobile = true;\r\n this.eventBus.cast('sidebar:toogle', false);\r\n }\r\n\r\n //escuchamos cambios de estado de login\r\n this.loginService.onLoginStateChange.subscribe(authenticated => {\r\n if (authenticated){\r\n this.entitiesService.all({}).subscribe(\r\n data => {\r\n this.entities = data.rows;\r\n this.loadData();\r\n },\r\n error => {\r\n console.log(\"ha ocurrido un error...\", error);\r\n }\r\n );\r\n }\r\n });\r\n\r\n\r\n //Hacmos esto para gestionar si lo que hacen es cambiar el tamaño de la pantalla.\r\n let that = this;\r\n window.addEventListener(\"resize\", function (event) {\r\n var w = window.innerWidth / ratio;\r\n if (w <= 768 && that.firstTimeResize) {\r\n //cerramos menu\r\n that.isMobile = true;\r\n that.eventBus.cast('sidebar:toogle', false);\r\n that.firstTimeResize = false;\r\n } else {\r\n if (w >= 768) {\r\n that.firstTimeResize = true;\r\n }\r\n }\r\n })\r\n }\r\n\r\n\r\n closeMenu() {\r\n this.clearLocalStorageTasksFilters();\r\n if (this.isMobile) this.eventBus.cast('sidebar:toogle', false);\r\n }\r\n\r\n clearLocalStorageTasksFilters() {\r\n localStorage.removeItem(\"tasks.list\");\r\n localStorage.removeItem(\"organization.tasks\");\r\n localStorage.removeItem(\"home.tasks\");\r\n }\r\n\r\n loadData() {\r\n //precargamos datos necesarios\r\n this.loadOrganizationsTypes(() => {\r\n this.loadTransactionTypes(() => {\r\n //generamos menu\r\n this.prepareMenuItems();\r\n this.isMenuLoaded = true;\r\n });\r\n })\r\n }\r\n getMenuGrouped(group) {\r\n return this.items.filter(m => m.title == group);\r\n }\r\n loadOrganizationsTypes(cbFn: Function) {\r\n var organizationsMenu = [{\r\n label: this.translateService.instant(\"menu.all\"),\r\n routerLink: ['/organizations'],\r\n routerLinkActiveOptions: { exact: true },\r\n icon: 'pi pi-fw pi-circle-on color-white',\r\n command: (event) => { this.closeMenu(); }\r\n }];\r\n this.organizationTypesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.organizationTypes = data;\r\n cbFn();\r\n },\r\n error: (error: any) => { }\r\n });\r\n return organizationsMenu;\r\n }\r\n\r\n loadTransactionTypes(cbFn: Function) {\r\n var transactionsMenu = [];\r\n this.transactionTypesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.transactionTypes = data;\r\n cbFn();\r\n },\r\n error: (error: any) => { }\r\n })\r\n return transactionsMenu;\r\n }\r\n\r\n prepareMenuItems() {\r\n this.titleItemsMenu = [\r\n this.translateService.instant(\"menu.menu\").toUpperCase(),\r\n this.translateService.instant(\"menu.action\").toUpperCase(),\r\n this.translateService.instant(\"menu.documents\").toUpperCase(),\r\n this.translateService.instant(\"menu.support\").toUpperCase()\r\n ];\r\n\r\n //items de tipos de organizacion\r\n let organizationsMenu: MenuItem[] = [];\r\n organizationsMenu.push({\r\n label: this.translateService.instant(\"menu.all\"),\r\n routerLink: ['/organizations'],\r\n routerLinkActiveOptions: { exact: true },\r\n icon: 'pi pi-fw pi-circle-on color-white',\r\n command: (event) => { this.closeMenu(); }\r\n });\r\n this.organizationTypes.rows.forEach(element => {\r\n organizationsMenu.push({\r\n label: element.name,\r\n routerLink: ['/organizations', element.id],\r\n routerLinkActiveOptions: { exact: true },\r\n icon: 'pi pi-fw pi-circle-on organization-type-color-' + element.id,\r\n command: (event) => { this.closeMenu(); }\r\n })\r\n });\r\n organizationsMenu.push({\r\n label: this.translateService.instant(\"menu.no_type\"),\r\n routerLink: ['/organizations', \"0\"],\r\n routerLinkActiveOptions: { exact: true },\r\n icon: 'pi pi-fw pi-circle-off',\r\n command: (event) => { this.closeMenu(); }\r\n });\r\n\r\n //items de tipos de transaction\r\n let transactionsMenu: MenuItem[] = [];\r\n this.transactionTypes.rows.forEach(element => {\r\n transactionsMenu.push({\r\n label: element.name,\r\n routerLink: ['/transactions', element.id],\r\n routerLinkActiveOptions: { exact: true },\r\n icon: '',\r\n command: (event) => { this.closeMenu(); }\r\n })\r\n });\r\n\r\n this.items = [\r\n {\r\n title: this.translateService.instant(\"menu.menu\").toUpperCase(),\r\n label: this.translateService.instant(\"general.breadcrumb.home\"),\r\n icon: 'pi pi-fw pi-home',\r\n routerLink: ['/home'],\r\n routerLinkActiveOptions: { exact: true },\r\n command: (event) => { this.closeMenu(); },\r\n },\r\n {\r\n title: this.translateService.instant(\"menu.menu\").toUpperCase(),\r\n label: this.getName(\"campaigns\", \"Campañas\", \"campaign\"),\r\n icon: \"pi pi-fw pi-globe\",\r\n routerLink: ['/campaigns'],\r\n visible: this.loginService.hasPermission(\"CAMPAIGNS_READ\")\r\n },\r\n {\r\n title: this.translateService.instant(\"menu.menu\").toUpperCase(),\r\n label: this.getName(\"organizations\", 'Organizaciones', ''),\r\n icon: ' pi pi-fw pi-briefcase',\r\n items: organizationsMenu,\r\n visible: this.loginService.hasPermission(\"ORGANIZATIONS_READ\"),\r\n },/*\r\n {\r\n label: 'Usuarios',\r\n icon: 'pi pi-fw pi-user',\r\n routerLink: ['/users'],\r\n command: (event) => { this.closeMenu(); }\r\n },*/\r\n {\r\n title: this.translateService.instant(\"menu.menu\").toUpperCase(),\r\n label: this.getName(\"contacts\", 'Contactos', ''),\r\n icon: 'pi pi-fw pi-user',\r\n routerLink: ['/contacts'],\r\n command: (event) => { this.closeMenu(); },\r\n visible: this.loginService.hasPermission(\"CONTACTS_READ\")\r\n },\r\n {\r\n title: this.translateService.instant(\"menu.menu\").toUpperCase(),\r\n label: this.translateService.instant(\"component.organizations.meetings_detail.calendar\"),\r\n icon: 'pi pi-fw pi-calendar',\r\n routerLink: ['/calendar'],\r\n command: (event) => { this.closeMenu(); },\r\n visible: this.loginService.hasPermission(\"CALENDAR\")\r\n //visible: this.loginService.hasPermission(\"CALENDAR_LINK\")\r\n },\r\n {\r\n title: this.translateService.instant(\"menu.action\").toUpperCase(),\r\n label: this.getName(\"tasks\", 'Actividades', ''),\r\n icon: 'pi pi-fw pi-list',\r\n routerLink: ['/tasks'],\r\n command: (event) => { this.closeMenu(); },\r\n visible: this.loginService.hasPermission(\"TASKS_READ\")\r\n },\r\n {\r\n title: this.translateService.instant(\"menu.action\").toUpperCase(),\r\n label: this.getName(\"transactions\", 'Oportunidades', 'oportunity'),\r\n icon: 'pi pi-fw pi-money-bill',\r\n routerLink: ['/transactions/1'],\r\n command: (event) => { this.closeMenu(); },\r\n visible: this.loginService.hasPermission(\"OPORTUNITIES_READ\")\r\n },\r\n {\r\n title: this.translateService.instant(\"menu.action\").toUpperCase(),\r\n label: this.getName(\"products\", 'Productos', ''),\r\n icon: 'pi pi-fw pi-shopping-cart',\r\n routerLink: ['/products'],\r\n command: (event) => { this.closeMenu(); },\r\n visible: this.loginService.hasPermission(\"PRODUCTS_MENU\")\r\n },\r\n {\r\n title: this.translateService.instant(\"menu.action\").toUpperCase(),\r\n label: this.getName(\"transactions\", 'Ventas', 'sale'),\r\n icon: 'pi pi-fw pi-dollar',\r\n routerLink: ['/transactions/2'],\r\n command: (event) => { this.closeMenu(); },\r\n visible: this.loginService.hasPermission(\"SALES_READ\")\r\n },\r\n {\r\n title: this.translateService.instant(\"menu.action\").toUpperCase(),\r\n label: this.getName(\"transactions\", 'Transacciones', 'transaction'),\r\n icon: 'pi pi-fw pi-sort-alt',\r\n items: transactionsMenu,\r\n visible: this.loginService.hasPermission(\"TRANSACTIONS_MENU\")\r\n },\r\n {\r\n title: this.translateService.instant(\"menu.documents\").toUpperCase(),\r\n label: this.translateService.instant(\"component.reports.detail.reports\"),\r\n icon: 'pi pi-fw pi-copy',\r\n routerLink: ['/reports'],\r\n command: (event) => { this.closeMenu(); },\r\n visible: this.loginService.hasPermission(\"REPORTS_READ\")\r\n },\r\n {\r\n title: this.translateService.instant(\"menu.documents\").toUpperCase(),\r\n label: this.getName(\"attachments\", 'Adjuntos', ''),\r\n icon: 'pi pi-fw pi-folder',\r\n routerLink: ['/attachments'],\r\n command: (event) => { this.closeMenu(); },\r\n visible: this.loginService.hasPermission(\"ATTACHMENTS_MENU\")\r\n },\r\n {\r\n title: this.translateService.instant(\"menu.documents\").toUpperCase(),\r\n label: this.getName(\"genericAttachments\", 'Documentos genéricos', 'genericAttachments'),\r\n icon: 'pi pi-fw pi-folder',\r\n routerLink: ['/genericAttachments'],\r\n command: (event) => { this.closeMenu(); },\r\n visible: this.loginService.hasPermission(\"GENERIC_ATTACHMENTS_MENU\")\r\n },\r\n {\r\n title: this.translateService.instant(\"menu.documents\").toUpperCase(),\r\n label: this.translateService.instant(\"component.mailMarketing.entity\"),\r\n icon: 'pi pi-fw pi-envelope',\r\n routerLink: ['/mailMarketing'],\r\n command: (event) => { this.closeMenu(); },\r\n visible: this.loginService.hasPermission(\"MAIL_MARKETING_MENU\")\r\n },\r\n {\r\n title: this.translateService.instant(\"menu.support\").toUpperCase(),\r\n label: this.translateService.instant(\"general.configuration\"),\r\n icon: 'pi pi-fw pi-cog',\r\n routerLink: ['/configuration/entities'],\r\n command: (event) => { this.closeMenu(); },\r\n visible: this.loginService.hasPermission(\"CONFIGURATION\")\r\n }\r\n ];\r\n }\r\n\r\n route(organizationType_id) {\r\n this.router.navigate(['/organizations', organizationType_id]);\r\n }\r\n\r\n getName(table, otherName, code, plural = 1) {\r\n let res = this.entities.filter(m => m.name_table == table)[0];\r\n if (code != null && code != \"\") {\r\n res = this.entities.filter(m => m.name_table == table && m.code == code)[0];\r\n }\r\n\r\n if (res != null) {\r\n //buscamos el nombre en el idioma\r\n var name = res.name_plural;\r\n var strPlural = \"name_plural\";\r\n if (plural == 0) strPlural = \"name\";\r\n var key = res.code + \".entity.\" + strPlural;\r\n if (this.translateService.instant(key) !== key) {\r\n name = this.translateService.instant(key);\r\n }\r\n return name;\r\n } else {\r\n var name = otherName;\r\n var strPlural = \"name_plural\";\r\n if (plural == 0) strPlural = \"name\";\r\n var key = code + \".entity.\" + strPlural;\r\n if (this.translateService.instant(key) !== key) {\r\n name = this.translateService.instant(key);\r\n }\r\n return name;\r\n }\r\n }\r\n\r\n getVersion() {\r\n this.versionService.get().subscribe(\r\n data => {\r\n this.version = data;\r\n }\r\n );\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{item}}\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
Versión {{version.version}}
\r\n
\r\n
\r\n","import { Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { NavigationStart, Router } from '@angular/router';\r\nimport { NgEventBus } from 'ng-event-bus';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { OverlayPanel } from 'primeng/overlaypanel';\r\nimport { AttachmentsDataService } from 'src/app/attachments/attachments-data.service';\r\nimport { AttachmentsService } from 'src/app/attachments/attachments.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { MailingDetailComponent } from 'src/app/mailing/mailing-detail/mailing-detail.component';\r\nimport { OrganizationsDetailGeneralComponent } from 'src/app/organizations/organizations-detail/organizations-detail-general/organizations-detail-general.component';\r\nimport { OrganizationsQuickComponent } from 'src/app/organizations/organizations-quick/organizations-quick/organizations-quick.component';\r\nimport { TasksDetailComponent } from 'src/app/tasks/tasks-detail/tasks-detail.component';\r\nimport { TransactionsDetailComponent } from 'src/app/transactions/transactions-detail/transactions-detail.component';\r\nimport { UserChangePasswordComponent } from 'src/app/users/user-change-password/user-change-password.component';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { ConfigurationService } from '../../configuration/configuration.service';\r\nimport { EntitiesService } from '../../configuration/entities.service';\r\nimport { UsersDetailComponent } from '../../users/users-detail/users-detail.component';\r\nimport { CoreDialogService } from '../dialogs/core-dialog.service';\r\nimport { SearchService } from '../search.service';\r\nimport { ViewsService } from '../view/views.service';\r\nimport { NotificationsService } from 'src/app/notifications/notifications.service';\r\nimport { ContactsService } from '../../organizations/organizations-detail/organizations-contacts-detail/contacts.service';\r\nimport { UtilsService } from '../utils.service';\r\nimport { Office365Service } from 'src/app/configuration/integration/office365.service';\r\nimport { SessionStorageService } from 'ngx-webstorage';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { GMailService } from 'src/app/configuration/integration/gmail.service';\r\nimport { firstValueFrom } from 'rxjs';\r\n\r\n@Component({\r\n selector: 'app-topbar',\r\n templateUrl: 'topbar.component.html',\r\n styleUrls: ['topbar.component.scss'],\r\n})\r\nexport class TopbarComponent implements OnInit {\r\n public itemsQuickMenu: any[] = [];\r\n public searchResults: any[] = [];\r\n public alertsNotifications: any[] = [];\r\n public searchText: string;\r\n\r\n public entity: any = null;\r\n public dropdownViews: any[] = [];\r\n public layout: any[] = [];\r\n\r\n private timeout: any = null;\r\n\r\n public created_by: any;\r\n public user: any = {\r\n\r\n };\r\n public company: any = {};\r\n public companyCode;\r\n public items: any;\r\n public imageUrl = \"assets/img/no-user.jpeg\";\r\n public views_superadmin: boolean;\r\n public personalize_interface: boolean;\r\n public personalized_views_read: boolean;\r\n public personalized_views_write: boolean;\r\n public allowViewPersonalize: boolean = false;\r\n public allowedLayouts: any[] = [\r\n { code: \"12\", name: \"1 \" + this.translateService.instant(\"view.configure.column\") + \" (100%)\" },\r\n { code: \"6-6\", name: \"2 \" + this.translateService.instant(\"view.configure.columns\") + \" (50%, 50%)\" },\r\n { code: \"8-4\", name: \"2 \" + this.translateService.instant(\"view.configure.columns\") + \" (66%, 34%)\" },\r\n { code: \"9-3\", name: \"2 \" + this.translateService.instant(\"view.configure.columns\") + \" (75%, 25%)\" },\r\n { code: \"4-8\", name: \"2 \" + this.translateService.instant(\"view.configure.columns\") + \" (34%, 66%)\" },\r\n { code: \"3-9\", name: \"2 \" + this.translateService.instant(\"view.configure.columns\") + \" (25%, 75%)\" },\r\n { code: \"4-4-4\", name: \"3 \" + this.translateService.instant(\"view.configure.columns\") + \" (34%, 33%, 33%)\" }\r\n ];\r\n\r\n //Correos entrantes pendientes:\r\n public totalNotificationsIn: number;\r\n public totalAlerts: number = 0;\r\n\r\n public alerts: number;\r\n\r\n private office365AlertShowed: boolean = false;\r\n private gmailAlertShowed: boolean = false;\r\n public view: any = {};\r\n public selectedView: any;\r\n @Input(\"code\") public code: string;\r\n @Output() onEvent: EventEmitter = new EventEmitter();\r\n @ViewChild(\"op\") op: OverlayPanel;\r\n\r\n //@Input(\"model\") public model: any = {};\r\n public flags: any[] = [];\r\n public flag_code: any = {};\r\n public showFlag: boolean = false;\r\n constructor(\r\n private searchService: SearchService,\r\n private loginService: LoginService,\r\n private usersService: UsersService,\r\n private attachmentsService: AttachmentsService,\r\n private attachmentsDataService: AttachmentsDataService,\r\n private coreDialogService: CoreDialogService,\r\n private router: Router,\r\n private dialogService: DialogService,\r\n private messageService: MessageService,\r\n private eventBus: NgEventBus,\r\n private viewsService: ViewsService,\r\n private entitiesService: EntitiesService,\r\n private configurationService: ConfigurationService,\r\n private notificationsService: NotificationsService,\r\n private contactsService: ContactsService,\r\n private utilsService: UtilsService,\r\n private office365Service: Office365Service,\r\n private sessionStorage: SessionStorageService,\r\n private translateService: TranslateService,\r\n private gmailService: GMailService\r\n ) {\r\n this.flag_code = { code: this.loginService.get(\"language\") };\r\n\r\n //Recojo el identificador del usuario logeado:\r\n this.created_by = this.loginService.get(\"userId\");\r\n this.loginService.onLoginStateChange.subscribe(authenticated => {\r\n if (authenticated) {\r\n this.loadProfileMenu();\r\n this.loadQuickMenu();\r\n if (this.loginService.hasPermission(\"APP_LANGUAGE_SELECTOR_VIEW\")) {\r\n this.loadLanguages();\r\n }\r\n this.loadLoginData(authenticated);\r\n } else {\r\n //si ha salido, y hay un timeout lo quitamos\r\n if (this.timeout != null) {\r\n clearTimeout(this.timeout);\r\n this.timeout = null;\r\n }\r\n }\r\n });\r\n this.utilsService.alertsChange.subscribe(authenticated => {\r\n this.loadAlerts();\r\n });\r\n\r\n this.router.events.subscribe(event => {\r\n\r\n if (event instanceof NavigationStart) {\r\n //ocultamos que se muestre personalización\r\n Promise.resolve(null).then(() => { this.allowViewPersonalize = false });\r\n }\r\n });\r\n this.viewsService.onViewChange.subscribe(\r\n data => {\r\n this.code = data;\r\n this.viewsService.getViewConfiguration(this.code).subscribe({\r\n next: (data: any) => {\r\n this.view = data;\r\n this.selectedView = this.view.id;\r\n this.loadViewsDropdown();\r\n\r\n //permitimos que se muestre personalización porque la pantalla tiene vistas, y porque no esta deshabilitada la personalización de ella\r\n if (this.view.configuration.personalizable != false) {\r\n Promise.resolve(null).then(() => { this.allowViewPersonalize = true });\r\n } else {\r\n Promise.resolve(null).then(() => { this.allowViewPersonalize = false });\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n });\r\n }\r\n\r\n loadLanguages() {\r\n this.usersService.allLanguages({}).subscribe({\r\n next: (data: any) => {\r\n this.flags = [];\r\n data.rows.forEach((item: any) => {\r\n this.flags.push({\r\n name: item.language.name,\r\n flag_code: item.language.flag_code,\r\n code: item.language.iso_code\r\n });\r\n });\r\n //Para seleccionar la bandera.\r\n if (this.flag_code != null && this.flag_code.code) {\r\n this.flag_code.flag_code = this.flags.filter(m => m.code == this.flag_code.code)[0].flag_code;\r\n }\r\n if (this.flags.length > 1) this.showFlag = true;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n changeLanguage() {\r\n localStorage.setItem(\"language\", this.flag_code.code);\r\n this.translateService.reloadLang(this.flag_code.code).subscribe((value: any) => {\r\n this.translateService.use(this.flag_code.code).subscribe((value: any) => {\r\n location.reload();\r\n });\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n loadQuickMenu() {\r\n\r\n this.itemsQuickMenu = [\r\n /* {\r\n label: 'Añadir contacto',\r\n icon: 'pi pi-user',\r\n //routerLink: this.addUser,\r\n command: (event) => { this.addContact(); },\r\n visible: this.loginService.hasPermission(\"CONTACTS_WRITE\")\r\n },*/\r\n {\r\n label: this.translateService.instant(\"general.toolbar.add_organization\"), //'Añadir organización',\r\n icon: 'pi pi-fw pi-briefcase',\r\n command: (event) => { this.addOrganization(); },\r\n visible: this.loginService.hasPermission(\"ORGANIZATIONS_WRITE\"),\r\n value: 0\r\n },\r\n {\r\n label: this.translateService.instant(\"general.toolbar.new_email\"), //'Nuevo email',\r\n icon: 'pi pi-fw pi-envelope',\r\n command: (event) => { this.addEmail(); },\r\n visible: true,\r\n value: 0\r\n },\r\n {\r\n label: this.translateService.instant(\"general.toolbar.new_report\"), //'Nuevo informe',\r\n icon: 'pi pi-fw pi-copy',\r\n routerLink: ['reports/0'],\r\n visible: this.loginService.hasPermission(\"REPORTS_WRITE\"),\r\n value: 0\r\n }, {\r\n label: this.translateService.instant(\"general.toolbar.new_oportunity\"), //'Crear oportunidad',\r\n icon: 'pi pi-fw pi-money-bill',\r\n command: (event) => { this.addOportunity(); },\r\n visible: this.loginService.hasPermission(\"OPORTUNITIES_WRITE\"),\r\n value: 0\r\n },\r\n {\r\n label: this.translateService.instant(\"general.toolbar.new_task\"), //'Crear actividad',\r\n icon: 'pi pi-fw pi-list',\r\n command: (event) => { this.addTask(); },\r\n visible: this.loginService.hasPermission(\"TASKS_WRITE\"),\r\n value: 0\r\n },\r\n {\r\n label: this.translateService.instant(\"general.toolbar.see_calendar\"), //'Ver calendario',\r\n icon: 'pi pi-fw pi-calendar',\r\n routerLink: ['/calendar'],\r\n visible: this.loginService.hasPermission(\"CALENDAR\"),\r\n value: 0\r\n },/*\r\n {\r\n label: 'Alertas',\r\n icon: 'pi pi-fw pi-bell',\r\n routerLink: ['/home'],\r\n visible: true,\r\n value: 1\r\n },*/\r\n ];\r\n\r\n //cargamos info de login\r\n //no cargamos hasta que no se produca un cambio de estado de login\r\n /*setTimeout(()=>{\r\n this.loadLoginData(false);\r\n }, 500);*/\r\n }\r\n\r\n loadProfileMenu() {\r\n this.items = [\r\n {\r\n label: this.translateService.instant(\"general.toolbar.profile\"), //'Ver perfil',\r\n icon: 'pi pi-fw pi-user',\r\n command: (event) => { this.viewUser(); },\r\n //TODO: desconectar al usuario.\r\n },\r\n {\r\n label: this.translateService.instant(\"general.toolbar.change_password\"),//'Cambiar contraseña', \r\n command: (event) => { this.changePassword(); },\r\n icon: 'pi pi-fw pi-key',\r\n //event.originalEvent: Browser event\r\n //event.item: menuitem metadata\r\n },\r\n {\r\n label: this.translateService.instant(\"general.toolbar.close_session\"), //'Cerrar sesión',\r\n icon: 'pi pi-fw pi-sign-out',\r\n command: (event) => { this.logout(); },\r\n //TODO: desconectar al usuario.\r\n }\r\n ];\r\n this.personalize_interface = this.loginService.hasPermission(\"PERSONALIZE_INTERFACE\");\r\n this.personalized_views_read = this.loginService.hasPermission(\"PERSONALIZED_VIEWS_READ\");\r\n this.personalized_views_write = this.loginService.hasPermission(\"PERSONALIZED_VIEWS_WRITE\");\r\n this.views_superadmin = this.loginService.hasPermission(\"VIEWS_SUPERADMIN\") || localStorage.getItem(\"isSuperAdmin\") == \"true\";\r\n }\r\n\r\n viewUser() {\r\n const ref = this.dialogService.open(UsersDetailComponent, {\r\n data: {\r\n id: localStorage.getItem(\"userId\")\r\n },\r\n //header: user ? \"Detalles del usuario\" : \"Nuevo usuario\",\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data) => {\r\n //TODO: Recargar dropdown\r\n });\r\n }\r\n\r\n logout(): void {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"general.toolbar.logout_confirmation\"), //\"¿Está seguro que desea cerrar la sesión?\",\r\n header: \"\",\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.loginService.logout();\r\n },\r\n reject: () => { }\r\n });\r\n }\r\n changePassword() {\r\n const ref = this.dialogService.open(UserChangePasswordComponent, {\r\n data: {\r\n id: [localStorage.getItem(\"userId\")]\r\n },\r\n header: this.translateService.instant(\"general.toolbar.change_password\"), //\"Cambiar contraseña\",\r\n width: \"40%\",\r\n /*baseZIndex: 1000*/\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data !== undefined) {\r\n } else if (localStorage.getItem(\"forgotPassword\") == \"true\") {\r\n //new_password pasa a ser password en caso de no llegar a hacer el cambio de contraseña:\r\n this.setNewPassword();\r\n }\r\n });\r\n }\r\n\r\n setNewPassword() {\r\n this.usersService.setNewPassword().subscribe({\r\n next: (data: any) => {\r\n localStorage.removeItem(\"forgotPassword\");\r\n alert(\"La contraseña pasó a ser la contraseña de recuperación.\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n filterSearch(event) {\r\n let query = event.query;\r\n this.searchService.all({ search_text: query }).subscribe({\r\n next: (data: any) => {\r\n this.searchResults = [...data];\r\n //this.sortArrayResults(query);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n sortArrayResults(search_text) {\r\n const searchWords = search_text.toLowerCase().split(\" \").filter(word => word.trim() !== \"\");\r\n\r\n this.searchResults.sort((a, b) => {\r\n const lowerA = a.text.toLowerCase();\r\n const lowerB = b.text.toLowerCase();\r\n\r\n // Función para contar coincidencias de palabras dentro del texto\r\n const countMatches = (text: string) => searchWords.filter(word => text.includes(word)).length;\r\n\r\n // Contamos coincidencias de palabras en el texto\r\n const matchesA = countMatches(lowerA);\r\n const matchesB = countMatches(lowerB);\r\n\r\n // Verificamos si empieza con alguna de las palabras del input\r\n const startsWithA = searchWords.some(word => lowerA.startsWith(word)) ? -1 : 0;\r\n const startsWithB = searchWords.some(word => lowerB.startsWith(word)) ? -1 : 0;\r\n\r\n // Prioriza los que empiezan con una palabra del input\r\n if (startsWithA !== startsWithB) return startsWithA - startsWithB;\r\n\r\n // Luego prioriza los que contienen más coincidencias de palabras\r\n if (matchesA !== matchesB) return matchesB - matchesA;\r\n\r\n // Ordena alfabéticamente si todo lo anterior es igual\r\n const textComparison = lowerA.localeCompare(lowerB);\r\n if (textComparison !== 0) return textComparison;\r\n\r\n // THEN BY: Ordenar por moreInfo\r\n return a.moreInfo.localeCompare(b.moreInfo);\r\n });\r\n }\r\n\r\n\r\n\r\n loadLoginData(authenticated) {\r\n this.user.id = localStorage.getItem(\"userId\");\r\n this.user.name = localStorage.getItem(\"name\");\r\n this.user.email = localStorage.getItem(\"email\");\r\n this.user.companyName = localStorage.getItem(\"companyName\");\r\n //this.user.isSuperAdmin = localStorage.getItem(\"isSuperAdmin\");\r\n this.companyCode = localStorage.getItem(\"companyCode\");\r\n if (localStorage.getItem(\"forgotPassword\") === \"true\") this.changePassword();\r\n\r\n //si esta logado, cargamos la información\r\n if (this.loginService.isLoggedIn()) {\r\n this.loadCompanyInfo();\r\n this.loadProfile();\r\n this.loadAlerts();\r\n }\r\n }\r\n\r\n loadCompanyInfo() {\r\n this.configurationService.company().subscribe({\r\n next: (data: any) => {\r\n this.company = data;\r\n localStorage.setItem(\"is_template\", data.is_template);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n }\r\n\r\n viewElementDetail(event) {\r\n this.searchText = \"\";\r\n if (event.entity_type == \"contacts\") {\r\n this.router.navigate([\"/contacts/\" + (event.id)]);\r\n } else if (event.entity_type == \"leads\") {\r\n this.router.navigate([\"/leads/\" + (event.id)]);\r\n } else if (event.entity_type == \"tasks\") {\r\n this.router.navigate([\"/\" + event.entity_type + '/', 0, event.id]);\r\n /*\r\n const ref = this.dialogService.open(TasksDetailComponent, {\r\n data: {\r\n //id:\r\n id: event.id\r\n },\r\n width: '70%',\r\n })*/\r\n } else {\r\n this.router.navigate(['/' + event.entity_type + '/', 0, event.id]);\r\n }\r\n }\r\n\r\n toogleMenu() {\r\n this.eventBus.cast('sidebar:toogle', null);\r\n }\r\n\r\n quickAddOrganization() {\r\n //le pasamos la vista en la que está para poder utilizarla para recargar la lista de las vistas\r\n const ref = this.dialogService.open(OrganizationsQuickComponent, {\r\n data: {\r\n id: 0\r\n },\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n })\r\n };\r\n\r\n loadProfile() {\r\n if (this.user.id && this.loginService.hasPermission(\"APP_LOGIN\") && this.loginService.isLoggedIn()) {\r\n this.attachmentsDataService.getProfile({ entity_id: 18, entity_pk_id: this.user.id }).subscribe({\r\n next: (data: any) => {\r\n if (data != null && data['b64']) this.imageUrl = 'data:image/jpeg;base64,' + data['b64'];\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n loadBaseEntity() {\r\n this.entitiesService.getByCode(this.view.configuration.entity).subscribe({\r\n next: (data: any) => {\r\n this.entity = data;\r\n this.onEvent.emit({ component: \"view\", event: \"entity-loaded\", view: this.view, entity: this.entity });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n prepareLayout() {\r\n let cols = this.view?.configuration?.layout.split(\"-\");\r\n let nCol = 0;\r\n this.layout = [];\r\n cols.forEach(col => {\r\n this.layout.push({\r\n id: nCol,\r\n class: \"p-md-\" + col,\r\n components: this.getComponentsForColumn(nCol)\r\n });\r\n nCol++;\r\n });\r\n //this.onEvent.emit({ component: \"view\", event: \"prepare-layout\", view: this.view, entity: this.entity });\r\n }\r\n\r\n editViewClick(createNew) {\r\n this.viewsService.editView(this.code);\r\n this.op.hide();\r\n }\r\n newView() {\r\n this.viewsService.createView();\r\n }\r\n\r\n onLayoutChange(event) {\r\n let totalCols = this.view.configuration.layout.split(\"-\").length;\r\n //si hay componentes sin col, los mandamos a la primera\r\n this.view.configuration.components.forEach(component => {\r\n if (component.layout_col != null && component.layout_col > totalCols - 1) component.layout_col = 0;\r\n });\r\n this.prepareLayout();\r\n }\r\n\r\n getComponentsForColumn(nCol: number) {\r\n let components = this.view?.configuration?.components.filter(m => {\r\n return m.layout_col == nCol || (nCol == 0 && m.layout_col == null);\r\n });\r\n return components;\r\n }\r\n loadViewsDropdown() {\r\n this.viewsService.viewsCombo({ code: this.code }).subscribe({\r\n next: (data: any) => {\r\n this.dropdownViews = data;\r\n /*if (this.personalized_views_write) {\r\n this.dropdownViews.push({ id: -1, name: \"*** Crear nueva vista ***\" });\r\n }*/\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n changeCurrentView() {\r\n //Éste método utilizará el id de la view seleccionada (selectedView) para guardarlo en el metadata del usuario (userId).\r\n if (this.selectedView != -1) {\r\n this.usersService.changeCurrentView(this.loginService.get(\"userId\"), this.selectedView).subscribe({\r\n next: (data: any) => {\r\n if (data) {\r\n this.viewsService.removeViewConfigurationFromCache(this.selectedView.code);\r\n location.reload();\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n //Eliminaremos la sesion de la vista para que la recargue con la información de la nueva vista.\r\n this.sessionStorage.clear(this.view.code);\r\n }\r\n\r\n addOrganization() {\r\n const ref = this.dialogService.open(OrganizationsDetailGeneralComponent, {\r\n data: {\r\n id: 0,\r\n organization_type_id: null\r\n },\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.router.navigate(['/organizations/', data.organization_type_id ? data.organization_type_id : 0, data.id]);\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.usersService.visitedOrganizations(data.id).subscribe(data2 => {\r\n this.view.fireEvent(\"home.organization\", \"reload\");\r\n },\r\n error => {\r\n console.log(error);\r\n });\r\n })\r\n }\r\n addEmail() {\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n to: null,\r\n //template_type_id: 1,\r\n template_type_code: \"MAIL\",\r\n is_generic: true,\r\n searchRelated: true\r\n },\r\n header: this.translateService.instant(\"general.new_mail_title\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n });\r\n }\r\n addContact() {\r\n this.router.navigate([\"/contacts/0\"]);\r\n }\r\n addOportunity() {\r\n const ref = this.dialogService.open(TransactionsDetailComponent, {\r\n data: {\r\n id: 0,// opportunity ? opportunity.id : 0,\r\n organization_id: null,// this.organization.id,\r\n transaction_type_id: 1\r\n },\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data != null) {\r\n this.router.navigate(['/transactions', data.transaction_type_id, data.id]);\r\n } else {\r\n this.view.fireEvent(\"home.opportunities\", \"reload\");\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n }\r\n\r\n });\r\n }\r\n\r\n addTask() {\r\n const ref = this.dialogService.open(TasksDetailComponent, {\r\n data: {\r\n id: 0\r\n },\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n\r\n if (data != null) {\r\n this.router.navigate(['/tasks/', (data.organization_id ? data.organization_id : 0), (data?.id ? data.id : 0)]);\r\n } else {\r\n this.view.fireEvent(\"home.tasks\", \"reload\");\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n }\r\n\r\n })\r\n }\r\n\r\n call(item) {\r\n if (typeof item.routerLink != \"undefined\") {\r\n //window.location.replace(item.routerLink);\r\n this.router.navigate(item.routerLink);\r\n } else {\r\n item.command();\r\n }\r\n\r\n }\r\n\r\n loadAlerts() {\r\n this.alertsNotifications = [];\r\n this.totalAlerts = 0;\r\n\r\n this.loadInboundMailsNotifications();\r\n this.loadLeadsNotifications();\r\n this.loadOffice365ConfigNotification();\r\n this.loadGMailConfigNotification();\r\n\r\n //cada 30 segundos, si hay timer de antes lo limpieamos\r\n if (this.timeout != null) {\r\n clearTimeout(this.timeout);\r\n this.timeout = null;\r\n }\r\n this.timeout = setTimeout(() => {\r\n this.loadAlerts();\r\n }, 30 * 1000);\r\n }\r\n\r\n async loadInboundMailsNotifications() {\r\n var params = {\r\n direction: \"in\",\r\n _op_direction: \"like\",\r\n status: \"pending\",\r\n _op_status: \"like\",\r\n type: \"email\",\r\n _op_type: \"like\",\r\n }\r\n\r\n //Carga el número de correos entrantes que estén en estado pendiente:\r\n let data = await firstValueFrom(this.notificationsService.all(params));\r\n //this.notificationsService.all(params).subscribe({\r\n // next: (data: any) => {\r\n if (data.totalRows > 0) {\r\n var aux = this.alertsNotifications.find(m => m.code == \"notifications-in\");\r\n if (aux == null) {\r\n this.alertsNotifications.push({\r\n code: \"notifications-in\",\r\n label: '' + data.totalRows + '  Correos entrantes',\r\n icon: 'pi pi-fw pi-at',\r\n routerLink: ['notifications-in'],\r\n visible: true,\r\n value: data.totalRows\r\n });\r\n } else {\r\n aux.value = data.totalRows;\r\n aux.label = '' + data.totalRows + '  Correos entrantes';\r\n }\r\n } else {\r\n delete this.alertsNotifications[this.alertsNotifications.findIndex(m => m.code == \"notifications-in\")];\r\n }\r\n this.totalAlerts += data.totalRows;\r\n // },\r\n // error: (error: any) => { }\r\n //});\r\n }\r\n\r\n async loadLeadsNotifications() {\r\n if (this.loginService.hasPermission(\"LEADS_READ\")) {\r\n //carga leads pendientes de procesar\r\n let total = await firstValueFrom(this.contactsService.getAllLeads());\r\n //this.contactsService.getAllLeads().subscribe({\r\n // next: (total: any) => {\r\n this.totalAlerts += total;\r\n\r\n if (total > 0) {\r\n var aux = this.alertsNotifications.find(m => m.code == \"leads\");\r\n if (aux == null) {\r\n this.alertsNotifications.push({\r\n code: \"leads\",\r\n label: ' ' + total + '  Leads',\r\n icon: 'pi pi-fw pi-user',\r\n routerLink: ['leads'],\r\n visible: true,\r\n value: total\r\n });\r\n } else {\r\n aux.value = total;\r\n aux.label = '' + total + '  Leads';\r\n }\r\n } else {\r\n delete this.alertsNotifications[this.alertsNotifications.findIndex(m => m.code == \"leads\")];\r\n }\r\n // },\r\n // error: (error: any) => { }\r\n //});\r\n }\r\n }\r\n\r\n async loadOffice365ConfigNotification() {\r\n //comprueba si tiene pendiente conectar su cuenta con office365\r\n let data: any = await firstValueFrom(this.office365Service.me());\r\n //this.office365Service.me().subscribe({\r\n // next: (data: any) => {\r\n if (data != null) {\r\n let requireConnection: boolean = false;\r\n if (data.mail.enabled) requireConnection = true;\r\n if (data.mail.allow_send) requireConnection = true;\r\n if (data.calendar.enabled) requireConnection = true;\r\n if (data.contacts.enabled) requireConnection = true;\r\n if (!data.connected && requireConnection) {\r\n this.totalAlerts += 1;\r\n this.alertsNotifications.push({\r\n code: \"office365\",\r\n label: '1  Office 365',\r\n icon: 'pi pi-fw pi-cog',\r\n command: (event) => {\r\n //abrir configurador\r\n this.configOffice365();\r\n },\r\n visible: true,\r\n value: 1\r\n });\r\n\r\n if (!this.office365AlertShowed) {\r\n this.office365AlertShowed = true;\r\n this.configOffice365();\r\n }\r\n }\r\n }\r\n //},\r\n //error: (error: any) => { }\r\n //});\r\n }\r\n\r\n configOffice365() {\r\n this.coreDialogService.confirm({\r\n message: \"El administrador del sistema ha habilitado la integración con Office 365 para tu usuario.
Para poder utilizarla, debes autorizar la conexión de AxialCRM con tu cuenta.

¿Quieres autorizar la conexión ahora?\",\r\n header: \"Conexión con Office365\",\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.office365Service.authorize().subscribe({\r\n next: (data: any) => {\r\n if (data.success) {\r\n location.assign(data.url);\r\n } else {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: 'No hemos podido generar tu autorización' });\r\n\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n async loadGMailConfigNotification() {\r\n //comprueba si tiene pendiente conectar su cuenta con gmail\r\n let data: any = await firstValueFrom(this.gmailService.me());\r\n //this.gmailService.me().subscribe({\r\n // next: (data: any) => {\r\n if (data != null) {\r\n let requireConnection: boolean = false;\r\n if (data.mail.enabled) requireConnection = true;\r\n if (data.mail.allow_send) requireConnection = true;\r\n if (data.calendar.enabled) requireConnection = true;\r\n if (data.contacts.enabled) requireConnection = true;\r\n if (!data.connected && requireConnection) {\r\n this.totalAlerts += 1;\r\n this.alertsNotifications.push({\r\n code: \"gmail\",\r\n label: '1  Google Mail',\r\n icon: 'pi pi-fw pi-cog',\r\n command: (event) => {\r\n //abrir configurador\r\n this.configGMail();\r\n },\r\n visible: true,\r\n value: 1\r\n });\r\n\r\n if (!this.gmailAlertShowed) {\r\n this.gmailAlertShowed = true;\r\n this.configGMail();\r\n }\r\n }\r\n }\r\n // },\r\n // error: (error: any) => { }\r\n //});\r\n }\r\n\r\n configGMail() {\r\n this.coreDialogService.confirm({\r\n message: \"El administrador del sistema ha habilitado la integración con Google Mail para tu usuario.
Para poder utilizarla, debes autorizar la conexión de AxialCRM con tu cuenta.

¿Quieres autorizar la conexión ahora?\",\r\n header: \"Conexión con Google Mail\",\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.gmailService.authorize().subscribe({\r\n next: (data: any) => {\r\n if (data.success) {\r\n location.assign(data.url);\r\n } else {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: 'No hemos podido generar tu autorización' });\r\n\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n removeDiacritics(text: string): string {\r\n if (!text) {\r\n return '';\r\n }\r\n return text.normalize('NFD').replace(/[\\u0300-\\u036f]/g, '').toLowerCase();\r\n }\r\n\r\n searchCoincidences(word: string): string {\r\n //Éste método servirá para devolver el texto que coincida con alguna de las palabras que contiene searchText.\r\n if(this.searchText == null || this.searchText == \"\") return \"\";\r\n let searchWords = this.searchText.toLowerCase().split(\" \").filter(word => word.trim() !== \"\");\r\n let text = word.toLowerCase();\r\n let index = -1;\r\n var encounteredWord = \"\";\r\n //Ahora comprobamos si alguna de las palabras de la búsqueda está en el texto:\r\n searchWords.forEach(searchWord => {\r\n if (index == -1) {\r\n index = text.indexOf(searchWord);\r\n encounteredWord = searchWord;\r\n }\r\n });\r\n if (index >= 0) {\r\n return encounteredWord;//text.substring(index, index + searchWords[0].length);\r\n }\r\n\r\n /*if (word) {\r\n let text = this.removeDiacritics(word);\r\n let search = this.removeDiacritics(this.searchText);\r\n let index = text.indexOf(search);\r\n if (index >= 0) {\r\n return text.substring(index, index + search.length);\r\n }\r\n }*/\r\n return \"\";\r\n }\r\n}\r\n","
\r\n {{'general.toolbar.connected_template' | translate}}\r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
{{view.name}}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{view.name}} ({{'view.configure.default' | translate}})\r\n
\r\n
\r\n \r\n
\r\n
0\" style=\"color: #a1b6b2\">\r\n \r\n \r\n \r\n
\r\n {{view.updatedBy?.name ? 'Últ. Modificación: '+view.updatedBy.name:\"\"}}\r\n {{view.updated_at | date: '(dd/MM/yyyy HH:mm)':'GMT'}} {{view.updated_at ? '' : ''}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n {{'view.configure.modify_view' | translate}}\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n {{'general.filter.create_new_view' | translate}}\r\n \r\n\r\n \r\n \r\n\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n\r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n {{word}} \r\n \r\n
\r\n \r\n\r\n
\r\n \r\n {{word}} \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n\r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n\r\n\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n \r\n \r\n\r\n
\r\n {{user.name}}
\r\n {{user.companyName}} - Nº.\r\n {{companyCode}}\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n","import { DatePipe } from '@angular/common';\r\nimport { EventEmitter, Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UtilsService {\r\n alertsChange: EventEmitter = new EventEmitter();\r\n constructor(\r\n private datePipe: DatePipe) { }\r\n \r\n clearObject(obj:any, allowedProperties:string[],): any {\r\n var finalObj = JSON.parse(JSON.stringify(obj));\r\n for (let [key, value] of Object.entries(finalObj)) {\r\n if(allowedProperties.indexOf(key)<0 && typeof value === 'object'){\r\n //es object y NO esta permitido incluirlo\r\n delete finalObj[key];\r\n }else if(typeof value === 'object'){\r\n //es object y esta permitido incluirlo\r\n if(Array.isArray(value)){\r\n for(let i = 0 ; i < value.length ; i++){\r\n finalObj[key][i] = this.clearObject(value[i], allowedProperties);\r\n }\r\n }else{\r\n finalObj[key] = this.clearObject(value, allowedProperties);\r\n }\r\n }\r\n }\r\n return finalObj;\r\n }\r\n\r\n randomString(length) {\r\n let result = '';\r\n const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-$!?+98/\\|#*';\r\n const charactersLength = characters.length;\r\n let counter = 0;\r\n while (counter < length) {\r\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\r\n counter += 1;\r\n }\r\n return result;\r\n }\r\n\r\n\r\n formatDate(value: any, args: any[]) {\r\n\r\n if (value == null || value == \"null\" || value == \"\") return \"\";\r\n\r\n return this.datePipe.transform(value, args[1]);\r\n }\r\n formatSuffix(value: any, args: any[]) {\r\n return value + args[1];\r\n }\r\n formatPhone(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n formatMail(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n formatWWW(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n if (!value.startsWith(\"http\")) {\r\n value = \"https://\" + value;\r\n }\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n formatBadge(field: any, row: any, value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n let className = \"\";\r\n let subClassName = \"\";\r\n if (field) {\r\n if (args[1] != \"\") {\r\n try {\r\n let valorID = eval(\"row.\" + field.model_property);\r\n subClassName = args[1] + valorID;\r\n } catch (e) {\r\n // console.log(this, `Error evaluando this.model.${field.entityField.model_property}`);\r\n }\r\n }\r\n\r\n //si el campo tiene options->items, mapeamos valor\r\n if (field.entityField.configuration?.options?.items != null) {\r\n var item = field.entityField.configuration.options.items.find(m => m.code == value);\r\n if (item != null) value = item.text;\r\n }\r\n\r\n\r\n if (typeof (value) !== \"undefined\" && value != \"\" && value != null) {\r\n className = \"p-badge p-component p-badge-no-gutter p-badge-xs p-mr-2 \" + subClassName;\r\n var formattedValue = \"
\" + value;\r\n } else {\r\n var formattedValue = \"
\";\r\n }\r\n }\r\n\r\n return formattedValue;\r\n }\r\n formatBadgeColor(field: any, row: any, value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n let className = \"\";\r\n let subClassName = \"\";\r\n if (field) {\r\n let refValue = \"\";\r\n if (args[1] != \"\") {\r\n try {\r\n let valorID = eval(\"row.\" + field.model_property);\r\n subClassName = args[1] + valorID;\r\n } catch (e) {\r\n //console.error(`Error evaluando this.model.${field.entityField.model_property}`);\r\n }\r\n }\r\n\r\n if (typeof (value) !== \"undefined\" && value != \"\" && value != null) {\r\n className = \"p-badge p-component p-badge-no-gutter p-badge-xs p-mr-2 \" + subClassName;\r\n var formattedValue = \"
\" + value;\r\n } else {\r\n var formattedValue = \"
\";\r\n }\r\n\r\n }\r\n\r\n return formattedValue;\r\n }\r\n formatImage(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = `
\"Avatar\"
Zsazsa McCleverty@zmcclevertye
`;\r\n return formattedValue;\r\n }\r\n formatIcon(value: any, args: any) {\r\n let options = args[1].split(\",\");\r\n let more_class = \"\";\r\n options.forEach((item) => {\r\n more_class += item + \" \";\r\n });\r\n var formattedValue = \"\";\r\n return formattedValue;\r\n }\r\n formatCurrency(value: any, args: any[]) {\r\n if (value == null) return \"0 €\";\r\n var formattedValue = new Intl.NumberFormat(environment.companyConfiguration.locale, { style: \"currency\", currency: environment.companyConfiguration.currency, useGrouping: true }).format(value);\r\n return formattedValue;\r\n }\r\n formatNumber(value: any, args: any[]) {\r\n if (value == null) return \"0\";\r\n var formattedValue = new Intl.NumberFormat(environment.companyConfiguration.locale, { useGrouping: true }).format(value)\r\n return formattedValue;\r\n }\r\n formatClass(ngIf: any, row: any, value: any, args: any, model: any) {\r\n if (ngIf != \"\") {\r\n //Evaluamos el ngif\r\n try {\r\n if (row != null) {\r\n let valorID = eval(\"row.\" + ngIf);\r\n if (valorID) {\r\n return \"\";\r\n } else return value;\r\n } else {\r\n let valorID = eval(\"model.\" + ngIf);\r\n if (valorID) {\r\n return \"\";\r\n } else return value;\r\n }\r\n \r\n } catch (e) {\r\n //console.error(`Error evaluando this.model.${field.entityField.model_property}`);\r\n }\r\n \r\n } else {\r\n return \"\";\r\n }\r\n \r\n }\r\n\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class VersionService {\r\n url = \"/assets/version.json\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n get(): Observable {\r\n return this.http.get(this.url);\r\n }\r\n}\r\n","\r\nimport { Injectable, Type } from '@angular/core';\r\nimport { Form, UntypedFormGroup } from '@angular/forms';\r\nimport { AddItemToEntityFieldListComponent } from '../../configuration/entities-detail/entities-detail-fields/add-item-to-entity-field-list/add-item-to-entity-field-list.component';\r\nimport { LoginService } from '../../login/login.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { EntitiesService } from '../../configuration/entities.service';\r\nimport { DebugService } from '../debug.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ComponentService {\r\n\r\n private model: any = null;\r\n private entities: any[] = [];\r\n constructor(\r\n public debugService: DebugService,\r\n private loginService: LoginService,\r\n private translateService: TranslateService,\r\n private entitiesService: EntitiesService\r\n ) {\r\n this.entitiesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.entities = data.rows;\r\n }, error: (error: any) => {}\r\n });\r\n }\r\n \r\n isVisible(component: any, model:any) {\r\n let visible = true;\r\n\r\n //validar si se cumple las condiciones de visibilidad\r\n if (component.visible_by == 'user') {\r\n //si es el usuario responsable\r\n visible = this.loginService.isUserResponsible(model);\r\n if (!visible && this.loginService.isUserSubordinate(model)) visible = true;\r\n }\r\n //visibilidad personalizada del componente\r\n if (visible) visible = this.isVisibleCustom(component, model);\r\n\r\n\r\n return visible;\r\n }\r\n\r\n isVisibleCustom(component: any, model: any) {\r\n\r\n let ret = true;\r\n this.model = model;\r\n if (component.ngIf != null) {\r\n let code = component.ngIf;\r\n ret = eval(code);\r\n }\r\n return ret;\r\n }\r\n\r\n isEditable(component: any, model: any) {\r\n let editable = true;\r\n //si hay modelo de datos cargado, revisamos validaciones de datos\r\n if (model.id > 0) {\r\n if (component != null && component.entity == \"organization\" && this.loginService.hasPermission(\"ORGANIZATIONS_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"reports\" && this.loginService.hasPermission(\"REPORTS_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"users\" && this.loginService.hasPermission(\"USERS_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"zones\" && this.loginService.hasPermission(\"ZONES_SUPERADMIN\")) return true;\r\n\r\n //registros enlazados con ERP no dejamos tocar ventas\r\n if (component != null && component.entity == \"transaction\" && model.erp_id != null) return false; //transaccion enlazada con erp\r\n if (component != null && model.transaction != null && component.entity == \"transactionLine\" && model.transaction.erp_id != null) return false; //linea transaccion enlazada con erp\r\n\r\n if (component != null && component.entity == \"transactionLine\" && (this.loginService.hasPermission(\"TRANSACTIONS_SUPERADMIN\") || this.loginService.hasPermission(\"OPORTUNITIES_SUPERADMIN\") || this.loginService.hasPermission(\"SALES_SUPERADMIN\"))) return true;\r\n\r\n //TODO: probar si las transacciones customizadas se llaman componen.entity == transactions o el nombre\r\n if (component != null && component.entity == \"transaction\" && this.loginService.hasPermission(\"TRANSACTIONS_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"oportunity\" && this.loginService.hasPermission(\"OPORTUNITIES_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"sale\" && this.loginService.hasPermission(\"SALES_SUPERADMIN\")) return true\r\n if (component != null && component.entity == \"task\" && this.loginService.hasPermission(\"TASKS_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"contact\" && this.loginService.hasPermission(\"ORGANIZATIONS_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"lead\" && this.loginService.hasPermission(\"ORGANIZATIONS_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"taskHistory\" && this.loginService.hasPermission(\"TASKS_SUPERADMIN\")) return true;\r\n\r\n if (component != null && component.entity == \"product\" && !this.loginService.hasPermission(\"PRODUCTS_WRITE\")) return false;\r\n\r\n //Comprobamos las transacciones customizados si tienen permisos generales.\r\n if (component != null && component.entity != \"sales\" && component.entity != \"oportunity\" && component.entity != \"transaction\" && component.code == \"transaction.edit.general\") {\r\n if (this.loginService.hasPermission(\"TRANSACTIONS_SUPERADMIN\")) return true;\r\n }\r\n\r\n //si eres responsable\r\n editable = this.loginService.isUserResponsible(model);\r\n\r\n if (!editable && this.loginService.isUserSubordinate(model)) editable = true;\r\n\r\n let field_editable_by = component.editable_by ?? 'all';\r\n\r\n if (field_editable_by == 'user' && !editable) {\r\n //fin\r\n } else if (field_editable_by == 'all' && !editable) {\r\n //validar por zonas, lo ven todos pero no eres reponsable\r\n //comprobar si es de mi zona y tengo permiso\r\n if (this.loginService.isUserZone(model) && this.loginService.isUserZoneWritable(component.entity)) editable = true;\r\n\r\n //Problema: si no tiene zona asignada, y no es SU responsable, no debería verla. (al menos no se ve en los listado de los controles.)\r\n if (editable == true && !this.loginService.isUserResponsible(model) && !this.loginService.isUserSubordinate(model) ) {\r\n var zone_id = eval(\"model.zone_id\");\r\n if (zone_id == null || typeof (zone_id) === \"undefined\") zone_id = eval(\"model.organization!=null?model.organization.zone_id:null\");\r\n if (zone_id == null || typeof (zone_id) === \"undefined\") {\r\n //Suponemos que no es el responsable y que no tiene zona asignada, si uese así no debería salir.\r\n editable = false;\r\n }\r\n }\r\n }\r\n }\r\n\r\n return editable;\r\n }\r\n\r\n isVisibleField(field:any, model:any) {\r\n let visible = true;\r\n //validar si se cumple las condiciones de visibilidad\r\n if (field.visible_by == 'user') {\r\n //si es el usuario responsable\r\n visible = this.loginService.isUserResponsible(model);\r\n if (!visible && this.loginService.isUserSubordinate(model)) visible = true;\r\n }\r\n //visibilidad personalizada del campo\r\n if (visible) visible = this.isVisibleFieldCustom(field, model);\r\n\r\n return visible;\r\n }\r\n\r\n isVisibleHeaderFieldCustom(field: any) {\r\n let ret = true;\r\n if (field.entityField != null && field.entityField.configuration != null && field.entityField.configuration.ngIf != null) {\r\n let code = field.entityField.configuration.ngIf;\r\n ret = eval(code);\r\n }\r\n return ret;\r\n }\r\n\r\n isVisibleFieldCustom(field: any, model: any) {\r\n let ret = true;\r\n this.model = model;\r\n\r\n if (field.entityField != null && field.entityField.configuration != null && field.entityField.configuration.ngIf != null) {\r\n let code = field.entityField.configuration.ngIf;\r\n try {\r\n \r\n ret = eval(code);\r\n this.loginService.hasFeature(42);\r\n\r\n } catch (e) {\r\n console.log(e);\r\n console.error(\"Error: \" + code, field, model);\r\n }\r\n }\r\n\r\n\r\n return ret;\r\n }\r\n\r\n isDisabledFieldCustom(field: any, component: any) {\r\n\r\n let ret = false;\r\n if (field != null && field.entityField?.configuration != null && field.entityField.configuration.disabled != null) {\r\n ret = eval(field.entityField.configuration.disabled);\r\n }\r\n return ret;\r\n }\r\n\r\n isFieldReadOnly(field) {\r\n let ret = field.readonly;\r\n if (field != null && field.entityField?.configuration != null && field.entityField.configuration.readonly != null) {\r\n ret = field.readonly || eval(field.entityField?.configuration?.readonly);\r\n }\r\n return ret;\r\n }\r\n\r\n isEditableField(component: any, field: any, form: UntypedFormGroup, model: any, isField: boolean = false) {\r\n let editable = true;\r\n \r\n //si el componente no es editable\r\n if (!this.isEditable(component, model)) { return false; }\r\n\r\n //si campo de solo lectura o no modificable\r\n /* if (field.readonly || field.entityField.unmodifiable) {\r\n if (field.readonly) {\r\n return false;\r\n }\r\n //Si es unmodifiable, comprobamos si es un filtro, si no lo es, lo bloqueamos. sino NO\r\n if (component.code.indexOf('.filters') < 0) return false;\r\n }*/\r\n\r\n //también se evalua si es de solo lectura para poder porner a solo lectura fields dependiendo de una condición (no sólo true/false). Ejemplo zonas si hay erp_id\r\n if (this.isFieldReadOnly(field) || (!isField && field.entityField.unmodifiable)) {\r\n \r\n if (this.isFieldReadOnly(field)) {\r\n return false;\r\n }\r\n \r\n //Si es unmodifiable, comprobamos si es un filtro, si no lo es, lo bloqueamos. sino NO\r\n if (component.code.indexOf('.filters') < 0) return false;\r\n }\r\n\r\n\r\n //Si tienes superpermisos no se comprueba nada más.\r\n if (component != null && component.entity == \"organization\" && this.loginService.hasPermission(\"ORGANIZATIONS_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"contact\" && this.loginService.hasPermission(\"ORGANIZATIONS_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"lead\" && this.loginService.hasPermission(\"ORGANIZATIONS_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"reports\" && this.loginService.hasPermission(\"REPORTS_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"transaction\" && this.loginService.hasPermission(\"TRANSACTIONS_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"users\" && this.loginService.hasPermission(\"USERS_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"zones\" && this.loginService.hasPermission(\"ZONES_SUPERADMIN\")) return true;\r\n //TODO: probar si las transacciones customizadas se llaman componen.entity == transactions o el nombre\r\n if (component != null && component.entity == \"oportunity\" && this.loginService.hasPermission(\"OPORTUNITIES_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"sale\" && this.loginService.hasPermission(\"SALES_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"task\" && this.loginService.hasPermission(\"TASKS_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"taskHistory\" && this.loginService.hasPermission(\"TASKS_SUPERADMIN\")) return true;\r\n if (component != null && component.entity == \"transactionLine\" && (this.loginService.hasPermission(\"TRANSACTIONS_SUPERADMIN\") || this.loginService.hasPermission(\"OPORTUNITIES_SUPERADMIN\") || this.loginService.hasPermission(\"SALES_SUPERADMIN\"))) return true;\r\n\r\n //Comprobamos las transacciones customizados si tienen permisos generales.\r\n if (component != null && component.entity != \"sales\" && component.entity != \"oportunity\" && component.entity != \"transaction\" && component.code == \"transaction.edit.general\") {\r\n if (this.loginService.hasPermission(\"TRANSACTIONS_SUPERADMIN\")) {\r\n return true;\r\n }\r\n }\r\n\r\n //si hay modelo de datos cargado, revisamos validaciones de datos\r\n if (model.id > 0) {\r\n //si eres responsable\r\n editable = this.loginService.isUserResponsible(model);\r\n \r\n if (!editable && this.loginService.isUserSubordinate(model)) editable = true;\r\n\r\n let field_editable_by = field.editable_by ?? 'all';\r\n if (field_editable_by == 'user' && !editable) {\r\n //fin\r\n } else if (field_editable_by == 'all' && !editable) {\r\n //validar por zonas, lo ven todos pero no eres reponsable\r\n //comprobar si es de mi zona y tengo permiso\r\n if (this.loginService.isUserZone(model) && this.loginService.isUserZoneWritable(component.entity)) editable = true;\r\n }\r\n }\r\n //ejecutar disable personalizado del campo\r\n if (editable && this.isDisabledFieldCustom(field, component)) editable = false;\r\n\r\n\r\n let control = (typeof (form) != \"undefined\" ? form.get(field.entityField.model_property) : null);\r\n \r\n if (control != null && !editable) {\r\n \r\n control.disable();\r\n } else if (control != null && editable) {\r\n control.enable();\r\n }\r\n return editable;\r\n }\r\n\r\n /**\r\n * Devolvemos el nombre del field.\r\n * 1º si tiene un label (caso de las tablas) se muestra ese nombre,\r\n * 2º si es customizado, el nombre customizado,\r\n * 3º se busca la traducción, si existe se devuelve\r\n * 4º la descripción del field original. \r\n * @param field\r\n * @param entityfieldObject\r\n * @returns\r\n */\r\n getFieldDescription(field: any, entityfieldObject: boolean = true) {\r\n let label = (entityfieldObject ? field.entityField?.description : field.description);\r\n\r\n if (field.label && field.label != null && field.label != \"\") {\r\n label = this.translateService.instant(field.label);\r\n } else {\r\n if (field.is_custom || field.entityField?.is_custom) {\r\n \r\n //como se ha añadido la parte de traducciones customizadas mas tardes, primero buescamos si existe en la traudicción customizada\r\n let full_model_property = (entityfieldObject ? field.entityField?.name : field.name);\r\n let model_property = full_model_property?.split(\".\"); //Porque si son de otra entidad a la pintada el model property llega concatenado.\r\n let keyTranslate = \" \";\r\n let model_propertyToSearch = \"\";\r\n if (typeof model_property !== \"undefined\") {\r\n model_propertyToSearch = (field.entity_field_id != null ? \"custom_\" + model_property[model_property.length - 1] : model_property[model_property.length - 1]);\r\n keyTranslate = (entityfieldObject ? field.entityField?.entity_code : field.entity_code) + \".entity_fields.\" + model_propertyToSearch;\r\n }\r\n let label2 = this.translateService.instant(keyTranslate);\r\n \r\n if (keyTranslate != label2) {\r\n //No ha encontrado la clave, ponemos la descripción del campo.\r\n return label2;\r\n }\r\n //Ponemos si o si el nombre de la descripción porque es un field customizado\r\n \r\n return label;\r\n\r\n } else {\r\n //No es parsear la descripción sino componer la clave. EJEM: contact.entity_fields.name\r\n\r\n let full_model_property = (entityfieldObject ? field.entityField?.name : field.name);\r\n let model_property = [];\r\n model_property = full_model_property?.split(\".\"); //Porque si son de otra entidad a la pintada el model property llega concatenado.\r\n let keyTranslate = \" \"; //Ponemos un espacio en blanco porque sino el transalteService falla si es vacio... mejor que ponga \r\n if (typeof (model_property) !== \"undefined\" && model_property != null ) {\r\n keyTranslate = (entityfieldObject ? field.entityField?.entity_code : field.entity_code) + \".entity_fields.\" + model_property[model_property.length - 1];\r\n }\r\n let label2 = this.translateService.instant(keyTranslate);\r\n if (keyTranslate != label2) {\r\n //No ha encontrado la clave, ponemos la descripción del campo.\r\n label = label2;\r\n }\r\n }\r\n }\r\n return label;\r\n }\r\n\r\n /**\r\n * Devuelve el nombre de la entidad.\r\n * Como hay un cambio pero ya pueden existinr customizados antiguos, si es customizado, buscamos también si existe en translate_custom, si existe lo devolvemos sino la entidad.\r\n * No se puede hacer buscando directamente traducción porque no se identifica si es la traducción de la base o la traducción del customizado. así que se queda así.\r\n * @param entity\r\n * @param plural\r\n * @returns\r\n */\r\n getEntityName(entity: any, plural: boolean = false) {\r\n\r\n let label = null;\r\n let entityCached = this.entities.find(m => m.code == entity.code);\r\n\r\n //1) Nombre de la entidad customizada\r\n if (entityCached && entityCached.is_custom) {\r\n \r\n //Por el cambio, miramos por si acaso ya está traducido con lo nuevo. Si es así, se manda la traducción,sino la entidad customizada\r\n let subKey = \".name\";\r\n if (plural) subKey = \".name_plural\";\r\n let key = entity.code + \".entity\" + subKey;\r\n label = this.translateService.instant(key);\r\n\r\n if (key == label) {\r\n //Si no existe, se devuelve el nombre de la entidad customizada.\r\n label = (!plural ? entityCached.name : entityCached.name_plural);\r\n }\r\n } else {\r\n //2) traducción Buscamos si está en la traducción key = \"contact.entity\"\r\n let subKey = \".name\";\r\n if (plural) subKey = \".name_plural\";\r\n let key = entity.code + \".entity\" + subKey;\r\n label = this.translateService.instant(key);\r\n if (key == label) {\r\n //No tiene traduccion devolvemos la base. //3) nombre de la entidad original\r\n label = (!plural ? entity.name : entity.name_plural);\r\n }\r\n }\r\n return label;\r\n }\r\n\r\n /**\r\n * Mostrará el nombre de la acción definida en la vista.\r\n * @param action el boton\r\n * @param code de la vista o del componente\r\n * @returns\r\n */\r\n getActionLabel(action, code) {\r\n let label = action.label;\r\n //1 buscamos en el generico general.action.add\r\n var key = \"general.action.\" + action.name;\r\n if (this.translateService.instant(key) !== key) {\r\n label = this.translateService.instant(key);\r\n }\r\n //2 buscamos en el especifico\r\n var keySpecific = \"component.\" + code + \".action.\" + action.name;\r\n //console.log(keySpecific);\r\n if (this.translateService.instant(keySpecific) !== keySpecific) {\r\n label = this.translateService.instant(keySpecific);\r\n }\r\n return label;\r\n }\r\n\r\n getComponentTitle(component) {\r\n \r\n let title = component.title;\r\n if (component.label) {\r\n return component.label\r\n }\r\n else\r\n {\r\n var keySpecific = \"component.\" + component.code + \".title\";\r\n if (this.translateService.instant(keySpecific) !== keySpecific) {\r\n title = this.translateService.instant(keySpecific);\r\n }\r\n }\r\n\r\n return title;\r\n }\r\n\r\n}\r\n","import { moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { Component, Input, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { ViewsService } from '../../views.service';\r\nimport groupBy from 'lodash/groupBy';\r\nimport { LoginService } from '../../../../login/login.service';\r\n\r\n@Component({\r\n selector: 'app-view-component-add',\r\n templateUrl: 'view-component-add.component.html',\r\n styleUrls: ['view-component-add.component.scss'],\r\n})\r\nexport class ViewComponentAddComponent implements OnInit {\r\n\r\n public components: any[] = [];\r\n\r\n constructor(\r\n private viewsService:ViewsService,\r\n private config: DynamicDialogConfig,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private messageService: MessageService,\r\n private loginService: LoginService\r\n ) { \r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadComponents();\r\n }\r\n \r\n loadComponents() {\r\n this.viewsService.getViewComponents(this.config.data.view_code).subscribe({\r\n next: (data:any) => {\r\n //this.components = data;\r\n data.forEach((item: any) => {\r\n if (item.base_component) {\r\n if (item.base_component.configuration?.ngShow) {\r\n var aux = eval(item.base_component.configuration?.ngShow);\r\n //Si cumple la condición, se muestra, sino la cumple, no\r\n if (aux) {\r\n this.components.push(item);\r\n } else {\r\n console.log(\"El componente \" + item.base_code?.code + \" no cumple las condiciones del ngShow para mostrarlo como opción.\");\r\n }\r\n } else {\r\n this.components.push(item);\r\n }\r\n } else {\r\n this.components.push(item);\r\n }\r\n })\r\n },\r\n error:(error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n selectComponent(component){\r\n this.dynamicDialogRef.close(component);\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n

{{component.base_component.name}}

\r\n \r\n {{component.base_component.description}}\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{'component.configure.all_components_in_view' | translate }}\r\n
\r\n
\r\n","import { DatePipe } from '@angular/common';\r\nimport { Component, ElementRef, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { Fieldset } from 'primeng/fieldset';\r\nimport { OverlayPanel } from 'primeng/overlaypanel';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { LoaderService } from '../../../loader/loader.service';\r\nimport { ComponentService } from '../../component.service';\r\nimport { ViewsService } from '../../views.service';\r\nimport { ViewComponentConfigureComponent } from '../configure/view-component-configure.component';\r\nimport { environment } from 'src/environments/environment';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { DebugService } from '../../../debug.service';\r\nimport { UtilsService } from '../../../utils.service';\r\nimport { Table } from 'primeng/table';\r\n\r\n@Component({\r\n selector: 'app-view-component-card',\r\n templateUrl: 'view-component-card.component.html',\r\n styleUrls: ['view-component-card.component.scss'],\r\n})\r\nexport class ViewComponentCardComponent implements OnInit {\r\n\r\n @Output() onEvent: EventEmitter = new EventEmitter();\r\n\r\n @ViewChild('gridContainer') gridContainer: ElementRef;\r\n\r\n @ViewChild('opColumns') opColumns: OverlayPanel;\r\n @Input(\"view\") public view: any = {};\r\n @Input(\"component\") public component: any = {};\r\n @Input(\"index\") public index: number = 0;\r\n @Input(\"model\") public model: any = {};\r\n @Input(\"showConfigOptions\") public showConfigOptions: boolean = false;\r\n public temporalModel: any = {};\r\n public entity: any = {};\r\n private lastGridEvent: any;\r\n public loading: boolean = false;\r\n public totalRows: number = 0;\r\n public paginator: boolean = true;\r\n public rows: any = Array();\r\n public user_id: number;\r\n public today: string;\r\n public locked: boolean = false;\r\n\r\n public first;\r\n public last;\r\n public visibleByOptions: any[] = [\r\n { code: \"all\", label: this.translateService.instant(\"view.configure.all\") },\r\n { code: \"user\", label: this.translateService.instant(\"view.configure.user_responsible\") }\r\n ];\r\n\r\n public fieldType: string = \"title\";\r\n public allowedEntities: any[] = [];\r\n public allowedEntitiesFields: any[] = [];\r\n public rowsPerPage: number = 50;\r\n public params: any = {};\r\n public showPaginator: boolean=true;\r\n\r\n constructor(\r\n public debugService: DebugService,\r\n private loaderService: LoaderService,\r\n private entitiesService: EntitiesService,\r\n private messageService: MessageService,\r\n private viewsService: ViewsService,\r\n private datePipe: DatePipe,\r\n private dialogService: DialogService,\r\n private loginService: LoginService,\r\n public componentService: ComponentService,\r\n private translateService: TranslateService,\r\n private utilsService: UtilsService\r\n ) {\r\n }\r\n\r\n ngOnInit(): void {\r\n this.user_id = parseInt(this.loginService.get(\"userId\"));\r\n this.today = new Date().toISOString();\r\n this.component.fields.forEach(field => {\r\n\r\n if (typeof field.model_property != \"undefined\") {\r\n this.temporalModel[field.model_property] = eval(\"this.model.\" + field.model_property);\r\n }\r\n\r\n });\r\n\r\n this.entitiesService.getByCode(this.component.entity).subscribe(\r\n data => {\r\n this.entity = data;\r\n this.component.fields.forEach(field => {\r\n field.entityField = this.entity.fields.find(m => m.id == field.entity_field_id);\r\n });\r\n\r\n var newFields: any = [];\r\n if (this.component.avatar != null) {\r\n if (this.component.avatar.type == \"initials\") {\r\n this.component.avatar.fields.forEach(field => {\r\n field.entityField = this.entity.fields.find(m => m.id == field.entity_field_id && !field.entityField.is_disabled);\r\n if (field.entityField != null && typeof (field.entityField) !== \"undefined\" && !field.entityField.is_disabled) newFields.push(field);\r\n });\r\n this.component.avatar.fields = newFields;\r\n }\r\n }\r\n //this.lazyLoad();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n\r\n getModelValue(model, field) {\r\n var value = \"\";\r\n\r\n this.temporalModel[field.entityField?.model_property] = eval(\"model.\" + field.entityField?.model_property);\r\n value = this.temporalModel[field.entityField?.model_property];\r\n\r\n return value;\r\n }\r\n\r\n formatMail(value: any, args: any[]) {\r\n if (value == null || value.length == 0) return \"\";\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n \r\n preLazyLoad($event) {\r\n setTimeout(() => this.lazyLoad($event), 100);\r\n }\r\n\r\n lazyLoad($event) {\r\n\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n\r\n this.params = {\r\n _page: $event.first / $event.rows,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\"\r\n };\r\n\r\n if (this.component.source != null) {\r\n if (this.component.source.params != null && Array.isArray(this.component.source.params)) {\r\n this.component.source.params.forEach(param => {\r\n let value = eval(param.value);\r\n if (typeof (value) != \"undefined\" && value != null) this.params[param.name] = value;\r\n });\r\n }\r\n }\r\n this.loaderService.skipRequest('/api/' + this.component.source.url, this.params);\r\n this.viewsService.getTableData(this.component.source.url, this.params).subscribe(\r\n data => {\r\n this.totalRows = data.totalRows;\r\n this.rows = data.rows;\r\n this.loading = false;\r\n this.showPaginator = this.totalRows > this.rowsPerPage;\r\n this.scrollHeightFunc();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n )\r\n }\r\n\r\n scrollHeightFunc() {\r\n let maxHeigth = this.component.maxHeight ? this.component.maxHeight : this.component.height;\r\n if (this.totalRows > this.rowsPerPage) {\r\n maxHeigth = parseInt(maxHeigth) - 50;\r\n }\r\n\r\n //ponemos maxheight\r\n if (this.gridContainer != null) {\r\n let datatableWrapper = this.gridContainer.nativeElement.querySelector(\".p-datatable-wrapper\");\r\n if (datatableWrapper != null) {\r\n datatableWrapper.style.maxHeight = maxHeigth + \"px\";\r\n }\r\n }\r\n\r\n return maxHeigth;\r\n }\r\n left() {\r\n this.onEvent.emit({ event: \"component-left\", index: this.index });\r\n }\r\n\r\n right() {\r\n this.onEvent.emit({ event: \"component-right\", index: this.index });\r\n }\r\n\r\n getAvatar(row: any) {\r\n let ret = \"\";\r\n if (this.component.avatar != null) {\r\n if (this.component.avatar.type == \"initials\") {\r\n this.component.avatar.fields.forEach(field => {\r\n var value = eval(\"row.\" + field.entityField?.model_property);\r\n if (value != null) ret += value.substring(0, 1).toUpperCase();\r\n });\r\n }\r\n }\r\n return ret;\r\n }\r\n\r\n\r\n getData(row: any, type) {\r\n\r\n let ret = \"\";\r\n var titleFields = this.component.fields.filter(m => m.type == type && m.entityField != null);\r\n\r\n if (titleFields.length > 0) {\r\n let i = 1;\r\n titleFields.forEach(field => {\r\n let property = field.entityField?.model_property;\r\n\r\n if (field.entityField.model_property_label != null && field.entityField.model_property_label != \"\") {\r\n property = field.entityField.model_property_label;\r\n }\r\n\r\n var value = \"\";\r\n try {\r\n if (field.entityField?.is_base_field) {\r\n value = eval(\"row.\" + property);\r\n } else {\r\n value = row.metadata[property]; // eval(\"row.metadata\" + property);\r\n if (field.entityField?.control_type == \"dropdown\") {\r\n //obtener valor para el seleccionado \r\n if (field.entityField.configuration.options?.type == \"api\") {\r\n //petición al servidor.\r\n } else {\r\n let temporalCombos = field.entityField.configuration.options.items;\r\n temporalCombos.forEach((item) => {\r\n if (eval(\"item.\" + field.entityField?.configuration?.field_value) == value) {\r\n value = eval(\"item.\" + field.entityField?.configuration?.field_text);\r\n }\r\n });\r\n }\r\n } else if (field.entityField?.control_type == \"dropdown-multiple\") {\r\n //obtener valor para el seleccionado \r\n if (field.entityField.configuration.options?.type == \"api\") {\r\n //petición al servidor.\r\n } else {\r\n let temporalCombos = field.entityField.configuration.options.items;\r\n let selectedValues: any = value;\r\n if (!(selectedValues instanceof Array)) selectedValues = [selectedValues];\r\n value = \"\";\r\n selectedValues.forEach(selectedValue => {\r\n temporalCombos.forEach((item) => {\r\n if (eval(\"item.\" + field.entityField?.configuration?.field_value) == selectedValue) {\r\n if (value != \"\") value += \", \";\r\n value += eval(\"item.\" + field.entityField?.configuration?.field_text);\r\n }\r\n });\r\n });\r\n }\r\n }\r\n }\r\n } catch (e) {\r\n //console.log(\"Eval for row.\" + property + \" fail!\");\r\n }\r\n\r\n if (field.type == \"badge\") {\r\n var css = field.badge.filter(m => m.id == eval(\"row.\" + field.entityField.model_property));\r\n if (css.length == 1) {\r\n let str = \"
\" + value + \"
\";\r\n value = str;\r\n }\r\n } else {\r\n let formatFn = field.formatFn;\r\n if (formatFn == null && field.entityField.configuration != null && field.entityField.configuration.formatFn != null) {\r\n formatFn = field.entityField.configuration.formatFn;\r\n }\r\n if (formatFn != null) {\r\n var format = formatFn.split(\"|\");\r\n if (format[0] == \"date\") value= this.utilsService.formatDate(value, format)\r\n if (format[0] == \"suffix\") value = this.utilsService.formatSuffix(value, format);\r\n if (format[0] == \"phone\") value = this.utilsService.formatPhone(value, format);\r\n if (format[0] == \"mail\") value = this.formatMail(value, format); //no se cambia, la clase que tiene es necesaria.\r\n if (format[0] == \"www\") value = this.utilsService.formatWWW(value, format);\r\n if (format[0] == \"badge\") value = this.utilsService.formatBadge(field, row, value, format);\r\n if (format[0] == \"image\") value = this.utilsService.formatImage(field, format);\r\n if (format[0] == \"icon\") value = this.utilsService.formatIcon(value, format);\r\n if (format[0] == \"currency\") value = this.utilsService.formatCurrency(value, format);\r\n if (format[0] == \"number\") value = this.utilsService.formatNumber(value, format);\r\n if (format[0] == \"class\") value = this.utilsService.formatClass(format[1], row, value, format[2], null);\r\n }\r\n }\r\n if (value != null && value.length > 0 && field.type != 'subtitle') ret += value + \" \";\r\n if (value != null && value.length > 0 && field.type == 'subtitle') ret += value + (i != titleFields.length ? \"
\" : \"\");\r\n i++;\r\n });\r\n }\r\n return ret;\r\n }\r\n\r\n columns() {\r\n return this.component.fields.filter(m => m.type == \"column\");\r\n }\r\n\r\n\r\n configure() {\r\n const ref = this.dialogService.open(ViewComponentConfigureComponent, {\r\n data: {\r\n component: this.component,\r\n entity: this.entity\r\n },\r\n header: this.translateService.instant(\"component.configure.title\"),\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data) {\r\n this.component.fields = data.fields;\r\n this.component.title = data.title;\r\n this.component.class = data.class;\r\n this.component.height = data.height;\r\n this.onEvent.emit({ event: \"view-save\" });\r\n }\r\n })\r\n }\r\n\r\n onDblClick(item) {\r\n this.onEvent.emit({ event: \"dblclick\", component: this.component.code, data: item });\r\n }\r\n\r\n onActionClick(action, item, $event) {\r\n $event.preventDefault();\r\n $event.stopPropagation();\r\n if (action == 'edit') action = { name: \"edit\" };\r\n this.onEvent.emit({ event: \"action\", component: this.component.code, action: action, data: item });\r\n }\r\n\r\n fireEvent(component: string, event: string, args: any) {\r\n if (event == \"reload\") {\r\n this.preLazyLoad(this.lastGridEvent);\r\n }\r\n }\r\n\r\n isActionVisible(action: any, item: any) {\r\n let visible: boolean = true;\r\n if (action.ngIf != null) {\r\n visible = eval(action.ngIf);\r\n }\r\n return visible;\r\n }\r\n\r\n showColumnsSelector($event, fieldType) {\r\n this.allowedEntities = [];\r\n this.fieldType = fieldType;\r\n this.entity.fields.forEach(field => {\r\n if (this.allowedEntities.find(m => m.code == field.entity_code) == null) {\r\n this.allowedEntities.push({ code: field.entity_code, name: field.entity_name });\r\n }\r\n });\r\n this.allowedEntitiesFields = [];\r\n this.opColumns.toggle($event);\r\n }\r\n\r\n getAllowedEntityFields(entity_code: string) {\r\n let fields = this.entity.fields.filter(m => m.entity_code == entity_code);\r\n fields.forEach((field) => {\r\n var selected = this.component.fields.find(m => m.entity_field_id == field.id && m.type == this.fieldType);\r\n field.selected = selected != null;\r\n });\r\n return fields;\r\n }\r\n\r\n onFieldChange($event, field) {\r\n if ($event.checked) {\r\n //añadimos al final\r\n var viewField = {\r\n entity_field_id: field.id,\r\n entityField: field,\r\n model_property: field.model_property,\r\n type: this.fieldType\r\n };\r\n this.component.fields.push(viewField);\r\n } else {\r\n this.removeField(field.id);\r\n }\r\n }\r\n\r\n removeField(entity_field_id) {\r\n this.component.fields = this.component.fields.filter(m => (m.entity_field_id != entity_field_id && m.type == this.fieldType) || m.type != this.fieldType);\r\n }\r\n getRowClass(row: any) {\r\n let className = \"\";\r\n if (this.component.rowFormatFn != null) {\r\n try {\r\n if (this.component.rowFormatFn.indexOf(\"eval|\") == 0) {\r\n let command = this.component.rowFormatFn.replace(\"eval|\", \"\");\r\n className = eval(command);\r\n }\r\n } catch (e) {\r\n }\r\n }\r\n return className;\r\n }\r\n\r\n getActionLabel(action: any) {\r\n //return this.componentService.getActionLabel(action, this.view.code + \"-\" + this.component.code);\r\n return this.componentService.getActionLabel(action,this.component.code);\r\n }\r\n\r\n}\r\n","\r\n \r\n
\r\n {{componentService.getComponentTitle(component)}}\r\n \r\n Component: {{component.code}}, Entity: {{component.entity}}\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n\r\n \r\n \r\n
\r\n
\r\n {{getAvatar(item)}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n {{'general.not_data' | translate }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n aaaaa\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n \r\n
{{'card.configure.add_to_title' | translate}}
\r\n
{{'card.configure.add_to_subtitle' | translate}}
\r\n \r\n \r\n {{allowedEntity.name}}\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { Component, Input, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { ViewsService } from '../../views.service';\r\nimport groupBy from 'lodash/groupBy';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-view-component-configure',\r\n templateUrl: 'view-component-configure.component.html',\r\n styleUrls: ['view-component-configure.component.scss'],\r\n})\r\nexport class ViewComponentConfigureComponent implements OnInit {\r\n\r\n @Input(\"component\") public component:any = {};\r\n public entity:any = {};\r\n public newField:any = {};\r\n public widthClasses:any[] = [\r\n { id: \"p-md-4\", description: \"33%\"},\r\n { id: \"p-md-6\", description: \"50%\"},\r\n { id: \"p-md-8\", description: \"66%\"},\r\n { id: \"p-md-12\", description: \"100%\"}\r\n ];\r\n public colSizes:any[] = [\r\n { id: \"p-md-1\", description: \"1\"},\r\n { id: \"p-md-2\", description: \"2\"},\r\n { id: \"p-md-3\", description: \"3\"},\r\n { id: \"p-md-4\", description: \"4\"},\r\n { id: \"p-md-5\", description: \"5\"},\r\n { id: \"p-md-6\", description: \"6\"},\r\n { id: \"p-md-7\", description: \"7\"},\r\n { id: \"p-md-8\", description: \"8\"},\r\n { id: \"p-md-9\", description: \"9\"},\r\n { id: \"p-md-10\", description: \"10\"},\r\n { id: \"p-md-11\", description: \"11\"},\r\n { id: \"p-md-12\", description: \"12\"},\r\n ]\r\n public entitiesToFilter:any = [];\r\n public optionsCard: any[] = [{ label: this.translateService.instant(\"component.configure.header\"), value: \"title\" }, { label: this.translateService.instant(\"component.configure.title\"), value:\"subtitle\"}];\r\n constructor(\r\n private entitiesService:EntitiesService,\r\n private messageService:MessageService,\r\n private viewsService:ViewsService,\r\n private config: DynamicDialogConfig,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n public translateService: TranslateService\r\n ) { \r\n }\r\n\r\n ngOnInit(): void {\r\n //clonamos para evitar cambios durante la edición\r\n this.component = Object.assign({}, this.config.data.component);\r\n this.entity = Object.assign({}, this.config.data.entity);\r\n this.entity.fields.forEach(field=>{\r\n if(field.description==null) field.description = field.name;\r\n });\r\n this.component.fields.forEach(field=>{\r\n var entityField = this.entity.fields.find(m=>m.id == field.entity_field_id);\r\n if(entityField!=null && field.model_property==null) field.model_property = entityField.model_property;\r\n });\r\n if(this.component.template==\"table\"){\r\n if(this.component.show_header==null) this.component.show_header = true;\r\n if(this.component.show_header==null) this.component.allow_reorder_rows = false;\r\n }\r\n this.entitiesToFilter = this.getSelectableEntityFields(true);\r\n }\r\n \r\n drop(event){\r\n moveItemInArray(this.component.fields, event.previousIndex, event.currentIndex);\r\n }\r\n\r\n onFieldChange(event:any, fieldConfig:any){\r\n \r\n let aux = this.entity.fields.find(m=>m.model_property == event.value);\r\n fieldConfig.entityField = aux;\r\n fieldConfig.entity_field_id = aux.id;\r\n }\r\n\r\n addField(){\r\n if(!Array.isArray(this.component.fields)) this.component.fields = [];\r\n let newField : any;\r\n if(this.component.template==\"card\") {\r\n newField = {type:\"title\", entity_field_id: null};\r\n }else{\r\n newField = {\r\n entity_field_id: null\r\n };\r\n }\r\n this.component.fields.push(newField);\r\n }\r\n\r\n saveComponent(){\r\n this.dynamicDialogRef.close(this.component);\r\n }\r\n\r\n removeField(index){\r\n this.component.fields.splice(index, 1);\r\n }\r\n\r\n composeCascade(entitiesResult, aux, level) {\r\n\r\n\r\n let entitiesResultLevel = entitiesResult.filter(m => m.model_property_path.length == level);\r\n const a = groupBy(entitiesResultLevel, function (n) {\r\n return n.model_property_path[level - 1].name;\r\n });\r\n let claves = Object.keys(a);\r\n\r\n for (let i = 0; i < claves.length; i++) {\r\n let clave = claves[i];\r\n let allNamesArray = a[clave][0].model_property_path.map(n => n.name);\r\n let allNames = allNamesArray.filter(Boolean).join(\" / \");\r\n let aux2 = { entity: allNames, fields: a[clave] };\r\n aux.push(aux2);\r\n }\r\n let entitiesResultMoreLevel = entitiesResult.filter(m => m.model_property_path.length >= level + 1);\r\n\r\n if (entitiesResultMoreLevel.length > 0) {\r\n aux = this.composeCascade(entitiesResultMoreLevel, aux, level + 1)\r\n\r\n }\r\n return aux;\r\n }\r\n\r\n getSelectableEntityFields(include_navigation_properties: boolean, filterIfAllreadyExist: boolean = false) {\r\n if (this.entity?.fields != null) {\r\n\r\n //obtener entidades\r\n let entities = [];\r\n this.entity.fields.forEach(field => {\r\n if (entities.find(m => m.code == field.entity_code) == null) {\r\n entities.push({ code: field.entity_code, name: field.entity_name });\r\n }\r\n });\r\n let data = [];\r\n entities.forEach((entity) => {\r\n data.push({\r\n entity: entity.name,\r\n fields: this.entity.fields.filter(m => m.entity_code == entity.code)\r\n });\r\n });\r\n return data;\r\n } else {\r\n return [];\r\n }\r\n }\r\n\r\n}\r\n","
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {{'component.configure.field' | translate}}\r\n {{'component.configure.ticket' | translate}}\r\n {{'component.configure.width' | translate}}\r\n {{'component.configure.position' | translate}}\r\n {{'component.configure.required' | translate}}\r\n {{'component.configure.read_only' | translate}}\r\n M\r\n {{'component.configure.actions' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n","import { Component, ComponentFactoryResolver, ComponentRef, ElementRef, EventEmitter, Input, OnInit, Output, ViewChild, ViewContainerRef } from '@angular/core';\r\nimport { ViewsService } from '../../views.service';\r\nimport { CustomComponent } from './custom-component.interface';\r\nimport { ViewComponent } from '../../view.component';\r\nimport { ComponentService } from '../../component.service';\r\nimport { DebugService } from '../../../debug.service';\r\n\r\n@Component({\r\n selector: 'app-view-component-custom',\r\n templateUrl: 'view-component-custom.component.html',\r\n styleUrls: ['view-component-custom.component.scss'],\r\n})\r\nexport class ViewComponentCustomComponent {\r\n\r\n //@ViewChild(\"customComponentContainer\", { static: true }) public customComponentContainer: ElementRef;\r\n @ViewChild('customComponentContainer', { read: ViewContainerRef }) customComponentContainer: ViewContainerRef;\r\n //@ViewChild(AdDirective, { static: true }) adHost!: AdDirective;\r\n\r\n @Output() onEvent: EventEmitter = new EventEmitter();\r\n\r\n @Input(\"view\") public view: ViewComponent;\r\n @Input(\"component\") public component: any = {};\r\n @Input(\"entity\") public entity:any = null;\r\n @Input(\"index\") public index:number = 0;\r\n @Input(\"model\") public model:any = {};\r\n @Input(\"showConfigOptions\") public showConfigOptions:boolean = false;\r\n\r\n private componentRef:ComponentRef = null;\r\n\r\n\r\n constructor(\r\n public debugService: DebugService,\r\n public viewContainerRef: ViewContainerRef,\r\n private viewsService:ViewsService,\r\n private componentFactoryResolver: ComponentFactoryResolver,\r\n private componentService: ComponentService\r\n ) { \r\n }\r\n\r\n ngAfterViewInit(): void {\r\n let component = this.viewsService.GetComponentByName(this.component.component);\r\n const componentFactory = this.componentFactoryResolver.resolveComponentFactory(component);\r\n this.componentRef = this.customComponentContainer.createComponent(componentFactory);\r\n this.componentRef.instance.view = this.view;\r\n this.componentRef.instance.data = this.model;\r\n this.componentRef.instance.entity = this.entity;\r\n }\r\n\r\n fireEvent(component:string, event:string, args:any){\r\n if(event==\"reload\"){\r\n this.componentRef.instance.onEvent(component, event, args);\r\n }\r\n }\r\n\r\n getActionLabel(action: any) {\r\n //return this.componentService.getActionLabel(action, this.view.code + \"-\" + this.component.code);\r\n return this.componentService.getActionLabel(action, this.component.code);\r\n }\r\n}\r\n","\r\n \r\n
\r\n {{componentService.getComponentTitle(component)}}\r\n Component: {{component.code}}, Entity: {{component.entity}}\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n","import { formatDate } from \"@angular/common\";\nimport { Component, Input, OnInit, ViewChild, forwardRef } from \"@angular/core\";\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from \"@angular/forms\";\nimport { OverlayPanel } from \"primeng/overlaypanel\";\n\n@Component({\n selector: 'app-view-component-datetime',\n templateUrl: 'datetime.component.html',\n styleUrls: ['datetime.component.scss'],\n providers: [{\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => ViewComponentDateTimeComponent),\n multi: true\n }]\n})\nexport class ViewComponentDateTimeComponent implements OnInit, ControlValueAccessor {\n\n public date_range: Date[] | undefined;\n public date: Date = new Date();\n public time: Date = new Date();\n public hour: number = 0;\n public minute: number = 0;\n public date_string: string = \"\";\n public dates_string: string = \"\";\n public mask = \"\";\n public placeholder = \"\";\n public is_showed: boolean = false;\n\n @ViewChild('op') public op: OverlayPanel;\n\n @ViewChild('targetEl') public targetEl: any;\n\n @Input('show-time') public showTime: boolean = false;\n @Input('step-minute') public stepMinute: number = 1;\n @Input('range') public range: boolean = false;\n @Input('dateValue') public value_date_range: string = \"\";\n\n private _value: string;\n\n // Whatever name for this (myValue) you choose here, use it in the .html file.\n /*public get myValue(): string { return this._value }\n public set myValue(v: string) {\n if (v !== this._value) { \n this._value = v;\n this.onChange(v);\n }\n }*/\n\n ngOnInit(): void {\n\n this.date.setMinutes(0);\n this.date.setSeconds(0);\n this.date.setMilliseconds(0);\n\n //establecemos mask dependiendo del tipo de control\n if (this.showTime) {\n this.mask = \"99/99/9999 99:99\";\n this.placeholder = \"dd/MM/yyyy HH:mm\";\n } else {\n this.mask = \"99/99/9999\";\n this.placeholder = \"dd/MM/yyyy\";\n }\n }\n\n onChange = (_) => { };\n onTouched = () => { };\n\n writeValue(value: any): void {\n \n if (!this.range) {\n //comprobamos minut o que sea multiplo del stepMinute indicado\n if (value != null && value != \"\") {\n let tmpDate: Date;\n if (value instanceof Date) {\n tmpDate = value;\n } else {\n tmpDate = new Date(value);\n }\n if (this.showTime) {\n this.date_string = formatDate(tmpDate, 'dd/MM/yyyy HH:mm', 'es-ES');\n } else {\n this.date_string = formatDate(tmpDate, 'dd/MM/yyyy', 'es-ES');\n }\n this.date = tmpDate;\n this.time = tmpDate;\n this.hour = this.time.getHours();\n this.minute = this.time.getMinutes();\n } else {\n //nada\n }\n } else {\n //Si llega será con intervalo, supongo.\n if (value != null && value != \"\") {\n this.date_range = [];\n var auxDate = value.split(\"|\");\n auxDate.forEach((item: any) => {\n this.date_range.push(item);\n });\n this.onSelectRange();\n } else {\n this.date_range = [];\n this.dates_string = \"\";\n }\n }\n }\n registerOnChange(fn: any): void {\n this.onChange = fn;\n }\n registerOnTouched(fn: any): void {\n this.onTouched = fn;\n }\n\n onTimeBlur() {\n this.time.setHours(this.hour);\n this.time.setMinutes(this.minute);\n this.onComplete(null);\n }\n\n hide() {\n this.op.hide();\n }\n\n onShow() {\n this.is_showed = true;\n }\n onHide() {\n this.is_showed = false;\n }\n\n onInputMaskFocus($event) {\n this.op.show($event, this.targetEl.nativeElement);\n setTimeout(() => {\n $event.target.focus();\n }, 500);\n }\n\n onSelect(component: any) {\n this.prepareDateString(true);\n this.onComplete(null);\n if (component == \"calendar\") this.hide();\n }\n\n prepareDateString(checkMinutes) {\n\n let tmpDate = this.date;\n if (this.showTime && this.time) {\n tmpDate.setHours(this.time.getHours());\n tmpDate.setMinutes(this.time.getMinutes());\n }\n\n if (this.showTime) {\n //si es con hora, ajustamo minutos si corresponde\n if (checkMinutes) tmpDate = this.checkMinutes(tmpDate);\n this.date_string = formatDate(tmpDate, 'dd/MM/yyyy HH:mm', 'es-ES');\n } else {\n this.date_string = formatDate(tmpDate, 'dd/MM/yyyy', 'es-ES');\n }\n }\n\n checkMinutes(date: Date): Date {\n //comprobamos minuto que sea multiplo del stepMinute indicado, si no, lo ajustamos\n var steps = date.getMinutes() / this.stepMinute;\n date.setMinutes(Math.floor(steps) * this.stepMinute);\n return date;\n }\n onComplete($event) {\n //intenamos convertir en fecha\n let parseableString: string = \"\";\n if (this.showTime) {\n //con hora\n let parts = this.date_string.split(' ');\n let dateParts = parts[0].split('/');\n let timeParts = parts[1].split(':');\n parseableString = dateParts[2] + \"-\" + dateParts[1] + \"-\" + dateParts[0] + \"T\" + timeParts[0] + \":\" + timeParts[1];\n } else {\n //solo fecha\n let parts = this.date_string.split('/');\n parseableString = parts[2] + \"-\" + parts[1] + \"-\" + parts[0];\n }\n let date = Date.parse(parseableString);\n if (!isNaN(date)) {\n let tmpDate = new Date(date);\n\n this.date = tmpDate;\n this.time = tmpDate;\n\n this.prepareDateString(false);\n\n //emitimos cambio de valor\n let isoString = this.date.toISOString();\n if (!this.showTime) isoString = isoString.replace(\"Z\", \"\");\n this.onChange(isoString);\n } else {\n this.date_string = \"\";\n }\n\n }\n\n onClear() {\n this.date_string =\n this.dates_string = \"\";\n this.date_range = [];\n this.onChange(null)\n }\n\n onSelectRange() {\n this.dates_string = \"\";\n let dates_array = \"\";\n\n let tmpDateTrim = this.date_range.toString().split(\",\");\n\n tmpDateTrim.forEach((tmpDate: any) => {\n if (tmpDate != \"\") {\n if (this.showTime && this.time) {\n tmpDate.setHours(this.time.getHours());\n tmpDate.setMinutes(this.time.getMinutes());\n }\n\n if (this.showTime) {\n //si es con hora, ajustamo minutos si corresponde\n tmpDate = this.checkMinutes(tmpDate);\n this.date_string = formatDate(tmpDate, 'dd/MM/yyyy HH:mm', 'es-ES');\n } else {\n this.date_string = formatDate(tmpDate, 'dd/MM/yyyy', 'es-ES');\n }\n this.dates_string += (this.dates_string == \"\" ? this.date_string : \" - \" + this.date_string);\n\n //Los creamos kukis para enviarlos.\n let parseableString: string = \"\";\n //solo fecha\n let parts = this.date_string.split('/');\n parseableString = parts[2] + \"-\" + parts[1] + \"-\" + parts[0];\n let date = Date.parse(parseableString);\n if (!isNaN(date)) {\n //console.log(this.date_string, date);\n let tmpDate = new Date(date);\n\n this.date_range.push(tmpDate);\n\n this.prepareDateString(false);\n\n //emitimos cambio de valor\n let isoString = tmpDate.toISOString();\n if (!this.showTime) isoString = isoString.replace(\"Z\", \"\");\n //dates_array.push(isoString);\n dates_array += (dates_array == \"\" ? isoString : \"|\" + isoString);\n\n } else {\n this.date_string = \"\";\n }\n }\n });\n\n this.onChange(dates_array);\n\n }\n\n getMonday(d) {\n d = new Date(d);\n var day = d.getDay(),\n diff = d.getDate() - day + (day == 0 ? -6 : 1); // adjust when day is sunday\n return new Date(d.setDate(diff));\n }\n\n generate(direction: any, type: any, number: any) {\n var now = new Date();\n now.setHours(0);\n now.setMinutes(0);\n now.setSeconds(0);\n\n var calculate = new Date();\n calculate.setHours(0);\n calculate.setMinutes(0);\n calculate.setSeconds(0);\n\n if (type == \"week\") {\n\n //Obtenemos el lunes de ésta semana. Y se le suma o resta una semana, o calculamos la semana actual.\n var monday = this.getMonday(now);\n if (direction == \".\") {\n calculate.setDate(monday.getDate());\n now.setDate(monday.getDate() + number);\n } else if (direction == \"-\") {\n calculate.setDate(calculate.getDate() + ((direction == \"-\" ? -number : +number)));\n now = new Date(monday.getFullYear(), monday.getMonth(), monday.getDate() - 1);\n } else {\n //El lunes más 7 días Y para el calculado se le suman los que dice number\n now = new Date(monday.getFullYear(), monday.getMonth(), monday.getDate() + 7);\n calculate = new Date(now.getFullYear(), now.getMonth(), now.getDate() + (direction == \"-\" ? -number : +number));\n }\n\n } else if (type == \"month\") {\n\n //Obtenemos el mes de inicio.\n calculate.setMonth(calculate.getMonth() + ((direction == \"-\" ? -number : +number)));\n if (direction == \"-\") {\n //Obtenemos el último deía del mes anterior.\n calculate.setDate(1);\n var lastDayOfMonth = new Date(now.getFullYear(), now.getMonth(), 0).getDate();\n now = new Date(now.getFullYear(), now.getMonth() - 1, lastDayOfMonth);\n } else {\n //al mes nuevo calculado, hay que sumarle\n var lastDayOfMonth = new Date(calculate.getFullYear(), calculate.getMonth() + 1, 0).getDate();\n calculate.setDate(lastDayOfMonth);\n //Now es el uno del mes que viene.\n now = new Date(now.getFullYear(), now.getMonth() + 1, 1);\n }\n\n } else if (type == \"year\") {\n\n calculate.setFullYear(calculate.getFullYear() + ((direction == \"-\" ? -number : +number)));\n if (direction == \"-\") {\n //Obtenemos el último día del mes anterior.\n calculate.setMonth(0);\n calculate.setDate(1);\n now = new Date(calculate.getFullYear(), 11, 31);\n } else {\n //al mes nuevo calculado, hay que sumarle\n calculate.setMonth(11);\n calculate.setDate(31);\n //Now es el uno del mes que viene.\n now = new Date(calculate.getFullYear(), 0, 1);\n }\n\n }\n\n this.date_range = [];\n\n if (calculate > now) {\n this.date_range.push(now);\n this.date_range.push(calculate);\n } else {\n this.date_range.push(calculate);\n this.date_range.push(now);\n }\n this.onSelectRange();\n }\n getStartOfWeek(date: Date): Date {\n const day = date.getDay(); // 0 (Domingo) a 6 (Sábado)\n const diff = date.getDate() - day + (day === 0 ? -6 : 1); // Ajuste si el día es Domingo\n return new Date(date.setDate(diff));\n }\n\n getEndOfWeek(date: Date): Date {\n const startOfWeek = this.getStartOfWeek(date);\n return new Date(startOfWeek.setDate(startOfWeek.getDate() + 6));\n }\n} \n","
\n\n \n
\n
\n \n
\n
\n \n
\n
\n \n
\n
\n
\n \n\n \n\n \n \n
","import { DatePipe } from '@angular/common';\r\nimport { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { AccordionModule } from 'primeng/accordion';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { AttachmentsTypesService } from 'src/app/configuration/attachments-types/attachments-types.service';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { LoaderService } from '../../../loader/loader.service';\r\nimport { ComponentService } from '../../component.service';\r\nimport { ViewsService } from '../../views.service';\r\nimport { ViewComponentConfigureComponent } from '../configure/view-component-configure.component';\r\nimport { environment } from 'src/environments/environment';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { DebugService } from '../../../debug.service';\r\n\r\n@Component({\r\n selector: 'app-view-component-files',\r\n templateUrl: 'view-component-files.component.html',\r\n styleUrls: ['view-component-files.component.scss'],\r\n})\r\nexport class ViewComponentFilesComponent implements OnInit {\r\n\r\n @Output() onEvent: EventEmitter = new EventEmitter();\r\n\r\n @Input(\"component\") public component: any = {};\r\n @Input(\"index\") public index: number = 0;\r\n @Input(\"model\") public model: any = {};\r\n @Input(\"showConfigOptions\") public showConfigOptions: boolean = false;\r\n @Input(\"view\") public view: any = {};\r\n\r\n public temporalModel: any = {};\r\n public entity: any = {};\r\n private lastGridEvent: any;\r\n public loading: boolean = false;\r\n public totalRows: number = 0;\r\n public rows: any = Array();\r\n public user_id: number;\r\n public today: string;\r\n public attachmentsTypes: any[];\r\n public prevItem_type_id: number = null;\r\n public width: string = \"200px\";\r\n public attachmentsTypesWithData: any[];\r\n\r\n public visibleByOptions: any[] = [\r\n { code: \"all\", label: this.translateService.instant(\"view.configure.all\") },\r\n { code: \"user\", label: this.translateService.instant(\"view.configure.user_responsible\") }\r\n ];\r\n\r\n constructor(\r\n public debugService: DebugService,\r\n private loaderService: LoaderService,\r\n private entitiesService: EntitiesService,\r\n private attachmentTypeService: AttachmentsTypesService,\r\n private messageService: MessageService,\r\n private viewsService: ViewsService,\r\n private datePipe: DatePipe,\r\n private dialogService: DialogService,\r\n private loginService: LoginService,\r\n public componentService: ComponentService,\r\n private translateService: TranslateService\r\n ) {\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadAttachmentTypes();\r\n this.user_id = parseInt(this.loginService.get(\"userId\"));\r\n this.today = new Date().toISOString();\r\n this.component.fields.forEach(field => {\r\n\r\n if (typeof field.model_property != \"undefined\") {\r\n this.temporalModel[field.model_property] = eval(\"this.model.\" + field.model_property);\r\n }\r\n\r\n });\r\n\r\n this.entitiesService.getByCode(this.component.entity).subscribe(\r\n data => {\r\n this.entity = data;\r\n var newFields: any = [];\r\n var user_role_id = localStorage.getItem(\"roleId\") + \"\";\r\n\r\n this.component.fields.forEach(field => {\r\n var hasRole = true;\r\n field.entityField = this.entity.fields.find(m => m.id == field.entity_field_id);\r\n var viewRoles = field.entityField?.configuration['viewRoles'];\r\n if (viewRoles != null && viewRoles.length > 0) {\r\n if (!viewRoles.find(role => role == user_role_id)) hasRole = false;\r\n }\r\n if (field.entityField != null && typeof (field.entityField) !== \"undefined\" && !field.entityField.is_disabled && hasRole) newFields.push(field);\r\n });\r\n this.component.fields = newFields;\r\n if (this.component.avatar != null) {\r\n if (this.component.avatar.type == \"initials\") {\r\n this.component.avatar.fields.forEach(field => {\r\n field.entityField = this.entity.fields.filter(m => m.id == field.entity_field_id);\r\n });\r\n }\r\n }\r\n this.lazyLoad();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n loadAttachmentTypes() {\r\n this.attachmentTypeService.all({}).subscribe(\r\n data => {\r\n this.attachmentsTypes = data.rows;\r\n },\r\n error => {\r\n this.messageService.add({ severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n savePrevItem(attachment) {\r\n this.prevItem_type_id = attachment.attachment_type_id;\r\n if (attachment.attachmentType != null) {\r\n return attachment.attachmentType.name;\r\n } else {\r\n return this.translateService.instant(\"files.configure.no_category\");\r\n }\r\n }\r\n adaptWidth(length) {\r\n //Adapta la anchura de las cabeceras de tipos por la longitud de su nombre.\r\n //return this.width = (11*length)+\"px\";\r\n return \"200px\";\r\n }\r\n getModelValue(model, field) {\r\n var value = \"\";\r\n\r\n this.temporalModel[field.entityField?.model_property] = eval(\"model.\" + field.entityField?.model_property);\r\n value = this.temporalModel[field.entityField?.model_property];\r\n\r\n return value;\r\n }\r\n\r\n formatDate(value: any, args: any) {\r\n return this.datePipe.transform(value, args);\r\n }\r\n formatSuffix(value: any, args: any[]) {\r\n return value + args[1];\r\n }\r\n formatPhone(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n formatMail(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n formatBadge(field: any, value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n let className = \"\";\r\n let subClassName = \"\";\r\n if (field) {\r\n let refValue = \"\";\r\n if (args[1] != \"\") {\r\n try {\r\n let valorID = eval(\"row.\" + field.model_property);\r\n subClassName = args[1] + valorID;\r\n } catch (e) {\r\n console.error(`Error evaluando this.model.${field.entityField.model_property}`);\r\n }\r\n }\r\n className = \"badge badge-block \" + subClassName;\r\n var formattedValue = \"
\" + value + \"
\";\r\n\r\n }\r\n\r\n return formattedValue;\r\n }\r\n formatImage(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = `
\"Avatar\"
Zsazsa McCleverty@zmcclevertye
`;\r\n return formattedValue;\r\n }\r\n formatCurrency(value: any, args: any[]) {\r\n if (value == null) return \"0 €\";\r\n var formattedValue = new Intl.NumberFormat(environment.companyConfiguration.locale, { style: \"currency\", currency: environment.companyConfiguration.currency, useGrouping: true }).format(value);\r\n return formattedValue;\r\n }\r\n formatNumber(value: any, args: any[]) {\r\n if (value == null) return \"0\";\r\n var formattedValue = new Intl.NumberFormat(environment.companyConfiguration.locale).format(value)\r\n return formattedValue;\r\n }\r\n lazyLoad() {\r\n var params = {\r\n\r\n };\r\n\r\n if (this.component.source != null) {\r\n if (this.component.source.params != null && Array.isArray(this.component.source.params)) {\r\n this.component.source.params.forEach(param => {\r\n let value = eval(param.value);\r\n if (typeof (value) != \"undefined\" && value != null) params[param.name] = value;\r\n });\r\n }\r\n }\r\n\r\n this.loaderService.skipRequest('/api/' + this.component.source.url, params);\r\n this.viewsService.getTableData(this.component.source.url, params).subscribe(\r\n data => {\r\n this.totalRows = data.totalRows;\r\n this.rows = data.rows;\r\n let aux = this.rows.map(m => m.attachmentType);\r\n this.attachmentsTypesWithData = aux.filter((v, i) => v != null && aux.findIndex(item => item.id == v.id) === i);\r\n this.attachmentsTypesWithData.push({ id: null, name: this.translateService.instant(\"files.configure.unclassified\") });\r\n this.loading = false;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n )\r\n }\r\n\r\n left() {\r\n this.onEvent.emit({ event: \"component-left\", index: this.index });\r\n }\r\n\r\n right() {\r\n this.onEvent.emit({ event: \"component-right\", index: this.index });\r\n }\r\n\r\n getAvatar(row: any) {\r\n let ret = \"\";\r\n if (this.component.avatar != null) {\r\n if (this.component.avatar.type == \"initials\") {\r\n this.component.avatar.fields.forEach(field => {\r\n ret += eval(\"row.\" + field.entityField?.model_property).substring(0, 1).toUpperCase();\r\n });\r\n }\r\n }\r\n return ret;\r\n }\r\n\r\n\r\n getData(row: any, type) {\r\n let ret = \"\";\r\n var titleFields = this.component.fields.filter(m => m.type == type);\r\n if (titleFields.length > 0) {\r\n titleFields.forEach(field => {\r\n let property = field.entityField.model_property;\r\n if (field.entityField.model_property_label != null && field.entityField.model_property_label != \"\") property = field.entityField.model_property_label;\r\n\r\n var value = \"\";\r\n try {\r\n value = eval(\"row.\" + property);\r\n } catch (e) {\r\n //console.error(\"Eval for row.\" + property + \" fail!\");\r\n }\r\n\r\n if (field.type == \"badge\") {\r\n var css = field.badge.filter(m => m.id == eval(\"row.\" + field.entityField.model_property));\r\n if (css.length == 1) {\r\n let str = \"
\" + value + \"
\";\r\n value = str;\r\n }\r\n } else {\r\n var format = field.entityField.control_type;\r\n\r\n if (format == \"input-datetime\") { value = this.formatDate(value, 'dd/MM/yyyy HH:mm'); }\r\n if (format[0] == \"suffix\") value = this.formatSuffix(value, format);\r\n if (format[0] == \"phone\") value = this.formatPhone(value, format);\r\n if (format[0] == \"mail\") value = this.formatMail(value, format);\r\n if (format[0] == \"badge\") value = this.formatBadge(field, value, format);\r\n if (format[0] == \"image\") value = this.formatImage(field, format);\r\n if (format[0] == \"currency\") value = this.formatCurrency(value, format);\r\n if (format[0] == \"number\") value = this.formatNumber(value, format);\r\n }\r\n ret += value + \" \";\r\n });\r\n }\r\n return ret;\r\n }\r\n\r\n columns() {\r\n return this.component.fields.filter(m => m.type == \"column\");\r\n }\r\n\r\n onDblClick(item) {\r\n this.onEvent.emit({ event: \"dblclick\", component: this.component.code, data: item });\r\n }\r\n\r\n onActionClick(action, item) {\r\n if (action == 'edit') action = { name: \"edit\" };\r\n this.onEvent.emit({ event: \"action\", component: this.component.code, action: action, data: item });\r\n }\r\n\r\n getRows(attachment_type_id) {\r\n return this.rows.filter(m => m.attachment_type_id == attachment_type_id);\r\n }\r\n\r\n getImage(mimetype) {\r\n var ret = \"other.png\";\r\n if (mimetype == \"application/pdf\") {\r\n ret = \"pdf.png\";\r\n } else if (mimetype == \"image/png\" || mimetype == \"image/jpeg\" || mimetype == \"image/jpg\" || mimetype == \"image/gif\" || mimetype == \"image/bmp\") {\r\n ret = \"img.png\";\r\n } else if (mimetype == \"application/msword\" || mimetype == \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\") {\r\n ret = \"word.png\";\r\n } else if (mimetype == \"application/vnd.ms-excel\" || mimetype == \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\") {\r\n ret = \"xls.png\";\r\n } else if (mimetype == \"application/vnd.ms-powerpoint\" || mimetype == \"application/vnd.openxmlformats-officedocument.presentationml.presentation\") {\r\n ret = \"pwt.png\";\r\n }\r\n return ret;\r\n }\r\n\r\n fireEvent(component: string, event: string, args: any) {\r\n if (event == \"reload\") {\r\n this.lazyLoad();\r\n }\r\n }\r\n\r\n isActionVisible(action: any, item: any) {\r\n let visible: boolean = true;\r\n if (action.ngIf != null) {\r\n visible = eval(action.ngIf);\r\n }\r\n return visible;\r\n }\r\n\r\n getActionLabel(action: any) {\r\n //return this.componentService.getActionLabel(action, this.view.code + \"-\" + this.component.code);\r\n return this.componentService.getActionLabel(action, this.component.code);\r\n }\r\n}","\r\n \r\n
\r\n {{componentService.getComponentTitle(component)}}\r\n Component: {{component.code}}, Entity:\r\n {{component.entity}}\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{getData(item, \"title\")}}\r\n
\r\n {{getData(item, \"subtitle\")}}\r\n :{{'files.configure.update' | translate}}: {{getData(item,\r\n \"updated_at\")}}\r\n {{'files.configure.create' | translate}}: {{getData(item,\r\n \"created_at\")}}\r\n {{'files.configure.create_by' | translate}}:\r\n {{item.createdBy?.name}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
","import { Component, ElementRef, OnInit, QueryList, ViewChild, ViewChildren } from '@angular/core';\nimport { MessageService } from 'primeng/api';\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\nimport { Panel } from 'primeng/panel';\nimport { ComponentService } from '../../../component.service';\n\n@Component({\n selector: 'app-filter-modal',\n templateUrl: './filter-modal.component.html',\n styleUrls: ['./filter-modal.component.scss']\n})\nexport class FilterModalComponent implements OnInit {\n @ViewChildren('panel') panels: QueryList;\n\n public searchText: any = \"\";\n public fields: any = {};\n public entities: any[] = [];\n public originalFieldsFromData: any = {};\n public selectedEntitiesFieldsFilter: any = {};\n public selectedEntitiesFields = [];\n\n constructor(\n private messageService: MessageService,\n private dynamicDialogRef: DynamicDialogRef,\n private config: DynamicDialogConfig,\n public componentService: ComponentService\n ) { }\n\n ngOnInit(): void {\n this.fields = this.config.data.fields.filter((m: any) => m.configuration.excludeFromFilters != true);\n\n this.fields.sort((a, b) => a.description.toLowerCase().localeCompare(b.description.toLowerCase()));\n \n this.originalFieldsFromData = JSON.stringify(this.fields);\n \n this.fields.forEach(field => {\n if (this.entities.find(m => m.code == field.entity_code) == null) {\n this.entities.push({ code: field.entity_code, name: field.entity_name });\n }\n }); \n\n this.selectedEntitiesFieldsFilter = this.config.data.selectedEntitiesFieldsFilter;\n this.fields.forEach((item: any) => {\n var selected = this.selectedEntitiesFieldsFilter.find(m => m.id == item.id);\n if (selected != null) {\n item.selected = true;\n this.selectedEntitiesFields.push(item.id+\"\");\n } else {\n item.selected = false;\n }\n });\n \n };\n\n fieldsFiltered(search_text:string) {\n if(search_text==null) search_text = \"\";\n return this.fields.filter(m => m.description.toLowerCase().indexOf(search_text.toLowerCase())>=0);\n }\n\n fieldsInEntitiesField(name: any, search_text:string) {\n if(search_text==null) search_text = \"\";\n if(search_text!=\"\"){\n //abrimos los paneles que estuviesen cerrado al buscar\n for(let i=0; i m.entity_name == name && m.description.toLowerCase().indexOf(search_text.toLowerCase())>=0);\n }\n\n cancel() {\n this.dynamicDialogRef.close();\n }\n save() {\n this.dynamicDialogRef.close(this.selectedEntitiesFields);\n }\n clear() {\n this.searchText = \"\";\n this.fields = JSON.parse(this.originalFieldsFromData);\n }\n /*search() {\n if (this.searchText != \"\") {\n this.fields = this.fields.filter(m => m.description.toLowerCase().includes(this.searchText.toLowerCase()));\n } else {\n this.fields = JSON.parse(this.originalFields);\n }\n \n }*/\n isInFieldGroup() {\n\n }\n}\n","
\n
\n \n \n
\n
\n\n
\n
1\" style=\"width: 100%\">\n
\n \n
\n \n {{componentService.getFieldDescription(field, false)}}\n
\n
\n {{'general.filter.no_fields_search' | translate}}\n
\n
\n
\n
\n
\n
\n \n {{componentService.getFieldDescription(field, false)}}\n
\n
\n {{'general.filter.no_fields_search' | translate}}\n
\n
\n
\n\n
\n
\n
\n \n \n\n
\n
\n
\n","import { Component, EventEmitter, Input, OnInit, Output, QueryList, ViewChild, ViewChildren } from \"@angular/core\";\nimport { EntitiesService } from \"../../../../configuration/entities.service\";\nimport { MessageService } from \"primeng/api\";\nimport { OverlayPanel } from \"primeng/overlaypanel\";\nimport { DialogService } from \"primeng/dynamicdialog\";\nimport { FilterModalComponent } from \"./modal/filter-modal.component\";\nimport { DebugService } from \"../../../debug.service\";\nimport { ViewsService } from \"../../views.service\";\nimport { LoginService } from \"../../../../login/login.service\";\nimport { ViewsCustomService } from \"../../views-custom.service\";\nimport { SessionStorageService } from \"ngx-webstorage\";\nimport { filter } from \"rxjs\";\nimport { TranslateService } from \"@ngx-translate/core\";\nimport { ComponentService } from \"../../component.service\";\nimport { MultiSelect } from \"primeng/multiselect\";\n\n\n@Component({\n selector: 'app-view-component-filter',\n templateUrl: 'view-component-filter.component.html',\n styleUrls: ['view-component-filter.component.scss'],\n})\nexport class ViewComponentFilterComponent implements OnInit {\n\n @Output() onEvent: EventEmitter = new EventEmitter();\n @ViewChild('opFilter') opFilter: OverlayPanel;\n @Input(\"component\") public component: any = {};\n @Input(\"index\") public index: number = 0;\n @Input(\"model\") public model: any = {};\n private model_original: any = {};\n @Input(\"config\") public config: any = {};\n @Input(\"view\") public view: any = {};\n\n @ViewChildren('multiselect') multiselects: QueryList;\n\n private getComboOptionsTimeout: any;\n\n\n public entity: any = {};\n public selectedEntitiesFieldsFilter: any[] = [];\n public temporalCombos: any = {};\n\n public items = [\n {\n label: this.translateService.instant(\"general.filter.save_view\"),// 'Guardar vista',\n icon: 'pi pi-save',\n command: () => {\n this.saveViewFilters();\n }\n },\n {\n label: this.translateService.instant(\"general.filter.create_new_view\"),// 'Crear nueva vista',\n icon: 'pi pi-plus',\n command: () => {\n this.createViewFilters();\n }\n }\n ];\n public views_superadmin: boolean;\n public personalize_interface: boolean;\n public personalized_views_read: boolean;\n public personalized_views_write: boolean;\n public created_by: any;\n public allowViewPersonalize: boolean = false;\n\n constructor(\n private entitiesService: EntitiesService,\n private messageService: MessageService,\n private dialogService: DialogService,\n public debugService: DebugService,\n private viewsService: ViewsService,\n private loginService: LoginService,\n private viewsCustomService: ViewsCustomService,\n private sessionStorage: SessionStorageService,\n private translateService: TranslateService,\n public componentService: ComponentService\n ) {\n\n this.created_by = this.loginService.get(\"userId\");\n this.personalize_interface = this.loginService.hasPermission(\"PERSONALIZE_INTERFACE\");\n this.personalized_views_read = this.loginService.hasPermission(\"PERSONALIZED_VIEWS_READ\");\n this.personalized_views_write = this.loginService.hasPermission(\"PERSONALIZED_VIEWS_WRITE\");\n this.views_superadmin = this.loginService.hasPermission(\"VIEWS_SUPERADMIN\") || localStorage.getItem(\"isSuperAdmin\") == \"true\";\n this.allowViewPersonalize = this.view?.configuration?.personalizable != false ? true : false;\n\n }\n ngOnInit(): void {\n\n this.entitiesService.getByCode(this.component?.entity).subscribe({\n next: (data: any) => {\n this.entity = data;\n\n //guardamos una copia del modelo original\n this.model_original = JSON.parse(JSON.stringify(this.model));\n this.loadFiltersData();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n }\n );\n }\n\n loadFiltersData() {\n var sessionInfo = this.sessionStorage.retrieve(this.view.code);\n var selectedFields = [];\n\n if (sessionInfo == null) {\n //no habia session, cargamos campos del componente\n sessionInfo = { filters: [] };\n this.component.filters.filters.forEach((filter) => {\n let entityField = this.entity?.fields?.find(m => m.id == filter.entity_field_id);\n if (entityField != null) {\n sessionInfo.filters.push({ entity_field_id: filter.entity_field_id });\n }\n });\n this.sessionStorage.store(this.view.code, sessionInfo);\n }else{\n this.component.filters.filters.forEach((filter) => {\n if(filter.addedToSession){\n let entityField = this.entity?.fields?.find(m => m.id == filter.entity_field_id);\n if (entityField != null) {\n sessionInfo.filters.push({ entity_field_id: filter.entity_field_id });\n }\n }\n });\n }\n\n //añadir campos de filtros que esten en sesion\n\n let entities: any[] = [];\n sessionInfo.filters.forEach((filter) => {\n\n let entityField = this.entity?.fields?.find(m => m.id == Number(filter.entity_field_id));\n let isMetadata = false;\n if (entityField.model_property.indexOf(\"custom_\") >= 0) isMetadata = true;\n let isFieldExcluded = this.model._excluded_fields?.indexOf(entityField.model_property) >= 0;\n if (entityField != null && !isFieldExcluded) {\n\n //calcular operador segun tipo de datos\n if (entityField?.control_type == \"input-datetime\" || entityField?.control_type == \"input-number\") {\n this.model[\"_op_\" + entityField.model_property] = \"between\";\n } else if (entityField?.control_type == \"input-text\") {\n this.model[\"_op_\" + entityField.model_property] = \"like\";\n } else if (entityField?.control_type == \"dropdown\" || entityField?.control_type == \"dropdown-multiple\") {\n if (isMetadata) {\n this.model[\"_op_\" + entityField.model_property] = \"=\";\n } else {\n this.model[\"_op_\" + entityField.model_property] = \"in\";\n }\n } else if (entityField.control_type == \"checkbox\" && entityField.data_type == \"boolean\") {\n this.model[\"_op_\" + entityField.model_property] = \"=\";\n\n } else {\n this.model[\"_op_\" + entityField.model_property] = \"==\";\n }\n\n //cargamos combos\n if (entityField?.control_type == \"dropdown\" || entityField?.control_type == \"dropdown-multiple\") {\n //sacamos valor del combo\n if (entityField.configuration == null) return;\n if (entityField.configuration.options?.type == \"api\") {\n let params = \"\";\n //añadimos otros posibles parametros configurados\n if (entityField.configuration.options.params != null && Array.isArray(entityField.configuration.options.params)) {\n entityField.configuration.options.params.forEach(param => {\n let value = eval(param.value);\n if (typeof (value) != \"undefined\" && value != null && !isNaN(value)) params += (params != \"\" ? \"&\" : \"\") + param.name + \"=\" + value;\n });\n }\n if (params != \"\") params = \"?\" + params;\n\n this.debugService.log(this, \"getComboOptions \" + entityField.configuration.options.url + params);\n\n this.viewsService.getComboOptions(entityField.configuration.options.url + params).subscribe({\n next: (data: any) => {\n this.temporalCombos[entityField.model_property] = data.rows;\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n } else {\n this.temporalCombos[entityField.model_property] = entityField.configuration.options.items;\n\n }\n }\n\n if (filter.hasOwnProperty(\"value\") && filter.value != \"\" && filter.value != null) {\n if (entityField.control_type == \"input-number\") {\n //Componemos los numericos\n var auxValueNumber = filter.value.split(\"|\");\n this.model[entityField.model_property + \"_from\"] = auxValueNumber[0];\n this.model[entityField.model_property + \"_to\"] = auxValueNumber[1];\n } /*else if (entityField.control_type == \"input-datetime\") {\n this.model[entityField.model_property] = filter.value;\n\n }*/\n else {\n this.model[entityField.model_property] = filter.value;\n }\n\n }\n\n //metemos la entidad\n entityField.entity = { code: entityField.entity_code, name: entityField.entity_name };\n selectedFields.push(entityField);\n }\n });\n\n this.selectedEntitiesFieldsFilter = selectedFields;\n\n }\n\n getComboOptions(entityField, selectValue = null, filterValue = null) {\n\n if (entityField.configuration == null) return;\n if (entityField.configuration.options?.type == \"api\") {\n let params = \"\";\n if (filterValue != \"\" && filterValue != null) params = \"&text=\" + filterValue;\n //añadimos otros posibles parametros configurados\n if (entityField.configuration.options.params != null && Array.isArray(entityField.configuration.options.params)) {\n entityField.configuration.options.params.forEach(param => {\n let value = eval(param.value);\n if (typeof (value) != \"undefined\" && value != null && !isNaN(value)) params += (params != \"\" ? \"&\" : \"\") + param.name + \"=\" + value;\n });\n }\n if (params != \"\") params = \"?\" + params;\n\n this.debugService.log(this, \"getComboOptions \" + entityField.configuration.options.url + params);\n this.temporalCombos[entityField.model_property] = [];\n this.viewsService.getComboOptions(entityField.configuration.options.url + params).subscribe({\n next: (data: any) => {\n\n this.temporalCombos[entityField.model_property] = data.rows;\n //apaño porque no refresca bien los options tras el filtrado\n let components: MultiSelect[] = this.multiselects.toArray();\n let multiselect = components.find(m => m.inputId == entityField.model_property);\n if (multiselect != null) {\n multiselect.optionsToRender.splice(0, multiselect.optionsToRender.length);\n this.temporalCombos[entityField.model_property].forEach(option => {\n multiselect.optionsToRender.push(option);\n });\n }\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n }\n\n onModelChange(value, field) {\n\n if (this.getComboOptionsTimeout) clearTimeout(this.getComboOptionsTimeout);\n\n this.getComboOptionsTimeout = setTimeout(() => {\n if (value != null && value.filter != \"\" && field.configuration?.options?.onModelChangeRefresh) {\n this.getComboOptions(field, null, value.filter);\n } else {\n this.getComboOptions(field);\n }\n }, 500);\n }\n\n getLabel(field: any) {\n let label = field.label;\n if (label == \"\" || label == null) label = field.entityField?.description;\n return label;\n }\n\n openModalFilters(event: any) {\n const ref = this.dialogService.open(FilterModalComponent, {\n data: {\n selectedEntitiesFieldsFilter: this.selectedEntitiesFieldsFilter,\n fields: this.entity.fields.filter(m => {\n return this.model._excluded_fields == null || this.model._excluded_fields.indexOf(m.model_property) < 0;\n })\n },\n header: this.translateService.instant(\"general.filter.filter_fields\"), //\"Campos de búsqueda\" ,\n width: '600px',\n styleClass: 'p-dialog-footer-sticky'\n });\n ref.onClose.subscribe((data: any) => {\n\n if (data != null) {\n\n let sessionInfo = this.sessionStorage.retrieve(this.view.code);\n if (sessionInfo != null) {\n let finalFields: any[] = [];\n data.forEach(item => {\n let existsField = sessionInfo.filters.find(m => m.entity_field_id == item);\n if (existsField) {\n finalFields.push(existsField);\n } else {\n finalFields.push({ entity_field_id: item });\n }\n });\n sessionInfo.filters = finalFields;\n this.sessionStorage.store(this.view.code, sessionInfo);\n this.loadFiltersData();\n }\n }\n\n });\n }\n\n actionSearch() {\n Object.entries(this.model).forEach(([key, value]) => {\n if (!key.startsWith(\"_op_\")) {\n if (this.model[key] == null) {\n delete this.model[key];\n }\n }\n });\n this.saveFilters();\n\n this.viewsService.onFilterChange.emit();\n let eventPayload: any = { event: \"action\", valid: true, component: this.component.code, action: { name: \"search\" }, data: this.model };\n this.onEvent.emit(eventPayload);\n }\n\n resetFilters() {\n //limpiamos filtros del modelo\n let sessionInfo = this.sessionStorage.retrieve(this.view.code);\n Object.entries(this.model).forEach(([key, value]) => {\n if (key.indexOf(\"_op_\") < 0) {\n //buscamos valor en modelo original, por si hubiese algun filtro preestablecido por la pantalla\n var original_value = this.model_original[key];\n\n if (original_value != null) {\n this.model[key] = original_value;\n } else {\n this.model[key] = null;\n delete this.model[key];\n }\n }\n });\n\n //this.sessionStorage.clear(this.view.code);\n this.actionSearch();\n }\n\n saveViewFilters() {\n\n let sessionInfo = this.sessionStorage.retrieve(this.view.code);\n if (sessionInfo != null) {\n //Le añadimos los fitlros a la vista para guardarlos.\n if (this.component != null) {\n this.view.configuration.components?.forEach(component => {\n if (this.component.code == component.code) {\n component.filters = {};\n component.filters.filters = sessionInfo.filters;\n component.filters.allow_filter_panel = true;\n }\n });\n }\n }\n if (this.view.id) {\n this.viewsCustomService.add(this.view).subscribe({\n next: (data: any) => {\n this.messageService.add({ severity: \"success\", detail: this.translateService.instant(\"general.filter.save_filters\") });\n },\n error: (error: any) => {\n this.messageService.add({ severity: \"error\", detail: \"Error \" + error });\n }\n });\n\n } else {\n this.viewsService.createView(this.component);\n }\n\n }\n createViewFilters() {\n let sessionInfo = this.sessionStorage.retrieve(this.view.code);\n this.component.filters.filters = sessionInfo.filters;\n this.viewsService.createView(this.component);\n }\n\n saveFilters() {\n //convertimos campos number a un rango\n let sessionInfo = this.sessionStorage.retrieve(this.view.code);\n sessionInfo.filters.forEach((filter) => {\n let entityField = this.entity?.fields?.find(m => m.id == filter.entity_field_id);\n if (entityField != null) {\n if (entityField.control_type == \"input-number\") {\n let from_value = this.model[entityField.model_property + \"_from\"];\n let to_value = this.model[entityField.model_property + \"_to\"];\n if (typeof from_value == \"undefined\" || from_value == \"undefined\" || from_value == null || from_value == \"null\") from_value = \"\";\n if (typeof to_value == \"undefined\" || to_value == \"undefined\" || to_value == null || to_value == \"null\") to_value = \"\";\n if (from_value != \"\" || to_value != \"\") {\n this.model[entityField.model_property] = from_value + \"|\" + to_value;\n } else {\n delete this.model[entityField.model_property];\n }\n }\n //pasamos valor a sesion, si no esta excluido\n let ignore_session_value = this.model._ignore_session_fields?.findIndex(m => m == entityField.model_property) >= 0;\n if (!ignore_session_value) {\n let filter_value = this.model[entityField.model_property];\n if (filter_value == null) {\n //comprobsmos si estaba preestablecido, lo reestablecemos de nuevo salvo que este excluido (caso task.is_finished que tiene valor por defecto pero pueden cambiarlo)\n if (this.model._ignore_nullable_values?.findIndex(m => m == entityField.model_property) < 0) {\n let original_value = this.model_original[entityField.model_property];\n if (original_value != null) {\n filter_value = original_value;\n this.model[entityField.model_property] = this.model_original[entityField.model_property];\n }\n } else {\n filter_value = null;\n }\n }\n filter.value = filter_value;\n filter.operator = this.model[\"_op_\" + entityField.model_property];\n }\n\n }\n });\n this.sessionStorage.store(this.view.code, sessionInfo);\n }\n /*\n\n getFieldDescription(field: any, entityfieldObject: boolean = true) {\n let label = (entityfieldObject ? field.entityField?.description : field.description);\n if (field.label && field.label != null && field.label != \"\") {\n label = this.translateService.instant(field.label);\n } else {\n\n //No es parsear la descripción sino componer la clave. EJEM: contact.entity_fields.name\n let full_model_property = (entityfieldObject ? field.entityField?.model_property : field.model_property);\n let model_property = full_model_property.split(\".\"); //Porque si son de otra entidad a la pintada el model property llega concatenado.\n let keyTranslate = (entityfieldObject ? field.entityField?.entity_code : field.entity_code) + \".entity_fields.\" + model_property[model_property.length - 1];\n if (!entityfieldObject) console.log(keyTranslate, field);\n\n let label2 = this.translateService.instant(keyTranslate);\n if (keyTranslate != label2) {\n //No ha encontrado la clave, ponemos la descripción del campo.\n label = label2;\n }\n\n }\n return label;\n }\n getEntityName(entity: any) {\n let label = null;\n\n //Buscamos si está en la traducción key = \"contact.entity\"\n let key = entity.code + \".entity.name\";\n label = this.translateService.instant(key);\n if (key == label) {\n //No tiene traduccion devolvemos la base.\n label = entity.name;\n }\n return label;\n }*/\n\n}\n","\n
{{component | json}}
\n
\n\n
{{model | json}}
\n
\n\n
\n \n
\n
{{'general.filter.no_fields' | translate}}
\n
\n \n\n \n\n
\n \n  - \n \n
\n \n \n\n \n\n \n
\n \n \n
\n\n \n \n\n
\n\n\n
\n \n
\n
\n
\n\n\n\n \n \n \n {{componentService.getEntityName(allowedEntity)}}\n \n \n
\n
\n \n
\n
\n
\n
\n
\n
\n
\n
\n","import { AfterContentInit, AfterViewInit, ChangeDetectorRef, Component, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { ViewsService } from '../../views.service';\r\nimport { ViewComponentConfigureComponent } from '../configure/view-component-configure.component';\r\nimport { DatePipe } from '@angular/common';\r\nimport { MonacoEditorLoaderService, MonacoStandaloneCodeEditor } from '@materia-ui/ngx-monaco-editor';\r\nimport { TrackingComponent } from 'src/app/tracking/tracking.component';\r\nimport { moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, NgForm, Validators } from '@angular/forms';\r\nimport { OrganizationsService } from 'src/app/organizations/organizations.service';\r\nimport { TemplatesTypesService } from 'src/app/configuration/templates/templates-types.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { AttachmentsService } from 'src/app/attachments/attachments.service';\r\nimport { CustomizerService } from '../../customizer.service';\r\nimport { OverlayPanel } from 'primeng/overlaypanel';\r\nimport { ComponentService } from '../../component.service';\r\nimport { OnChanges } from '@angular/core';\r\nimport { TemplatesService } from '../../../../configuration/templates/templates.service';\r\nimport { Router } from '@angular/router';\r\nimport { OrganizationsContactsDetailComponent } from 'src/app/organizations/organizations-detail/organizations-contacts-detail/organizations-contacts-detail.component';\r\nimport { OrganizationsDetailGeneralComponent } from 'src/app/organizations/organizations-detail/organizations-detail-general/organizations-detail-general.component';\r\nimport { MailMarketingNotificationToStatsComponent } from 'src/app/mail-marketing/mail-marketing-notification-to-stats/mail-marketing-notification-to-stats.component';\r\nimport { DebugService } from 'src/app/core/debug.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport { TranslateCompiler, TranslateService } from '@ngx-translate/core';\r\nimport { UtilsService } from '../../../utils.service';\r\n\r\n\r\n@Component({\r\n selector: 'app-view-component-form',\r\n templateUrl: 'view-component-form.component.html',\r\n styleUrls: ['view-component-form.component.scss'],\r\n})\r\nexport class ViewComponentFormComponent implements OnInit, AfterViewInit, OnChanges, AfterContentInit {\r\n\r\n @Output() onEvent: EventEmitter = new EventEmitter();\r\n @ViewChild('opColumns') opColumns: OverlayPanel;\r\n @ViewChild('opField') opField: OverlayPanel;\r\n public form: UntypedFormGroup;\r\n @Input(\"component\") public component: any = {};\r\n @Input(\"index\") public index: number = 0;\r\n @Input(\"model\") public model: any = {};\r\n @Input(\"config\") public config: any = {};\r\n @Input(\"view\") public view: any = {};\r\n\r\n public isLocalModel: boolean = false;\r\n public localModel: any = {\r\n metadata: {}\r\n };\r\n private cachedModel: any = null;\r\n @Input(\"showConfigOptions\") public showConfigOptions: boolean = false;\r\n\r\n public isOpenned: boolean = false;\r\n public temporalModel: any = {};\r\n public temporalCombos: any = {};\r\n public entity: any = {};\r\n public parentFields: any[] = [];\r\n public modelMonaco: any = {};\r\n public itemsSplitButton: any = [];\r\n public resultsAutocomplete: string[];\r\n public allowedEntities: any[] = [];\r\n public allowedEntitiesFields: any = {};\r\n public locked: boolean = false;\r\n public selectedFieldOperators: any[] = [];\r\n public editorOptions = { theme: 'vs-dark', language: 'json' };\r\n tinyMceConfig: any;\r\n public showTinyMCE: boolean = false;\r\n public showMapIcon: boolean = false;\r\n public configurationPermission: boolean = false;\r\n public zonesPermission: boolean = false;\r\n public selectedField: any = {};\r\n public customizableOptions: any = {};\r\n public columnsFilter: string = \"\";\r\n public visibleByOptions: any[] = [\r\n { code: \"all\", label: this.translateService.instant(\"view.configure.all\") },\r\n { code: \"user\", label: this.translateService.instant(\"view.configure.user_responsible\") }\r\n ];\r\n public editableByOptions: any[] = [\r\n { code: \"all\", label: this.translateService.instant(\"view.configure.all\") },\r\n { code: \"user\", label: this.translateService.instant(\"view.configure.user_responsible\") }\r\n ];\r\n public watchModelFields: any[] = [];\r\n public files: File[];\r\n\r\n toggleInputs = (lock: boolean) => {\r\n // Bloquear elementos nativos\r\n const nativeElements = document.querySelectorAll('input, textarea, select');\r\n nativeElements.forEach(field => {\r\n if (\r\n field instanceof HTMLInputElement ||\r\n field instanceof HTMLTextAreaElement ||\r\n field instanceof HTMLSelectElement\r\n ) {\r\n field.disabled = lock;\r\n }\r\n });\r\n\r\n // Bloquear elementos de PrimeNG\r\n const primeNgElements = document.querySelectorAll(\r\n '.p-inputtext, .p-dropdown, .p-multiselect'\r\n );\r\n primeNgElements.forEach(field => {\r\n field.setAttribute('disabled', lock ? 'true' : 'false'); // Añade el atributo \"disabled\"\r\n if (lock) {\r\n field.classList.add('p-disabled'); // Añade la clase \"p-disabled\" usada por PrimeNG\r\n } else {\r\n field.classList.remove('p-disabled'); // Elimina la clase \"p-disabled\"\r\n }\r\n });\r\n };\r\n\r\n constructor(\r\n public debugService: DebugService,\r\n private organizationsService: OrganizationsService,\r\n private entitiesService: EntitiesService,\r\n private messageService: MessageService,\r\n private viewsService: ViewsService,\r\n private dialogService: DialogService,\r\n private datePipe: DatePipe,\r\n private loginService: LoginService,\r\n private monacoLoaderService: MonacoEditorLoaderService,\r\n private ref: ChangeDetectorRef,\r\n private formBuilder: UntypedFormBuilder,\r\n private customizerService: CustomizerService,\r\n private router: Router,\r\n public componentService: ComponentService,\r\n public templateService: TemplatesService,\r\n public translateService: TranslateService,\r\n private utilsService: UtilsService\r\n ) {\r\n\r\n\r\n this.form = this.formBuilder.group({});\r\n this.showMapIcon = loginService.hasPermission(\"VIEW_MAP_BUTTON\");\r\n this.configurationPermission = loginService.hasPermission(\"CONFIGURATION\");\r\n this.zonesPermission = loginService.hasPermission(\"ZONES_READ\");\r\n\r\n this.customizerService.moved.subscribe((event) => {\r\n if (this.component.code == event.customizer.component.code) {\r\n var field = this.component.fields[event.idx];\r\n moveItemInArray(this.component.fields, event.from, event.to);\r\n this.generateFieldsIdx();\r\n }\r\n });\r\n this.customizerService.resized.subscribe((event) => {\r\n if (this.component.code == event.customizer.component.code) {\r\n var field = this.component.fields[event.idx];\r\n field.class = \"p-md-\" + event.size;\r\n }\r\n });\r\n }\r\n\r\n ngAfterViewInit() {\r\n this.customizableOptions.component = this.component;\r\n this.generateFieldsIdx();\r\n //this.toggleInputs(this.blockValuesInFields());\r\n }\r\n \r\n blockValuesInFields() {\r\n if (this.component?.entity == null) {\r\n return false;\r\n }\r\n switch (this.component.entity) {\r\n case \"organization\":\r\n return !this.loginService.hasPermission(\"ORGANIZATIONS_WRITE\");\r\n case \"contact\":\r\n return !this.loginService.hasPermission(\"CONTACTS_WRITE\");\r\n case \"meeting\":\r\n return !this.loginService.hasPermission(\"MEETINGS_WRITE\");\r\n case \"task\":\r\n return !this.loginService.hasPermission(\"TASKS_WRITE\");\r\n case \"user\":\r\n return !this.loginService.hasPermission(\"USERS_WRITE\");\r\n case \"report\":\r\n return !this.loginService.hasPermission(\"REPORTS_WRITE\");\r\n case \"transaction\":\r\n return !this.loginService.hasPermission(\"TRANSACTIONS_WRITE\");\r\n case \"template\":\r\n return !this.loginService.hasPermission(\"TEMPLATES_WRITE\");\r\n case \"family\":\r\n return !this.loginService.hasPermission(\"FAMILIES_WRITE\");\r\n case \"zone\":\r\n return !this.loginService.hasPermission(\"ZONES_WRITE\");\r\n case \"oportunity\":\r\n return !this.loginService.hasPermission(\"OPORTUNITIES_WRITE\");\r\n case \"sale\":\r\n return !this.loginService.hasPermission(\"SALES_WRITE\");\r\n case \"business\":\r\n return !this.loginService.hasPermission(\"BUSINESS_WRITE\");\r\n case \"product\":\r\n return !this.loginService.hasPermission(\"PRODUCTS_WRITE\");\r\n case \"lead\":\r\n return !this.loginService.hasPermission(\"LEADS_WRITE\");\r\n case \"campaign\":\r\n return !this.loginService.hasPermission(\"CAMPAIGNS_WRITE\");\r\n case \"transactionLine\":\r\n return !this.loginService.hasPermission(\"TRANSACTIONS_WRITE\");\r\n default:\r\n return false;\r\n }\r\n return false;\r\n }\r\n\r\n ngAfterContentInit() {\r\n this.generateFieldsIdx();\r\n }\r\n generateFieldsIdx() {\r\n\r\n let idx = 0;\r\n this.component.fields.forEach(field => {\r\n field.idx = idx;\r\n idx++;\r\n });\r\n }\r\n\r\n ngOnChanges(changes: any) {\r\n\r\n this.debugService.log(this, changes);\r\n\r\n this.watchModelFields.forEach(field => {\r\n if (changes.model != null && changes.model.currentValue != null && changes.model.currentValue[field.entityField.model_property] != changes.model.previousValue[field.entityField.model_property]) {\r\n if (field.entityField?.configuration?.options?.onModelChangeRefresh) {\r\n\r\n //es un combo, recargamos datos\r\n let value = changes.model.currentValue[field.entityField.model_property];\r\n this.debugService.log(this, \"ngOnChanges for property \" + field.entityField.model_property + \" to value \" + value)\r\n this.getComboOptions(field.entityField, value);\r\n }\r\n }\r\n });\r\n\r\n if (changes[\"showConfigOptions\"]) {\r\n if (changes[\"showConfigOptions\"].currentValue) {\r\n this.customizerService.enable();\r\n } else {\r\n this.customizerService.disable();\r\n }\r\n }\r\n\r\n if (changes[\"model\"]) {\r\n //asignamos modelo general solo si no esta personalizado en local\r\n this.debugService.log(this, \"Model change detected\");\r\n if (!this.isLocalModel) {\r\n let newModel = changes[\"model\"].currentValue;\r\n if (newModel.metadata == null) newModel.metadata = JSON.parse(\"{}\");\r\n this.debugService.log(this, newModel);\r\n //if(JSON.stringify(this.localModel)!=JSON.stringify(newModel)){\r\n this.localModel = newModel;\r\n //if(this.cachedModel==null){\r\n //quitado, se supone que siempre el ultimo valor recibido\r\n this.cachedModel = JSON.parse(JSON.stringify(this.localModel));\r\n this.debugService.log(this, \"Setting cachedModel\");\r\n this.debugService.log(this, this.cachedModel);\r\n //}\r\n /*}else{\r\n this.debugService.log(this, \"No changes in model!\");\r\n }*/\r\n } else {\r\n this.debugService.log(this, \"localModel are not set, using customized model\");\r\n }\r\n }\r\n }\r\n\r\n configureTinyMce(field) {\r\n const that = this;\r\n\r\n this.tinyMceConfig =\r\n {\r\n promotion: false,\r\n height: 500,\r\n menubar: true,\r\n browser_spellcheck: true,\r\n contextmenu: false,\r\n toolbar: [\r\n 'undo redo | bold italic underline | fontselect fontsizeselect fontsize fontfamily formatselect |' +\r\n 'alignleft aligncenter alignright alignjustify | outdent indent | numlist bullist checklist |' +\r\n 'forecolor casechange permanentpen formatpainter removeformat | fullscreen | insertfile image media pageembed link | table quickbars | variablesButton variablesLinesButton | previewButton'\r\n ],\r\n plugins: 'quickbars',\r\n quickbars_insert_toolbar: \"quicktable\",\r\n content_css: \"../assets/stylesTinymceCustom.css\", //\"https://assets.codepen.io/413052/templates-noneditable-styling-content.css\",\r\n noneditable_noneditable_class: \"mceNonEditable\",\r\n toolbar_mode: 'wrap',\r\n language: 'es',\r\n language_url: '/assets/tinymce/langs/es.js',\r\n relative_urls: false,\r\n remove_script_host: false,\r\n document_base_url: 'https://app.axialcrm.com/',\r\n file_picker_types: 'image',\r\n paste_data_images: false,\r\n /* and here's our custom image picker*/\r\n file_picker_callback: function (cb, value, meta) {\r\n var input = document.createElement('input');\r\n input.setAttribute('type', 'file');\r\n input.setAttribute('accept', 'image/*');\r\n\r\n input.onchange = function (e) {\r\n var file = e.target[\"files\"][0];\r\n var reader = new FileReader();\r\n reader.onload = (event: any) => {\r\n var datafile = {\r\n FileName: file.name,\r\n ContentType: file.type,\r\n Length: file.size,\r\n b64: event.target.result\r\n };\r\n that.templateService.UploadImage(datafile).subscribe(\r\n (data: any) => {\r\n cb(data.location);\r\n //FALTA Pintar la imagen con la url en el visor.... work in progress\r\n },\r\n error => {\r\n that.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n };\r\n reader.readAsDataURL(file);\r\n };\r\n\r\n input.click();\r\n }\r\n };\r\n\r\n //const that = this;\r\n if (field.configuration != null && field.configuration.allowMoreInfo) {\r\n let params = \"\";\r\n //añadimos otros posibles parametros configurados\r\n if (field.configuration.options.params != null && Array.isArray(field.configuration.options.params)) {\r\n field.configuration.options.params.forEach(param => {\r\n let value = eval(param.value);\r\n if (typeof (value) != \"undefined\" && value != null) params += (params != \"\" ? \"&\" : \"\") + param.name + \"=\" + value;\r\n });\r\n\r\n if (params != \"\") params = \"?\" + params;\r\n\r\n this.viewsService.getComboOptions(field.configuration.options.url + params).subscribe(\r\n data => {\r\n let result = data;\r\n let showLinesTransaction = false;\r\n result.forEach(element => {\r\n if (element.entity_navigation == \"transactionsLines\") showLinesTransaction = true;\r\n });\r\n this.tinyMceConfig[\"setup\"] = function (editor) {\r\n let toggleState = false;\r\n /* example, adding a toolbar menu button */\r\n editor.ui.registry.addMenuButton('variablesButton', {\r\n text: 'Variables',\r\n fetch: function (callback) {\r\n //TODO: SELECCIONAR EL QUE CORRESPONDA DE templates_types_id no entiendo como saber cual es el disponible.\r\n let items = [];\r\n result.forEach(element => {\r\n items.push({\r\n type: 'nestedmenuitem',\r\n text: element.entity_name,\r\n getSubmenuItems: function () {\r\n let aux = [];\r\n element.options.forEach(option => {\r\n aux.push({\r\n type: 'menuitem',\r\n text: option.text,\r\n //icon: 'unlock',\r\n onAction: function () {\r\n editor.insertContent(option.action);\r\n }\r\n })\r\n });\r\n return aux;\r\n }\r\n });\r\n });\r\n callback(items);\r\n }\r\n });\r\n if (showLinesTransaction) {\r\n editor.ui.registry.addButton('variablesLinesButton', {\r\n text: 'Añadir bloque de lineas',\r\n onAction: function () {\r\n //that.addForeach()\r\n editor.insertContent('

@foreach(var item in @Model.transactionsLines){

\\n\\n\\n\\n\\n

}

', { format: 'html' });\r\n\r\n }\r\n })\r\n }\r\n };\r\n this.showTinyMCE = true;\r\n }\r\n );\r\n }\r\n } else {\r\n this.showTinyMCE = true;\r\n }\r\n\r\n }\r\n\r\n onBasicUpload(file, url) {\r\n var datafile = {\r\n FileName: file.name,\r\n ContentType: file.type,\r\n Length: file.size,\r\n b64: url\r\n };\r\n this.templateService.UploadImage(datafile).subscribe(\r\n (data: any) => {\r\n //FALTA Pintar la imagen con la url en el visor.... work in progress\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n configField($event, field: any) {\r\n this.selectedField = field;\r\n this.selectedFieldOperators = this.getFilterOperators(this.selectedField);\r\n this.opField.toggle($event);\r\n }\r\n\r\n myFun() {\r\n //ya no lo hacemos proque se quedaba pillado hasta que se movía el ratón\r\n this.onEvent.emit({ event: \"action\", valid: true, component: this.component.code, action: { name: \"preview\" }, data: this.model });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.component.fields.forEach(field => {\r\n let property = field.model_property;\r\n if (field.model_property_label != null && field.model_property_label != \"\") {\r\n property = field.model_property_label;\r\n }\r\n try {\r\n this.temporalModel[property] = eval(\"this.model.\" + property);\r\n } catch (e) {\r\n console.warn(`Error evaluando this.model.${property}`);\r\n }\r\n });\r\n\r\n this.entitiesService.getByCode(this.component.entity).subscribe(\r\n data => {\r\n this.entity = data;\r\n //onsole.log(this.entity);\r\n if (this.entity.metadata?.tracking?.enabled) {\r\n this.configurationPermission = this.loginService.hasPermission(\"CONFIGURATION\");\r\n } else {\r\n this.configurationPermission = false;\r\n }\r\n this.entity.fields.forEach(entityField => {\r\n //si no es de la entidad actual no permitimos modificarlo\r\n if (entityField.entity_id != this.entity.id) entityField.unmodifiable = true;\r\n });\r\n\r\n let newFields: any = [];\r\n let user_role_id = localStorage.getItem(\"roleId\") + \"\";\r\n this.component.fields.forEach(field => {\r\n let hasRole = true;\r\n let entityField = this.entity.fields.find(m => m.id == field.entity_field_id);\r\n if (!this.model.id && entityField?.default_value) {\r\n if (entityField.data_type == \"number\") {\r\n this.model[entityField.model_property] = parseInt(entityField.default_value);\r\n } else if (entityField.data_type == \"boolean\") {\r\n this.model[entityField.model_property] = JSON.parse(entityField.default_value);\r\n } else {\r\n this.model[entityField.model_property] = entityField.default_value;\r\n }\r\n }\r\n let viewRoles;\r\n if (entityField?.configuration != null) viewRoles = entityField.configuration['viewRoles'];\r\n if (viewRoles != null && viewRoles.length > 0) {\r\n if (!viewRoles.find(role => role == user_role_id)) hasRole = false;\r\n }\r\n\r\n\r\n if (entityField != null && typeof (entityField) !== \"undefined\" && !entityField.is_disabled && hasRole) {\r\n\r\n newFields.push(field);\r\n field.entityField = entityField;\r\n\r\n if (field.entityField.control_type == \"dropdown\" || field.entityField.control_type == \"dropdown-multiple\") {\r\n if (field.entityField.configuration.parent_field_id != null) {\r\n\r\n this.addToParentField(field.entityField.configuration.parent_field_id, field);\r\n }\r\n //si se debe refrescar onModelChangeRefresh, lo añadimos a la lista de campo que escuchamos cambios\r\n if (field.entityField?.configuration?.options?.onModelChangeRefresh != null) {\r\n this.watchModelFields.push(field);\r\n }\r\n\r\n this.debugService.log(this, \"ngOnInit\");\r\n this.getComboOptions(field.entityField);\r\n\r\n } else if (field.entityField.control_type == \"monaco\") {\r\n this.modelMonaco[field.entityField?.model_property] = JSON.stringify(this.getModelValue(this.model, field), null, \"\\t\");\r\n } else if (field.entityField.control_type == \"input-editor\") {\r\n this.configureTinyMce(field.entityField);\r\n }\r\n if (!field.entityField?.is_base_field) {\r\n if (this.model.metadata == null) this.model.metadata = JSON.parse(\"{}\");\r\n }\r\n\r\n //añadimos campos y validaciones\r\n if (field.required && this.componentService.isVisibleField(field, this.model)) {\r\n this.form.addControl(field.entityField.model_property, new UntypedFormControl('', Validators.required));\r\n } else {\r\n this.form.addControl(field.entityField.model_property, new UntypedFormControl());\r\n }\r\n\r\n }\r\n\r\n //fin de foreach.\r\n });\r\n this.component.fields = newFields;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n isOpen() {\r\n return this.isOpenned;\r\n }\r\n\r\n setModel(model: any) {\r\n this.localModel = model;\r\n if (this.localModel.metadata == null) this.localModel.metadata = JSON.parse(\"{}\");\r\n\r\n this.isLocalModel = true;\r\n }\r\n\r\n getModel(): any {\r\n return this.model;\r\n }\r\n\r\n editorInit(editor: MonacoStandaloneCodeEditor) {\r\n }\r\n\r\n onMonacoChange(event, field) {\r\n this.model[field.entityField?.model_property] = JSON.parse(this.modelMonaco[field.entityField?.model_property]);\r\n }\r\n\r\n onAutocompleteSearch(event, field) {\r\n let filtered: any[] = [];\r\n let params = \"?\" + field.configuration.field_text + \"=\" + event.query;\r\n this.viewsService.getComboOptions(field.configuration.options.url + params).subscribe(\r\n data => {\r\n this.resultsAutocomplete = data.rows;\r\n }\r\n );\r\n }\r\n onSelectAutocomplete(model, field) {\r\n this.onEvent.emit({ event: \"text-autocomplete\", valid: true, component: this.component.code, action: { name: \"select\" }, data: this.model, entityField: field.entityField, });\r\n }\r\n onKeyUpAutocomplete($event, field, currentValue) {\r\n this.form.get(field.entityField.model_property).setValue(currentValue);\r\n }\r\n\r\n addToParentField(parent_field_id: number, field: any) {\r\n let exists = this.parentFields.filter(m => m.id == parent_field_id);\r\n let parentField = {\r\n id: parent_field_id,\r\n childs: []\r\n };\r\n if (exists.length > 0) {\r\n parentField = exists[0];\r\n } else {\r\n this.parentFields.push(parentField);\r\n }\r\n parentField.childs.push(field);\r\n }\r\n\r\n getTooltipAction(action: any) {\r\n let tooltip = \"\";\r\n if (action.tooltip != null) {\r\n tooltip = action.tooltip;\r\n } else if (action.tooltipExpression != null) {\r\n tooltip = eval(action.tooltipExpression);\r\n }\r\n return tooltip;\r\n }\r\n\r\n getFieldPreActions(field: any) {\r\n let actions: any[] = [];\r\n if (field.entityField?.configuration?.preActions) {\r\n field.entityField?.configuration?.preActions.forEach(action => {\r\n let visible = this.isActionVisible(action) && !this.isSplitButton(action) && this.isFieldActionsVisible(field);\r\n if (visible) actions.push(action);\r\n });\r\n }\r\n return actions;\r\n }\r\n\r\n getFieldActions(field: any) {\r\n let actions: any[] = [];\r\n if (field.entityField?.configuration?.actions) {\r\n field.entityField?.configuration?.actions.forEach(action => {\r\n let visible = this.isActionVisible(action) && !this.isSplitButton(action) && this.isFieldActionsVisible(field);\r\n if (visible) actions.push(action);\r\n });\r\n }\r\n return actions;\r\n }\r\n\r\n getFieldActionsSplit(field: any) {\r\n let actions: any[] = [];\r\n if (field.entityField?.configuration?.actions) {\r\n field.entityField?.configuration?.actions.forEach(action => {\r\n let visible = this.isActionVisible(action) && this.isSplitButton(action) && this.isFieldActionsVisible(field);\r\n if (visible) {\r\n action.options.forEach(option => {\r\n option.command = () => {\r\n this.onEvent.emit({ event: \"action\", valid: true, component: this.component.code, action: option, data: this.model });\r\n }\r\n });\r\n actions.push(action);\r\n }\r\n });\r\n }\r\n return actions;\r\n }\r\n\r\n getStyledClass(field: any) {\r\n let classNames = \"\";\r\n if (field.entityField.configuration?.styledClass != null) {\r\n classNames = field.entityField.configuration?.styledClass;\r\n } else if (field.entityField.configuration?.styledClassExpression != null) {\r\n classNames = eval(field.entityField.configuration?.styledClassExpression);\r\n }\r\n return classNames;\r\n }\r\n\r\n getFieldFormat(field: any) {\r\n let formatFn = field.formatFn;\r\n if (formatFn == null && field.entityField?.configuration != null && field.entityField?.configuration?.formatFn != null) {\r\n formatFn = field.entityField.configuration.formatFn;\r\n }\r\n return formatFn;\r\n }\r\n\r\n getModelValue(model, field) {\r\n let value: any = null;\r\n\r\n let property = field.entityField?.model_property;\r\n if (field.entityField?.model_property_label != null && field.entityField?.model_property_label != \"\") {\r\n property = field.entityField?.model_property_label;\r\n }\r\n if (field?.entityField?.is_base_field == false) {\r\n //Si el campo no es base, entonces es un custom. Lo añadimos al value:\r\n try {\r\n\r\n if (this.component.entity == field.entityField?.entity_code) {\r\n //Si es la misma entidad la buscamos en el metadata\r\n value = eval(\"model.metadata.\" + property);\r\n } else {\r\n //Si es distinta entidad, la propiedad model_property tiene la ruta entera (Ejem: organization.metadata.custom_232)\r\n\r\n const modelCustom = property.replaceAll(\".\", '?.');\r\n value = eval(\"model.\" + modelCustom);\r\n }\r\n\r\n } catch (e: any) {\r\n console.warn(\"error evaluando:\" + model.metadata + \" \" + e.message);\r\n }\r\n\r\n if (field.entityField?.control_type == \"checkbox\") {\r\n if (value) {\r\n value = this.translateService.instant(\"general.yes\");\r\n } else {\r\n value = this.translateService.instant(\"general.no\");\r\n }\r\n }\r\n\r\n if (field.entityField?.control_type == \"dropdown\") {\r\n //sacamos valor del combo\r\n //let selectedValue = model.metadata[field.entityField?.model_property]; // eval(\"model.\" + field.entityField?.model_property);\r\n let selectedValue = value;\r\n if (this.temporalCombos[property]) {\r\n this.temporalCombos[property].forEach((item) => {\r\n if (eval(\"item.\" + field.entityField?.configuration?.field_value) == selectedValue) {\r\n this.temporalModel[property] = selectedValue;\r\n value = eval(\"item.\" + field.entityField?.configuration?.field_text);\r\n }\r\n });\r\n }\r\n } else if (field.entityField?.control_type == \"dropdown-multiple\") {\r\n //sacamos valor del multiselect\r\n var selectedValues = value;\r\n /*if (this.component.entity != field.entityField?.entity_code) {\r\n //si es distinta entidad el model_property tiene la ruta correcta\r\n //console.log(this.model, field)\r\n const modelCustom = field.entityField?.model_property.replaceAll(\".\", '?.');\r\n console.log(modelCustom)\r\n \r\n selectedValues = eval(\"model.\" + modelCustom);\r\n } else {\r\n //Si es la misma entidad, la buscamos en el metadata.\r\n selectedValues = model.metadata[field.entityField?.model_property];\r\n }*/\r\n\r\n //let selectedValues = model.metadata[field.model_property]; // eval(\"model.\" + field.entityField?.model_property);\r\n if (!(selectedValues instanceof Array)) selectedValues = [selectedValues];\r\n if (this.temporalCombos[property]) {\r\n value = \"\";\r\n selectedValues.forEach(selectedValue => {\r\n this.temporalCombos[property].forEach((item) => {\r\n if (eval(\"item.\" + field.entityField?.configuration?.field_value) == selectedValue) {\r\n this.temporalModel[property] = selectedValue;\r\n if (value != \"\") value += \", \";\r\n value += eval(\"item.\" + field.entityField?.configuration?.field_text);\r\n }\r\n });\r\n });\r\n }\r\n }\r\n\r\n } else {\r\n if (field.entityField?.control_type == \"dropdown\" || field.entityField?.control_type == \"dropdown-multiple\") {\r\n //sacamos valor del combo\r\n //Lo ponemos así por tema de tiempos, para que no falle ya que pone model.organization.zone_id y fallaba hasta que estuviese cargado así que le pongo model.organization?.zone_id y se arregla.\r\n const modelCustom = property.replaceAll(\".\", '?.');\r\n let selectedValue = eval(\"model.\" + modelCustom);\r\n if (this.temporalCombos[property]) {\r\n this.temporalCombos[property].forEach((item) => {\r\n if (eval(\"item.\" + field.entityField?.configuration?.field_value) == selectedValue) {\r\n this.temporalModel[property] = selectedValue;\r\n value = eval(\"item.\" + field.entityField?.configuration?.field_text);\r\n }\r\n });\r\n }\r\n } else {\r\n try {\r\n this.temporalModel[property] = eval(\"model.\" + property);\r\n\r\n } catch (e) {\r\n //nothing\r\n }\r\n value = this.temporalModel[property];\r\n }\r\n }\r\n\r\n if (field.entityField?.control_type == \"input-switch\") {\r\n if (value) {\r\n value = this.translateService.instant(\"general.yes\");\r\n } else {\r\n value = this.translateService.instant(\"general.no\");\r\n }\r\n }\r\n\r\n let formatFn = this.getFieldFormat(field);\r\n if (formatFn != null) {\r\n let format = formatFn.split(\"|\");\r\n\r\n if (format[0] == \"date\") value = this.utilsService.formatDate(value, format);\r\n if (format[0] == \"suffix\") value = this.utilsService.formatSuffix(value, format);\r\n if (format[0] == \"phone\") value = this.formatPhone(value, format); //No se llama al ustils porque hay cosas distintas... \r\n if (format[0] == \"mail\") value = this.formatMail(value, format); //No se llama al ustils porque hay cosas distintas...\r\n if (format[0] == \"www\") value = this.utilsService.formatWWW(value, format);\r\n if (format[0] == \"badge\") value = this.formatBadge(field, value, format); //No se llama al ustils porque hay cosas distintas...\r\n if (format[0] == \"badgeColor\") value = this.formatBadgeColor(field, value, format); //No se llama al ustils porque hay cosas distintas...\r\n if (format[0] == \"image\") value = this.utilsService.formatImage(field, format);\r\n if (format[0] == \"currency\") value = this.utilsService.formatCurrency(value, format);\r\n if (format[0] == \"number\") value = this.utilsService.formatNumber(value, format);\r\n if (format[0] == \"class\") {\r\n value = value = this.utilsService.formatClass(format[1], null, value, format[2], this.model);\r\n }\r\n }\r\n\r\n return value;\r\n\r\n }\r\n\r\n formatPhone(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n let formattedValue = \" \" + value + \"\";\r\n return formattedValue;\r\n }\r\n formatMail(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n let formattedValue = \" \" + value + \"\";\r\n return formattedValue;\r\n }\r\n\r\n formatBadge(field: any, value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n let className = \"\";\r\n let subClassName = \"\";\r\n let formattedValue = \"\";\r\n if (field) {\r\n if (args[1] != \"\") {\r\n try {\r\n let valorID = eval(\"this.model.\" + field.model_property);\r\n subClassName = args[1] + valorID;\r\n } catch (e) {\r\n console.warn(`Error evaluando this.model.${field.entityField.model_property}`);\r\n }\r\n }\r\n className = \"badge badge-block \" + subClassName;\r\n formattedValue = \"
\" + value + \"
\";\r\n }\r\n\r\n return formattedValue;\r\n }\r\n\r\n formatBadgeColor(field: any, value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n let className = \"\";\r\n let subClassName = \"\";\r\n if (field) {\r\n let refValue = \"\";\r\n if (args[1] != \"\") {\r\n try {\r\n let valorID = eval(\"this.model.\" + field.model_property);\r\n subClassName = args[1] + valorID;\r\n } catch (e) {\r\n this.debugService.log(this, `Error evaluando this.model.${field.entityField.model_property}`);\r\n }\r\n }\r\n\r\n if (typeof (value) !== \"undefined\" && value != \"\" && value != null) {\r\n className = \"p-badge p-component p-badge-no-gutter p-badge-xs p-mr-2 \" + subClassName;\r\n var formattedValue = \"
\" + value;\r\n } else {\r\n var formattedValue = \"
\";\r\n }\r\n\r\n }\r\n\r\n return formattedValue;\r\n }\r\n\r\n getLabel(field: any) {\r\n let label = field.label;\r\n if (label == \"\" || label == null) label = field.entityField?.description;\r\n return label;\r\n }\r\n\r\n getComboOptions(field, selectValue = null, filterValue = null) {\r\n\r\n if (field.configuration == null) return;\r\n if (field.configuration.options?.type == \"api\") {\r\n //añadimos campos enlazados\r\n let params = \"\";\r\n if (filterValue != \"\" && filterValue != null) params = \"&text=\" + filterValue;\r\n if (field.configuration.parent_field_id != null) {\r\n let parentFields = this.component.fields.filter(m => m.entityField?.id == field.configuration.parent_field_id);\r\n if (parentFields.length > 0) {\r\n try {\r\n let parentValue = eval(\"this.model.\" + parentFields[0].entityField?.model_property);\r\n if (parentValue == null && field.configuration.parent_field_required) parentValue = \"0\";\r\n if (parentValue != null) params = parentFields[0].entityField.model_property + \"=\" + parentValue;\r\n } catch (e: any) {\r\n console.log(\"error badge: \" + e.message);\r\n }\r\n }\r\n }\r\n if (this.component.mode == \"filter\") {\r\n params += (params != \"\" ? \"&\" : \"\") + \"isOnFilter=true\";\r\n }\r\n //añadimos otros posibles parametros configurados\r\n if (field.configuration.options.params != null && Array.isArray(field.configuration.options.params)) {\r\n field.configuration.options.params.forEach(param => {\r\n let value = eval(param.value);\r\n\r\n if (typeof (value) != \"undefined\" && value != null && !isNaN(value)) params += (params != \"\" ? \"&\" : \"\") + param.name + \"=\" + value;\r\n });\r\n }\r\n if (params != \"\") params = \"?\" + params;\r\n\r\n this.debugService.log(this, \"getComboOptions \" + field.configuration.options.url + params);\r\n\r\n this.viewsService.getComboOptions(field.configuration.options.url + params).subscribe(\r\n data => {\r\n this.temporalCombos[field.model_property] = data.rows;\r\n //si el seleccionado no existe, lo vaciamos\r\n let selectedItem = null;\r\n let selectedValue = null;\r\n try {\r\n selectedValue = eval(\"this.model.\" + field.model_property);\r\n if (selectedValue == null || typeof (selectedValue) == \"undefined\") selectedValue = eval(\"this.cachedModel.\" + field.model_property);\r\n //Si solo hay una opción \r\n /*if (selectedValue == null || typeof (selectedValue) == \"undefined\") {\r\n if (data.rows.length == 1) {\r\n selectedValue = eval(\"data.rows[0].\" + field.configuration?.field_value);\r\n }\r\n }*/\r\n } catch (e) {\r\n console.warn(`Error evaluando this.model.${field.model_property}`);\r\n }\r\n this.debugService.log(this, \"Evaluated value for \" + field.model_property + \" is \" + selectedValue);\r\n if (selectedValue != null && typeof (selectedValue) != \"undefined\") {\r\n this.temporalCombos[field.model_property].forEach((item) => {\r\n if (eval(\"item.\" + field.configuration?.field_value) == selectedValue) {\r\n selectedItem = item;\r\n this.onChange(selectedItem.id, { entityField: field }, selectedValue); //Si está preseleccionado, se llama al onchange para recargar\r\n }\r\n });\r\n }\r\n //este codigo sigueinte parece quitar el valor en caso de no estar ya en la lista\r\n //pero esto trae problemas si por ejemplo no tiene acceso a la organización en cuestión aunque exista, etc.\r\n //no tengo claro cual es la solución, pero quitar el valor sin que el usaurio sea consciente no, porque otro usaurio que si podía estableció el valor correctamente\r\n /*if (selectedItem == null) {\r\n //no tengo claro que resuelve esto\r\n //no deberia quitar un valor sin ser consciente el usuario\r\n if (this.temporalCombos[field.model_property] != \"undefined\") {\r\n try {\r\n eval(\"this.localModel.\" + field.model_property + \"=null\");\r\n } catch (e) {\r\n console.warn(`Error evaluando this.localModel.${field.model_property}=null`);\r\n }\r\n }\r\n this.model[field.navigation_property] = null;\r\n }*/\r\n //veo que reestablece la propiedad pero no entiendo por que hace esto\r\n if (selectedValue != null && typeof (selectedValue) != \"undefined\") {\r\n this.debugService.log(this, \"Setting property \" + field.model_property + \" = \" + selectedValue);\r\n this.model[field.model_property] = selectedValue;\r\n }\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n } else {\r\n this.temporalCombos[field.model_property] = field.configuration.options.items;\r\n }\r\n }\r\n\r\n onModelChange(value, field) {\r\n if (value != null && field.entityField?.configuration?.options?.onModelChangeRefresh) {\r\n this.getComboOptions(field.entityField);\r\n }\r\n }\r\n\r\n getSplitOptions(field) {\r\n this.itemsSplitButton = [];\r\n if (field.options == null) return;\r\n //añadimos otros posibles parametros configurados\r\n if (field.options != null && Array.isArray(field.options)) {\r\n field.options.forEach(param => {\r\n let aux: any = {};\r\n aux.label = param.label;\r\n if (param.icon != null && Array.isArray(param.icon)) aux.icon = param.icon.join(' ');\r\n aux.command = () => {\r\n this.onEvent.emit({ event: \"action\", valid: true, component: this.component.code, action: param, data: this.model });\r\n }\r\n this.itemsSplitButton.push(aux);\r\n\r\n });\r\n }\r\n }\r\n\r\n fireEvent(component: string, event: string, args: any) {\r\n if (event == \"reload\") {\r\n //nada\r\n }\r\n }\r\n\r\n getActions(actions: any[], position: string) {\r\n if (actions == null) return [];\r\n return actions.filter(m => m.position == position);\r\n }\r\n\r\n isFieldActionDisabled(field: any, action: any) {\r\n\r\n let ret = false;\r\n if (action.disabled != null) {\r\n try {\r\n //Errores si no existe la entidad.\r\n let propertyNullCheck = field.entityField?.model_property.replace(\".\", \"?.\");\r\n let value = eval(\"this.model.\" + propertyNullCheck);\r\n if (typeof value == undefined) value = null;\r\n ret = eval(action.disabled);\r\n } catch (e) {\r\n }\r\n }\r\n return ret;\r\n }\r\n\r\n isFieldActionsVisible(field: any) {\r\n let ret = false;\r\n if (field.showActions == true) ret = true;\r\n return ret;\r\n }\r\n\r\n isFieldVisible(field: any) {\r\n let visible: boolean = true;\r\n if (field.ngIf != null) {\r\n visible = eval(field.ngIf);\r\n this.debugService.log(this, \"isFieldVisible for \" + field.entityField?.model_property + \": \" + field.ngIf + \". Visible is \" + visible);\r\n }\r\n return visible;\r\n }\r\n\r\n getComponentFields() {\r\n let fields = this.component.fields.filter(m => {\r\n return this.isFieldVisible(m);\r\n });\r\n return fields;\r\n }\r\n\r\n onChange(newValue: any, field: any, oldvalue: any) {\r\n\r\n if (this.model.metadata == null) this.model.metadata = JSON.parse(\"{}\");\r\n\r\n //si es el parent_field_id de algun combo, recargamos valores\r\n if (field.entityField?.control_type == \"dropdown\" || field.entityField?.control_type == \"dropdown-multiple\") {\r\n let parentFields = this.parentFields.filter(m => m.id == field.entity_field_id);\r\n parentFields.forEach(parentField => {\r\n parentField.childs.forEach(child => {\r\n this.debugService.log(this, \"onChange\")\r\n this.getComboOptions(child.entityField);\r\n });\r\n });\r\n }\r\n\r\n //Si el campo es un combo, rellenamos la propiedad de navegación relacionada si existe:\r\n let selectedItem = null;\r\n if (field.entityField?.control_type == \"dropdown\") {\r\n //obtener valor para el seleccionado\r\n if (this.temporalCombos[field.entityField?.model_property] != undefined) {\r\n this.temporalCombos[field.entityField?.model_property].forEach((item) => {\r\n if (eval(\"item.\" + field.entityField?.configuration?.field_value) == newValue?.value) {\r\n selectedItem = item;\r\n }\r\n if (eval(\"item.\" + field.entityField?.configuration?.field_value) == newValue) {\r\n selectedItem = item;\r\n }\r\n });\r\n }\r\n //si tiene propiedad de navegacion enlazada lo cargamos\r\n if (field.entityField?.navigation_property != null) {\r\n this.debugService.log(this, \"Setting property \" + field.entityField?.navigation_property);\r\n eval(\"this.model.\" + field.entityField?.navigation_property + \" = selectedItem\");\r\n }\r\n }\r\n this.onEvent.emit({ event: \"onChange\", component: this.component.code, entityField: field.entityField, value: newValue, data: this.model, selectedItem: selectedItem });\r\n }\r\n\r\n onFilter(event, entityField) {\r\n if (entityField.entityField.model_property == \"organization_id\" || entityField.entityField.model_property == \"parent_organization_id\" || entityField.entityField.model_property == \"product_id\") {\r\n\r\n if (event.filter?.length > 1 || event.filter == null) {\r\n this.debugService.log(this, \"onFilter\");\r\n this.getComboOptions(entityField.entityField, null, event.filter);\r\n }\r\n }\r\n }\r\n\r\n onActionClick(action, item) {\r\n if (!this.form.valid) console.log(this.form);\r\n let eventPayload: any = { event: \"action\", valid: this.form.valid, component: this.component.code, action: action, data: this.model };\r\n this.debugService.log(this, \"onActionClick\");\r\n this.debugService.log(this, eventPayload);\r\n this.onEvent.emit(eventPayload);\r\n }\r\n\r\n onFieldActionClick(field, action, value) {\r\n if (!this.form.valid) console.log(this.form);\r\n if (action.name == \"openURL\") {\r\n if (value.startsWith('http')) window.open(value, \"_blank\");\r\n else window.open(\"http://\" + value, \"_blank\");\r\n }\r\n\r\n if (action.name == \"open\") {\r\n this.openNewPage(value, field.entityField.model_property);\r\n }\r\n\r\n if (action.name == \"edit\") {\r\n if ((\".\" + field.entityField.model_property).endsWith(\".contact_id\")) { this.editContact(value); };\r\n if ((\".\" + field.entityField.model_property).endsWith(\".organization_id\")) { this.editOrganization(value); };\r\n }\r\n\r\n\r\n //if (event.event == \"fieldAction\" && event.action.name == \"open\" && event.entityField.model_property == \"organization_id\") this.openNewPage(event.value);\r\n /* openNewPage(id) {\r\n const url = this.router.serializeUrl(this.router.createUrlTree(['/organizations/', 0, id], { queryParams: {} }));\r\n window.open(url, '_blank');\r\n }*/\r\n\r\n this.onEvent.emit({ event: \"fieldAction\", valid: this.form.valid, component: this.component.code, entityField: field.entityField, action: action, value: value, data: this.model });\r\n }\r\n\r\n openNewPage(id, model_property) {\r\n var url;\r\n if (\".\" + model_property.endsWith(\".organization_id\")) url = this.router.serializeUrl(this.router.createUrlTree(['/organizations/', 0, id], { queryParams: {} }));\r\n window.open(url, '_blank');\r\n }\r\n\r\n isActionVisible(action: any) {\r\n let visible: boolean = true;\r\n if (action.ngIf != null) {\r\n visible = eval(action.ngIf);\r\n }\r\n return visible;\r\n }\r\n\r\n isSplitButton(action: any) {\r\n\r\n let visible: boolean = false;\r\n if (action.options != null) {\r\n visible = true;\r\n this.getSplitOptions(action);\r\n }\r\n return visible;\r\n }\r\n\r\n showTracking() {\r\n if (!this.configurationPermission) return; //Si no tiene el permiso, no hace nada.\r\n\r\n if (this.component.fields == null || this.component.fields.length == 0) return;\r\n let entity_id = this.component.fields[0].entityField.entity_id;\r\n const ref = this.dialogService.open(TrackingComponent, {\r\n data: {\r\n entity_id: entity_id,\r\n entity_pk_id: this.model.id\r\n },\r\n header: this.translateService.instant(\"general.tracking_title\"),// \"Información de cambios\",\r\n width: '500px'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n //nothing\r\n })\r\n }\r\n\r\n showColumnsSelector($event) {\r\n this.allowedEntities = [];\r\n this.allowedEntitiesFields = {};\r\n this.entity.fields.forEach(field => {\r\n if (this.allowedEntities.find(m => m.code == field.entity_code) == null) {\r\n this.allowedEntities.push({ code: field.entity_code, name: field.entity_name });\r\n this.prepareAllowedEntityFields(field.entity_code);\r\n }\r\n });\r\n this.opColumns.toggle($event);\r\n }\r\n\r\n prepareAllowedEntityFields(entity_code: string) {\r\n let fields = this.entity.fields.filter(m => m.entity_code == entity_code);\r\n fields.forEach((field) => {\r\n var selected = this.component.fields.find(m => m.entity_field_id == field.id);\r\n field.selected = selected != null;\r\n });\r\n this.allowedEntitiesFields[entity_code] = fields;\r\n }\r\n\r\n removeField(entity_field_id) {\r\n this.component.fields = this.component.fields.filter(m => m.entity_field_id != entity_field_id);\r\n this.opField.hide();\r\n }\r\n\r\n onFieldChange($event, field) {\r\n if ($event.checked) {\r\n //añadimos al final\r\n let viewField = {\r\n entity_field_id: field.id,\r\n entityField: field,\r\n class: \"p-md-4\",\r\n model_property: field.model_property,\r\n readonly: false,\r\n idx: this.component.fields.length\r\n };\r\n this.component.fields.push(viewField);\r\n setTimeout((m) => {\r\n this.customizerService.disable();\r\n this.customizerService.enable();\r\n });\r\n } else {\r\n this.removeField(field.id);\r\n }\r\n }\r\n\r\n getFilterOperators(selectedField) {\r\n //dependiendo del selectedField.entityField.data_type podria salir unos tipos u otros, ahora mismo para number o date son los mismo\r\n\r\n let options = [\r\n { code: \">=\", label: this.translateService.instant(\"general.filter.greater_equal\") },// \"Mayor o igual\" },\r\n { code: \">\", label: this.translateService.instant(\"general.filter.greater\") },//\"Mayor\" },\r\n { code: \"==\", label: this.translateService.instant(\"general.filter.equal\") },//\"Igual\" },\r\n { code: \"<\", label: this.translateService.instant(\"general.filter.less\") },//\"Menor\" },\r\n { code: \"<=\", label: this.translateService.instant(\"general.filter.less_equal\") },//\"Menor o igual\" }\r\n ];\r\n return options;\r\n }\r\n\r\n //Edit entities\r\n editContact(contact_id) {\r\n this.router.navigate([\"/contacts/\" + contact_id]);\r\n this.onEvent.emit({ event: \"closeDialog\", component: this.component.code, action: { name: \"closeDialog\" }, data: {} });\r\n }\r\n\r\n editOrganization(organization_id) {\r\n const ref = this.dialogService.open(OrganizationsDetailGeneralComponent, {\r\n data: {\r\n id: organization_id,\r\n },\r\n //header: \"Detalles de la organización\",\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.component.fields.forEach(field => {\r\n if ((\".\" + field.entityField.model_property).endsWith(\".organization_id\")) {\r\n this.getComboOptions(field.entityField);\r\n }\r\n });\r\n this.onEvent.emit({ event: \"refreshAll\", component: this.component.code, action: { name: \"refreshAll\" }, data: data });\r\n\r\n });\r\n }\r\n\r\n dateToIso($event: Date, metadata: boolean, property: string) {\r\n if (!metadata) {\r\n this.localModel[property] = $event.toISOString();\r\n } else {\r\n this.localModel['metadata'][property] = $event.toISOString();\r\n }\r\n }\r\n\r\n getActionLabel(action: any) {\r\n //return this.componentService.getActionLabel(action, this.view.code + \"-\" + this.component.code);\r\n return this.componentService.getActionLabel(action, this.component.code);\r\n }\r\n\r\n}\r\n","\r\n\r\n\r\n
{{component | json}}
\r\n
\r\n\r\n
{{localModel | json}}
\r\n
\r\n\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n \r\n {{componentService.getComponentTitle(component)}}\r\n Component: {{component.code}}, Entity:\r\n {{component.entity}}\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n 0 && isFieldActionsVisible(field)?'p-inputgroup-with-addons':''}}\"\r\n *ngIf=\"field.entityField?.control_type!='break'\">\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n
\r\n
{{ option[field.entityField?.configuration?.field_text] }}
\r\n {{option[field.entityField?.configuration?.subtitle_text]}}\r\n
\r\n
\r\n \r\n\r\n \r\n\r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n \r\n \r\n\r\n
0\">\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n \r\n \r\n {{allowedEntity.name}}\r\n \r\n {{allowedEntity.name}}\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { DatePipe } from '@angular/common';\r\nimport { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\n\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { ViewsService } from '../../views.service';\r\nimport { ViewComponentConfigureComponent } from '../configure/view-component-configure.component';\r\nimport { environment } from 'src/environments/environment';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ComponentService } from '../../component.service';\r\nimport { DebugService } from '../../../debug.service';\r\n\r\n@Component({\r\n selector: 'app-view-component-gallery',\r\n templateUrl: 'view-component-gallery.component.html',\r\n styleUrls: ['view-component-gallery.component.scss'],\r\n})\r\nexport class ViewComponentGalleryComponent implements OnInit {\r\n\r\n @Output() onEvent: EventEmitter = new EventEmitter();\r\n\r\n @Input(\"component\") public component: any = {};\r\n @Input(\"index\") public index: number = 0;\r\n @Input(\"model\") public model: any = {};\r\n @Input(\"showConfigOptions\") public showConfigOptions: boolean = false;\r\n @Input(\"view\") public view: any = {};\r\n\r\n public temporalModel: any = {};\r\n public entity: any = {};\r\n private lastGridEvent: any;\r\n public loading: boolean = false;\r\n public totalRows: number = 0;\r\n public rows: any = Array();\r\n public user_id: number;\r\n public today: string;\r\n public companyId: string;\r\n\r\n public first;\r\n public last;\r\n \r\n constructor(\r\n public debugService: DebugService,\r\n private entitiesService: EntitiesService,\r\n private messageService: MessageService,\r\n private viewsService: ViewsService,\r\n private datePipe: DatePipe,\r\n private dialogService: DialogService,\r\n private loginService: LoginService,\r\n private translateService: TranslateService,\r\n private componentService: ComponentService\r\n ) {\r\n }\r\n\r\n ngOnInit(): void {\r\n this.companyId = localStorage.getItem(\"companyId\");\r\n this.user_id = parseInt(this.loginService.get(\"userId\"));\r\n this.today = new Date().toISOString();\r\n this.component.fields.forEach(field => {\r\n\r\n if (typeof field.model_property != \"undefined\") {\r\n this.temporalModel[field.model_property] = eval(\"this.model.\" + field.model_property);\r\n }\r\n\r\n });\r\n\r\n this.entitiesService.getByCode(this.component.entity).subscribe(\r\n data => {\r\n this.entity = data;\r\n var newFields: any = [];\r\n this.component.fields.forEach(field => {\r\n field.entityField = this.entity.fields.find(m => m.id == field.entity_field_id);\r\n if(field.entityField!=null && typeof(field.entityField) !== \"undefined\" && !field.entityField.is_disabled) newFields.push(field);\r\n });\r\n this.component.fields = newFields;\r\n if (this.component.avatar != null) {\r\n if (this.component.avatar.type == \"initials\") {\r\n this.component.avatar.fields.forEach(field => {\r\n field.entityField = this.entity.fields.find(m => m.id == field.entity_field_id);\r\n });\r\n }\r\n }\r\n this.lazyLoad();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n\r\n getModelValue(model, field) {\r\n var value = \"\";\r\n\r\n this.temporalModel[field.entityField?.model_property] = eval(\"model.\" + field.entityField?.model_property);\r\n value = this.temporalModel[field.entityField?.model_property];\r\n\r\n return value;\r\n }\r\n\r\n formatDate(value: any, args: any) {\r\n return this.datePipe.transform(value, args[1]);\r\n }\r\n formatSuffix(value: any, args: any[]) {\r\n return value + args[1];\r\n }\r\n formatPhone(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n formatMail(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n formatBadge(field: any, value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n let className = \"\";\r\n let subClassName = \"\";\r\n if (field) {\r\n let refValue = \"\";\r\n if (args[1] != \"\") {\r\n try {\r\n let valorID = eval(\"row.\" + field.model_property);\r\n subClassName = args[1] + valorID;\r\n } catch (e) {\r\n console.error(`Error evaluando this.model.${field.entityField.model_property}`);\r\n }\r\n }\r\n /*className = \"badge badge-block \" + subClassName;\r\n var formattedValue = \"
\" + value + \"
\";*/\r\n if (typeof (value) !== \"undefined\" && value != \"\" && value != null) {\r\n className = \"p-badge p-component p-badge-no-gutter p-badge-xs p-mr-2 \" + subClassName;\r\n var formattedValue = \"
\" + value;\r\n } else {\r\n var formattedValue = \"
\";\r\n }\r\n\r\n }\r\n\r\n return formattedValue;\r\n }\r\n formatImage(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = `
\"Avatar\"
Zsazsa McCleverty@zmcclevertye
`;\r\n return formattedValue;\r\n }\r\n formatCurrency(value: any, args: any[]) {\r\n if(value == null) return \"0 €\";\r\n var formattedValue = new Intl.NumberFormat(environment.companyConfiguration.locale, { style: \"currency\", currency: environment.companyConfiguration.currency, useGrouping: true }).format(value);\r\n return formattedValue;\r\n }\r\n formatNumber(value: any, args: any[]) {\r\n if(value == null) return \"0\";\r\n var formattedValue = new Intl.NumberFormat(environment.companyConfiguration.locale).format(value)\r\n return formattedValue;\r\n }\r\n lazyLoad() {\r\n var params = {\r\n\r\n };\r\n\r\n if (this.component.source != null) {\r\n if (this.component.source.params != null && Array.isArray(this.component.source.params)) {\r\n this.component.source.params.forEach(param => {\r\n let value = eval(param.value);\r\n if (typeof (value) != \"undefined\" && value != null) params[param.name] = value;\r\n });\r\n }\r\n }\r\n this.viewsService.getTableData(this.component.source.url, params).subscribe(\r\n data => {\r\n this.totalRows = data.totalRows;\r\n this.rows = data.rows;\r\n this.loading = false;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n )\r\n }\r\n\r\n left() {\r\n this.onEvent.emit({ event: \"component-left\", index: this.index });\r\n }\r\n\r\n right() {\r\n this.onEvent.emit({ event: \"component-right\", index: this.index });\r\n }\r\n\r\n getAvatar(row: any) {\r\n let ret = \"\";\r\n if (this.component.avatar != null) {\r\n if (this.component.avatar.type == \"initials\") {\r\n this.component.avatar.fields.forEach(field => {\r\n ret += eval(\"row.\" + field.entityField?.model_property).substring(0, 1).toUpperCase();\r\n });\r\n }\r\n }\r\n return ret;\r\n }\r\n\r\n\r\n getData(row: any, type) {\r\n\r\n let ret = \"\";\r\n var titleFields = this.component.fields.filter(m => m.type == type);\r\n\r\n if (titleFields.length > 0) {\r\n titleFields.forEach(field => {\r\n let property = field.entityField.model_property;\r\n if (field.entityField.model_property_label != null && field.entityField.model_property_label != \"\") property = field.entityField.model_property_label;\r\n\r\n var value = \"\";\r\n try {\r\n value = eval(\"row.\" + property);\r\n } catch (e) {\r\n //console.error(\"Eval for row.\" + property + \" fail!\");\r\n }\r\n\r\n if (field.type == \"badge\") {\r\n var css = field.badge.filter(m => m.id == eval(\"row.\" + field.entityField.model_property));\r\n if (css.length == 1) {\r\n let str = \"
\" + value + \"
\";\r\n value = str;\r\n }\r\n } else {\r\n var format = field.entityField.control_type;\r\n if (format == \"input-datetime\") value = this.formatDate(value, 'dd/MM/yyyy HH:mm');\r\n if (format[0] == \"suffix\") value = this.formatSuffix(value, format);\r\n if (format[0] == \"phone\") value = this.formatPhone(value, format);\r\n if (format[0] == \"mail\") value = this.formatMail(value, format);\r\n if (format[0] == \"image\") value = this.formatImage(field, format);\r\n if (format[0] == \"badge\") value = this.formatBadge(field, value, format);\r\n if (format[0] == \"currency\") value = this.formatCurrency(value, format);\r\n if (format[0] == \"number\") value = this.formatNumber(value, format);\r\n }\r\n ret += value + \" \";\r\n });\r\n }\r\n return ret;\r\n }\r\n\r\n columns() {\r\n return this.component.fields.filter(m => m.type == \"column\");\r\n }\r\n\r\n\r\n configure() {\r\n const ref = this.dialogService.open(ViewComponentConfigureComponent, {\r\n data: {\r\n component: this.component,\r\n entity: this.entity\r\n },\r\n header: this.translateService.instant(\"component.configure.title\"),// \"Configuración de componente\",\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data) {\r\n this.component.fields = data.fields;\r\n this.component.title = data.title;\r\n this.component.class = data.class;\r\n this.component.height = data.height;\r\n this.onEvent.emit({ event: \"view-save\" });\r\n }\r\n })\r\n }\r\n\r\n onDblClick(item) {\r\n this.onEvent.emit({ event: \"dblclick\", component: this.component.code, data: item });\r\n }\r\n\r\n onActionClick(action, item) {\r\n if (action == 'edit') action = { name: \"edit\" };\r\n this.onEvent.emit({ event: \"action\", component: this.component.code, action: action, data: item });\r\n }\r\n\r\n fireEvent(component: string, event: string, args: any) {\r\n if (event == \"reload\") {\r\n this.lazyLoad();\r\n }\r\n }\r\n \r\n isActionVisible(action: any, item: any) {\r\n let visible: boolean = true;\r\n if (action.ngIf != null) {\r\n visible = eval(action.ngIf);\r\n }\r\n return visible;\r\n }\r\n\r\n getActionLabel(action: any) {\r\n //return this.componentService.getActionLabel(action, this.view.code + \"-\" + this.component.code);\r\n return this.componentService.getActionLabel(action, this.component.code);\r\n }\r\n}\r\n","\r\n \r\n
\r\n {{componentService.getComponentTitle(component)}}\r\n Component: {{component.code}}, Entity: {{component.entity}}\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n {{getData(item, \"title\")}}\r\n
\r\n {{getData(item, \"subtitle\")}} \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n {{'general.no_data' | translate }}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { ViewsCustomService } from '../../views-custom.service';\r\nimport { ViewsService } from '../../views.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-new-view',\r\n templateUrl: './new-view.component.html',\r\n styleUrls: ['./new-view.component.scss']\r\n})\r\nexport class NewViewComponent implements OnInit {\r\n public selectedOption = \"onlyme\";\r\n public viewTemplate: any;\r\n public created_by: any;\r\n\r\n public view: any = {\r\n code: \"\",\r\n metadata: { to: this.selectedOption, default: false }\r\n };\r\n\r\n public options = [\r\n { label: this.translateService.instant(\"view.configure.for_all\"), value: \"all\" },\r\n { label: this.translateService.instant(\"view.configure.onlyme\"), value: \"onlyme\" },\r\n { label: this.translateService.instant(\"view.configure.subordinate\"), value: \"subordinate\" }\r\n ];\r\n constructor(\r\n private viewsService: ViewsService,\r\n private viewsCustomService: ViewsCustomService,\r\n private loginService: LoginService,\r\n private config: DynamicDialogConfig,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private messageService: MessageService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n //Recojo el identificador del usuario logeado:\r\n this.created_by = this.loginService.get(\"userId\");\r\n //Recojo la vista que se visualiza actualmente para copiar su contenido a la nueva:\r\n this.viewTemplate = this.config.data.view;\r\n //Le ponemos el mismo code que la que estamos modificando (porque es una variación):\r\n this.view.code = this.viewTemplate.code;\r\n //Su creador será el usuario logeado:\r\n this.view.user_id = parseInt(this.loginService.get(\"userId\"));\r\n //Copiamos el contenido del view que visualizamos actualmente:\r\n this.view.configuration = this.viewTemplate.configuration;\r\n //Colocamos el ID de la view que se usó como plantilla:\r\n this.view.view_id = this.viewTemplate.view_id;\r\n if (this.config.data.edit) {\r\n this.view.id = this.viewTemplate.id;\r\n this.view.name = this.viewTemplate.name;\r\n this.view.metadata = (this.viewTemplate.metadata != null ? this.viewTemplate.metadata : { to: \"all\" });\r\n }\r\n }\r\n\r\n loadView() {\r\n\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n save() {\r\n if (this.view.name == null || this.view.name.trim() == \"\") {\r\n this.messageService.add({ severity: \"error\", detail: this.translateService.instant(\"general.filter.name_cant_be_empty\") });\r\n return;\r\n }\r\n this.viewsCustomService.add(this.view).subscribe(\r\n data => {\r\n this.messageService.add({ severity: \"success\", detail: this.translateService.instant(\"general.filter.save_filters\") });\r\n this.dynamicDialogRef.close(data);\r\n },\r\n error => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n delete() {\r\n /*\r\n this.confirmationService.confirm({\r\n message: '¿Quieres borrar la vista ' + this.view.name + '? Se procederá a asignar la vista base para todos los usuarios que la tuviesen seleccionada.',\r\n header: 'Confirmación de borrado',\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n\r\n }\r\n });\r\n */\r\n this.viewsCustomService.delete(this.view.id).subscribe(\r\n data => {\r\n this.messageService.add({severity: \"success\", detail: this.translateService.instant(\"general.filter.delete_view_correct\") });\r\n this.dynamicDialogRef.close(data);\r\n },\r\n error => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }\r\n}\r\n","\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { DatePipe } from '@angular/common';\r\nimport { Component, EventEmitter, HostListener, Input, OnInit, Output, ViewChild } from '@angular/core';\r\n\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { ViewsService } from '../../views.service';\r\nimport { ViewComponentConfigureComponent } from '../configure/view-component-configure.component';\r\nimport * as FileSaver from 'file-saver';\r\nimport * as XLSX from 'xlsx';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { OverlayPanel } from 'primeng/overlaypanel';\r\nimport { ComponentService } from '../../component.service';\r\nimport { LoaderService } from '../../../loader/loader.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport { DebugService } from '../../../debug.service';\r\nimport { SessionStorageService } from 'ngx-webstorage';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { UtilsService } from '../../../utils.service';\r\n\r\n@Component({\r\n selector: 'app-view-component-table',\r\n templateUrl: 'view-component-table.component.html',\r\n styleUrls: ['view-component-table.component.scss'],\r\n})\r\nexport class ViewComponentTableComponent implements OnInit {\r\n\r\n @ViewChild(\"grid\") private grid: any;\r\n\r\n @ViewChild('opColumns') opColumns: OverlayPanel;\r\n\r\n @ViewChild('opField') opField: OverlayPanel;\r\n public selectedField: any = {};\r\n public visibleByOptions: any[] = [\r\n { code: \"all\", label: this.translateService.instant(\"view.configure.all\") },\r\n { code: \"user\", label: this.translateService.instant(\"view.configure.user_responsible\") }\r\n ];\r\n\r\n @Output() onEvent: EventEmitter = new EventEmitter();\r\n\r\n\r\n @Input(\"view\") public view: any = {};\r\n @Input(\"component\") public component: any = {};\r\n @Input(\"index\") public index: number = 0;\r\n @Input(\"model\") public model: any = {};\r\n @Input(\"config\") public config: any = {};\r\n @Input(\"showConfigOptions\") public showConfigOptions: boolean = false;\r\n public temporalModel: any = {};\r\n public entity: any = {};\r\n private lastGridEvent: any;\r\n public loading: boolean = false;\r\n public totalRows: number = 0;\r\n public rows: any = Array();\r\n private touchMoved: boolean = false;\r\n public params: any = {};\r\n public first;\r\n public last;\r\n\r\n public columnResizeMode: string = 'fit';\r\n\r\n public allowedEntities: any[] = [];\r\n public allowedEntitiesFields: any = {};\r\n\r\n public rowsPerPageOptions: number[] = [5, 10, 25, 50, 100, 250, 500];\r\n public rowsPerPage: number = 50;\r\n public selectedRow: any[] = [];\r\n\r\n public show_filter_panel: boolean = false;\r\n\r\n constructor(\r\n private loaderService: LoaderService,\r\n private entitiesService: EntitiesService,\r\n private messageService: MessageService,\r\n private viewsService: ViewsService,\r\n private datePipe: DatePipe,\r\n private dialogService: DialogService,\r\n public sanitizer: DomSanitizer,\r\n private loginService: LoginService,\r\n public componentService: ComponentService,\r\n private debugService: DebugService,\r\n private sessionStorage: SessionStorageService,\r\n private translateService: TranslateService,\r\n private utilsService: UtilsService\r\n ) {\r\n }\r\n\r\n public create_reports: boolean;\r\n public create_templates: boolean;\r\n public catalogue_button: boolean;\r\n public locked: boolean = false;\r\n public colspanIfEmpty: number;\r\n\r\n ngOnInit(): void {\r\n\r\n if (this.component.rowsPerPageOptions) this.rowsPerPageOptions = this.component.rowsPerPageOptions;\r\n\r\n if (this.component.rowsPerPage) {\r\n this.rowsPerPage = this.component.rowsPerPage;\r\n }\r\n //Si no tiene datos que mostrar, se mostrará el mensaje de sin datos con las columnas correspondientes:\r\n this.colspanIfEmpty = this.component.fields.length + (this.component.allow_reorder_rows ? 1 : 0) + (this.component.actions.length > 0 ? 1 : 0);\r\n\r\n this.create_reports = this.loginService.hasPermission(\"REPORTS_CREATE\");\r\n this.create_templates = this.loginService.hasPermission(\"CREATE_TEMPLATES\");\r\n this.catalogue_button = this.loginService.hasPermission(\"CATALOGUE_BUTTON\");\r\n this.entitiesService.getByCode(this.component.entity).subscribe({\r\n next: (data: any) => {\r\n var newFields: any = [];\r\n var user_role_id = localStorage.getItem(\"roleId\") + \"\";\r\n\r\n this.component.fields.forEach(field => {\r\n var hasRole = true;\r\n this.entity = data;\r\n field.entityField = this.entity.fields.find(m => m.id == field.entity_field_id);\r\n if (field.entityField != null && field.entityField.configuration != null) {\r\n var viewRoles = field.entityField?.configuration['viewRoles'];\r\n if (viewRoles != null && viewRoles.length > 0) {\r\n if (!viewRoles.find(role => role == user_role_id)) hasRole = false;\r\n }\r\n }\r\n if (field.entityField != null && hasRole) newFields.push(field);\r\n });\r\n this.component.fields = newFields;\r\n setTimeout(() => {\r\n this.adjustCols();\r\n });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n }\r\n );\r\n\r\n }\r\n\r\n @HostListener('window:resize', ['$event'])\r\n onResize(event) {\r\n this.adjustCols();\r\n }\r\n\r\n adjustCols() {\r\n\r\n const minColWidth = 60;\r\n\r\n //calcumos ancho de contenedor menos padding y borders\r\n let container = this.grid.el.nativeElement.parentElement;\r\n const styles = window.getComputedStyle(container);\r\n let fullWidth = container.clientWidth - parseFloat(styles.paddingLeft) - parseFloat(styles.paddingRight);\r\n let allColWidth = 0;\r\n this.component.fields.forEach(field => {\r\n if (field.width) {\r\n allColWidth += parseFloat(field.width);\r\n } else {\r\n allColWidth += minColWidth;\r\n }\r\n });\r\n\r\n //añadimos columna de ancla de move\r\n if (this.component.allow_reorder_rows) {\r\n //allColWidth += 35;\r\n fullWidth -= 35;\r\n }\r\n\r\n //añadimos columna de acciones\r\n if (this.component.actions.length > 0) {\r\n //allColWidth += 100;\r\n fullWidth -= 100;\r\n }\r\n //ajustamos cada campo proporcionalmente al ancho que tenia\r\n let usedWidth = 0;\r\n let totalFieldNoWidth = 0;\r\n this.component.fields.forEach(field => {\r\n if (field.width) {\r\n let adjustedSize = Math.floor(fullWidth * field.width / allColWidth);\r\n //verificamos que no este por debajo del permitido\r\n if (adjustedSize < 40) {\r\n adjustedSize = 40;\r\n }\r\n\r\n field.width = adjustedSize;\r\n usedWidth += adjustedSize;\r\n\r\n } else {\r\n totalFieldNoWidth++;\r\n }\r\n });\r\n if (this.component.actions.length > 0) usedWidth += 100;\r\n\r\n //ajustamos cada campo con el ancho proporcional sobrante\r\n let defaultFieldSize = (fullWidth - usedWidth) / totalFieldNoWidth;\r\n this.component.fields.forEach(field => {\r\n if (!field.width) {\r\n let adjustedSize = defaultFieldSize;\r\n\r\n if (adjustedSize < minColWidth) adjustedSize = minColWidth;\r\n\r\n field.width = adjustedSize;\r\n usedWidth += adjustedSize;\r\n }\r\n });\r\n\r\n //si habiamos requerido mas ancho del previsto, es porque habia columnas que estaban por debajo del minColWidth\r\n //if (fullWidth < usedWidth) this.adjustCols();\r\n\r\n }\r\n\r\n autoSizeCols() {\r\n //calcumos ancho de contenedor menos padding y borders\r\n let container = this.grid.el.nativeElement.parentElement;\r\n const styles = window.getComputedStyle(container);\r\n let fullWidth = container.clientWidth - parseFloat(styles.paddingLeft) - parseFloat(styles.paddingRight);\r\n\r\n\r\n //añadimos columna de ancla de move\r\n if (this.component.allow_reorder_rows) fullWidth -= 35;\r\n\r\n //columna de acciones\r\n if (this.component.actions.length > 0) {\r\n fullWidth -= 100;\r\n }\r\n\r\n //ajustamos cada campo con el ancho proporcional sobrante\r\n let defaultFieldSize = Math.floor(fullWidth / this.component.fields.length);\r\n this.component.fields.forEach(field => {\r\n let adjustedSize = defaultFieldSize;\r\n field.width = adjustedSize;\r\n });\r\n }\r\n\r\n getFieldDescription(field: any, entityfieldObject: boolean = true) {\r\n return this.componentService.getFieldDescription(field, entityfieldObject);\r\n }\r\n getEntityName(entity: any) {\r\n return this.componentService.getEntityName(entity);\r\n }\r\n\r\n getRowClass(row: any) {\r\n let className = \"\";\r\n if (this.component.rowFormatFn != null) {\r\n try {\r\n if (this.component.rowFormatFn.indexOf(\"eval|\") == 0) {\r\n let command = this.component.rowFormatFn.replace(\"eval|\", \"\");\r\n className = eval(command);\r\n }\r\n } catch (e) {\r\n }\r\n }\r\n return className;\r\n }\r\n\r\n getRowValue(row, field, excel = false, onlyText = false) {\r\n if (field.entityField == null) return;\r\n\r\n //verificamos si puede ver el valor\r\n if (!this.showConfigOptions && !this.componentService.isVisibleField(field, row)) {\r\n if (!this.componentService.isVisibleFieldCustom(field, row)) return \"\";\r\n return \"(locked)\";\r\n }\r\n\r\n let property = field.entityField.model_property;\r\n if (field.entityField.model_property_label != null && field.entityField.model_property_label != \"\") {\r\n property = field.entityField.model_property_label;\r\n\r\n //si tiene mas de un path, hay que añadirlo por delante de la propiedad\r\n let path = \"\";\r\n if (field.entityField.model_property_path != null && field.entityField.model_property_path.length >= 2) path = (path != \"\" ? \".\" : \"\") + field.entityField.model_property_path[1].property;\r\n if (field.entityField.model_property_path != null && field.entityField.model_property_path.length >= 3) path = (path != \"\" ? \".\" : \"\") + field.entityField.model_property_path[2].property;\r\n\r\n //añadimos path\r\n property = path + (path != \"\" ? \".\" : \"\") + property;\r\n }\r\n\r\n var value = \"\";\r\n try {\r\n if (field.entityField.is_base_field == true) {\r\n value = eval(\"row.\" + property);\r\n } else {\r\n //Si no es base, y contiene metadata ya es que es una propuiedad de navegación de un field customizado (no de la entidad que estamos mostrando).\r\n if ((property).includes(\"metadata\")) {\r\n\r\n value = eval(\"row.\" + property);\r\n } else {\r\n value = eval(\"row.metadata.\" + property);\r\n }\r\n\r\n\r\n if (field.entityField?.control_type == \"dropdown\") {\r\n //obtener valor para el seleccionado \r\n if (field.entityField.configuration.options?.type == \"api\") {\r\n //petición al servidor.\r\n } else {\r\n let temporalCombos = field.entityField.configuration.options.items;\r\n temporalCombos.forEach((item) => {\r\n if (eval(\"item.\" + field.entityField?.configuration?.field_value) == value) {\r\n value = eval(\"item.\" + field.entityField?.configuration?.field_text);\r\n }\r\n });\r\n }\r\n } else if (field.entityField?.control_type == \"dropdown-multiple\") {\r\n //obtener valor para el seleccionado \r\n if (field.entityField.configuration.options?.type == \"api\") {\r\n //petición al servidor.\r\n } else {\r\n let temporalCombos = field.entityField.configuration.options.items;\r\n let selectedValues: any = value;\r\n if (!(selectedValues instanceof Array)) selectedValues = [selectedValues];\r\n value = \"\";\r\n selectedValues.forEach(selectedValue => {\r\n temporalCombos.forEach((item) => {\r\n if (eval(\"item.\" + field.entityField?.configuration?.field_value) == selectedValue) {\r\n if (value != \"\") value += \", \";\r\n value += eval(\"item.\" + field.entityField?.configuration?.field_text);\r\n }\r\n });\r\n });\r\n }\r\n }\r\n }\r\n } catch (e) {\r\n //console.error(\"Eval for row.\" + property + \" fail!\");\r\n }\r\n let formatFn = field.formatFn;\r\n if (formatFn == null && field.entityField.configuration != null && field.entityField.configuration.formatFn != null) {\r\n formatFn = field.entityField.configuration.formatFn;\r\n }\r\n if (formatFn != null && !excel) {\r\n var format = formatFn.split(\"|\");\r\n if (format[0] == \"date\") value = this.utilsService.formatDate(value, format);\r\n if (!onlyText) { //esto es porque hay un tooltip con el texto y solo queremos que formatee el date\r\n if (format[0] == \"suffix\") value = this.utilsService.formatSuffix(value, format);\r\n if (format[0] == \"phone\") value = this.utilsService.formatPhone(value, format);\r\n if (format[0] == \"mail\") value = this.utilsService.formatMail(value, format);\r\n if (format[0] == \"www\") value = this.utilsService.formatWWW(value, format);\r\n if (format[0] == \"badge\") value = this.utilsService.formatBadge(field, row, value, format);\r\n if (format[0] == \"badgeColor\") value = this.utilsService.formatBadgeColor(field, row, value, format);\r\n if (format[0] == \"image\") value = this.utilsService.formatImage(field, format);\r\n if (format[0] == \"icon\") value = this.utilsService.formatIcon(value, format);\r\n if (format[0] == \"currency\") value = this.utilsService.formatCurrency(value, format);\r\n if (format[0] == \"number\") value = this.utilsService.formatNumber(value, format);\r\n if (format[0] == \"class\") value = this.utilsService.formatClass(format[1], row, value, format[2], null);\r\n }\r\n }\r\n if (value == null || value == \"\") value = \" \";\r\n return value;\r\n }\r\n\r\n preLazyLoad($event) {\r\n setTimeout(() => this.lazyLoad($event), 100);\r\n }\r\n\r\n lazyLoad($event, args = null) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n this.params = {\r\n _page: $event.first / $event.rows,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\"\r\n };\r\n\r\n if (args != null) {\r\n this.params = Object.assign(this.params, args);\r\n }\r\n\r\n //filtros viejos de tablas\r\n if (this.component.source != null) {\r\n if (this.component.source.params != null && Array.isArray(this.component.source.params)) {\r\n this.component.source.params.forEach(param => {\r\n let value = eval(param.value);\r\n if (typeof (value) != \"undefined\" && value != null) this.params[param.name] = value;\r\n });\r\n }\r\n if (this.component.source.paramsFromComponent != null) {\r\n var filterComponent = this.view.configuration.components.find(m => m.code == this.component.source.paramsFromComponent);\r\n filterComponent.fields.forEach(field => {\r\n if (field.entityField) {\r\n let isMetadata = false;\r\n if (field.entityField.model_property.indexOf(\"custom_\") >= 0) isMetadata = true;\r\n let modelProperty = \"this.model\" + (isMetadata ? \".metadata\" : \"\") + \"['\" + field.entityField.model_property + \"']\";\r\n let modelValue = eval(modelProperty);\r\n\r\n if (typeof (modelValue) != \"undefined\" && modelValue != null) {\r\n\r\n //añadimos valor\r\n if (field.entityField.data_type == \"date\") {\r\n if (modelValue instanceof Date) {\r\n this.params[field.entityField.model_property] = modelValue.toISOString();\r\n } else {\r\n this.params[field.entityField.model_property] = modelValue;\r\n }\r\n } else {\r\n this.params[field.entityField.model_property] = modelValue;\r\n }\r\n\r\n //añadimos operador si hay\r\n if (field.filter_operator) {\r\n this.params[\"_op_\" + field.entityField.model_property] = field.filter_operator;\r\n } else {\r\n if (isMetadata) {\r\n this.params[\"_op_\" + field.entityField.model_property] = \"like\";\r\n } else {\r\n this.params[\"_op_\" + field.entityField.model_property] = \"=\";\r\n }\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n }//end component.source\r\n\r\n //si tiene datos en sesion, rellenar modelo con los valores de los filtros en sesion\r\n let sessionInfo = this.sessionStorage.retrieve(this.view.code);\r\n if (sessionInfo != null) {\r\n sessionInfo.filters.forEach((field: any) => {\r\n if (field.value != null && field.value != \"\") {\r\n var entityField = this.entity.fields.find(m => m.id == field.entity_field_id);\r\n if (entityField) {\r\n //si no esta excluido, cargamos el valor de la session\r\n let ignore_session_value = this.model._ignore_session_fields?.findIndex(m => m == entityField.model_property) >= 0;\r\n if (!ignore_session_value) {\r\n this.params[entityField.model_property] = field.value;\r\n this.params[\"_op_\" + entityField.model_property] = field.operator;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n\r\n //si no hemos cambiado la ordenación, la asignamos\r\n if ($event.sortField) {\r\n this.params._sortBy = $event.sortField;\r\n this.params._sortDirection = $event.sortOrder > 0 ? \"asc\" : \"desc\";\r\n }\r\n this.loaderService.skipRequest('/api/' + this.component.source.url, this.params);\r\n this.viewsService.getTableData(this.component.source.url, this.params).subscribe(\r\n data => {\r\n this.totalRows = data.totalRows;\r\n this.rows = data.rows;\r\n this.onEvent.emit({ event: \"reload\", filters: this.params });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n );\r\n }\r\n left() {\r\n this.onEvent.emit({ event: \"component-left\", index: this.index });\r\n }\r\n\r\n right() {\r\n this.onEvent.emit({ event: \"component-right\", index: this.index });\r\n }\r\n\r\n configure() {\r\n const ref = this.dialogService.open(ViewComponentConfigureComponent, {\r\n data: {\r\n component: this.component,\r\n entity: this.entity\r\n },\r\n header: this.translateService.instant(\"component.configure.title\"), //\"Configuración de componente\",\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data) {\r\n\r\n this.component.fields = data.fields;\r\n this.component.title = data.title;\r\n this.component.class = data.class;\r\n this.component.height = data.height;\r\n this.component.allow_export_xls = data.allow_export_xls && this.loginService.hasPermission(\"EXPORT_EXCEL\");\r\n this.component.show_header = data.show_header;\r\n this.component.allow_reorder_rows = data.allow_reorder_rows;\r\n this.onEvent.emit({ event: \"view-save\" });\r\n }\r\n })\r\n }\r\n onTouchStart(event) {\r\n this.touchMoved = false;\r\n }\r\n onTouchMove(event) {\r\n this.touchMoved = true;\r\n }\r\n\r\n onTouchEnd(item, $event) {\r\n if (this.touchMoved) {\r\n this.touchMoved = false;\r\n return;\r\n }\r\n this.onDblClick(item, $event);\r\n }\r\n\r\n onRowReorder(event) {\r\n let ids = [];\r\n for (const key of this.rows) {\r\n ids.push(key.id);\r\n }\r\n if (!this.locked) {\r\n this.onEvent.emit({ event: \"reorder\", component: this.component.code, data: event, ids: ids, params: this.params });\r\n }\r\n }\r\n\r\n onDblClick(item, $event) {\r\n $event.preventDefault();\r\n $event.stopPropagation();\r\n if (!this.locked) {\r\n this.onEvent.emit({ event: \"dblclick\", component: this.component.code, data: item });\r\n }\r\n }\r\n getActionLabel(action, item) {\r\n return this.componentService.getActionLabel(action, this.component.code);\r\n }\r\n\r\n onActionClick(action, item, $event) {\r\n $event.preventDefault();\r\n $event.stopPropagation();\r\n let auxSelectedRow = null;\r\n if (this.component.checked_multiple) auxSelectedRow = this.selectedRow.map(m => m[this.component.checked_multiple.value]);\r\n this.onEvent.emit({ event: \"action\", component: this.component.code, action: action, data: item, selectedRow: auxSelectedRow });\r\n }\r\n\r\n fireEvent(component: string, event: string, args: any) {\r\n if (event == \"reload\") {\r\n if (args != null) this.model = args; //Cuando esta en reload, guardamos el modelo con los datos de la peticion.\r\n this.lazyLoad(this.lastGridEvent, args);\r\n }\r\n }\r\n\r\n isActionVisible(action: any, item: any) {\r\n let visible: boolean = true;\r\n if (action.ngIf != null) {\r\n visible = eval(action.ngIf);\r\n }\r\n\r\n return visible;\r\n }\r\n\r\n getExcelPrams(): any {\r\n\r\n var page = this.params[\"_page\"];\r\n var pageSize = this.params[\"_pageSize\"];\r\n let excelParams = JSON.parse(JSON.stringify(this.params));\r\n\r\n delete excelParams[\"_page\"];\r\n delete excelParams[\"_pageSize\"];\r\n\r\n return excelParams;\r\n }\r\n\r\n exportExcel() {\r\n var excelParams = this.getExcelPrams();\r\n this.viewsService.getTableData(this.component.source.url, excelParams).subscribe({\r\n next: (data: any) => {\r\n this.totalRows = data.totalRows;\r\n this.rows = data.rows;\r\n\r\n var aux = [];\r\n\r\n //For que recorre cada row y column y devuelve un objeto que será exportado a excel:\r\n var i = 0;\r\n this.rows.forEach(row => {\r\n var obj = {};\r\n this.component.fields.forEach(column => {\r\n var fieldValue = this.getRowValue(row, column, true);\r\n\r\n\r\n if (fieldValue != null && fieldValue != \"\" && fieldValue != \" \" && column.entityField.data_type == \"date\") {\r\n var fDate = new Date(fieldValue);\r\n var month = fDate.getMonth();\r\n fieldValue = fDate.getDate() + \"/\" + (month + 1) + \"/\" + fDate.getFullYear() + \" \" + fDate.getHours() + \":\" + fDate.getMinutes()/* + \":\" + fDate.getSeconds()*/;\r\n\r\n }\r\n if ((fieldValue == null || fieldValue.length == 0 || fieldValue == \" \") && column.entityField.data_type == \"number\" && column.entityField.control_type != \"dropdown\") fieldValue = \"0\";\r\n if ((fieldValue == null || fieldValue.length == 0 || fieldValue == \" \") && column.entityField.data_type == \"number\" && column.entityField.control_type == \"dropdown\") fieldValue = \"\";\r\n if (column.entityField.data_type == \"number\" && column.entityField.control_type != \"dropdown\") {\r\n fieldValue = new Intl.NumberFormat(environment.companyConfiguration.locale, { useGrouping: true }).format(parseFloat(fieldValue));\r\n }\r\n\r\n obj[this.getFieldDescription(column)] = \"\" + fieldValue;\r\n });\r\n aux.push(obj);\r\n });\r\n\r\n this.onEvent.emit({ event: \"reload\", filters: {} });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n const worksheet = XLSX.utils.json_to_sheet(aux);\r\n const workbook = { Sheets: { 'data': worksheet }, SheetNames: ['data'] };\r\n const excelBuffer: any = XLSX.write(workbook, { bookType: 'xlsx', type: 'array' });\r\n this.saveAsExcelFile(excelBuffer, \"data\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n\r\n saveAsExcelFile(buffer: any, fileName: string): void {\r\n let EXCEL_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8';\r\n let EXCEL_EXTENSION = '.xlsx';\r\n const data: Blob = new Blob([buffer], {\r\n type: EXCEL_TYPE\r\n });\r\n FileSaver.saveAs(data, fileName + '_export_' + new Date().getTime() + EXCEL_EXTENSION);\r\n }\r\n\r\n onColReorder($event) {\r\n moveItemInArray(this.component.fields, $event.dragIndex, $event.dropIndex);\r\n }\r\n\r\n onColResize($event) {\r\n\r\n //mapeamos anchos de cabeceras a campos\r\n let headers = $event.element.parentElement.getElementsByTagName('th');\r\n for (let header of headers) {\r\n let idx = header.getAttribute(\"data-index\");\r\n let width = header.offsetWidth;\r\n if (idx != null) {\r\n this.component.fields[idx].width = width;\r\n }\r\n }\r\n }\r\n\r\n\r\n showColumnsSelector($event) {\r\n this.allowedEntities = [];\r\n this.allowedEntitiesFields = {};\r\n this.entity.fields.forEach(field => {\r\n if (this.allowedEntities.find(m => m.code == field.entity_code) == null) {\r\n this.allowedEntities.push({ code: field.entity_code, name: field.entity_name });\r\n this.prepareAllowedEntityFields(field.entity_code);\r\n }\r\n });\r\n this.opColumns.toggle($event);\r\n }\r\n\r\n prepareAllowedEntityFields(entity_code: string) {\r\n let fields = this.entity.fields.filter(m => m.entity_code == entity_code);\r\n fields.forEach((field) => {\r\n var selected = this.component.fields.find(m => m.entity_field_id == field.id);\r\n field.selected = selected != null;\r\n });\r\n this.allowedEntitiesFields[entity_code] = fields;\r\n }\r\n\r\n removeField(entity_field_id) {\r\n this.component.fields = this.component.fields.filter(m => m.entity_field_id != entity_field_id);\r\n }\r\n\r\n onFieldChange($event, field) {\r\n if ($event.checked) {\r\n //añadimos al final\r\n var viewField = {\r\n entity_field_id: field.id,\r\n entityField: field,\r\n class: \"p-md-4\",\r\n model_property: field.model_property,\r\n readonly: false,\r\n width: 100\r\n };\r\n this.component.fields.push(viewField);\r\n setTimeout(() => {\r\n this.adjustCols();\r\n });\r\n } else {\r\n this.removeField(field.id);\r\n }\r\n }\r\n\r\n configField($event, field: any) {\r\n this.selectedField = field;\r\n this.opField.toggle($event);\r\n }\r\n\r\n getHTMLIfEmpty() {\r\n\r\n var aux = (this.component.messageIfEMpty != null ? this.component.messageIfEMpty : this.translateService.instant(\"general.not_data\"));\r\n if (this.component.messageIfEmptyData != null) {\r\n var title = this.translateService.instant(this.component.messageIfEmptyData.title);\r\n var subtitle = this.translateService.instant(this.component.messageIfEmptyData.subtitle);\r\n aux = \"\";\r\n }\r\n return aux;\r\n\r\n return aux;\r\n }\r\n\r\n selectedRowTable(item, $event) {\r\n $event.preventDefault();\r\n $event.stopPropagation();\r\n }\r\n onComponentEvent(event: any) {\r\n this.model = event.data;\r\n this.lazyLoad(this.lastGridEvent, null);\r\n //this.onEvent.emit(event);\r\n }\r\n\r\n toggleFilter() {\r\n this.show_filter_panel = !this.show_filter_panel;\r\n //calcumos ancho de contenedor menos padding y borders\r\n let container = this.grid.el.nativeElement.parentElement;\r\n const styles = window.getComputedStyle(container);\r\n let fullWidth = container.clientWidth - parseFloat(styles.paddingLeft) - parseFloat(styles.paddingRight);\r\n\r\n }\r\n\r\n}\r\n","\r\n \r\n
\r\n {{componentService.getComponentTitle(component)}}\r\n Component: {{component.code}}, Entity:\r\n {{component.entity}}\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{getFieldDescription(field)}}\r\n \r\n 0\">\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n 0\">\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
0?'grid-actions p-mt-3 p-mb-3':'grid-actions'\">\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n\r\n \r\n \r\n \r\n {{componentService.getEntityName(allowedEntity)}}\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { TranslateLoader } from '@ngx-translate/core';\nimport { Observable } from 'rxjs';\nimport { catchError } from 'rxjs/operators';\nimport { AppSettingsService } from '../../../../app-settings.service';\nimport { MessageService } from 'primeng/api';\n\n\n@Injectable()\nexport class CustomTranslateLoader implements TranslateLoader {\n contentHeader = new HttpHeaders({\n 'Content-Type': 'application/json',\n 'Access-Control-Allow-Origin': '*',\n });\n\n constructor(\n private httpClient: HttpClient,\n private appSetting: AppSettingsService,\n private messageService: MessageService\n ) { }\n\n getTranslation(lang: string): Observable {\n\n const apiAddress = this.appSetting.Api(\"i18n/\" + lang);\n\n return this.httpClient.get(apiAddress, { headers: this.contentHeader })\n .pipe(\n catchError((error: any, caught: Observable): Observable => {\n console.error('Error loading translations', error);\n //this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n //alert(error.error.title);\n\n // after handling error, return a new observable \n // that doesn't emit any values and completes\n return this.httpClient.get(\"/assets/i18n/es.json\")\n })\n );\n }\n}\n","import { Directive, ElementRef, EventEmitter, Input, OnInit, Output } from '@angular/core';\r\nimport { CustomizerService } from './customizer.service';\r\n\r\n@Directive({\r\n selector: '[customizer]'\r\n})\r\nexport class CustomizerDirective implements OnInit {\r\n @Input() customizer: any = {};\r\n private mode: string = null;\r\n private placeStartIdx: number = null;\r\n private placeEndIdx: number = null;\r\n private selectedElement: any = null;\r\n private size: number = null;\r\n private lastColClass: string = null;\r\n\r\n constructor(\r\n private el: ElementRef,\r\n private customizerService:CustomizerService\r\n ) {\r\n this.customizerService.enabled.subscribe(() => {\r\n this.enable();\r\n });\r\n this.customizerService.disabled.subscribe(() => {\r\n this.disable();\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n enable() {\r\n let container = this.el.nativeElement;\r\n\r\n //adding listener\r\n container.addEventListener(\"dragover\", (event) => {\r\n this.onDragOver(event);\r\n });\r\n container.addEventListener(\"drop\", (event) => {\r\n this.onDrop(event);\r\n });\r\n\r\n //adding draggable to children\r\n for (let children of container.children) {\r\n if (!children.classList.contains(\"flex-break\")) {\r\n this.addResizableHandler(children);\r\n children.setAttribute(\"draggable\", \"true\");\r\n children.addEventListener(\"dragstart\", (event) => {\r\n this.onDragStart(event);\r\n });\r\n }\r\n }\r\n }\r\n\r\n disable() {\r\n for (let children of this.el.nativeElement.children) {\r\n children.setAttribute(\"draggable\", \"false\");\r\n this.removeResizableHandler(children);\r\n }\r\n }\r\n\r\n onDragStart(event) {\r\n this.placeStartIdx = this.findElementIndex(event.target);\r\n this.selectedElement = event.target;\r\n var elementRect = event.target.getBoundingClientRect();\r\n //si estamos arrastrando en la zona de resizado\r\n if (event.offsetX > (elementRect.width - 20)) {\r\n this.mode = \"resize\";\r\n this.lastColClass = null;\r\n //var crt = event.target.cloneNode(true);\r\n /*crt.style.display = \"none\";\r\n document.body.appendChild(crt);\r\n event.dataTransfer.setDragImage(crt, 0, 0);*/\r\n var img = document.createElement(\"img\"); \r\n img.src = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkeAsAAPMA72PD3bsAAAAASUVORK5CYII=\";\r\n //document.body.appendChild(img);\r\n event.dataTransfer.setDragImage(img, 0, 0);\r\n } else {\r\n this.mode = \"drag\";\r\n }\r\n }\r\n \r\n onDragOver(event) {\r\n if (this.mode == \"drag\") {\r\n this.addPlaceIndicator(event);\r\n } else if(this.mode == \"resize\") {\r\n var rect = this.selectedElement.getBoundingClientRect();\r\n let newWidth = event.clientX - rect.x;\r\n if (newWidth < 0) newWidth = 1;\r\n\r\n //calculamos clase de ancho\r\n var baseCols = 12;\r\n var containerRect = this.el.nativeElement.getBoundingClientRect();\r\n var colWidth = containerRect.width / baseCols;\r\n var col = Math.round(newWidth / colWidth);\r\n if (col < 1) col = 1;\r\n if (col > 12) col = 12;\r\n let colClass = \"p-md-\" + col;\r\n this.size = col;\r\n if (colClass != this.lastColClass) {\r\n for (var col = 1; col <= 12; col++) this.selectedElement.classList.remove(\"p-md-\" + col);\r\n this.selectedElement.classList.add(colClass);\r\n this.lastColClass = colClass;\r\n this.customizerService.resize(this.customizer, this.placeStartIdx, this.size);\r\n }\r\n }\r\n event.preventDefault();\r\n }\r\n onDrop(event) {\r\n if (this.mode == \"drag\") {\r\n if (this.placeStartIdx != this.placeEndIdx) this.moveDOMElement(this.placeStartIdx, this.placeEndIdx);\r\n this.removePlaceIndicator();\r\n } else if(this.mode == \"resize\") {\r\n this.customizerService.resize(this.customizer, this.placeStartIdx, this.size);\r\n }\r\n this.mode = null;\r\n this.selectedElement = null;\r\n event.preventDefault();\r\n event.stopPropagation();\r\n }\r\n\r\n findItemUnder(x, y) {\r\n var element = Array.from(this.el.nativeElement.children).find((m: any) => {\r\n var rect = m.getBoundingClientRect();\r\n return rect.x < x && (rect.x + rect.width) > x && rect.y < y && (rect.y + rect.height) > y;\r\n });\r\n return element;\r\n }\r\n\r\n findElementByIndex(index) {\r\n return this.el.nativeElement.children[index]\r\n }\r\n\r\n findElementIndex(element) {\r\n let ret: number = element.getAttribute(\"idx\");\r\n return ret;\r\n }\r\n\r\n moveDOMElement(from, to) {\r\n if (from != null && to != null) this.customizerService.move(this.customizer, from, to);\r\n }\r\n\r\n removePlaceIndicator() {\r\n let elementsWithIndicator = this.el.nativeElement.getElementsByClassName(\"customizer-item-placeholder-start\");\r\n Array.from(elementsWithIndicator).forEach((oldElement: any) => {\r\n oldElement.classList.remove(\"customizer-item-placeholder-start\");\r\n });\r\n elementsWithIndicator = this.el.nativeElement.getElementsByClassName(\"customizer-item-placeholder-end\");\r\n Array.from(elementsWithIndicator).forEach((oldElement: any) => {\r\n oldElement.classList.remove(\"customizer-item-placeholder-end\");\r\n });\r\n this.placeEndIdx = null;\r\n }\r\n\r\n addPlaceIndicator(event) {\r\n //buscamos elemento en el que estamos\r\n let element:any = this.findItemUnder(event.clientX, event.clientY);\r\n\r\n //poniendo marca al elemento actual\r\n var position = \"\";\r\n if (element) {\r\n //calculamos si esta en la derecha o izquierda\r\n let offset = element.getBoundingClientRect();\r\n position = event.clientX < (offset.left + offset.width / 2) ? \"start\" : \"end\";\r\n\r\n //añadimos clase de indicador\r\n element.classList.add(\"customizer-item-placeholder-\" + position);\r\n\r\n //calculamos posicion de la plaza\r\n this.placeEndIdx = this.findElementIndex(element);\r\n if (position == \"end\") this.placeEndIdx++;\r\n }\r\n\r\n //quitando over de elemento anterior si estaba, salvo que sea el mismo o haya cambiado de lugar\r\n let elementsWithIndicator = this.el.nativeElement.getElementsByClassName(\"customizer-item-placeholder-start\");\r\n Array.from(elementsWithIndicator).forEach((oldElement:any) => {\r\n if (element != oldElement || position!=\"start\") oldElement.classList.remove(\"customizer-item-placeholder-start\");\r\n });\r\n elementsWithIndicator = this.el.nativeElement.getElementsByClassName(\"customizer-item-placeholder-end\");\r\n Array.from(elementsWithIndicator).forEach((oldElement: any) => {\r\n if (element != oldElement || position != \"end\") oldElement.classList.remove(\"customizer-item-placeholder-end\");\r\n });\r\n\r\n }\r\n\r\n addResizableHandler(element:any) {\r\n element.classList.add(\"customizer-item-resizable\");\r\n }\r\n removeResizableHandler(element: any) {\r\n element.classList.remove(\"customizer-item-resizable\");\r\n }\r\n\r\n}\r\n","import { EventEmitter, Injectable, Output } from '@angular/core';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CustomizerService {\r\n\r\n @Output() enabled: EventEmitter = new EventEmitter();\r\n @Output() disabled: EventEmitter = new EventEmitter();\r\n @Output() moved: EventEmitter = new EventEmitter();\r\n @Output() resized: EventEmitter = new EventEmitter();\r\n \r\n constructor() { }\r\n\r\n enable() {\r\n this.enabled.emit();\r\n }\r\n disable() {\r\n this.disabled.emit();\r\n }\r\n move(customizer: any, from: number, to: number) {\r\n if (from != to) this.moved.emit({ customizer: customizer, from: from, to: to });\r\n }\r\n resize(customizer:any , idx: number, size: number) {\r\n this.resized.emit({ customizer: customizer, idx: idx, size: size });\r\n }\r\n\r\n}\r\n","import { moveItemInArray, transferArrayItem } from '@angular/cdk/drag-drop';\r\nimport { AfterViewInit, Component, EventEmitter, Input, OnDestroy, OnInit, Optional, Output, ViewChild, ViewChildren } from '@angular/core';\r\nimport { FormGroup } from '@angular/forms';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { OverlayPanel } from 'primeng/overlaypanel';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { EntitiesService } from '../../configuration/entities.service';\r\nimport { ComponentService } from './component.service';\r\nimport { ViewComponentAddComponent } from './component/add/view-component-add.component';\r\nimport { ViewComponentCardComponent } from './component/card/view-component-card.component';\r\nimport { ViewComponentCustomComponent } from './component/custom/view-component-custom.component';\r\nimport { ViewComponentFilesComponent } from './component/files/view-component-files.component';\r\nimport { ViewComponentFormComponent } from './component/form/view-component-form.component';\r\nimport { ViewComponentGalleryComponent } from './component/gallery/view-component-gallery.component';\r\nimport { NewViewComponent } from './component/new-view/new-view.component';\r\nimport { ViewComponentTableComponent } from './component/table/view-component-table.component';\r\nimport { ViewsCustomService } from './views-custom.service';\r\nimport { ViewsService } from './views.service';\r\nimport { SessionStorageService } from 'ngx-webstorage';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { DebugService } from '../debug.service';\r\n\r\n@Component({\r\n selector: 'app-view',\r\n templateUrl: 'view.component.html',\r\n styleUrls: ['view.component.scss'],\r\n})\r\nexport class ViewComponent implements OnInit, OnDestroy, AfterViewInit {\r\n\r\n @ViewChild(\"op\") op: OverlayPanel;\r\n @ViewChildren(\"table\") tables: Array;\r\n @ViewChildren(\"form\") forms: Array;\r\n @ViewChildren(\"card\") cards: Array;\r\n @ViewChildren(\"gallery\") galleries: Array;\r\n @ViewChildren(\"file\") files: Array;\r\n @ViewChildren(\"custom\") customs: Array;\r\n @ViewChildren(\"filter\") filters: Array;\r\n\r\n @Output() onEvent: EventEmitter = new EventEmitter();\r\n\r\n @Input(\"code\") public code: string;\r\n @Input(\"model\") public model: any = {};\r\n @Input(\"config\") public config: any = {};\r\n\r\n public viewOrig: any = {};\r\n public view: any = {};\r\n public selectedView: any;\r\n public showConfigOptions: boolean = false;\r\n public allowViewPersonalize: boolean = false;\r\n public allowedLayouts: any[] = [\r\n { code: \"12\", name: \"1 \" + this.translateService.instant(\"view.configure.column\") + \" (100%)\" },\r\n { code: \"6-6\", name: \"2 \" + this.translateService.instant(\"view.configure.columns\") + \" (50%, 50%)\" },\r\n { code: \"8-4\", name: \"2 \" + this.translateService.instant(\"view.configure.columns\") + \" (66%, 34%)\" },\r\n { code: \"9-3\", name: \"2 \" + this.translateService.instant(\"view.configure.columns\") + \" (75%, 25%)\" },\r\n { code: \"4-8\", name: \"2 \" + this.translateService.instant(\"view.configure.columns\") + \" (34%, 66%)\" },\r\n { code: \"3-9\", name: \"2 \" + this.translateService.instant(\"view.configure.columns\") + \" (25%, 75%)\" },\r\n { code: \"4-4-4\", name: \"3 \" + this.translateService.instant(\"view.configure.columns\") + \" (34%, 33%, 33%)\" }\r\n ];\r\n public layout: any[] = [];\r\n\r\n public component: any = null;\r\n\r\n public visibleByOptions: any[] = [\r\n { code: \"all\", label: this.translateService.instant(\"view.configure.all\") },\r\n { code: \"user\", label: this.translateService.instant(\"view.configure.user_responsible\") }\r\n ];\r\n public editableByOptions: any[] = [\r\n { code: \"all\", label: this.translateService.instant(\"view.configure.all\") },\r\n { code: \"user\", label: this.translateService.instant(\"view.configure.user_responsible\") }\r\n ];\r\n public optionsMetadataTo = [\r\n { label: this.translateService.instant(\"view.configure.for_all\"), value: \"all\" },\r\n { label: this.translateService.instant(\"view.configure.onlyme\"), value: \"onlyme\" },\r\n { label: this.translateService.instant(\"view.configure.subordinate\"), value: \"subordinate\" }\r\n ];\r\n\r\n public entity: any = null;\r\n public dropdownViews: any[] = [];\r\n\r\n //Permisos\r\n public personalize_interface: boolean;\r\n public views_superadmin: boolean;\r\n public view_organizations: boolean;\r\n public view_meetings: boolean;\r\n public create_reports: boolean;\r\n public roles_configuration: boolean;\r\n public zonesPermission: boolean;\r\n public personalized_views_read: boolean;\r\n public personalized_views_write: boolean;\r\n public created_by: any;\r\n private suscription1: any;\r\n private suscription2: any;\r\n private suscription3: any;\r\n\r\n public isTemplate: boolean = (localStorage.getItem(\"is_template\") == \"false\" || localStorage.getItem(\"is_template\") == \"0\" ? false : true);\r\n public has_filter_panel: boolean = false;\r\n public show_filter_panel: boolean = false;\r\n public show_filter_panel_mobile: boolean = false;\r\n public componentFilter: any;\r\n public selectedRow: any[] = [];\r\n public hasFilterValue: boolean = false;\r\n public fieldQuicks: any[] = [];\r\n public selfView: any;\r\n public showTrackingOption: boolean = false;\r\n\r\n constructor(\r\n public debugService: DebugService,\r\n @Optional() private dialogRef: DynamicDialogRef,\r\n private viewsService: ViewsService,\r\n private viewsCustomService: ViewsCustomService,\r\n private messageService: MessageService,\r\n private dialogService: DialogService,\r\n public loginService: LoginService,\r\n public componentService: ComponentService,\r\n private entitiesService: EntitiesService,\r\n private usersService: UsersService,\r\n private sessionStorage: SessionStorageService,\r\n private translateService: TranslateService\r\n ) {\r\n this.selfView = this;\r\n\r\n //this.formGroup = this.formBuilder.group({});\r\n //this.formGroup.controls.registerControl('name', new AbstractControl() { Validators: ['', Validators.required]});\r\n this.suscription1 = this.viewsService.onEditViewChange.subscribe(\r\n data => {\r\n this.code = data;\r\n this.viewsService.getViewConfiguration(this.code).subscribe(\r\n data => {\r\n this.viewOrig = JSON.parse(JSON.stringify(data));\r\n this.selectedView = this.viewOrig.id;\r\n this.view = data;\r\n this.toogleConfigOptions();\r\n });\r\n });\r\n this.suscription2 = this.viewsService.onCreateViewChange.subscribe(\r\n filters => {\r\n this.newView(false, filters);\r\n });\r\n\r\n this.suscription3 = this.viewsService.onFilterChange.subscribe(data => {\r\n this.getIfHasFiltersValues();\r\n });\r\n\r\n }\r\n ngOnDestroy(): void {\r\n this.suscription1.unsubscribe();\r\n this.suscription2.unsubscribe();\r\n this.suscription3.unsubscribe();\r\n }\r\n\r\n ngOnInit(): void {\r\n //Recojo el identificador del usuario logeado:\r\n this.created_by = this.loginService.get(\"userId\");\r\n //this.view_organizations = this.loginService.hasPermission(\"ORGANIZATIONS\");\r\n this.view_meetings = this.loginService.hasPermission(\"MEETINGS\");\r\n this.personalize_interface = this.loginService.hasPermission(\"PERSONALIZE_INTERFACE\");\r\n this.create_reports = this.loginService.hasPermission(\"REPORTS_CREATE\");\r\n this.roles_configuration = this.loginService.hasPermission(\"ROLES_CONFIGURATION\");\r\n this.zonesPermission = this.loginService.hasPermission(\"ZONES_READ\");\r\n this.personalized_views_read = this.loginService.hasPermission(\"PERSONALIZED_VIEWS_READ\");\r\n this.personalized_views_write = this.loginService.hasPermission(\"PERSONALIZED_VIEWS_WRITE\");\r\n this.views_superadmin = this.loginService.hasPermission(\"VIEWS_SUPERADMIN\") || localStorage.getItem(\"isSuperAdmin\") == \"true\";\r\n //this.view_attachments_block = this.loginService.hasPermission(\"ATTACHMENTS\");\r\n\r\n }\r\n\r\n ngAfterViewInit(): void {\r\n this.loadView();\r\n }\r\n\r\n loadView() {\r\n this.viewsService.getViewConfiguration(this.code).subscribe({\r\n next: (data: any) => {\r\n this.viewOrig = JSON.parse(JSON.stringify(data));\r\n\r\n this.selectedView = this.viewOrig.id;\r\n this.view = data;\r\n\r\n if (this.dialogRef == null) {\r\n this.viewsService.changeView(this.code);\r\n } else {\r\n //no emitimos el changeview, no es necesario para los dialogos daba problemas con las ediciones de vistas\r\n }\r\n\r\n //cargamos entidad base si tiene\r\n if (this.view.configuration?.entity != null) this.loadBaseEntity();\r\n\r\n //si no hay layout, 1 columan\r\n if (this.view.configuration?.layout == null) this.view.configuration.layout = \"12\";\r\n\r\n //preparamos layout\r\n this.prepareLayout();\r\n\r\n //preparamos los filtros rápidos\r\n if (this.componentFilter?.filters?.allow_filter_panel) {\r\n this.createQuickFilters();\r\n }\r\n\r\n //si permite personalizar\r\n if (this.view.configuration.personalizable != false) {\r\n this.allowViewPersonalize = true;\r\n } else {\r\n this.allowViewPersonalize = false;\r\n }\r\n\r\n this.getIfHasFiltersValues();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n getIfHasFiltersValues() {\r\n\r\n //Comprobamos si la vista tiene algún valor en los filtros.\r\n var sessionInfo = this.sessionStorage.retrieve(this.code);\r\n\r\n if (sessionInfo != null && sessionInfo.filters != null) {\r\n var aux = sessionInfo.filters.filter(m => m.value);\r\n let hasFilters = false;\r\n aux.forEach((filter) => {\r\n let entityField = this.entity?.fields.find(m => m.id == filter.entity_field_id);\r\n if (this.model._excluded_fields == null || (typeof (entityField) != \"undefined\" && this.model._excluded_fields.indexOf(entityField.model_property) < 0)) {\r\n hasFilters = true;\r\n }\r\n });\r\n this.hasFilterValue = hasFilters;\r\n }\r\n }\r\n\r\n loadBaseEntity() {\r\n\r\n this.entitiesService.getByCode(this.view.configuration.entity).subscribe({\r\n next: (data: any) => {\r\n \r\n this.entity = data;\r\n setTimeout(() => {\r\n this.onEvent.emit({ component: \"view\", event: \"entity-loaded\", view: this.view, entity: this.entity });\r\n }, 500);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n prepareLayout() {\r\n let cols = this.view?.configuration?.layout.split(\"-\");\r\n let nCol = 0;\r\n this.layout = [];\r\n cols.forEach(col => {\r\n var components = this.getComponentsForColumn(nCol);\r\n this.layout.push({\r\n id: nCol,\r\n class: \"p-lg-\" + col,\r\n components: components\r\n });\r\n\r\n components.forEach((component: any) => {\r\n if (component.filters) {\r\n if (component.filters.allow_filter_panel) {\r\n this.has_filter_panel = true;\r\n this.componentFilter = component;\r\n }\r\n }\r\n });\r\n nCol++;\r\n });\r\n }\r\n\r\n toogleConfigOptions() {\r\n //TODO: Si es una vista tuya que se pueda editar, se saca las opciones\r\n // si no, se muestra directamente el popup de crear vista.\r\n\r\n if (this.personalize_interface) {\r\n if (this.loginService.hasPermission('VIEWS_SUPERADMIN') || this.loginService.get(\"isSuperAdmin\")) {\r\n this.showConfigOptions = !this.showConfigOptions;\r\n } else if (this.viewOrig.id < 100000 || (this.viewOrig.user_id != null && this.viewOrig.user_id != this.loginService.get(\"userId\"))) {\r\n //Es una vista de las originales, no se le permite con\r\n this.newView(false);\r\n } else {\r\n this.showConfigOptions = !this.showConfigOptions;\r\n }\r\n\r\n }\r\n }\r\n\r\n itemChange(item, itemComponent) {\r\n console.info('itemChanged', item, itemComponent);\r\n }\r\n\r\n itemResize(item, itemComponent) {\r\n console.info('itemResized', item, itemComponent);\r\n }\r\n\r\n drop(event, col: any) {\r\n //moveItemInArray(col.components, event.previousIndex, event.currentIndex);\r\n if (event.previousContainer === event.container) {\r\n moveItemInArray(col.components, event.previousIndex, event.currentIndex);\r\n } else {\r\n transferArrayItem(event.previousContainer.data,\r\n event.container.data,\r\n event.previousIndex,\r\n event.currentIndex);\r\n }\r\n }\r\n\r\n onLayoutChange(event) {\r\n let totalCols = this.view.configuration.layout.split(\"-\").length;\r\n //si hay componentes sin col, los mandamos a la primera\r\n this.view.configuration.components.forEach(component => {\r\n if (component.layout_col != null && component.layout_col > totalCols - 1) component.layout_col = 0;\r\n });\r\n this.prepareLayout();\r\n }\r\n\r\n getComponentsForColumn(nCol: number) {\r\n let components = this.view?.configuration?.components.filter(m => {\r\n return m.layout_col == nCol || (nCol == 0 && m.layout_col == null);\r\n });\r\n return components;\r\n }\r\n\r\n onComponentEvent(event: any) {\r\n if (event.event == \"view-save\") {\r\n //this.save();\r\n } else if (event.event == \"component-left\") {\r\n let previousIndex = event.index;\r\n let currentIndex = previousIndex - 1;\r\n if (currentIndex >= 0 && previousIndex >= 0) moveItemInArray(this.view.configuration.components, previousIndex, currentIndex);\r\n } else if (event.event == \"component-right\") {\r\n let previousIndex = event.index;\r\n let currentIndex = previousIndex + 1;\r\n if (currentIndex >= 0 && previousIndex >= 0) moveItemInArray(this.view.configuration.components, previousIndex, currentIndex);\r\n } else {\r\n this.onEvent.emit(event);\r\n }\r\n }\r\n\r\n save() {\r\n //pasamos componentes del layout a la configuracion\r\n let components: any[] = [];\r\n this.layout.forEach(col => {\r\n col.components.forEach(component => {\r\n component.layout_col = col.id;\r\n components.push(component);\r\n });\r\n });\r\n this.view.configuration.components = components;\r\n\r\n\r\n\r\n //cualqueir cambio de vista se guarda siempre en el custom\r\n if (this.view.id > 1000000) {\r\n //quitamos info de field antes de guardar\r\n let saveView = JSON.parse(JSON.stringify(this.view));\r\n saveView.configuration.components.forEach((component) => {\r\n component.fields?.forEach((field) => {\r\n delete field.entityField;\r\n });\r\n });\r\n\r\n this.viewsCustomService.saveView(this.view.id, saveView).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"view.configure.save_configuration\") });\r\n this.showConfigOptions = false;\r\n this.prepareLayout();\r\n location.reload();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n )\r\n } else {\r\n this.viewsService.save(this.view.id, this.view).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"view.configure.save_configuration\") });\r\n this.showConfigOptions = false;\r\n this.prepareLayout();\r\n location.reload();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n )\r\n }\r\n }\r\n\r\n cancel() {\r\n this.view = this.viewOrig;\r\n this.showConfigOptions = false;\r\n location.reload();\r\n }\r\n\r\n fireEvent(component: string, event: string, args: any = null) {\r\n var table = this.tables.filter(m => m.component.code == component);\r\n var card = this.cards.filter(m => m.component.code == component);\r\n var gallery = this.galleries.filter(m => m.component.code == component);\r\n var file = this.files.filter(m => m.component.code == component);\r\n var custom = this.customs.filter(m => m.component.code == component);\r\n\r\n if (card.length > 0) {\r\n card[0].fireEvent(component, event, args);\r\n } else if (gallery.length > 0) {\r\n gallery[0].fireEvent(component, event, args);\r\n } else if (table.length > 0) {\r\n table[0].fireEvent(component, event, args);\r\n } else if (file.length > 0) {\r\n file[0].fireEvent(component, event, args);\r\n } else if (custom.length > 0) {\r\n custom[0].fireEvent(component, event, args);\r\n } else {\r\n var form = this.forms.filter(m => m.component.code == component);\r\n if (form.length > 0) {\r\n form[0].fireEvent(component, event, args);\r\n }\r\n }\r\n\r\n }\r\n\r\n getComponent(component: string): any {\r\n\r\n var table = this.tables.filter(m => m.component.code == component);\r\n var card = this.cards.filter(m => m.component.code == component);\r\n var gallery = this.galleries.filter(m => m.component.code == component);\r\n var file = this.files.filter(m => m.component.code == component);\r\n var custom = this.customs.filter(m => m.component.code == component);\r\n var form = this.forms.filter(m => m.component.code == component);\r\n\r\n let ret: any = null;\r\n if (card.length > 0) {\r\n ret = card[0];\r\n } else if (gallery.length > 0) {\r\n ret = gallery[0];\r\n } else if (table.length > 0) {\r\n ret = table[0];\r\n } else if (file.length > 0) {\r\n ret = file[0];\r\n } else if (custom.length > 0) {\r\n ret = custom[0];\r\n } else if (form.length > 0) {\r\n ret = form[0];\r\n }\r\n return ret;\r\n }\r\n\r\n getComponentForm(component: string): FormGroup {\r\n var form = this.forms.filter(m => m.component.code == component);\r\n let ret: FormGroup = null;\r\n if (form.length > 0) ret = form[0].form;\r\n return ret;\r\n }\r\n\r\n addComponent() {\r\n const ref = this.dialogService.open(ViewComponentAddComponent, {\r\n data: {\r\n view_code: this.code\r\n },\r\n header: this.translateService.instant(\"view.configure.add_component\"),\r\n width: '600px'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data) {\r\n let component = data.base_component.configuration;\r\n component.layout_col = 0;\r\n component.base_component_code = data.base_component.code;\r\n this.layout[0].components.push(component);\r\n }\r\n })\r\n }\r\n\r\n removeComponent(col, component, i) {\r\n col.components.splice(i, 1);\r\n }\r\n\r\n showComponentConfigOP($event, component: any) {\r\n this.component = component;\r\n if (this.op.overlayVisible) {\r\n this.op.hide();\r\n } else {\r\n this.op.show($event);\r\n }\r\n }\r\n getEntityFromComponent() {\r\n return this.entity;\r\n }\r\n\r\n getEntityBaseName(plural: boolean = false, capitalize: boolean = false) {\r\n let title = \"\";\r\n if (this.entity?.name != null) {\r\n /*if (plural) {\r\n \r\n title = this.entity.name_plural;\r\n } else {\r\n title = this.entity.name;\r\n }*/\r\n title = this.componentService.getEntityName(this.entity, plural);\r\n title = title.toLowerCase();\r\n if (capitalize) title = title[0].toUpperCase() + title.substring(1);\r\n }\r\n return title;\r\n }\r\n getViewCodeName() {\r\n return this.view.code + \" - \" + this.view.name + \" - \" + this.view.id;\r\n }\r\n getViewIsFormEdit() {\r\n return this.view.code.includes(\"edit\");\r\n }\r\n\r\n //Valida que TODOs los formularios de la vista son válidos\r\n getAllFormsFromViewValid() {\r\n var invalidsForm = this.forms.filter(m => m.form.valid == false);\r\n if (invalidsForm.length > 0) {\r\n console.log(this.forms);//pintamos los informes para poder ver cual es el invalido.\r\n }\r\n return (invalidsForm.length > 0 ? false : true);\r\n\r\n }\r\n\r\n newView(edit, filtersComponent: any = null) {\r\n //igual llega los filtros, si es asi hay que buscar en la vista original, y añadirselos\r\n if (filtersComponent != null) {\r\n this.viewOrig.configuration.components?.forEach(component => {\r\n if (filtersComponent.code == component.code) {\r\n component.filters = {};\r\n component.filters.filters = filtersComponent.filters.filters;\r\n component.filters.allow_filter_panel = filtersComponent.filters.allow_filter_panel;\r\n }\r\n });\r\n }\r\n const ref = this.dialogService.open(NewViewComponent, {\r\n data: {\r\n view: this.viewOrig,\r\n edit: edit\r\n },\r\n header: edit ? this.translateService.instant(\"general.filter.edit_personalize_view\") : this.translateService.instant(\"general.filter.create_new_view\"),\r\n width: '40%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.loadViewsDropdown();\r\n if (data) {\r\n let component = data.configuration;\r\n component.layout_col = 0;\r\n component.base_component_code = data.code;\r\n this.layout[0].components.push(component);\r\n this.loadViewsDropdown();\r\n location.reload();\r\n }\r\n });\r\n }\r\n editView() {\r\n this.showConfigOptions = !this.showConfigOptions;\r\n this.op.hide();\r\n }\r\n opToggleTitle(op, $event, component) {\r\n this.component = component;\r\n if (this.component.template == \"form\") {\r\n //Comprobamos si mostrar o no la opción de tracking (solo se muestra si tiene en el metadata la configuración de tracking active.)\r\n if (this.entity != null && this.entity.metadata?.tracking?.enabled) {\r\n this.showTrackingOption = true;\r\n } else {\r\n this.showTrackingOption = false;\r\n }\r\n }\r\n\r\n op.toggle($event);\r\n }\r\n opToggle(op, $event) {\r\n this.loadViewsDropdown()\r\n op.toggle($event);\r\n }\r\n tableColumnsAdjust() {\r\n if (!this.component) return;\r\n let component: ViewComponentTableComponent = this.getComponent(this.component.code);\r\n if (component) component.autoSizeCols();\r\n }\r\n delete() {\r\n this.viewsCustomService.delete(this.view.id).subscribe(\r\n data => {\r\n this.messageService.add({ severity: \"success\", detail: this.translateService.instant(\"general.filter.delete_view_correct\") });\r\n location.reload();\r\n },\r\n error => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }\r\n loadViewsDropdown() {\r\n this.viewsService.viewsCombo({ code: this.code }).subscribe(\r\n data => {\r\n this.dropdownViews = data;\r\n if (this.personalized_views_write) {\r\n this.dropdownViews.push({\r\n id: -1, name: \"*** \" + this.translateService.instant(\"general.filter.create_new_view\") + \" ***\"\r\n });\r\n }\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n changeCurrentView() {\r\n //Éste método utilizará el id de la view seleccionada (selectedView) para guardarlo en el metadata del usuario (userId).\r\n if (this.selectedView != -1) {\r\n this.usersService.changeCurrentView(this.loginService.get(\"userId\"), this.selectedView).subscribe(\r\n data => {\r\n if (data) {\r\n this.viewsService.removeViewConfigurationFromCache(this.selectedView.code);\r\n location.reload();\r\n }\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n }/* else {\r\n this.newView(false);\r\n }*/\r\n }\r\n\r\n toggleFilter() {\r\n this.show_filter_panel = !this.show_filter_panel;\r\n }\r\n toggleFilterMobile() {\r\n this.show_filter_panel_mobile = !this.show_filter_panel_mobile;\r\n }\r\n\r\n exportExcel(component: any) {\r\n let viewComponentTable: ViewComponentTableComponent = this.getComponent(component.code);\r\n if (viewComponentTable == null) {\r\n //TODO: sacar alerta de ha ocurrido un error\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: this.translateService.instant(\"general.no_table_founded_for_export\") })\r\n return;\r\n }\r\n viewComponentTable.exportExcel();\r\n }\r\n\r\n isActionVisible(action: any, item: any) {\r\n let visible: boolean = true;\r\n if (action.ngIf != null) {\r\n visible = eval(action.ngIf);\r\n }\r\n return visible;\r\n }\r\n\r\n onActionClick(action, item, $event) {\r\n $event.preventDefault();\r\n $event.stopPropagation();\r\n let auxSelectedRow = null;\r\n if (this.componentFilter.checked_multiple) auxSelectedRow = this.selectedRow.map(m => m[this.componentFilter.checked_multiple.value]);\r\n this.onEvent.emit({ event: \"action\", component: this.componentFilter.code, action: action, data: item, selectedRow: auxSelectedRow });\r\n }\r\n\r\n getActionLabel(action, item) {\r\n return this.componentService.getActionLabel(action, this.view.code);\r\n /*\r\n let label = action.label;\r\n //1 buscamos en el generico general.action.add\r\n var key = \"general.action.\" + action.name;\r\n if (this.translateService.instant(key) !== key) {\r\n label = this.translateService.instant(key);\r\n }\r\n //2 buscamos en el especifico\r\n var keySpecific = \"component.\" + this.view.code + \".action.\" + action.name;\r\n if (this.translateService.instant(keySpecific) !== keySpecific) {\r\n label = this.translateService.instant(keySpecific);\r\n }\r\n return label;*/\r\n }\r\n\r\n createQuickFilters() {\r\n //Creamos los filtros de quick\r\n this.componentFilter?.filters?.quick_filter_fields?.forEach(item => {\r\n let field = this.entity?.fields.find(m => m.id == item);\r\n this.fieldQuicks.push(field);\r\n\r\n //TODOOOOOO:\r\n //Buscamos si esta la propiedad en la sesion para ponérselo al modelo (PORQUÉ NO LLEGA EL MODELO???)\r\n /*var sessionInfo = this.sessionStorage.retrieve(this.code);\r\n if (sessionInfo != null && sessionInfo.filters != null) {\r\n var aux = sessionInfo.filters.filter(m => m.value);\r\n aux.forEach((filter:any) => {\r\n if (filter.entity_field_id + \"\" == field.id + \"\") {\r\n this.model[field.model_property] = filter.value;\r\n }\r\n });\r\n }*/\r\n });\r\n }\r\n\r\n clearfilter(quick_model_property: any) {\r\n this.model[quick_model_property] = \"\";\r\n\r\n this.getIfHasFiltersValues();\r\n //lanzamos un reload de la tabla\r\n let eventPayload: any = { event: \"action\", valid: true, component: this.componentFilter.code, action: { name: \"search\" }, data: this.model };\r\n this.onEvent.emit(eventPayload);\r\n }\r\n\r\n reloadData(quick_model_property) {\r\n this.model[\"_op_\" + quick_model_property] = \"like\";\r\n this.getIfHasFiltersValues();\r\n //lanzamos un reload de la tabla\r\n let eventPayload: any = { event: \"action\", valid: true, component: this.componentFilter.code, action: { name: \"search\" }, data: this.model };\r\n this.onEvent.emit(eventPayload);\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
{{view.name}}
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {{view.name}} ({{'view.configure.default' | translate}})\r\n
\r\n
\r\n \r\n
\r\n
0 \" style=\"color: #a1b6b2\">\r\n \r\n \r\n \r\n
\r\n {{view.updatedBy?.name ? 'Últ. Modificación: '+view.updatedBy.name:\"\"}}\r\n {{view.updated_at | date: '(dd/MM/yyyy HH:mm)':'GMT'}} {{view.updated_at ? '' : ''}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n {{'view.configure.modify_view' | translate}}\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n {{'general.filter.create_new_view' | translate}}\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n {{'view.configure.title_configuration_view' | translate\r\n }}\r\n \r\n {{'view.configure.subtitle_configuration_view' | translate }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
1000000\">\r\n \r\n \r\n
\r\n
1000000\">\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n {{'view.configure.drag_component' | translate }}\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n\r\n \r\n
\r\n\r\n
\r\n \r\n {{'general.filter.title' | translate}}\r\n \r\n \r\n
\r\n\r\n\r\n\r\n\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable, Type } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { CustomComponent } from './component/custom/custom-component.interface';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ViewsCustomService {\r\n url = \"/api/\";\r\n\r\n private registeredComponents:any[] = [];\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n saveView(id, obj): Observable {\r\n return this.http.put(this.url + \"viewscustom/\" + id, obj);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"viewscustom/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url + \"viewscustom/\", obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"viewscustom/\" + id);\r\n }\r\n\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { EventEmitter, Injectable, Type } from '@angular/core';\r\nimport { Observable, of } from 'rxjs';\r\nimport { LoaderService } from '../loader/loader.service';\r\nimport { CustomComponent } from './component/custom/custom-component.interface';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ViewsService {\r\n url = \"/api/\";\r\n\r\n onViewChange: EventEmitter = new EventEmitter(); \r\n onEditViewChange: EventEmitter = new EventEmitter();\r\n onCreateViewChange: EventEmitter = new EventEmitter();\r\n onFilterChange: EventEmitter = new EventEmitter();\r\n\r\n private viewCache: any[] = [];\r\n\r\n private registeredComponents: any[] = [];\r\n\r\n constructor(private http: HttpClient, private loaderService:LoaderService) { }\r\n\r\n removeViewConfigurationFromCache(code:string) {\r\n this.viewCache = this.viewCache.filter(m => m.code != code);\r\n }\r\n\r\n getViewConfiguration(code: string): Observable {\r\n let observable = Observable.create(observer => {\r\n\r\n let view = this.viewCache.find(m => m.code == code);\r\n if (view == null) {\r\n this.http.get(this.url + \"views/bycode/\" + code).subscribe(data => {\r\n this.viewCache.push({ code: code, view: data });\r\n observer.next(data);\r\n observer.complete();\r\n });\r\n } else {\r\n observer.next(view.view);\r\n observer.complete();\r\n }\r\n });\r\n\r\n return observable;\r\n }\r\n getViewComponents(code: string): Observable {\r\n return this.http.get(this.url + \"views/bycode/\" + code + \"/components\");\r\n }\r\n\r\n getComponentConfiguration(code: string): Observable {\r\n return this.http.get(this.url + \"components/bycode/\" + code);\r\n }\r\n\r\n getComboOptions(path: string): Observable {\r\n return this.http.get(this.url + path);\r\n }\r\n\r\n getTableData(path: string, params: any): Observable {\r\n return this.http.get(this.url + path, { params: params });\r\n }\r\n\r\n saveView(id, obj): Observable {\r\n return this.http.put(this.url + \"views/\" + id, obj);\r\n }\r\n\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url + \"views/\", { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"views/\" + id);\r\n }\r\n\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"views/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url + \"views/\", obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"views/\" + id);\r\n }\r\n\r\n RegisterCustomComponent(name: string, component: Type) {\r\n this.registeredComponents.push({ name: name, component: component });\r\n }\r\n\r\n GetComponentByName(name: string): Type {\r\n let founds = this.registeredComponents.filter(m => m.name == name);\r\n let found = null;\r\n if (founds.length > 0) found = founds[0].component;\r\n return found;\r\n }\r\n\r\n viewsCombo(params): Observable {\r\n this.loaderService.skipRequest(this.url + \"views/viewsCombo/\", params);\r\n return this.http.get(this.url + \"views/viewsCombo/\", { params: params });\r\n }\r\n\r\n changeView(code: string) {\r\n this.onViewChange.emit(code);\r\n }\r\n \r\n editView(code: string) {\r\n this.onEditViewChange.emit(code);\r\n }\r\n\r\n createView(filters: any = null) {\r\n this.onCreateViewChange.emit(filters);\r\n }\r\n\r\n getPagesListenerEditView() {\r\n return this.onEditViewChange;\r\n }\r\n \r\n getIfHasFiltersValues(code: any) {\r\n return this.onFilterChange;\r\n }\r\n}\r\n","import { AfterViewInit, Component, ElementRef, Input, OnInit, ViewChild } from '@angular/core';\nimport { MessageService } from 'primeng/api';\nimport { CustomComponent } from 'src/app/core/view/component/custom/custom-component.interface';\nimport { ViewComponent } from 'src/app/core/view/view.component';\nimport { TrackingService } from '../tracking/tracking.service';\nimport { ActivatedRoute } from '@angular/router';\nimport { EntitiesService } from '../configuration/entities.service';\nimport { EntitiesFieldsService } from '../configuration/entities-fields.service';\nimport { DatePipe, formatDate } from '@angular/common';\nimport { UtilsService } from '../core/utils.service';\n\n@Component({\n selector: 'app-entity-history-line',\n templateUrl: './entity-history-line.component.html',\n styleUrls: ['./entity-history-line.component.scss']\n})\nexport class EntityHistoryLineComponent implements OnInit, AfterViewInit, CustomComponent {\n @Input() public data: any\n @Input() public entity: any;\n @ViewChild('container') container: ElementRef;\n\n history_data: any = {\n columns: [],\n values: [],\n total: 0\n };\n transaction_type_id: any;\n\n public lastGridEvent: any = { \"first\": 0, \"rows\": 10, \"sortOrder\": 1, \"filters\": {}, \"globalFilter\": null };\n public loading: boolean = false;\n public have_tracking_notes: boolean = false;\n public rowsPerPageOptions: number[] = [5, 10, 25, 50];\n public rowsPerPage: number = 5;\n public totalRows: number = 0;\n\n public first; \n public last;\n public mode: string = '';\n\n constructor(\n private messageService: MessageService,\n private trackingService: TrackingService,\n private utilsService: UtilsService\n ) { }\n\n ngOnInit(): void {\n }\n\n ngAfterViewInit(): void {\n //detectar ancho del contenedor\n Promise.resolve(null).then(() => {\n if (this.container.nativeElement.offsetWidth < 700) {\n this.mode = 'card';\n this.loadHistory(this.lastGridEvent);\n } else {\n this.mode = 'table';\n }\n });\n }\n\n onPageChange($event) {\n this.loadHistory($event);\n }\n\n loadHistory($event: any) {\n this.have_tracking_notes = Object.keys(this.data).includes('tracking_notes');\n this.lastGridEvent = $event;\n let params = {\n _page: $event.first / $event.rows,\n _pageSize: $event.rows,\n _sortBy: $event.sortField ? $event.sortField : \"\",\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\",\n entity_id: this.entity.id,\n entity_pk_id: this.data.id\n };\n if (typeof (this.data.id) !== \"undefined\") {\n Promise.resolve(null).then(() => this.loading = true);\n this.trackingService.history(params).subscribe({\n next: (data:any) => {\n data.values.forEach((item, idx) => {\n //dejamos abierto solo el ultimo recibido\n item.is_opened = idx == 0 ? true : false;\n });\n this.history_data = data;\n this.totalRows = data.total;\n Promise.resolve(null).then(() => this.loading = false);\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n Promise.resolve(null).then(() => this.loading = false);\n }\n });\n\n }\n }\n\n toogleEvent(event: any) {\n let ret = event.is_opened ? false : true;\n event.is_opened = ret;\n }\n\n onEvent(component: string, event: string, args: any) {\n if (component == \"entityHistory.custom\" && event == \"reload\") {\n this.loadHistory(this.lastGridEvent);\n }\n }\n\n getColumns(mode: string) {\n let ret: any[] = [];\n if (mode == 'header') {\n let featured_entity_field_ids = [];\n if (this.entity?.metadata?.tracking?.featured_entity_field_ids != null) featured_entity_field_ids = this.entity.metadata.tracking.featured_entity_field_ids;\n ret = this.history_data.columns.filter(m => m.visible && (m.property == 'user_name' || m.property == 'tracking_date' || m.property == 'channel' || featured_entity_field_ids.includes(m.entity_field_id)));\n } else if (mode == 'detail') {\n ret = this.history_data.columns.filter(m => m.visible && m.property != 'user_name' && m.property != 'tracking_date');\n } else {\n ret = this.history_data.columns.filter(m => m.visible);\n }\n \n return ret;\n }\n\n getValueFor(item: any, field: any) {\n let value = item[field.property];\n let formatFn = field.formatFn;\n if (formatFn == null && field.configuration != null && field.configuration.formatFn != null) {\n formatFn = field.configuration.formatFn;\n }\n if (formatFn != null)\n {\n var format = formatFn.split(\"|\");\n if (format[0] == \"date\") value = this.utilsService.formatDate(value, format);\n if (format[0] == \"suffix\") value = this.utilsService.formatSuffix(value, format);\n if (format[0] == \"phone\") value = this.utilsService.formatPhone(value, format);\n if (format[0] == \"mail\") value = this.utilsService.formatMail(value, format);\n if (format[0] == \"www\") value = this.utilsService.formatWWW(value, format);\n //if (format[0] == \"badge\") value = this.utilsService.formatBadge(field, row, value, format);\n //if (format[0] == \"badgeColor\") value = this.utilsService.formatBadgeColor(field, row, value, format);\n if (format[0] == \"image\") value = this.utilsService.formatImage(field, format);\n if (format[0] == \"icon\") value = this.utilsService.formatIcon(value, format);\n if (format[0] == \"currency\") value = this.utilsService.formatCurrency(value, format);\n if (format[0] == \"number\") value = this.utilsService.formatNumber(value, format);\n }\n if (value == null || value == \"\") value = \" \";\n return value;\n \n }\n \n\n getValueForIdx(item: any, idx: number) {\n let values = Object.values(item);\n return values[idx];\n }\n}\n","
\n \n
\n \n \n \n {{column.label}}\n \n \n \n \n {{getValueFor(item, column)}}\n \n \n \n \n
 {{ item.tracking_message }}
\n \n \n
\n
\n
\n\n
\n
\n \n
\n
\n
\n
\n
\n {{getValueFor(event, column)}}\n {{'general.tracking_import' | translate}}\n
\n \n \n \n \n
\n
\n
\n \n
{{getValueFor(event, column)}}
\n
\n
\n  {{event.tracking_message}}\n
\n
\n
\n
\n\n \n
\n\n
\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\n// Components\nimport { CoreModule } from '../core/core.module';\nimport { EntityHistoryLineComponent } from './entity-history-line.component';\nimport { TableModule } from 'primeng/table';\nimport { PaginatorModule } from 'primeng/paginator';\nimport { ProgressBarModule } from 'primeng/progressbar';\nimport { TranslateModule } from '@ngx-translate/core';\n\n\n@NgModule({\n imports: [\n CommonModule,\n CoreModule,\n TableModule,\n PaginatorModule,\n ProgressBarModule,\n TranslateModule\n ],\n declarations: [\n EntityHistoryLineComponent\n ]\n })\nexport class EntityHistoryLineModule {\n }\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class FeaturesService {\r\n\r\n url = \"/api/features\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n if(id==null || id == 0 || typeof id == \"undefined\"){\r\n return this.add(obj);\r\n }else{\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n getMonthlyPrice(params): Observable{\r\n return this.http.get(this.url + \"/getMonthlyPrice\", {params:params});\r\n }\r\n\r\n}\r\n","import { AfterViewInit, Component, OnInit, ViewChild, ViewChildren } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { TasksStatusService } from 'src/app/tasks/tasks-status.service';\r\nimport { TasksService } from 'src/app/tasks/tasks.service';\r\nimport { UIChart } from 'primeng/chart';\r\nimport { OrganizationsTypesService } from 'src/app/organizations/organizations-types.service';\r\nimport { OrganizationsService } from 'src/app/organizations/organizations.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { Router } from '@angular/router';\r\nimport { ReportsService } from 'src/app/reports/reports.service';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { ViewComponentTableComponent } from 'src/app/core/view/component/table/view-component-table.component';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-home-list',\r\n templateUrl: './home-list.component.html',\r\n styleUrls: ['./home-list.component.scss']\r\n})\r\n\r\nexport class HomeListComponent implements OnInit, AfterViewInit {\r\n\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n @ViewChild(\"chartTasks\", { static: false }) public chartTasks: UIChart;\r\n @ViewChild(\"chartOrganizations\", { static: false }) public chartOrganizations: UIChart;\r\n @ViewChildren(\"chartGraph\") public chartGraph: UIChart;\r\n\r\n public entity: any = {};\r\n public home: any;\r\n public user_id: number;\r\n public selectedTimeModeTask: string = \"day\";\r\n public selectedTimeModeMeeting: string = \"day\";\r\n public dataOrganizations: any = {\r\n labels: [],\r\n datasets: [\r\n {\r\n data: []\r\n }\r\n ]\r\n };\r\n public dataTasks: any = {\r\n labels: [],\r\n datasets: [\r\n {\r\n data: []\r\n }\r\n ]\r\n };\r\n /*\r\n public colorsStates: any = [\"#E7E9ED\", \"#FFCE56\",\"#4BC0C0\", \"#36A2EB\", \"#FF6384\"];\r\n public colorsOrganizations: any = [\"#FF6384\", \"#4BC0C0\", \"#FFCE56\", \"#E7E9ED\", \"#36A2EB\"];*/\r\n //public colors1: any = [\"#90cdc4\", \"#E7E9ED\", \"#FFCE56\", \"#FF6384\", \"#36A2EB\", \"#93dd9c\", \"#9d9d9d\", \"#745914\", \"#103a3a\", \"#87132c\"];\r\n public colors1: any = [\"#BFB48F\", \"#E89B01\", \"#E2660E\", \"#AF2734\", \"#D687B8\", \"#904C83\", \"#8282BF\", \"#434488\", \"#267EAB\", \"#85CDD7\", \"#26B4AD\", \"#7FB780\", \"#2C7130\", \"#1B505A\", \"#5E3030\"];//ma han pasado la lista de coloresg2pm el 14/11/2022\r\n\r\n public reports: any[];\r\n public basicOptions: any = {\r\n plugins: {\r\n legend: {\r\n display: true,\r\n position: 'bottom'\r\n }\r\n },\r\n scales: {\r\n yAxes: [{\r\n ticks: {\r\n beginAtZero: true\r\n }\r\n }]\r\n }\r\n\r\n };\r\n\r\n constructor(\r\n private tasksService: TasksService,\r\n private tasksStatusService: TasksStatusService,\r\n private organizationsTypesService: OrganizationsTypesService,\r\n private organizationsService: OrganizationsService,\r\n private messageService: MessageService,\r\n private loginService: LoginService,\r\n private dialogService: DialogService,\r\n private reportService: ReportsService,\r\n private router: Router,\r\n private usersService: UsersService,\r\n private viewsService: ViewsService,\r\n private translateService: TranslateService\r\n ) {\r\n }\r\n\r\n ngOnInit() {\r\n this.loadDataGraph();\r\n }\r\n\r\n ngAfterViewInit() {\r\n //this.chartGraph.reinit();\r\n }\r\n\r\n loadData() {\r\n this.user_id = parseInt(this.loginService.get(\"userId\"));\r\n }\r\n\r\n loadDataGraph() {\r\n\r\n this.reportService.listGraphsHome().subscribe(data => {\r\n this.reports = data;\r\n\r\n this.reports.forEach(element => {\r\n\r\n //clear chart\r\n element.dataGraph = {\r\n labels: [],\r\n datasets: [\r\n {\r\n data: [],\r\n label: \"\",\r\n }\r\n ]\r\n }\r\n if (element.chart_type == \"bar\") {\r\n element.dataGraph.datasets[0].backgroundColor = this.colors1[0];\r\n element.dataGraph.datasets[0].hoverBackgroundColor = this.colors1[0];\r\n } else if (element.chart_type == \"pie\") {\r\n element.dataGraph.datasets[0].backgroundColor = this.colors1[0];\r\n element.dataGraph.datasets[0].hoverBackgroundColor = this.colors1[0];\r\n } else {\r\n element.dataGraph.datasets[0].borderColor = this.colors1[0];\r\n element.dataGraph.datasets[0].fill = false;\r\n }\r\n\r\n element.dataGraph.labels = element.data.map(m => m.label).filter(function (item, pos, self) {\r\n return self.indexOf(item) == pos;\r\n });\r\n let grouped2 = element.data.map(m => m.label2).filter(function (item, pos, self) {\r\n return self.indexOf(item) == pos;\r\n });\r\n element.dataGraph.labels.forEach(label => {\r\n let i = 0;\r\n grouped2.forEach(g2 => {\r\n let valres = element.data.filter(m => m.label == label && m.label2 == g2);\r\n var randomColor = this.generateColor();\r\n if (element.dataGraph.datasets.length - 1 < i) {\r\n var aux = {\r\n data: [],\r\n label: \"\",\r\n backgroundColor: (this.colors1[i] ? this.colors1[i] : randomColor), hoverBackgroundColor: (this.colors1[i] ? this.colors1[i] : randomColor)\r\n };\r\n element.dataGraph.datasets.push(aux);\r\n }\r\n element.dataGraph.datasets[i].data.push(valres.length > 0 ? valres[0].value : 0);\r\n element.dataGraph.datasets[i].label = g2;\r\n element.dataGraph.datasets[i].label = (typeof (g2) === \"undefined\" ? element.entity_field_description : g2);\r\n if (typeof (g2) === \"undefined\") {\r\n //Pinta todos del mismo color y pone el label con el texto del field correspondiente.\r\n element.dataGraph.datasets[i].backgroundColor = this.colors1[0];\r\n element.dataGraph.datasets[i].hoverBackgroundColor = this.colors1[0];\r\n }\r\n i++;\r\n });\r\n\r\n });\r\n\r\n });\r\n\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n })\r\n }\r\n\r\n loadPrevOrNext(id: number) {\r\n let task = null;\r\n let table: ViewComponentTableComponent = this.view.getComponent(\"home.tasks\");\r\n let prev: any = null;\r\n let next: any = null;\r\n for (let i = 0; i < table.rows.length; i++) {\r\n if (table.rows[i].id == id) {\r\n task = table.rows[i];\r\n if ((i + 1) <= (table.rows.length - 1)) next = table.rows[i + 1];\r\n break;\r\n }\r\n prev = table.rows[i];\r\n }\r\n if (task != null) this.viewTask(task, prev, next);\r\n }\r\n\r\n viewTask(task, prev = null, next = null) {\r\n var params = { status_pending: true, home: true, _sortBy: \"\", timeMode: this.selectedTimeModeTask };\r\n\r\n // Convierte el objeto params a una cadena JSON\r\n var paramsString = JSON.stringify(params);\r\n\r\n // Guarda la cadena JSON en el localStorage con la clave \"organization.tasks\"\r\n localStorage.setItem(\"home.tasks\", paramsString);\r\n localStorage.removeItem(\"tasks.list\");\r\n localStorage.removeItem(\"organization.tasks\");\r\n\r\n this.router.navigate(['/tasks/', (task.organization_id ? task.organization_id : 0), (task?.id ? task.id : 0)]);\r\n \r\n }\r\n\r\n viewMeeting(meeting: any) {\r\n var params = {\r\n id: meeting ? meeting.company_id : 0,\r\n contactId: meeting ? meeting.contact_id : 0,\r\n meetingId: meeting ? meeting.id : 0,\r\n deactivated: true,\r\n timeMode: this.selectedTimeModeMeeting\r\n }\r\n // Utiliza router.navigate y pasa el objeto de parámetros\r\n this.router.navigate(['/meetings/', (meeting ? meeting.id : 0)], { queryParams: params });\r\n }\r\n\r\n viewOrganization(organization: any) {\r\n this.router.navigate(['/organizations/', organization.organization_type_id ? organization.organization_type_id : 0, organization.id]);\r\n }\r\n\r\n viewReport(event: any) {\r\n this.router.navigateByUrl('/reports/' + event.id + \"#\" + event.url);\r\n }\r\n viewTransactions(event: any) {\r\n this.router.navigate(['/transactions', event.data.transaction_type_id, event.data.id]);\r\n /*\r\n var code = event.data.transactionType.code;\r\n const ref = this.dialogService.open(TransactionsDetailComponent, {\r\n data: {\r\n id: event ? event.data.id : null,\r\n transaction_type_id: event.data.transaction_type_id\r\n },\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"home.opportunities\", \"reload\");\r\n this.view.fireEvent(\"home.sales\", \"reload\");\r\n this.view.fireEvent(event.component, \"reload\");\r\n this.view.fireEvent(\"home.follow_up_opportunities\", \"reload\");\r\n this.view.fireEvent(\"home.follow_up_sales\", \"reload\");\r\n });*/\r\n }\r\n\r\n reorderReport(event: any) {\r\n if (event.dragIndex != event.dropIndex) {\r\n this.usersService.reorderFavouriteReports(event.dragIndex, event.dropIndex).subscribe(data => {\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n })\r\n }\r\n }\r\n\r\n filterTasksByTime(timeMode, event) {\r\n this.selectedTimeModeTask = timeMode;\r\n this.view.fireEvent(\"home.tasks\", \"reload\", { timeMode: timeMode });\r\n }\r\n filterMeetingsByTime(timeMode, event) {\r\n this.selectedTimeModeMeeting = timeMode;\r\n this.view.fireEvent(\"home.meetings\", \"reload\", { timeMode: timeMode, _sortBy: \"from\" });\r\n }\r\n\r\n onEvent(event: any) {\r\n if (event.component == \"home.tasks\") {\r\n if (event.event == \"dblclick\") this.loadPrevOrNext(event.data.id);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.loadPrevOrNext(event.data.id);\r\n if (event.event == \"action\" && event.action.name == \"filterTasksByDay\") {\r\n this.filterTasksByTime(\"day\", event);\r\n const boxes = document.getElementsByClassName(\"filterTasksByDay\");\r\n boxes[0].classList.add(\"active\");\r\n const boxes2 = document.getElementsByClassName(\"filterTasksByMonth\");\r\n boxes2[0].classList.remove(\"active\");\r\n const boxes3 = document.getElementsByClassName(\"filterTasksByWeek\");\r\n boxes3[0].classList.remove(\"active\");\r\n }\r\n if (event.event == \"action\" && event.action.name == \"filterTasksByWeek\") {\r\n this.filterTasksByTime(\"week\", event);\r\n const boxes = document.getElementsByClassName(\"filterTasksByWeek\");\r\n boxes[0].classList.add(\"active\");\r\n const boxes2 = document.getElementsByClassName(\"filterTasksByMonth\");\r\n boxes2[0].classList.remove(\"active\");\r\n const boxes3 = document.getElementsByClassName(\"filterTasksByDay\");\r\n boxes3[0].classList.remove(\"active\");\r\n }\r\n if (event.event == \"action\" && event.action.name == \"filterTasksByMonth\") {\r\n this.filterTasksByTime(\"month\", event);\r\n const boxes = document.getElementsByClassName(\"filterTasksByMonth\");\r\n boxes[0].classList.add(\"active\");\r\n const boxes2 = document.getElementsByClassName(\"filterTasksByWeek\");\r\n boxes2[0].classList.remove(\"active\");\r\n const boxes3 = document.getElementsByClassName(\"filterTasksByDay\");\r\n boxes3[0].classList.remove(\"active\");\r\n }\r\n } else if (event.component == \"home.meetings\") {\r\n if (event.event == \"dblclick\") this.viewMeeting(event.data);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewMeeting(event.data);\r\n //filterMeetingsBy time.\r\n if (event.event == \"action\" && event.action.name == \"filterMeetingsByDay\") {\r\n this.filterMeetingsByTime(\"day\", event);\r\n const boxes = document.getElementsByClassName(\"filterMeetingsByDay\");\r\n boxes[0].classList.add(\"active\");\r\n const boxes2 = document.getElementsByClassName(\"filterMeetingsByMonth\");\r\n boxes2[0].classList.remove(\"active\");\r\n const boxes3 = document.getElementsByClassName(\"filterMeetingsByWeek\");\r\n boxes3[0].classList.remove(\"active\");\r\n }\r\n if (event.event == \"action\" && event.action.name == \"filterMeetingsByWeek\") {\r\n this.filterMeetingsByTime(\"week\", event);\r\n const boxes = document.getElementsByClassName(\"filterMeetingsByWeek\");\r\n boxes[0].classList.add(\"active\");\r\n const boxes2 = document.getElementsByClassName(\"filterMeetingsByMonth\");\r\n boxes2[0].classList.remove(\"active\");\r\n const boxes3 = document.getElementsByClassName(\"filterMeetingsByDay\");\r\n boxes3[0].classList.remove(\"active\");\r\n }\r\n if (event.event == \"action\" && event.action.name == \"filterMeetingsByMonth\") {\r\n this.filterMeetingsByTime(\"month\", event);\r\n const boxes = document.getElementsByClassName(\"filterMeetingsByMonth\");\r\n boxes[0].classList.add(\"active\");\r\n const boxes2 = document.getElementsByClassName(\"filterMeetingsByWeek\");\r\n boxes2[0].classList.remove(\"active\");\r\n const boxes3 = document.getElementsByClassName(\"filterMeetingsByDay\");\r\n boxes3[0].classList.remove(\"active\");\r\n }\r\n } else if (event.component == \"home.organization\") {\r\n if (event.event == \"dblclick\") this.viewOrganization(event.data);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewOrganization(event.data);\r\n } else if (event.component == \"home.reports\") {\r\n if (event.event == \"dblclick\") this.viewReport(event.data);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewReport(event.data);\r\n if (event.event == \"reorder\") this.reorderReport(event.data);\r\n } else if (event.component == \"home.opportunities\") {\r\n if (event.event == \"dblclick\") this.viewTransactions(event);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewTransactions(event);\r\n } else if (event.component == \"home.sales\") {\r\n if (event.event == \"dblclick\") this.viewTransactions(event);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewTransactions(event);\r\n } else if (event.component != \"\" && event.event == \"dblclick\" && typeof (event.data.transaction_type_id) != \"undefined\") {\r\n this.viewTransactions(event);\r\n }\r\n }\r\n\r\n generateColor() {\r\n var randomColor = Math.floor(Math.random() * 16777215).toString(16);\r\n return \"#\" + randomColor;\r\n }\r\n}\r\n\r\n\r\n","\r\n\r\n\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { HomeListComponent } from './home-list/home-list.component';\r\nimport { OrganizationsMeetingsDetailComponent } from '../organizations/organizations-detail/organizations-meetings-detail/organizations-meetings-detail.component';\r\n\r\nconst routes: Routes = [\r\n { path: 'home', component: HomeListComponent },\r\n { path: 'meetings/:id', component: OrganizationsMeetingsDetailComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [\r\n RouterModule.forChild(routes)\r\n ],\r\n exports: [\r\n RouterModule\r\n ]\r\n})\r\nexport class HomeRoutingModule {\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\n// Components\r\nimport { HomeListComponent } from './home-list/home-list.component';\r\nimport { HomeRoutingModule } from './home-routing.module';\r\nimport { CoreModule } from '../core/core.module';\r\nimport { ChartModule } from 'primeng/chart';\r\nimport { CardModule } from 'primeng/card';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n HomeRoutingModule, \r\n ChartModule,\r\n CoreModule, \r\n CardModule,\r\n TranslateModule\r\n ],\r\n declarations: [\r\n HomeListComponent\r\n ]\r\n })\r\n export class HomeModule {\r\n }\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MenuItem, Message, MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { ImportService } from '../import.service';\r\nimport { FileUploadModule } from 'primeng/fileupload';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { UntypedFormBuilder, NgForm } from '@angular/forms';\r\nimport { DatePipe } from '@angular/common';\r\nimport { LoginService } from '../../login/login.service';\r\nimport { LoaderService } from '../../core/loader/loader.service';\r\nimport { ImportProgressbarComponent } from './import-progressbar/import-progressbar.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { ComponentService } from '../../core/view/component.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n\r\n@Component({\r\n selector: 'app-import-detail',\r\n templateUrl: './import-detail.component.html',\r\n styleUrls: ['./import-detail.component.scss']\r\n})\r\nexport class ImportDetailComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n @ViewChild(\"formDetails\") public formDetails: NgForm;\r\n\r\n\r\n public filterValuesOptions: any[] = [];\r\n public steps: MenuItem[];\r\n public activeIndex: number = 0;\r\n public totallines: number = 0;\r\n public entities: any = [];\r\n public headersColumn: any = [];\r\n public headersColumnAux: any = [];\r\n public import: any = {};\r\n public file: any = {};\r\n public entity: any = {};\r\n //public identification_type : any;\r\n public allowedEntities: any;\r\n public disabledImportButton: boolean = true;\r\n public temporalCombo: any[] = [];\r\n public import_mode = [\r\n { label: this.translateService.instant(\"component.imports.detail.update_create\"), code: 'update_create' },\r\n { label: this.translateService.instant(\"component.imports.detail.create\"), code: 'create' },\r\n { label: this.translateService.instant(\"component.imports.detail.only_link\"), code: 'only_link' }\r\n ];\r\n public import_mode2 = [\r\n { label: this.translateService.instant(\"component.imports.detail.update_create\"), code: 'update_create' },\r\n { label: this.translateService.instant(\"component.imports.detail.create\"), code: 'create' }\r\n ];\r\n public import_mode_only_link = [\r\n { label: this.translateService.instant(\"component.imports.detail.only_link\"), code: 'only_link' }\r\n ];\r\n public msgs_resume: Message[];\r\n public msgs_resume_confirm: Message[];\r\n public confirm: boolean = false;\r\n //public highLines: number = 5000;\r\n public listFieldsMandatories: any = [];\r\n public isTransactionLines: boolean = false;\r\n public filterValuesOptionsMultiselects: any[] = [];\r\n\r\n constructor(private importService: ImportService,\r\n private loginService: LoginService,\r\n private usersService: UsersService,\r\n private dialogService: DialogService,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private coreDialogService: CoreDialogService,\r\n private viewsService: ViewsService,\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private entitiesService: EntitiesService,\r\n private formBuilder: UntypedFormBuilder,\r\n private datePipe: DatePipe,\r\n private loaderService: LoaderService,\r\n private componentService: ComponentService,\r\n private translateService: TranslateService)\r\n { }\r\n\r\n\r\n ngOnInit() {\r\n this.loadEntities();\r\n\r\n\r\n this.steps = [\r\n {\r\n label: this.translateService.instant(\"component.imports.detail.file\"),\r\n command: (event: any) => {\r\n this.activeIndex = 0;\r\n }\r\n },\r\n {\r\n label: this.translateService.instant(\"component.imports.detail.mapping\"),\r\n command: (event: any) => {\r\n this.activeIndex = 1;\r\n }\r\n },\r\n {\r\n label: this.translateService.instant(\"component.imports.detail.verify_and_ended\"),\r\n command: (event: any) => {\r\n this.activeIndex = 2;\r\n }\r\n }\r\n ];\r\n }\r\n loadData(id: number) {\r\n if (id != 0) {\r\n this.importService.get(id).subscribe({\r\n next: (data:any) => {\r\n this.import = data;\r\n if(this.import.entity_id == 14) {\r\n this.isTransactionLines = true;\r\n }\r\n this.loadEntitiesFields();\r\n },\r\n error: (error:any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.import = {\r\n name: this.translateService.instant(\"component.imports.detail.import_date\", { date: this.datePipe.transform(new Date(), \"dd/MM/yyyy HH:mm\") }),\r\n date: new Date(),\r\n status: \"pending\",\r\n metadata: {\r\n config: {\r\n select: [],\r\n identifications: []\r\n }\r\n }\r\n };\r\n }\r\n }\r\n\r\n onBasicUpload(event) {\r\n this.import.filename = event.originalEvent.body.filename;\r\n this.import.mimetype = event.originalEvent.body.mimetype;\r\n this.import.guid = event.originalEvent.body.guid;\r\n this.import.size = event.originalEvent.body.size;\r\n this.import.path = event.originalEvent.body.path;\r\n }\r\n onErrorUpload(event) {\r\n this.messageService.add({ closable: false, severity: 'error', detail: this.translateService.instant(\"component.imports.detail.error_uploading_file\") });\r\n }\r\n loadColumns() {\r\n let id = this.import.id ?? 0;\r\n\r\n this.importService.readColumns(this.import.guid, id).subscribe(\r\n data => {\r\n this.headersColumn = [];\r\n var aux: any;\r\n aux = data;\r\n this.totallines = aux.total;\r\n this.import.status_total_lines = this.totallines;\r\n this.headersColumnAux = aux.columns;\r\n this.headersColumn.push({ code: \"null\", label: this.translateService.instant(\"component.imports.detail.not_import\") })\r\n this.headersColumn.push({ code: \"same_value\", label: this.translateService.instant(\"component.imports.detail.same_value\") })\r\n this.headersColumnAux.forEach(element => {\r\n this.headersColumn.push({ code: element, label: element });\r\n });\r\n\r\n //Intentamos borrar los fields y volverselos a cargar, pero nada....sigue sin preseleccionar \r\n var ent = Object.assign([], this.entity.fields);\r\n this.entity.fields = [];\r\n setTimeout(() => {\r\n ent.forEach(element => {\r\n this.entity.fields.push(element);\r\n });\r\n }, 50);\r\n //fin de lo raro \r\n },\r\n error => {\r\n console.log(error);\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n )\r\n }\r\n\r\n showHideCustomOptions(item, option) {\r\n\r\n if (item.header == \"same_value\") {\r\n if (this.getValueType(item) == option) return true;\r\n }\r\n return false;\r\n }\r\n\r\n getValueType(element) {\r\n if (typeof (this.entity.fields) !== \"undefined\") {\r\n let field = this.entity.fields.filter(m => m.id == element.id);\r\n if (field.length > 0) {\r\n return this.valueTypes(field[0].data_type, field[0].control_type);\r\n }\r\n }\r\n }\r\n valueTypes(data_type: string, control_type: string) {\r\n let valueType = \"\";\r\n if (data_type == \"string\") {\r\n valueType = 'input-text';\r\n }\r\n else if ((data_type == \"number\" && control_type != \"dropdown\") || data_type == \"date\") {\r\n valueType = (data_type == \"number\" ? 'input-number' : \"input-datetime\");\r\n }\r\n else if (data_type == \"list\") {\r\n valueType = \"list\";\r\n } else if (data_type == \"list_multiple\") {\r\n valueType = 'dropdown-multiple';\r\n } else if (control_type == 'checkbox' && data_type == \"boolean\") {\r\n valueType = 'input-checkbox';\r\n } else {\r\n valueType = 'input-text';\r\n }\r\n\r\n if (control_type == \"dropdown\") {\r\n valueType = 'input-dropdown';\r\n }\r\n\r\n return valueType;\r\n }\r\n getOptionsData(element: any) {\r\n \r\n let filterOptions: any[] = [];\r\n let field = this.entity.fields.filter(m => m.id == element.id);\r\n if (field.length > 0) {\r\n if (field[0].data_type == \"list\" || field[0].data_type == \"list_multiple\") {\r\n \r\n field[0].configuration.options.items.forEach(element => {\r\n filterOptions.push({ id: element.code, name: element.text });\r\n });\r\n } else if (field[0].data_type == \"number\") {\r\n //Solución temporal para que no salgan todos los status independientemente del tipo de transacción.\r\n if (element.entity_code != null) this.temporalCombo[element.id] = this.temporalCombo[element.id].filter(m => m.transactionType?.code == element.entity_code || m.transactionType == null);\r\n \r\n return this.temporalCombo[element.id];\r\n }\r\n }\r\n return filterOptions;\r\n }\r\n loadEntities() {\r\n this.entitiesService.all({ for_import: true }).subscribe({\r\n next: (data:any) => {\r\n this.entities = data.rows;\r\n\r\n let entities2 = []; \r\n\r\n if (!this.loginService.hasPermission('VIEW_TRANSACTION_LINES')) {\r\n this.entities = this.entities.filter(m => m.code != \"transactionLine\");\r\n }\r\n if (!this.loginService.hasPermission(\"PRODUCTS_READ\")) {\r\n this.entities = this.entities.filter(m => m.code != \"product\");\r\n }\r\n //Si se define correctamente el ngIf en ENTITIES aqui se eliminará del listado si no cumple las condiciones.\r\n this.entities.forEach((entity: any) => {\r\n entity.name = this.componentService.getEntityName(entity);\r\n entity.name_plural = this.componentService.getEntityName(entity, true);\r\n if (this.componentService.isVisible(entity.metadata, null)) {\r\n entities2.push(entity);\r\n }\r\n });\r\n this.entities = JSON.parse(JSON.stringify(entities2));\r\n this.loadData(this.config.data.id);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n identificationsChanged() {\r\n this.entity.fields.forEach(element => {\r\n element.is_required_aux = false\r\n });\r\n }\r\n\r\n getEntityInfo(entity_id) {\r\n var aux = this.allowedEntities.find(m => m.entity.entity_id == entity_id);\r\n let import_mode_custom = this.import_mode;\r\n\r\n if (aux.mode == \"only_link\" && entity_id != this.import.entity_id) {\r\n\r\n import_mode_custom = this.import_mode_only_link\r\n }\r\n let importMode = import_mode_custom.find(m => m.code == aux.mode).label;\r\n let importType = aux.identifications.find(m => m.value == aux.type).label;\r\n var traduccion = this.translateService.instant(\"component.imports.detail.information_import\", { importMode: importMode, importType: importType });\r\n\r\n return (aux.checked ? traduccion : \"\");\r\n// return (aux.checked ? \" (Modo de importación: '\" + importMode + \"'. Identificación única: '\" + importType + \"')\" : \"\");\r\n\r\n }\r\n\r\n getValueFilterBy(entity_id) {\r\n\r\n var aux = this.allowedEntities.find(m => m.entity.entity_id == entity_id);\r\n let import_mode_custom = this.import_mode;\r\n if (aux.mode == \"only_link\") {\r\n import_mode_custom = this.import_mode_only_link\r\n }\r\n let identificationsEntities = aux.identifications.find(m => m.value == aux.type).entityFieldsIds;\r\n\r\n if (aux.checked) {\r\n\r\n //Sacamos los obligatorios de seleccion, luego los obligatorios y luego el resto.\r\n let importMode = import_mode_custom.find(m => m.code == aux.mode).code;\r\n let res = this.entity.fields.filter(m => identificationsEntities.includes(m.id) && m.entity_id == entity_id);\r\n res.forEach(element => {\r\n element.is_required_aux = true;\r\n });\r\n if (importMode != \"only_link\") {\r\n let others = this.entity.fields.filter(m => !identificationsEntities.includes(m.id) && m.entity_id == entity_id);\r\n let aux = res.concat(others);\r\n aux.forEach(element => {\r\n if (element.hasOwnProperty('header')) {\r\n //Lo buscamos en las opciones del csv, sino existe, le borramos el header.\r\n if (this.headersColumn.length > 0) {\r\n var exist = this.headersColumn.filter(m => m.code == element.header);\r\n if (exist.length == 0) delete element[\"header\"];\r\n }\r\n }\r\n });\r\n return res.concat(others);\r\n } else {\r\n //Devolvemos los de la seleccion unicamente ya que solo se usa para comparar.\r\n res.forEach(element => {\r\n if (element.hasOwnProperty('header')) {\r\n //Lo buscamos en las opciones del csv, sino existe, le borramos el header.\r\n if (this.headersColumn.length > 0) {\r\n var exist = this.headersColumn.filter(m => m.code == element.header);\r\n if (exist.length == 0) delete element[\"header\"];\r\n }\r\n }\r\n });\r\n return res;\r\n }\r\n } else {\r\n //No esta checheado, devolvemos solo los obligatorios por la \"Identificación de manera única\" de la entidad principal\r\n var principal = this.allowedEntities.find(m => m.entity_id == this.import.entity_id);\r\n let identificationsEntitiesPrincipal = principal.identifications.find(m => m.value == principal.type);\r\n let res = [];\r\n if (typeof (identificationsEntitiesPrincipal) !== \"undefined\" && identificationsEntitiesPrincipal != null) {\r\n\r\n //let res = this.entity.fields.filter(m=> (identificationsEntities.includes(m.id) || m.is_required) && m.entity_id == entity_id);\r\n res = this.entity.fields.filter(m => (identificationsEntitiesPrincipal.entityFieldsIds.includes(m.id)) && m.entity_id == entity_id);\r\n res.forEach(element => {\r\n element.is_required_aux = true;\r\n });\r\n }\r\n\r\n //Lo buscamos en las opciones del csv, sino existe, le borramos el header.\r\n res.forEach(element => {\r\n if (element.hasOwnProperty('header')) {\r\n if (this.headersColumn.length > 0) {\r\n var exist = this.headersColumn.filter(m => m.code == element.header);\r\n if (exist.length == 0) delete element[\"header\"];\r\n }\r\n }\r\n });\r\n return res;\r\n }\r\n }\r\n loadEntitiesFields() {\r\n let entity_id = this.import.entity_id ?? 0;\r\n this.importService.fields(entity_id).subscribe({\r\n next: (data: any) => {\r\n this.entity = data;\r\n\r\n let fields = [];\r\n this.entity.fields.forEach(field => {\r\n // field.name = field.full_model_property;\r\n field.description = this.componentService.getFieldDescription(field, false);\r\n if (this.componentService.isVisibleFieldCustom({ entityField: field }, null)) {\r\n fields.push(field);\r\n }\r\n //cargamos los datos de la importacion\r\n if (this.import.entity_id) {\r\n let columnselected = this.import.metadata.config.select.find(m => m.entity_field_id == field.id);\r\n\r\n if (columnselected != null) {\r\n field.value = columnselected.value,\r\n field.header = columnselected.header;\r\n }\r\n\r\n //SI ES UNA TRANSACCIÓN, TENEMOS QUE PRESELECCIONAR LA TRANSACCIÓN COMO MINIMO Y SOLO MOSTRAR EL DE SOLO RELACIONAR.\r\n if (this.import.entity_id == 14) {\r\n this.isTransactionLines = true;\r\n\r\n }\r\n }\r\n //cargamos en un temporal todos los datos de los posibles combos\r\n if (field.control_type == \"dropdown\" || field.control_type == \"dropdown-multiple\") {\r\n this.getComboOptions(field);\r\n }\r\n });\r\n this.entity.fields = JSON.parse(JSON.stringify(fields));\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n\r\n this.importService.getImportAllowedEntities(entity_id).subscribe({\r\n next: (data: any) => {\r\n this.allowedEntities = data;\r\n if (this.import.entity_id == 14) {\r\n this.isTransactionLines = true;\r\n }\r\n if (!this.import.id) {\r\n // this.import.metadata.config.identifications = this.allowedEntities.filter(m=>m.entity_id==this.import.entity_id)[0];\r\n this.allowedEntities.forEach(element => {\r\n element.entity.code = element.entity.entity_code;\r\n element.entity.entity_name = this.componentService.getEntityName(element.entity); \r\n element.checked = (element.entity.entity_id == entity_id ? true : (this.isTransactionLines && element.entity.alias == 'oportunity' ? true : false));\r\n element.entity_id = element.entity.entity_id,\r\n element.mode = (!this.isTransactionLines ? this.import_mode[0].code : (element.entity.alias != 'transactionLine' ? this.import_mode_only_link[0].code : this.import_mode[0].code)),\r\n element.type = element.identifications[0].value,\r\n element.ignore_null = true\r\n });\r\n } else {\r\n this.allowedEntities.forEach(element => {\r\n element.entity.code = element.entity.entity_code;\r\n element.entity.entity_name = this.componentService.getEntityName(element.entity);\r\n let columnselected = this.import.metadata.config.identifications.find(m => m.entity_id == element.entity.entity_id);\r\n if (columnselected != null) {\r\n element.checked = columnselected.checked;\r\n element.entity_id = columnselected.entity_id,\r\n element.type = columnselected.type;\r\n element.mode = columnselected.mode,\r\n element.ignore_null = columnselected.ignore_null;\r\n }\r\n });\r\n }\r\n\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n getComboOptions(field) {\r\n if (field.configuration.options?.type == \"api\") {\r\n var url = \"/api/\" + field.configuration.options.url;\r\n this.importService.customVoidCombos(url, {}).subscribe({\r\n next: (data: any) => {\r\n this.temporalCombo[field.id] = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n field.configuration.options.items.forEach(e => {\r\n e.name = e.text;\r\n e.id = e.code;\r\n })\r\n this.temporalCombo[field.id] = field.configuration.options.items\r\n\r\n if (field.data_type == \"list\" || field.data_type == 'list_multiple') {\r\n field.configuration.options.items.forEach(element => {\r\n \r\n let id = field.configuration.field_value;\r\n let text = field.configuration.field_text;\r\n if (typeof this.filterValuesOptions[field.id] === \"undefined\") this.filterValuesOptions[field.id] = [];\r\n this.filterValuesOptions[field.id].push({ [id]: element.code, [text]: element.text });\r\n\r\n });\r\n }\r\n }\r\n }\r\n\r\n processingInfo() {\r\n this.import.metadata.config.identifications = [];\r\n this.allowedEntities.forEach(element => {\r\n this.import.metadata.config.identifications.push(\r\n {\r\n checked: element.checked,\r\n entity_id: element.entity.entity_id,\r\n mode: element.mode,\r\n type: element.type,\r\n ignore_null: element.ignore_null\r\n }\r\n )\r\n });\r\n //this.import.status = \"processing\";\r\n this.import.metadata.config.select = [];\r\n //rellenamos los datos del select \r\n this.entity.fields.forEach(field => {\r\n //cargamos los datos de la importacion\r\n if (typeof (field.header) !== \"undefined\" && field.header != null) {\r\n this.import.metadata.config.select.push(\r\n {\r\n entity_id: field.entity_id,\r\n entity_field_id: field.id,\r\n value: (typeof (field.value) === \"undefined\" ? null : field.value),\r\n header: field.header\r\n }\r\n )\r\n }\r\n });\r\n }\r\n\r\n\r\n popupConfirmProcessing() {\r\n const ref = this.dialogService.open(ImportProgressbarComponent, {\r\n data: {\r\n id: this.import.id\r\n },\r\n header: this.translateService.instant(\"component.imports.detail.import_in_progress\"),\r\n width: '35%',\r\n //closable: false\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n\r\n this.dynamicDialogRef.close();\r\n })\r\n }\r\n\r\n save(saveData) {\r\n\r\n this.importService.summarize(this.import.id).subscribe({\r\n next: (data: any) => {\r\n let stringMessage = \"\";\r\n data.forEach(element => {\r\n var textcreate = this.translateService.instant(\"component.imports.list.create\");\r\n if (element.onlyLink) textcreate = this.translateService.instant(\"component.imports.list.not_found\");\r\n stringMessage += \"\" + this.componentService.getEntityName(element.entity, true) + \": \" + \"
\" + textcreate + \": \" + element.insert + \"
\" + this.translateService.instant(\"component.imports.list.update\") + \": \" + element.updates + \"

\";\r\n });\r\n\r\n this.coreDialogService.confirm({\r\n message: stringMessage + '
' + this.translateService.instant(\"component.imports.list.question_import\"),\r\n header: this.translateService.instant(\"component.imports.list.question_import_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.import.status = \"validated\";\r\n this.saveImport(true, false);\r\n },\r\n reject: () => {\r\n this.import.status = \"validating\";\r\n this.import.message = stringMessage;\r\n this.saveImport(false, true);\r\n }\r\n });\r\n },\r\n error: (error:any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n messageResume() {\r\n let message1 = \"\";\r\n // let mode = this.import_mode.find(m=>m.code==this.import.metadata.config.type);\r\n // message1 = \"Seleccionado el modo: \" + mode.lab0el + \"\\n\";\r\n this.processingInfo();\r\n\r\n var madatoriesChecked = this.allowedEntities.filter(m => m.checked).map(m => m.entity_id);\r\n var mandatoriesAndNotValue = null;\r\n var mandatoriesAndNotValueInfo = null;\r\n\r\n madatoriesChecked.forEach(element => {\r\n var aux = this.allowedEntities.find(m => m.entity.entity_id == element);\r\n let import_mode_custom = this.import_mode;\r\n if (aux.mode == \"only_link\") {\r\n\r\n import_mode_custom = this.import_mode_only_link\r\n }\r\n if (import_mode_custom.find(m => m.code == aux.mode).code != \"only_link\") {\r\n mandatoriesAndNotValue = this.entity.fields.filter(m => ((m.is_required && element == m.entity_id) || m.is_required_aux) && (typeof (m.header) === \"undefined\" || m.header == null || m.header == \"null\")).map(m => m.id);\r\n mandatoriesAndNotValueInfo = this.entity.fields.filter(m => ((m.is_required && element == m.entity_id) || m.is_required_aux) && (typeof (m.header) === \"undefined\" || m.header == null || m.header == \"null\"));\r\n } else {\r\n mandatoriesAndNotValue = this.entity.fields.filter(m => (element == m.entity_id && m.is_required_aux) && (typeof (m.header) === \"undefined\" || m.header == null || m.header == \"null\")).map(m => m.id);\r\n mandatoriesAndNotValueInfo = this.entity.fields.filter(m => (element == m.entity_id && m.is_required_aux) && (typeof (m.header) === \"undefined\" || m.header == null || m.header == \"null\"));\r\n }\r\n });\r\n\r\n if (mandatoriesAndNotValue.length > 0) {\r\n //Hay campos obligatorios. Vamos a buscar haber si están seleccionados.\r\n message1 += this.translateService.instant(\"component.imports.detail.mandatory_data_not_founded\");\r\n message1 += \"\\n\\n\"\r\n mandatoriesAndNotValueInfo.forEach(element => {\r\n message1 += \"De \" + element.entity_name + \" el campo \" + element.description + \". \\n
\";\r\n });\r\n this.disabledImportButton = true;\r\n } else {\r\n this.disabledImportButton = false;\r\n let totalCols = this.import.metadata.config.select.filter(m => m.header != \"null\");\r\n message1 += this.translateService.instant(\"component.imports.detail.total_columns\", { totalCols: totalCols.length }) + \"\\n\";\r\n message1 += this.translateService.instant(\"component.imports.detail.total_lines\", { totallines: this.totallines });\r\n /*if (this.totallines > this.highLines) {\r\n this.msgs_resume_confirm = [{ severity: 'error', summary: '', detail: \"Hay más de \" + this.highLines + \" líneas en el fichero.\" }]\r\n }*/\r\n this.saveImport(false, false);\r\n }\r\n return message1;\r\n }\r\n\r\n nextStep() {\r\n this.activeIndex += 1;\r\n if (this.activeIndex == 1) {\r\n this.loadColumns();\r\n } else {\r\n this.msgs_resume = [\r\n { severity: 'info', summary: '', detail: this.messageResume() }\r\n ];\r\n }\r\n }\r\n\r\n prevStep() {\r\n this.activeIndex -= 1;\r\n }\r\n\r\n saveImport(redirect, closepopup) {\r\n if (typeof this.import.id === \"undefined\") {\r\n this.importService.add(this.import).subscribe({\r\n next: (data: any) => {\r\n this.import = data;\r\n if(redirect) this.popupConfirmProcessing();\r\n if(closepopup) this.dynamicDialogRef.close();\r\n },\r\n error:(error:any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.importService.save(this.import.id, this.import).subscribe({\r\n next: (data: any) => {\r\n if (redirect) this.popupConfirmProcessing();\r\n if (closepopup) this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n downloadImport(importFile) {\r\n this.importService.download(importFile.id);\r\n }\r\n\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n \r\n \r\n\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
{{'component.imports.detail.info_select_check' |\r\n translate}}
\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
{{ 'imports.' + entity.entity.entity_code + '.identification_type.' + element.value | translate }}
\r\n
\r\n
\r\n \r\n
\r\n
{{ 'imports.' + entity.entity.entity_code + '.identification_type.' + element.value | translate }}
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n {{'component.imports.detail.mapping' | translate}}\r\n
\r\n
\r\n \r\n \r\n \r\n {{entityAllowed.entity.entity_name}}\r\n {{getEntityInfo(entityAllowed.entity.entity_id)}}\r\n \r\n \r\n \r\n \r\n {{'component.imports.detail.property' | translate}}\r\n {{'component.imports.detail.csv' | translate}}\r\n {{'component.imports.detail.type' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n {{item.description}}  {{'component.imports.detail.is_required' |\r\n translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { DatePipe } from '@angular/common';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { LoaderService } from '../../../core/loader/loader.service';\r\nimport { ImportService } from '../../import.service';\r\n\r\n\r\n@Component({\r\n selector: 'app-import-progressbar',\r\n templateUrl: './import-progressbar.component.html',\r\n styleUrls: ['./import-progressbar.component.scss']\r\n})\r\nexport class ImportProgressbarComponent implements OnInit {\r\n\r\n public loadingPercent: number;\r\n private timeoutID: any;\r\n constructor(\r\n private route: ActivatedRoute,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private coreDialogService: CoreDialogService,\r\n private importService: ImportService, private loaderService: LoaderService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.route.params.subscribe(params => {\r\n this.checkIfProcessing(this.config.data.id);\r\n });\r\n }\r\n\r\n checkIfProcessing(id) {\r\n this.importService.checkIfProcessing(id).subscribe((response: any) => {\r\n if (response.success == true) {\r\n this.loadingPercent = response.status_total;\r\n this.loaderService.onPendingRequest.emit({ pendingRequests: 0, loadingPercent:0 });\r\n this.timeoutID = setTimeout(() => {\r\n this.checkIfProcessing(id);\r\n }, 10000);\r\n } else {\r\n this.cancel();\r\n }\r\n });\r\n }\r\n cancel() {\r\n clearTimeout(this.timeoutID);\r\n this.dynamicDialogRef.close();\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { ImportService } from '../import.service';\r\nimport {FileUploadModule} from 'primeng/fileupload';\r\nimport {HttpClientModule} from '@angular/common/http';\r\nimport { Table } from 'primeng/table';\r\nimport { ImportDetailComponent } from '../import-detail/import-detail.component';\r\nimport { ImportProgressbarComponent } from '../import-detail/import-progressbar/import-progressbar.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ComponentService } from '../../core/view/component.service';\r\n\r\n@Component({\r\n selector: 'app-import-list',\r\n templateUrl: './import-list.component.html',\r\n styleUrls: ['./import-list.component.scss']\r\n})\r\nexport class ImportListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n @ViewChild(\"grid\") private grid: any;\r\n public imports:any = Array();\r\n public filters:any = {};\r\n public totalRecords:number;\r\n public loading:boolean = false;\r\n private lastGridEvent:any;\r\n\r\n public first;\r\n public last;\r\n constructor(\r\n private importService: ImportService,\r\n private usersService: UsersService,\r\n private dialogService: DialogService,\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private viewsService: ViewsService,\r\n private router: Router,\r\n private translateService: TranslateService,\r\n public componentService: ComponentService\r\n ) { }\r\n\r\n ngOnInit() {\r\n }\r\n \r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"date\",\r\n _sortDirection: $event.sortOrder > 0 ? \"desc\" : \"asc\"\r\n };\r\n params = Object.assign(params, this.filters);\r\n this.importService.all(params).subscribe({\r\n next: (data: any) => {\r\n this.totalRecords = data.totalRows;\r\n this.imports = data.rows;\r\n\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n clearFilters(){\r\n this.filters = {};\r\n this.search();\r\n }\r\n search(){\r\n this.lastGridEvent.first = 0;\r\n this.loadData(this.lastGridEvent);\r\n }\r\n\r\n add(importId){\r\n if(typeof(importId) === \"undefined\" || importId == null) importId =0;\r\n const ref = this.dialogService.open(ImportDetailComponent, {\r\n data: {\r\n id: importId,\r\n },\r\n header: (importId == 0 ? this.translateService.instant(\"component.imports.list.new_import\") : this.translateService.instant(\"component.imports.list.re-import\")),\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n //if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code); no hay vistas\r\n this.search();\r\n })\r\n\r\n }\r\n\r\n delete(importElement) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.imports.delete_message\", { name: importElement.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.importService.delete(importElement.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.loadData(this.lastGridEvent);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n saveImport(importData, redirect, closepopup) {\r\n this.importService.save(importData.id, importData).subscribe({\r\n next: (data: any) => {\r\n if (redirect) this.popupConfirmProcessing(importData);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n popupConfirmProcessing(importData) {\r\n const ref = this.dialogService.open(ImportProgressbarComponent, {\r\n data: {\r\n id: importData.id\r\n },\r\n header: this.translateService.instant(\"component.imports.list.import_progress\"),\r\n width: '35%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n //this.dynamicDialogRef.close();\r\n this.search();\r\n })\r\n }\r\n\r\n openInfo(importData) {\r\n\r\n if (importData.status == \"validating\") {\r\n this.importService.summarize(importData.id).subscribe({\r\n next: (data: any) => {\r\n\r\n let stringMessage = \"\";\r\n data.forEach(element => {\r\n var textcreate = this.translateService.instant(\"component.imports.list.create\");\r\n if (element.onlyLink) textcreate = this.translateService.instant(\"component.imports.list.not_found\");\r\n stringMessage += \"\" + this.componentService.getEntityName(element.entity, true) + \": \" + \"
\" + textcreate + \": \" + element.insert + \"
\" + this.translateService.instant(\"component.imports.list.update\") + \": \" + element.updates + \"

\";\r\n });\r\n importData.updatedBy = null;\r\n importData.createdBy = null;\r\n this.coreDialogService.confirm({\r\n message: stringMessage + '
' + this.translateService.instant(\"component.imports.list.question_import\"),\r\n header: this.translateService.instant(\"component.imports.list.question_import_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n importData.status = \"validated\";\r\n //importData.entity = null;\r\n this.saveImport(importData, true, false);\r\n },\r\n reject: () => {\r\n importData.status = \"validating\";\r\n importData.message = stringMessage;\r\n //importData.entity = null;\r\n this.saveImport(importData, false, true);\r\n }\r\n });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n //Es un fallo\r\n var title = \"\";\r\n if (importData.status == 'success') title = this.translateService.instant(\"component.imports.list.what_was_done\");\r\n this.coreDialogService.notify({\r\n message: importData.message,\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n }\r\n }\r\n\r\n duplicate(importId: number) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.imports.list.question_duplicate\"),\r\n header: this.translateService.instant(\"component.imports.list.question_duplicate_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.importService.duplicate(importId).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"component.imports.list.duplicate_correct\") });\r\n this.loadData(this.lastGridEvent);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n}\r\n","\r\n\r\n \r\n
\r\n {{'general.filter.title' | translate }}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n {{'component.imports.title' | translate }}\r\n \r\n
\r\n
\r\n\r\n\r\n \r\n \r\n \r\n {{'import.entity_fields.status' | translate }}\r\n {{'import.entity_fields.date' | translate }}\r\n {{'import.entity_fields.entity' | translate }}\r\n {{'import.entity_fields.created_by' | translate }}\r\n {{'import.entity_fields.name' | translate }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{'component.imports.status_fail' | translate }}\r\n {{'component.imports.status_success' | translate }}\r\n {{'component.imports.status_pending' | translate }}\r\n \r\n {{'component.imports.status_processing' | translate }}\r\n {{(import.status_line*100/import.status_total_lines) | number : '0.0-0' }}%\r\n \r\n {{'component.imports.status_validating' | translate }}\r\n \r\n {{import.date | date: 'dd/MM/yyyy HH:mm'}}\r\n {{componentService.getEntityName(import.entity)}}\r\n {{import.createdBy?.name}}\r\n {{import.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { ImportListComponent } from './import-list/import-list.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"import\", component: ImportListComponent }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class ImportRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ImportListComponent } from './import-list/import-list.component';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { CoreModule } from '../core/core.module';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { MessageModule } from 'primeng/message';\r\nimport { ImportRoutingModule } from './import-routing.module';\r\nimport { CardModule } from 'primeng/card';\r\nimport { FileUploadModule } from 'primeng/fileupload';\r\nimport { ImportDetailComponent } from './import-detail/import-detail.component';\r\nimport { TableModule } from 'primeng/table';\r\nimport {StepsModule} from 'primeng/steps';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { AccordionModule } from 'primeng/accordion';\r\nimport { ProgressBarModule } from 'primeng/progressbar';\r\nimport { ImportProgressbarComponent } from './import-detail/import-progressbar/import-progressbar.component';\r\nimport { MultiSelectModule } from 'primeng/multiselect';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n ConfirmDialogModule,\r\n ImportRoutingModule,\r\n DialogModule,\r\n FormsModule,\r\n CoreModule,\r\n FontAwesomeModule,\r\n MessageModule,\r\n CardModule,\r\n FileUploadModule,\r\n TableModule,\r\n DropdownModule,\r\n StepsModule,\r\n AccordionModule,\r\n CheckboxModule,\r\n ProgressBarModule,\r\n MultiSelectModule,\r\n TranslateModule\r\n ],\r\n declarations: [ImportListComponent, ImportDetailComponent, ImportProgressbarComponent]\r\n})\r\nexport class ImportModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ImportService {\r\n url = \"/api/import\";\r\n\r\nconstructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n } \r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n \r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n fields(id): Observable {\r\n return this.http.get(this.url + \"/\" + id + \"/fields\");\r\n }\r\n summarize(id): Observable {\r\n return this.http.get(this.url + \"/\" + id + \"/summarize\");\r\n }\r\n customVoidCombos(url, params): Observable {\r\n return this.http.get(url, { params: params });\r\n }\r\n getImportAllowedEntities(id): Observable {\r\n return this.http.get(this.url + \"/\" + id + \"/GetImportAllowedEntities\");\r\n }\r\n\r\n readColumns(uid, id): Observable{\r\n return this.http.get(this.url + \"/readColumns/\" + uid +\"/\"+ id);\r\n }\r\n\r\n loadDataFromCsv(save, params): Observable {\r\n return this.http.post(this.url + \"/\" + save +\"/loadDataFromCsv\", params);\r\n }\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n checkIfProcessing(id): Observable {\r\n return this.http.get(this.url + \"/\" + id + \"/checkIfProcessing\");\r\n }\r\n\r\n download(id) {\r\n var url = \"/api/PublicImport/\" + localStorage.getItem(\"companyId\") + \"/\" + id + \"/download\";\r\n window.open(url);\r\n }\r\n duplicate(id: number): Observable {\r\n return this.http.get(this.url + \"/duplicate/\" + id + \"\");\r\n }\r\n}\r\n","import { Component, ViewChild } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { MessageService } from 'primeng/api';\nimport { DialogService } from 'primeng/dynamicdialog';\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\nimport { ViewComponent } from 'src/app/core/view/view.component';\nimport { ViewsService } from 'src/app/core/view/views.service';\nimport { MailMarketingNotificationToStatsComponent } from 'src/app/mail-marketing/mail-marketing-notification-to-stats/mail-marketing-notification-to-stats.component';\nimport { ContactsService } from 'src/app/organizations/organizations-detail/organizations-contacts-detail/contacts.service';\nimport { OrganizationsService } from 'src/app/organizations/organizations.service';\nimport { Location } from '@angular/common';\nimport { MailingDetailComponent } from 'src/app/mailing/mailing-detail/mailing-detail.component';\nimport { LoginService } from '../../login/login.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { UtilsService } from '../../core/utils.service';\n\n@Component({\n selector: 'app-leads-detail',\n templateUrl: './leads-detail.component.html',\n styleUrls: ['./leads-detail.component.scss']\n})\nexport class LeadsDetailComponent {\n public contact: any = {};\n public organization: any = {};\n @ViewChild(\"view\") public view: ViewComponent;\n constructor(\n private route: ActivatedRoute,\n private organizationsService: OrganizationsService,\n private messageService: MessageService,\n private contactService: ContactsService,\n //private config: DynamicDialogConfig,\n //private dynamicDialogRef: DynamicDialogRef,\n private coreDialogService: CoreDialogService,\n private dialogService: DialogService,\n private router: Router,\n private viewsService: ViewsService,\n private _location: Location,\n private loginService: LoginService,\n private utilsService: UtilsService,\n private translateService: TranslateService\n ) { }\n\n ngOnInit(): void {\n this.route.params.subscribe(params => {\n this.loadData(params[\"id\"]);\n });\n }\n\n loadData(id: number) {\n if (id != 0) {\n this.contactService.get(id).subscribe(\n data => {\n this.contact = data;\n this.refreshAll();\n },\n error => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n );\n } else {\n this.route.params.subscribe(params => {\n this.contact.organization_id = parseInt(params[\"organizationId\"]);\n });\n }\n }\n\n refreshAll() {\n this.view.view?.configuration?.components?.array?.forEach(component => {\n this.view.fireEvent(component.code, \"reload\");\n });\n }\n\n openNotificationStats() {\n const ref = this.dialogService.open(MailMarketingNotificationToStatsComponent, {\n data: {\n //organization_id: this.contact.organization_id,\n contact_id: this.contact.id,\n },\n header: this.translateService.instant(\"component.mailMarketing.toStats.report_clicks\"),\n width: '70%'\n });\n ref.onClose.subscribe((data: any) => {\n //nothing\n })\n }\n delete() {\n if (this.loginService.hasPermission(\"LEADS_DELETE\")) {\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.leads.delete_message\", { name: this.contact.name }),\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: \"pi pi-info-circle\",\n accept: () => {\n this.contactService.delete(this.contact.id).subscribe(\n data => {\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\n //this.dynamicDialogRef.close\n this.utilsService.alertsChange.emit(true);\n this._location.back();\n },\n error => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n )\n },\n reject: () => {\n\n }\n });\n }\n }\n\n cancel() {\n this._location.back();\n }\n\n newMail(emailAcc) {\n const ref = this.dialogService.open(MailingDetailComponent, {\n data: {\n to: emailAcc,\n entity_id: 2,\n entity_pk_id: this.contact.id,\n organization_id: this.contact.organization_id,\n contact_id: this.contact.id,\n template_type_code: \"MAIL\",\n searchRelated: true\n },\n header: this.translateService.instant(\"general.new_mail_title\"),\n width: '70%',\n });\n ref.onClose.subscribe((data: any) => {\n if (data) {\n location.reload();\n }\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\n });\n }\n openEmails() {\n if (this.contact.id != null) this.router.navigate([\"/emails\", (this.organization.id ? this.organization.id : 0), this.contact.id]); //this.cancel();\n }\n isDuplied(contact, event) {\n if (!event.valid) {\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\n return;\n }\n this.contactService.isDuplied(contact).subscribe(\n data => {\n if (data == true) {\n this.coreDialogService.notify({\n message: this.translateService.instant(\"component.leads.detail.leads_duplicates\"),\n header: this.translateService.instant(\"general.error\"),\n icon: 'far, exclamation-circle',\n color: 'var(--orange-500)',\n accept: () => { }\n });\n } else {\n this.save(event);\n }\n }\n );\n }\n save(event: any) {\n if (!event.valid) {\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\n return;\n }\n if (this.contact.email != null) this.contact.email = this.contact.email.trim();\n if (this.contact.email != null && this.contact.email.length > 0 && !this.validateEmail(this.contact.email)) {\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant('component.leads.detail.error_valid_email') });\n return;\n }\n\n if (typeof this.contact.id === \"undefined\") {\n this.contactService.add(this.contact).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant('component.leads.detail.add_lead_correct') });\n this._location.back();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\n }\n });\n } else {\n this.contactService.save(this.contact.id, this.contact).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant('component.leads.detail.save_lead_correct') });\n this._location.back();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\n }\n });\n }\n }\n validateEmail(email) {\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return re.test(email);\n }\n\n onEvent(event: any) {\n\n if (event.event == \"refreshAll\" && event.action.name == \"refreshAll\") this.loadData(this.contact.id);\n if (event.component == \"leads.detail\") {\n if (event.event == \"action\" && event.action.name == \"openNotificationStats\") this.openNotificationStats();\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\n if (event.event == \"action\" && event.action.name == \"save\") this.isDuplied(this.contact, event);\n if (event.event == \"fieldAction\" && event.action.name == \"new-mail\") this.newMail(event.value);\n if (event.event == \"action\" && event.action.name == \"openNotificationsStats\") this.openNotificationStats();\n if (event.event == \"action\" && event.action.name == \"openEmails\") this.openEmails();\n }\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\n //this.config.header = typeof (this.contact.id) !== \"undefined\" ? \"Detalles del \" + this.view.getEntityBaseName() : \"Nuevo \" + this.view.getEntityBaseName();\n }\n }\n}\n","\n","import { Component, OnInit, ViewChild } from '@angular/core';\nimport { Router } from '@angular/router';\nimport { MessageService } from 'primeng/api';\nimport { DialogService } from 'primeng/dynamicdialog';\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\nimport { ViewComponent } from 'src/app/core/view/view.component';\nimport { ViewsService } from 'src/app/core/view/views.service';\nimport { ContactsService } from 'src/app/organizations/organizations-detail/organizations-contacts-detail/contacts.service';\nimport { LeadstaskComponent } from '../leads-task/leads-task.component';\nimport { UtilsService } from '../../core/utils.service';\nimport { LoginService } from '../../login/login.service';\nimport { TranslateService } from '@ngx-translate/core';\n\n@Component({\n selector: 'app-leads-list',\n templateUrl: './leads-list.component.html',\n styleUrls: ['./leads-list.component.scss']\n})\nexport class LeadsListComponent implements OnInit {\n @ViewChild(\"view\") public view: ViewComponent;\n public leadsFilters: any = {};\n public hasPermission: any;\n\n constructor(\n private contactsService: ContactsService,\n private viewsService: ViewsService,\n private coreDialogService: CoreDialogService,\n private messageService: MessageService,\n private dialogService: DialogService,\n private router: Router,\n private utilsService: UtilsService,\n private loginService: LoginService,\n private translateService: TranslateService\n ) { }\n\n ngOnInit(): void {\n }\n viewLead(lead) {\n this.router.navigate([\"/leads/\" + + (lead ? lead.id : 0)]);\n\n }\n deleteLead(lead) {\n if (this.loginService.hasPermission(\"LEADS_DELETE\")) {\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.leads.delete_message\", { name: lead.name }),\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: \"pi pi-info-circle\",\n accept: () => {\n lead.lead_status = \"discarded\";\n this.contactsService.save(lead.id, lead).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\n this.router.navigate(['/leads']);\n this.view.fireEvent(\"leads.list.results\", \"reload\");\n this.utilsService.alertsChange.emit(true);\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n });\n },\n reject: () => { }\n });\n }\n }\n createTaskAndAddAsContact(selectedContacts: any) {\n if (this.loginService.hasPermission(\"LEADS_WRITE\")) {\n const ref = this.dialogService.open(LeadstaskComponent, {\n data: {\n contactsIds: selectedContacts,\n },\n header: this.translateService.instant(\"component.leads.process_leads\"),\n width: '60%'\n });\n ref.onClose.subscribe((data: any) => {\n this.view.fireEvent(\"leads.list.results\", \"reload\");\n this.utilsService.alertsChange.emit(true);\n selectedContacts = [];\n });\n }\n }\n deleteMultiple(selectedContacts: any) {\n if (this.loginService.hasPermission(\"LEADS_DELETE\")) {\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.leads.delete_elements\"),\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: \"pi pi-info-circle\",\n accept: () => {\n this.contactsService.discardMultiple(selectedContacts).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"component.leads.success_delete_elements\") });\n // this.router.navigate(['/leads']);\n this.view.fireEvent(\"leads.list.results\", \"reload\");\n this.utilsService.alertsChange.emit(true);\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n })\n },\n reject: () => { }\n });\n }\n }\n onEvent(event: any) {\n if (event.component == \"leads.list.filters\") {\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"leads.list.results\", \"reload\");\n } else if (event.component == \"leads.list.results\") {\n if (event.event == \"dblclick\") this.viewLead(event.data);\n if (event.event == \"action\" && event.action.name == \"add\") this.viewLead(null);\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewLead(event.data);\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteLead(event.data);\n if (event.event == \"action\" && (event.action.name == \"edit_multiple\" || event.action.name == \"delete_multiple\")) {\n if (event.selectedRow.length == 0) {\n this.coreDialogService.notify({\n message: this.translateService.instant(\"component.leads.error_no_selected_lead\"),\n header: this.translateService.instant(\"general.error\"),\n icon: 'far exclamation-circle',\n color: 'var(--orange-500)',\n accept: () => { }\n });\n } else {\n if (event.action.name == \"edit_multiple\") {\n this.createTaskAndAddAsContact(event.selectedRow);\n } else {\n this.deleteMultiple(event.selectedRow);\n }\n }\n }\n }\n }\n}\n","\n\n","import { NgModule } from '@angular/core';\nimport { Routes, RouterModule } from '@angular/router';\nimport { LeadsListComponent } from './leads-list/leads-list.component';\nimport { LeadsDetailComponent } from './leads-detail/leads-detail.component';\n\nconst routes: Routes = [\n { path: \"leads\", component: LeadsListComponent },\n { path: \"leads/:id\", component: LeadsDetailComponent }\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule]\n})\nexport class LeadsRoutingModule { }\n","import { Component, EventEmitter, OnInit, ViewChild } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { MessageService } from 'primeng/api';\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\nimport { ViewComponent } from 'src/app/core/view/view.component';\nimport { ViewsService } from 'src/app/core/view/views.service';\nimport { ContactsService } from 'src/app/organizations/organizations-detail/organizations-contacts-detail/contacts.service';\nimport { TasksStatusService } from '../../tasks/tasks-status.service';\nimport { TasksService } from '../../tasks/tasks.service';\nimport { CompaniesIntegrationsService } from '../../configuration/integration/companiesintegrations.service';\nimport { TasksActionTypesService } from '../../tasks/tasks-action-types.service';\nimport { UsersService } from '../../users/users.service';\nimport { OrganizationsService } from '../../organizations/organizations.service';\nimport { LoginService } from '../../login/login.service';\nimport { ZonesService } from 'src/app/configuration/zones/zones.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { ProcessLeadsMessageErrorComponent } from '../process-leads-message-error/process-leads-message-error.component';\n\n@Component({\n selector: 'app-leads-task',\n templateUrl: './leads-task.component.html',\n styleUrls: ['./leads-task.component.scss']\n})\nexport class LeadstaskComponent implements OnInit {\n @ViewChild(\"view\") public view: ViewComponent;\n public leadsFilters: any = {};\n public contactsIds: any;\n public task: any = {};\n public task_actions: any[] = [];\n public responsibles: any[] = [];\n public task_status: any[] = []\n public organizations: any[];\n public typeProcessOptions: any[] = [];\n public selectedOrganizationId: number = null;\n public hasPermission: any;\n public hasZonesRead: any;\n //public hasZonesWrite: any;\n public selectedOrganization: any;\n public zones: any[] = [];\n public filterValue = \"\";\n public searchResults: any[] = [];\n public searchText: string = \"\";\n\n constructor(\n private contactsService: ContactsService,\n private zonesService: ZonesService,\n private messageService: MessageService,\n private route: ActivatedRoute,\n private dynamicDialogRef: DynamicDialogRef,\n private tasksStatusService: TasksStatusService,\n private taskService: TasksService,\n private config: DynamicDialogConfig,\n private companiesIntegrationsService: CompaniesIntegrationsService,\n private taskActionsTypesService: TasksActionTypesService,\n private responsiblesService: UsersService,\n private organizationService: OrganizationsService,\n private loginService: LoginService,\n private translateService: TranslateService,\n private routerLink: Router,\n private dialogService: DialogService,\n ) { }\n\n ngOnInit(): void {\n this.hasPermission = this.loginService.hasPermission(\"LEADS_WRITE\");\n this.hasZonesRead = this.loginService.hasPermission(\"ZONES_READ\") || this.loginService.hasPermission(\"ZONES_SUPERADMIN\");\n //this.hasZonesWrite = this.loginService.hasPermission(\"ZONES_WRITE\") || this.loginService.hasPermission(\"ZONES_SUPERADMIN\");\n this.loadTaskCombos();\n this.loadZones();\n\n this.contactsIds = this.config.data.contactsIds;\n var now = new Date();\n var nowMultiple = now.setMinutes(Math.ceil(now.getMinutes() / 15) * 15);\n this.task.date = new Date(nowMultiple);\n this.task.task_action_scheduled_date = new Date(nowMultiple);\n this.companiesIntegrationsService.getByCode(\"webform\").subscribe({\n next: (data: any) => {\n if (data != null) {\n if (data.configuration == null) data.configuration = {};\n if (data.configuration.task_action_id != null && data.configuration.task_action_id != \"\") {\n this.task.task_action_id = data.configuration.task_action_id;\n }\n if (data.configuration.subject != null && data.configuration.subject != \"\") {\n this.task.subject = data.configuration.subject;\n }\n\n if (data.configuration.responsible_id != null && data.configuration.responsible_id != \"\") {\n this.task.responsible_user_id = data.configuration.responsible_id;\n }\n if (data.configuration.task_status_id != null && data.configuration.task_status_id != \"\") {\n this.task.task_status_id = data.configuration.task_status_id;\n }\n\n if (data.configuration.organization_id != null && data.configuration.organization_id != \"\") {\n this.task.organization_id = data.configuration.organization_id;\n this.selectedOrganizationId = data.configuration.organization_id;\n }\n\n if (data.configuration.typeProcessOptions != null && data.configuration.typeProcessOptions != \"\") {\n this.task.type_process_organization = data.configuration.typeProcessOptions;\n }\n\n this.loadOrganizations(null);\n }\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\n }\n });\n }\n loadTaskCombos() {\n this.taskActionsTypesService.all({}).subscribe({\n next: (data: any) => {\n this.task_actions = data.rows;\n },\n error: (error: any) => {\n console.log(error);\n }\n });\n this.responsiblesService.combo({}).subscribe({\n next: (data: any) => {\n this.responsibles = data.rows;\n this.responsibles.unshift({ name: this.translateService.instant(\"general.undefined\"), id: null });\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n this.tasksStatusService.all({}).subscribe({\n next: (data: any) => {\n this.task_status = data.rows;\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n\n this.typeProcessOptions = [\n { code: \"assign\", name: this.translateService.instant(\"component.leads.type_process_assign_name\"), description: this.translateService.instant(\"component.leads.type_process_assign_description\") },\n { code: \"create\", name: this.translateService.instant(\"component.leads.type_process_create_name\"), description: this.translateService.instant(\"component.leads.type_process_create_description\") }\n ];\n\n }\n getInfoTypeProcessOptions() {\n let organizationName = this.translateService.instant(\"general.selected\");\n if (this.task.organization_id != null) {\n if (typeof (this.organizations) != \"undefined\") {\n var aux = this.organizations.filter((m: any) => m.id == this.task.organization_id);\n organizationName = aux.length > 0 ? aux[0].name : this.translateService.instant(\"general.selected\");\n this.selectedOrganization = aux.length > 0 ? aux[0] : [];\n }\n }\n var message = this.typeProcessOptions.filter((m: any) => m.code == this.task.type_process_organization).map((m: any) => m.description)[0];\n return message.replace(\"[ORGANIZATION]\", organizationName);\n }\n loadOrganizations(event) {\n let params: any = {};\n if (event != null) params.text = event.query; //Viene desde el autocomplete\n if (this.filterValue != null && this.filterValue != \"\") params.text = this.filterValue;\n if (this.selectedOrganizationId != null) params.include_organization_id = this.selectedOrganizationId;\n\n if (this.filterValue.length >= 3 || this.filterValue.length == 0) {\n this.organizationService.getCombo(params).subscribe({\n next: (data: any) => {\n this.organizations = data.rows;\n this.searchResults = [...data.rows]; \n this.organizations.unshift({ name: this.translateService.instant(\"general.select\"), id: null });\n if (this.selectedOrganizationId != null) {\n this.selectedOrganization = this.organizations.find(m => m.id == this.selectedOrganizationId);\n }\n },\n error: (error) => this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title })\n });\n }\n }\n\n\n\n loadZones() {\n this.zonesService.combo({}).subscribe({\n next: (data: any) => {\n this.zones = data.rows;\n this.zones.unshift({ name: this.translateService.instant(\"general.undefined\"), id: null });\n },\n error: (error: any) => this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title })\n });\n }\n\n saveTask() {\n this.contactsService.addContactMultipleAndCreateTask(this.contactsIds, this.task).subscribe({\n next: (data) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.leads.task_and_contacts_created\") });\n this.dynamicDialogRef.close();\n this.view.fireEvent(\"leads.list.results\", \"reload\");\n },\n error: (error) => {\n\n if (error.error.title.includes(\"component.leads_task.error_process_by_type\")) {\n //Si se cumple la condición, significa que ha encontrado un contacto que ya fue procesado anteriormente.\n var parts = error.error.title.split(\":\");\n var processedContacts = parts[2];\n processedContacts = processedContacts.split(\"|\"); // Lista de contactos que ya fueron procesados.\n\n var message_error = this.translateService.instant(parts[0], { total_processed: parts[1], encountered_contact: parts[2] });\n this.messageService.add({ closable: false, severity: \"error\", detail: message_error });\n this.open_message_error(message_error, processedContacts);\n this.dynamicDialogRef.close();\n this.routerLink.navigate(['/leads']);\n }\n else {\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\n }\n }\n });\n\n }\n cancel() {\n this.dynamicDialogRef.close();\n }\n\n changeOrg($event) {\n if ($event != null) this.task.organization_id = $event.id;\n else {\n this.selectedOrganization = null;\n this.task.organization_id = null;\n };\n }\n\n open_message_error(message_error: string, processed_contacts = []) {\n const ref = this.dialogService.open(ProcessLeadsMessageErrorComponent, {\n data: {\n processed_contacts: processed_contacts,\n message_error: message_error\n },\n header: this.translateService.instant(\"component.leads.process_leads\"),\n width: '60%'\n });\n ref.onClose.subscribe((data: any) => {\n\n });\n }\n\n}\n","\n\n\n \n
\n
{{'task.entity?.name' | translate}}
\n
\n
\n
\n\n
\n \n \n
\n\n
\n \n \n
\n
\n \n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n\n
\n\n\n \n
\n
{{'organization.entity?.name'|translate}}
\n
\n
\n
\n
\n \n \n
\n \n {{getInfoTypeProcessOptions()}}\n
\n
\n
\n \n \n
\n
\n \n \n
\n\n \n\n
\n \n\n \n \n
\n
{{result.name}} {{result.subtitle_label}}
\n
\n {{result.fulladdress}}\n
\n
\n
\n
\n
\n\n\n\n
0\">\n \n
\n {{selectedOrganization.responsible?.name}}\n
\n
{{'component.leads.no_responsible'| translate}}
\n
\n
0\">\n \n
{{selectedOrganization?.zone?.name}}
\n
{{'component.leads.no_zone' | translate}}
\n
\n
\n
\n\n
\n \n
\n \n\n\n
\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\nimport { ButtonModule } from 'primeng/button';\nimport { CalendarModule } from 'primeng/calendar';\nimport { CardModule } from 'primeng/card';\nimport { CarouselModule } from 'primeng/carousel';\nimport { CheckboxModule } from 'primeng/checkbox';\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\nimport { DialogModule } from 'primeng/dialog';\nimport { DropdownModule } from 'primeng/dropdown';\nimport { InputTextareaModule } from 'primeng/inputtextarea';\nimport { SplitButtonModule } from 'primeng/splitbutton';\nimport { TableModule } from 'primeng/table';\nimport { TimelineModule } from 'primeng/timeline';\nimport { CoreModule } from '../core/core.module';\nimport { LeadsRoutingModule } from './leads-routing.module';\nimport { LeadsListComponent } from './leads-list/leads-list.component';\nimport { LeadstaskComponent } from './leads-task/leads-task.component';\nimport { LeadsDetailComponent } from './leads-detail/leads-detail.component';\nimport { MessagesModule } from 'primeng/messages';\nimport { TranslateModule } from '@ngx-translate/core';\nimport { ProcessLeadsMessageErrorComponent } from './process-leads-message-error/process-leads-message-error.component';\n\n\n@NgModule({\n declarations: [LeadsListComponent, LeadstaskComponent, LeadsDetailComponent, ProcessLeadsMessageErrorComponent],\n imports: [\n CommonModule,\n LeadsRoutingModule,\n ButtonModule,\n TableModule,\n ConfirmDialogModule,\n DialogModule,\n FormsModule,\n CheckboxModule,\n CoreModule,\n CardModule,\n FontAwesomeModule,\n InputTextareaModule,\n DropdownModule,\n CalendarModule,\n SplitButtonModule,\n TimelineModule,\n CarouselModule,\n MessagesModule,\n TranslateModule\n ]\n})\nexport class LeadsModule { }\n","import { Component } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { MessageService } from 'primeng/api';\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\nimport { LoginService } from 'src/app/login/login.service';\n\n@Component({\n selector: 'app-process-leads-message-error',\n templateUrl: './process-leads-message-error.component.html',\n styleUrls: ['./process-leads-message-error.component.scss']\n})\nexport class ProcessLeadsMessageErrorComponent {\n public message_error: string = \"\";\n public already_processed_contacts = [];\n\n constructor(\n private messageService: MessageService,\n private route: ActivatedRoute,\n private dynamicDialogRef: DynamicDialogRef,\n private config: DynamicDialogConfig,\n private loginService: LoginService,\n private translateService: TranslateService,\n private dialogService: DialogService,\n ) { }\n\n ngOnInit() {\n this.message_error = this.config.data.message_error;\n this.already_processed_contacts = this.config.data.processed_contacts;\n }\n}\n","

{{message_error}}

\n

{{'component.leads_task.error_process_message' | translate}}

\n

\n {{contact}}\n

","import { Injectable, EventEmitter } from '@angular/core';\r\nimport { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\r\nimport { LoginService } from './login.service';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class AuthGuard implements CanActivate {\r\n\r\n onStateChange: EventEmitter = new EventEmitter();\r\n\r\n constructor(\r\n private router: Router,\r\n private loginService: LoginService\r\n ) {\r\n //var savedToken = localStorage.getItem(\"token\");\r\n //if (savedToken != null) loginService.setLoggedState(true);\r\n }\r\n\r\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {\r\n this.onStateChange.emit(state.url); //hacemos un emit de la ruta.\r\n\r\n if (this.loginService.isLoggedIn()) {\r\n // autorizado\r\n return true;\r\n }\r\n\r\n //no autorizado, llevamos a login\r\n this.loginService.setLoggedState(false);\r\n this.router.navigate(['login'], { queryParams: { returnUrl: state.url } });\r\n return false;\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { LoginService } from '../login.service';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { MessageService } from 'primeng/api';\r\n\r\n@Component({\r\n selector: 'app-forget-password',\r\n templateUrl: './forget-password.component.html',\r\n styleUrls: ['./forget-password.component.scss']\r\n})\r\n\r\nexport class ForgetPasswordComponent implements OnInit {\r\n public loginData: any = {};\r\n public errorMessage: string = \"\";\r\n \r\n constructor(private loginService: LoginService,\r\n private messageService: MessageService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private config: DynamicDialogConfig\r\n ) {\r\n\r\n }\r\n\r\n ngOnInit() {\r\n this.errorMessage = \"\";\r\n this.loginData.code = this.config.data.code\r\n }\r\n\r\n reset_password() {\r\n if (this.loginData.username != \"\" && this.loginData.username != null && typeof this.loginData.username !== \"undefined\" && this.loginData.code != \"\" && this.loginData.code != null) {\r\n // Ha introducido un usuario o email\r\n this.errorMessage = \"\";\r\n this.loginService.resetPassword(this.loginData).subscribe(\r\n data => { \r\n //Al final de todas las operaciones, se cierra la pantalla?\r\n this.dynamicDialogRef.close();\r\n },\r\n error => { \r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n } else {\r\n // No ha introducido datos\r\n this.errorMessage = \"Debes indicar la cuenta y tu usuario o email para restablecer la contraseña.\";\r\n return;\r\n }\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n","import { Component, HostListener, OnInit, Pipe, PipeTransform } from '@angular/core';\r\nimport { LoginService } from '../login.service';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { ForgetPasswordComponent } from '../forget-password/forget-password.component';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { UpdateService } from '../../update/update.service';\r\nimport { VersionService } from 'src/app/core/version.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-login-form',\r\n templateUrl: './login-form.component.html',\r\n styleUrls: ['./login-form.component.scss']\r\n})\r\n\r\nexport class LoginComponent implements OnInit {\r\n public version: any = {};\r\n private auth_token: string = null;\r\n private returnUrl: string = \"/home\";\r\n private returnParam: any = null;\r\n public errorMessage: string = \"\";\r\n public loginData: any = {\r\n code: \"\",\r\n username: \"\",\r\n password: \"\",\r\n remember: false\r\n };\r\n\r\n constructor(\r\n private versionService: VersionService,\r\n private router: Router,\r\n private loginService: LoginService,\r\n private dialogService: DialogService,\r\n private usersService: UsersService,\r\n private route: ActivatedRoute,\r\n private updateService: UpdateService,\r\n private translateService: TranslateService\r\n ) {\r\n this.getVersion();\r\n }\r\n\r\n @HostListener('window:message', ['$event'])\r\n onMessage(event) {\r\n if (event.data && event.data.action == \"get\") {\r\n //cargamos datos recibidos\r\n if (event.data.properties.code != undefined && event.data.properties.code != \"undefined\") this.loginData.code = event.data.properties.code;\r\n if (event.data.properties.username != undefined && event.data.properties.username != \"undefined\") this.loginData.username = event.data.properties.username;\r\n if (event.data.properties.password != undefined && event.data.properties.password != \"undefined\") this.loginData.password = event.data.properties.password;\r\n if (event.data.properties.remember != undefined && event.data.properties.remember != \"undefined\") this.loginData.remember = event.data.properties.remember;\r\n\r\n //si estaba habilitado recordar datos\r\n if (this.loginData.remember == \"true\") {\r\n if (this.loginData.code != \"\" && this.loginData.username != \"\" && this.loginData.password != \"\") {\r\n //si tenemos guardados datos, intentamos logar\r\n this.login();\r\n }\r\n }\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.loginService.logout(true);\r\n let remember = localStorage.getItem(\"remember\");\r\n this.loginData.code = localStorage != null && remember === \"true\" ? localStorage.getItem(\"code\") : \"\";\r\n this.loginData.username = localStorage != null && remember === \"true\" ? localStorage.getItem(\"username\") : \"\";\r\n this.loginData.remember = localStorage != null && remember === \"true\" ? true : false;\r\n\r\n this.route.queryParamMap.subscribe(paramMap => {\r\n if (paramMap.has(\"key\")) {\r\n this.auth_token = paramMap.get('key');\r\n if (this.auth_token != null) {\r\n this.loginService.loginByToken(this.auth_token).subscribe(\r\n data => {\r\n if (data.token != null) {\r\n this.loginData.code = data.code;\r\n this.loginData.username = data.email;\r\n this.processLoginResponse(data);\r\n } else {\r\n this.errorMessage = \"Token de acceso incorrecto.\";\r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n this.errorMessage = error.error.title;\r\n }\r\n );\r\n }\r\n }\r\n });\r\n\r\n //solicitamos a ventana origen datos guardados, esto es para la app que se embede en iframe pueda acceder al localstorage\r\n if (window.parent) {\r\n let message: any = {\r\n action: \"get\",\r\n properties: \"code,username,password,remember\"\r\n };\r\n window.parent.postMessage(message, '*');\r\n }\r\n }\r\n\r\n login() {\r\n this.errorMessage = \"\";\r\n if (this.loginData.username == \"apple@axialcrm.com\") this.loginData.code = \"0001\";\r\n if (this.loginData.username == \"\" || this.loginData.password == \"\" || this.loginData.code == \"\") {\r\n this.errorMessage = this.translateService.instant(\"component.login.error_message\"); // \"Debes indicar la cuenta, el email y la contraseña de acceso.\";\r\n return;\r\n }\r\n\r\n this.loginService.login(this.loginData).subscribe(\r\n data => {\r\n if (data.token != null) {\r\n this.processLoginResponse(data);\r\n } else {\r\n this.errorMessage = this.translateService.instant(\"component.login.error_message_user_incorrect\"); //\"Datos de acceso incorrectos.\";\r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n this.errorMessage = error.error.title;\r\n }\r\n );\r\n }\r\n\r\n processLoginResponse(data: any) {\r\n //Limpiamos los tokens primero por si hubiera datos de una sesión anterior: \r\n this.loginService.logout(true);\r\n\r\n //actualizamos datos de sesion de conexion actual\r\n this.loginService.loadedCompanyId = data.companyId;\r\n this.loginService.loadedUserId = data.userId;\r\n\r\n //Ahora rellenamos los datos de la sesión que vamos a usar:\r\n localStorage.setItem(\"token\", data.token);\r\n localStorage.setItem(\"tokenExpires\", data.expires);\r\n localStorage.setItem(\"code\", data.companyCode);\r\n localStorage.setItem(\"username\", data.email);\r\n localStorage.setItem(\"userId\", data.userId);\r\n localStorage.setItem(\"name\", data.name);\r\n localStorage.setItem(\"email\", data.email);\r\n localStorage.setItem(\"remember\", this.loginData.remember);\r\n localStorage.setItem(\"permissions\", data.permissions);\r\n localStorage.setItem(\"features\", data.features);\r\n localStorage.setItem(\"forgotPassword\", data.forgotPassword);\r\n localStorage.setItem(\"roleId\", data.roleId);\r\n localStorage.setItem(\"companyName\", data.companyName);\r\n localStorage.setItem(\"companyCode\", data.companyCode);\r\n localStorage.setItem(\"companyId\", data.companyId);\r\n localStorage.setItem(\"isSuperAdmin\", data.isSuperAdmin);\r\n localStorage.setItem(\"language\", data.language);\r\n\r\n //los mandamos guardamos asi tambien por el mobile que embede el iframe\r\n if (window.parent) {\r\n window.parent.postMessage({ action: 'set', property: 'code', value: this.loginData.code }, '*');\r\n window.parent.postMessage({ action: 'set', property: 'username', value: this.loginData.username }, '*');\r\n window.parent.postMessage({ action: 'set', property: 'password', value: this.loginData.password }, '*');\r\n window.parent.postMessage({ action: 'set', property: 'remember', value: this.loginData.remember }, '*');\r\n }\r\n\r\n //Cargamos las zonas y los subordinados del usuario.\r\n this.usersService.getUserSubordinatesIdsAndZonesIds(data.userId).subscribe(\r\n dataUser => {\r\n let userdata = dataUser;\r\n localStorage.setItem(\"userSubordinatesIds\", userdata.userSubordinatesIds);\r\n localStorage.setItem(\"userZonesIds\", userdata.userZonesIds);\r\n\r\n this.updateService.db().subscribe(\r\n result => {\r\n if (result.success) {\r\n\r\n //enviamos a preload con la ruta recibida\r\n let url = this.returnUrl;\r\n //location.reload();\r\n// this.router.navigateByUrl(\"/preload?returnUrl=\" + encodeURIComponent(url));\r\n //location.replace(\"/preload?returnUrl=\" + encodeURIComponent(url)); //Lo hacemos así para recargar la I18\r\n this.translateService.reloadLang(data.language).subscribe((value:any) => {\r\n\r\n this.translateService.use(data.language).subscribe((value:any) => {\r\n this.loginService.setLoggedState(true);\r\n this.router.navigateByUrl(\"/preload?returnUrl=\" + encodeURIComponent(url));\r\n });\r\n\r\n });\r\n } else {\r\n this.errorMessage = result.message;\r\n }\r\n },\r\n error => {\r\n console.log(error);\r\n this.errorMessage = error.error.title;\r\n }\r\n );\r\n },\r\n error => {\r\n console.log(error);\r\n this.errorMessage = error.error.title;\r\n }\r\n );\r\n }\r\n\r\n forget_password() {\r\n const ref = this.dialogService.open(ForgetPasswordComponent, {\r\n data: {\r\n id: 0,\r\n code: this.loginData.code\r\n },\r\n header: \"Recuperar contraseña\",\r\n width: \"40%\",\r\n /*baseZIndex: 1000*/\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data !== \"undefined\") {\r\n //this.loadData(this.lastGridEvent);\r\n }\r\n });\r\n }\r\n\r\n validateEmail(email) {\r\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n return re.test(email);\r\n }\r\n getVersion() {\r\n this.versionService.get().subscribe(\r\n data => {\r\n this.version = data;\r\n }\r\n );\r\n }\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n

{{'component.login.welcome_title' | translate }}

\r\n {{'component.login.welcome_subtitle' | translate }}\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { LoginComponent } from './login-form/login-form.component';\r\nimport { PageNotFoundComponent } from './page-not-found/page-not-found.component';\r\nimport { LoginChangeComponent } from './session-change/login-change.component';\r\n\r\nconst routes: Routes = [\r\n { path: 'login', component: LoginComponent },\r\n { path: 'login-change', component: LoginChangeComponent },\r\n { path: 'page-not-found', component: PageNotFoundComponent }\r\n];\r\n\r\n@NgModule({\r\n imports: [\r\n RouterModule.forChild(routes)\r\n ],\r\n exports: [\r\n RouterModule\r\n ]\r\n})\r\nexport class LoginRoutingModule {\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\n\r\n// Components\r\nimport { LoginRoutingModule } from './login-routing.module';\r\nimport { LoginComponent } from './login-form/login-form.component';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { PasswordModule } from 'primeng/password';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { ToastModule } from 'primeng/toast';\r\nimport { MessageModule } from 'primeng/message';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ForgetPasswordComponent } from './forget-password/forget-password.component';\r\nimport { LoginChangeComponent } from './session-change/login-change.component';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n ReactiveFormsModule,\r\n LoginRoutingModule,\r\n InputTextModule,\r\n PasswordModule,\r\n ButtonModule,\r\n CardModule,\r\n ToastModule,\r\n CheckboxModule,\r\n MessageModule,\r\n DropdownModule,\r\n TranslateModule\r\n ],\r\n declarations: [\r\n LoginComponent,\r\n ForgetPasswordComponent,\r\n LoginChangeComponent\r\n ]\r\n })\r\n export class LoginModule {\r\n }\r\n","import { Injectable, EventEmitter } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { Md5 } from 'ts-md5/dist/md5';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class LoginService {\r\n\r\n onLoginStateChange: EventEmitter = new EventEmitter();\r\n\r\n private isLogged: boolean = false;\r\n public loadedUserId: string = null;\r\n public loadedCompanyId: string = null;\r\n\r\n url = \"/api/auth\";\r\n\r\n constructor(\r\n private http: HttpClient,\r\n private router: Router\r\n ) {\r\n this.checkLoadedSession();\r\n }\r\n\r\n setLoggedState(state: boolean) {\r\n this.isLogged = state;\r\n console.log(`Login state: ${state}`);\r\n //retrasamos la emision del evento\r\n setTimeout(() => {\r\n this.onLoginStateChange.emit(this.isLogged);\r\n }, 500);\r\n }\r\n\r\n checkLogged() {\r\n if (location.pathname != \"/login\") {\r\n if (localStorage.getItem(\"token\") && !this.isLogged) {\r\n this.checkToken().subscribe(\r\n data => {\r\n if (data.success) {\r\n this.setLoggedState(true);\r\n } else {\r\n console.warn(\"Token not valid. Logging out.\");\r\n localStorage.removeItem(\"token\");\r\n }\r\n }\r\n );\r\n }\r\n } else {\r\n console.warn(\"Token removed!\");\r\n localStorage.removeItem(\"token\");\r\n }\r\n }\r\n\r\n isLoggedIn() {\r\n /*if(localStorage.getItem(\"token\") && !this.isLogged){\r\n this.setLoggedState(true);\r\n }*/\r\n return this.isLogged;\r\n }\r\n\r\n login(obj): Observable {\r\n var login = {\r\n email: obj.username,\r\n password: obj.password,\r\n code: obj.code,\r\n language_code: localStorage != null && localStorage.getItem(\"language\") ? localStorage.getItem(\"language\") : \"es\"\r\n };\r\n const md5 = new Md5();\r\n login.password = md5.appendStr(login.password).end();\r\n return this.http.post(this.url + \"/login\", login);\r\n }\r\n\r\n loginByToken(auth_token): Observable {\r\n return this.http.get(this.url + \"/login/\" + auth_token);\r\n }\r\n\r\n checkToken(): Observable {\r\n return this.http.get(this.url + \"/checktoken\");\r\n }\r\n\r\n disableComercialComunications(company_id, contact_id): Observable {\r\n return this.http.post(this.url + \"/disableComercialComunications/\" + company_id + \"/\" + contact_id, { company_id: company_id, contact_id: contact_id });\r\n }\r\n get = function (key) {\r\n return localStorage.getItem(key)\r\n };\r\n\r\n hasPermission(permission) {\r\n const value = localStorage.getItem(\"permissions\");\r\n if (value !== null) {\r\n const res = value.split(\",\");\r\n const index = res.indexOf(permission);\r\n if (index !== -1) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n hasFeature(feature) {\r\n const value = localStorage.getItem(\"features\");\r\n if (value !== null) {\r\n const res = value.split(\",\");\r\n const index = res.indexOf(\"\" + feature);\r\n if (index !== -1) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n resetPassword(email): Observable {\r\n var login = {\r\n value: email\r\n };\r\n return this.http.post(this.url + \"/reset_password\", login);\r\n }\r\n\r\n notificateChange(email): Observable {\r\n var login = {\r\n value: email\r\n }\r\n return this.http.post(this.url + \"/notificateChange\", login);\r\n }\r\n\r\n logout(for_clean_session = false) {\r\n console.warn(\"Logout!\");\r\n this.isLogged = false;\r\n localStorage.removeItem(\"token\");\r\n localStorage.removeItem(\"permissions\");\r\n localStorage.removeItem(\"forgotPassword\");\r\n localStorage.removeItem(\"roleId\");\r\n localStorage.removeItem(\"userSubordinatesIds\");\r\n localStorage.removeItem(\"userZonesIds\");\r\n localStorage.removeItem(\"companyName\");\r\n localStorage.removeItem(\"companyCode\");\r\n //localStorage.removeItem(\"code\");\r\n localStorage.removeItem(\"isSuperAdmin\");\r\n localStorage.removeItem(\"companyId\");\r\n sessionStorage.clear();\r\n\r\n if (window.parent) {\r\n let message: any = {\r\n action: \"remove\",\r\n properties: \"code,username,password,remember\"\r\n };\r\n window.parent.postMessage(message, '*');\r\n }\r\n\r\n this.setLoggedState(false);\r\n if (!for_clean_session) {\r\n location.replace(\"/\");\r\n }\r\n }\r\n\r\n notFound() {\r\n\r\n this.router.navigateByUrl(\"/page-not-found\");\r\n }\r\n\r\n canEditModel(model: any, componentEntity) {\r\n if (componentEntity == \"transactions\" && this.hasPermission(\"TRANSACTIONS_SUPERADMIN\")) return true;\r\n if (componentEntity == \"oportunity\" && this.hasPermission(\"OPORTUNITIES_SUPERADMIN\")) return true;\r\n if (componentEntity == \"sale\" && this.hasPermission(\"SALES_SUPERADMIN\")) return true\r\n if (componentEntity == \"task\" && this.hasPermission(\"TASKS_SUPERADMIN\")) return true;\r\n //Creo que estos dos no se utilizan, pero los mantengo por si acaso.\r\n if (componentEntity == \"organization\" && this.hasPermission(\"ORGANIZATIONS_SUPERADMIN\")) return true;\r\n if (componentEntity == \"contact\" && this.hasPermission(\"ORGANIZATIONS_SUPERADMIN\")) return true;\r\n if (componentEntity == \"template\" && this.hasPermission(\"TEMPLATES_SUPERADMIN\")) return true;\r\n\r\n let editable = this.isUserResponsible(model);\r\n if (!editable && this.isUserSubordinate(model)) editable = true;\r\n if (!editable && this.isUserZone(model) && this.isUserZoneWritable(componentEntity)) editable = true;\r\n return editable;\r\n }\r\n\r\n isUserResponsible(model) {\r\n\r\n let user_id = localStorage.getItem(\"userId\");\r\n let responsible_id = null;\r\n let responsible_2_id = null;\r\n if (model != null) {\r\n //responsable 1\r\n responsible_id = eval(\"model.responsible_id\");\r\n if (responsible_id == null) responsible_id = eval(\"model.responsible_user_id\");\r\n if (responsible_id == null) responsible_id = eval(\"model.transaction!=null?model.transaction.responsible_id:null\"); //caso de una linea de transaccion, el resposnable esta en la transaccion\r\n if (responsible_id == null) responsible_id = eval(\"model.organization!=null?model.organization.responsible_id:null\"); //caso de algo que cuelga de organizacion, por ejemplo contacto\r\n\r\n //responsable 2\r\n responsible_2_id = eval(\"model.responsible_2_id\");\r\n if (responsible_2_id == null) responsible_2_id = eval(\"model.organization!=null?model.organization.responsible_2_id:null\");\r\n if (responsible_2_id == null) responsible_2_id = eval(\"model.transaction!=null?model.transaction.responsible_2_id:null\");\r\n }\r\n //TODO: falta comprobar que si es un contacto, está viendo la empresa porque es de su zona, debería poder modificar el contacto? ahora mismo no puede salvo que sea responsable1 o 2 de la organización o sea suya.\r\n\r\n let ret = responsible_id == null || user_id == responsible_id || (responsible_2_id != null && user_id == responsible_2_id);\r\n return ret;\r\n }\r\n\r\n isUserSubordinate(model) {\r\n let sUserSubordinatesIds = localStorage.getItem(\"userSubordinatesIds\") ?? '';\r\n let userSubordinatesIds = sUserSubordinatesIds.split(\",\");\r\n let responsible_id = null;\r\n let responsible_2_id = null;\r\n if (model != null) {\r\n //responsable 1\r\n responsible_id = eval(\"model.responsible_id\");\r\n if (responsible_id == null) responsible_id = eval(\"model.responsible_user_id\");\r\n if (responsible_id == null) responsible_id = eval(\"model.transaction!=null?model.transaction.responsible_id:null\"); //caso de una linea de transaccion, el resposnable esta en la transaccion\r\n if (responsible_id == null) responsible_id = eval(\"model.organization!=null?model.organization.responsible_id:null\"); //caso de algo que cuelga de organizacion, por ejemplo contacto\r\n\r\n //responsable 2\r\n responsible_2_id = eval(\"model.responsible_2_id\");\r\n if (responsible_2_id == null) responsible_2_id = eval(\"model.organization!=null?model.organization.responsible_2_id:null\");\r\n }\r\n return responsible_id == null || userSubordinatesIds.indexOf('' + responsible_id) >= 0 || (responsible_2_id != null && userSubordinatesIds.indexOf('' + responsible_2_id) >= 0);\r\n }\r\n\r\n isUserZoneWritable(entity) {\r\n if (entity == \"transactions\" && this.hasPermission(\"TRANSACTIONS_WRITE_ZONES\")) return true;\r\n if (entity == \"oportunity\" && this.hasPermission(\"OPORTUNITIES_WRITE_ZONES\")) return true;\r\n if (entity == \"sale\" && this.hasPermission(\"SALES_WRITE_ZONES\")) return true\r\n if (entity == \"task\" && this.hasPermission(\"TASKS_WRITE_ZONE\")) return true;\r\n if (entity == \"user\" && this.hasPermission(\"USERS_WRITE_ZONES\")) return true;\r\n if (entity == \"organization\" && this.hasPermission(\"ORGANIZATIONS_WRITE_ZONES\")) return true;\r\n if (entity == \"contact\" && this.hasPermission(\"ORGANIZATIONS_WRITE_ZONES\")) return true;\r\n if (entity == \"template\" && this.hasPermission(\"TEMPLATES_WRITE_ZONES\")) return true;\r\n //return false;\r\n\r\n return this.hasPermission(\"ZONES_SUPERADMIN\");\r\n }\r\n\r\n isUserZone(model) {\r\n let ret = true;\r\n if (!this.hasPermission(\"ZONES_SUPERADMIN\")) {\r\n let sUserZonesIds = localStorage.getItem(\"userZonesIds\") ?? '';\r\n let userZonesIds = sUserZonesIds.split(\",\");\r\n let zone_id = null;\r\n if (model != null) {\r\n zone_id = eval(\"model.zone_id\");\r\n if (zone_id == null) zone_id = eval(\"model.organization!=null?model.organization.zone_id:null\");\r\n }\r\n ret = zone_id == null || typeof (zone_id) === \"undefined\" || userZonesIds.indexOf('' + zone_id) >= 0;\r\n }\r\n return ret;\r\n }\r\n\r\n UserOnlyOneZone() {\r\n let sUserZonesIds = localStorage.getItem(\"userZonesIds\") ?? '';\r\n let userZonesIds = sUserZonesIds.split(\",\") + \"\";\r\n if (userZonesIds.length == 1) {\r\n return parseInt(userZonesIds[0]);\r\n } else return null;\r\n }\r\n\r\n isUserInAnyZone(zones: any[], permission: string) {\r\n if (!this.hasPermission(permission)) return false;\r\n let sUserZonesIds = localStorage.getItem(\"userZonesIds\") ?? '';\r\n let userZonesIds = sUserZonesIds.split(\",\") + \"\";\r\n const intersection = zones.filter(element => userZonesIds.includes(element));\r\n return intersection.length > 0;\r\n }\r\n\r\n isUserInAnyRole(roles: any[], permission: string) {\r\n if (!this.hasPermission(permission)) return false;\r\n let userRoleId = localStorage.getItem(\"roleId\") ?? '';\r\n return roles.includes(parseInt(userRoleId));\r\n }\r\n isUserInUserList(users: any[], permission: string) {\r\n //if(!this.hasPermission(permission)) return false;\r\n let userId = localStorage.getItem(\"userId\");\r\n return users.includes(parseInt(userId));\r\n }\r\n\r\n checkLoadedSession() {\r\n var logedCompanyId = localStorage.getItem(\"companyId\");\r\n var logedUserId = localStorage.getItem(\"userId\");\r\n if (location.pathname != \"/preload\" && location.pathname != \"/login\" && location.pathname != \"/login-change\" && ((this.loadedCompanyId != null && this.loadedCompanyId != logedCompanyId) || (this.loadedUserId != null && this.loadedUserId != logedUserId))) {\r\n //parace que se ha logado en otra pestaña con otra empresa, recargamos app para que obtenga datos nuevos de sesion\r\n //mostramos pantalla avisando que debe recargar\r\n this.router.navigateByUrl(\"/login-change\");\r\n } else {\r\n if (this.loadedCompanyId == null) this.loadedCompanyId = localStorage.getItem(\"companyId\");\r\n if (this.loadedUserId == null) this.loadedUserId = localStorage.getItem(\"userId\");\r\n setTimeout(() => {\r\n this.checkLoadedSession();\r\n }, 1000);\r\n }\r\n }\r\n\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { LoginService } from '../login.service';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { ForgetPasswordComponent } from '../forget-password/forget-password.component';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { UpdateService } from '../../update/update.service';\r\n\r\n@Component({\r\n selector: 'app-page-not-found',\r\n templateUrl: './page-not-found.component.html',\r\n styleUrls: ['./page-not-found.component.scss']\r\n})\r\n\r\nexport class PageNotFoundComponent implements OnInit {\r\n\r\n constructor() {\r\n }\r\n\r\n ngOnInit() {\r\n \r\n }\r\n\r\n reload() {\r\n location.replace(\"/home\");\r\n }\r\n\r\n}\r\n","-
\r\n
\r\n \r\n
\r\n
\r\n

Página no encontrada.



\r\n\r\n Utilice el menú lateral para continuar con la aplicación\r\n\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { LoginService } from '../login.service';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { ForgetPasswordComponent } from '../forget-password/forget-password.component';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { UpdateService } from '../../update/update.service';\r\n\r\n@Component({\r\n selector: 'app-login-change',\r\n templateUrl: './login-change.component.html',\r\n styleUrls: ['./login-change.component.scss']\r\n})\r\n\r\nexport class LoginChangeComponent implements OnInit {\r\n\r\n constructor() {\r\n }\r\n\r\n ngOnInit() {\r\n \r\n }\r\n\r\n reload() {\r\n location.replace(\"/home\");\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n
\r\n Hemos detectado un cambio en tu conexión.

\r\n Es posible que hayas conectado AxialCRM con otro usuario en otra pestaña de tu navegador.

\r\n Para continuar utilizando AxialCRM correctamente en esta pestaña, debes recargar la aplicación.\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { Table } from 'primeng/table';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { MailingDetailComponent } from 'src/app/mailing/mailing-detail/mailing-detail.component';\r\nimport { NotificationsService } from 'src/app/notifications/notifications.service';\r\nimport { MailchimpService } from '../../configuration/integration/mailchimp.service';\r\nimport { CoreDialogService } from '../../core/dialogs/core-dialog.service';\r\nimport { MailMarketingSendComponent } from '../mail-marketing-send/mail-marketing-send.component';\r\nimport { MailMarketingTestComponent } from '../mail-marketing-test/mail-marketing-test.component';\r\nimport { MailjetService } from 'src/app/configuration/integration/mailjet.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { SessionStorageService } from 'ngx-webstorage';\r\n\r\n@Component({\r\n selector: 'app-mail-marketing-list',\r\n templateUrl: './mail-marketing-list.component.html',\r\n styleUrls: ['./mail-marketing-list.component.scss']\r\n})\r\nexport class MailMarketingListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n @ViewChild(\"grid\") public grid: Table;\r\n public notificationsEmails: any[];\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n private lastGridEvent: any;\r\n public filters: any = {};\r\n public status = [];\r\n public fieldQuicks: any[] = [];\r\n public componentFilter: any;\r\n public hasFilterValue: boolean = false;\r\n public has_filter_panel: boolean = true;\r\n public show_filter_panel: boolean = false;\r\n public show_filter_panel_mobile: boolean = false;\r\n\r\n\r\n constructor(\r\n private router: Router,\r\n private messageService: MessageService,\r\n private notificationsService: NotificationsService,\r\n private dialogService: DialogService,\r\n private coreDialogService: CoreDialogService,\r\n private viewsService: ViewsService,\r\n private mailchimpService: MailchimpService,\r\n private mailjetService: MailjetService,\r\n private translateService: TranslateService,\r\n private sessionStorage: SessionStorageService\r\n ) {\r\n this.createQuickFilters();\r\n }\r\n\r\n ngOnInit(): void {\r\n this.status = [\r\n { label: this.translateService.instant(\"component.mailMarketing.list.sent_status\"), value: \"sent\" },\r\n { label: this.translateService.instant(\"component.mailMarketing.list.error_status\"), value: \"error\" },\r\n { label: this.translateService.instant(\"component.mailMarketing.list.pending_status\"), value: \"pending\" },\r\n { label: this.translateService.instant(\"component.mailMarketing.list.programmed_status\"), value: \"programmed\" }\r\n ];\r\n }\r\n\r\n search() {\r\n this.lastGridEvent.first = 0;\r\n this.loadData(this.lastGridEvent);\r\n }\r\n\r\n clearFilters() {\r\n this.filters = {};\r\n this.search();\r\n }\r\n\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first / $event.rows,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\",\r\n not_type: \"email\"\r\n };\r\n params = Object.assign(params, this.filters);\r\n\r\n this.notificationsService.all(params).subscribe({\r\n next: (data: any) => {\r\n this.totalRecords = data.totalRows;\r\n this.notificationsEmails = data.rows;\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n })\r\n }\r\n\r\n sendTest(id: number) {\r\n const ref = this.dialogService.open(MailMarketingTestComponent, {\r\n data: {\r\n notificationId: id\r\n },\r\n header: this.translateService.instant('component.mailMarketing.toStats.title'),\r\n width: \"30%\",\r\n /*baseZIndex: 1000*/\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.search();\r\n });\r\n }\r\n\r\n send(id: number) {\r\n\r\n const ref = this.dialogService.open(MailMarketingSendComponent, {\r\n data: {\r\n notificationId: id\r\n },\r\n header: this.translateService.instant('component.mailMarketing.send.title'),\r\n width: \"25%\",\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.search();\r\n });\r\n\r\n }\r\n duplicateAndSend(id: number) {\r\n //Duplicamos la líneas de notification_to y notification_email.\r\n this.notificationsService.duplicateMail(id).subscribe({\r\n next: (data: any) => {\r\n const ref = this.dialogService.open(MailMarketingSendComponent, {\r\n data: {\r\n notificationId: data\r\n },\r\n header: this.translateService.instant('component.mailMarketing.send.title'),\r\n width: \"25%\",\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.search();\r\n });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n cancelMail(id: number) {\r\n this.notificationsService.cancelMail(id).subscribe({\r\n next: (data: any) => {\r\n this.search();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n })\r\n }\r\n\r\n getType(type) {\r\n if (type == 'mailchimp') {\r\n //return \"
MAILCHIMP
\";\r\n return \"\";\r\n } else if (type == \"mailjet\") {\r\n //return \"
MAILJET
\";\r\n return \"\";\r\n } else if (type == \"mail_marketing\") {\r\n //return \"
ESTANDAR
\";\r\n //return \"\";\r\n return \"
SMTP
\";\r\n }\r\n }\r\n\r\n getstatus(status) {\r\n if (status == 'sent') {\r\n var sent_status_string: string = this.translateService.instant(\"component.mailMarketing.list.sent_status\");\r\n return \"
\" + sent_status_string + \"
\";\r\n } else if (status == \"pending\") {\r\n var pending_status_string: string = this.translateService.instant(\"component.mailMarketing.list.pending_status\");\r\n return \"
\" + pending_status_string + \"
\";\r\n } else if (status == \"waiting\") {\r\n var waiting_status_string: string = this.translateService.instant(\"component.mailMarketing.list.waiting_status\");\r\n return \"
\" + waiting_status_string + \"
\";\r\n } else if (status == \"programmed\") {\r\n var programmed_status_string: string = this.translateService.instant(\"component.mailMarketing.list.programmed_status\");\r\n return \"
\" + programmed_status_string + \"
\";\r\n } else if (status == \"error\") {\r\n var error_status_string: string = this.translateService.instant(\"component.mailMarketing.list.error_status\");\r\n return \"
\" + error_status_string + \"
\";\r\n } else {\r\n var default_status_string: string = this.translateService.instant(\"component.mailMarketing.list.default_status\");\r\n return \"
\" + default_status_string + \"
\";\r\n }\r\n }\r\n\r\n viewMail(data) {\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n mail_id: data.id,\r\n //entity_id: data.notificationEmails.entity.id,\r\n //template_type_id: 1,\r\n template_type_code: \"MAIL\",\r\n searchRelated: true\r\n },\r\n header: this.translateService.instant(\"general.new_mail_title\"),\r\n width: '70%',\r\n });\r\n };\r\n\r\n mailchimpDashboard(data) {\r\n this.mailchimpService.dashboard(data.id).subscribe({\r\n next: (data: any) => {\r\n if (data.success) {\r\n window.open(data.url);\r\n } else {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: data.message });\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n })\r\n };\r\n\r\n mailjetDashboard(data) {\r\n this.mailjetService.dashboard(data.id).subscribe({\r\n next: (data: any) => {\r\n if (data.success) {\r\n window.open(data.url);\r\n } else {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: data.message });\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n })\r\n };\r\n\r\n delete(id) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant('component.mailMarketing.list.delete_message'),\r\n accept: () => {\r\n this.notificationsService.delete(id).subscribe({\r\n next: (res: any) => {\r\n this.messageService.add({ severity: 'success', summary: this.translateService.instant('general.confirmation_delete') });\r\n this.search();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n }\r\n });\r\n }\r\n\r\n\r\n createQuickFilters() {\r\n\r\n //Los buscamos en la sesión\r\n var sessionInfo = this.sessionStorage.retrieve(\"mailMarketing.mailMarketing\");\r\n var selectedFields = [];\r\n\r\n if (sessionInfo != null) {\r\n this.hasFilterValue = true;\r\n this.filters.status = (sessionInfo.filters.find(m => m.status) != undefined ? sessionInfo.filters.find(m => m.status).status : null);\r\n this.filters.subject = (sessionInfo.filters.find(m => m.subject) != undefined ? sessionInfo.filters.find(m => m.subject).subject : null);\r\n }\r\n }\r\n\r\n toggleFilter() {\r\n this.show_filter_panel = !this.show_filter_panel;\r\n }\r\n toggleFilterMobile() {\r\n this.show_filter_panel_mobile = !this.show_filter_panel_mobile;\r\n }\r\n loadFilterAndSearch() {\r\n this.sessionStorage.clear(\"mailMarketing.mailMarketing\");\r\n if (this.filters.status != null || (this.filters.subject != null && this.filters.subject != \"\")) {\r\n this.hasFilterValue = true;\r\n var sessionInfo = { filters: [] };\r\n\r\n if (this.filters.status != null) {\r\n sessionInfo.filters.push({ status: this.filters.status });\r\n }\r\n if (this.filters.subject != null && this.filters.subject != \"\") sessionInfo.filters.push({ subject: this.filters.subject });\r\n this.sessionStorage.store(\"mailMarketing.mailMarketing\", sessionInfo);\r\n } else {\r\n this.hasFilterValue = false;\r\n }\r\n this.search();\r\n }\r\n\r\n}\r\n","
\r\n {{'component.mailMarketing.entity' | translate}}\r\n
\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{'notificationsEmails.entity_fields.status' | translate}}\r\n {{'notificationsEmails.entity_fields.type' | translate}}\r\n {{'notificationsEmails.entity_fields.created_by' | translate}} \r\n {{'notificationsEmails.entity_fields.from' | translate}} \r\n {{'notificationsEmails.entity_fields.date' | translate}} \r\n {{'notificationsEmails.entity_fields.subject' | translate}}\r\n {{'notificationsEmails.entity_fields.sents_correct' | translate}}\r\n {{'notificationsEmails.entity_fields.errors' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{notificationsEmail.createdBy?.name}}\r\n {{notificationsEmail.mailAccount?.name}}({{notificationsEmail.from}})\r\n {{notificationsEmail.date | date: 'dd/MM/yyyy HH:mm'}}\r\n {{notificationsEmail.subject}}\r\n {{notificationsEmail.sent_tos}}/{{notificationsEmail.totals_tos}}\r\n 0\" style=\"color: red;\">{{notificationsEmail.error_tos}}\r\n 0\r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n {{\r\n'general.re_send' |\r\n translate\r\n }}\r\n \r\n \r\n {{\r\n'general.cancel_send' |\r\n translate\r\n }}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n\r\n
\r\n \r\n {{'general.filter.title' | translate}}\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig } from 'primeng/dynamicdialog';\r\nimport { NotificationStatsService } from './notification-stats.service';\r\n\r\n@Component({\r\n selector: 'app-mail-marketing-notification-to-stats',\r\n templateUrl: './mail-marketing-notification-to-stats.component.html',\r\n styleUrls: ['./mail-marketing-notification-to-stats.component.scss']\r\n})\r\nexport class MailMarketingNotificationToStatsComponent implements OnInit {\r\n\r\n public notificationToStatsFilters: any = {};\r\n public notificationToStats: any[];\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n public sentMails: number = 0;\r\n public openedMails: number = 0;\r\n public nClicks: number = 0;\r\n private lastGridEvent: any;\r\n\r\n constructor(\r\n //private notificationStatsService: notificationstatsserv\r\n private router: Router,\r\n private notificationStatsService: NotificationStatsService,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig\r\n ) { }\r\n\r\n ngOnInit(): void { }\r\n\r\n search() {\r\n this.lastGridEvent.first = 0;\r\n this.loadData(this.lastGridEvent);\r\n }\r\n\r\n clearFilters() {\r\n this.notificationToStatsFilters = {};\r\n this.search();\r\n }\r\n\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"last_time_opened\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\"\r\n };\r\n if (this.config.data.organization_id != null) params['organization_id'] = this.config.data.organization_id;\r\n if (this.config.data.contact_id != null) params['contact_id'] = this.config.data.contact_id;\r\n params = Object.assign(params, this.notificationToStatsFilters);\r\n this.notificationStatsService.all(params).subscribe(\r\n data => {\r\n this.totalRecords = data.totalRows;\r\n this.notificationToStats = data.rows;\r\n this.sentMails = this.notificationToStats.length;\r\n this.openedMails = this.notificationToStats.filter(m => m.times_open > 0).length;\r\n this.nClicks = this.notificationToStats.filter(m => m.notificationLink != null && m.notificationLink.times_open > 0).length;\r\n //this.nClicks = this.notificationToStats.reduce((acumulador, valorActual) => acumulador + valorActual.notificationLink.times_open, 0);\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n );\r\n }\r\n openUrl(notificationToStat) {\r\n //var url = notificationToStat.notificationLink?.url;\r\n var url = notificationToStat.value;\r\n window.open(url, \"_blank\");\r\n }\r\n}\r\n","
\r\n
\r\n \r\n

{{'component.mailMarketing.toStats.sentMails' | translate}}

\r\n

{{sentMails}}

\r\n
\r\n
\r\n
\r\n \r\n

{{'component.mailMarketing.toStats.openedMails'|translate}}

\r\n

{{openedMails}}

\r\n
\r\n
\r\n
\r\n \r\n

{{'notificationToStat.entity_fields.nClicks' | translate}}

\r\n

{{nClicks}}

\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n Campaña\r\n Tipo\r\n Enlace\r\n {{'notificationToStat.entity_fields.last_time_opened' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{notificationToStat.notificationTo?.notificationEmails?.subject}}\r\n \r\n
\r\n {{'attachment.entity.name'|translate}}\r\n
\r\n
\r\n {{notificationToStat.type != 'attachment'?notificationToStat.type:''}}\r\n
\r\n \r\n \r\n {{notificationToStat.value}}\r\n \r\n \r\n {{notificationToStat.last_time_opened | date: 'dd/MM/yyyy hh:mm'}}\r\n\r\n \r\n \r\n
\r\n
\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class NotificationStatsService {\r\n\r\n url = \"/api/notificationsStats\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { MailMarketingListComponent } from './mail-marketing-list/mail-marketing-list.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"mailMarketing\", component: MailMarketingListComponent}\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class MailMarketingRoutingModule { }\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { NotificationsService } from 'src/app/notifications/notifications.service';\r\n\r\n@Component({\r\n selector: 'app-mail-marketing-send',\r\n templateUrl: './mail-marketing-send.component.html',\r\n styleUrls: ['./mail-marketing-send.component.scss']\r\n})\r\nexport class MailMarketingSendComponent implements OnInit {\r\n\r\n public schedules: any[] = [];\r\n public email = {\r\n id: null,\r\n schedule: \"now\",\r\n date: new Date()\r\n }\r\n\r\n constructor(private messageService: MessageService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private notificationsService: NotificationsService,\r\n public config: DynamicDialogConfig,\r\n public translateService: TranslateService) { }\r\n\r\n ngOnInit() {\r\n this.schedules = [\r\n { label: this.translateService.instant('component.mailMarketing.send.send_now'), value: \"now\" },\r\n { label: this.translateService.instant('component.mailMarketing.send.custom_date'), value: \"customdate\" }\r\n ];\r\n this.email.id = this.config.data.notificationId;\r\n }\r\n\r\n send() {\r\n var params = { id: this.email.id, date: this.email.date };\r\n this.notificationsService.markToSend(params).subscribe(\r\n data => {\r\n this.dynamicDialogRef.close();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n )\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n}\r\n","
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
","import { Component, Input, OnInit } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { MailchimpService } from 'src/app/configuration/integration/mailchimp.service';\r\nimport { NotificationsService } from 'src/app/notifications/notifications.service';\r\n\r\n@Component({\r\n selector: 'app-mail-marketing-test',\r\n templateUrl: './mail-marketing-test.component.html',\r\n styleUrls: ['./mail-marketing-test.component.scss']\r\n})\r\nexport class MailMarketingTestComponent implements OnInit {\r\n public marketingTest: any = {};\r\n public errorMessage: string = \"\";\r\n public notification:any = null;\r\n \r\n\r\n constructor( private messageService: MessageService,\r\n private dynamicDialogRef: DynamicDialogRef, \r\n private notificationsService: NotificationsService,\r\n public config: DynamicDialogConfig,\r\n private mailchimpService:MailchimpService,\r\n private translateService: TranslateService,\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.errorMessage = \"\";\r\n this.marketingTest.id = this.config.data.notificationId;\r\n this.notificationsService.get(this.marketingTest.id).subscribe(\r\n data => {\r\n this.notification = data;\r\n if(this.notification.type == 'mailchimp' && this.notification.external_id==null){\r\n this.errorMessage = this.translateService.instant('component.mailMarketing.test.mailchimp_campaign_not_synchronized');\r\n }\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n send(){\r\n if(this.notification.type == \"mailchimp\"){\r\n //enviamos via mailchimp\r\n this.mailchimpService.sendCampaignTest(this.marketingTest.id, this.marketingTest.email).subscribe(\r\n data => {\r\n this.dynamicDialogRef.close(); \r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }else{\r\n //envio de correo normal\r\n this.notificationsService.sendTest(this.marketingTest.id, this.marketingTest.email).subscribe(\r\n data => {\r\n this.dynamicDialogRef.close(); \r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }\r\n }\r\n \r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { MailMarketingRoutingModule } from './mail-marketing-routing.module';\r\nimport { MailMarketingListComponent } from './mail-marketing-list/mail-marketing-list.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TableModule } from 'primeng/table';\r\nimport { CardModule } from 'primeng/card';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { MailMarketingTestComponent } from './mail-marketing-test/mail-marketing-test.component';\r\nimport { MailMarketingSendComponent } from './mail-marketing-send/mail-marketing-send.component';\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport { MailMarketingNotificationToStatsComponent } from './mail-marketing-notification-to-stats/mail-marketing-notification-to-stats.component';\r\nimport { MessageModule } from 'primeng/message';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\nimport { SidebarModule } from 'primeng/sidebar';\r\n\r\n\r\n@NgModule({\r\n declarations: [MailMarketingListComponent, MailMarketingTestComponent, MailMarketingSendComponent, MailMarketingNotificationToStatsComponent],\r\n imports: [\r\n CommonModule,\r\n MailMarketingRoutingModule,\r\n FormsModule,\r\n HttpClientModule,\r\n ButtonModule,\r\n InputTextModule,\r\n TableModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n ConfirmDialogModule,\r\n DropdownModule,\r\n FontAwesomeModule,\r\n CalendarModule,\r\n MessageModule,\r\n TranslateModule,\r\n SidebarModule\r\n ]\r\n})\r\nexport class MailMarketingModule { }\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { AttachmentsService } from 'src/app/attachments/attachments.service';\r\n\r\n@Component({\r\n selector: 'app-mailing-attachments',\r\n templateUrl: './mailing-attachments.component.html',\r\n styleUrls: ['./mailing-attachments.component.scss']\r\n})\r\nexport class MailingAttachmentsComponent implements OnInit {\r\n\r\n public entity_id: number;\r\n public entity_pk_id: number;\r\n public organization_id: number;\r\n public is_generic: boolean;\r\n public attachments: any[] = [];\r\n public selectedAttachments: any[];\r\n public attachmentsTypes: any[];\r\n constructor(\r\n private messageService: MessageService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n public config: DynamicDialogConfig,\r\n public attachmentsService: AttachmentsService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.entity_id = this.config.data.entity_id;\r\n this.entity_pk_id = this.config.data.entity_pk_id;\r\n this.organization_id = this.config.data.organization_id;\r\n this.is_generic = this.config.data.is_generic;\r\n this.loadAttachments();\r\n }\r\n\r\n loadAttachments() {\r\n var aux: any = {};\r\n if (this.organization_id != null) {\r\n aux = { organization_id: this.organization_id, show_in_axial_files: true };\r\n } else {\r\n aux = { show_in_axial_files: true };\r\n }\r\n if (this.is_generic) aux.is_generic = this.is_generic;\r\n\r\n this.attachmentsService.all(aux).subscribe({\r\n next: (data: any) => {\r\n this.attachments = data.rows;\r\n\r\n let aux = this.attachments.map(m => m.attachmentType);\r\n this.attachmentsTypes = aux.filter((v, i) => v != null && aux.findIndex(item => item.id == v.id) === i);\r\n this.attachmentsTypes.push({ id: null, name: this.translateService.instant(\"component.mailing-attachments.unclassified\") });\r\n //this.loadAttachmentsData();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n getAttachments(attachment_type_id) {\r\n return this.attachments.filter(m => m.attachment_type_id == attachment_type_id);\r\n }\r\n selectAttachemnts() {\r\n let resultAttach = this.selectedAttachments.map(id => {\r\n let existAttach = this.attachments.filter(m => m.id == id);\r\n if (existAttach.length > 0) {\r\n if (existAttach[0].description) {\r\n existAttach[0].filename = existAttach[0].description;\r\n existAttach[0].name = existAttach[0].description;\r\n }\r\n return existAttach[0];\r\n }\r\n });\r\n\r\n this.dynamicDialogRef.close(resultAttach);\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n getImage(mimetype) {\r\n var ret = \"other.png\";\r\n if (mimetype == \"application/pdf\") {\r\n ret = \"pdf.png\";\r\n } else if (mimetype == \"image/png\" || mimetype == \"image/jpeg\" || mimetype == \"image/jpg\" || mimetype == \"image/gif\" || mimetype == \"image/bmp\") {\r\n ret = \"img.png\";\r\n } else if (mimetype == \"application/msword\" || mimetype == \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\") {\r\n ret = \"word.png\";\r\n } else if (mimetype == \"application/vnd.ms-excel\" || mimetype == \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\") {\r\n ret = \"xls.png\";\r\n } else if (mimetype == \"application/vnd.ms-powerpoint\" || mimetype == \"application/vnd.openxmlformats-officedocument.presentationml.presentation\") {\r\n ret = \"pwt.png\";\r\n }\r\n return ret;\r\n }\r\n\r\n}\r\n","
\r\n \r\n \r\n\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n {{item.description}}\r\n
\r\n {{item.filename}}\r\n   {{'component.mailing_attachment.update'|translate}}:\r\n {{item.updated_at | date: 'dd/MM/yyyy HH:mm':'GMT'}}\r\n \r\n   {{'component.mailing_attachment.created_by'|translate}}:\r\n {{item.createdBy?.name}}\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { AttachmentsService } from 'src/app/attachments/attachments.service';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { MailAccountsService } from 'src/app/configuration/mail-accounts/mail-accounts.service';\r\nimport { TemplatesService } from 'src/app/configuration/templates/templates.service';\r\nimport { SearchService } from 'src/app/core/search.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { ContactsService } from 'src/app/organizations/organizations-detail/organizations-contacts-detail/contacts.service';\r\nimport { ReportsService } from 'src/app/reports/reports.service';\r\nimport { UserMailAccountsService } from 'src/app/users/users-mail-accounts-detail/user-mail-accounts.service';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { TemplatesTypesService } from '../../configuration/templates/templates-types.service';\r\nimport { NotificationsService } from '../../notifications/notifications.service';\r\nimport { UsersDetailComponent } from '../../users/users-detail/users-detail.component';\r\nimport { MailingAttachmentsComponent } from '../mailing-attachments/mailing-attachments.component';\r\nimport { MailingToDetailComponent } from '../mailing-to-detail/mailing-to-detail.component';\r\nimport { UsersSearcherComponent } from '../users-searcher/users-searcher.component';\r\nimport { OrganizationsService } from 'src/app/organizations/organizations.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { UtilsService } from '../../core/utils.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { DropdownFilterOptions } from 'primeng/dropdown';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { CampaignsService } from 'src/app/campaigns/campaigns.service';\r\nimport { AddCampaignsToEntityComponent } from 'src/app/campaigns/add-campaigns-to-entity/add-campaigns-to-entity.component';\r\nimport tinymce, { Editor } from 'tinymce';\r\n\r\n@Component({\r\n selector: 'app-mailing-detail',\r\n templateUrl: './mailing-detail.component.html',\r\n styleUrls: ['./mailing-detail.component.scss']\r\n})\r\nexport class MailingDetailComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n @ViewChild(\"editor\") public editor: Editor;\r\n public filterValue: string = '';\r\n public searchResults: any[] = [];\r\n public searchText: any;\r\n public searchResultsBCC: any[] = [];\r\n public searchTextBCC: any;\r\n public attachment: any = {};\r\n public meeting_users;\r\n public entities_ids: any[] = [];\r\n public total_tos: number = 0;\r\n public firstLoad: boolean = true;\r\n public allNotificationsAssigned: boolean = false;\r\n public notificationsToManaged: number = 0;\r\n public searchTextOrg: string = \"\";\r\n public filtersTemplates: any = {\r\n name: \"\"\r\n };\r\n public campaignPermission: boolean = false;\r\n public campaigns: any[] = [];\r\n\r\n public emails: any = [];\r\n public showCCCblock: boolean = false;\r\n public email = {\r\n //from: null,\r\n mail_account_id: null,\r\n date: null,\r\n to: [],\r\n ccc: [],\r\n bcc: [],\r\n tos: \"\",\r\n cccs: \"\",\r\n bccs: \"\",\r\n subject: \"\",\r\n template_id: null,\r\n body: \"\",\r\n files: [],\r\n entity_id: null,\r\n entity_pk_id: null,\r\n organization_id: null,\r\n contact_id: null,\r\n toInfo: [],\r\n status: \"\",\r\n type: \"\",\r\n direction: \"out\"\r\n }\r\n public mail_id;\r\n //public mail_account_id;\r\n public template_type_id;\r\n public notification_to_id;\r\n public templates: any[] = [];\r\n public filteredTemplates: any[] = [];\r\n public disableFields: boolean = false;\r\n public errorText: string = null;\r\n public notificationsTo: any[] = [];\r\n public statusOptions = [\r\n //{\"state\":\"Todos\", \"value\":null},\r\n { \"state\": this.translateService.instant('component.mailMarketing.sent_status'), \"value\": \"sent\" },\r\n { \"state\": this.translateService.instant('component.mailMarketing.default_status'), \"value\": \"pending\" },\r\n { \"state\": this.translateService.instant('component.mailMarketing.programmed_status'), \"value\": \"programmed\" },\r\n { \"state\": this.translateService.instant('component.mailMarketing.error_status'), \"value\": \"error\" },\r\n ]\r\n\r\n public organizations: any[] = [];\r\n public contacts: any[] = [];\r\n public notificationsToFilters: any = {};\r\n public countSentsMessages: number;\r\n private is_generic: boolean = null;\r\n public templateTypes: any[];\r\n public resendMail: boolean = false;\r\n private emailsSignature: string = \"\";\r\n public tinyMceConfig: any;\r\n public showEditor: boolean = true;\r\n public iframeSrc: string = \"\";\r\n\r\n constructor(\r\n private entitiesService: EntitiesService,\r\n private templatesService: TemplatesService,\r\n private campaignsService: CampaignsService,\r\n private mailAccountsService: MailAccountsService,\r\n private searchService: SearchService,\r\n private loginService: LoginService,\r\n private userMailAccountsService: UserMailAccountsService,\r\n private notificationsService: NotificationsService,\r\n private usersService: UsersService,\r\n private contactsService: ContactsService,\r\n private organizationsService: OrganizationsService,\r\n private attachmentsService: AttachmentsService,\r\n private config: DynamicDialogConfig,\r\n private messageService: MessageService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private reportsService: ReportsService,\r\n private dialogService: DialogService,\r\n public sanitizer: DomSanitizer,\r\n public viewsService: ViewsService,\r\n public templateTypesService: TemplatesTypesService,\r\n public coreDialogService: CoreDialogService,\r\n private utilsService: UtilsService,\r\n private translateService: TranslateService\r\n ) {\r\n\r\n if (this.config.data.resendMail != undefined) this.resendMail = this.config.data.resendMail;\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n this.campaignPermission = this.loginService.hasPermission(\"CAMPAIGNS_READ\");\r\n\r\n this.usersService.getUsersSignatureEmail(parseInt(localStorage.getItem(\"userId\"))).subscribe(\r\n (userHtml: any) => {\r\n this.email.body = userHtml.emailsSignature;\r\n this.emailsSignature = userHtml.emailsSignature;\r\n }\r\n );\r\n\r\n //cargamos las propiedades\r\n //this.mail_account_id = this.config.data.mail_account_id;\r\n this.mail_id = this.config.data.mail_id;\r\n this.email.entity_id = this.config.data.entity_id\r\n this.email.entity_pk_id = this.config.data.entity_pk_id;\r\n this.meeting_users = this.config.data.meeting_users;\r\n this.notification_to_id = this.config.data.notification_to_id;\r\n this.is_generic = this.config.data.is_generic;\r\n\r\n //Se cargan los tipos de templates porque se manda al abrir el popup (MAIL, MEETING, MAIL_INTERNAL, etc)\r\n this.templateTypesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.templateTypes = data.rows;\r\n\r\n if (typeof (this.config.data.template_type_code) !== \"undefined\") {\r\n this.template_type_id = this.templateTypes.filter(m => m.code == this.config.data.template_type_code)[0].id;\r\n } else {\r\n this.template_type_id = this.config.data.template_type_id;\r\n }\r\n\r\n if (this.mail_id == null) {\r\n\r\n if (this.template_type_id == null) {\r\n //Si no ha llegado el tipo de mail, se pone por defecto MAIL\r\n this.template_type_id = 1;\r\n }\r\n if (this.config.data.to != null) {\r\n if (typeof this.config.data.to == \"string\") {\r\n this.email.to = [{ email: this.config.data.to }];\r\n } else {\r\n //Ha mandado un objecto\r\n if (this.config.data.to.email) { this.email.to = [this.config.data.to]; }\r\n }\r\n this.email.toInfo.push(this.config.data.to);\r\n }\r\n if (this.meeting_users != null && this.meeting_users.length > 0) {\r\n var i = 1;\r\n this.meeting_users.forEach(external_user => {\r\n this.email.to.push({ email: external_user.email, name: external_user.name });\r\n this.email.toInfo.push(external_user);\r\n });\r\n }\r\n this.email.tos = String(this.email.to.map(function (item) {\r\n return item['email'];\r\n }));\r\n\r\n if (this.config.data.organization_id != null) this.email.organization_id = this.config.data.organization_id;\r\n if (this.config.data.contact_id != null) this.email.contact_id = this.config.data.contact_id;\r\n\r\n } else {\r\n\r\n this.loadToInformation();\r\n //this.disableFields = true;\r\n }\r\n\r\n this.loadEmails(() => {\r\n if (this.config.data.mail_id > 0) {\r\n this.loadEmail(() => {\r\n this.loadNotificationsTo();\r\n this.loadMailingAttachments();\r\n });\r\n }\r\n });\r\n\r\n //Se buscan las entidades relacionadas siempre salvo cuando sean internas. Por eso se pasa el searchRelated.\r\n if (typeof (this.config.data.searchRelated) === \"undefined\") this.config.data.searchRelated = true;\r\n if (this.email.entity_id != null && this.config.data.searchRelated) this.loadRelatedEntities();\r\n if (!this.config.data.searchRelated) this.loadTemplates();\r\n if (this.campaignPermission && this.mail_id != null) this.loadCampaigns();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n this.configureTinyMce();\r\n\r\n }\r\n\r\n configureTinyMce() {\r\n const that = this;\r\n this.tinyMceConfig =\r\n {\r\n selector: 'textarea#tiny',\r\n promotion: false,\r\n fullPage: true,\r\n height: 500,\r\n menubar: true,\r\n /*valid_elements: '*[*]',\r\n extended_valid_elements: 'style',\r\n valid_children: '+body[style]',\r\n custom_elements: 'style',*/\r\n //content_style: this.template_content_style,\r\n external_plugins: {\r\n fullpage: '/assets/tinymce/fullpage.plugin.js'\r\n },\r\n toolbar: [\r\n 'undo redo | bold italic underline | fontselect fontsizeselect fontsize fontfamily formatselect |' +\r\n 'alignleft aligncenter alignright alignjustify | outdent indent | numlist bullist checklist |' +\r\n 'forecolor casechange permanentpen formatpainter removeformat | fullscreen | insertfile image media pageembed link | table quickbars | variablesButton variablesLinesButton | previewButton'\r\n ],\r\n plugins: 'quickbars',\r\n quickbars_insert_toolbar: \"quicktable\",\r\n toolbar_mode: 'wrap',\r\n language: 'es',\r\n language_url: '/assets/tinymce/langs/es.js',\r\n relative_urls: false,\r\n remove_script_host: false,\r\n document_base_url: 'https://app.axialcrm.com/',\r\n file_picker_types: 'image',\r\n paste_data_images: false,\r\n file_picker_callback: function (cb, value, meta) {\r\n var input = document.createElement('input');\r\n input.setAttribute('type', 'file');\r\n input.setAttribute('accept', 'image/*');\r\n input.onchange = function (e) {\r\n var file = e.target[\"files\"][0];\r\n var reader = new FileReader();\r\n reader.onload = (event: any) => {\r\n var datafile = {\r\n FileName: file.name,\r\n ContentType: file.type,\r\n Length: file.size,\r\n b64: event.target.result\r\n };\r\n that.templatesService.UploadImage(datafile).subscribe({\r\n next: (data: any) => {\r\n cb(data.location);\r\n },\r\n error: (error: any) => {\r\n that.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n };\r\n reader.readAsDataURL(file);\r\n };\r\n\r\n input.click();\r\n }\r\n };\r\n }\r\n\r\n loadEmail(cb: Function) {\r\n this.notificationsService.get(this.mail_id).subscribe({\r\n next: (data: any) => {\r\n this.email = data;\r\n this.email.files = [];\r\n this.email.body = data.content;\r\n\r\n //esablecemos html al iframe\r\n setTimeout(() => {\r\n var iframe: any = document.getElementById(\"mail-preview-iframe\");\r\n var contentDocument: any = iframe?.contentDocument;\r\n if (contentDocument != null) {\r\n contentDocument.open();\r\n contentDocument.write(this.email.body);\r\n contentDocument.close();\r\n }\r\n });\r\n let mailAccount = this.emails.find(m => m.mailAccount.id == this.email.mail_account_id);\r\n if (mailAccount == null) this.email.mail_account_id = null;\r\n\r\n //si reenviamos, añadimos texto de reenvio\r\n if (this.resendMail) {\r\n const regex = new RegExp(\r\n \"\"\r\n );\r\n let match = regex.test(this.email.body);\r\n\r\n var date = new Date(data[\"date\"]).toLocaleString();\r\n var from = data[\"from\"];\r\n var text = this.translateService.instant('component.mailing.detail.onDate_user_wrote', { date: date, user: from });\r\n if (match) {\r\n this.email.body = this.email.body.replace(regex, (match: string) => {\r\n return match + \"


\" + this.emailsSignature + \"

----------------------------------------------------------
\" + text + \":

\";\r\n });\r\n } else {\r\n this.email.body = \"


\" + this.emailsSignature + \"

----------------------------------------------------------
\" + text + \":

\" + data[\"content\"];\r\n }\r\n\r\n this.email.subject = \"RE: \" + data.subject;\r\n }\r\n\r\n this.loadMailTos(data[\"id\"]);\r\n\r\n if (cb != null) cb();\r\n },\r\n error: (error: any) => {\r\n\r\n }\r\n });\r\n }\r\n\r\n getUrl(guid) {\r\n let notificationTo = this.notification_to_id;\r\n if (typeof (notificationTo) == \"undefined\") notificationTo = \"\";\r\n var url = \"https://app.axialcrm.com/api/PublicAttachments/\" + localStorage.getItem(\"companyId\") + \"/\" + guid + \"/\" + notificationTo + \"/download\";\r\n return url\r\n }\r\n\r\n getUrlIcon(mimetype) {\r\n var srcImage = \"https://app.axialcrm.com/assets/img/mimes/\";\r\n var ret = \"other.png\";\r\n if (mimetype == \"application/pdf\") {\r\n ret = \"pdf.png\";\r\n } else if (mimetype == \"image/png\" || mimetype == \"image/jpeg\" || mimetype == \"image/jpg\" || mimetype == \"image/gif\" || mimetype == \"image/bmp\") {\r\n ret = \"img.png\";\r\n } else if (mimetype == \"application/msword\" || mimetype == \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\") {\r\n ret = \"word.png\";\r\n } else if (mimetype == \"application/vnd.ms-excel\" || mimetype == \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\") {\r\n ret = \"xls.png\";\r\n } else if (mimetype == \"application/vnd.ms-powerpoint\" || mimetype == \"application/vnd.openxmlformats-officedocument.presentationml.presentation\") {\r\n ret = \"pwt.png\";\r\n }\r\n return srcImage + ret;\r\n }\r\n\r\n loadNotificationsTo() {\r\n var params = { notification_email_id: this.mail_id }\r\n params = Object.assign(params, this.notificationsToFilters);\r\n\r\n this.notificationsService.allNotificationsTo(params).subscribe({\r\n next: (data: any) => {\r\n this.notificationsTo = data.rows;\r\n if (this.email.direction == \"in\") this.searchOrganizations();\r\n\r\n if (data.totalRows > 0) {\r\n var aux = this.notificationsTo.filter(m => m.recipient_type == \"to\");\r\n this.email.entity_pk_id = aux[0][\"entity_pk_id\"];\r\n this.email.contact_id = aux[0][\"contact_id\"];\r\n this.email.organization_id = aux[0][\"organization_id\"];\r\n }\r\n if (this.firstLoad) {\r\n this.countSentsMessages = this.notificationsTo.filter(nt => (nt.state == \"sent\" || nt.state == \"discarded\")).length;\r\n this.total_tos = this.notificationsTo.length;\r\n }\r\n this.firstLoad = false;\r\n this.countNotificationsToManaged();\r\n },\r\n error: (error: any) => {\r\n console.log(error);\r\n }\r\n });\r\n }\r\n\r\n loadToInformation() {\r\n if (this.notification_to_id) {\r\n this.notificationsService.getNotificationTo(this.notification_to_id).subscribe({\r\n next: (data: any) => {\r\n this.errorText = data.text;\r\n },\r\n error: (error: any) => {\r\n console.log(error);\r\n }\r\n });\r\n }\r\n }\r\n\r\n loadMailingAttachments() {\r\n this.attachmentsService.all({ mail_id: this.mail_id }).subscribe({\r\n next: (data: any) => {\r\n this.email.files = data.rows;\r\n },\r\n error: (error: any) => {\r\n\r\n }\r\n });\r\n }\r\n\r\n loadMailTos(notification_email_id) {\r\n this.notificationsService.allNotificationsTo({ notification_email_id: notification_email_id }).subscribe(\r\n data => {\r\n this.email.to = data.rows.filter(m => m.recipient_type == \"to\").map(m => ({ \"email\": m.mails }));\r\n this.email.bcc = data.rows.filter(m => m.recipient_type == \"bcc\").map(m => ({ \"email\": m.mails }));\r\n this.email.ccc = data.rows.filter(m => m.recipient_type == \"cc\").map(m => ({ \"email\": m.mails }));\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n loadRelatedEntities() {\r\n this.entitiesService.getRelatedEntities(this.config.data.entity_id).subscribe({\r\n next: (data: any) => {\r\n this.entities_ids = data;\r\n this.loadTemplates();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadTemplates() {\r\n if (this.email.entity_id && this.template_type_id) {\r\n this.templatesService.all({ template_type_id: this.template_type_id, entity_id: this.email.entity_id, related_entities_ids: this.entities_ids, name: this.filtersTemplates.name }).subscribe({\r\n next: (data: any) => {\r\n this.templates = data.rows;\r\n this.filteredTemplates = data.rows;\r\n //Si es un mail interno, se carga la primera plantilla por defecto y se añade la opción 'ninguna' al final.\r\n if (this.config.data.template_type_code == \"MAIL_INTERNAL\") {\r\n if (this.templates.length > 0) {\r\n this.email.template_id = this.templates[0].id\r\n this.loadTemplateValue({ value: this.email.template_id });\r\n }\r\n }\r\n this.templates.unshift({ name: this.translateService.instant('component.mailing.detail.none') });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n loadContacts(notificationTo) {\r\n this.contactsService.all({ _sortBy: \"fullname\", _sortDirection: \"asc\", organization_id: notificationTo.organization_id }).subscribe({\r\n next: (data: any) => {\r\n this.contacts[notificationTo.id] = data.rows;\r\n }, error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadOrganizations() {\r\n this.organizationsService.all({ _sortBy: \"name\", _sortDirection: \"asc\" }).subscribe({\r\n next: (data: any) => {\r\n this.organizations = data.rows;\r\n }, error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n\r\n }\r\n\r\n searchOrganizations() {\r\n let params: any = {\r\n text: this.searchTextOrg\r\n };\r\n if (this.notificationsTo != null) params.include_organization_id = this.notificationsTo.filter(m => m.organization_id != null).map(m => m.organization_id);\r\n this.organizationsService.getCombo(params).subscribe({\r\n next: (data: any) => {\r\n this.organizations = data.rows;\r\n\r\n if (this.email.direction == 'in') {\r\n this.notificationsTo.forEach(notificationTo => {\r\n if (notificationTo.organization_id != null) this.loadContacts(notificationTo);\r\n });\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadTemplateValue(event) {\r\n //Esto carga el HTML de la plantilla en el editor:\r\n if (event.value) {\r\n this.templatesService.get(event.value).subscribe(\r\n data => {\r\n this.showEditor = false;\r\n this.email.body = data.html;\r\n var template = {\r\n name: \"blank\",\r\n html: \"blank\",\r\n subject: data.subject\r\n }\r\n /* TODO: Traer en el this.config el entity_id y el entity_id_pk y pasárselos a la siguiente función.*/\r\n this.templatesService.toHTML(event.value, this.email.entity_id, this.email.entity_pk_id, template).subscribe({\r\n next: (data: any) => {\r\n //var html = this.preserveTextFormat(data.html);\r\n this.email.body = data.html;\r\n //Si el asunto está vacío, cambia su valor por el título de la plantilla:\r\n if (this.email.subject == null || this.email.subject == \"\" || this.email.subject.length == 0) {\r\n this.email.subject = data.subject;\r\n }\r\n //this.res = this.sanitizer.sanitize(SecurityContext.HTML,data.html);\r\n\r\n //estraemos style del html y lo cargamos en el editor\r\n var style = \"\";\r\n if (this.email.body.indexOf(\"\");\r\n style = this.email.body.substring(styleStartIdx, styleEndIdx);\r\n }\r\n this.tinyMceConfig.content_style = style;\r\n //this.editor.iframeElement.contentDocument.getElementsByTagName('style')[1].innerHTML = style;\r\n //this.editor.remove();\r\n setTimeout(() => { this.showEditor = true; }, 0);\r\n //tinymce.init(this.tinyMceConfig);\r\n\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n );\r\n } else {\r\n this.email.body = \"\";\r\n }\r\n }\r\n\r\n preserveTextFormat(text) {\r\n text = text.replace('', '');\r\n // Reemplazar las tabulaciones con la entidad  \r\n text = text.replace(/\\t/g, ' ');\r\n // Reemplazar los saltos de línea con la etiqueta
\r\n text = text.replace(/\\n/g, '
');\r\n // Reemplazar los espacios en blanco con la entidad  \r\n text = text.replace(/\\s/g, ' ');\r\n return text;\r\n }\r\n\r\n loadEmails(cb: Function) {\r\n this.userMailAccountsService.all({ user_id: localStorage.getItem(\"userId\") }).subscribe({\r\n next: (data: any) => {\r\n this.emails = data.rows;\r\n //Eliminado por defecto mostrar el email del usuario logueado... lo ha pedido el 03/11/2022\r\n //this.emails.unshift({ mailAccount: { name: localStorage.getItem(\"email\") } });\r\n if (cb != null) cb();\r\n\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n sendEmail() {\r\n /*\r\n if (this.email.tos != null && this.email.tos.length != 0) {\r\n this.email.tos = String(this.email.to?.map(function (item) {\r\n return item['email'];\r\n }));\r\n } else {\r\n this.email.tos = \"\";\r\n }*/\r\n\r\n if (this.email.bcc != null && this.email.bcc.length != 0) {\r\n this.email.bccs = String(this.email.bcc?.map(function (item) {\r\n return item['email'];\r\n }));\r\n } else {\r\n this.email.bccs = \"\";\r\n }\r\n\r\n if (this.email.ccc != null && this.email.ccc.length != 0) {\r\n this.email.cccs = String(this.email.ccc?.map(function (item) {\r\n return item['email'];\r\n }));\r\n } else {\r\n this.email.cccs = \"\";\r\n }\r\n\r\n if (this.email.mail_account_id == null ||\r\n (this.email.to.length == 0 && this.email.cccs == \"\" && this.email.bccs == \"\")) {\r\n\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: \"Por favor, Designe la cuenta de correo y los destinatarios.\" });\r\n return;\r\n }\r\n this.reportsService.sendEmail(this.email).subscribe({\r\n next: (res: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant('component.mailing.detail.sending_email') });\r\n this.dynamicDialogRef.close(\"success\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n // this.mailAccountsService.send(this.email.from, this.email).subscribe(\r\n // data => {\r\n // this.messageService.add({ closable: false, severity: \"success\", detail: \"Email enviado correctamente\" });\r\n // },\r\n // error => {\r\n // /*if(this.email.from)*/ this.messageService.add({ closable: false, severity: \"error\", detail: \"No está configurada la cuenta de correo seleccionada para poder mandar emails desde la herramienta.\" });\r\n // //if(!this.email.from) this.messageService.add({ closable: false, severity: \"error\", detail: \"No hay una cuenta de correo seleccionada.\"});\r\n // }\r\n // )\r\n }\r\n\r\n filterSearch(event) {\r\n let filtered: any[] = [];\r\n let query = event.query;\r\n if (query.length >= 4) {\r\n filtered.push(\r\n {\r\n email: query\r\n }\r\n );\r\n this.searchService.onlyPeople({ email: query }).subscribe({\r\n next: (data: any) => {\r\n data.forEach(element => {\r\n filtered.push(element);\r\n });\r\n this.searchResults = filtered;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n onErrorUpload(event) {\r\n this.messageService.add({ closable: false, severity: 'error', detail: this.translateService.instant('component.mailing.detail.error_upload') });\r\n }\r\n onBasicUpload(event) {\r\n let i = 0;\r\n let guids = [];\r\n if (event.files.length > 1) guids = event.originalEvent.body.guids;\r\n else if (event.files.length == 1) guids = [event.originalEvent.body.guid];\r\n for (let f of event.files) {\r\n var file = { filename: \"\", mimetype: \"\", guid: \"\", size: \"\" };\r\n file.filename = f.name;\r\n file.mimetype = f.type;\r\n file.guid = guids[i];\r\n file.size = f.size;\r\n this.email.files.push(file);\r\n i++;\r\n }\r\n /* if (event.originalEvent.body.off) {\r\n var guidNum = 0;\r\n event.originalEvent.body.files.forEach(file => {\r\n var datafile = {\r\n description: file.fileName,\r\n filename: file.fileName,\r\n mimetype: file.contentType,\r\n size: file.length,\r\n guid: event.originalEvent.body.guids[guidNum],\r\n entity_id: this.config.data.entity_id,\r\n entity_pk_id: this.config.data.entity_pk_id,\r\n organization_id: this.config.data.organization_id,\r\n //TODO: ¿Darle un valor a attachment_type_id?:\r\n //attachment_type_id: this.attachment.attachment_type_id\r\n };\r\n this.attachmentsService.add(datafile).subscribe(\r\n data => {\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n guidNum = guidNum + 1;\r\n });\r\n } else {\r\n this.attachment.description = event.originalEvent.body.filename;\r\n this.attachment.filename = event.originalEvent.body.filename;\r\n this.attachment.mimetype = event.originalEvent.body.mimetype;\r\n this.attachment.size = event.originalEvent.body.size;\r\n this.attachment.guid = event.originalEvent.body.guid;\r\n this.attachment.entity_id = this.config.data.entity_id;\r\n this.attachment.entity_pk_id = this.config.data.entity_id_pk;\r\n this.attachment.organization_id = this.config.data.organization_id;\r\n this.attachmentsService.add(this.attachment).subscribe(\r\n data => {\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }*/\r\n }\r\n\r\n deleteAttachment(guid, index) {\r\n this.email.files.splice(index, 1);\r\n }\r\n\r\n changeCCCblock() {\r\n this.showCCCblock = !this.showCCCblock;\r\n }\r\n\r\n uploadAxial() {\r\n const ref = this.dialogService.open(MailingAttachmentsComponent, {\r\n data: {\r\n entity_id: this.email.entity_id,\r\n entity_pk_id: this.email.entity_pk_id,\r\n organization_id: this.email.organization_id,\r\n is_generic: this.is_generic\r\n },\r\n header: this.translateService.instant('component.mailing.detail.add_document'),\r\n width: \"50%\",\r\n /*baseZIndex: 1000*/\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n //if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n if (data != null) {\r\n for (let f of data) {\r\n this.email.files.push(f);\r\n }\r\n }\r\n });\r\n }\r\n\r\n viewInfo(notificationTo) {\r\n const ref = this.dialogService.open(MailingToDetailComponent, {\r\n data: {\r\n notification_to_id: notificationTo.id,\r\n //organization_id: this.organization.id,\r\n },\r\n header: this.translateService.instant('component.mailing.detail.more_info'),\r\n width: '900px',\r\n });\r\n }\r\n\r\n clearFilters() {\r\n this.notificationsToFilters = {};\r\n this.search();\r\n }\r\n\r\n search() {\r\n this.loadNotificationsTo();\r\n }\r\n\r\n getState(status) {\r\n\r\n if (status == 'sent') {\r\n var sent_status_string: string = this.translateService.instant(\"component.mailing.sent_status\");\r\n return \"
\" + sent_status_string + \"
\";\r\n } else if (status == \"pending\") {\r\n var pending_status_string: string = this.translateService.instant(\"component.mailing.pending_status\");\r\n return \"
\" + pending_status_string + \"
\";\r\n } else if (status == \"programmed\") {\r\n var programmed_status_string: string = this.translateService.instant(\"component.mailing.programmed_status\");\r\n return \"
\" + programmed_status_string + \"
\";\r\n } else if (status == \"error\") {\r\n var error_status_string: string = this.translateService.instant(\"component.mailing.error_status\");\r\n return \"
\" + error_status_string + \"
\";\r\n } else if (status == \"discarded\") {\r\n var discarded_status_string: string = this.translateService.instant(\"component.mailing.discarded_status\");\r\n return \"
\" + discarded_status_string + \"
\";\r\n } else {\r\n var default_status_string: string = this.translateService.instant(\"component.mailing.default_status\");\r\n return \"
\" + default_status_string + \"
\";\r\n }\r\n }\r\n\r\n openEditUser() {\r\n const ref = this.dialogService.open(UsersDetailComponent, {\r\n data: {\r\n id: parseInt(localStorage.getItem(\"userId\"))\r\n },\r\n //header: \"Detalles del usuario\",\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.loadEmails(null);\r\n });\r\n }\r\n\r\n\r\n getImage(mimetype) {\r\n var ret = \"other.png\";\r\n if (mimetype == \"application/pdf\") {\r\n ret = \"pdf.png\";\r\n } else if (mimetype == \"image/png\" || mimetype == \"image/jpeg\" || mimetype == \"image/jpg\" || mimetype == \"image/gif\" || mimetype == \"image/bmp\") {\r\n ret = \"img.png\";\r\n } else if (mimetype == \"application/msword\" || mimetype == \"application/vnd.openxmlformats-officedocument.wordprocessingml.document\") {\r\n ret = \"word.png\";\r\n } else if (mimetype == \"application/vnd.ms-excel\" || mimetype == \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\") {\r\n ret = \"xls.png\";\r\n } else if (mimetype == \"application/vnd.ms-powerpoint\" || mimetype == \"application/vnd.openxmlformats-officedocument.presentationml.presentation\") {\r\n ret = \"pwt.png\";\r\n }\r\n return ret;\r\n }\r\n\r\n openUsersSearcher(destiny) {\r\n const ref = this.dialogService.open(UsersSearcherComponent, {\r\n data: {\r\n emails: this.email.to,\r\n organizationId: this.email.organization_id,\r\n destiny: destiny,\r\n viewAll: true\r\n },\r\n header: \"Buscar emails\",\r\n width: '35%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data != null) {\r\n this.usersSearcherResults(data.emails, data.destiny);\r\n } else {\r\n\r\n }\r\n });\r\n }\r\n\r\n usersSearcherResults(results, destiny) {\r\n var temp_emails = results;/*.map((email) => {\r\n return { name: name, email: email }\r\n });*/\r\n if (destiny == 'to') {\r\n var finalMails: any[] = [];\r\n this.email.to?.forEach(email => { finalMails.push(email); });\r\n temp_emails?.forEach(email => { finalMails.push(email); });\r\n this.email.to = finalMails;\r\n } else if (destiny == 'ccc') {\r\n var finalMails: any[] = [];\r\n this.email.ccc?.forEach(email => { finalMails.push(email); });\r\n temp_emails?.forEach(email => { finalMails.push(email); });\r\n this.email.ccc = finalMails;\r\n } else if (destiny == 'bcc') {\r\n var finalMails: any[] = [];\r\n this.email.bcc?.forEach(email => { finalMails.push(email); });\r\n temp_emails?.forEach(email => { finalMails.push(email); });\r\n this.email.bcc = finalMails;\r\n }\r\n\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n /*\r\n this.email.to = this.email.to.filter(this.onlyUnique);\r\n this.email.ccc = this.email.ccc.filter(this.onlyUnique);\r\n this.email.bcc = this.email.bcc.filter(this.onlyUnique);\r\n */\r\n }\r\n onlyUnique(value, index, self) {\r\n //Realiza la función de un distinct.\r\n return self.indexOf(value) === index;\r\n }\r\n onStateChange($event) {\r\n if ($event.value == null) delete this.notificationsToFilters.state;\r\n this.search();\r\n }\r\n discardNotificationTo(notificationTo) {\r\n this.coreDialogService.confirm({\r\n message: '¿Quieres descartar el email para \"' + notificationTo.mails + '\"?',\r\n accept: () => {\r\n notificationTo.state = \"discarded\";\r\n //notificationTo.deleted = true;\r\n //this.saveNotificationTo(notificationTo);\r\n this.countNotificationsToManaged();\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n\r\n }\r\n onChangeOrganization(notificationTo, $event) {\r\n delete notificationTo.contact_id;\r\n if (notificationTo.organization_id != null) {\r\n notificationTo.state = \"assigned\";\r\n this.loadContacts(notificationTo);\r\n //this.saveNotificationTo(notificationTo);\r\n } else {\r\n notificationTo.state = \"pending_assign\";\r\n }\r\n this.countNotificationsToManaged();\r\n }\r\n onChangeContact(notificationTo) {\r\n if (notificationTo.organization_id != null && notificationTo.contact_id != null) {\r\n //this.saveNotificationTo(notificationTo);\r\n }\r\n }\r\n\r\n onOrganizationFilter($event) {\r\n this.searchTextOrg = $event.filter;\r\n if (this.searchTextOrg.length > 1) this.searchOrganizations();\r\n else if (this.searchTextOrg.length == 0) {\r\n this.searchOrganizations();\r\n }\r\n }\r\n\r\n saveNotificationsTo() {\r\n this.notificationsTo.forEach(not => {\r\n not.notificationEmails = null;\r\n not.organization = null;\r\n });\r\n this.notificationsService.saveNotificationsTo(this.mail_id, this.notificationsTo).subscribe(\r\n data => {\r\n this.messageService.add({ severity: 'success', summary: 'Correos asignados correctamente' });\r\n this.dynamicDialogRef.close();\r\n this.utilsService.alertsChange.emit(true);\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n countNotificationsToManaged() {\r\n //Se encarga de comprobar si todos los Notifications To han sido gestionados (asignados o descartados).\r\n this.notificationsToManaged = this.notificationsTo.filter(m => m.state == 'assigned' || m.state == 'discarded').length;\r\n this.allNotificationsAssigned = (this.notificationsToManaged == this.total_tos);\r\n }\r\n\r\n assign() {\r\n if (!this.allNotificationsAssigned) return;\r\n //Para entrar en este método, todos los notifications_to deberían estar en estado 'assigned' y/o 'discarded' (gestionados) para poder guardar cambios.\r\n this.saveNotificationsTo();\r\n }\r\n filterTemplates($event) {\r\n let filtered: any[] = [];\r\n let query = $event.query;\r\n for (let i = 0; i < (this.templates as any[]).length; i++) {\r\n let template = (this.templates as any[])[i];\r\n if (template.name.toLowerCase().indexOf(query.toLowerCase()) == 0) {\r\n filtered.push(template);\r\n }\r\n }\r\n this.filteredTemplates = filtered;\r\n }\r\n customFilterFunction(event: any) {\r\n if (event.filter?.length >= 3) {\r\n this.filtersTemplates.name = event.filter;\r\n this.loadTemplates();\r\n }\r\n else if (event.filter?.length == null || event.filter?.length == 0) {\r\n this.filtersTemplates = \"\";\r\n this.loadTemplates();\r\n }\r\n }\r\n resetFunction(options: DropdownFilterOptions) {\r\n options.reset();\r\n this.filterValue = '';\r\n }\r\n\r\n loadCampaigns() {\r\n if (this.mail_id == null) return;\r\n this.campaignsService.getByElementId({ notification_email_id: this.mail_id }).subscribe({\r\n next: (data: any) => {\r\n this.campaigns = data.rows;\r\n },\r\n error: (error: any) => {\r\n\r\n }\r\n });\r\n }\r\n\r\n addCampaigns() {\r\n const ref = this.dialogService.open(AddCampaignsToEntityComponent, {\r\n data: {\r\n id: this.mail_id,\r\n entity: 'mailMarketing',\r\n campaign_id: (this.campaigns.length > 0 ? this.campaigns[0]?.id : null)\r\n },\r\n header: this.translateService.instant(\"component.campaigns.addCampaigns\"),\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.loadCampaigns();\r\n });\r\n };\r\n}\r\n","\r\n \r\n
\r\n
\r\n
\r\n
\r\n

\r\n {{'component.mailing.detail.subject'|translate}}: {{email.subject}}\r\n

\r\n {{'component.mailing.detail.from'|translate}}: {{email.from}}\r\n
{{ email.date | date: 'dd/MM/yyyy hh:mm'}}
\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n

\r\n \r\n {{email.files.length}} {{'attachment.entity.name_plural'|translate}}\r\n \r\n

\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n \r\n {{'component.mailing.detail.recipients'|translate}}\r\n
\r\n {{countSentsMessages}}/{{total_tos}}
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n\r\n \r\n \r\n \r\n {{'notificationsTo.entity_fields.state'|translate}}\r\n {{'notificationsTo.entity_fields.email'|translate}}\r\n {{'notificationsTo.entity_fields.times_open'|translate}}\r\n {{'notificationsTo.entity_fields.last_time_opened'|translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{notificationTo.recipient_type == 'to'?'Para':notificationTo?.recipient_type?.toUpperCase()}}:\r\n {{notificationTo.mails}}\r\n {{notificationTo.times_open?notificationTo.times_open:\"0\"}}\r\n \r\n
\r\n {{notificationTo.last_time_opened | date: 'dd/MM/yyyy HH:mm:ss'}}\r\n
\r\n
\r\n {{'component.mailing.detail.not_opened'|translate}}\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n {{'general.not_data' | translate }}\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n\r\n \r\n\r\n \r\n \r\n \r\n {{'notificationTo.entity_fields.mails'|translate}}\r\n {{'notificationTo.entity_fields.organization_id'|translate}}\r\n {{'notificationTo.entity_fields.contact_id'|translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{notificationTo.mails}}\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{item.fullname}}
\r\n {{item.email}}\r\n
\r\n
\r\n \r\n\r\n \r\n\r\n \r\n \r\n  {{'component.mailing.detail.delete_multiple'|translate}}\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n {{'general.not_data' | translate }}\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n Nombre\r\n \r\n \r\n \r\n \r\n {{ campaign.name }}\r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
0\">\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n
\r\n \"Card\"\r\n
\r\n {{file.filename}} - {{file.size}} bytes
\r\n {{'notificationTo.entity_fields.times_open'|translate}}:\r\n {{file.times_open?file.times_open:'0'}}\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
0\">\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { DynamicDialogRef, DynamicDialogConfig } from 'primeng/dynamicdialog';\r\nimport { NotificationsService } from 'src/app/notifications/notifications.service';\r\n\r\n@Component({\r\n selector: 'app-mailing-to-detail',\r\n templateUrl: './mailing-to-detail.component.html',\r\n styleUrls: ['./mailing-to-detail.component.scss']\r\n})\r\nexport class MailingToDetailComponent implements OnInit {\r\n public notificationTo: any = {};\r\n public notificationStats: any[] = [];\r\n\r\n constructor(\r\n private notificationsService: NotificationsService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n public config: DynamicDialogConfig,\r\n private translateService: TranslateService,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadNotificationTo(this.config.data.notification_to_id);\r\n this.loadNotificationStats(this.config.data.notification_to_id);\r\n }\r\n\r\n loadNotificationTo(id: number) {\r\n if (id) {\r\n this.notificationsService.getNotificationTo(id).subscribe(\r\n data => {\r\n this.notificationTo = data;\r\n },\r\n error => {\r\n //TODO message\r\n }\r\n );\r\n }\r\n }\r\n\r\n loadNotificationStats(id: number) {\r\n if (id) {\r\n this.notificationsService.allNotificationsStats({ notification_to_id: id }).subscribe(\r\n data => {\r\n this.notificationStats = data.rows;\r\n },\r\n error => {\r\n //TODO message\r\n }\r\n );\r\n }\r\n }\r\n\r\n getState(status) {\r\n if (status == 'sent') {\r\n var sent_status_string: string = this.translateService.instant(\"component.mailing.sent_status\");\r\n return \"
\" + sent_status_string + \"
\";\r\n } else if (status == \"pending\") {\r\n var pending_status_string: string = this.translateService.instant(\"component.mailing.pending_status\");\r\n return \"
\" + pending_status_string + \"
\";\r\n } else if (status == \"programmed\") {\r\n var programmed_status_string: string = this.translateService.instant(\"component.mailing.programmed_status\");\r\n return \"
\" + programmed_status_string + \"
\";\r\n } else if (status == \"error\") {\r\n var error_status_string: string = this.translateService.instant(\"component.mailing.error_status\");\r\n return \"
\" + error_status_string + \"
\";\r\n } else {\r\n var default_status_string: string = this.translateService.instant(\"component.mailing.default_status\");\r\n return \"
\" + default_status_string + \"
\";\r\n }\r\n }\r\n}","\r\n
\r\n \r\n
\r\n
\r\n
\r\n
{{'component.mailing_to.to'|translate}}:
\r\n
{{notificationTo.mails}}
\r\n
{{'component.mailing_to.openedMails'|translate}}:
\r\n
{{notificationTo.times_open? notificationTo.times_open: \"0\"}}
\r\n
{{'component.mailing_to.last_date_opened'|translate}}:
\r\n
\r\n
\r\n {{notificationTo.last_time_opened|date:'dd/MM/yyyy'}}\r\n
\r\n
\r\n {{'component.mailing_to.not_opened'|translate}}\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n {{'component.mailing_to.type'|translate}}\r\n {{'component.mailing_to.description'|translate}}\r\n {{'component.mailing_to.last_date_opened'|translate}}\r\n {{'component.mailing_to.first_opening'|translate}}\r\n {{'component.mailing_to.last_opening'|translate}}\r\n \r\n \r\n \r\n \r\n {{(notificationStat.type=='attachment'?'Adjunto':'Enlace')}}\r\n \r\n {{notificationStat.notificationAttachment.attachment.description}}\r\n {{notificationStat.value}}\r\n {{notificationStat.times_open}}\r\n {{notificationStat.first_time_opened | date: 'dd/MM/yyyy HH:mm'}}\r\n {{notificationStat.last_time_opened | date: 'dd/MM/yyyy HH:mm'}}\r\n \r\n \r\n \r\n \r\n \r\n {{'general.not_data' | translate }}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { MailingDetailComponent } from './mailing-detail/mailing-detail.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { InputTextareaModule } from 'primeng/inputtextarea';\r\nimport { SplitButtonModule } from 'primeng/splitbutton';\r\nimport { TableModule } from 'primeng/table';\r\nimport { TimelineModule } from 'primeng/timeline';\r\nimport { CoreModule } from '../core/core.module';\r\nimport { ChipsModule } from 'primeng/chips'\r\nimport { EditorModule } from '@tinymce/tinymce-angular';\r\nimport { AutoCompleteModule } from 'primeng/autocomplete';\r\nimport { FileUploadModule } from 'primeng/fileupload';\r\nimport { MailingAttachmentsComponent } from './mailing-attachments/mailing-attachments.component';\r\nimport { AccordionModule } from 'primeng/accordion';\r\nimport { TabViewModule } from 'primeng/tabview';\r\nimport { MailingToDetailComponent } from './mailing-to-detail/mailing-to-detail.component';\r\nimport { MessageModule } from 'primeng/message';\r\nimport { ToastModule } from 'primeng/toast';\r\nimport { UsersSearcherComponent } from './users-searcher/users-searcher.component';\r\nimport { MultiSelectModule } from 'primeng/multiselect';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n@NgModule({\r\n declarations: [MailingDetailComponent, MailingAttachmentsComponent, MailingToDetailComponent, UsersSearcherComponent],\r\n imports: [\r\n CommonModule,\r\n InputTextModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n InputTextareaModule,\r\n DropdownModule,\r\n CalendarModule,\r\n SplitButtonModule,\r\n TimelineModule,\r\n ChipsModule,\r\n EditorModule,\r\n AutoCompleteModule,\r\n FileUploadModule,\r\n AccordionModule,\r\n TabViewModule,\r\n ToastModule,\r\n MessageModule,\r\n MultiSelectModule,\r\n TranslateModule\r\n ],\r\n exports: [MailingDetailComponent, UsersSearcherComponent]\r\n})\r\nexport class MailingModule { }\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogRef, DynamicDialogConfig } from 'primeng/dynamicdialog';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { SearchService } from '../../core/search.service';\r\nimport { ContactsService } from '../../organizations/organizations-detail/organizations-contacts-detail/contacts.service';\r\n\r\n@Component({\r\n selector: 'app-users-searcher',\r\n templateUrl: './users-searcher.component.html',\r\n styleUrls: ['./users-searcher.component.scss']\r\n})\r\nexport class UsersSearcherComponent implements OnInit {\r\n public emails: any[] = [];\r\n public existingEmails: any[] = [];\r\n public users: any[] = [];\r\n public others: any[] = [];\r\n public usersFilters = {};\r\n public contacts: any[] = [];\r\n public resultsEmails: any;\r\n public searchResults: any[] = [];\r\n public selectedItem: any;\r\n\r\n constructor(\r\n private usersService: UsersService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private config: DynamicDialogConfig,\r\n private contactService: ContactsService,\r\n private messageService: MessageService,\r\n private searchService: SearchService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.resultsEmails = { users: [], contacts: [] }\r\n this.loadEmails();\r\n }\r\n loadEmails() {\r\n this.existingEmails = this.config.data.emails?.map(e => e.email);\r\n if(this.existingEmails == null || this.existingEmails == undefined) this.existingEmails = [];\r\n if (this.config.data.organizationId) this.loadContacts(this.config.data.organizationId);\r\n this.loadUsers();\r\n }\r\n\r\n loadContacts(organizationId) {\r\n this.contactService.all({ organization_id: organizationId }).subscribe({\r\n next: (data: any) => {\r\n this.contacts = data.rows;\r\n //Recorremos para preseleccionar si ya está en la lista.\r\n for (let u of this.existingEmails) {\r\n var emailSearch = this.contacts.filter(m => m.email == u);\r\n if (emailSearch.length > 0) {\r\n if (emailSearch[0].email != \"\" && emailSearch[0].email != null) {\r\n this.resultsEmails.contacts.push(emailSearch[0].id + \"\");\r\n }\r\n }\r\n }\r\n },\r\n error: (error: any) => {\r\n\r\n }\r\n });\r\n }\r\n\r\n loadUsers() {\r\n var params = {};\r\n if (this.config.data.viewAll) params = { viewAll: this.config.data.viewAll, activated: true }\r\n params = Object.assign(params, this.usersFilters);\r\n this.usersService.all(params).subscribe({\r\n next: (data: any) => {\r\n this.users = data.rows;\r\n //Recorremos para preseleccionar si ya está en la lista.\r\n for (let u of this.existingEmails) {\r\n var emailSearch = this.users.filter(m => m.email == u);\r\n if (emailSearch.length > 0) {\r\n if (emailSearch[0].email != \"\" && emailSearch[0].email != null) {\r\n this.resultsEmails.users.push(emailSearch[0].id + \"\");\r\n }\r\n }\r\n }\r\n },\r\n error: (error: any) => {\r\n\r\n }\r\n });\r\n }\r\n\r\n filterSearch(event) {\r\n let filtered: any[] = [];\r\n let query = event.query;\r\n if (query.length >= 4) {\r\n filtered.push(\r\n {\r\n email: query\r\n }\r\n );\r\n this.searchService.onlyPeople({ email: query }).subscribe({\r\n next: (data: any) => {\r\n data.forEach(element => {\r\n filtered.push(element);\r\n });\r\n this.searchResults = filtered;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n search() {\r\n this.loadUsers();\r\n }\r\n clear() {\r\n this.usersFilters = {};\r\n this.loadUsers();\r\n }\r\n addElementToArray(event) {\r\n if (event) {\r\n if (event.email) this.others.push({ id: event.id, name: event.text, email: event.email, organization_id: event.organization_id });\r\n this.selectedItem = null;\r\n }\r\n }\r\n save() {\r\n //Usuarios\r\n for (let u of this.resultsEmails.users) {\r\n var emailSearch = this.users.filter(m => m.id == u);\r\n if (emailSearch.length > 0) {\r\n if (emailSearch[0].email != \"\" && emailSearch[0].email != null) {\r\n if (this.existingEmails.indexOf(emailSearch[0].email) === -1) {\r\n this.emails.push({ name: emailSearch[0].name, email: emailSearch[0].email, contact_id: emailSearch[0].contact_id, organization_id: emailSearch[0].organization_id });\r\n }\r\n }\r\n }\r\n }\r\n //Contactos\r\n for (let c of this.resultsEmails.contacts) {\r\n var emailSearch = this.contacts.filter(m => m.id == c);\r\n if (emailSearch.length > 0) {\r\n if (emailSearch[0].email != \"\" && emailSearch[0].email != null) {\r\n if (this.existingEmails.indexOf(emailSearch[0].email) === -1) { //si no existe en los que ya están añadidos, lo añadimos\r\n this.emails.push({ name: emailSearch[0].name, email: emailSearch[0].email, contact_id: emailSearch[0].id, organization_id: emailSearch[0].organization_id });\r\n }\r\n }\r\n }\r\n }\r\n //Otros contactos por si no hay empresa\r\n\r\n if (this.resultsEmails.others) {\r\n for (let c of this.resultsEmails.others) {\r\n var emailSearch = this.others.filter(m => m.id == c);\r\n if (emailSearch.length > 0) {\r\n if (emailSearch[0].email != \"\" && emailSearch[0].email != null) {\r\n if (this.existingEmails.indexOf(emailSearch[0].email) === -1) { //si no existe en los que ya están añadidos, lo añadimos\r\n this.emails.push({ name: emailSearch[0].name, email: emailSearch[0].email, contact_id: emailSearch[0].id, organization_id: emailSearch[0].organization_id });\r\n }\r\n }\r\n }\r\n }\r\n }\r\n this.dynamicDialogRef.close({ emails: this.emails, destiny: this.config.data.destiny });\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n}\r\n","
0\" style=\"margin-bottom: 15px;\">\r\n

Contactos de la empresa

\r\n
\r\n \r\n \r\n \r\n \r\n {{'contact.entity_fields.email'|translate}}\r\n {{'contact.entity_fields.name'|translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{contact.email}}\r\n {{contact.fullname}}\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
0\">\r\n

{{'component.user_searcher.users'|translate}}

\r\n
\r\n \r\n \r\n \r\n \r\n {{'contact.entity_fields.email'|translate}}\r\n {{'contact.entity_fields.name'|translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{user.email}}\r\n {{user.name}}\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n

{{'component.user_searcher.search_contacts_on_all_tool'|translate}}

\r\n \r\n\r\n \r\n \r\n \r\n \r\n {{'contact.entity_fields.email'|translate}}\r\n {{'contact.entity_fields.name'|translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{other.email}}\r\n {{other.name}}\r\n \r\n \r\n \r\n\r\n
\r\n
\r\n \r\n \r\n
","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { GoogleMap, MapInfoWindow, MapMarker } from '@angular/google-maps';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { UIChart } from 'primeng/chart';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { TRISTATECHECKBOX_VALUE_ACCESSOR } from 'primeng/tristatecheckbox';\r\nimport { ContactsRoutingModule } from 'src/app/contacts/contacts-routing.module';\r\n\r\ndeclare var google: any;\r\nvar geocoder: any;\r\n\r\n@Component({\r\n selector: 'app-maps-detail',\r\n templateUrl: './maps-detail.component.html',\r\n styleUrls: ['./maps-detail.component.scss']\r\n})\r\nexport class MapsDetailComponent implements OnInit {\r\n\r\n //public map: any;\r\n public options: any;\r\n public overlays: any[];\r\n public organization: any = {};\r\n //public infoWindow: any;\r\n public errorMessage: string;\r\n public infoContent: string;\r\n\r\n @ViewChild(GoogleMap, { static: false }) map: GoogleMap;\r\n @ViewChild(MapInfoWindow, { static: false }) infoWindow: MapInfoWindow;\r\n\r\n constructor(\r\n private config: DynamicDialogConfig,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private messageService: MessageService,\r\n private translateService: TranslateService\r\n ) { }\r\n public markerPositions: google.maps.LatLngLiteral[] = [];\r\n center: google.maps.LatLngLiteral = { lat: 40.4166400, lng: -3.7032700 };\r\n zoom = 6;\r\n /* display: google.maps.LatLngLiteral;\r\n\r\n moveMap(event: google.maps.MapMouseEvent) {\r\n this.center = (event.latLng.toJSON());\r\n }\r\n move(event: google.maps.MapMouseEvent) {\r\n this.display = event.latLng.toJSON();\r\n }\r\n \r\n setMap(event) {\r\n this.map = event.map;\r\n this.loadMap();\r\n }\r\n */\r\n ngOnInit(): void {\r\n \r\n this.options = {\r\n center: { lat: 40.4166400, lng: -3.7032700 },\r\n zoom: 4\r\n };\r\n this.organization = this.config.data.organization;\r\n this.organization.errorMessage = \"\";\r\n //this.loadMap();\r\n\r\n setTimeout(() => { // map will need some time to load \r\n this.loadMap();\r\n }, 10);\r\n this.errorMessage = \"\";\r\n\r\n }\r\n\r\n\r\n markerDrag(event) {\r\n this.organization.lat = event.overlay.position.lat();\r\n this.organization.lng = event.overlay.position.lng();\r\n }\r\n\r\n geocodePosition(organization: any) {\r\n geocoder = new google.maps.Geocoder();\r\n const that = this;\r\n return new Promise(function (resolve, reject) {\r\n geocoder.geocode({ 'address': organization.address + \" \" + organization.postal_code + \" \" + organization.city }, function (results, status) {\r\n if (status == 'OK') {\r\n organization.lat = results[0].geometry.location.lat();\r\n organization.lng = results[0].geometry.location.lng()\r\n resolve(organization);\r\n } else {\r\n //this.messageService.add({ severity: 'error', summary: 'Error', detail: \"No se pudo reconocer la dirección proporcionada.\" });\r\n //throw Error(\"No se pudo reconocer la dirección proporcionada\");\r\n organization.errorMessage = that.translateService.instant(\"component.maps.cant_add_marker_in_position\") + organization.address + \" \" + organization.postal_code + \" \" + organization.city;\r\n resolve(organization);\r\n }\r\n });\r\n });\r\n\r\n }\r\n\r\n loadMap() {\r\n /*let bounds = new google.maps.LatLngBounds();\r\n geocoder = new google.maps.Geocoder();\r\n this.overlays = [];*/\r\n if (this.organization.lat == null || this.organization.lat == 0) {\r\n if (this.organization.address) {\r\n var org = this.geocodePosition(this.organization).then((data) => {\r\n this.organization = data;\r\n let lng = this.organization.lng;\r\n let lat = this.organization.lat;\r\n if(this.organization.errorMessage != \"\" && this.organization.lng== 0 && this.organization.lat == 0){\r\n lat = 40.42898477277719;\r\n lng = -3.6987698698315654\r\n }\r\n\r\n const marker = new google.maps.Marker({\r\n position: { lat: lat, lng: lng },\r\n title: this.organization.name,\r\n label: {\r\n color: \"black\",\r\n text: this.organization.name\r\n },\r\n draggable: true,\r\n options: {\r\n draggable: true\r\n }\r\n });\r\n this.markerPositions.push(marker);\r\n this.zoom = 16;\r\n this.center = { lat: lat, lng: lng };\r\n\r\n /* this.overlays.push(marker);\r\n this.overlays.forEach(marker => {\r\n bounds.extend(marker.getPosition());\r\n });*/\r\n /*\r\n setTimeout(() => { // map will need some time to load \r\n this.map.fitBounds(bounds); // Map object used directly\r\n this.map.setZoom(16);\r\n }, 3000);*/\r\n });\r\n }\r\n } else {\r\n\r\n\r\n const marker = new google.maps.Marker({\r\n position: { lat: this.organization.lat, lng: this.organization.lng },\r\n title: this.organization.name,\r\n label: {\r\n color: \"black\",\r\n text: this.organization.name\r\n },\r\n draggable: true,\r\n options: {\r\n //icon: image,\r\n draggable: true,\r\n animation: google.maps.Animation.DROP\r\n }\r\n });\r\n marker.setDraggable(true);\r\n\r\n this.markerPositions.push(marker);\r\n this.zoom = 16;\r\n this.center = { lat: this.organization.lat, lng: this.organization.lng };\r\n\r\n /* marker.addListener(\"click\", () => {\r\n this.generateInfoWindow(marker);\r\n });*/\r\n\r\n /*\r\n marker.addListener(\"mouseout\",()=>{\r\n this.closeInfoWindow();\r\n });\r\n */\r\n\r\n /* this.overlays.push(marker);\r\n this.overlays.forEach(marker => {\r\n bounds.extend(marker.getPosition());\r\n });\r\n\r\n setTimeout(() => { // map will need some time to load \r\n this.map.fitBounds(bounds); // Map object used directly\r\n this.map.setZoom(16);\r\n\r\n }, 1000);*/\r\n }\r\n }\r\n onDragend(m, event) {\r\n //this.markers[this.determineIndex(m)].position = event.latLng;\r\n }\r\n\r\n generateInfoWindow(marker: MapMarker) {\r\n\r\n // this.closeInfoWindow();\r\n //Las cosas a mostrar en la ventana del marcador, se ponen en la siguiente línea como String:\r\n let infoWindowContent = \"\" + this.organization.name + \"\";\r\n if (this.organization.address) infoWindowContent += \"
\" + this.organization.address + \"\";\r\n if (this.organization.city) infoWindowContent += \"
\" + this.organization.city + \"\";\r\n if (this.organization.city && this.organization.postal_code) infoWindowContent += \", \" + this.organization.postal_code;\r\n if (this.organization.webpage) infoWindowContent += \"
\" + this.organization.webpage + \"\";\r\n if (this.organization.phone_1) infoWindowContent += \"
\" + this.organization.phone_1 + \"\";\r\n if (this.organization.phone_2) infoWindowContent += \"
\" + this.organization.phone_2 + \"\";\r\n if (this.organization.email) infoWindowContent += \"
\" + this.organization.email + \"\";\r\n\r\n this.infoContent = infoWindowContent;\r\n this.infoWindow.open(marker);\r\n }\r\n\r\n closeInfoWindow() {\r\n if (this.infoWindow) {\r\n this.infoWindow.close();\r\n };\r\n }\r\n\r\n save() {\r\n this.dynamicDialogRef.close(this.organization);\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { MapsDetailComponent } from './maps-detail/maps-detail.component';\r\n//import { GMapModule } from 'primeng/gmap';\r\nimport { CoreModule } from '../core/core.module';\r\nimport { CardModule } from 'primeng/card';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { MessageModule } from 'primeng/message';\r\nimport { MessagesModule } from 'primeng/messages';\r\nimport { GoogleMapsModule } from '@angular/google-maps';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n@NgModule({\r\n declarations: [MapsDetailComponent],\r\n imports: [\r\n CommonModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n //GMapModule,\r\n MessageModule,\r\n MessagesModule,\r\n\r\n GoogleMapsModule,\r\n TranslateModule\r\n ],\r\n exports:[\r\n MapsDetailComponent\r\n ]\r\n})\r\nexport class MapsModule { }\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { NotificationsService } from '../notifications.service';\r\nimport { DialogService, DynamicDialogConfig } from 'primeng/dynamicdialog';\r\nimport { MailingDetailComponent } from 'src/app/mailing/mailing-detail/mailing-detail.component';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { OrganizationsService } from 'src/app/organizations/organizations.service';\r\nimport { ContactsService } from 'src/app/organizations/organizations-detail/organizations-contacts-detail/contacts.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-mail-in-out-list',\r\n templateUrl: './mail-in-out-list.component.html',\r\n styleUrls: ['./mail-in-out-list.component.scss']\r\n})\r\nexport class MailInOutListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n organization_id: number;\r\n organization = null;\r\n contact_id: number;\r\n contact = null;\r\n public emailsFilters: any = {};\r\n\r\n constructor(\r\n private notificationsService: NotificationsService,\r\n private organizationsService: OrganizationsService,\r\n private contactsService: ContactsService,\r\n private dialogService: DialogService,\r\n private viewsService: ViewsService,\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private route: ActivatedRoute,\r\n private translateService: TranslateService\r\n ) {\r\n this.route.params.subscribe(params => {\r\n var organization_id = params[\"organization_id\"];\r\n var contact_id = params[\"contact_id\"];\r\n\r\n if (organization_id != null && organization_id > 0) {\r\n this.organization_id = organization_id;\r\n this.emailsFilters.organization_id = this.organization_id;\r\n this.getOrganization(this.organization_id);\r\n }\r\n if (contact_id != null && contact_id > 0) {\r\n this.contact_id = contact_id;\r\n this.emailsFilters.contact_id = this.contact_id;\r\n this.getContact(this.contact_id);\r\n }\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n search() {\r\n this.view.fireEvent(\"notificationEmails.list.results\", \"reload\");\r\n }\r\n\r\n clearFilters() {\r\n this.emailsFilters = {};\r\n if (this.organization_id != null) {\r\n this.emailsFilters.organization_id = this.organization_id;\r\n }\r\n if (this.contact_id != null) {\r\n this.emailsFilters.contact_id = this.contact_id;\r\n }\r\n this.search();\r\n }\r\n\r\n viewMail(data) {\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n mail_id: data.id,\r\n //organization_id: this.organization.id,\r\n entity_id: data.entity_id,\r\n //template_type_id: 1,\r\n template_type_code: \"MAIL\",\r\n //notification_to_id: data.id,\r\n searchRelated: true\r\n },\r\n header: this.translateService.instant(\"general.new_mail_title\"),\r\n width: '70%',\r\n });\r\n };\r\n\r\n getOrganization(id) {\r\n this.organizationsService.get(id).subscribe(\r\n data => {\r\n this.organization = data;\r\n },\r\n error => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n getContact(id) {\r\n this.contactsService.get(id).subscribe(\r\n data => {\r\n this.contact = data;\r\n },\r\n error => {\r\n console.log(error);\r\n }\r\n );\r\n }\r\n\r\n resendMail(data) {\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n resendMail: true,\r\n mail_id: data.id,\r\n to: null,\r\n //template_type_id: 1,\r\n template_type_code: \"MAIL\",\r\n is_generic: true,\r\n searchRelated: true\r\n /*entity_id: 2,\r\n entity_pk_id: this.contact.id,\r\n organization_id: this.contact.organization_id,\r\n contact_id: this.contact.id,\r\n template_type_id: 1*/\r\n },\r\n header: this.translateService.instant(\"general.resend_mail_title\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data) => {\r\n\r\n });\r\n }\r\n\r\n onEvent(event: any) {\r\n if (event.component == \"notificationEmails.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") this.search();\r\n if (event.event == \"action\" && event.action.name == \"clear\") this.clearFilters();\r\n } else if (event.component == \"notificationEmails.list.results\") {\r\n if (event.event == \"action\" && event.action.name == \"resend\") this.resendMail(event.data);\r\n if (event.event == \"action\" && event.action.name == \"view\") this.viewMail(event.data);\r\n }\r\n }\r\n}\r\n","\r\n\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { MailingDetailComponent } from 'src/app/mailing/mailing-detail/mailing-detail.component';\r\nimport { NotificationsService } from '../notifications.service';\r\nimport { MailAccountsService } from 'src/app/configuration/mail-accounts/mail-accounts.service';\r\nimport { CoreDialogService } from '../../core/dialogs/core-dialog.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-notifications-in',\r\n templateUrl: './notifications-in.component.html',\r\n styleUrls: ['./notifications-in.component.scss']\r\n})\r\nexport class NotificationsInComponent implements OnInit {\r\n\r\n public notificationsFilters: any = { to : \"Todos\"};\r\n public notifications: any[] = [];\r\n public mailAccounts: any[] = [];\r\n public mailTos: any[] = [];\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n private lastGridEvent: any;\r\n\r\n constructor(\r\n\r\n private notificationsService: NotificationsService,\r\n private mailAccountService: MailAccountsService,\r\n private dialogService: DialogService,\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private translateService: TranslateService\r\n\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadMailAccounts();\r\n }\r\n\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\",\r\n direction: \"in\",\r\n status: \"pending\",\r\n type: \"email\",\r\n to:\"\"\r\n };\r\n \r\n params = Object.assign(params, this.notificationsFilters);\r\n if (this.notificationsFilters.to == \"Todos\") params.to = \"\";\r\n this.notificationsService.all(params).subscribe(\r\n data => {\r\n this.totalRecords = data.totalRows;\r\n this.notifications = data.rows;\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n );\r\n }\r\n\r\n loadMailAccounts() {\r\n this.mailAccountService.all({}).subscribe(\r\n data => {\r\n this.mailAccounts = data.rows;\r\n this.mailAccounts.unshift({ mail_out_from: \"Todos\" });\r\n this.notificationsFilters.to = \"Todos\";\r\n },\r\n error => {\r\n\r\n }\r\n );\r\n }\r\n\r\n delete(not) {\r\n this.coreDialogService.confirm({\r\n message: '¿Está seguro de que desea eliminar este elemento?',\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.notificationsService.delete(not.id).subscribe(\r\n data => {\r\n this.search();\r\n this.messageService.add({ closable: false, severity: 'success', summary: 'Elemento eliminado correctamente' });\r\n },\r\n error => {\r\n\r\n }\r\n )\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n\r\n }\r\n\r\n search() {\r\n this.lastGridEvent.first = 0;\r\n this.loadData(this.lastGridEvent);\r\n }\r\n\r\n clearFilters() {\r\n this.notificationsFilters = {to: \"Todos\"};\r\n this.search();\r\n }\r\n\r\n viewMail(data) {\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n mail_id: data.id,\r\n //organization_id: this.organization.id,\r\n entity_id: data.entity_id,\r\n //template_type_id: 1,\r\n template_type_code: \"MAIL\",\r\n //notification_to_id: data.id,\r\n searchRelated: true\r\n },\r\n header: this.translateService.instant(\"general.new_mail_title\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data !== \"undefined\") {\r\n this.loadData(this.lastGridEvent);\r\n }\r\n });\r\n };\r\n}\r\n","\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n {{'component.notifications.in.title'}}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {{'notification.entity_fields.subject' | translate}}\r\n {{'notification.entity_fields.from' | translate}}\r\n {{'notification.entity_fields.to' | translate}}\r\n {{'notification.entity_fields.date' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{notification.subject}}\r\n {{notification.from}}\r\n {{notification.tos}}\r\n {{notification.date | date: 'dd/MM/yyyy HH:mm'}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { Table } from 'primeng/table';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { ContactsService } from 'src/app/organizations/organizations-detail/organizations-contacts-detail/contacts.service';\r\nimport { OrganizationsService } from 'src/app/organizations/organizations.service';\r\nimport { MailingDetailComponent } from '../../mailing/mailing-detail/mailing-detail.component';\r\nimport { NotificationsService } from '../notifications.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-notifications-list',\r\n templateUrl: './notifications-list.component.html',\r\n styleUrls: ['./notifications-list.component.scss']\r\n})\r\nexport class NotificationsListComponent implements OnInit {\r\n\r\n @ViewChild(\"grid\") public grid: Table;\r\n public notificationsEmails: any[];\r\n public totalRecords: number;\r\n public loading: boolean = false;\r\n private lastGridEvent: any;\r\n public filters: any = {};\r\n public searchOrganizationsFilters: any = {};\r\n public organizations: any[] = [];\r\n public entities: any[] = [];\r\n public contacts: any[] = [];\r\n\r\n constructor(private router: Router,\r\n private messageService: MessageService,\r\n private notificationsService: NotificationsService,\r\n private organizationsService: OrganizationsService,\r\n private entitiesService: EntitiesService,\r\n private contactsService: ContactsService,\r\n private dialogService: DialogService,\r\n private translateService: TranslateService) { }\r\n\r\n ngOnInit(): void {\r\n this.loadOrganizations();\r\n this.loadEntities();\r\n }\r\n\r\n search() {\r\n this.lastGridEvent.first = 0;\r\n this.loadData(this.lastGridEvent);\r\n }\r\n\r\n clearFilters() {\r\n this.filters = {};\r\n this.searchOrganizationsFilters = {};\r\n this.search();\r\n }\r\n\r\n loadData($event) {\r\n this.lastGridEvent = $event;\r\n Promise.resolve(null).then(() => this.loading = true);\r\n var params = {\r\n _page: $event.first / $event.rows,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\",\r\n allNotifications: true\r\n };\r\n params = Object.assign(params, this.filters);\r\n this.notificationsService.all(params).subscribe({\r\n next: (data: any) => {\r\n this.totalRecords = data.totalRows;\r\n this.notificationsEmails = data.rows;\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n }\r\n\r\n loadNotificationsTO(notificationsEmail) {\r\n notificationsEmail.notificationsTo = [];\r\n var params = {\r\n _page: 1,\r\n _pageSize: 10000,\r\n _sortBy: \"\",\r\n _sortDirection: \"desc\"\r\n };\r\n\r\n this.notificationsService.allNotificationsTo(params).subscribe({\r\n next: (data: any) => {\r\n //this.totalRecords = data.totalRows;\r\n notificationsEmail.notificationsEmails = data.rows;\r\n Promise.resolve(null).then(() => this.loading = false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n }\r\n });\r\n notificationsEmail.notificationsTo.push({\r\n real_send_date: new Date(),\r\n state: this.translateService.instant('component.mailMarketing.list.sent_status'),\r\n mails: \"laura.sanz@diaple.com\"\r\n })\r\n }\r\n loadOrganizations() {\r\n this.organizationsService.getCombo(this.searchOrganizationsFilters).subscribe({\r\n next: (data: any) => {\r\n this.organizations = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadEntities() {\r\n this.entitiesService.all({}).subscribe(\r\n data => {\r\n this.entities = data.rows;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n searchOrganization(event) {\r\n if (event?.filter?.length >= 2) {\r\n this.searchOrganizationsFilters = Object.assign(this.searchOrganizationsFilters, { text: event.filter });\r\n this.loadOrganizations();\r\n }\r\n }\r\n\r\n changeOrganization() {\r\n var organization_id = this.filters.organization_id;\r\n if (organization_id) {\r\n this.contactsService.all({ organization_id: organization_id }).subscribe(\r\n data => {\r\n this.contacts = data.rows;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n } else {\r\n delete this.filters.organization_id;\r\n delete this.filters.contact_id;\r\n delete this.searchOrganizationsFilters.text;\r\n this.loadOrganizations();\r\n }\r\n }\r\n\r\n viewMail(data) {\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n mail_id: data.id,\r\n //organization_id: this.organization.id,\r\n entity_id: data.entity_id,\r\n //template_type_id: 1,\r\n template_type_code: \"MAIL\",\r\n //notification_to_id: data.id,\r\n searchRelated: true\r\n },\r\n header: this.translateService.instant(\"general.new_mail_title\"),\r\n width: '70%',\r\n });\r\n };\r\n\r\n resendMail(data) {\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n resendMail: true,\r\n mail_id: data.id,\r\n to: null,\r\n //template_type_id: 1,\r\n template_type_code: \"MAIL\",\r\n is_generic: true,\r\n searchRelated: true,\r\n entity_id: data.entity_id,\r\n /*entity_pk_id: this.contact.id,\r\n organization_id: this.contact.organization_id,\r\n contact_id: this.contact.id,\r\n template_type_id: 1*/\r\n },\r\n header: this.translateService.instant(\"general.resend_mail_title\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data) => {\r\n\r\n });\r\n }\r\n\r\n getState(status) {\r\n if (status == 'sent') {\r\n var sent_status_string: string = this.translateService.instant('component.mailMarketing.list.sent_status');\r\n return \"
\" + sent_status_string + \"
\";\r\n } else if (status == \"pending\") {\r\n var pending_status_string: string = this.translateService.instant('component.mailMarketing.list.pending_status');\r\n return \"
\" + pending_status_string + \"
\";\r\n } else if (status == \"programmed\") {\r\n var programmed_status_string: string = this.translateService.instant('component.mailMarketing.list.programmed_status');\r\n return \"
\" + programmed_status_string + \"
\";\r\n } else if (status == \"error\") {\r\n var error_status_string: string = this.translateService.instant('component.mailMarketing.list.error_status');\r\n return \"
\" + error_status_string + \"
\";\r\n } else {\r\n var default_status_string: string = this.translateService.instant('component.mailMarketing.list.default_status');\r\n return \"
\" + default_status_string + \"
\";\r\n }\r\n }\r\n}\r\n","\r\n\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n {{'general.filter.title' | translate}}\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n {{'component.notifications.list.title' | translate}}\r\n
\r\n
\r\n \r\n \r\n \r\n {{'notification.entity_fields.date' | translate}}\r\n {{'notification.entity_fields.subject' | translate}}\r\n {{'notification.entity_fields.from' | translate}}\r\n {{'notification.entity_fields.entity_id' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{notificationsEmail.date | date: 'dd/MM/yyyy HH:mm'}}\r\n {{notificationsEmail.date ? '':'-'}}\r\n \r\n {{notificationsEmail.subject}}\r\n {{notificationsEmail.from}}\r\n {{notificationsEmail.entity?.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { NotificationsListComponent } from './notifications-list/notifications-list.component';\r\nimport { MailInOutListComponent } from './mail-in-out-list/mail-in-out-list.component';\r\nimport { NotificationsInComponent } from './notifications-in/notifications-in.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"notifications\", component: NotificationsListComponent },\r\n { path: \"notifications-in\", component: NotificationsInComponent },\r\n { path: \"emails\", component: MailInOutListComponent },\r\n { path: \"emails/:organization_id\", component: MailInOutListComponent },\r\n { path: \"emails/:organization_id/:contact_id\", component: MailInOutListComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class NotificationsRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { NotificationsListComponent } from './notifications-list/notifications-list.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { NotificationsRoutingModule } from './notifications-routing.module';\r\nimport { HttpClientModule } from '@angular/common/http';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TableModule } from 'primeng/table';\r\nimport { CardModule } from 'primeng/card';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { MailInOutListComponent } from './mail-in-out-list/mail-in-out-list.component';\r\nimport { EditorModule } from '@tinymce/tinymce-angular';\r\nimport { ColorPickerModule } from 'ngx-color-picker';\r\nimport { AccordionModule } from 'primeng/accordion';\r\nimport { AutoCompleteModule } from 'primeng/autocomplete';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { FileUploadModule } from 'primeng/fileupload';\r\nimport { InputSwitchModule } from 'primeng/inputswitch';\r\nimport { MultiSelectModule } from 'primeng/multiselect';\r\nimport { AppRoutingModule } from '../app-routing.module';\r\nimport { CoreModule } from '../core/core.module';\r\nimport { NotificationsInComponent } from './notifications-in/notifications-in.component';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n NotificationsRoutingModule,\r\n HttpClientModule,\r\n ButtonModule,\r\n InputTextModule,\r\n TableModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n ConfirmDialogModule,\r\n DropdownModule,\r\n DialogModule,\r\n CheckboxModule,\r\n CoreModule,\r\n FontAwesomeModule,\r\n AppRoutingModule,\r\n MultiSelectModule,\r\n DropdownModule,\r\n FileUploadModule,\r\n AccordionModule,\r\n InputSwitchModule,\r\n ColorPickerModule,\r\n AutoCompleteModule,\r\n EditorModule,\r\n TranslateModule\r\n ],\r\n declarations: [NotificationsListComponent, MailInOutListComponent, MailInOutListComponent, NotificationsInComponent]\r\n})\r\nexport class NotificationsModule { }\r\n","import { Injectable } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\nimport { Observable } from 'rxjs';\r\nimport { LoaderService } from '../core/loader/loader.service';\r\n\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class NotificationsService {\r\n\r\n url = \"/api/NotificationsEmails\";\r\n\r\n constructor(private http: HttpClient, private loaderService: LoaderService) { }\r\n\r\n all(params): Observable {\r\n this.loaderService.skipRequest(this.url, params);\r\n return this.http.get(this.url, { params: params });\r\n }\r\n allNotificationsTo(params): Observable {\r\n return this.http.get(\"/api/NotificationsTo\", { params: params });\r\n }\r\n getNotificationTo(id): Observable {\r\n return this.http.get(\"/api/NotificationsTo/\" + id);\r\n }\r\n\r\n saveNotificationTo(id, obj): Observable {\r\n return this.http.put(\"/api/NotificationsTo/\" + id, obj);\r\n }\r\n\r\n saveNotificationsTo(notification_email_id, notificationTos): Observable {\r\n return this.http.post(\"/api/NotificationsTo/savingNotificationsTo\", { notificationTos: notificationTos, notification_email_id: notification_email_id });\r\n }\r\n\r\n allNotificationsStats(params): Observable {\r\n return this.http.get(\"/api/NotificationsStats\", { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n sendTest(id, email): Observable {\r\n return this.http.get(this.url + \"/SendTest?id=\" + id + \"&email=\" + email);\r\n }\r\n\r\n markToSend(data): Observable {\r\n return this.http.get(this.url + \"/MarkToSend?id=\" + data.id + \"&date=\" + data.date.toISOString());\r\n }\r\n\r\n cancelMail(id): Observable {\r\n return this.http.get(this.url + \"/CancelSendMail?id=\" + id);\r\n }\r\n\r\n duplicateMail(id): Observable {\r\n return this.http.get(this.url + \"/duplicateMail?id=\" + id);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n addMultiplesToCampaign(obj): Observable {\r\n return this.http.post(this.url + \"/addMultiplesToCampaign\", obj);\r\n }\r\n unlinkEmail(obj): Observable {\r\n return this.http.post(this.url + \"/unlinkEmail\", obj);\r\n }\r\n}\r\n","import { Input } from '@angular/core';\r\nimport { Component, ComponentFactoryResolver, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { OrganizationsService } from '../../organizations.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-opportunities-months-widget',\r\n templateUrl: './opportunities-months-widget.component.html',\r\n styleUrls: ['./opportunities-months-widget.component.scss']\r\n})\r\nexport class OpportunitiesMonthsWidgetComponent implements OnInit {\r\n @Input() public data: any;\r\n @Input() public entity: any;\r\n\r\n public ret: any = {};\r\n public height = 0;\r\n constructor(\r\n private componentFactoryResolver: ComponentFactoryResolver,\r\n private organizationService: OrganizationsService,\r\n private route: ActivatedRoute, private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.route.params.subscribe(params => {\r\n this.loadStatsOpportunities(params['id']);\r\n });\r\n }\r\n\r\n onEvent(component: string, event: string) {\r\n // console.log(component, event);\r\n }\r\n\r\n loadStatsOpportunities(id) {\r\n this.organizationService.statsOpportunities(id).subscribe({\r\n next: (data: any) => {\r\n this.ret = data;\r\n this.loadBasicDataMonths();\r\n },\r\n error: (error: any) => {\r\n //TODO: messageService aquí.\r\n }\r\n });\r\n }\r\n\r\n //Configuración de tablas horizontales para meses.\r\n public basicDataMonths: any;\r\n public horizontalOptionsMonths: any;\r\n public monthNames: any = [\"\", \"Ene\", \"Feb\", \"Mar\", \"Abr\", \"May\", \"Jun\", \"Jul\", \"Ago\", \"Sep\", \"Oct\", \"Nov\", \"Dic\"];\r\n public labels: any[] = [];\r\n\r\n loadBasicDataMonths() {\r\n var anyo = new Date();\r\n for (let i = 0; i < this.ret.monthLabels.length; i++) {\r\n this.labels.push(this.monthNames[this.ret.monthLabels[i]] + \" \" + anyo.getFullYear());\r\n this.height = this.height + 25;\r\n anyo.setMonth(anyo.getMonth() - 1);\r\n }\r\n\r\n this.basicDataMonths = {\r\n labels: this.labels,\r\n datasets: [\r\n {\r\n label: this.translateService.instant(\"component.organizations.component.organizations.opportunities_month_widget.total_sales_per_month\"),\r\n backgroundColor: '#0000F5',\r\n data: this.ret.sumMonths\r\n }\r\n ]\r\n };\r\n this.horizontalOptionsMonths = {\r\n indexAxis: 'y',\r\n tooltips: {\r\n callbacks: {\r\n label: function (tooltipItem, data) {\r\n var label = Intl.NumberFormat('de-DE').format(tooltipItem.value);\r\n return label+ \" €\";\r\n }\r\n }\r\n },\r\n plugins: {\r\n legend: {\r\n labels: {\r\n color: '#000057'\r\n }\r\n }\r\n },\r\n scales: {\r\n x: {\r\n ticks: {\r\n color: '#000057'\r\n },\r\n grid: {\r\n color: '#ebedef'\r\n }\r\n },\r\n y: {\r\n ticks: {\r\n color: '#000057'\r\n },\r\n grid: {\r\n color: '#ebedef'\r\n }\r\n }\r\n }\r\n };\r\n }\r\n}\r\n","
\r\n \r\n
\r\n","import { Input, ViewChild } from '@angular/core';\r\nimport { Component, ComponentFactoryResolver, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { UIChart } from 'primeng/chart';\r\nimport { TransactionsService } from 'src/app/transactions/transactions.service';\r\nimport { OrganizationsService } from '../../organizations.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-opportunities-total-pipeline',\r\n templateUrl: './opportunities-total-pipeline.component.html',\r\n styleUrls: ['./opportunities-total-pipeline.component.scss']\r\n})\r\nexport class OpportunitiesTotalPipelineComponent implements OnInit {\r\n @ViewChild('chart') chart: UIChart;\r\n\r\n @Input() public data: any;\r\n @Input() public entity: any;\r\n\r\n public id: any;\r\n public ret: any = {};\r\n public height = 0;\r\n\r\n constructor(\r\n private componentFactoryResolver: ComponentFactoryResolver,\r\n private organizationService: OrganizationsService,\r\n private transactionService: TransactionsService,\r\n private route: ActivatedRoute, private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.route.params.subscribe(params => {\r\n this.id = params['id'];\r\n this.loadStatsOpportunities(this.id);\r\n });\r\n }\r\n\r\n onEvent(event: string) {\r\n this.refresh();\r\n }\r\n\r\n refresh(){\r\n this.loadStatsOpportunities(this.id);\r\n this.chart.reinit();\r\n this.chart.refresh();\r\n }\r\n loadStatsOpportunities(id) {\r\n this.organizationService.pipelinesOpportunities(id).subscribe({\r\n next: (data: any) => {\r\n this.ret = data;\r\n this.loadBasicData();\r\n },\r\n error: (error: any) => {\r\n //TODO: messageService aquí.\r\n }\r\n });\r\n }\r\n\r\n //Configuración de tablas horizontales para meses.\r\n public basicData: any;\r\n public horizontalOptions: any;\r\n public labels: any[] = [];\r\n public backgroundColors: any[] = [];\r\n public dataFormated: any[] = [];\r\n\r\n\r\n\r\n loadBasicData() {\r\n this.labels = [];\r\n this.backgroundColors = [];\r\n this.height = 0;\r\n\r\n for (let i = 0; i < this.ret.labels.length; i++) {\r\n this.dataFormated[i] = new Intl.NumberFormat('de-DE').format(this.ret.sumByStatus[i]);\r\n this.labels.push(this.ret.labels[i]);\r\n this.backgroundColors.push(this.ret.backgroundColors[i]);\r\n this.height = this.height + 25;\r\n }\r\n this.basicData = {\r\n labels: this.labels,\r\n datasets: [\r\n {\r\n label: this.translateService.instant(\"component.organizations.sales_total_pipeline.total\"),\r\n backgroundColor: this.backgroundColors,//'#FFCE56',\r\n data: this.ret.sumByStatus\r\n }\r\n ]\r\n };\r\n this.horizontalOptions = {\r\n indexAxis: 'y',\r\n tooltips: {\r\n callbacks: {\r\n label: function (tooltipItem, data) {\r\n var label = new Intl.NumberFormat('de-DE').format(tooltipItem.value);\r\n return label+ \" €\";\r\n },\r\n }\r\n },\r\n };\r\n }\r\n}\r\n","
\r\n \r\n
\r\n","import { getLocaleDateTimeFormat } from '@angular/common';\r\nimport { Input, ViewChild } from '@angular/core';\r\nimport { Component, ComponentFactoryResolver, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { UIChart } from 'primeng/chart';\r\nimport { Subscription } from 'rxjs';\r\nimport { CustomComponent } from 'src/app/core/view/component/custom/custom-component.interface';\r\nimport { OrganizationsService } from '../../organizations.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-opportunities-widget',\r\n templateUrl: './opportunities-widget.component.html',\r\n styleUrls: ['./opportunities-widget.component.scss']\r\n})\r\nexport class OpportunitiesWidgetComponent implements OnInit, CustomComponent {\r\n @ViewChild('chart') chart: UIChart;\r\n @Input() public data: any;\r\n @Input() public entity: any;\r\n\r\n public id;\r\n public ret: any = {};\r\n\r\n constructor(\r\n private organizationService: OrganizationsService,\r\n private route: ActivatedRoute, private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.route.params.subscribe(params => {\r\n this.id = params['id'];\r\n this.loadStatsOpportunities(this.id);\r\n });\r\n }\r\n\r\n onEvent(event: string) {\r\n this.refresh();\r\n }\r\n\r\n refresh() {\r\n this.loadStatsOpportunities(this.id);\r\n this.chart.reinit();\r\n this.chart.refresh();\r\n }\r\n\r\n loadStatsOpportunities(id) {\r\n this.organizationService.statsOpportunities(id).subscribe({\r\n next: (data: any) => {\r\n this.ret = data;\r\n this.loadBasicDataYears();\r\n },\r\n error: (error: any) => {\r\n //TODO: messageService aquí.\r\n }\r\n });\r\n }\r\n\r\n //Configuración de tablas horizontales para años.\r\n public basicDataYears: any;\r\n public horizontalOptionsYears: any;\r\n loadBasicDataYears() {\r\n var anyoActual = new Date().getFullYear();\r\n if (this.ret.actualDate != null) anyoActual = new Date(this.ret.actualDate).getFullYear();\r\n\r\n this.basicDataYears = {\r\n labels: [anyoActual + \" \", anyoActual - 1 + \" \", anyoActual - 2 + \" \", anyoActual - 3 + \" \", anyoActual - 4 + \" \"],\r\n datasets: [\r\n {\r\n label: this.translateService.instant(\"component.organizations.opportunities_widget.total_sales_per_years\") ,\r\n backgroundColor: '#90cdc4',\r\n data: this.ret.sumYears\r\n }\r\n ]\r\n };\r\n\r\n this.horizontalOptionsYears = {\r\n indexAxis: 'y',\r\n tooltips: {\r\n callbacks: {\r\n label: function (tooltipItem, data) {\r\n var label = new Intl.NumberFormat('es-ES').format(tooltipItem.value);\r\n return label + \" €\";\r\n }\r\n }\r\n },\r\n plugins: {\r\n legend: {\r\n labels: {\r\n color: '#495057'\r\n }\r\n }\r\n },\r\n scales: {\r\n x: {\r\n ticks: {\r\n color: '#495057'\r\n },\r\n grid: {\r\n color: '#ebedef'\r\n }\r\n },\r\n y: {\r\n ticks: {\r\n color: '#495057'\r\n },\r\n grid: {\r\n color: '#ebedef'\r\n }\r\n }\r\n }\r\n };\r\n };\r\n}\r\n","
\r\n \r\n
\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { EventEmitter, Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { LoaderService } from 'src/app/core/loader/loader.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ContactsService {\r\n url = \"/api/contacts\";\r\n\r\n constructor(private http: HttpClient, private loaderService: LoaderService) { }\r\n\r\n all(params): Observable {\r\n if (params == null) params = {};\r\n if (params.type == undefined) params.type = \"contact\";\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n changeOrganizationAndSave(id, obj, changeOrganization = false): Observable {\r\n return this.http.put(this.url + \"/\" + id + \"/movePut\", obj, { params: { changeOrganization: changeOrganization } });\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n addAndLinkTask(obj): Observable {\r\n return this.http.post(this.url + \"/addAndLinkTask\", obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n deleteMultiple(ids): Observable {\r\n return this.http.post(this.url + \"/deleteMultiple/\", { contactsIds: ids });\r\n }\r\n discardMultiple(ids): Observable {\r\n return this.http.post(this.url + \"/discardMultiple/\", { contactsIds: ids });\r\n }\r\n\r\n isDuplied(obj): Observable {\r\n return this.http.post(this.url + \"/isDuplied\", obj);\r\n }\r\n\r\n addContactMultipleAndCreateTask(ids, task): Observable {\r\n return this.http.post(\"api/tasks/addContactMultipleAndCreateTask/\", { contactsIds: ids, task: task });\r\n }\r\n getAllLeads(): Observable {\r\n this.loaderService.skipRequest(this.url + \"/getAllLeads\", null);\r\n return this.http.get(this.url + \"/getAllLeads\");\r\n }\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { MailingDetailComponent } from 'src/app/mailing/mailing-detail/mailing-detail.component';\r\nimport { ViewComponent } from '../../../core/view/view.component';\r\nimport { OrganizationsService } from '../../organizations.service';\r\nimport { OrganizationsDetailGeneralComponent } from '../organizations-detail-general/organizations-detail-general.component';\r\nimport { ContactsService } from './contacts.service';\r\nimport { MailMarketingNotificationToStatsComponent } from 'src/app/mail-marketing/mail-marketing-notification-to-stats/mail-marketing-notification-to-stats.component';\r\nimport { Location } from '@angular/common';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ComponentService } from '../../../core/view/component.service';\r\nimport { CampaignsContactsService } from 'src/app/campaigns/campaigns-contacts.service';\r\nimport { AddCampaignsToEntityComponent } from 'src/app/campaigns/add-campaigns-to-entity/add-campaigns-to-entity.component';\r\n\r\n@Component({\r\n selector: 'app-organizations-contacts-detail',\r\n templateUrl: './organizations-contacts-detail.component.html',\r\n styleUrls: ['./organizations-contacts-detail.component.scss']\r\n})\r\nexport class OrganizationsContactsDetailComponent implements OnInit {\r\n public contact: any = {};\r\n public organization: any = {};\r\n public last_organization_id;\r\n public previousUrl;\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n constructor(\r\n private route: ActivatedRoute,\r\n private organizationsService: OrganizationsService,\r\n private campaignContactsService: CampaignsContactsService,\r\n private messageService: MessageService,\r\n private contactService: ContactsService,\r\n //private config: DynamicDialogConfig,\r\n //private dynamicDialogRef: DynamicDialogRef,\r\n private coreDialogService: CoreDialogService,\r\n private dialogService: DialogService,\r\n private router: Router,\r\n private viewsService: ViewsService,\r\n private _location: Location,\r\n private translateService: TranslateService,\r\n public componentService: ComponentService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.route.params.subscribe(params => {\r\n this.loadData(params[\"id\"]);\r\n });\r\n this.route.queryParams.subscribe(params => {\r\n this.previousUrl = params['returnUrl'];\r\n });\r\n }\r\n loadData(id: number) {\r\n if (id != 0) {\r\n this.contactService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.contact = data;\r\n this.last_organization_id = this.contact.organization_id;\r\n //this.view.setModel(this.contact);\r\n this.refreshAll();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.route.params.subscribe(params => {\r\n this.contact.organization_id = parseInt(params[\"organizationId\"]);\r\n });\r\n //this.contact.organization_id = this.config.data.id;\r\n }\r\n }\r\n loadDataOrganization(id: number) {\r\n this.organizationsService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.organization = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n })\r\n }\r\n cancel() {\r\n this._location.back();\r\n //this.dynamicDialogRef.close();\r\n }\r\n save(event: any) {\r\n if (!event.valid) {\r\n this.messageService.add({\r\n closable: false, severity: \"error\", detail: this.translateService.instant(\"component.contacts.detail.form_incomplete\")\r\n });\r\n return;\r\n }\r\n if (this.contact.email != null) this.contact.email = this.contact.email.trim();\r\n if (this.contact.email != null && this.contact.email.length > 0 && !this.validateEmail(this.contact.email)) {\r\n this.messageService.add({\r\n closable: false, severity: \"error\", detail: this.translateService.instant(\"component.contacts.detail.invalid_mail\")\r\n });\r\n return;\r\n }\r\n\r\n if (typeof this.contact.id === \"undefined\") {\r\n this.contactService.add(this.contact).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({\r\n closable: false, severity: 'success', summary: this.translateService.instant(\"component.contacts.detail.add_contact_correct\")\r\n });\r\n //this.dynamicDialogRef.close(data);\r\n if (this.previousUrl != null && this.previousUrl != \"\") {\r\n this.router.navigate([this.previousUrl]);\r\n } else {\r\n this._location.back();\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n if (this.last_organization_id != this.contact.organization_id) {\r\n this.confirmMoveData();\r\n } else {\r\n this.contactService.save(this.contact.id, this.contact).subscribe({\r\n next: (data: any) => {\r\n if (this.contact.disabled == true) {\r\n this.alertDisable();\r\n } else {\r\n this.messageService.add({\r\n closable: false, severity: \"success\", detail: this.translateService.instant(\"component.contacts.detail.save_contact_correct\")\r\n });\r\n //this.dynamicDialogRef.close(data);\r\n if (this.previousUrl != null && this.previousUrl != \"\") {\r\n this.router.navigate([this.previousUrl]);\r\n } else {\r\n this._location.back();\r\n }\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n }\r\n\r\n confirmMoveData() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.contacts.detail.confirm_move_data\"),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.contactService.changeOrganizationAndSave(this.contact.id, this.contact, true).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.contacts.detail.save_contact_correct\") });\r\n //this.dynamicDialogRef.close(data);\r\n this._location.back();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n this.contactService.changeOrganizationAndSave(this.contact.id, this.contact).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.contacts.detail.add_contact_correct\") });\r\n this._location.back();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n })\r\n }\r\n\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.organizations.delete_message\", { name: this.contact.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"), // this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.contactService.delete(this.contact.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n //this.dynamicDialogRef.close();\r\n //this._location.back();\r\n if (this.previousUrl != null && this.previousUrl != \"\") {\r\n this.router.navigate([this.previousUrl]);\r\n } else {\r\n this.router.navigate(['/contacts']);\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n newMail(emailAcc) {\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n to: emailAcc,\r\n entity_id: 2,\r\n entity_pk_id: this.contact.id,\r\n organization_id: this.contact.organization_id,\r\n contact_id: this.contact.id,\r\n //template_type_id: 1,\r\n template_type_code: \"MAIL\",\r\n searchRelated: true\r\n },\r\n header: this.translateService.instant(\"general.new_mail_title\"),//\"Nuevo mensaje de correo\",\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data) {\r\n //this.dynamicDialogRef.close(data);\r\n location.reload();\r\n }\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n });\r\n }\r\n\r\n isDuplied(contact, event) {\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n this.contactService.isDuplied(contact).subscribe(\r\n data => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.contacts.detail.contact_duplicate\"), //\"Ya existe un contacto con estos datos proporcionados.\",\r\n header: this.translateService.instant(\"general.error\"),\r\n icon: 'far, exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save(event);\r\n }\r\n }\r\n );\r\n }\r\n\r\n refreshAll() {\r\n this.view.view?.configuration?.components?.array?.forEach(component => {\r\n this.view.fireEvent(component.code, \"reload\");\r\n });\r\n this.view.fireEvent(\"contacts.campaigns\", \"reload\");\r\n }\r\n\r\n\r\n openNotificationStats() {\r\n const ref = this.dialogService.open(MailMarketingNotificationToStatsComponent, {\r\n data: {\r\n //organization_id: this.contact.organization_id,\r\n contact_id: this.contact.id,\r\n },\r\n header: this.translateService.instant(\"component.contacts.detail.report_clicks\"),\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n //nothing\r\n })\r\n }\r\n\r\n openCall(tlfn: string): void {\r\n // Verificar si el navegador soporta la función de llamada telefónica\r\n if ('open' in window) {\r\n // Utilizar el protocolo tel: seguido del número de teléfono\r\n window.open(`tel:${tlfn}`);\r\n } else {\r\n // Manejar el caso donde la función de llamada telefónica no está soportada\r\n console.log('Tu navegador no soporta la función de llamada telefónica.');\r\n }\r\n }\r\n\r\n\r\n validateEmail(email) {\r\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n return re.test(email);\r\n }\r\n\r\n openEmails() {\r\n if (this.contact.id != null) this.router.navigate([\"/emails\", (this.organization.id ? this.organization.id : 0), this.contact.id]);\r\n }\r\n\r\n alertDisable() {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.contacts.detail.disabled_contact_alert\"),//\"Se ha dado de baja el contacto.\",\r\n header: this.translateService.instant(\"general.error\"),\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.contacts.detail.save_contact_correct\") });\r\n this._location.back();\r\n }\r\n });\r\n }\r\n unlinkCampaign(campaign) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.contacts.unlink_campaign\", { name: campaign.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.campaignContactsService.unlinkContact({ contact_id: this.contact.id, campaign_id: campaign.id }).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.refreshAll();\r\n //this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n openCampaign(campaign) {\r\n window.open(\"/campaigns/\" + (campaign.id ? campaign.id : 0));\r\n }\r\n\r\n addCampaigns() {\r\n const ref = this.dialogService.open(AddCampaignsToEntityComponent, {\r\n data: {\r\n id: this.contact.id,\r\n entity: 'contact'\r\n },\r\n header: this.translateService.instant(\"component.campaigns.addCampaigns\"),\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.refreshAll();\r\n });\r\n };\r\n navigateToListFilteredByOrganization() {\r\n this.router.navigate(['/contacts/',\"organization\", this.contact.organization_id]);\r\n }\r\n onEvent(event: any) {\r\n if (event.event == \"refreshAll\" && event.action.name == \"refreshAll\") this.loadData(this.contact.id);\r\n if (event.component == \"contacts.detail\") {\r\n if (event.event == \"action\" && event.action.name == \"openNotificationStats\") this.openNotificationStats();\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.isDuplied(this.contact, event);\r\n if (event.event == \"fieldAction\" && event.action.name == \"new-mail\") this.newMail(event.value);\r\n if (event.event == \"action\" && event.action.name == \"openNotificationsStats\") this.openNotificationStats();\r\n if (event.event == \"action\" && event.action.name == \"openEmails\") this.openEmails();\r\n if (event.event == \"fieldAction\" && event.action.name == \"openCall\") this.openCall(event.value);\r\n }\r\n else if (event.component == \"contacts.campaigns\") {\r\n if (event.event == \"action\" && event.action.name == \"add\") this.addCampaigns();\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.openCampaign(event.data);\r\n if (event.event == \"action\" && event.action.name == \"unlink\") this.unlinkCampaign(event.data);\r\n }\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n //this.config.header = typeof (this.contact.id) !== \"undefined\" ? \"Detalles del \" + this.view.getEntityBaseName() : \"Nuevo \" + this.view.getEntityBaseName();\r\n }\r\n }\r\n}\r\n","\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { OrganizationsService } from '../../organizations.service';\r\nimport { ContactsService } from '../organizations-contacts-detail/contacts.service';\r\nimport { OrganizationsContactsDetailComponent } from '../organizations-contacts-detail/organizations-contacts-detail.component';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-organizations-contacts-view',\r\n templateUrl: './organizations-contacts-view.component.html',\r\n styleUrls: ['./organizations-contacts-view.component.scss']\r\n})\r\nexport class OrganizationsContactsViewComponent implements OnInit {\r\n @ViewChild(\"view\") public viewComponent: ViewComponent;\r\n public organization: any = {};\r\n public contacts: any[];\r\n public totalRecords: any;\r\n public loading = false;\r\n public lastGridEvent: any;\r\n\r\n public first;\r\n public last;\r\n constructor(\r\n private route: ActivatedRoute,\r\n private dialogService: DialogService,\r\n private organizationsService: OrganizationsService,\r\n private messageService: MessageService,\r\n private contactsService: ContactsService,\r\n private coreDialogService: CoreDialogService,\r\n private viewsService: ViewsService,\r\n private router: Router,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n loadData($event) {\r\n this.route.parent.params.subscribe(params => {\r\n this.loadDataOrganization(params['id']);\r\n this.lastGridEvent = $event;\r\n this.loading = true;\r\n var contactParams = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\",\r\n organization_id: params['id']\r\n }\r\n this.contactsService.all(contactParams).subscribe({\r\n next: (data: any) => {\r\n this.totalRecords = data.totalRows;\r\n this.contacts = data.rows;\r\n this.loading = false;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n this.loading = false;\r\n }\r\n });\r\n });\r\n }\r\n loadDataOrganization(id: number) {\r\n this.organizationsService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.organization = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n view(contact) {\r\n this.router.navigate([\"/contacts/\" + (this.organization.id + \"/\") + (contact ? contact.id : 0)]);\r\n /*\r\n const ref = this.dialogService.open(OrganizationsContactsDetailComponent,{\r\n data: {\r\n id: this.organization.id,\r\n contactId: contact?contact.id:0\r\n },\r\n //header: contact? \"Detalles del contacto\":\"Nuevo contacto\",\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data:any) =>{\r\n if (typeof (this.viewComponent) !== \"undefined\") this.viewsService.changeView(this.viewComponent.code);\r\n this.loadData(this.lastGridEvent);\r\n });\r\n */\r\n }\r\n delete(contact) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.contacts.delete_message\", { name: contact.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.contactsService.delete(contact.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.loadData(this.lastGridEvent);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n}\r\n","\r\n \r\n \r\n
\r\n {{'contact.entity.name_plural' | translate}}\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n {{'contact.entity_fields.name' | translate }}\r\n \r\n {{'contact.entity_fields.surname' | translate }}\r\n {{'contact.entity_fields.lastname' | translate }}\r\n {{'contact.entity_fields.position' | translate }}\r\n {{'contact.entity_fields.phone1' | translate }}\r\n \r\n \r\n \r\n \r\n \r\n {{contact.name}}\r\n {{contact.surname}}\r\n {{contact.lastname}}\r\n {{contact.position}}\r\n {{contact.phone_1}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, Router, ParamMap } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { OrganizationsService } from '../../organizations.service';\r\nimport { NgForm } from '@angular/forms';\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { OrganizationsTypesService } from '../../organizations-types.service';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { ViewComponent } from '../../../core/view/view.component';\r\nimport { ViewsService } from '../../../core/view/views.service';\r\nimport { MailingDetailComponent } from '../../../mailing/mailing-detail/mailing-detail.component';\r\nimport { Location } from '@angular/common';\r\nimport { LoginService } from '../../../login/login.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { CountriesService } from '../../../configuration/countries/countries.service';\r\n\r\nvar geocoder: any;\r\ndeclare var google: any;\r\n\r\n@Component({\r\n selector: 'app-organizations-detail-general',\r\n templateUrl: './organizations-detail-general.component.html',\r\n styleUrls: ['./organizations-detail-general.component.scss']\r\n})\r\nexport class OrganizationsDetailGeneralComponent implements OnInit {\r\n\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n @ViewChild(\"formDetails\") public formDetails: NgForm;\r\n public organization: any = {};\r\n public countries: any[];\r\n public responsibles: any[];\r\n public organizations_types: any[];\r\n\r\n constructor(\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n private config: DynamicDialogConfig,\r\n private organizationsService: OrganizationsService,\r\n private organizationsTypesService: OrganizationsTypesService,\r\n private entitiesService: EntitiesService,\r\n private countriesService: CountriesService,\r\n private messageService: MessageService,\r\n private usersService: UsersService,\r\n private coreDialogService: CoreDialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private dialogService: DialogService,\r\n private viewsService: ViewsService,\r\n private _location: Location, private loginService: LoginService,\r\n private translateService: TranslateService,\r\n private activatedRoute: ActivatedRoute) { }\r\n\r\n ngOnInit(): void {\r\n this.loadCountries();\r\n this.loadResponsibles();\r\n this.loadorganizationsTypes();\r\n this.loadData(this.config.data.id);\r\n }\r\n loadData(id: number) {\r\n if (id > 0) {\r\n this.organizationsService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.organization = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.organization.responsible_id = parseInt(localStorage.getItem('userId'));\r\n if (typeof (this.config.data.organization_type_id) !== \"undefined\" && this.config.data.organization_type_id != null) {\r\n this.organization.organization_type_id = parseInt(this.config.data.organization_type_id);\r\n }\r\n //Seleccionamos la zona si solo tiene una\r\n this.organization.zone_id = this.loginService.UserOnlyOneZone(); \r\n }\r\n }\r\n\r\n loadorganizationsTypes() {\r\n this.organizationsTypesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.organizations_types = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadCountries() {\r\n this.countriesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.countries = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadResponsibles() {\r\n this.usersService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.responsibles = data.rows;\r\n this.responsibles.unshift({ name: 'Ninguno', id: null });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n\r\n geocodePosition(organization: any) {\r\n try {\r\n geocoder = new google.maps.Geocoder();\r\n return new Promise(function (resolve, reject) {\r\n geocoder.geocode({ 'address': organization.address + \" \" + organization.postal_code + \" \" + organization.city }, function (results, status) {\r\n if (status == 'OK') {\r\n organization.lat = results[0].geometry.location.lat();\r\n organization.lng = results[0].geometry.location.lng()\r\n resolve(organization);\r\n } else {\r\n organization.lat = 0;\r\n organization.lng = 0;\r\n resolve(organization);\r\n //alert('Geocode was not successful for the following reason: ' + status);\r\n }\r\n });\r\n });\r\n } catch (e) {\r\n //si no esta disponible la geolocalización o no ha podido geolocalizar, continuamos normal\r\n return new Promise(function (resolve, reject) {\r\n resolve(organization);\r\n });\r\n }\r\n\r\n }\r\n\r\n saveDB(event: any) {\r\n\r\n if (typeof (this.organization.email) === \"undefined\" || this.organization.email == null) this.organization.email = null;\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n if (this.organization.email != null) this.organization.email = this.organization.email.trim();\r\n if (this.organization.email != null && this.organization.email.length > 0 && !this.validateEmail(this.organization.email)) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"component.organizations.detail.invalid_mail\") });\r\n return;\r\n }\r\n\r\n if (typeof this.organization.id === \"undefined\") {\r\n this.organizationsService.add(this.organization).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.organizations.detail.add_organization_correct\") });\r\n this.dynamicDialogRef.close(data);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.organizationsService.save(this.organization.id, this.organization).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.organizations.detail.save_organization_correct\") });\r\n this.dynamicDialogRef.close(data);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n save(event: any) {\r\n if (this.organization.lat == null || this.organization.lat == \"\") this.organization.lat = 0;\r\n if (this.organization.lng == null || this.organization.lng == \"\") this.organization.lng = 0;\r\n if (\r\n this.organization.lat == null || (String(this.organization.lat) === '0') &&\r\n this.organization.lng == null || (String(this.organization.lng) === '0') &&\r\n this.organization.address\r\n ) {\r\n //Obtenemos la position desde la dirección.\r\n this.geocodePosition(this.organization).then((data) => {\r\n this.organization = data;\r\n this.isDuplied(this.organization, event);\r\n });\r\n } else {\r\n this.isDuplied(this.organization, event);\r\n }\r\n }\r\n\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.organizations.detail.remember_associated_info_will_be_deleted\"),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n \r\n this.organizationsService.delete(this.organization.id).subscribe({\r\n next: (data: any) => {\r\n \r\n var url = window.location.pathname;\r\n var organizationType = url.split(\"/\")[url.split(\"/\").length - 2];\r\n if (organizationType != \"0\") {\r\n this.router.navigate(['/organizations/' + organizationType]);\r\n } else {\r\n this.router.navigate(['/organizations']);\r\n }\r\n this.dynamicDialogRef.close();\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => { }\r\n })\r\n }\r\n\r\n validateEmail(email) {\r\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n return re.test(email);\r\n }\r\n\r\n isDuplied(organization, event) {\r\n this.organizationsService.isDuplied(this.organization).subscribe({\r\n next: (data: any) => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.organizations.detail.existing_organization\"),\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.saveDB(event);\r\n }\r\n },\r\n error: (error: any) => {\r\n console.log(error);\r\n this.messageService.add({ closable: false, severity: 'error', detail: (error.error.title != null ? error.error.title : error.error.title) });\r\n }\r\n });\r\n }\r\n newMail(emailAcc, entity_id, entity_pk_id, template_type_code, searchRelated) {\r\n\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n to: emailAcc,\r\n entity_id: entity_id,\r\n entity_pk_id: entity_pk_id,\r\n organization_id: this.organization.id,\r\n template_type_code: template_type_code,\r\n searchRelated: searchRelated\r\n },\r\n header: this.translateService.instant(\"general.new_mail_title\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.view.fireEvent(\"organizations.preview.mails\", \"reload\");\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n });\r\n }\r\n\r\n onEvent(event: any) {\r\n if (event.component == \"organization.edit.general\") {\r\n if (event.event == \"action\" && event.action.name == \"save\") this.save(event);\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n\r\n if (event.event == \"fieldAction\" && event.action.name == \"new-mail\") {\r\n var toInfo = { name: \"\", email: event.value }\r\n if (event.action.param == \"INTERNAL\") {\r\n //Cargamos los datos del usuario (o responsible_id o responsible_user_id)\r\n this.usersService.get(event.value).subscribe({\r\n next: (data: any) => {\r\n toInfo = { name: data.name, email: data.email }\r\n this.newMail(toInfo, 1, this.organization.id, \"MAIL_INTERNAL\", false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.newMail(toInfo, 1, this.organization.id, \"MAIL\", true);\r\n }\r\n }\r\n }\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n this.config.header = this.translateService.instant(\"component.organizations.detail.detail_entity\", {entity_name: this.view.getEntityBaseName() });\r\n }\r\n }\r\n}\r\n","","import { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { OrganizationsService } from '../organizations.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { DynamicDialogConfig } from 'primeng/dynamicdialog';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { CountriesService } from '../../configuration/countries/countries.service';\r\n\r\n@Component({\r\n selector: 'app-organizations-detail',\r\n templateUrl: './organizations-detail.component.html',\r\n styleUrls: ['./organizations-detail.component.scss']\r\n})\r\nexport class OrganizationsDetailComponent implements OnInit {\r\n public organization: any = {};\r\n public countries: any[];\r\n public responsibles: any[];\r\n \r\n\r\n constructor(\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n private organizationsService: OrganizationsService,\r\n private countriesService: CountriesService,\r\n private messageService: MessageService,\r\n private usersService: UsersService,\r\n private coreDialogService: CoreDialogService,\r\n private config: DynamicDialogConfig,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.route.params.subscribe(params => { \r\n this.loadData(params['id']);\r\n });\r\n }\r\n\r\n loadData(id: number) {\r\n this.loadCountries();\r\n this.loadResponsibles();\r\n if (id != 0) {\r\n this.organizationsService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.organization = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n loadCountries() {\r\n this.countriesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.countries = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadResponsibles() {\r\n this.usersService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.responsibles = data.rows;\r\n this.responsibles.unshift({ name: 'Ninguno', id: null });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n this.router.navigate([\"/organizations\", this.organization.id]);\r\n }\r\n\r\n save() {\r\n if (this.organization.email != null) this.organization.email = this.organization.email.trim();\r\n if (this.organization.email != null && this.organization.email.length > 0 && !this.validateEmail(this.organization.email)) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"component.organizations.detail.invalid_mail\") });\r\n return;\r\n }\r\n if(this.organization.vat_country_id == null) this.organization.vatCountry = null;\r\n if(this.organization.organization_type_id == null) this.organization.organizationType = null;\r\n if (this.organization.country_id == null) this.organization.country = null;\r\n if (this.organization.origin_id == null) this.organization.origin = null;\r\n if (this.organization.sector_id == null) this.organization.sector = null;\r\n if (this.organization.responsible_2_id == null) this.organization.responsible_2 = null;\r\n\r\n if (typeof this.organization.id === \"undefined\") {\r\n this.organizationsService.add(this.organization).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.organizations.detail.add_organization_correct\") });\r\n this.router.navigate(['/organizations']);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.organizationsService.save(this.organization.id, this.organization).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.organizations.detail.save_organization_correct\") });\r\n this.router.navigate([\"/organizations\"]);\r\n },\r\n error: (error: any) => {\r\n console.log(error);\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } \r\n }\r\n\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.organizations.delete_message\", { name: this.organization.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.organizationsService.delete(this.organization.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.router.navigate(['/organizations']);\r\n },\r\n error: (error:any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject:()=>{}\r\n })\r\n }\r\n\r\n validateEmail(email) {\r\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n return re.test(email);\r\n }\r\n}\r\n","\r\n\r\n Content\r\n\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MeetingStatesService {\r\n url = \"/api/meetingsStates\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MeetingsUsersService {\r\n url = \"/api/meetingsUsers\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { UtilsService } from 'src/app/core/utils.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class MeetingsService {\r\n url = \"/api/meetings\";\r\n\r\n constructor(\r\n private http: HttpClient,\r\n private utilsService: UtilsService\r\n ) { }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n var finalObj = this.utilsService.clearObject(obj, [\"meetingUsers\"]);\r\n return this.http.put(this.url + \"/\" + id, finalObj);\r\n }\r\n\r\n setNewDates(id, obj): Observable {\r\n var finalObj = this.utilsService.clearObject(obj, [\"meetingUsers\"]);\r\n return this.http.put(this.url + \"/setNewDates/\" + id, finalObj);\r\n }\r\n\r\n sendInvitations(id, template_id, html): Observable {\r\n var params = { id: id, template_id: template_id, html: html };\r\n return this.http.post(this.url + \"/\" + id + \"/send\", params);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n\r\n users(params): Observable {\r\n return this.http.get(this.url + \"/users\", { params: params });\r\n }\r\n\r\n isDuplied(obj): Observable {\r\n return this.http.post(this.url + \"/isDuplied\", obj);\r\n }\r\n addMultiplesToCampaign(obj): Observable {\r\n return this.http.post(this.url + \"/addMultiplesToCampaign\", obj);\r\n }\r\n}\r\n","import { Component, OnDestroy, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\n//import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { AttachmentsDetailComponent } from 'src/app/attachments/attachments-detail/attachments-detail.component';\r\nimport { AttachmentsService } from 'src/app/attachments/attachments.service';\r\nimport { CalendarComponent } from 'src/app/calendar/calendar.component';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { SearchService } from 'src/app/core/search.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { MailingDetailComponent } from 'src/app/mailing/mailing-detail/mailing-detail.component';\r\nimport { UserCalendarComponent } from 'src/app/user-calendar/user-calendar.component';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { LoginService } from '../../../login/login.service';\r\nimport { OrganizationsService } from '../../organizations.service';\r\nimport { ContactsService } from '../organizations-contacts-detail/contacts.service';\r\nimport { OrganizationsContactsDetailComponent } from '../organizations-contacts-detail/organizations-contacts-detail.component';\r\nimport { OrganizationsDetailGeneralComponent } from '../organizations-detail-general/organizations-detail-general.component';\r\nimport { MeetingStatesService } from './meeting-states.service';\r\nimport { MeetingsUsersService } from './meetings-users.service';\r\nimport { MeetingsService } from './meetings.service';\r\nimport { Location } from '@angular/common';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { AddCampaignsToEntityComponent } from 'src/app/campaigns/add-campaigns-to-entity/add-campaigns-to-entity.component';\r\n\r\n@Component({\r\n selector: 'app-organizations-meetings-detail',\r\n templateUrl: './organizations-meetings-detail.component.html',\r\n styleUrls: ['./organizations-meetings-detail.component.scss']\r\n})\r\nexport class OrganizationsMeetingsDetailComponent implements OnInit, OnDestroy {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n @ViewChild(UserCalendarComponent) userCalendarComponent: UserCalendarComponent;\r\n\r\n public searchResults: any[] = [];\r\n //Meeting:\r\n public meeting: any = {\r\n id: 0,\r\n organization_id: null,// this.config.data.id,\r\n task_id: null,//this.config.data.taskId,\r\n meetingUsers: []\r\n };\r\n public selectedUsers: any[] = [];\r\n public meetingStates: any[];\r\n public users: any[] = [];\r\n public externalUser: any = { id: null, name: this.translateService.instant(\"component.organizations.meetings_detail.external_participant\") };\r\n public user: any = this.externalUser;\r\n public username: any;\r\n /* public durationOptions = [\r\n { name: \"30M\", value: 30 },\r\n { name: \"1H\", value: 60 },\r\n { name: \"1H 30M\", value: 90 },\r\n { name: \"2H\", value: 120 },\r\n { name: \"2H 30M\", value: 150 },\r\n { name: \"3H\", value: 180 },\r\n ];*/\r\n\r\n public canOpenCalendar: boolean = false;\r\n\r\n //interval\r\n private dateInterval: any = null;\r\n private lastDate: Date = null;\r\n\r\n //Organization:\r\n public organization: any = {};\r\n public organizations: any[];\r\n\r\n //Contacts:\r\n public contact_id: any;\r\n public contact: any = {};\r\n public contacts: any[];\r\n public contacts_options: any[];\r\n\r\n //Responsibles:\r\n public responsibles: any[];\r\n\r\n public deactivated = false;// this.config.data.deactivated;\r\n public elementos: any[] = [];\r\n public meetingUsers: any[] = [];\r\n public disabledMeeting: boolean = false;\r\n public deleteMeeting: boolean = true;\r\n public writeMeeting: boolean = true;\r\n\r\n constructor(\r\n private organizationsService: OrganizationsService,\r\n private dialogService: DialogService,\r\n private usersService: UsersService,\r\n private meetingsService: MeetingsService,\r\n private meetingStatesService: MeetingStatesService,\r\n private contactsService: ContactsService,\r\n private responsiblesService: UsersService,\r\n private meetingsUsersService: MeetingsUsersService,\r\n private attachmentsService: AttachmentsService,\r\n private searchService: SearchService,\r\n private messageService: MessageService,\r\n private route: ActivatedRoute,\r\n //private config: DynamicDialogConfig,\r\n //private dynamicDialogRef: DynamicDialogRef,\r\n //private dialogService: DialogService,\r\n private _location: Location,\r\n private coreDialogService: CoreDialogService,\r\n private viewsService: ViewsService,\r\n private loginService: LoginService,\r\n public routerLink: Router,\r\n private translateService: TranslateService\r\n ) {\r\n if (this.route.snapshot.paramMap.has('id')) var numb = parseInt(this.route.snapshot.paramMap.get('id'));\r\n }\r\n\r\n ngOnInit(): void {\r\n this.deleteMeeting = this.loginService.hasPermission(\"MEETINGS_DELETE\");\r\n this.writeMeeting = this.loginService.hasPermission(\"MEETINGS_WRITE\");\r\n this.canOpenCalendar = this.loginService.hasPermission(\"CALENDAR\");\r\n\r\n const params = this.route.snapshot.queryParams;\r\n const id = params.id != null ? parseInt(params.id) : null;\r\n const contactId = params.contactId != null ? parseInt(params.contactId) : null;\r\n this.contact_id = contactId;\r\n const meetingId = params.meetingId != null ? parseInt(params.meetingId) : null;\r\n const organizationId = params.id != null ? parseInt(params.id) : null;\r\n if (organizationId) this.meeting.organization_id = organizationId;\r\n if (contactId) this.meeting.contact_id = contactId;\r\n this.deactivated = params.deactivated;\r\n const from = params.from;\r\n\r\n this.loadData(meetingId);\r\n this.loadDataOrganization(id);\r\n this.loadDataMeetingStates();\r\n this.loadDataResponsibles();\r\n\r\n this.dateInterval = setInterval(() => {\r\n if (this.userCalendarComponent != null && this.lastDate != this.meeting.from) {\r\n this.lastDate = this.meeting.from;\r\n this.userCalendarComponent.setDate(this.meeting.from);\r\n }\r\n }, 1000);\r\n }\r\n\r\n ngOnDestroy(): void {\r\n if (this.dateInterval != null) clearInterval(this.dateInterval);\r\n }\r\n\r\n loadData(id: number) {\r\n if (id != 0) {\r\n this.meetingsService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.meeting = data;\r\n this.selectedUsers = this.meeting.meetingUsers.map(m => m.user_id);\r\n //Comprobar si puedo editarlo, mientras no sea superAdmin. Si es superadmin, omitimos la comprobación:\r\n if (!(localStorage.getItem(\"isSuperAdmin\") === \"true\") && !this.loginService.canEditModel(this.meeting, this.view?.entity?.code)) {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: this.translateService.instant(\"component.organizations.meetings_detail.not_permission\") });\r\n this.disabledMeeting = true;\r\n }\r\n //this.loadMeetingUsers();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.meeting.responsible_user_id = parseInt(localStorage.getItem('userId'));\r\n var now = new Date();\r\n var nowMultiple = now.setMinutes(Math.ceil(now.getMinutes() / 15) * 15);\r\n //si es porque le han dado a un punto del calendario, que rellena el from sin el resto de datos.\r\n //this.meeting.from = (this.config.data != null && this.config.data.from != null ? this.config.data.from : new Date(nowMultiple));\r\n this.meeting.from = (this.route.snapshot.queryParams.from != null && this.route.snapshot.queryParams.from != null ? new Date(this.route.snapshot.queryParams.from) : new Date(nowMultiple));\r\n this.meeting.duration = 30;\r\n this.meeting.meeting_state_id = 1;\r\n }\r\n }\r\n\r\n loadDataOrganization(id: number) {\r\n //Carga el organization de esta reunión:\r\n if (id) {\r\n this.organizationsService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.organization = data;\r\n this.loadDataContacts(this.contact_id);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.loadDataContacts(0);\r\n }\r\n }\r\n\r\n loadOrganizations() {\r\n //Carga todas las opciones de organizations:\r\n this.organizationsService.getCombo({}).subscribe({\r\n next: (data: any) => {\r\n this.organizations = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadDataContacts(id: number) {\r\n //Carga el contact:\r\n if (id) {\r\n this.contactsService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.contact = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n //Carga todas las opciones de contacts (si existe organización, sino nada.): \r\n if (typeof this.organization.id != \"undefined\") {\r\n this.contactsService.all({ organization_id: this.organization.id }).subscribe({\r\n next: (data: any) => {\r\n this.contacts = data.rows;\r\n this.contacts_options = this.getSelectUsers();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n loadDataMeetingStates() {\r\n this.meetingStatesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.meetingStates = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadDataResponsibles() {\r\n this.meetingsService.users({}).subscribe({\r\n next: (data: any) => {\r\n this.responsibles = data.rows;\r\n this.users = [];\r\n this.users.push(this.externalUser);\r\n this.responsibles.forEach(val => this.users.push(Object.assign({}, val)));\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n getSelectUsers() {\r\n var meetingUserIds = this.meeting.meetingUsers.map((user) => { return user.user_id });\r\n var selectUsers = this.users.filter((user) => {\r\n return meetingUserIds.indexOf(user.id) < 0 || user.id == null;\r\n });\r\n return selectUsers;\r\n }\r\n\r\n getUserName(element) {\r\n this.responsiblesService.get(element.user_id).subscribe(\r\n data => {\r\n var user = data;\r\n Object.assign(element, user);\r\n }\r\n )\r\n }\r\n\r\n addUser() {\r\n if (this.user.external_user) {\r\n this.user.external_user = this.user.external_user.trim();\r\n var validateEmail = this.validateEmail(this.user.external_user);\r\n if (!validateEmail) {\r\n this.messageService.add({ closable: false, severity: 'error', detail: this.translateService.instant(\"component.organizations.meetings_detail.enter_valid_email\") });\r\n return;\r\n }\r\n this.meeting.meetingUsers.push({\r\n meeting_id: this.meeting.id,\r\n user_id: this.user?.user?.id,\r\n external_user: this.user?.external_user,\r\n //user: this.user?.user\r\n });\r\n this.user = {};\r\n } else if (this.user.user && this.user.user.id) {\r\n this.meeting.meetingUsers.push({\r\n meeting_id: this.meeting.id,\r\n user_id: this.user?.user?.id,\r\n //user: this.user?.user\r\n });\r\n this.contacts_options = this.contacts_options.filter(m => m.id != this.user.user.id);\r\n this.user = {};\r\n } else {\r\n this.messageService.add({ closable: false, severity: 'error', detail: this.translateService.instant(\"component.organizations.meetings_detail.enter_valid_email\") });\r\n }\r\n }\r\n\r\n validateEmail(email) {\r\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n return re.test(email);\r\n }\r\n\r\n deleteMeetingUser(index) {\r\n\r\n var spliceado = this.meeting.meetingUsers.splice(index, 1);\r\n if (spliceado[0].user != null) this.contacts_options.push(spliceado[0].user);\r\n }\r\n deleteExternalUser(selectedUser) {\r\n var i = 0;\r\n this.meetingUsers.forEach(element => {\r\n if (element.external_user == selectedUser.external_user) {\r\n this.meetingUsers.splice(i, 1);\r\n }\r\n i++;\r\n });\r\n }\r\n updateTo() {\r\n var fecha = new Date(this.meeting.from);\r\n var minutes = fecha.getMinutes();\r\n fecha.setMinutes(minutes + this.meeting.duration);\r\n this.meeting.to = fecha;\r\n }\r\n\r\n cancel() {\r\n this._location.back();\r\n //this.dynamicDialogRef.close();\r\n }\r\n save(event: any, send: boolean) {\r\n if(this.meeting.notes?.length > 2000){\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"component.organizations.meetings_detail.notes_limit_excedeed\") });\r\n return;\r\n }\r\n if (typeof this.meeting.id === \"undefined\" || this.meeting.id == 0) {\r\n if (this.meeting.transaction_id == null || this.meeting.transaction_id == 0) this.meeting.transaction_id = null;//this.config.data.transaction_id;\r\n this.meetingsService.add(this.meeting).subscribe({\r\n next: (data: any) => {\r\n this.meeting = data;\r\n this.loadData(this.meeting.id);\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.organizations.meetings_detail.add_meeting_correct\") });\r\n if (send) {\r\n //this.sendInvitations(data);\r\n //this.newMail(this.meeting.contact.email);\r\n this.prepareEmailsToSend();\r\n } else {\r\n //¿Hay alguna forma de pasar este data en la creación de un meeting al task desde donde el que se está creando sin hacer un close?\r\n //this.dynamicDialogRef.close(data);\r\n var params = {\r\n id: this.meeting ? this.meeting.organization_id : 0,\r\n contactId: this.meeting ? this.meeting.contact_id : 0,\r\n meetingId: this.meeting ? this.meeting.id : 0,\r\n deactivated: this.meeting ? true : false\r\n }\r\n // Utiliza router.navigate y pasa el objeto de parámetros\r\n this.routerLink.navigate(['/meetings/', (this.meeting ? this.meeting.id : 0)], { queryParams: params });\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.meetingsService.save(this.meeting.id, this.meeting).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.organizations.meetings_detail.save_meeting_correct\") });\r\n if (send) {\r\n //this.sendInvitations(data);\r\n this.prepareEmailsToSend();\r\n } else {\r\n //this.dynamicDialogRef.close();\r\n this._location.back();\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: \"¿Quieres borrar la reunión \" + this.meeting.subject + \"?\",\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.meetingsService.delete(this.meeting.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n //this.dynamicDialogRef.close();\r\n this._location.back();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n downloadFile(attachment) {\r\n this.attachmentsService.download(attachment.guid);\r\n }\r\n\r\n viewAttachment(attachment) {\r\n const ref = this.dialogService.open(AttachmentsDetailComponent, {\r\n data: {\r\n id: attachment ? attachment.id : 0,\r\n entity_id: 3,\r\n entity_pk_id: this.meeting.id,\r\n organization_id: this.meeting.organization_id\r\n },\r\n //header: attachment ? \"Detalles del adjunto\" : \"Nuevo adjunto\",\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"meetings.attachments\", \"reload\");\r\n });\r\n }\r\n\r\n deleteAttachment(attachment) {\r\n this.coreDialogService.confirm({\r\n message: \"¿Quieres borrar el adjunto \" + attachment.filename + \"?\",\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.attachmentsService.delete(attachment.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"meetings.edit.attachments\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n filterSearch(event) {\r\n let query = event.query;\r\n if (query.length >= 3) {\r\n this.searchService.onlyPeople({ search_text: query, skip_contacts_without_email: true }).subscribe(\r\n data => {\r\n this.searchResults = data;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n }\r\n\r\n addEntitySearch() {\r\n var index = this.meeting.meetingUsers.findIndex(p => p.user_id == this.user?.external_user?.id);\r\n if (index >= 0) {\r\n this.user.external_user = null;\r\n return;\r\n }\r\n if (this.user.external_user.entity_type == \"users\") {\r\n this.meeting.meetingUsers.push({\r\n meeting_id: this.meeting.id,\r\n user_id: this.user?.external_user?.id,\r\n external_user: this.user?.external_user?.text,\r\n //user: this.user?.user,\r\n name: this.user?.external_user?.text,\r\n email: this.user?.external_user?.email,\r\n });\r\n } else if (this.user.external_user.entity_type == \"contacts\") {\r\n this.meeting.meetingUsers.push({\r\n meeting_id: this.meeting.id,\r\n contact_id: this.user?.external_user?.id,\r\n external_user: this.user?.external_user?.email,\r\n name: this.user?.external_user?.text,\r\n email: this.user?.external_user?.email,\r\n //user: this.user?.user\r\n });\r\n }\r\n this.user = {};\r\n }\r\n\r\n isDuplied(event, send) {\r\n this.updateDateTo();\r\n this.meeting.responsible = null;\r\n\r\n if (!this.view.getComponentForm(\"meetings.edit.general\").valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n\r\n if (this.meeting.responsible_user_id == null) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"component.organizations.meetings_detail.organization_mandatory\") });\r\n return;\r\n }\r\n\r\n if (send && this.meeting.meetingUsers.length == 0 && !this.meeting.contact?.id) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"component.organizations.meetings_detail.not_participants\") });\r\n return;\r\n }\r\n /*this.meetingsService.isDuplied(this.meeting).subscribe(\r\n data => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: \"Ya existe una reunión con estos datos proporcionados.\",\r\n header: 'Error',\r\n icon: 'far, exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save(event, send);\r\n }\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );*/\r\n this.save(event, send);\r\n }\r\n\r\n onChangeContact(contact) {\r\n if (contact.email != null && contact.email.length > 0) {\r\n if (this.emailExists(this.meeting.meetingUsers, contact.email)) return;\r\n this.meeting.meetingUsers.push({\r\n meeting_id: this.meeting.id,\r\n user_id: null,\r\n external_user: contact.email,\r\n user: null\r\n });\r\n }\r\n }\r\n\r\n emailExists(meetingUsers, email) {\r\n let found = false;\r\n for (let i = 0; i < meetingUsers.length; i++) {\r\n if (meetingUsers[i].external_user === email || meetingUsers[i].user?.email === email) {\r\n found = true;\r\n break;\r\n }\r\n }\r\n if (found) {\r\n //El email buscado se encuentra en el array.\r\n return true;\r\n } else {\r\n //El email buscado no se encuentra en el array.\r\n return false;\r\n }\r\n }\r\n\r\n newMail(meeting_users_emails: any, template_type_code, searchRelated) {\r\n var emailAcc = null;\r\n if (template_type_code == \"MEETING\") {\r\n if (this.meeting.contact != null) {\r\n emailAcc = {\r\n name: this.meeting.contact?.name,\r\n //email: this.meeting.contact?.email,\r\n contact_id: this.meeting.contact?.id,\r\n organization_id: this.meeting.contact?.organization_id,\r\n }\r\n }\r\n } else { emailAcc = meeting_users_emails }\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n to: emailAcc,\r\n entity_id: 3,\r\n entity_pk_id: this.meeting.id,\r\n organization_id: this.meeting.organization_id,\r\n contact_id: this.meeting.contact_id,\r\n template_type_code: template_type_code,\r\n meeting_users: meeting_users_emails,\r\n searchRelated: searchRelated\r\n },\r\n header: this.translateService.instant(\"general.new_mail_title\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n //if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n //if (data) this.dynamicDialogRef.close();\r\n //location.reload();\r\n this.view.fireEvent(\"organizations.preview.mails\", \"reload\");\r\n });\r\n }\r\n\r\n prepareEmailsToSend() {\r\n //Guardamos ids de usuarios que NO sean externals:\r\n var meeting_users_contacts_ids = this.meeting.meetingUsers.filter(m => m.user_id != null).map(m => m.user_id);\r\n //Filtramos los emails de los usuarios que SÍ sean externals:\r\n var meeting_users_emails = this.meeting.meetingUsers.filter(m => !m.user_id).map(m => m.external_user);\r\n var meeting_users = [];\r\n meeting_users_emails.forEach(item => {\r\n meeting_users.push({ name: \"\", email: item });\r\n })\r\n\r\n //Si hay algún meetingUser que no sea external...\r\n if (meeting_users_contacts_ids != null && meeting_users_contacts_ids.length > 0) {\r\n //Buscamos las filas para recoger sus emails y abrimos popup.\r\n this.usersService.all({ usersIds: meeting_users_contacts_ids }).subscribe({\r\n next: (data: any) => {\r\n var contacts = data.rows;\r\n //var contacts_emails = contacts.map(m => m.email);\r\n contacts.forEach(contact_email => {\r\n meeting_users.push({ name: contact_email.name, email: contact_email.email });\r\n });\r\n this.newMail(meeting_users, \"MEETING\", true);\r\n }\r\n });\r\n } else {\r\n //Si no, simplemente abrimos el popup.\r\n this.newMail(meeting_users, \"MEETING\", true);\r\n }\r\n }\r\n\r\n openCalendar() {\r\n const ref = this.dialogService.open(CalendarComponent, {\r\n data: {\r\n meeting_date_from: this.meeting.from,\r\n organization_id: this.organization.id,\r\n canOpenMeeting: false,\r\n },\r\n header: this.translateService.instant(\"component.organizations.meetings_detail.calendar\"),\r\n width: \"70%\"\r\n });\r\n }\r\n refreshAll() {\r\n this.view.view?.configuration?.components?.array?.forEach(component => {\r\n this.view.fireEvent(component.code, \"reload\");\r\n });\r\n }\r\n\r\n updateDateTo() {\r\n if (this.meeting.duration != null && this.meeting.from != null) {\r\n var fechaTo = new Date(this.meeting.from);\r\n fechaTo.setMinutes(fechaTo.getMinutes() + this.meeting.duration);\r\n this.meeting.to = fechaTo;\r\n }\r\n }\r\n unlinkCampaign(campaign) {\r\n this.meeting.campaign_id = null;\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.meetings.unlink_campaign\", { name: campaign.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.meetingsService.save(this.meeting.id, this.meeting).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.refreshAll();\r\n //this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n openCampaign(campaign) {\r\n window.open(\"/campaigns/\" + (campaign.id ? campaign.id : 0));\r\n }\r\n addCampaigns() {\r\n const ref = this.dialogService.open(AddCampaignsToEntityComponent, {\r\n data: {\r\n id: this.meeting.id,\r\n entity: 'meeting',\r\n campaign_id: this.meeting.campaign_id\r\n },\r\n header: this.translateService.instant(\"component.campaigns.addCampaigns\"),\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.refreshAll();\r\n });\r\n };\r\n\r\n navigateCalendarFiltered() {\r\n //Pasar parámetros por ruta sin necesidad de añadirlos a la URL:\r\n var params = {\r\n organizationId: this.meeting ? this.meeting.organization_id : 0,\r\n }\r\n // Utiliza router.navigate y pasa el objeto de parámetros\r\n this.routerLink.navigate(['/calendar'], { queryParams: params });\r\n }\r\n\r\n onEvent(event: any) {\r\n //if (event.event == \"closeDialog\" && event.action.name == \"closeDialog\") this.dynamicDialogRef.close();\r\n if (event.event == \"refreshAll\" && event.action.name == \"refreshAll\") this.refreshAll();\r\n if (event.component == \"meetings.edit.general\") {\r\n if (event.event == \"onChange\" && event.entityField.full_model_property == \"meetings.contact_id\") {\r\n //Si se cambia el contacto...\r\n if (this.meeting.contact.id != null) {\r\n this.onChangeContact(this.meeting.contact);\r\n } else {\r\n }\r\n }\r\n if (event.event == \"onChange\" && (event.entityField.full_model_property == \"meetings.duration\")) {\r\n //Si se cambia la duración, actualiza el campo 'to' del meeting.\r\n this.updateDateTo();\r\n }\r\n if (event.event == \"fieldAction\" && event.action.name == \"new-mail\") {\r\n var toInfo = { name: \"\", email: event.value }\r\n if (event.action.param == \"INTERNAL\") {\r\n //Cargamos los datos del usuario\r\n this.usersService.get(event.value).subscribe({\r\n next: (data: any) => {\r\n toInfo = { name: data.name, email: data.email }\r\n this.newMail(toInfo, \"MAIL_INTERNAL\", false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.newMail(event.value, \"MEETING\", true);\r\n }\r\n\r\n }\r\n\r\n /*if (event.event == \"onChange\" && event.entityField.model_property == \"contact_id\") {//Si se cambia la propiedad contact_id del meeting...\r\n if (this.meeting.contact.id != null) {\r\n this.onChangeContact(this.meeting.contact);\r\n } else {\r\n }\r\n };*/\r\n if (event.event == \"onChange\" && event.entityField.model_property == \"organization_id\") {//Si se cambia la propiedad organization_id del meeting...\r\n if (this.meeting.organization_id != null) {\r\n this.loadDataOrganization(this.meeting.organization_id);\r\n } else {\r\n this.meeting.contact_id = null;\r\n }\r\n }\r\n } else if (event.component == \"meetings.attachments\") {\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewAttachment(null);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteAttachment(event.data);\r\n if (event.event == \"dblclick\") this.viewAttachment(event.data);\r\n if (event.event == \"action\" && event.action.name == \"download\") this.downloadFile(event.data);\r\n } else if (event.component == \"meetings.campaigns\") {\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.openCampaign(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.addCampaigns();\r\n if (event.event == \"action\" && event.action.name == \"unlink\") this.unlinkCampaign(event.data);\r\n }\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n ///this.config.header = typeof (this.meeting.id) !== \"undefined\" ? \"Detalles de la \" + this.view.getEntityBaseName() : \"Nueva \" + this.view.getEntityBaseName();\r\n }\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
{{result.text}}
\r\n
{{result.organization_name}}
\r\n
{{result.email}}
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n {{'component.organizations.meetings_detail.add_participant' | translate}}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {{'component.organizations.meetings_detail.name_email' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{selectedUser.external_user?selectedUser.external_user:selectedUser.user.name }}
\r\n {{selectedUser.user?.email}}{{selectedUser.email}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n 0 && deleteMeeting\" icon=\"pi pi-trash\" styleClass=\"p-button-danger\" [disabled]=\"disabledMeeting\" (onClick)=\"delete()\">\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { OrganizationsService } from '../../organizations.service';\r\nimport { ContactsService } from '../organizations-contacts-detail/contacts.service';\r\nimport { MeetingsService } from '../organizations-meetings-detail/meetings.service';\r\nimport { OrganizationsMeetingsDetailComponent } from '../organizations-meetings-detail/organizations-meetings-detail.component';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-organizations-meetings-view',\r\n templateUrl: './organizations-meetings-view.component.html',\r\n styleUrls: ['./organizations-meetings-view.component.scss']\r\n})\r\nexport class OrganizationsMeetingsViewComponent implements OnInit {\r\n @ViewChild(\"view\") public viewComponent: ViewComponent;\r\n public organization: any = {};\r\n public meetings: any[];\r\n public totalRecords: any;\r\n public loading = false;\r\n public lastGridEvent: any;\r\n\r\n public first;\r\n public last;\r\n constructor(\r\n private route: ActivatedRoute,\r\n private dialogService: DialogService,\r\n private organizationsService: OrganizationsService,\r\n private messageService: MessageService,\r\n private meetingsService: MeetingsService,\r\n private coreDialogService: CoreDialogService,\r\n private viewsService: ViewsService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n loadData($event){\r\n this.route.parent.params.subscribe(params => {\r\n this.loadDataOrganization(params['id']);\r\n this.lastGridEvent = $event;\r\n this.loading = true;\r\n var contactParams = {\r\n _page: $event.first,\r\n _pageSize: $event.rows,\r\n _sortBy: $event.sortField ? $event.sortField : \"\",\r\n _sortDirection: $event.sortOrder > 0 ? \"asc\" : \"desc\",\r\n organization_id: params['id']\r\n }\r\n this.meetingsService.all(contactParams).subscribe({\r\n next: (data: any) => {\r\n this.totalRecords = data.totalRows;\r\n this.meetings = data.rows;\r\n this.loading = false;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n this.loading = false;\r\n }\r\n });\r\n });\r\n }\r\n loadDataOrganization(id: number){\r\n this.organizationsService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.organization = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n view(meeting) {\r\n const ref = this.dialogService.open(OrganizationsMeetingsDetailComponent,{\r\n data: {\r\n id: this.organization.id,\r\n meetingId: meeting?meeting.id:0,\r\n contactId: meeting?meeting.contact_id:0\r\n },\r\n // header: meeting? \"Detalles de la reunión\":\"Nueva reunión\",\r\n width: '90%',\r\n /*baseZIndex: 999*/\r\n });\r\n ref.onClose.subscribe((data:any) =>{\r\n if (typeof (this.viewComponent) !== \"undefined\") this.viewsService.changeView(this.viewComponent.code);\r\n this.loadData(this.lastGridEvent);\r\n })\r\n }\r\n delete(meeting){\r\n this.coreDialogService.confirm({ \r\n message: this.translateService.instant(\"component.organizations.delete_message_meeting\", { subject: meeting.subject }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon:\"pi pi-info-circle\",\r\n accept:()=>{\r\n this.meetingsService.delete(meeting.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.loadData(this.lastGridEvent);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n \r\n }\r\n })\r\n }\r\n}\r\n","\r\n \r\n \r\n
\r\n {{'meeting.entity.name_plural' | translate}}\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n {{'meeting.entity_fields.subject' | translate}}\r\n {{'meeting.entity_fields.from' | translate}}\r\n {{'meeting.entity_fields.to' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n {{meeting.subject}}\r\n {{meeting.from | date:'short'}}\r\n {{meeting.to | date:'short'}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n","import { Component, ComponentFactoryResolver, Input, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { UIChart } from 'primeng/chart';\r\nimport { TransactionsService } from 'src/app/transactions/transactions.service';\r\nimport { OrganizationsService } from '../../organizations.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-sales-total-pipeline',\r\n templateUrl: './sales-total-pipeline.component.html',\r\n styleUrls: ['./sales-total-pipeline.component.scss']\r\n})\r\nexport class SalesTotalPipelineComponent implements OnInit {\r\n @ViewChild('chart') chart: UIChart;\r\n @Input() public data: any;\r\n @Input() public entity: any;\r\n public id;\r\n public ret: any = {};\r\n public height: number = 0;\r\n\r\n constructor(\r\n private componentFactoryResolver: ComponentFactoryResolver,\r\n private organizationService: OrganizationsService,\r\n private transactionService: TransactionsService,\r\n private route: ActivatedRoute,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.route.params.subscribe(params => {\r\n this.id = params['id'];\r\n this.loadStatsSales(this.id);\r\n });\r\n }\r\n\r\n onEvent(event: string) {\r\n this.refresh();\r\n }\r\n\r\n refresh() {\r\n this.loadStatsSales(this.id);\r\n this.chart.reinit();\r\n this.chart.refresh();\r\n }\r\n\r\n loadStatsSales(id) {\r\n this.organizationService.pipelinesSales(id).subscribe({\r\n next: (data: any) => {\r\n this.ret = data;\r\n this.loadBasicData();\r\n },\r\n error: (error: any) => {\r\n //TODO: messageService aquí.\r\n }\r\n });\r\n }\r\n\r\n //Configuración de tablas horizontales para meses.\r\n public basicData: any;\r\n public horizontalOptions: any;\r\n public labels: any[] = [];\r\n public backgroundColors: any[] = [];\r\n\r\n loadBasicData() {\r\n this.labels = [];\r\n this.backgroundColors = [];\r\n let requiredHeight: number = 0;\r\n for (let i = 0; i < this.ret.labels.length; i++) {\r\n this.labels.push(this.ret.labels[i]);\r\n this.backgroundColors.push(this.ret.backgroundColors[i]);\r\n requiredHeight += 50;\r\n }\r\n this.height = requiredHeight;\r\n\r\n this.basicData = {\r\n labels: this.labels,\r\n datasets: [\r\n {\r\n label: this.translateService.instant(\"component.organizations.sales_total_pipeline.total\"),\r\n backgroundColor: this.backgroundColors,\r\n data: this.ret.sumByStatus\r\n }\r\n ]\r\n };\r\n this.horizontalOptions = {\r\n indexAxis: 'y',\r\n tooltips: {\r\n callbacks: {\r\n label: function (tooltipItem, data) {\r\n var label = new Intl.NumberFormat('de-DE').format(tooltipItem.value);\r\n return label + \" €\";\r\n }\r\n }\r\n },\r\n plugins: {\r\n legend: {\r\n labels: {\r\n color: '#000057'\r\n }\r\n }\r\n },\r\n scales: {\r\n x: {\r\n ticks: {\r\n color: '#000057'\r\n },\r\n grid: {\r\n color: '#ebedef'\r\n }\r\n },\r\n y: {\r\n ticks: {\r\n color: '#000057'\r\n },\r\n grid: {\r\n color: '#ebedef'\r\n }\r\n }\r\n }\r\n };\r\n }\r\n}\r\n","
\r\n \r\n
\r\n","import { Input } from '@angular/core';\r\nimport { ComponentFactoryResolver } from '@angular/core';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { DynamicDialogConfig } from 'primeng/dynamicdialog';\r\nimport { CustomComponent } from 'src/app/core/view/component/custom/custom-component.interface';\r\nimport { OrganizationsService } from '../../organizations.service';\r\nimport { MessageService } from 'primeng/api';\r\n\r\n@Component({\r\n selector: 'app-tasks-widget',\r\n templateUrl: './tasks-widget.component.html',\r\n styleUrls: ['./tasks-widget.component.scss']\r\n})\r\nexport class TasksWidgetComponent implements OnInit,CustomComponent {\r\n @Input() public data: any;\r\n @Input() public entity: any;\r\n\r\n public ret: any = {};\r\n private id:number = null;\r\n\r\n constructor(\r\n private componentFactoryResolver: ComponentFactoryResolver,\r\n private organizationService: OrganizationsService,\r\n private route: ActivatedRoute,\r\n private messageService: MessageService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.route.params.subscribe(params => {\r\n this.id = params['id'];\r\n this.loadStatsActivities(this.id);\r\n });\r\n }\r\n loadStatsActivities(id){\r\n this.organizationService.statsActivities(id).subscribe({\r\n next: (data: any) => {\r\n this.ret = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n onEvent(component:string, event:string){\r\n if(event==\"reload\"){\r\n this.loadStatsActivities(this.id);\r\n }\r\n }\r\n}\r\n","\r\n \r\n
\r\n {{'task.entity.name_plural' | translate}}\r\n
\r\n
\r\n
{{'component.organizations.tasks_widget.no_tasks' | translate}}.
\r\n
{{'component.organizations.tasks_widget.last_task_created' | translate}} {{'component.organizations.tasks_widget.today' | translate}}.
\r\n
{{'component.organizations.tasks_widget.last_task_created' | translate}} {{'component.organizations.tasks_widget.yesterday' | translate}}.
\r\n
1\">{{ret.days_last_activity}} {{'component.organizations.tasks_widget.days_last_tasks' | translate}}
\r\n
{{ret.pending_activities}} {{'component.organizations.tasks_widget.pending_tasks' | translate}}
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { OrganizationsService } from '../organizations.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { DialogService, DynamicDialogConfig } from 'primeng/dynamicdialog';\r\nimport { OrganizationsDetailGeneralComponent } from '../organizations-detail/organizations-detail-general/organizations-detail-general.component';\r\nimport { OrganizationsTypesService } from '../organizations-types.service';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { SessionStorageService } from 'ngx-webstorage';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { CountriesService } from '../../configuration/countries/countries.service';\r\n\r\n@Component({\r\n selector: 'app-organizations-list',\r\n templateUrl: './organizations-list.component.html',\r\n styleUrls: ['./organizations-list.component.scss']\r\n})\r\nexport class OrganizationsListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public organizationsFilters: any = {};\r\n public organizations: any[];\r\n public countries: any[];\r\n public totalRecords: any;\r\n public loading: boolean;\r\n public organizationType: any;\r\n public organizationTypeId: any;\r\n\r\n constructor(\r\n private organizationsService: OrganizationsService,\r\n private organizationsTypesService: OrganizationsTypesService,\r\n private countriesService: CountriesService,\r\n private messageService: MessageService,\r\n private router: Router,\r\n private activatedRoute: ActivatedRoute,\r\n private dialogService: DialogService,\r\n private coreDialogService: CoreDialogService,\r\n private viewsService: ViewsService,\r\n private sessionStorage: SessionStorageService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.organizationTypeId = this.activatedRoute.snapshot.params.organizationTypeId;\r\n if (this.organizationTypeId != null) {\r\n this.loadOrganizationType();\r\n this.organizationsFilters.organization_type_id = [ parseInt(this.organizationTypeId) ];\r\n\r\n //marcamos para que este campo no se tenga en cuenta desde la sesion\r\n this.organizationsFilters._ignore_session_fields = [ \"organization_type_id\" ];\r\n this.organizationsFilters._excluded_fields = [ \"organization_type_id\" ];\r\n }\r\n }\r\n\r\n loadOrganizationType() {\r\n if (this.organizationTypeId != null) {\r\n this.organizationsTypesService.get(this.organizationTypeId).subscribe({\r\n next: (data: any) => {\r\n this.organizationType = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n }\r\n }\r\n\r\n preview(organization) {\r\n this.router.navigate(['/organizations/', this.organizationTypeId ? this.organizationTypeId : 0, organization.id]);\r\n }\r\n\r\n add() {\r\n const ref = this.dialogService.open(OrganizationsDetailGeneralComponent, {\r\n data: {\r\n id: 0,\r\n organization_type_id: this.organizationTypeId\r\n },\r\n // header: \"Nueva organización\",\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n if (data) {\r\n this.preview(data);\r\n }\r\n })\r\n\r\n }\r\n\r\n delete(organization) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.organizations.delete_message\", { name: organization.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.organizationsService.delete(organization.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n if (this.organizationTypeId) {\r\n this.router.navigate(['/organizations/' + this.organizationTypeId]);\r\n } else {\r\n this.router.navigate(['/organizations']);\r\n }\r\n this.view.fireEvent(\"organizations.list.results\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => { }\r\n })\r\n }\r\n\r\n edit(organization) {\r\n const ref = this.dialogService.open(OrganizationsDetailGeneralComponent, {\r\n data: {\r\n id: organization.id,\r\n organization_type_id: this.organizationTypeId\r\n },\r\n // header: \"Nueva organización\",\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n if (data) { }\r\n });\r\n }\r\n onEvent(event: any) {\r\n if (event.component == \"organizations.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") {\r\n this.view.fireEvent(\"organizations.list.results\", \"reload\");\r\n }\r\n } else if (event.component == \"organizations.list.results\") {\r\n\r\n\r\n if (event.event == \"dblclick\") this.preview(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.add();\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.edit(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete(event.data);\r\n if (event.event == \"action\" && event.action.name == \"search\") {\r\n this.view.fireEvent(\"organizations.list.results\", \"reload\", event.data);\r\n }\r\n }\r\n }\r\n}\r\n","
{{view.getEntityBaseName(true)}}
\r\n
{{organizationType.name}}
\r\n\r\n\r\n","import { Component, Input, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { OrganizationsService } from '../../organizations.service';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { ContactsService } from '../../organizations-detail/organizations-contacts-detail/contacts.service';\r\nimport { ViewComponent } from '../../../core/view/view.component';\r\nimport { TasksStatusService } from '../../../tasks/tasks-status.service';\r\nimport { TasksService } from '../../../tasks/tasks.service';\r\nimport { ViewComponentFormComponent } from '../../../core/view/component/form/view-component-form.component';\r\nimport { LoginService } from '../../../login/login.service';\r\nimport { ViewsService } from '../../../core/view/views.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-organizations-quick',\r\n templateUrl: './organizations-quick.component.html',\r\n styleUrls: ['./organizations-quick.component.scss']\r\n})\r\nexport class OrganizationsQuickComponent implements OnInit {\r\n @ViewChild(\"view1\") public view1: ViewComponent;\r\n\r\n public checks: any = {};\r\n public organization: any = {};\r\n public task: any = {};\r\n public contact: any = {};\r\n\r\n constructor(\r\n private config: DynamicDialogConfig,\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n private organizationsService: OrganizationsService,\r\n private contactService: ContactsService,\r\n private taskService: TasksService,\r\n private messageService: MessageService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private tasksStatusService: TasksStatusService,\r\n private loginService: LoginService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.checks.showContact = false;\r\n this.checks.showTask = false;\r\n if (localStorage.getItem(\"isSuperAdmin\") === 'false') {\r\n this.organization.responsible_id = parseInt(localStorage.getItem(\"userId\"));\r\n this.task.responsible_user_id = parseInt(localStorage.getItem(\"userId\"));\r\n }\r\n //Seleccionamos la zona si solo tiene una\r\n this.organization.zone_id = this.loginService.UserOnlyOneZone();\r\n\r\n var now = new Date();\r\n var nowMultiple = now.setMinutes(Math.ceil(now.getMinutes() / 15) * 15);\r\n this.task.date = new Date(nowMultiple);\r\n this.task.task_action_scheduled_date = new Date(nowMultiple);\r\n \r\n }\r\n\r\n save() {\r\n\r\n this.organization.responsible = null;\r\n if (this.organization.vat_country_id != null) this.organization.vatCountry = null;\r\n if (this.organization.created_by != null) this.organization.createdBy = null;\r\n if (this.organization.country_id != null) this.organization.country = null;\r\n if (this.organization.organization_type_id != null) this.organization.organizationType = null;\r\n if (this.organization.parent_organization_id != null) this.organization.parent_organization = null;\r\n if (this.organization.zone_id != null) this.organization.zone = null;\r\n if (this.organization.updated_by != null) this.organization.updatedBy = null;\r\n if (this.organization.sector != null) this.organization.sector = null;\r\n if (this.organization.province != null) this.organization.province = null;\r\n\r\n if (!this.organization.id) {\r\n this.organization.name = this.organization.name_autocomplete;\r\n this.organization.name_autocomplete = this.organization.name;\r\n };\r\n\r\n var showContact = this.view1.getComponent(\"contacts.quick\")?.isOpen();\r\n var showTask = this.view1.getComponent(\"tasks.quick\")?.isOpen();\r\n\r\n if (!this.view1.getComponentForm(\"organizations.quick\").valid ||\r\n //(this.checks.showContact && !this.view2.getComponentForm(\"contacts.quick\").valid) ||\r\n (showContact && !this.view1.getComponentForm(\"contacts.quick\").valid) ||\r\n //(this.checks.showTask && !this.view3.getComponentForm(\"tasks.quick\").valid)\r\n (showTask && !this.view1.getComponentForm(\"tasks.quick\").valid)\r\n ) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"component.organizations.quick.fill_mandatory\") });\r\n\r\n } else {\r\n\r\n this.organizationsService.add(this.organization).subscribe({\r\n next: (data: any) => {\r\n this.organization = data;\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.organizations.quick.add_organziation_correct\") });\r\n\r\n if (!showTask && !showContact) {\r\n this.cancel();\r\n this.router.navigate(['/organizations/', this.organization.organization_type_id ? this.organization.organization_type_id : 0, this.organization.id]);\r\n } else {\r\n if (showContact) this.saveContact();\r\n if (showTask && !showContact) this.saveTask();\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: \"1\" + error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n saveContact() {\r\n\r\n this.contact.organization_id = this.organization.id;\r\n this.contactService.add(this.contact).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.organizations.quick.add_contact_correct\") });\r\n this.task.contact_id = data.id;\r\n //if(this.checks.showTask) this.saveTask();\r\n var showTask = this.view1.getComponent(\"tasks.quick\").isOpen();\r\n if (showTask) this.saveTask();\r\n\r\n this.cancel();\r\n this.router.navigate(['/organizations/', this.organization.organization_type_id ? this.organization.organization_type_id : 0, this.organization.id]);\r\n\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: \"2\" + error.error.title });\r\n }\r\n });\r\n }\r\n\r\n saveTask() {\r\n this.task.organization_id = this.organization.id;\r\n\r\n //seleccionamos el estado por defecto.\r\n this.tasksStatusService.all({ is_default: true }).subscribe({\r\n next: (data: any) => {\r\n this.task.task_status_id = data.rows[0].id;\r\n\r\n this.taskService.add(this.task).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.organizations.quick.add_task_correct\") });\r\n this.cancel();\r\n this.router.navigate(['/organizations/', this.organization.organization_type_id ? this.organization.organization_type_id : 0, this.organization.id]);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: \"3\" + error.error.title });\r\n }\r\n });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: \"4\" + error.error.title });\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n \r\n\r\n onEvent(event) {\r\n if (event.component == \"organizations.quick\") {\r\n if (event.event == \"text-autocomplete\" && event.action.name == \"select\") {\r\n this.organization = event.data.name_autocomplete;\r\n let componentOrganization: ViewComponentFormComponent = this.view1.getComponent(\"organizations.quick\");\r\n componentOrganization.setModel(this.organization);\r\n }\r\n }\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n this.config.header = typeof (this.organization.id) !== \"undefined\" ?\r\n this.translateService.instant(\"component.organizations.quick.detail_entity\", { entity_name: this.view1.getEntityBaseName() }) :\r\n this.translateService.instant(\"component.organizations.quick.new_entity\", { entity_name: this.view1.getEntityBaseName() })\r\n\r\n //establecer modelos\r\n let componentOrganization: ViewComponentFormComponent = this.view1.getComponent(\"organizations.quick\");\r\n componentOrganization.setModel(this.organization);\r\n let componentTask: ViewComponentFormComponent = this.view1.getComponent(\"tasks.quick\");\r\n componentTask.setModel(this.task);\r\n let componentContact: ViewComponentFormComponent = this.view1.getComponent(\"contacts.quick\");\r\n componentContact.setModel(this.contact);\r\n }\r\n }\r\n}\r\n","\r\n\r\n\r\n\r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { OrganizationsContactsDetailComponent } from './organizations-detail/organizations-contacts-detail/organizations-contacts-detail.component';\r\nimport { OrganizationsContactsViewComponent } from './organizations-detail/organizations-contacts-view/organizations-contacts-view.component';\r\nimport { OrganizationsDetailGeneralComponent } from './organizations-detail/organizations-detail-general/organizations-detail-general.component';\r\nimport { OrganizationsDetailComponent } from './organizations-detail/organizations-detail.component';\r\nimport { OrganizationsMeetingsDetailComponent } from './organizations-detail/organizations-meetings-detail/organizations-meetings-detail.component';\r\nimport { OrganizationsMeetingsViewComponent } from './organizations-detail/organizations-meetings-view/organizations-meetings-view.component';\r\nimport { OrganizationsListComponent } from './organizations-list/organizations-list.component';\r\nimport { OrganizationsViewComponent } from './organizations-view/organizations-view.component';\r\nimport { ContactsListComponent } from '../contacts/contacts-list/contacts-list.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"contacts/organization/:organization_id\", component: ContactsListComponent },\r\n { path: \"organizations\", component: OrganizationsListComponent },\r\n { path: \"organizations/clients\", component: OrganizationsListComponent },\r\n { path: \"organizations/:id/view\", component: OrganizationsViewComponent },\r\n { path: \"organizations/:organizationTypeId\", component: OrganizationsListComponent },\r\n { path: \"organizations/:organizationTypeId/:id\", component: OrganizationsViewComponent },\r\n { path: \"organizations/:id/contacts/:contactId\", component: OrganizationsContactsDetailComponent },\r\n { path: \"contacts/:organizationId/:id\", component: OrganizationsContactsDetailComponent },\r\n { path: \"organizations/:id/contacts/:meetingId\", component: OrganizationsMeetingsDetailComponent },\r\n];\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class OrganizationsRoutingModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OrganizationsTypesService {\r\n url = \"/api/organizationsTypes\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n isDuplied(obj): Observable{\r\n return this.http.post(this.url+\"/isDuplied\",obj);\r\n }\r\n}\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, NavigationExtras, Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogConfig } from 'primeng/dynamicdialog';\r\nimport { AttachmentsDetailComponent } from 'src/app/attachments/attachments-detail/attachments-detail.component';\r\nimport { AttachmentsService } from 'src/app/attachments/attachments.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponentTableComponent } from 'src/app/core/view/component/table/view-component-table.component';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { MailingDetailComponent } from 'src/app/mailing/mailing-detail/mailing-detail.component';\r\nimport { MapsDetailComponent } from 'src/app/maps/maps-detail/maps-detail.component';\r\nimport { TasksDetailComponent } from 'src/app/tasks/tasks-detail/tasks-detail.component';\r\nimport { TasksService } from 'src/app/tasks/tasks.service';\r\nimport { TransactionsDetailComponent } from 'src/app/transactions/transactions-detail/transactions-detail.component';\r\nimport { TransactionsService } from 'src/app/transactions/transactions.service';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { ContactsService } from '../organizations-detail/organizations-contacts-detail/contacts.service';\r\nimport { OrganizationsContactsDetailComponent } from '../organizations-detail/organizations-contacts-detail/organizations-contacts-detail.component';\r\nimport { OrganizationsDetailGeneralComponent } from '../organizations-detail/organizations-detail-general/organizations-detail-general.component';\r\nimport { OrganizationsDetailComponent } from '../organizations-detail/organizations-detail.component';\r\nimport { MeetingsService } from '../organizations-detail/organizations-meetings-detail/meetings.service';\r\nimport { OrganizationsMeetingsDetailComponent } from '../organizations-detail/organizations-meetings-detail/organizations-meetings-detail.component';\r\nimport { OrganizationsService } from '../organizations.service';\r\nimport { MailMarketingNotificationToStatsComponent } from 'src/app/mail-marketing/mail-marketing-notification-to-stats/mail-marketing-notification-to-stats.component';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { CountriesService } from '../../configuration/countries/countries.service';\r\nimport { CampaignsOrganizationsService } from 'src/app/campaigns/campaigns-organizations.service';\r\nimport { AddCampaignsToEntityComponent } from 'src/app/campaigns/add-campaigns-to-entity/add-campaigns-to-entity.component';\r\n\r\n@Component({\r\n selector: 'app-organizations-view',\r\n templateUrl: './organizations-view.component.html',\r\n styleUrls: ['./organizations-view.component.scss']\r\n})\r\nexport class OrganizationsViewComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public organization: any = {};\r\n public country: any = {};\r\n public responsible: any = {};\r\n //Params Contacts:\r\n public contacts: any[];\r\n public contactsTotalRecords: any;\r\n public contactsLoading = false;\r\n public contactsLastGridEvent: any;\r\n //Params Meetings:\r\n public meetingsLoading: boolean;\r\n public meetingsLastGridEvent: any;\r\n public meetingsTotalRecords: any;\r\n public meetings: any;\r\n public view_map_button: boolean;\r\n\r\n public tasksFilters: any = {\r\n is_finished: false,\r\n _sortBy: \"is_finished\",\r\n };\r\n\r\n constructor(\r\n private route: ActivatedRoute,\r\n private router: Router,\r\n private dialogService: DialogService,\r\n private organizationsService: OrganizationsService,\r\n private countriesService: CountriesService,\r\n private campaignOrganizationsService: CampaignsOrganizationsService,\r\n private transactionsService: TransactionsService,\r\n private attachmentsService: AttachmentsService,\r\n private loginService: LoginService,\r\n private tasksService: TasksService,\r\n private messageService: MessageService,\r\n private usersService: UsersService,\r\n private contactsService: ContactsService,\r\n private meetingsService: MeetingsService,\r\n private coreDialogService: CoreDialogService, private viewsService: ViewsService,\r\n private translateService: TranslateService\r\n //private config: DynamicDialogConfig\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.view_map_button = this.loginService.hasPermission(\"VIEW_MAP_BUTTON\");\r\n this.route.params.subscribe(params => {\r\n this.organization.id = params['id'];\r\n this.loadData(params['id']);\r\n });\r\n }\r\n\r\n loadData(id: number) {\r\n this.organization.is_finished = false;\r\n this.organization._sortBy = \"is_finished\";\r\n if (id != 0) {\r\n this.organizationsService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.organization = data;\r\n this.organization.is_finished = false;\r\n this.organization._sortBy = \"is_finished\";\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n loadContacts($event) {\r\n this.view.fireEvent(\"organizations.preview.contacts\", \"reload\");\r\n }\r\n loadMeetings($event) {\r\n this.view.fireEvent(\"organizations.preview.meetings\", \"reload\");\r\n }\r\n edit() {\r\n const ref = this.dialogService.open(OrganizationsDetailGeneralComponent, {\r\n data: {\r\n id: this.organization.id,\r\n },\r\n // header: \"Detalles de la organización\",\r\n width: '70%',\r\n /*baseZIndex: 999*/\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n\r\n if (data) this.loadData(this.organization.id);\r\n this.viewsService.changeView(this.view.code);\r\n })\r\n\r\n }\r\n viewContact(contact) {\r\n const currentUrl = this.router.url;\r\n const navigationExtras: NavigationExtras = {\r\n queryParams: {\r\n returnUrl: currentUrl\r\n }\r\n };\r\n\r\n //this.router.navigate([\"/organizations/\" + this.organization.id + \"/contacts/\" + (contact ? contact.id : 0)]);\r\n this.router.navigate([\"/contacts/\" + (this.organization.id + \"/\") + (contact ? contact.id : 0)], navigationExtras);\r\n }\r\n deleteContact(contact) {\r\n\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.organizations.delete_message_contact\", { name: contact.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.contactsService.delete(contact.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.loadContacts(this.contactsLastGridEvent);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n viewMeeting(meeting) {\r\n var params = {\r\n id: this.organization.id,\r\n contactId: meeting ? meeting.contact_id : 0,\r\n meetingId: meeting ? meeting.id : 0,\r\n deactivated: true\r\n }\r\n // Utiliza router.navigate y pasa el objeto de parámetros\r\n this.router.navigate(['/meetings/', (meeting ? meeting.id : 0)], { queryParams: params });\r\n }\r\n\r\n deleteMeeting(meeting) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.organizations.delete_message_meeting\", { subject: meeting.subject }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.meetingsService.delete(meeting.id).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.loadMeetings(this.meetingsLastGridEvent);\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n )\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n viewTask(task) {\r\n this.openTask(task, null, null);\r\n }\r\n\r\n openTask(task, prev, next) {\r\n var params2: any = {};\r\n var params = {\r\n _sortBy: \"task_action_scheduled_date\",\r\n _sortDirection: \"asc\"\r\n };\r\n params = Object.assign(params, this.tasksFilters);\r\n if (params != null) {\r\n Object.keys(params).forEach(key => {\r\n if (typeof (params[key]) != \"undefined\" && params[key] != null) params2[key] = params[key];\r\n });\r\n }\r\n\r\n params2['organization_id'] = this.organization.id;\r\n // Convierte el objeto params a una cadena JSON\r\n var paramsString = JSON.stringify(params2);\r\n\r\n // Guarda la cadena JSON en el localStorage con la clave \"organization.tasks\"\r\n localStorage.setItem(\"organization.tasks\", paramsString);\r\n localStorage.removeItem(\"tasks.list\");\r\n localStorage.removeItem(\"home.tasks\");\r\n\r\n this.router.navigate(['/tasks/', this.organization.id, (task?.id ? task.id : 0)]);\r\n }\r\n\r\n loadPrevOrNext(id: number) {\r\n let table: ViewComponentTableComponent = this.view.getComponent(\"organizations.preview.tasks\");\r\n let prev: any = null;\r\n let next: any = null;\r\n let task: any = null;\r\n for (let i = 0; i < table.rows.length; i++) {\r\n if (table.rows[i].id == id) {\r\n task = table.rows[i];\r\n if ((i + 1) <= (table.rows.length - 1)) next = table.rows[i + 1];\r\n break;\r\n }\r\n prev = table.rows[i];\r\n }\r\n if (task != null) this.openTask(task, prev, next);\r\n }\r\n\r\n deleteTask(task) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.organizations.delete_message_task\", { subject: task.subject }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.tasksService.delete(task.id).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"organizations.preview.tasks\", \"reload\");\r\n this.view.fireEvent(\"tasksWidget.custom\", \"reload\");\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n )\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n viewOpportunity(opportunity) {\r\n this.router.navigate(['/transactions/', 1, 0, this.organization.id, 0, (opportunity?.id ? opportunity.id : 0)]);\r\n }\r\n deleteOpportunity(opportunity) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.organizations.delete_message_opportunity\"),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.transactionsService.delete(opportunity.id).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"opportunitiesTotalPipeline.custom\", \"reload\");\r\n this.view.fireEvent(\"opportunitiesWidget.custom\", \"reload\");\r\n this.reloadTransactions();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n reloadTransactions() {\r\n this.view.fireEvent(\"organizations.preview.sales\", \"reload\");\r\n this.view.fireEvent(\"organizations.preview.opportunities\", \"reload\");\r\n }\r\n\r\n viewSale(sale) {\r\n this.router.navigate(['/transactions/', 2, 0, this.organization.id, 0, (sale?.id ? sale.id : 0)]);\r\n }\r\n deleteSale(sale) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.organizations.delete_message_sale\"),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.transactionsService.delete(sale.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n /*this.view.fireEvent(\"opportunitiesWidget.custom\", \"reload\");\r\n this.view.fireEvent(\"salesTotalPipeline.custom\", \"reload\");\r\n this.reloadTransactions();*/\r\n this.refreshAll();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n viewAttachment(attachment) {\r\n const ref = this.dialogService.open(AttachmentsDetailComponent, {\r\n data: {\r\n id: attachment ? attachment.id : 0,\r\n entity_id: 1,\r\n entity_pk_id: this.organization.id,\r\n organization_id: this.organization.id\r\n },\r\n //header: attachment ? \"Detalles del adjunto\" : \"Nuevo adjunto\",\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.refreshAll();\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n });\r\n }\r\n deleteAttachment(attachment) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.organizations.delete_message_attachment\", { filename: attachment.filename }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.attachmentsService.delete(attachment.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"organizations.preview.attachments\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => { }\r\n })\r\n }\r\n\r\n newMail(emailAcc, entity_id, entity_pk_id, template_type_code, searchRelated) {\r\n\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n to: emailAcc,\r\n entity_id: entity_id,\r\n entity_pk_id: entity_pk_id,\r\n organization_id: this.organization.id,\r\n template_type_code: template_type_code,\r\n searchRelated: searchRelated\r\n },\r\n header: this.translateService.instant(\"general.new_mail_title\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.view.fireEvent(\"organizations.preview.mails\", \"reload\");\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n });\r\n }\r\n\r\n goToCalendar() {\r\n this.router.navigate(['/calendar', this.organization.id]);\r\n }\r\n\r\n downloadFile(attachment) {\r\n this.attachmentsService.download(attachment.guid);\r\n }\r\n reorderPositions(dragIndex, dropIndex, dragItem, dropItem) {\r\n dragItem.position = dragIndex;\r\n dropItem.position = dropIndex;\r\n }\r\n\r\n setMarker() {\r\n /*if(this.organization.lat == 0 || this.organization.lng == 0){\r\n this.messageService.add({ closable: false, severity: \"error\", detail: \"No se pudo identificar la ubicación en el mapa. Las coordenadas 'latitud' o 'longitud' no son correctas o la dirección está mal escrita.\" });\r\n return;\r\n }*/\r\n if (!this.view_map_button) return;\r\n const ref = this.dialogService.open(MapsDetailComponent, {\r\n data: {\r\n lat: this.organization.lat,\r\n lng: this.organization.lng,\r\n organization: this.organization\r\n },\r\n header: \"Mapa\",\r\n width: '50%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n if (data) {\r\n this.organization = data;\r\n this.organizationsService.save(this.organization.id, this.organization).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.organizations.position_map_updated\") });\r\n },\r\n error: (error: any) => { }\r\n });\r\n }\r\n })\r\n }\r\n\r\n viewMail(data) {\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n mail_id: data.notification_email_id,\r\n organization_id: this.organization.id,\r\n entity_id: data.notificationEmails.entity_id,\r\n //template_type_id: 1,\r\n template_type_code: \"MAIL\",\r\n notification_to_id: data.id,\r\n searchRelated: true\r\n },\r\n header: this.translateService.instant(\"general.new_mail_title\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data) => {\r\n\r\n this.view.fireEvent(\"organizations.preview.mails\", \"reload\");\r\n });\r\n };\r\n\r\n resendMail(data) {\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n resendMail: true,\r\n mail_id: data.notification_email_id,\r\n to: null,\r\n //template_type_id: 1,\r\n template_type_code: \"MAIL\",\r\n is_generic: true,\r\n searchRelated: true\r\n },\r\n header: this.translateService.instant(\"general.resend_mail_title\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data) => {\r\n\r\n this.view.fireEvent(\"organizations.preview.mails\", \"reload\");\r\n });\r\n }\r\n\r\n seeFinalizedTasks(seeFinalizedTasks) {\r\n if (seeFinalizedTasks) {\r\n this.organization.is_finished = true;\r\n } else {\r\n this.organization.is_finished = false;\r\n }\r\n this.view.fireEvent(\"organizations.preview.tasks\", \"reload\");\r\n }\r\n\r\n\r\n viewTransactions(event: any, transactionTypeId, code) {\r\n this.router.navigate(['/transactions/', transactionTypeId, 0, this.organization.id, 0, (event?.data?.id ? event.data.id : 0)]);\r\n }\r\n\r\n deleteTransactions(transaction) {\r\n var code = transaction.transactionType.code;\r\n\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.organizations.delete_message_transaction\", { transactionType: transaction.transactionType.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.transactionsService.delete(transaction.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"organizations.preview.opportunities\", \"reload\");\r\n this.view.fireEvent(\"organizations.preview.sales\", \"reload\");\r\n this.view.fireEvent(code, \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => { }\r\n });\r\n }\r\n\r\n refreshAll() {\r\n this.view.fireEvent(\"organizations.preview.follow_up_opportunities\", \"reload\");\r\n this.view.fireEvent(\"organizations.preview.follow_up_sales\", \"reload\");\r\n this.view.fireEvent(\"salesWidget.custom\", \"reload\");\r\n this.view.fireEvent(\"opportunitiesWidget.custom\", \"reload\");\r\n this.view.fireEvent(\"salesTotalPipeline.custom\", \"reload\");\r\n this.view.fireEvent(\"organizations.preview.attachments\", \"reload\");\r\n this.view.fireEvent(\"organizations.preview.mails\", \"reload\");\r\n this.view.fireEvent(\"organizations.preview.tasks\", \"reload\");\r\n this.view.fireEvent(\"organizations.preview.opportunities\", \"reload\");\r\n this.view.fireEvent(\"organizations.preview.contacts\", \"reload\");\r\n this.view.fireEvent(\"organizations.preview.sales\", \"reload\");\r\n this.view.fireEvent(\"organizations.preview.meetings\", \"reload\");\r\n this.loadData(this.organization.id);\r\n this.view.fireEvent(\"organizations.preview.general\", \"reload\");\r\n this.view.fireEvent(\"organizations.campaigns\", \"reload\");\r\n }\r\n\r\n openEmails() {\r\n //this.router.navigate([\"/organizations\", this.organization.id, \"emails\"]);\r\n this.router.navigate([\"/emails\", this.organization.id]);\r\n }\r\n\r\n openNotificationStats() {\r\n const ref = this.dialogService.open(MailMarketingNotificationToStatsComponent, {\r\n data: {\r\n organization_id: this.organization.id,\r\n },\r\n header: this.translateService.instant(\"component.organizations.report_clicks\"),\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n //nothing\r\n })\r\n }\r\n\r\n unlinkCampaign(campaign) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.organizations.unlink_campaign\", { name: campaign.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.campaignOrganizationsService.unlinkOrganization({ organization_id: this.organization.id, campaign_id: campaign.id }).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.refreshAll();\r\n //this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n openCampaign(campaign) {\r\n window.open(\"/campaigns/\" + (campaign.id ? campaign.id : 0));\r\n }\r\n addCampaigns() {\r\n const ref = this.dialogService.open(AddCampaignsToEntityComponent, {\r\n data: {\r\n id: this.organization.id,\r\n entity: 'organization'\r\n },\r\n header: this.translateService.instant(\"component.campaigns.addCampaigns\"),\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.refreshAll();\r\n });\r\n };\r\n onEvent(event: any) {\r\n if (event.component == \"organizations.preview.general\") {\r\n if (event.event == \"action\" && event.action.name == \"openNotificationStats\") this.openNotificationStats();\r\n if (event.event == \"action\" && event.action.name == \"openEmails\") this.openEmails();\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.edit();\r\n if (event.event == \"fieldAction\" && event.action.name == \"new-mail\") {\r\n var toInfo = { name: \"\", email: event.value }\r\n if (event.action.param == \"INTERNAL\") {\r\n //Cargamos los datos del usuario (o responsible_id o responsible_user_id)\r\n this.usersService.get(event.value).subscribe({\r\n next: (data: any) => {\r\n toInfo = { name: data.name, email: data.email }\r\n this.newMail(toInfo, 1, this.organization.id, \"MAIL_INTERNAL\", false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.newMail(toInfo, 1, this.organization.id, \"MAIL\", true);\r\n }\r\n\r\n }\r\n if (event.event == \"fieldAction\" && event.action.name == \"set-marker\") this.setMarker();\r\n } else if (event.component == \"organizations.preview.meetings\") {\r\n if (event.event == \"dblclick\") this.viewMeeting(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewMeeting(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewMeeting(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteMeeting(event.data);\r\n if (event.event == \"action\" && event.action.name == \"calendar\") this.goToCalendar();\r\n } else if (event.component == \"organizations.preview.contacts\") {\r\n if (event.event == \"dblclick\") this.viewContact(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewContact(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewContact(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteContact(event.data);\r\n if (event.event == \"action\" && event.action.name == \"sendEmailContact\") {\r\n this.newMail({ name: \"\", email: event.data.email, organization_id: event.data.organization_id, contact_id: event.data.id }, 2, event.data.id, \"MAIL\", true);\r\n }\r\n } else if (event.component == \"organizations.preview.tasks\") {\r\n if (event.event == \"reorder\") this.reorderPositions(event.data.dragIndex, event.data.dropIndex, event.dragItem, event.dropItem);\r\n if (event.event == \"dblclick\") this.loadPrevOrNext(event.data.id);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewTask(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.loadPrevOrNext(event.data.id);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteTask(event.data);\r\n if (event.event == \"action\" && event.action.name == \"seeFinalizedTasks\") this.seeFinalizedTasks(true);\r\n if (event.event == \"action\" && event.action.name == \"hideFinalizedTasks\") this.seeFinalizedTasks(false);\r\n } else if (event.component == \"organizations.preview.opportunities\") {\r\n if (event.event == \"dblclick\") this.viewOpportunity(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewOpportunity(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewOpportunity(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteOpportunity(event.data);\r\n } else if (event.component == \"organizations.preview.sales\") {\r\n if (event.event == \"dblclick\") this.viewSale(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewSale(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewSale(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteSale(event.data);\r\n } else if (event.component == \"organizations.preview.attachments\") {\r\n if (event.event == \"dblclick\") this.viewAttachment(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewAttachment(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewAttachment(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteAttachment(event.data);\r\n if (event.event == \"action\" && event.action.name == \"download\") this.downloadFile(event.data);\r\n } else if (event.component == \"organizations.campaigns\") {\r\n if (event.event == \"action\" && event.action.name == \"add\") this.addCampaigns();\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.openCampaign(event.data);\r\n if (event.event == \"action\" && event.action.name == \"unlink\") this.unlinkCampaign(event.data);\r\n } else if (event.component == \"organizations.preview.mails\") {\r\n if (event.event == \"dblclick\") this.viewMail(event.data);\r\n if (event.event == \"action\" && event.action.name == \"view\") this.viewMail(event.data);\r\n if (event.event == \"action\" && event.action.name == \"resend-mail\") this.resendMail(event.data);\r\n } else if (event.component != \"\") {\r\n if (event.event == \"dblclick\") { this.viewTransactions(event, event.data.transaction_type_id, event.data.transactionType.code); }\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewTransactions(null, event.action.transaction_type_id, event.component);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewTransactions(event, event.data.transaction_type_id, event.code.transactionType.code);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteTransactions(event);\r\n }\r\n }\r\n\r\n}\r\n","\r\n
{{organization.name}}
\r\n\r\n\r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { OrganizationsRoutingModule } from './organizations-routing.module';\r\nimport { OrganizationsListComponent } from './organizations-list/organizations-list.component';\r\nimport { OrganizationsDetailComponent } from './organizations-detail/organizations-detail.component';\r\nimport { CardModule } from 'primeng/card';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { TableModule } from 'primeng/table';\r\nimport { FormsModule } from '@angular/forms';\r\nimport {DropdownModule} from 'primeng/dropdown';\r\nimport {ConfirmDialogModule} from 'primeng/confirmdialog';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { OrganizationsContactsDetailComponent } from './organizations-detail/organizations-contacts-detail/organizations-contacts-detail.component';\r\nimport { OrganizationsViewComponent } from './organizations-view/organizations-view.component';\r\nimport { OrganizationsContactsViewComponent } from './organizations-detail/organizations-contacts-view/organizations-contacts-view.component';\r\nimport { OrganizationsDetailGeneralComponent } from './organizations-detail/organizations-detail-general/organizations-detail-general.component';\r\nimport { OrganizationsMeetingsViewComponent } from './organizations-detail/organizations-meetings-view/organizations-meetings-view.component';\r\nimport { OrganizationsMeetingsDetailComponent } from './organizations-detail/organizations-meetings-detail/organizations-meetings-detail.component';\r\nimport { EditorModule } from '@tinymce/tinymce-angular';\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport { CoreModule } from '../core/core.module';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { UserCalendarModule } from '../user-calendar/user-calendar.module';\r\nimport { TasksWidgetComponent } from './organizations-detail/tasks-widget/tasks-widget.component';\r\nimport { OpportunitiesWidgetComponent } from './organizations-detail/opportunities-widget/opportunities-widget.component';\r\nimport { ChartModule } from 'primeng/chart';\r\nimport { OpportunitiesMonthsWidgetComponent } from './organizations-detail/opportunities-months-widget/opportunities-months-widget.component';\r\nimport { OpportunitiesTotalPipelineComponent } from './organizations-detail/opportunities-total-pipeline/opportunities-total-pipeline.component';\r\nimport { SalesTotalPipelineComponent } from './organizations-detail/sales-total-pipeline/sales-total-pipeline.component';\r\nimport { OrganizationsQuickComponent } from './organizations-quick/organizations-quick/organizations-quick.component';\r\nimport { MessagesModule } from 'primeng/messages';\r\nimport { FullCalendarModule } from '@fullcalendar/angular';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n@NgModule({\r\n declarations: [\r\n OrganizationsListComponent,\r\n OrganizationsDetailComponent,\r\n OrganizationsContactsDetailComponent,\r\n OrganizationsViewComponent,\r\n OrganizationsContactsViewComponent,\r\n OrganizationsDetailGeneralComponent,\r\n OrganizationsMeetingsViewComponent,\r\n OrganizationsMeetingsDetailComponent,\r\n TasksWidgetComponent,\r\n OpportunitiesWidgetComponent,\r\n OpportunitiesMonthsWidgetComponent,\r\n OpportunitiesTotalPipelineComponent,\r\n SalesTotalPipelineComponent,\r\n OrganizationsQuickComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n OrganizationsRoutingModule,\r\n ButtonModule,\r\n CardModule,\r\n CoreModule,\r\n FontAwesomeModule,\r\n TableModule,\r\n FormsModule,\r\n DropdownModule,\r\n ConfirmDialogModule,\r\n InputTextModule,\r\n EditorModule,\r\n CalendarModule,\r\n CheckboxModule,\r\n UserCalendarModule,\r\n FullCalendarModule,\r\n ChartModule,\r\n MessagesModule,\r\n TranslateModule\r\n ],\r\n exports:[\r\n OrganizationsListComponent,\r\n OrganizationsDetailComponent,\r\n OrganizationsViewComponent,\r\n OrganizationsContactsDetailComponent,\r\n OrganizationsMeetingsDetailComponent,\r\n OrganizationsQuickComponent\r\n ],\r\n})\r\nexport class OrganizationsModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { LoaderService } from '../core/loader/loader.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class OrganizationsService {\r\n url = \"/api/organizations\";\r\n\r\n constructor(private http: HttpClient, private loaderService: LoaderService) { }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n\r\n statsActivities(id): Observable {\r\n this.loaderService.skipRequest(this.url + \"/\" + id + \"/stats/activities\", null);\r\n return this.http.get(this.url + \"/\" + id + \"/stats/activities\");\r\n }\r\n statsOpportunities(id): Observable {\r\n this.loaderService.skipRequest(this.url + \"/\" + id + \"/stats/opportunities\", null);\r\n return this.http.get(this.url + \"/\" + id + \"/stats/opportunities\");\r\n }\r\n pipelinesOpportunities(id): Observable {\r\n this.loaderService.skipRequest(this.url + \"/\" + id + \"/pipelines/opportunities\", null);\r\n return this.http.get(this.url + \"/\" + id + \"/pipelines/opportunities\");\r\n }\r\n pipelinesSales(id): Observable {\r\n this.loaderService.skipRequest(this.url + \"/\" + id + \"/pipelines/sales\", null);\r\n return this.http.get(this.url + \"/\" + id + \"/pipelines/sales\");\r\n }\r\n isDuplied(obj): Observable{\r\n return this.http.post(this.url+\"/isDuplied\",obj);\r\n }\r\n\r\n getCombo(params): Observable {\r\n return this.http.get(this.url + \"/combo\", { params: params });\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { RouterModule, Routes } from '@angular/router';\r\nimport { PreloadComponent } from './preload.component';\r\n\r\nconst routes: Routes = [\r\n { path: 'preload', component: PreloadComponent }\r\n];\r\n\r\n@NgModule({\r\n imports: [\r\n RouterModule.forChild(routes)\r\n ],\r\n exports: [\r\n RouterModule\r\n ]\r\n})\r\nexport class PreloadRoutingModule {\r\n}\r\n","import { AfterViewInit, Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { ConfigurationService } from '../configuration/configuration.service';\r\nimport { EntitiesService } from '../configuration/entities.service';\r\nimport { environment } from 'src/environments/environment';\r\n\r\n@Component({\r\n selector: 'app-preload',\r\n templateUrl: './preload.component.html',\r\n styleUrls: ['./preload.component.scss']\r\n})\r\n\r\nexport class PreloadComponent {\r\n\r\n constructor(\r\n private entitiesService: EntitiesService,\r\n private route: ActivatedRoute,\r\n private router: Router,\r\n private configurationService: ConfigurationService\r\n ) {\r\n this.loadCustomCss();\r\n this.loadCompanyConfiguration();\r\n }\r\n\r\n loadCustomCss() {\r\n this.configurationService.css().subscribe(\r\n data => {\r\n var head = document.getElementsByTagName(\"head\")[0];\r\n var style = document.createElement(\"style\");\r\n style.textContent = data;\r\n head.appendChild(style);\r\n this.preloadData();\r\n },\r\n error => {\r\n console.error(error);\r\n }\r\n );\r\n }\r\n\r\n loadCompanyConfiguration() {\r\n this.configurationService.configuration().subscribe(\r\n data => {\r\n environment.companyConfiguration = data;\r\n },\r\n error => {\r\n console.error(error);\r\n }\r\n );\r\n }\r\n\r\n preloadData() {\r\n //precargamos entidades\r\n this.entitiesService.initCache((success) => {\r\n this.goToUrl();\r\n });\r\n }\r\n\r\n\r\n goToUrl() {\r\n this.route.queryParams\r\n .subscribe(params => {\r\n if (params.returnUrl.indexOf(\"/preload\") == 0) {\r\n this.router.navigateByUrl(\"/home\");\r\n } else {\r\n this.router.navigateByUrl(params.returnUrl);\r\n }\r\n }\r\n );\r\n }\r\n\r\n}\r\n\r\n\r\n","
\r\n \r\n

\r\n{{'component.preload.wait' | translate}}\r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\n// Components\r\nimport { CoreModule } from '../core/core.module';\r\nimport { ChartModule } from 'primeng/chart';\r\nimport { CardModule } from 'primeng/card';\r\nimport { PreloadRoutingModule } from './preload-routing.module';\r\nimport { PreloadComponent } from './preload.component';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n PreloadRoutingModule,\r\n ChartModule,\r\n CoreModule, \r\n CardModule,\r\n TranslateModule\r\n ],\r\n declarations: [\r\n PreloadComponent\r\n ]\r\n })\r\n export class PreloadModule {\r\n }\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig } from 'primeng/dynamicdialog';\r\nimport { AttachmentsDataService } from 'src/app/attachments/attachments-data.service';\r\nimport { AttachmentsService } from 'src/app/attachments/attachments.service';\r\nimport { ProductsService } from '../products.service';\r\n\r\n@Component({\r\n selector: 'app-products-catalogue',\r\n templateUrl: './products-catalogue.component.html',\r\n styleUrls: ['./products-catalogue.component.scss']\r\n})\r\nexport class ProductsCatalogueComponent implements OnInit {\r\n\r\n //Atributos:\r\n public selectedProduct: any;\r\n public products: any[] = [];\r\n public attachmentsData: any[] = [];\r\n public attachments: any[] = [];\r\n public imageUrls: any[] = [];\r\n\r\n constructor(\r\n private attachmentsDataService: AttachmentsDataService,\r\n private attachmentsService: AttachmentsService,\r\n private productsService: ProductsService,\r\n private config: DynamicDialogConfig,\r\n private messageService: MessageService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadProducts();\r\n }\r\n\r\n loadProducts() {\r\n let params = {};\r\n if (this.config.data.filters != null) params = this.config.data.filters;\r\n this.productsService.all(params).subscribe(\r\n data => {\r\n this.products = data.rows;\r\n this.assignIndex(this.products);\r\n\r\n if(this.products){\r\n //Si hay algún producto en la lista, cargamos el attachmentData del primero en el array:\r\n this.selectedProduct = this.products[0];\r\n this.loadAttachmentsData(this.selectedProduct);\r\n }\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n assignIndex(arrayObject:any){\r\n var index = 0;\r\n arrayObject.forEach(element => {\r\n element.index = index;\r\n index++;\r\n });\r\n }\r\n\r\n loadAttachmentsData(product) {\r\n if(product==null || product.id==null) return;\r\n this.attachmentsDataService.all({entity_id: 8, entity_pk_id: product.id}).subscribe(\r\n data => {\r\n this.attachmentsData = data.rows;\r\n this.loadImageUrls();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n loadAttachments(product) {\r\n this.attachmentsService.all({ entity_id: 8, entity_pk_id: product.id , mimetype: \"image\" }).subscribe(\r\n data => {\r\n this.attachments = data.rows;\r\n //this.loadAttachmentsData();\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n selectProduct(product) {\r\n this.loadAttachmentsData(product);\r\n this.selectedProduct = product;\r\n }\r\n\r\n loadImageUrls(){\r\n this.imageUrls=[];\r\n this.attachmentsData.forEach(attachmentData => {\r\n this.imageUrls.push('data:image/jpeg;base64,'+attachmentData.b64);\r\n });\r\n }\r\n\r\n nextProduct(selectedProduct){\r\n //Buscamos el siguiente índice:\r\n this.products.forEach(product => {\r\n if(product.index == selectedProduct.index+1){\r\n this.selectedProduct = product;\r\n }\r\n });\r\n \r\n //Actualizamos las imágenes que se muestran:\r\n this.loadAttachmentsData(this.selectedProduct);\r\n }\r\n\r\n previousProduct(){\r\n //Buscamos el anterior índice:\r\n this.products.forEach(product=>{\r\n if(product.index == this.selectedProduct.index-1){\r\n this.selectedProduct = product;\r\n }\r\n });\r\n\r\n //Actualizamos las imágenes que se muestran:\r\n this.loadAttachmentsData(this.selectedProduct);\r\n }\r\n}\r\n","
\r\n
\r\n \r\n
    \r\n
  • \r\n {{product.code}}
    \r\n {{product.name}}\r\n
  • \r\n
  • No hay productos.
  • \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n

{{selectedProduct.code}}

\r\n

{{selectedProduct.name}}

\r\n

{{selectedProduct.description}}

\r\n

{{selectedProduct.price}} €

\r\n

Stock: {{selectedProduct.current_stock}}

\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { AttachmentsDetailComponent } from 'src/app/attachments/attachments-detail/attachments-detail.component';\r\nimport { AttachmentsService } from 'src/app/attachments/attachments.service';\r\nimport { TaxRatesService } from 'src/app/configuration/tax-rates/tax-rates.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { ProductsService } from '../products.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-products-detail',\r\n templateUrl: './products-detail.component.html',\r\n styleUrls: ['./products-detail.component.scss']\r\n})\r\nexport class ProductsDetailComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public product: any = {}\r\n public tax_rates: any;\r\n public lastGridEvent: any;\r\n\r\n constructor(\r\n private productsService: ProductsService,\r\n private taxRatesService: TaxRatesService,\r\n private attachmentsService: AttachmentsService,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private dialogService: DialogService,\r\n private coreDialogService: CoreDialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private viewsService: ViewsService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadTaxRates();\r\n this.loadData(this.config.data.id);\r\n }\r\n loadData(id) {\r\n if (id) {\r\n this.productsService.get(id).subscribe(\r\n data => {\r\n this.product = data;\r\n //Eliminado, no se porqué estaba.\r\n //this.product.tax_percent = this.product.tax_percent + \"\";\r\n\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n }\r\n loadTaxRates() {\r\n this.taxRatesService.all({}).subscribe(\r\n data => {\r\n this.tax_rates = data.rows;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n save(event: any) {\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n if (true) { //this.view.viewForm.valid){\r\n this.product.family = null;\r\n this.product.subfamily = null;\r\n this.product.taxRate = null;\r\n\r\n if (typeof this.product.id === \"undefined\") {\r\n this.productsService.add(this.product).subscribe({\r\n next: (data: any) => {\r\n this.product = data;\r\n this.loadData(this.product.id);\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.products.detail.add_product_correct\") });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.productsService.save(this.product.id, this.product).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.products.detail.save_product_correct\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n } \r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.products.delete_message\", { name: this.product.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.productsService.delete(this.product.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n downloadFile(attachment) {\r\n this.attachmentsService.download(attachment.guid);\r\n }\r\n\r\n viewAttachment(attachment) {\r\n const ref = this.dialogService.open(AttachmentsDetailComponent, {\r\n data: {\r\n id: attachment ? attachment.id : 0,\r\n entity_id: 8,\r\n entity_pk_id: this.product.id,\r\n organization_id: this.product.organization_id\r\n },\r\n //header: attachment ? \"Detalles del adjunto\" : \"Nuevo adjunto\",\r\n width: '70%',\r\n /*baseZIndex: 999*/\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"products.edit.attachments\", \"reload\");\r\n })\r\n }\r\n\r\n deleteAttachment(attachment) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.products.edit.delete_message_attachments\", { filename: attachment.filename }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.attachmentsService.delete(attachment.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"products.edit.attachments\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n isDuplied(product, event) {\r\n \r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n this.product.family = null;\r\n this.product.subfamily = null;\r\n this.product.taxRate = null;\r\n\r\n this.productsService.isDuplied(this.product).subscribe({\r\n next: (data: any) => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.products.detail.product_duplicate\"),\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save(event);\r\n }\r\n }\r\n });\r\n }\r\n onEvent(event) {\r\n if (event.component == \"products.edit.general\") {\r\n if (event.event == \"onChange\") {\r\n var net_price = parseFloat(this.product.net_price);\r\n if (this.product.tax_rate_id > 0) {\r\n this.product.price = net_price + (net_price * this.tax_rates.find(m => m.id == this.product.tax_rate_id).percent / 100);\r\n } else {\r\n this.product.price = net_price ? net_price : 0;\r\n }\r\n //this.product.price = net_price + (net_price * this.product.tax_percent/100);\r\n }\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.isDuplied(this.product, event);\r\n } else if (event.component == \"products.edit.attachments\") {\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewAttachment(null);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteAttachment(event.data);\r\n if (event.event == \"dblclick\") this.viewAttachment(event.data);\r\n if (event.event == \"action\" && event.action.name == \"download\") this.downloadFile(event.data);\r\n }\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n\r\n this.config.header = typeof (this.product.id) !== \"undefined\" ?\r\n this.translateService.instant(\"component.products.detail.detail_entity\", { entity_name: this.view.getEntityBaseName() })\r\n :\r\n this.translateService.instant(\"component.products.detail.new_entity\", { entity_name: this.view.getEntityBaseName() });\r\n }\r\n }\r\n}\r\n","","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { ProductsCatalogueComponent } from '../products-catalogue/products-catalogue.component';\r\nimport { ProductsDetailComponent } from '../products-detail/products-detail.component';\r\nimport { ProductsService } from '../products.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-products-list',\r\n templateUrl: './products-list.component.html',\r\n styleUrls: ['./products-list.component.scss']\r\n})\r\nexport class ProductsListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public products: any[];\r\n public lastGridEvent: any;\r\n public totalRecords: any;\r\n public loading: boolean;\r\n public productsFilters: any = {};\r\n\r\n constructor(\r\n private productsService: ProductsService,\r\n private dialogService: DialogService,\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private router: Router,\r\n private viewsService: ViewsService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n viewProduct(product) {\r\n const ref = this.dialogService.open(ProductsDetailComponent, {\r\n data: {\r\n id: product ? product.id : 0\r\n },\r\n //header: product ? \"Detalles del producto\" : \"Nuevo producto\",\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"products.list.results\", \"reload\");\r\n })\r\n }\r\n delete(product) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.products.delete_message\", { name: product.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.productsService.delete(product.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.router.navigate(['/products']);\r\n this.view.fireEvent(\"products.list.results\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => { }\r\n });\r\n }\r\n\r\n viewCatalogue() {\r\n var realFilters = {};\r\n for(var k in this.productsFilters) {\r\n if (this.productsFilters[k] != null && this.productsFilters[k] != 'undefined' && Object.keys(this.productsFilters[k]).length) realFilters[k] = this.productsFilters[k];\r\n }\r\n const ref = this.dialogService.open(ProductsCatalogueComponent, {\r\n data: {\r\n filters: realFilters\r\n },\r\n header: this.translateService.instant(\"component.products.catalogue\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"products.list.results\", \"reload\");\r\n })\r\n }\r\n\r\n onReloadProducts(filters:any){\r\n //guardamos los ultimos filtros utilizados\r\n this.productsFilters = filters;\r\n }\r\n\r\n onEvent(event: any) {\r\n if (event.component == \"products.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"products.list.results\", \"reload\");\r\n } else if (event.component == \"products.list.results\") {\r\n if (event.event == \"reload\") this.onReloadProducts(event.filters);\r\n if (event.event == \"dblclick\") this.viewProduct(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewProduct(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewProduct(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete(event.data);\r\n if (event.event == \"action\" && event.action.name == \"catalogue\") this.viewCatalogue();\r\n if (event.event == \"action\" && event.action.name == \"search\") {\r\n this.view.fireEvent(\"products.list.results\", \"reload\", event.data);\r\n }\r\n }\r\n\r\n }\r\n}\r\n","
{{view.getEntityBaseName(true)}}
\r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { ProductsListComponent } from './products-list/products-list.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"products\", component: ProductsListComponent}\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class ProductsRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { ProductsRoutingModule } from './products-routing.module';\r\nimport { ProductsListComponent } from './products-list/products-list.component';\r\nimport { TableModule } from 'primeng/table';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextareaModule } from 'primeng/inputtextarea';\r\nimport { SplitButtonModule } from 'primeng/splitbutton';\r\nimport { TimelineModule } from 'primeng/timeline';\r\nimport { CoreModule } from '../core/core.module';\r\nimport { ProductsDetailComponent } from './products-detail/products-detail.component';\r\nimport { ProductsCatalogueComponent } from './products-catalogue/products-catalogue.component';\r\nimport {CarouselModule} from 'primeng/carousel';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n@NgModule({\r\n declarations: [ProductsListComponent, ProductsDetailComponent, ProductsCatalogueComponent],\r\n imports: [\r\n CommonModule,\r\n ProductsRoutingModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n InputTextareaModule,\r\n DropdownModule,\r\n CalendarModule,\r\n SplitButtonModule,\r\n TimelineModule,\r\n CarouselModule,\r\n TranslateModule\r\n ],\r\n exports:[ProductsListComponent]\r\n})\r\nexport class ProductsModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ProductsService {\r\n url = \"/api/products\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n\r\n isDuplied(obj): Observable {\r\n return this.http.post(this.url + \"/isDuplied\", obj);\r\n }\r\n\r\n getCharacteristics(): Observable {\r\n return this.http.get(this.url + \"/getCharacteristics\");\r\n }\r\n\r\n getOptions(params): Observable {\r\n return this.http.get(this.url + \"/getoptions\", { params: params });\r\n }\r\n}\r\n","import { DatePipe } from '@angular/common';\nimport { Component, ViewChild } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { MessageService } from 'primeng/api';\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\nimport { TemplatesService } from 'src/app/configuration/templates/templates.service';\nimport { ViewComponent } from 'src/app/core/view/view.component';\nimport { ReportsService } from '../../reports.service';\nimport { AttachmentsService } from 'src/app/attachments/attachments.service';\nimport { ViewsService } from 'src/app/core/view/views.service';\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\nimport { TranslateService } from '@ngx-translate/core';\nimport { CampaignsService } from 'src/app/campaigns/campaigns.service';\nimport { UserMailAccountsService } from 'src/app/users/users-mail-accounts-detail/user-mail-accounts.service';\nimport { MailingAttachmentsComponent } from 'src/app/mailing/mailing-attachments/mailing-attachments.component';\nimport { environment } from 'src/environments/environment';\nimport { CampaignsContactsService } from 'src/app/campaigns/campaigns-contacts.service';\nimport { CampaignsOrganizationsService } from 'src/app/campaigns/campaigns-organizations.service';\nimport { TasksService } from 'src/app/tasks/tasks.service';\nimport { TransactionsService } from 'src/app/transactions/transactions.service';\nimport { MeetingsService } from 'src/app/organizations/organizations-detail/organizations-meetings-detail/meetings.service';\nimport { NotificationsService } from 'src/app/notifications/notifications.service';\n\n@Component({\n selector: 'app-report-campaign',\n templateUrl: './report-campaign.component.html',\n styleUrls: ['./report-campaign.component.scss']\n})\nexport class ReportCampaignComponent {\n @ViewChild(\"view\") public view: ViewComponent;\n public campaigns: any[] = [];\n public entity_id: any;\n public entity_pk_id: any;\n public selected_campaign_id: any;\n public selectedMailAccount: any = null;\n public emails: any = [];\n public results: any = [];\n public resultsCorrects: any = [];\n public totalRows: number = 0;\n public rows: any = Array();\n public entity: any = {};\n public reportId: number;\n public selected: any[] = [];\n public schedules: any[] = [];\n public tinyMceConfig: any;\n\n public add_organizations_checkbox: boolean;\n public add_contacts_checkbox: boolean;\n public visible_organizations_checkbox: boolean;\n public visible_contacts_checkbox: boolean;\n\n public page: number;\n public totalPages: number;\n public prevTotalRows: number;\n\n\n constructor(\n private route: ActivatedRoute,\n private campaignsService: CampaignsService,\n private campaignsContactsService: CampaignsContactsService,\n private campaignsOrganizationsService: CampaignsOrganizationsService,\n private tasksService: TasksService,\n private transactionsService: TransactionsService,\n private meetingsService: MeetingsService,\n private notificationsService: NotificationsService,\n private messageService: MessageService,\n private config: DynamicDialogConfig,\n private dynamicDialogRef: DynamicDialogRef,\n private datePipe: DatePipe,\n private reportsService: ReportsService,\n private router: Router,\n private dialogService: DialogService,\n private viewsService: ViewsService,\n private coreDialogService: CoreDialogService,\n private translateService: TranslateService\n ) { }\n\n ngOnInit() {\n this.schedules = [{ label: this.translateService.instant(\"component.reports.detail.send_now\"), value: \"now\" }, { label: this.translateService.instant(\"component.reports.detail.select_datetime\"), value: \"customdate\" }]\n this.entity_id = this.config.data.entity_id;\n this.entity_pk_id = this.config.data.entity_pk_id;\n this.page = this.config.data.page;\n this.totalPages = this.config.data.totalPages;\n this.prevTotalRows = this.config.data.totalRows;\n\n this.loadCampaigns();\n this.route.params.subscribe(params => {\n this.loadData(this.config.data.reportId, this.config.data.reportResults, this.config.data.entity, this.config.data.entity_id, this.config.data.entity_pk_id);\n });\n }\n\n loadData(reportId: number, results: any, entity: any, entity_id: number, entity_pk_id: number) {\n this.reportId = reportId;\n this.results = results;\n this.entity = entity;\n\n this.revealCheckboxes();\n\n this.entity_id = entity_id;\n this.entity_pk_id = entity_pk_id;\n\n if (this.prevTotalRows > 500) {\n this.selected = this.results.baseIds;\n } else {\n this.selected = this.results.values.map(m => m.base_id + \"\");\n }\n\n this.reportsService.GetElementsFromReport(this.selected, this.reportId).subscribe({\n next: (res: any) => {\n this.resultsCorrects = res;\n this.selected = this.resultsCorrects.map(m => m + \"\");\n this.rows = this.results.values.filter(m => this.selected.includes(m.base_id + \"\"));\n this.totalRows = this.rows.length;\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n\n loadCampaigns() {\n this.campaignsService.all({}).subscribe({\n next: (data: any) => {\n this.campaigns = data.rows;\n this.campaigns.unshift({ name: this.translateService.instant(\"component.reports.detail.none\") });\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n cancel() {\n this.dynamicDialogRef.close();\n }\n\n getRowValue(header, value = \"\", item) {\n\n if (typeof (this.entity.fields) !== \"undefined\") {\n\n let field = this.entity.fields.find(m => m.id == header.entity_field_id);\n let property = field.model_property;\n if (field.model_property_label != null && field.model_property_label != \"\") property = field.model_property_label;\n\n let formatFn = field.formatFn;\n if (formatFn == null && field.configuration != null && field.configuration.formatFn != null) {\n formatFn = field.configuration.formatFn;\n }\n if (formatFn != null) {\n var format = formatFn.split(\"|\");\n if (format[0] == \"date\") value = this.formatDate(value, format);\n if (format[0] == \"suffix\") value = this.formatSuffix(value, format);\n if (format[0] == \"phone\") value = this.formatPhone(value, format);\n if (format[0] == \"mail\") value = this.formatMail(value, format);\n if (format[0] == \"www\") value = this.formatWWW(value, format);\n //if (format[0] == \"badge\") value = this.formatBadge(field, value, format);\n if (format[0] == \"image\") value = this.formatImage(field, format);\n if (format[0] == \"currency\") value = this.formatCurrency(value, format);\n if (format[0] == \"number\") value = this.formatNumber(value, format);\n }\n if (String(value) === \"false\") value = \"No\";\n if (String(value) === \"true\") value = \"Si\";\n if (value == null || value == \"\") value = \" \";\n }\n return value;\n }\n\n formatDate(value: any, args: any[]) {\n if (value == null || value == \"null\" || value == \"\") return \"\";\n return this.datePipe.transform(value, args[1]);\n }\n formatSuffix(value: any, args: any[]) {\n return value + args[1];\n }\n formatPhone(value: any, args: any[]) {\n if (value == null) return \"\";\n var formattedValue = \"\" + value + \"\";\n return formattedValue;\n }\n formatMail(value: any, args: any[]) {\n if (value == null) return \"\";\n var formattedValue = \"\" + value + \"\";\n return formattedValue;\n }\n formatWWW(value: any, args: any[]) {\n if (value == null) return \"\";\n if (!value.startsWith(\"http\")) {\n value = \"https://\" + value;\n }\n var formattedValue = \"\" + value + \"\";\n return formattedValue;\n }\n formatBadge(field: any, value: any, args: any[]) {\n //TODO: Falta revisar este.\n if (value == null) return \"\";\n let className = \"\";\n let subClassName = \"\";\n if (field) {\n let refValue = \"\";\n if (args[1] != \"\") {\n try {\n let valorID = eval(\"row.\" + field.model_property);\n subClassName = args[1] + valorID;\n } catch (e) {\n console.error(`Error evaluando this.model.${field.entityField.model_property}`);\n }\n }\n className = \"badge badge-block \" + subClassName;\n var formattedValue = \"
\" + value + \"
\";\n }\n return formattedValue;\n }\n formatImage(value: any, args: any[]) {\n if (value == null) return \"\";\n var formattedValue = `
\"Avatar\"
Zsazsa McCleverty@zmcclevertye
`;\n return formattedValue;\n }\n formatCurrency(value: any, args: any[]) {\n if (value == null) return \"0 €\";\n var formattedValue = new Intl.NumberFormat(environment.companyConfiguration.locale, { style: \"currency\", currency: environment.companyConfiguration.currency, useGrouping: true }).format(value);\n return formattedValue;\n }\n formatNumber(value: any, args: any[]) {\n if (value == null) return \"0\";\n var formattedValue = new Intl.NumberFormat(environment.companyConfiguration.locale).format(value)\n return formattedValue;\n }\n\n onMailAccountChange() {\n }\n\n saveCampaign() {\n switch (this.entity.code) {\n case \"contact\":\n this.saveCampaignContacts();\n break;\n case \"organization\":\n this.saveCampaignOrganizations();\n break;\n case \"task\":\n this.saveTasksToCampaign();\n break;\n case \"oportunity\":\n this.saveTransactionsToCampaign();\n break;\n case \"sale\":\n this.saveTransactionsToCampaign();\n break;\n case \"transaction\":\n this.saveTransactionsToCampaign();\n break;\n case \"meeting\":\n this.saveMeetingsToCampaign();\n break;\n case \"notifications\":\n this.saveNotificationsToCampaign();\n break;\n case \"notificationStats\":\n this.saveNotificationsStatsToCampaign();\n break;\n default:\n break;\n }\n }\n\n saveTasksToCampaign() {\n this.tasksService.addMultiplesToCampaign({ campaign_id: this.selected_campaign_id, ids: this.selected, add_organizations_checkbox: this.add_organizations_checkbox, add_contacts_checkbox: this.add_contacts_checkbox }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_campaign\") });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n\n saveTransactionsToCampaign() {\n this.transactionsService.addMultiplesToCampaign({ campaign_id: this.selected_campaign_id, ids: this.selected, add_organizations_checkbox: this.add_organizations_checkbox, add_contacts_checkbox: this.add_contacts_checkbox }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_campaign\") });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n\n saveMeetingsToCampaign() {\n this.meetingsService.addMultiplesToCampaign({ campaign_id: this.selected_campaign_id, ids: this.selected, add_organizations_checkbox: this.add_organizations_checkbox, add_contacts_checkbox: this.add_contacts_checkbox }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_campaign\") });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n\n saveNotificationsToCampaign() {\n this.notificationsService.addMultiplesToCampaign({ campaign_id: this.selected_campaign_id, ids: this.selected, add_organizations_checkbox: this.add_organizations_checkbox, add_contacts_checkbox: this.add_contacts_checkbox }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_campaign\") });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n\n saveNotificationsStatsToCampaign() {\n this.notificationsService.addMultiplesToCampaign({ campaign_id: this.selected_campaign_id, ids: this.selected, add_organizations_checkbox: this.add_organizations_checkbox, add_contacts_checkbox: this.add_contacts_checkbox, entity_code: this.entity.code }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_campaign\") });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n\n saveCampaignOrganizations() {\n this.campaignsOrganizationsService.addMultiples({ campaign_id: this.selected_campaign_id, ids: this.selected }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_campaign\") });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n\n saveCampaignContacts() {\n this.campaignsContactsService.addMultiples({ campaign_id: this.selected_campaign_id, ids: this.selected, add_organizations_checkbox: this.add_organizations_checkbox, add_contacts_checkbox: this.add_contacts_checkbox }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.added_elements_to_campaign\") });\n this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n });\n }\n\n revealCheckboxes() {\n switch (this.entity.code) {\n case \"contact\":\n this.visible_contacts_checkbox = false;\n this.visible_organizations_checkbox = true;\n break;\n case \"organization\":\n this.visible_contacts_checkbox = false;\n this.visible_organizations_checkbox = false;\n break;\n case \"task\":\n this.visible_contacts_checkbox = true;\n this.visible_organizations_checkbox = true;\n break;\n case \"oportunity\":\n this.visible_contacts_checkbox = true;\n this.visible_organizations_checkbox = true;\n break;\n case \"sale\":\n this.visible_contacts_checkbox = true;\n this.visible_organizations_checkbox = true;\n break;\n case \"transaction\":\n this.visible_contacts_checkbox = true;\n this.visible_organizations_checkbox = true;\n break;\n case \"meeting\":\n this.visible_contacts_checkbox = true;\n this.visible_organizations_checkbox = true;\n break;\n case \"notifications\":\n this.visible_contacts_checkbox = false;\n this.visible_organizations_checkbox = false;\n break;\n case \"notificationStats\":\n //this.visible_contacts_checkbox = true;\n //this.visible_organizations_checkbox = true;\n break;\n default:\n this.visible_contacts_checkbox = false;\n this.visible_organizations_checkbox = false;\n break;\n }\n }\n}\n","
\n \n\n
\n
\n \n
\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n {{'general.not_data' | translate }}\n \n \n \n \n
\n
\n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n
\n\n
\n
\n \n \n
\n
\n","import { DatePipe } from '@angular/common';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ReportsService } from '../../reports.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-report-clonator',\r\n templateUrl: './report-clonator.component.html',\r\n styleUrls: ['./report-clonator.component.scss']\r\n})\r\nexport class ReportClonatorComponent implements OnInit {\r\n\r\n public report: any = {};\r\n\r\n constructor(\r\n private route: ActivatedRoute,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private coreDialogService: CoreDialogService,\r\n private reportsService: ReportsService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.route.params.subscribe(params => {\r\n this.loadData(this.config.data.report_id);\r\n });\r\n }\r\n\r\n loadData(id) {\r\n this.reportsService.get(id).subscribe(\r\n data => {\r\n this.report = data;\r\n this.report.name = this.translateService.instant(\"component.reports.detail.copy_of\", { name: this.report.name });\r\n delete this.report.id;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n cloneReport() {\r\n if (this.report.name.length > 0) {\r\n this.reportsService.add(this.report).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.detail.report_duplicated_correct\") });\r\n this.dynamicDialogRef.close(data);\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n }else{\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: this.translateService.instant(\"component.reports.detail.name_cant_be_empty\") });\r\n };\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n}\r\n","
\r\n \r\n \r\n
\r\n\r\n\r\n","import { DatePipe } from '@angular/common';\r\nimport { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ReportsService } from '../../reports.service';\r\nimport { UntypedFormControl, UntypedFormGroup, NgForm, Validators } from '@angular/forms';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { TasksActionTypesService } from 'src/app/tasks/tasks-action-types.service';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { CoreFormService } from 'src/app/core/forms/core-forms.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { CampaignsService } from 'src/app/campaigns/campaigns.service';\r\n\r\n@Component({\r\n selector: 'app-report-create-task',\r\n templateUrl: './report-create-task.component.html',\r\n styleUrls: ['./report-create-task.component.scss']\r\n})\r\nexport class ReportCreateTaskComponent implements OnInit {\r\n @ViewChild(\"formDetails\") public formDetails: NgForm;\r\n public myForm = new UntypedFormGroup({\r\n task_action_id: new UntypedFormControl('', Validators.required),\r\n task_action_description: new UntypedFormControl(''),\r\n responsible_user_id: new UntypedFormControl('', Validators.required),\r\n task_action_scheduled_date: new UntypedFormControl('', Validators.required),\r\n task_action_scheduled_date_end: new UntypedFormControl(''),\r\n selected_campaign_id: new UntypedFormControl(''),\r\n add_organizations_checkbox: new UntypedFormControl(''),\r\n add_contacts_checkbox: new UntypedFormControl('')\r\n });\r\n public organizations: any = [];\r\n public selected: any[] = [];\r\n public tasksActionTypes: any = [];\r\n public responsibles: any = [];\r\n public connectedUser: any = {};\r\n public action: any = {\r\n task_action_scheduled_date: new Date()\r\n };\r\n public task: any = {\r\n responsible_user_id: parseInt(this.loginService.get(\"userId\")),\r\n organizationIds: []\r\n };\r\n public results: any = [];\r\n public totalRows: number = 0;\r\n public rows: any = Array();\r\n public entity: any = {};\r\n public reportId: number;\r\n public create_multiple_task: string;\r\n\r\n public selected_campaign_id: any;\r\n public campaigns: any[] = [];\r\n public add_organizations_checkbox: boolean = false;\r\n public add_contacts_checkbox: boolean = false;\r\n public visible_organizations_checkbox: boolean;\r\n public visible_contacts_checkbox: boolean;\r\n public campaigns_permission: boolean;\r\n\r\n\r\n public prevTotalRows: number;\r\n\r\n constructor(private route: ActivatedRoute,\r\n private campaignsService: CampaignsService,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private coreDialogService: CoreDialogService,\r\n private datePipe: DatePipe,\r\n private reportsService: ReportsService,\r\n private entitiesService: EntitiesService,\r\n private coreFormService: CoreFormService,\r\n private tasksActionTypesService: TasksActionTypesService,\r\n private loginService: LoginService,\r\n private usersService: UsersService, private translateService: TranslateService) { }\r\n\r\n ngOnInit() {\r\n this.prevTotalRows = this.config.data.totalRows;\r\n this.campaigns_permission = this.loginService.hasPermission(\"REPORTS_ACTIONS_CAMPAIGNS\");\r\n this.route.params.subscribe(params => {\r\n this.loadData(this.config.data.reportId, this.config.data.reportResults, this.config.data.entity);\r\n });\r\n this.loadTasksActionTypes();\r\n this.loadCampaigns();\r\n this.loadResponsibles();\r\n }\r\n\r\n loadData(reportId: number, results: any, entity: any) {\r\n this.reportId = reportId;\r\n this.results = results;\r\n this.rows = this.results.values;\r\n this.totalRows = this.rows.length;\r\n this.entity = entity;\r\n if (this.prevTotalRows > 500) {\r\n this.selected = this.results.baseIds;\r\n } else {\r\n //this.selected = this.results.values.map(m => m.base_id + \"\");\r\n this.selected = this.rows.map(m => m.base_id + \"\");\r\n }\r\n this.revealCheckboxes();\r\n\r\n\r\n this.create_multiple_task = this.translateService.instant(\"component.reports.detail.create_multiple_task\", { selectedLength: this.selected.length });\r\n var now = new Date();\r\n var nowMultiple = now.setMinutes(Math.ceil(now.getMinutes() / 15) * 15);\r\n\r\n this.myForm.patchValue({\r\n responsible_user_id: this.task.responsible_user_id,\r\n task_action_id: null,\r\n task_action_description: null,\r\n task_action_scheduled_date: new Date(nowMultiple),\r\n task_action_scheduled_date_end: null,\r\n });\r\n }\r\n\r\n getCalendarInputClass(type): string {\r\n switch (type) {\r\n case 0:\r\n return this.myForm.get('task_action_scheduled_date').invalid && this.myForm.get('task_action_scheduled_date').touched ? 'ng-invalid' : '';\r\n case 1:\r\n return this.myForm.get('task_action_scheduled_date_end').invalid && this.myForm.get('task_action_scheduled_date_end').touched ? 'ng-invalid' : '';\r\n }\r\n }\r\n\r\n loadTasksActionTypes() {\r\n this.tasksActionTypesService.all({}).subscribe(\r\n data => {\r\n this.tasksActionTypes = data.rows;\r\n }\r\n )\r\n }\r\n loadResponsibles() {\r\n this.usersService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.responsibles = data.rows;\r\n this.responsibles.unshift({ id: -2, name: this.translateService.instant(\"component.reports.detail.entity_responsible\") });\r\n this.responsibles.unshift({ id: -1, name: this.translateService.instant(\"component.reports.detail.organization_responsible\") });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n getNumberOfDays(start, end) {\r\n const date1 = new Date(start);\r\n const date2 = new Date(end);\r\n\r\n // One day in milliseconds\r\n const oneDay = 1000 * 60 * 60 * 24;\r\n\r\n // Calculating the time difference between two dates\r\n var d2 = date2.getTime();\r\n var d1 = date1.getTime() - (date1.getTime() % 86400000);\r\n\r\n const diffInTime = d2 - d1;\r\n\r\n // Calculating the no. of days between two dates\r\n const diffInDays = Math.round(diffInTime / oneDay);\r\n\r\n return diffInDays + 1;\r\n\r\n }\r\n\r\n getTotal() {\r\n if (this.prevTotalRows > 500) {\r\n this.create_multiple_task = this.translateService.instant(\"component.reports.detail.create_multiple_task\", { selectedLength: this.prevTotalRows });\r\n } else {\r\n this.create_multiple_task = this.translateService.instant(\"component.reports.detail.create_multiple_task\", { selectedLength: this.selected.length });\r\n }\r\n return this.create_multiple_task;\r\n }\r\n\r\n getTotalPerDay() {\r\n let numDays = 1;\r\n //if (this.prevTotalRows > 500) return this.translateService.instant(\"component.reports.num_total_tasks_create\", { numTasks: this.prevTotalRows / numDays });\r\n if (this.myForm.get('task_action_scheduled_date').value != null) {\r\n if (this.myForm.get('task_action_scheduled_date_end').value != null) {\r\n\r\n numDays = this.getNumberOfDays(this.myForm.get('task_action_scheduled_date').value, this.myForm.get('task_action_scheduled_date_end').value);\r\n }\r\n if (Number.isInteger(this.selected.length / numDays)) {\r\n return this.translateService.instant(\"component.reports.num_total_tasks_create\", { numTasks: this.selected.length / numDays });\r\n } else {\r\n return this.translateService.instant(\"component.reports.num_total_tasks_equitable\", { numDays: numDays });\r\n }\r\n }\r\n\r\n }\r\n\r\n validar() {\r\n if (this.task.task_action_id == null || this.task.task_action_id == 0) return false;\r\n if (this.task.responsible_user_id == null || this.task.responsible_user_id == 0) return false;\r\n if (this.task.task_action_scheduled_date == null) return false;\r\n if (this.task.task_action_scheduled_date_end == null) return false;\r\n if (this.task.task_action_description == null) return false;\r\n return true;\r\n }\r\n\r\n save() {\r\n if (this.validar() == false) {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: this.translateService.instant(\"component.reports.detail.all_fields_same_value\") });\r\n return;\r\n }\r\n if (this.task.task_action_scheduled_date != null) this.task.task_action_scheduled_date = new Date(this.task.task_action_scheduled_date).toISOString();\r\n let organizationsIds = this.selected.map(m => m.id);\r\n this.reportsService.addMultiplesTasks(this.task, this.selected, this.reportId, organizationsIds, this.selected_campaign_id, this.add_organizations_checkbox, this.add_contacts_checkbox).subscribe({\r\n next: (res: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.detail.add_tasks_correct\") });\r\n this.dynamicDialogRef.close(\"success\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n this.dynamicDialogRef.close();\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n getRowValue(header, value = \"\", item) {\r\n\r\n if (typeof (this.entity.fields) !== \"undefined\") {\r\n\r\n let field = this.entity.fields.find(m => m.id == header.entity_field_id);\r\n let property = field.model_property;\r\n if (field.model_property_label != null && field.model_property_label != \"\") property = field.model_property_label;\r\n\r\n let formatFn = field.formatFn;\r\n if (formatFn == null && field.configuration != null && field.configuration.formatFn != null) {\r\n formatFn = field.configuration.formatFn;\r\n }\r\n if (formatFn != null) {\r\n var format = formatFn.split(\"|\");\r\n if (format[0] == \"date\") value = this.formatDate(value, format);\r\n if (format[0] == \"suffix\") value = this.formatSuffix(value, format);\r\n if (format[0] == \"phone\") value = this.formatPhone(value, format);\r\n if (format[0] == \"mail\") value = this.formatMail(value, format);\r\n if (format[0] == \"www\") value = this.formatWWW(value, format);\r\n //if (format[0] == \"badge\") value = this.formatBadge(field, value, format);\r\n if (format[0] == \"image\") value = this.formatImage(field, format);\r\n if (format[0] == \"currency\") value = this.formatCurrency(value, format);\r\n if (format[0] == \"number\") value = this.formatNumber(value, format);\r\n }\r\n if (value == null || value == \"\") value = \" \";\r\n }\r\n return value;\r\n }\r\n\r\n formatDate(value: any, args: any[]) {\r\n if (value == null || value == \"null\" || value == \"\") return \"\";\r\n return this.datePipe.transform(value, args[1]);\r\n }\r\n formatSuffix(value: any, args: any[]) {\r\n return value + args[1];\r\n }\r\n formatPhone(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n formatMail(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n formatWWW(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n if (!value.startsWith(\"http\")) {\r\n value = \"https://\" + value;\r\n }\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n formatBadge(field: any, value: any, args: any[]) {\r\n //TODO: Falta revisar este.\r\n if (value == null) return \"\";\r\n let className = \"\";\r\n let subClassName = \"\";\r\n if (field) {\r\n let refValue = \"\";\r\n if (args[1] != \"\") {\r\n try {\r\n let valorID = eval(\"row.\" + field.model_property);\r\n subClassName = args[1] + valorID;\r\n } catch (e) {\r\n console.error(`Error evaluando this.model.${field.entityField.model_property}`);\r\n }\r\n }\r\n className = \"badge badge-block \" + subClassName;\r\n var formattedValue = \"
\" + value + \"
\";\r\n }\r\n return formattedValue;\r\n }\r\n formatImage(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = `
\"Avatar\"
Zsazsa McCleverty@zmcclevertye
`;\r\n return formattedValue;\r\n }\r\n formatCurrency(value: any, args: any[]) {\r\n if (value == null) return \"0 €\";\r\n var formattedValue = new Intl.NumberFormat(environment.companyConfiguration.locale, { style: \"currency\", currency: environment.companyConfiguration.currency, useGrouping: true }).format(value);\r\n return formattedValue;\r\n }\r\n formatNumber(value: any, args: any[]) {\r\n if (value == null) return \"0\";\r\n var formattedValue = new Intl.NumberFormat(environment.companyConfiguration.locale).format(value)\r\n return formattedValue;\r\n }\r\n\r\n onSubmit() {\r\n this.myForm.markAllAsTouched();\r\n let organizationsIds = this.selected.map(m => m.id);\r\n if (this.myForm.valid == false) {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n //let organizationsIds = this.selected.map(m => m.id);\r\n\r\n Object.assign(this.task, this.myForm.value);\r\n this.reportsService.addMultiplesTasks(this.task, this.selected, this.reportId, organizationsIds, this.selected_campaign_id, this.add_organizations_checkbox, this.add_contacts_checkbox).subscribe({\r\n next: (res: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.detail.add_tasks_correct\") });\r\n this.dynamicDialogRef.close(\"success\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n loadCampaigns() {\r\n this.campaignsService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.campaigns = data.rows;\r\n this.campaigns.unshift({ name: this.translateService.instant(\"component.reports.detail.none\") });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n revealCheckboxes() {\r\n switch (this.entity.code) {\r\n case \"contact\":\r\n this.visible_contacts_checkbox = false;\r\n this.visible_organizations_checkbox = true;\r\n break;\r\n case \"organization\":\r\n this.visible_contacts_checkbox = false;\r\n this.visible_organizations_checkbox = false;\r\n break;\r\n case \"task\":\r\n this.visible_contacts_checkbox = true;\r\n this.visible_organizations_checkbox = true;\r\n break;\r\n case \"oportunity\":\r\n this.visible_contacts_checkbox = true;\r\n this.visible_organizations_checkbox = true;\r\n break;\r\n case \"sale\":\r\n this.visible_contacts_checkbox = true;\r\n this.visible_organizations_checkbox = true;\r\n break;\r\n case \"transaction\":\r\n this.visible_contacts_checkbox = true;\r\n this.visible_organizations_checkbox = true;\r\n break;\r\n case \"meeting\":\r\n this.visible_contacts_checkbox = true;\r\n this.visible_organizations_checkbox = true;\r\n break;\r\n case \"notifications\":\r\n this.visible_contacts_checkbox = false;\r\n this.visible_organizations_checkbox = false;\r\n break;\r\n default:\r\n this.visible_contacts_checkbox = false;\r\n this.visible_organizations_checkbox = false;\r\n break;\r\n }\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{'general.not_data' | translate }}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
0 && visible_organizations_checkbox == true\">\r\n \r\n \r\n
\r\n
0 && visible_contacts_checkbox == true\">\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n
\r\n {{'component.reports.detail.records_to_create_task' | translate}}
\r\n - {{getTotal()}}
\r\n - {{getTotalPerDay()}}\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n","import { DatePipe } from '@angular/common';\r\nimport { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { AttachmentsService } from 'src/app/attachments/attachments.service';\r\nimport { TemplatesService } from 'src/app/configuration/templates/templates.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { MailingAttachmentsComponent } from 'src/app/mailing/mailing-attachments/mailing-attachments.component';\r\nimport { UserMailAccountsService } from 'src/app/users/users-mail-accounts-detail/user-mail-accounts.service';\r\nimport { CoreDialogService } from '../../../core/dialogs/core-dialog.service';\r\nimport { ReportsService } from '../../reports.service';\r\nimport { environment } from 'src/environments/environment';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { CampaignsService } from 'src/app/campaigns/campaigns.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\n\r\n@Component({\r\n selector: 'app-report-mail-marketing',\r\n templateUrl: './report-mail-marketing.component.html',\r\n styleUrls: ['./report-mail-marketing.component.scss']\r\n})\r\nexport class ReportMailMarketingComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public templates: any[] = [];\r\n public campaigns: any[] = [];\r\n public entity_id: any;\r\n public entity_pk_id: any;\r\n public email = {\r\n campaign_id: null,\r\n // from: null,\r\n mail_account_id: null,\r\n to: [],\r\n ccc: [],\r\n bcc: [],\r\n tos: \"\",\r\n cccs: \"\",\r\n bccs: \"\",\r\n subject: \"\",\r\n template_id: null,\r\n body: \"\",\r\n schedule: \"now\",\r\n //date : new Date(),\r\n files: [],\r\n mailchimp_sync: null,\r\n mailjet_sync: null\r\n }\r\n public selectedMailAccount: any = null;\r\n public emails: any = [];\r\n public results: any = [];\r\n public resultsCorrects: any = [];\r\n public totalRows: number = 0;\r\n public rows: any = Array();\r\n public entity: any = {};\r\n public reportId: number;\r\n public selected: any[] = [];\r\n public schedules: any[] = [];\r\n public tinyMceConfig: any;\r\n\r\n public page: number;\r\n public totalPages: number;\r\n public prevTotalRows: number;\r\n\r\n public campaigns_permission: boolean = false;\r\n\r\n constructor(private route: ActivatedRoute,\r\n private templatesService: TemplatesService,\r\n private campaignsService: CampaignsService,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private userMailAccountsService: UserMailAccountsService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private datePipe: DatePipe,\r\n private reportsService: ReportsService,\r\n private attachmentsService: AttachmentsService,\r\n private router: Router,\r\n private dialogService: DialogService,\r\n private viewsService: ViewsService,\r\n private coreDialogService: CoreDialogService,\r\n private translateService: TranslateService,\r\n private loginService: LoginService\r\n ) { }\r\n\r\n ngOnInit() {\r\n this.campaigns_permission = this.loginService.hasPermission(\"CAMPAIGNS_READ\");\r\n this.schedules = [{ label: this.translateService.instant(\"component.reports.detail.send_now\"), value: \"now\" }, { label: this.translateService.instant(\"component.reports.detail.select_datetime\"), value: \"customdate\" }]\r\n this.entity_id = this.config.data.entity_id;\r\n this.entity_pk_id = this.config.data.entity_pk_id;\r\n this.page = this.config.data.page;\r\n this.totalPages = this.config.data.totalPages;\r\n this.prevTotalRows = this.config.data.totalRows;\r\n\r\n this.loadTemplates();\r\n this.loadCampaigns();\r\n this.loadEmails();\r\n this.configureTinyMce();\r\n this.route.params.subscribe(params => {\r\n this.loadData(this.config.data.reportId, this.config.data.reportResults, this.config.data.entity, this.config.data.entity_id, this.config.data.entity_pk_id);\r\n });\r\n }\r\n configureTinyMce() {\r\n const that = this;\r\n this.tinyMceConfig =\r\n {\r\n promotion: false,\r\n height: 500,\r\n menubar: true,\r\n toolbar: [\r\n 'undo redo | bold italic underline | fontselect fontsizeselect fontsize fontfamily formatselect |' +\r\n 'alignleft aligncenter alignright alignjustify | outdent indent | numlist bullist checklist |' +\r\n 'forecolor casechange permanentpen formatpainter removeformat | fullscreen | insertfile image media pageembed link | table quickbars | variablesButton variablesLinesButton | previewButton'\r\n ],\r\n plugins: 'quickbars',\r\n quickbars_insert_toolbar: \"quicktable\",\r\n toolbar_mode: 'wrap',\r\n language: 'es',\r\n language_url: '/assets/tinymce/langs/es.js',\r\n relative_urls: false,\r\n remove_script_host: false,\r\n document_base_url: 'https://app.axialcrm.com/',\r\n file_picker_types: 'image',\r\n paste_data_images: false,\r\n urlconverter_callback: (url, node, on_save, name) => {\r\n if(\r\n !url.toLowerCase().startsWith(\"http\") && //evitamos enlaces relativos\r\n !url.startsWith(\"[\") && //mailjet\r\n !url.startsWith(\"*|\") //mailchimp\r\n ){\r\n url = this.tinyMceConfig.document_base_url + url;\r\n }\r\n return url;\r\n }, \r\n file_picker_callback: function (cb, value, meta) {\r\n var input = document.createElement('input');\r\n input.setAttribute('type', 'file');\r\n input.setAttribute('accept', 'image/*');\r\n input.onchange = function (e) {\r\n var file = e.target[\"files\"][0];\r\n var reader = new FileReader();\r\n reader.onload = (event: any) => {\r\n var datafile = {\r\n FileName: file.name,\r\n ContentType: file.type,\r\n Length: file.size,\r\n b64: event.target.result\r\n };\r\n that.templatesService.UploadImage(datafile).subscribe({\r\n next: (data: any) => {\r\n cb(data.location);\r\n },\r\n error: (error: any) => {\r\n that.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n };\r\n reader.readAsDataURL(file);\r\n };\r\n\r\n input.click();\r\n }\r\n };\r\n }\r\n\r\n loadData(reportId: number, results: any, entity: any, entity_id: number, entity_pk_id: number) {\r\n this.reportId = reportId;\r\n this.results = results;\r\n this.entity = entity;\r\n this.entity_id = entity_id;\r\n this.entity_pk_id = entity_pk_id;\r\n if (this.prevTotalRows > 500) {\r\n this.selected = this.results.baseIds;\r\n } else {\r\n this.selected = this.results.values.map(m => m.base_id + \"\");\r\n }\r\n this.reportsService.GetContactsAllowedComunicationFromReport(this.selected, this.reportId).subscribe({\r\n next: (res: any) => {\r\n this.resultsCorrects = res;\r\n this.selected = this.resultsCorrects.map(m => m + \"\");\r\n this.rows = this.results.values.filter(m => this.selected.includes(m.base_id + \"\"));\r\n this.totalRows = this.rows.length;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadTemplates() {\r\n this.templatesService.all({ template_type_id: 1, entity_id: this.entity_id }).subscribe({\r\n next: (data: any) => {\r\n this.templates = data.rows;\r\n this.templates.unshift({ name: this.translateService.instant(\"component.reports.detail.none\") });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadCampaigns() {\r\n this.campaignsService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.campaigns = data.rows;\r\n this.campaigns.unshift({ name: this.translateService.instant(\"component.reports.detail.none\") });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n loadEmails() {\r\n this.userMailAccountsService.all({ user_id: localStorage.getItem(\"userId\") }).subscribe({\r\n next: (data: any) => {\r\n this.emails = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n loadTemplateValue(event) {\r\n //Esto carga el HTML de la plantilla en el editor:\r\n if (event.value) {\r\n this.templatesService.get(event.value).subscribe({\r\n next: (data: any) => {\r\n this.email.body = data.html;\r\n if (data.subject != null && data.subject != \"\") {\r\n this.email.subject = data.subject;\r\n }\r\n else {\r\n this.email.subject = data.name;\r\n }\r\n }\r\n });\r\n } else {\r\n this.email.body = \"\";\r\n }\r\n }\r\n\r\n sendMails() {\r\n //if(this.email.from == null) this.email.from = this.emails[0];\r\n\r\n this.reportsService.sendEmailMarketing(this.email, this.selected, this.reportId).subscribe({\r\n next: (res: any) => {\r\n //preguntar\r\n if (res.success) {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.detail.mail_save_to_send\") });\r\n this.dynamicDialogRef.close(\"success\");\r\n this.router.navigate(['/mailMarketing']);\r\n } else {\r\n if (res.error == \"mailchimp_sync_required\") {\r\n //preguntamos y enviamos\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.reports.detail.mailchimp_problem\"),\r\n accept: () => {\r\n //respuesta que si\r\n this.email.mailchimp_sync = \"mark_to_sync\";\r\n this.sendMails();\r\n },\r\n reject: () => {\r\n //respuesta que no, preguntar si continuar omitiendolos\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.reports.detail.mailchimp_syncronize\"),\r\n accept: () => {\r\n //respuesta que si\r\n this.email.mailchimp_sync = \"skip\";\r\n this.sendMails();\r\n },\r\n reject: () => {\r\n //no enviamos\r\n this.email.mailchimp_sync = \"\";\r\n }\r\n })\r\n }\r\n });\r\n } else if (res.error == \"mailjet_sync_required\") {\r\n //preguntamos y enviamos\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.reports.detail.mailjet_problem\"),\r\n accept: () => {\r\n //respuesta que si\r\n this.email.mailjet_sync = \"mark_to_sync\";\r\n this.sendMails();\r\n },\r\n reject: () => {\r\n //respuesta que no, preguntar si continuar omitiendolos\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.reports.detail.mailjet_syncronize\"),\r\n accept: () => {\r\n //respuesta que si\r\n this.email.mailjet_sync = \"skip\";\r\n this.sendMails();\r\n },\r\n reject: () => {\r\n //no enviamos\r\n this.email.mailjet_sync = \"\";\r\n }\r\n })\r\n }\r\n });\r\n } else {\r\n this.dynamicDialogRef.close();\r\n }\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n getRowValue(header, value = \"\", item) {\r\n\r\n if (typeof (this.entity.fields) !== \"undefined\") {\r\n\r\n let field = this.entity.fields.find(m => m.id == header.entity_field_id);\r\n let property = field.model_property;\r\n if (field.model_property_label != null && field.model_property_label != \"\") property = field.model_property_label;\r\n\r\n let formatFn = field.formatFn;\r\n if (formatFn == null && field.configuration != null && field.configuration.formatFn != null) {\r\n formatFn = field.configuration.formatFn;\r\n }\r\n if (formatFn != null) {\r\n var format = formatFn.split(\"|\");\r\n if (format[0] == \"date\") value = this.formatDate(value, format);\r\n if (format[0] == \"suffix\") value = this.formatSuffix(value, format);\r\n if (format[0] == \"phone\") value = this.formatPhone(value, format);\r\n if (format[0] == \"mail\") value = this.formatMail(value, format);\r\n if (format[0] == \"www\") value = this.formatWWW(value, format);\r\n //if (format[0] == \"badge\") value = this.formatBadge(field, value, format);\r\n if (format[0] == \"image\") value = this.formatImage(field, format);\r\n if (format[0] == \"currency\") value = this.formatCurrency(value, format);\r\n if (format[0] == \"number\") value = this.formatNumber(value, format);\r\n }\r\n if (String(value) === \"false\") value = \"No\";\r\n if (String(value) === \"true\") value = \"Si\";\r\n if (value == null || value == \"\") value = \" \";\r\n }\r\n return value;\r\n }\r\n\r\n formatDate(value: any, args: any[]) {\r\n if (value == null || value == \"null\" || value == \"\") return \"\";\r\n return this.datePipe.transform(value, args[1]);\r\n }\r\n formatSuffix(value: any, args: any[]) {\r\n return value + args[1];\r\n }\r\n formatPhone(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n formatMail(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n formatWWW(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n if (!value.startsWith(\"http\")) {\r\n value = \"https://\" + value;\r\n }\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n formatBadge(field: any, value: any, args: any[]) {\r\n //TODO: Falta revisar este.\r\n if (value == null) return \"\";\r\n let className = \"\";\r\n let subClassName = \"\";\r\n if (field) {\r\n let refValue = \"\";\r\n if (args[1] != \"\") {\r\n try {\r\n let valorID = eval(\"row.\" + field.model_property);\r\n subClassName = args[1] + valorID;\r\n } catch (e) {\r\n console.error(`Error evaluando this.model.${field.entityField.model_property}`);\r\n }\r\n }\r\n className = \"badge badge-block \" + subClassName;\r\n var formattedValue = \"
\" + value + \"
\";\r\n }\r\n return formattedValue;\r\n }\r\n formatImage(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = `
\"Avatar\"
Zsazsa McCleverty@zmcclevertye
`;\r\n return formattedValue;\r\n }\r\n formatCurrency(value: any, args: any[]) {\r\n if (value == null) return \"0 €\";\r\n var formattedValue = new Intl.NumberFormat(environment.companyConfiguration.locale, { style: \"currency\", currency: environment.companyConfiguration.currency, useGrouping: true }).format(value);\r\n return formattedValue;\r\n }\r\n formatNumber(value: any, args: any[]) {\r\n if (value == null) return \"0\";\r\n var formattedValue = new Intl.NumberFormat(environment.companyConfiguration.locale).format(value)\r\n return formattedValue;\r\n }\r\n\r\n onBasicUpload(event) {\r\n let i = 0;\r\n let guids = [];\r\n if (event.files.length > 1) guids = event.originalEvent.body.guids;\r\n else if (event.files.length == 1) guids = [event.originalEvent.body.guid];\r\n for (let f of event.files) {\r\n var file = { filename: \"\", mimetype: \"\", guid: \"\", size: \"\" };\r\n file.filename = f.name;\r\n file.mimetype = f.type;\r\n file.guid = guids[i];\r\n file.size = f.size;\r\n this.email.files.push(file);\r\n i++;\r\n }\r\n }\r\n onErrorUpload(event) {\r\n this.messageService.add({ closable: false, severity: 'error', detail: this.translateService.instant(\"component.reports.detail.error_updated_file\") });\r\n }\r\n deleteAttachment(guid, index) {\r\n this.email.files.splice(index, 1);\r\n }\r\n\r\n uploadAxial() {\r\n const ref = this.dialogService.open(MailingAttachmentsComponent, {\r\n data: {\r\n entity_id: this.entity_id,\r\n entity_pk_id: this.entity_pk_id,\r\n organization_id: null,\r\n is_generic: true,\r\n },\r\n header: this.translateService.instant(\"component.reports.detail.add_document\"),\r\n width: \"50%\",\r\n /*baseZIndex: 1000*/\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n if (data != null) {\r\n for (let f of data) {\r\n this.email.files.push(f);\r\n }\r\n }\r\n });\r\n }\r\n\r\n onMailAccountChange() {\r\n this.selectedMailAccount = this.emails.find(m => m.mailAccount_id == this.email.mail_account_id);\r\n }\r\n\r\n}\r\n","
\r\n \r\n\r\n
\r\n
\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{'general.not_data' | translate }}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n {{'component.reports.detail.message1' | translate}}
\r\n {{'component.reports.detail.message2' | translate}}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
    \r\n
  • \r\n \r\n {{file.filename}} - {{file.size}} bytes\r\n
  • \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n","import { DatePipe } from '@angular/common';\r\nimport { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ReportsService } from '../../reports.service';\r\nimport { NgForm } from '@angular/forms';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { ComponentService } from '../../../core/view/component.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-report-masive-update',\r\n templateUrl: './report-masive-update.component.html',\r\n styleUrls: ['./report-masive-update.component.scss']\r\n})\r\nexport class ReportMasiveUpdateComponent implements OnInit {\r\n\r\n @ViewChild(\"formDetails\") public formDetails: NgForm;\r\n\r\n public yes_no = [\r\n { name: this.translateService.instant(\"component.reports.detail.yes\"), value: 1 },\r\n { name: this.translateService.instant(\"component.reports.detail.no\"), value: 0 },\r\n ];\r\n\r\n public columns = [];\r\n public selectedColumn: any = {};\r\n public entity: any = [];\r\n public temporalCombos: any = {};\r\n public rowsLength: number;\r\n public hasSageFeature: boolean = false;\r\n public messages: any[] = [];\r\n\r\n public entitiesToFilter: any = [];\r\n public filterValuesOptions: any[] = [];\r\n public selectedField: any = {};\r\n\r\n constructor(private route: ActivatedRoute,\r\n private loginService: LoginService,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private coreDialogService: CoreDialogService,\r\n private datePipe: DatePipe,\r\n private reportsService: ReportsService,\r\n private entitiesService: EntitiesService,\r\n private componentService: ComponentService,\r\n private translateService: TranslateService\r\n ) {\r\n this.hasSageFeature = this.loginService.hasFeature(31);\r\n }\r\n\r\n ngOnInit() {\r\n this.route.params.subscribe(params => {\r\n this.loadData(this.config.data.columns, this.config.data.entity, this.config.data.rowsLength);\r\n });\r\n }\r\n\r\n loadData(columns, entity, rowsLength) {\r\n this.entitiesService.getByCode(entity.code).subscribe({\r\n next: (data: any) => {\r\n entity.fields.forEach(field => {\r\n this.entity = data;\r\n field.entityField = this.entity.fields.find(m => m.id == field.entity_field_id);\r\n });\r\n\r\n this.entitiesToFilter = this.getSelectableEntityFields();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n this.columns = columns;\r\n this.rowsLength = rowsLength;\r\n }\r\n\r\n\r\n getSelectableEntityFields() {\r\n if (this.entity?.fields != null) {\r\n\r\n //obtener entidades\r\n let entities = [];\r\n this.entity.fields.forEach(field => {\r\n if (field.model_property == \"zone_id\") {\r\n }\r\n if (this.componentService.isVisibleFieldCustom({ entityField: field }, null)) {\r\n entities.push(field);\r\n if (entities.find(m => m.code == field.entity_code) == null) {\r\n //Lo cogemos del field porque lo traemos para las entidades que no son la principal.\r\n entities.push({ code: field.entity_code, name: field.entity_name, shortname: field.shortname });\r\n }\r\n }\r\n });\r\n\r\n let dataAux = [];\r\n\r\n dataAux = entities.filter(m => m.configuration?.allowedUpdateMasive);\r\n\r\n let data = []\r\n entities.forEach((entity) => {\r\n let fields = dataAux.filter(m => m.entity_code == entity.code);\r\n fields.forEach((f) => {\r\n data.push({\r\n id: f.id,\r\n entity_field_id: f.id,\r\n entity_field_model_property: f.full_model_property,\r\n entity_field_model_property_label: f.full_model_property_label,\r\n description: (entity.shortname ? entity.shortname : entity.name) + \" / \" + f.description,\r\n label: (entity.shortname ? entity.shortname : entity.name) + \" / \" + f.description//(typeof (f.label) === \"undefined\" ? \"\" : f.label)\r\n });\r\n })\r\n\r\n });\r\n return data;\r\n } else {\r\n return [];\r\n }\r\n }\r\n\r\n getComboOptions(field, text) {\r\n if (field.configuration.options?.type == \"api\") {\r\n var url = \"/api/\" + field.configuration.options.url;\r\n if (text == \"undefined\") text = null;\r\n this.temporalCombos[field.id] = [];\r\n this.reportsService.customVoidCombos(url, { text: text }).subscribe({\r\n next: (data: any) => {\r\n\r\n this.temporalCombos[field.id] = data.rows;\r\n if (field.configuration.options.url == \"users/combo\" || field.configuration.options.url == \"users\") {\r\n //Añadimor el usuario actual\r\n this.temporalCombos[field.id].push({ id: -1, name: this.translateService.instant(\"component.reports.detail.actual_user\") });\r\n }\r\n if (field.configuration.options.url == \"transactionsStatus\") {\r\n let transaction_type_id = (field.entity_code == \"oportunity\" ? 1 : 2);\r\n this.temporalCombos[field.id] = this.temporalCombos[field.id].filter(function (e) { return e.transaction_type_id == transaction_type_id });\r\n }\r\n //\r\n\r\n if (field.data_type == \"list\" || field.data_type == 'list_multiple') {\r\n field.configuration.options.items.forEach(element => {\r\n let id = field.configuration.field_value;\r\n let text = field.configuration.field_text;\r\n if (typeof this.filterValuesOptions[element.entity_field_id] === \"undefined\") this.filterValuesOptions[element.entity_field_id] = [];\r\n this.filterValuesOptions[element.entity_field_id].push({ [id]: element.code, [text]: element.text });\r\n\r\n });\r\n } else if (field.data_type == \"number\") {\r\n //if (typeof this.filterValuesOptions[field.id] === \"undefined\") \r\n this.filterValuesOptions[field.id] = [];\r\n this.temporalCombos[field.id].forEach(element => {\r\n\r\n element.text = element[field.configuration.field_text];\r\n element.code = element[field.configuration.field_value];\r\n this.filterValuesOptions[field.id].push(element);\r\n })\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n field.configuration.options.items.forEach(e => {\r\n e.name = e.text;\r\n e.id = e.code;\r\n })\r\n this.temporalCombos[field.id] = field.configuration.options.items\r\n if (typeof this.filterValuesOptions[field.id] === \"undefined\") this.filterValuesOptions[field.id] = [];\r\n this.temporalCombos[field.id].forEach(element => {\r\n this.filterValuesOptions[field.id].push(element);\r\n })\r\n }\r\n }\r\n\r\n changeColumn(event: any, fieldConfig: any) {\r\n\r\n let field = this.entity.fields.find(m => m.id == this.selectedColumn.entity_field_id);\r\n if (field?.full_model_property == \"organizations.zone_id\" && this.hasSageFeature) {\r\n this.messages = [{ severity: 'warn', summary: '', detail: this.translateService.instant(\"component.reports.detail.organizations_with_erp_not_updated\") }];// \"Las organizaciones que ya estén vinculadas con su erp no serán actualizadas.\" }];\r\n } else {\r\n this.messages = [];\r\n }\r\n this.selectedColumn.entity_field_model_property = field?.full_model_property;\r\n if (field != null && (field.control_type == \"dropdown\" || field.control_type == \"dropdown-multiple\")) {\r\n this.getComboOptions(field, null);\r\n }\r\n this.selectedField = field;\r\n }\r\n\r\n getFilterOptionsOrValueType(element, filter) {\r\n if (typeof (this.entity.fields) !== \"undefined\") {\r\n let field = this.entity.fields.filter(m => m.id == element.entity_field_id);\r\n if (field.length > 0) {\r\n //if (filter) return this.filterOptions(field[0].data_type, field[0].control_type, field[0]); ya no se llama desde la vista.\r\n if (!filter) return this.valueTypes(field[0].data_type, field[0].control_type);\r\n }\r\n }\r\n }\r\n\r\n valueTypes(data_type: string, control_type: string) {\r\n let valueType = \"\";\r\n if (data_type == \"string\") {\r\n valueType = 'input-text';\r\n }\r\n else if ((data_type == \"number\" && control_type != \"dropdown\") || data_type == \"date\") {\r\n valueType = (data_type == \"number\" ? 'input-number' : \"input-datetime\");\r\n }\r\n else if (data_type == \"list\") {\r\n valueType = \"list\";\r\n } else if (data_type == \"list_multiple\") {\r\n valueType = 'dropdown-multiple';\r\n } else if (data_type == \"boolean\") {\r\n valueType = \"boolean\"\r\n } else {\r\n valueType = 'input-text';\r\n }\r\n\r\n if (control_type == \"dropdown\") {\r\n valueType = 'input-dropdown';\r\n }\r\n return valueType;\r\n }\r\n\r\n getFilterComboOptionsText(element: any, field_text: boolean) {\r\n let field = this.entity.fields.filter(m => m.id == element.entity_field_id);\r\n if (field.length > 0) {\r\n if (field_text) {\r\n return field[0].configuration.field_text;\r\n } else {\r\n return field[0].configuration.field_value;\r\n }\r\n }\r\n }\r\n\r\n updateColumns() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.reports.detail.modify_values\", { rowsLength: this.rowsLength }),\r\n header: this.translateService.instant(\"component.reports.detail.confirmate_update\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.dynamicDialogRef.close(this.selectedColumn);\r\n },\r\n reject: () => {\r\n }\r\n });\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n dateToIso($event: Date, i: number, j: number) {\r\n this.selectedColumn.value = new Date($event.setSeconds(0)).toISOString();//$event.toISOString();\r\n };\r\n}\r\n","
\r\n
\r\n
\r\n \r\n\r\n \r\n \r\n
\r\n
\r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n\r\n\r\n \r\n\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n","import { DatePipe } from '@angular/common';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { ContactsRoutingModule } from 'src/app/contacts/contacts-routing.module';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ReportsService } from '../../reports.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-reports-ask-user',\r\n templateUrl: './reports-ask-user.component.html',\r\n styleUrls: ['./reports-ask-user.component.scss']\r\n})\r\nexport class ReportsAskUserComponent implements OnInit {\r\n\r\n constructor(\r\n private route: ActivatedRoute,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private coreDialogService: CoreDialogService,\r\n private datePipe: DatePipe,\r\n private reportsService: ReportsService,\r\n private entitiesService: EntitiesService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n public filterValuesOptions: any[] = [];\r\n public filterConditionsValues: any[] = []\r\n public temporalCombo: any[] = [];\r\n\r\n public filters: any = {};\r\n public temporalCombos: any = {};\r\n public filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.>\"), value: '>' },\r\n { name: this.translateService.instant(\"component.reports.detail.<\"), value: '<' },\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n ];\r\n public date_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.date_select\"), value: 'date' },\r\n { name: this.translateService.instant(\"component.reports.detail.date_now\"), value: 'date_now' },\r\n { name: this.translateService.instant(\"component.reports.detail.datetime_now\"), value: 'datetime_now' },\r\n { name: this.translateService.instant(\"component.reports.detail.this_week\"), value: 'this_week' },\r\n { name: this.translateService.instant(\"component.reports.detail.next_week\"), value: 'next_week' },\r\n { name: this.translateService.instant(\"component.reports.detail.prev_week\"), value: 'prev_week' },\r\n //{ name: 'Esta quincena', value: 'this_fortnight' },\r\n //{ name: 'Siguiente quincena', value: 'next_fortnight' },\r\n { name: this.translateService.instant(\"component.reports.detail.this_month\"), value: 'this_month' },\r\n { name: this.translateService.instant(\"component.reports.detail.next_month\"), value: 'next_month' },\r\n { name: this.translateService.instant(\"component.reports.detail.prev_month\"), value: 'prev_month' },\r\n { name: this.translateService.instant(\"component.reports.detail.this_quarter\"), value: 'this_quarter' },\r\n { name: this.translateService.instant(\"component.reports.detail.next_quarter\"), value: 'next_quarter' },\r\n { name: this.translateService.instant(\"component.reports.detail.prev_quarter\"), value: 'prev_quarter' },\r\n { name: this.translateService.instant(\"component.reports.detail.this_semester\"), value: 'this_semester' },\r\n { name: this.translateService.instant(\"component.reports.detail.next_semester\"), value: 'next_semester' },\r\n { name: this.translateService.instant(\"component.reports.detail.prev_semester\"), value: 'prev_semester' },\r\n { name: this.translateService.instant(\"component.reports.detail.this_year\"), value: 'this_year' },\r\n { name: this.translateService.instant(\"component.reports.detail.next_year\"), value: 'next_year' },\r\n { name: this.translateService.instant(\"component.reports.detail.prev_year\"), value: 'prev_year' }\r\n ];\r\n public entitiesToFilter: any[] = [];\r\n public entity: any = [];\r\n\r\n ngOnInit() {\r\n this.route.params.subscribe(params => {\r\n this.loadData(this.config.data.filters, this.config.data.entity);\r\n\r\n }); \r\n }\r\n\r\n loadData(filters, entity) {\r\n this.entity = entity;\r\n this.entity.fields.forEach(field => {\r\n //Creamos el array de los filtros porque no se puede realizar una llamada (getFilterOptionsOrValueType), ya que hay que darle dos veces para seleccionarlo.\r\n if (typeof this.filterConditionsValues[field.id] == \"undefined\") this.filterConditionsValues[field.id] = [];\r\n this.filterConditionsValues[field.id] = this.filterOptions(field.data_type, field.control_type, field);\r\n });\r\n this.filters = filters;\r\n\r\n\r\n this.filters.filtersGroupAND.forEach(elementAND => {\r\n elementAND.ask_user = false;\r\n elementAND.filtersGroupOR.forEach(element => {\r\n if (element.ask_user) {\r\n elementAND.ask_user = true;\r\n }\r\n let field = this.entity.fields.filter(m => m.id == element.entity_field_id);\r\n\r\n //cargamos en un temporal todos los datos de los posibles combos\r\n if (field[0].control_type == \"dropdown\" || field[0].control_type == \"dropdown-multiple\") {\r\n this.getComboOptions(field[0], null);\r\n }\r\n });\r\n });\r\n }\r\n\r\n getComboOptions(field, text) {\r\n if (field.configuration.options?.type == \"api\") {\r\n var url = \"/api/\" + field.configuration.options.url;\r\n if (text == \"undefined\") text = null;\r\n this.temporalCombo[field.id] = [];\r\n this.reportsService.customVoidCombos(url, { text: text }).subscribe({\r\n next: (data: any) => {\r\n\r\n this.temporalCombo[field.id] = data.rows;\r\n if (field.configuration.options.url == \"users/combo\" || field.configuration.options.url == \"users\") {\r\n //Añadimor el usuario actual\r\n this.temporalCombo[field.id].push({ id: -1, name: this.translateService.instant(\"general.actual_user\") });\r\n }\r\n if (field.configuration.options.url == \"transactionsStatus\") {\r\n let transaction_type_id = (field.entity_code == \"oportunity\" ? 1 : 2);\r\n this.temporalCombo[field.id] = this.temporalCombo[field.id].filter(function (e) { return e.transaction_type_id == transaction_type_id });\r\n }\r\n //\r\n\r\n if (field.data_type == \"list\" || field.data_type == 'list_multiple') {\r\n field.configuration.options.items.forEach(element => {\r\n let id = field.configuration.field_value;\r\n let text = field.configuration.field_text;\r\n if (typeof this.filterValuesOptions[element.entity_field_id] === \"undefined\") this.filterValuesOptions[element.entity_field_id] = [];\r\n this.filterValuesOptions[element.entity_field_id].push({ [id]: element.code, [text]: element.text });\r\n });\r\n } else if (field.data_type == \"number\") {\r\n //if (typeof this.filterValuesOptions[field.id] === \"undefined\") \r\n this.filterValuesOptions[field.id] = [];\r\n this.temporalCombo[field.id].forEach(element => {\r\n\r\n element.text = element[field.configuration.field_text];\r\n element.code = element[field.configuration.field_value];\r\n this.filterValuesOptions[field.id].push(element);\r\n })\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n field.configuration.options.items.forEach(e => {\r\n e.name = e.text;\r\n e.id = e.code;\r\n })\r\n this.temporalCombo[field.id] = field.configuration.options.items\r\n if (typeof this.filterValuesOptions[field.id] === \"undefined\") this.filterValuesOptions[field.id] = [];\r\n this.temporalCombo[field.id].forEach(element => {\r\n this.filterValuesOptions[field.id].push(element);\r\n })\r\n }\r\n\r\n }\r\n\r\n onFilter(event, groupOr) {\r\n var ent = this.entity.fields.filter(m => m.id == groupOr.entity_field_id)[0];\r\n if (event.filter !== null && event.filter.length >= 3) this.getComboOptions(ent, event.filter);\r\n if (event.filter === null) this.getComboOptions(ent, \"\");\r\n }\r\n\r\n getFilterOptionsOrValueType(element, filter) {\r\n if (typeof (this.entity.fields) !== \"undefined\") {\r\n let field = this.entity.fields.filter(m => m.id == element.entity_field_id);\r\n if (field.length > 0) {\r\n //if(filter) return this.filterOptions(field[0].data_type, field[0].control_type, field[0]);\r\n if (!filter) return this.valueTypes(field[0].data_type, field[0].control_type);\r\n }\r\n }\r\n }\r\n filterOptions(data_type: string, control_type: string, element: any) {\r\n\r\n let filter_options: any;\r\n if (data_type == \"string\") {\r\n filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.contains\"), value: 'contains' },\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<>\"), value: '<>' },\r\n { name: this.translateService.instant(\"component.reports.detail.not_contains\"), value: 'not_contains' },\r\n { name: this.translateService.instant(\"component.reports.detail.null\"), value: 'null' },\r\n { name: this.translateService.instant(\"component.reports.detail.!null\"), value: '!null' }\r\n ];\r\n }\r\n else if ((data_type == \"number\" && control_type != \"dropdown\") || data_type == \"date\") {\r\n filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.>\"), value: '>' },\r\n { name: this.translateService.instant(\"component.reports.detail.>=\"), value: '>=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<\"), value: '<' },\r\n { name: this.translateService.instant(\"component.reports.detail.<=\"), value: '<=' },\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<>\"), value: '<>' },\r\n { name: this.translateService.instant(\"component.reports.detail.null\"), value: 'null' },\r\n { name: this.translateService.instant(\"component.reports.detail.!null\"), value: '!null' }\r\n ];\r\n }\r\n else if (data_type == \"list\") {\r\n filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<>\"), value: '<>' },\r\n { name: this.translateService.instant(\"component.reports.detail.null\"), value: 'null' },\r\n { name: this.translateService.instant(\"component.reports.detail.!null\"), value: '!null' }\r\n ];\r\n }\r\n else if (data_type == \"list_multiple\") {\r\n filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.contains\"), value: 'contains' },\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<>\"), value: '<>' },\r\n { name: this.translateService.instant(\"component.reports.detail.null\"), value: 'null' },\r\n { name: this.translateService.instant(\"component.reports.detail.!null\"), value: '!null' }\r\n ];\r\n }\r\n else if (data_type == \"number\" && control_type == \"dropdown\") {\r\n //para las forenkeys... \r\n filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<>\"), value: '<>' },\r\n { name: this.translateService.instant(\"component.reports.detail.null\"), value: 'null' },\r\n { name: this.translateService.instant(\"component.reports.detail.!null\"), value: '!null' }\r\n ];\r\n } else {\r\n //boolean\r\n filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<>\"), value: '<>' }\r\n ];\r\n }\r\n return filter_options;\r\n }\r\n\r\n valueTypes(data_type: string, control_type: string) {\r\n let valueType = \"\";\r\n if (data_type == \"string\") {\r\n valueType = 'input-text';\r\n }\r\n else if ((data_type == \"number\" && control_type != \"dropdown\") || data_type == \"date\") {\r\n valueType = (data_type == \"number\" ? 'input-number' : \"input-datetime\");\r\n }\r\n else if (data_type == \"list\") {\r\n valueType = \"list\";\r\n }\r\n else {\r\n valueType = 'input-text';\r\n }\r\n\r\n if (control_type == \"dropdown\") {\r\n valueType = 'input-dropdown';\r\n }\r\n if (control_type == \"dropdown-multiple\") {\r\n valueType = \"dropdown-multiple\";\r\n }\r\n return valueType;\r\n }\r\n\r\n getFilterComboOptionsText(element: any, field_text: boolean) {\r\n let field = this.entity.fields.filter(m => m.id == element.entity_field_id);\r\n if (field.length > 0) {\r\n if (field_text) {\r\n return field[0].configuration.field_text;\r\n } else {\r\n return field[0].configuration.field_value;\r\n }\r\n }\r\n }\r\n\r\n getFilterOptionsData(element: any) {\r\n\r\n let filterOptions: any[] = [];\r\n let field = this.entity.fields.filter(m => m.id == element.entity_field_id);\r\n if (field.length > 0) {\r\n if (field[0].data_type == \"list\") {\r\n field[0].configuration.options.items.forEach(element => {\r\n filterOptions.push({ id: element.code, name: element.text });\r\n });\r\n } else if (field[0].data_type == \"number\") {\r\n return this.temporalCombos[element.entity_field_id];\r\n }\r\n }\r\n return filterOptions;\r\n }\r\n getNameField(field) {\r\n let field2 = this.entity.fields.find(m => m.id == field.entity_field_id);\r\n if (field2 != null) {\r\n return field2.description;\r\n } else {\r\n return \"\";\r\n }\r\n }\r\n\r\n getOptions(filter) {\r\n if (filter.entity_field_type == \"string\") {\r\n this.filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.contains\"), value: 'contains' },\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<>\"), value: '<>' },\r\n { name: this.translateService.instant(\"component.reports.detail.null\"), value: 'null' },\r\n { name: this.translateService.instant(\"component.reports.detail.!null\"), value: '!null' }\r\n ];\r\n }\r\n else if ((filter.entity_field_type == \"number\" && filter.entity_field_control_type != \"dropdown\") || filter.entity_field_type == \"date\") {\r\n this.filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.>\"), value: '>' },\r\n { name: this.translateService.instant(\"component.reports.detail.>=\"), value: '>=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<\"), value: '<' },\r\n { name: this.translateService.instant(\"component.reports.detail.<=\"), value: '<=' },\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<>\"), value: '<>' },\r\n { name: this.translateService.instant(\"component.reports.detail.null\"), value: 'null' },\r\n { name: this.translateService.instant(\"component.reports.detail.!null\"), value: '!null' }\r\n ];\r\n }\r\n else if (filter.entity_field_type == \"list\") {\r\n this.filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<>\"), value: '<>' },\r\n { name: this.translateService.instant(\"component.reports.detail.null\"), value: 'null' },\r\n { name: this.translateService.instant(\"component.reports.detail.!null\"), value: '!null' }\r\n ];\r\n }\r\n else if (filter.entity_field_type == \"number\" && filter.entity_field_type == \"dropdown\") {\r\n //para las forenkeys... \r\n this.filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<>\"), value: '<>' },\r\n { name: this.translateService.instant(\"component.reports.detail.null\"), value: 'null' },\r\n { name: this.translateService.instant(\"component.reports.detail.!null\"), value: '!null' }\r\n ];\r\n }\r\n return this.filter_options;\r\n }\r\n\r\n save() {\r\n\r\n this.filters.filtersGroupAND.forEach(elementAND => {\r\n elementAND.filtersGroupOR.forEach(element => {\r\n if (element.entity_field_type == \"date\") {\r\n element.value = this.datePipe.transform(element.value, \"yyyy-MM-dd HH:mm\");\r\n }\r\n\r\n });\r\n });\r\n\r\n this.dynamicDialogRef.close(this.filters);\r\n }\r\n cancel() {\r\n this.filters.filtersGroupAND.forEach(elementAND => {\r\n elementAND.filtersGroupOR.forEach(element => {\r\n if (element.entity_field_type == \"date\") {\r\n element.value = this.datePipe.transform(element.value, \"yyyy-MM-dd HH:mm\");\r\n }\r\n\r\n });\r\n });\r\n this.dynamicDialogRef.close(this.filters);\r\n }\r\n\r\n dateToIso($event: Date, i: number, j: number) {\r\n this.filters.filtersGroupAND[i].filtersGroupOR[j].value = new Date($event.setSeconds(0)).toISOString();// $event.toISOString();\r\n };\r\n}\r\n","\r\n \r\n \r\n \r\n {{'component.reports.detail.condition' | translate}}\r\n \r\n \r\n\r\n {{'component.reports.detail.and_condition' | translate}}\r\n \r\n
\r\n
\r\n {{getNameField(groupOR)}}\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n\r\n \r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n","import { Component, OnInit, ViewChild, ViewEncapsulation } from '@angular/core';\r\nimport { ReportsService } from '../reports.service';\r\nimport { Router, ActivatedRoute } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { NgForm } from '@angular/forms';\r\nimport { CoreFormService } from 'src/app/core/forms/core-forms.service';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { DatePipe, Location } from '@angular/common';\r\nimport * as FileSaver from 'file-saver';\r\nimport * as XLSX from 'xlsx';\r\nimport { UIChart } from 'primeng/chart';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { ReportsAskUserComponent } from './reports-ask-user/reports-ask-user.component';\r\nimport groupBy from 'lodash/groupBy';\r\nimport { ZonesService } from 'src/app/configuration/zones/zones.service';\r\nimport { RolesService } from 'src/app/configuration/roles/roles.service';\r\nimport { ReportClonatorComponent } from './report-clonator/report-clonator.component';\r\nimport { ProductsDetailComponent } from 'src/app/products/products-detail/products-detail.component';\r\nimport { UsersDetailComponent } from 'src/app/users/users-detail/users-detail.component';\r\nimport { FamiliesDetailComponent } from 'src/app/configuration/families/families-detail/families-detail.component';\r\nimport { ReportMasiveUpdateComponent } from './report-masive-update/report-masive-update.component';\r\nimport { ReportCreateTaskComponent } from './report-create-task/report-create-task.component';\r\nimport { ReportsRevalidationActionComponent } from './reports-revalidation-action/reports-revalidation-action.component';\r\nimport { ReportMailMarketingComponent } from './report-mail-marketing/report-mail-marketing.component';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { ComponentService } from '../../core/view/component.service';\r\nimport { TransactionsService } from 'src/app/transactions/transactions.service';\r\nimport { OrganizationsMeetingsDetailComponent } from 'src/app/organizations/organizations-detail/organizations-meetings-detail/organizations-meetings-detail.component';\r\nimport { moveItemInArray } from '@angular/cdk/drag-drop';\r\nimport { TransactionsLinesService } from 'src/app/transactions/transactions-detail/transactions-lines/transactions-lines.service';\r\nimport { GoogleMap, MapInfoWindow, MapMarker } from '@angular/google-maps';\r\nimport { environment } from 'src/environments/environment';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ReportCampaignComponent } from './report-campaign/report-campaign.component';\r\n\r\n\r\ndeclare var google: any;\r\nvar geocoder: any;\r\n\r\n@Component({\r\n selector: 'app-reports-detail',\r\n templateUrl: './reports-detail.component.html',\r\n styleUrls: ['./reports-detail.component.scss']\r\n})\r\nexport class ReportsDetailComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n @ViewChild(\"formDetails\") public formDetails: NgForm;\r\n //@ViewChild(\"chartGraph\", { static: false }) public chartGraph: UIChart;\r\n @ViewChild('chartGraph') chartGraph: UIChart;\r\n @ViewChild(GoogleMap, { static: false }) map: GoogleMap;\r\n @ViewChild(MapInfoWindow, { static: false }) infoWindow: MapInfoWindow;\r\n\r\n public selectedCities: any[];\r\n public filterValuesOptions: any[] = [];\r\n public filterConditionsValues: any[] = []\r\n\r\n public report: any = {};\r\n public entities: any = [];\r\n public filters: any = {};\r\n public entity: any = {};\r\n public results: any = [];\r\n public valueType: string = \"input-text\"; onTab\r\n public filter_options_values = [];\r\n public filter_options_labels: any;\r\n public filter_options_value: any;\r\n public selectedColumns: any[];\r\n public totalRows: number = 0;\r\n public rows: any = Array();\r\n public columns: any = Array();\r\n private lastGridEvent: any;\r\n private tabIndexActive: number;\r\n public loading: boolean = false;\r\n public options: any;\r\n public overlays: any[];\r\n public entity_entityFields: any[];\r\n public favouriteGraph: boolean = false;\r\n public favouriteData: boolean = false;\r\n public favouriteMap: boolean = false;\r\n public graphForHome: boolean = false;\r\n public user: any = {};\r\n public showInHome: boolean = true;\r\n public filtersGroupOr: any = [];\r\n public dataGraphTable: any = [];\r\n public graph_entity_field_total: number;\r\n public sortDirection: string = \"asc\";\r\n public auxResponse: any;\r\n public orderByOptions = [\r\n {\r\n name: this.translateService.instant(\"component.reports.detail.asc\"), value: 'asc'\r\n },\r\n { name: this.translateService.instant(\"component.reports.detail.desc\"), value: 'desc' }\r\n ];\r\n public graphs_types = [\r\n { name: this.translateService.instant(\"component.reports.detail.pie\"), value: 'pie' },\r\n { name: this.translateService.instant(\"component.reports.detail.bar\"), value: 'bar' },\r\n { name: this.translateService.instant(\"component.reports.detail.line\"), value: 'line' }\r\n ];\r\n public visualize_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.count\"), value: 'count', name_label: this.translateService.instant(\"component.reports.detail.count_label\") },\r\n { name: this.translateService.instant(\"component.reports.detail.sum\"), value: 'sum', name_label: this.translateService.instant(\"component.reports.detail.sum_label\") },\r\n { name: this.translateService.instant(\"component.reports.detail.media\"), value: 'media', name_label: this.translateService.instant(\"component.reports.detail.media_label\") },\r\n { name: this.translateService.instant(\"component.reports.detail.min\"), value: 'min', name_label: this.translateService.instant(\"component.reports.detail.min_label\") },\r\n { name: this.translateService.instant(\"component.reports.detail.max\"), value: 'max', name_label: this.translateService.instant(\"component.reports.detail.max_label\") },\r\n ];\r\n public date_options = [\r\n {\r\n name: this.translateService.instant(\"component.reports.detail.date_select\"), value: 'date'\r\n },\r\n { name: this.translateService.instant(\"component.reports.detail.date_now\"), value: 'date_now' },\r\n { name: this.translateService.instant(\"component.reports.detail.datetime_now\"), value: 'datetime_now' },\r\n { name: this.translateService.instant(\"component.reports.detail.this_week\"), value: 'this_week' },\r\n { name: this.translateService.instant(\"component.reports.detail.next_week\"), value: 'next_week' },\r\n { name: this.translateService.instant(\"component.reports.detail.prev_week\"), value: 'prev_week' },\r\n //{ name: 'Esta quincena', value: 'this_fortnight' },\r\n //{ name: 'Siguiente quincena', value: 'next_fortnight' },\r\n { name: this.translateService.instant(\"component.reports.detail.this_month\"), value: 'this_month' },\r\n { name: this.translateService.instant(\"component.reports.detail.next_month\"), value: 'next_month' },\r\n { name: this.translateService.instant(\"component.reports.detail.prev_month\"), value: 'prev_month' },\r\n { name: this.translateService.instant(\"component.reports.detail.this_quarter\"), value: 'this_quarter' },\r\n { name: this.translateService.instant(\"component.reports.detail.next_quarter\"), value: 'next_quarter' },\r\n { name: this.translateService.instant(\"component.reports.detail.prev_quarter\"), value: 'prev_quarter' },\r\n { name: this.translateService.instant(\"component.reports.detail.this_semester\"), value: 'this_semester' },\r\n { name: this.translateService.instant(\"component.reports.detail.next_semester\"), value: 'next_semester' },\r\n { name: this.translateService.instant(\"component.reports.detail.prev_semester\"), value: 'prev_semester' },\r\n { name: this.translateService.instant(\"component.reports.detail.this_year\"), value: 'this_year' },\r\n { name: this.translateService.instant(\"component.reports.detail.next_year\"), value: 'next_year' },\r\n { name: this.translateService.instant(\"component.reports.detail.prev_year\"), value: 'prev_year' }\r\n ];\r\n public dataGraph: any = {\r\n labels: [],\r\n datasets: [\r\n {\r\n data: []\r\n }\r\n ]\r\n };\r\n public dataGraph2: any = {\r\n labels: [],\r\n datasets: [\r\n {\r\n data: []\r\n }\r\n ]\r\n };\r\n public yes_no = [\r\n { name: 'Si', value: 1 },\r\n { name: 'No', value: 0 },\r\n ];\r\n\r\n //public colors1: any = [\"#90cdc4\", \"#E7E9ED\", \"#FFCE56\", \"#FF6384\", \"#36A2EB\", \"#93dd9c\", \"#9d9d9d\", \"#745914\", \"#103a3a\", \"#87132c\"];\r\n public colors1: any = [\"#BFB48F\", \"#E89B01\", \"#E2660E\", \"#AF2734\", \"#D687B8\", \"#904C83\", \"#8282BF\", \"#434488\", \"#267EAB\", \"#85CDD7\", \"#26B4AD\", \"#7FB780\", \"#2C7130\", \"#1B505A\", \"#5E3030\"];//ma han pasado la lista de coloresg2pm el 14/11/2022\r\n public chart_type: string = \"bar\";\r\n\r\n public basicOptions: any = {\r\n responsive: true,\r\n legend: {\r\n display: true,\r\n position: 'bottom'\r\n }\r\n };\r\n\r\n public selectTabIndex: number = 0;\r\n public entitiesFields: any[] = [];\r\n public entitiesToFilter: any[] = [];\r\n public entitiesToTable: any[] = [];\r\n public entitiesToFilterNumber: any[] = [];\r\n public temporalCombo: any[] = [];\r\n public showMap: boolean = true;\r\n public itemsAction: any[];\r\n\r\n //permisos:\r\n public graphics_in_reports: boolean;\r\n public create_reports: boolean;\r\n public mail_marketing: boolean;\r\n public campaigns_permission: boolean;\r\n public view_map_info: boolean;\r\n public zonesPermission: boolean;\r\n public write_report: boolean;\r\n public showDateSelector: boolean = false;\r\n public markerPositions: google.maps.LatLngLiteral[] = [];\r\n public infoContent: string;\r\n public resumen_table_records: string;\r\n public params: any = {};\r\n\r\n constructor\r\n (\r\n private loginService: LoginService,\r\n private entitiesService: EntitiesService,\r\n private reportsService: ReportsService,\r\n private dialogService: DialogService,\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private route: ActivatedRoute,\r\n private router: Router,\r\n private coreFormService: CoreFormService,\r\n private viewsService: ViewsService,\r\n private usersService: UsersService,\r\n private zonesService: ZonesService,\r\n private rolesService: RolesService,\r\n private datePipe: DatePipe, private componentService: ComponentService,\r\n private transactionLinesService: TransactionsLinesService,\r\n private transactionsService: TransactionsService,\r\n private _location: Location,\r\n private translateService: TranslateService) {\r\n\r\n }\r\n center: google.maps.LatLngLiteral = { lat: 40.4166400, lng: -3.7032700 };\r\n zoom = 6;\r\n display: google.maps.LatLngLiteral;\r\n\r\n moveMap(event: google.maps.MapMouseEvent) {\r\n this.center = (event.latLng.toJSON());\r\n }\r\n move(event: google.maps.MapMouseEvent) {\r\n this.display = event.latLng.toJSON();\r\n }\r\n\r\n\r\n generateColor() {\r\n var randomColor = Math.floor(Math.random() * 16777215).toString(16);\r\n return \"#\" + randomColor;\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n //this.lastGridEvent.first = 0;\r\n this.graphics_in_reports = this.loginService.hasPermission(\"GRAPHICS_IN_REPORTS\");\r\n this.create_reports = this.loginService.hasPermission(\"REPORTS_CREATE\");\r\n this.mail_marketing = this.loginService.hasPermission(\"REPORTS_ACTIONS_MAIL_MARKETING\");\r\n this.campaigns_permission = this.loginService.hasPermission(\"REPORTS_ACTIONS_CAMPAIGNS\")\r\n this.view_map_info = this.loginService.hasPermission(\"VIEW_MAP_INFO\");\r\n this.zonesPermission = this.loginService.hasPermission(\"ZONES_READ\");\r\n\r\n this.write_report = this.loginService.hasPermission(\"REPORTS_WRITE\") || this.loginService.hasPermission(\"REPORTS_WRITE_ROLES\") || this.loginService.hasPermission(\"REPORTS_WRITE_ZONES\");\r\n if (!this.write_report) this.selectTabIndex = 1;\r\n\r\n this.route.params.subscribe(params => {\r\n this.loadData(params['id']);\r\n this.loadUserReportInfo(params['id']);\r\n });\r\n /*this.options = {\r\n center: { lat: 40.4166400, lng: -3.7032700 },\r\n zoom: 6\r\n };*/\r\n this.loadEntities();\r\n this.itemsAction = [\r\n {\r\n label: this.translateService.instant(\"component.reports.detail.refresh\"), icon: 'pi pi-refresh', command: () => {\r\n this.onReportTabOpen(this.lastGridEvent);\r\n }\r\n },\r\n {\r\n label: this.translateService.instant(\"component.reports.detail.export_excel_view\"), icon: 'pi pi-file-excel', command: () => {\r\n if (this.report.id) {\r\n var params = {};\r\n this.loading = true;\r\n this.reportsService.loadData(this.report, null, null).subscribe({\r\n next: (data: any) => {\r\n var results = data;\r\n this.exportExcel(results);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: \"error\", detail: error.Message });\r\n this.loading = false;\r\n }\r\n });\r\n }\r\n },\r\n visible: this.loginService.hasPermission(\"EXPORT_REPORT\")\r\n },\r\n {\r\n label: this.translateService.instant(\"component.reports.detail.export_excel_all\"), icon: 'pi pi-file-excel', command: () => {\r\n this.exportExcelAllFields();\r\n },\r\n visible: this.loginService.hasPermission(\"EXPORT_ALL\"),\r\n code: 'export_excel_all'\r\n },\r\n {\r\n label: this.translateService.instant(\"component.reports.detail.delete\"), icon: 'pi pi-trash', command: () => {\r\n this.deleteData();\r\n },\r\n visible: this.loginService.hasPermission(\"REPORTS_ACTIONS_DELETE\")\r\n },\r\n { separator: true },\r\n {\r\n label: this.translateService.instant(\"component.reports.detail.update\"), icon: 'pi pi-pencil', command: () => {\r\n this.updateDataMasive();\r\n },\r\n visible: this.loginService.hasPermission(\"REPORTS_ACTIONS_UPDATE\")\r\n },\r\n { separator: true },\r\n {\r\n label: this.translateService.instant(\"component.reports.detail.create_task\"), icon: 'pi pi-plus', command: () => {\r\n this.createTask()\r\n },\r\n visible: this.loginService.hasPermission(\"REPORTS_ACTIONS_CREATE_TASK\")\r\n }\r\n ];\r\n if (this.mail_marketing) {\r\n this.itemsAction.push(\r\n { separator: true },\r\n {\r\n label: this.translateService.instant(\"component.reports.detail.mail_marketing\"), icon: 'pi pi-envelope', command: () => {\r\n this.mailMarketing();\r\n }\r\n }\r\n );\r\n }\r\n if (this.campaigns_permission) {\r\n this.itemsAction.push(\r\n { separator: true },\r\n {\r\n label: this.translateService.instant(\"component.reports.detail.campaigns\"), icon: \"pi pi-envelope\", command: () => {\r\n this.campaigns();\r\n }\r\n }\r\n );\r\n }\r\n }\r\n\r\n checkIfTYpeGroupedIsDate(groupedType) {\r\n return (groupedType == \"date\" || groupedType == \"datehour\" ||\r\n groupedType == \"datetime\" || groupedType == \"week\" ||\r\n groupedType == \"month\" || groupedType == \"trimester\" || groupedType == \"semester\" || groupedType == \"year\");\r\n }\r\n\r\n loadData(id: number) {\r\n if (id != 0) {\r\n this.reportsService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.report = data;\r\n this.loadEntitiesFields();\r\n if (typeof (this.report.metadata?.graph?.entity_field_grouped2) === \"undefined\") this.report.metadata.graph.entity_field_grouped2 = {};\r\n if (typeof (this.report.metadata?.report.columns) === \"undefined\") this.report.metadata.report.columns = [];//Por si existe alguno roto\r\n if (typeof (this.report.metadata?.report.order) === \"undefined\") this.report.metadata.report.order = { \"direction\": this.sortDirection, \"column_key\": null };\r\n //Muestra el bloque y pestaña de mapa sólo si la entidad es Organization o Actividad:\r\n this.showMap = (this.report.entity.code == \"organization\" || this.report.entity.code == \"task\");//(this.report.entity_id == 1 || this.report.entity_id == 4);\r\n\r\n //Para mostrar el groupBy de los gráficos si son de alguno de los tipos de fecha.\r\n if (this.report.metadata?.graph?.entity_field_grouped && this.checkIfTYpeGroupedIsDate(this.report.metadata?.graph.entity_field_grouped.entity_field_grouped_type)) this.showDateSelector = true;\r\n\r\n if (typeof (this.report.metadata?.graph?.order) === \"undefined\") this.report.metadata.graph.order = {};\r\n this.loadMetadata();\r\n\r\n //Si el informe es de tareas se oculta la opción de mostrar todo, porque hay demasiadas left joins y casca.\r\n if (this.report.entity?.code == 'task') {\r\n var aux = this.itemsAction.filter(m => m.code == 'export_excel_all');\r\n aux[0].visible = false;\r\n }\r\n\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.report = {\r\n metadata: {\r\n filters: {\r\n filtersGroupAND: [{\r\n filtersGroupOR: [{}]\r\n }]\r\n },\r\n report: { columns: [] },\r\n graph: {\r\n type: \"bar\", visualize: \"count\", entity_field: {}, entity_field_grouped: {}, entity_field_grouped2: {}, order: {}\r\n },\r\n map: {}\r\n }\r\n };\r\n }\r\n }\r\n\r\n loadUserReportInfo(report_id: number) {\r\n this.favouriteGraph = false;\r\n this.favouriteData = false;\r\n this.favouriteMap = false;\r\n this.usersService.get(parseInt(localStorage.getItem(\"userId\"))).subscribe({\r\n next: (data: any) => {\r\n this.user = data;\r\n\r\n if (this.user != null) {\r\n this.user.metadata?.home[0].reports.forEach(element => {\r\n if (element.url == report_id + \"#data\") this.favouriteData = true;\r\n if (element.url == report_id + \"#graph\") this.favouriteGraph = true;\r\n if (element.url == report_id + \"#map\") this.favouriteMap = true;\r\n });\r\n if (typeof (this.user.metadata?.home[0].graph) !== \"undefined\") {\r\n this.user.metadata?.home[0].graph.forEach(element => {\r\n if (element == report_id) this.graphForHome = true;\r\n });\r\n }\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n loadGraphInfo() {\r\n if (typeof (this.report.metadata.graph.entity_field_grouped) !== \"undefined\") {\r\n //esto raro es porque si no no rellena los combos\r\n var id2 = this.report.metadata.graph.entity_field_grouped.entity_field_grouped_id;\r\n this.report.metadata.graph.entity_field_grouped.entity_field_grouped_id = null;\r\n setTimeout(() => { this.report.metadata.graph.entity_field_grouped.entity_field_grouped_id = id2; }, 500);\r\n //fin de lo raro \r\n };\r\n if (typeof (this.report.metadata.graph.entity_field_grouped2) !== \"undefined\") {\r\n //esto raro es porque si no no rellena los combos\r\n var id3 = this.report.metadata.graph.entity_field_grouped2.entity_field_grouped_id;\r\n this.report.metadata.graph.entity_field_grouped2.entity_field_grouped_id = null;\r\n setTimeout(() => { this.report.metadata.graph.entity_field_grouped2.entity_field_grouped_id = id3; }, 500);\r\n //fin de lo raro \r\n };\r\n if (typeof (this.report.metadata.graph.entity_field) !== \"undefined\") {\r\n //esto raro es porque si no no rellena los combos\r\n var id = this.report.metadata.graph.entity_field.entity_field_id;\r\n this.report.metadata.graph.entity_field.entity_field_id = null;\r\n setTimeout(() => { this.report.metadata.graph.entity_field.entity_field_id = id; }, 500);\r\n //fin de lo raro \r\n }\r\n }\r\n\r\n loadFilters() {\r\n\r\n if (typeof (this.report.metadata?.filters) !== \"undefined\" && this.report.metadata?.filters != null && typeof (this.report.metadata?.filters.filtersGroupAND) !== \"undefined\" && this.report.metadata?.filters.filtersGroupAND.length > 0) {\r\n let i = 0; let j = 0;\r\n const obj2 = { ...this.report.metadata?.filters };\r\n\r\n this.report.metadata?.filters.filtersGroupAND?.forEach(groupAnd => {\r\n groupAnd.filtersGroupOR.forEach(element => {\r\n //esto raro es porque si no no rellena los combos\r\n var id = element.entity_field_id;\r\n var field = this.entity.fields.find(m => m.id == id);\r\n\r\n element.entity_field_id = null;\r\n setTimeout(() => {\r\n if (field != null) {//lo añadimos solo si existe, no vaya a ser que se haya borrado.\r\n element.entity_field_id = id;\r\n } else {\r\n groupAnd.filtersGroupOR.splice(j, 1);\r\n\r\n }\r\n j++;\r\n }, 100);\r\n //fin de lo raro\r\n\r\n //si es combo cargamos las opciones\r\n if (field.control_type == \"dropdown\" || field.control_type == \"dropdown-multiple\") {\r\n if (field.use_for_report) this.getComboOptions(field, null);\r\n }\r\n\r\n });\r\n setTimeout(() => { i++; }, 100);\r\n });\r\n } else {\r\n if (typeof (this.report.metadata.filters) === \"undefined\") this.report.metadata.filters = [];\r\n this.report.metadata.filters.filtersGroupAND = [{\r\n filtersGroupOR: [{}]\r\n }];\r\n }\r\n\r\n }\r\n getFilterOptionsOrValueType(element, filter) {\r\n if (typeof (this.entity.fields) !== \"undefined\") {\r\n let field = this.entity.fields.filter(m => m.id == element.entity_field_id);\r\n if (field.length > 0) {\r\n //if (filter) return this.filterOptions(field[0].data_type, field[0].control_type, field[0]); ya no se llama desde la vista.\r\n if (this.valueTypes(field[0].data_type, field[0].control_type) == 'input-datetime' && element.value_date == 'date') {\r\n //element.value = new Date(element.value);\r\n }\r\n if (!filter) return this.valueTypes(field[0].data_type, field[0].control_type);\r\n }\r\n }\r\n }\r\n\r\n dateToIso($event: Date, i: number, j: number) {\r\n this.report.metadata.filters.filtersGroupAND[i].filtersGroupOR[j].value = new Date($event.setSeconds(0)).toISOString();\r\n };\r\n\r\n getNameEntityField(element) {\r\n if (typeof (this.entity.fields) !== \"undefined\") {\r\n\r\n\r\n let field = this.entity.fields.filter(m => m.id == element);\r\n if (field.length > 0) {\r\n return field[0].name;\r\n }\r\n }\r\n }\r\n\r\n addColumns(tabOpen) {\r\n //if (typeof (this.report.metadata.report.columns) === \"undefined\") this.report.metadata.report.columns = [];\r\n let i = this.report.metadata.report.columns.length;\r\n this.report.metadata.report.columns = this.selectedColumns;\r\n\r\n //Comprobamos si los items mostrados están en la ordenación, sino está, se borra la ordenación-\r\n var existe = false;\r\n this.selectedColumns.forEach((item) => {\r\n var aux = item.entity_field_model_property.split(\".\");\r\n let variableCheck = aux[0] + \"_\" + aux[1] + \"_\" + item.entity_field_id;\r\n if (this.report.metadata.report.order?.column_key == variableCheck) {\r\n existe = true;\r\n }\r\n });\r\n console.log(this.report.metadata.report);\r\n if (!existe) if (this.report.metadata.report != null && this.report.metadata.report.order != null) this.report.metadata.report.order.column_key = null;\r\n if (tabOpen) this.onReportTabOpen(this.lastGridEvent)\r\n if (tabOpen) this.save();\r\n\r\n }\r\n\r\n loadEntities() {\r\n this.entitiesService.all({ for_reports: true }).subscribe({\r\n next: (data: any) => {\r\n this.entities = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadEntitiesFields() {\r\n let id = this.report.entity_id ?? 0;\r\n this.reportsService.fields(id).subscribe({\r\n next: (data: any) => {\r\n\r\n this.entity = data;\r\n this.entity.fields.forEach(field => {\r\n //cargamos en un temporal todos los datos de los posibles combos\r\n //quitado, ahora se carga al elegir el filtro y/o al pintar los filtros\r\n /*if (field.control_type == \"dropdown\" || field.control_type == \"dropdown-multiple\") {\r\n if (field.use_for_report) this.getComboOptions(field, null);\r\n }*/\r\n\r\n //Creamos el array de los filtros porque no se puede realizar una llamada (getFilterOptionsOrValueType), ya que hay que darle dos veces para seleccionarlo.\r\n if (typeof this.filterConditionsValues[field.id] == \"undefined\") this.filterConditionsValues[field.id] = [];\r\n this.filterConditionsValues[field.id] = this.filterOptions(field.data_type, field.control_type, field);\r\n });\r\n let i = 0;\r\n this.report.metadata?.report?.columns?.forEach(col => {\r\n if (this.entity.fields.filter(m => m.id == col.entity_field_id).length == 0) {\r\n this.report.metadata.report.columns.splice(i, 1);\r\n //lo eliminamos \r\n }\r\n i++;\r\n })\r\n\r\n this.entitiesToFilter = this.getSelectableEntityFields();\r\n this.entitiesToTable = this.getSelectableEntityFields(true, null, true);\r\n this.entitiesToFilterNumber = this.getSelectableEntityFields(false, true);\r\n this.loadFilters();\r\n this.loadGraphInfo();\r\n setTimeout(() => {\r\n this.selectTab();\r\n }, 500);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n selectTab() {\r\n //leer pestaña seleccionada\r\n var parts = location.href.split(\"#\");\r\n var tabCode = parts[parts.length - 1];\r\n let newTabIndex = this.selectTabIndex;\r\n var innerText = \"\";\r\n if (tabCode == \"data\") {\r\n newTabIndex = 1;\r\n innerText = \"Informe\";\r\n } else if (tabCode == \"graph\") {\r\n newTabIndex = 2;\r\n innerText = \"Grafico\";\r\n } else if (tabCode == \"map\") {\r\n newTabIndex = 3;\r\n innerText = \"Mapa\";\r\n }\r\n /*if (newTabIndex > 0 && !this.write_report) newTabIndex--;\r\n if (newTabIndex > 0 && tabCode == \"map\" && !this.graphics_in_reports) newTabIndex--;*/\r\n this.selectTabIndex = newTabIndex;\r\n this.onTabOpen({ index: this.selectTabIndex, originalEvent: { target: { innerText: innerText } } });\r\n }\r\n /*addMarker(event: google.maps.MapMouseEvent) {\r\n this.markerPositions.push(event.latLng.toJSON());\r\n }*/\r\n\r\n loadMap() {\r\n\r\n let bounds = new google.maps.LatLngBounds();\r\n geocoder = new google.maps.Geocoder();\r\n //this.overlays = [];\r\n this.reportsService.loadDataMap(this.report).subscribe(\r\n data => {\r\n if (data.values.length == 0) {\r\n\r\n this.options = {\r\n center: { lat: 40.4166400, lng: -3.7032700 },\r\n zoom: 6\r\n };\r\n } else {\r\n data.values.forEach(result => {\r\n\r\n const marker = new google.maps.Marker({\r\n data: result,\r\n position: { lat: result.lat, lng: result.lng },\r\n title: result.name,\r\n label: {\r\n color: \"black\",\r\n text: result.name\r\n },\r\n options: {\r\n //icon: image,\r\n draggable: false\r\n }\r\n /*position: { lat: result.lat, lng: result.lng },\r\n title: result.name*/\r\n });\r\n this.markerPositions.push(marker);\r\n\r\n });\r\n }\r\n },\r\n error => {\r\n this.messageService.add({ severity: \"error\", detail: error.Message });\r\n this.loading = false;\r\n }\r\n );\r\n\r\n }\r\n onDragend(m, event) {\r\n //this.markers[this.determineIndex(m)].position = event.latLng;\r\n }\r\n\r\n generateInfoWindow(marker: MapMarker, data) {\r\n //this.infoContent = \"\";\r\n this.closeInfoWindow();\r\n //Las cosas a mostrar en la ventana del marcador, se ponen en la siguiente línea como String:\r\n let infoWindowContent = \"\";\r\n if (data.data.name) infoWindowContent += \"\" + data.data.name + \"\";\r\n if (data.data.typeOrganization) infoWindowContent += \" (\" + data.data.typeOrganization + \")\";\r\n if (data.data.address) infoWindowContent += \"
\" + data.data.address + \"\";\r\n if (data.data.city && data.postal_code) infoWindowContent += \"
\" + data.data.postal_code;\r\n if (data.data.city) infoWindowContent += \" \" + data.data.city + \"\";\r\n if (data.data.email) infoWindowContent += \"
\" + data.data.email + \"\";\r\n if (data.data.name) {\r\n //es una organizacion...\r\n infoWindowContent += \"

\" + this.translateService.instant(\"component.reports.detail.see_detail\") + \"\";\r\n }\r\n this.infoContent = infoWindowContent;\r\n this.infoWindow.open(marker);\r\n }\r\n closeInfoWindow() {\r\n if (this.infoWindow) {\r\n this.infoWindow.close();\r\n };\r\n }\r\n\r\n loadGraph() {\r\n this.chart_type = this.report.metadata.graph.type;\r\n this.clearGraphData();\r\n\r\n this.reportsService.loadDataGraph(this.report).subscribe(\r\n data => {\r\n this.graph_entity_field_total = 0;\r\n this.dataGraphTable = data.values;\r\n\r\n this.dataGraph.display = false;\r\n this.dataGraph.labels = this.dataGraphTable.map(m => m.label).filter(function (item, pos, self) {\r\n return self.indexOf(item) == pos;\r\n });\r\n\r\n let grouped2 = this.dataGraphTable.map(m => m.label2).filter(function (item, pos, self) {\r\n return self.indexOf(item) == pos;\r\n });\r\n\r\n\r\n this.dataGraph.labels.forEach(label => {\r\n let i = 0;\r\n grouped2.forEach(g2 => {\r\n let valres = data.values.filter(m => m.label == label && m.label2 == g2);\r\n var randomColor = this.generateColor();\r\n\r\n if (this.dataGraph.datasets.length - 1 < i) {\r\n var aux = {\r\n data: [],\r\n label: \"\",\r\n backgroundColor: (this.colors1[i] ? this.colors1[i] : randomColor), hoverBackgroundColor: (this.colors1[i] ? this.colors1[i] : randomColor)\r\n };\r\n this.dataGraph.datasets.push(aux);\r\n }\r\n this.dataGraph.datasets[i].data.push(valres.length > 0 ? valres[0].value : 0);\r\n this.graph_entity_field_total = this.graph_entity_field_total + (valres.length > 0 ? valres[0].value : 0);\r\n this.dataGraph.datasets[i].label = (typeof (g2) === \"undefined\" ? this.getGraphInfo(this.report.metadata?.graph.entity_field?.entity_field_id, null, false) : g2);\r\n if (typeof (g2) === \"undefined\") {\r\n this.dataGraph.datasets[i].backgroundColor = this.colors1[0];\r\n this.dataGraph.datasets[i].hoverBackgroundColor = this.colors1[0];\r\n }\r\n i++;\r\n });\r\n\r\n });\r\n\r\n //formateamos el resultado final, REVISARRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR\r\n this.graph_entity_field_total = this.getGraphInfo(this.report.metadata?.graph.entity_field?.entity_field_id, this.graph_entity_field_total, true)\r\n // setTimeout(() => {\r\n //TODO: igual sólo es necesario ponerle el tamaño de height en los moviles, habria que ocmprobarlo aqui y en la vista.\r\n this.chartGraph.height = \"300px\";\r\n this.chartGraph.refresh();\r\n //}, 100);\r\n\r\n },\r\n error => {\r\n console.log(error);\r\n\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n this.loading = false;\r\n }\r\n );\r\n }\r\n getGraphInfo(entity_field_id, value, returnValue) {\r\n //O devuelve el nombre de la columna, o el dato formateado.\r\n let result = \"\";\r\n if (typeof (this.entity.fields) !== \"undefined\") {\r\n\r\n if (this.report.metadata?.graph.visualize == \"count\") {\r\n if (typeof (entity_field_id) !== \"undefined\" && entity_field_id != null) {\r\n let field = this.entity.fields.find(m => m.id == entity_field_id);\r\n if (!returnValue && field != null) { result = field.description; }\r\n } else {\r\n if (!returnValue) {\r\n result = \"Total\";\r\n } else {\r\n result = value;\r\n }\r\n }\r\n } else {\r\n let field = this.entity.fields.find(m => m.id == entity_field_id);\r\n if (field != null) {\r\n if (!returnValue) { return field.description; } //devolvemos la cabecera.\r\n let property = field.model_property;\r\n if (field.model_property_label != null && field.model_property_label != \"\") property = field.model_property_label;\r\n let formatFn = field.formatFn;\r\n if (formatFn == null && field.configuration != null && field.configuration.formatFn != null) {\r\n formatFn = field.configuration.formatFn;\r\n }\r\n result = value;\r\n if (formatFn != null) {\r\n var format = formatFn.split(\"|\");\r\n\r\n if (format[0] == \"date\") {\r\n console.log(value);\r\n\r\n value != null ? this.formatDate(value, format) : \"\";\r\n }\r\n if (format[0] == \"suffix\") result = this.formatSuffix(value, format);\r\n if (format[0] == \"phone\") result = this.formatPhone(value, format);\r\n if (format[0] == \"mail\") result = this.formatMail(value, format);\r\n if (format[0] == \"www\") result = this.formatWWW(value, format);\r\n if (format[0] == \"badge\") {\r\n //result = this.formatBadge(field, value, format, null);\r\n }\r\n if (format[0] == \"image\") result = this.formatImage(field, format);\r\n if (format[0] == \"currency\") result = this.formatCurrency(value, format);\r\n if (format[0] == \"number\") result = this.formatNumber(value, format);\r\n }\r\n if (returnValue) if (result == null || result == \"\") result = \" \";\r\n }\r\n }\r\n }\r\n return result;\r\n\r\n }\r\n\r\n clearGraphData() {\r\n this.dataGraph = {\r\n labels: [],\r\n legend: {\r\n labels: {\r\n color: '#495057'\r\n }\r\n },\r\n datasets: [\r\n {\r\n data: []/*,\r\n label: \"\",*/\r\n }\r\n ],\r\n scales: {\r\n y: {\r\n ticks: {\r\n min: 0,\r\n max: 3,\r\n color: '#495057'\r\n },\r\n }\r\n\r\n }\r\n };\r\n if (this.chart_type == \"bar\") {\r\n this.dataGraph.datasets[0].backgroundColor = this.colors1[0];\r\n this.dataGraph.datasets[0].hoverBackgroundColor = this.colors1[0];\r\n } else if (this.chart_type == \"pie\") {\r\n this.dataGraph.datasets[0].backgroundColor = this.colors1[0];\r\n this.dataGraph.datasets[0].hoverBackgroundColor = this.colors1[0];\r\n } else {\r\n this.dataGraph.datasets[0].borderColor = this.colors1[0];\r\n this.dataGraph.datasets[0].fill = false;\r\n }\r\n\r\n }\r\n\r\n composeCascade(entitiesResult, aux, level) {\r\n\r\n\r\n let entitiesResultLevel = entitiesResult.filter(m => m.model_property_path.length == level);\r\n const a = groupBy(entitiesResultLevel, function (n) {\r\n return n.model_property_path[level - 1].name;\r\n });\r\n let claves = Object.keys(a);\r\n\r\n for (let i = 0; i < claves.length; i++) {\r\n let clave = claves[i];\r\n let allNamesArray = a[clave][0].model_property_path.map(n => n.name);\r\n let allNames = allNamesArray.filter(Boolean).join(\" / \");\r\n let aux2 = { entity: allNames, fields: a[clave] };\r\n aux.push(aux2);\r\n }\r\n let entitiesResultMoreLevel = entitiesResult.filter(m => m.model_property_path.length >= level + 1);\r\n\r\n if (entitiesResultMoreLevel.length > 0) {\r\n aux = this.composeCascade(entitiesResultMoreLevel, aux, level + 1)\r\n }\r\n return aux;\r\n }\r\n\r\n getSelectableEntityFields(filterIfAllreadyExist: boolean = false, onlyNumbers: boolean = false, forEntitiesTable: boolean = false) {\r\n if (this.entity?.fields != null) {\r\n //obtener entidades\r\n let entities = [];\r\n let visibleEntityFields = [];\r\n this.entity.fields.forEach(field => {\r\n if (field.model_property == \"zone_id\") {\r\n }\r\n if (this.componentService.isVisibleFieldCustom({ entityField: field }, null)) {\r\n visibleEntityFields.push(field);\r\n if (entities.find(m => m.code == field.entity_code) == null) {\r\n //Lo cogemos del field porque lo traemos para las entidades que no son la principal.\r\n entities.push({ code: field.entity_code, name: field.entity_name, shortname: field.shortname });\r\n }\r\n }\r\n });\r\n\r\n let entityFields = [];\r\n //entityFields = this.entity.fields.filter(m => m.use_for_report);\r\n entityFields = visibleEntityFields.filter(m => m.use_for_report);\r\n\r\n\r\n //si solo filtrar por lo que son de tipo numero\r\n if (onlyNumbers) {\r\n entityFields = visibleEntityFields.filter(m => m.use_for_report && m.data_type == 'number' && m.control_type != 'dropdown');\r\n //entityFields = this.entity.fields.filter(m => m.use_for_report && m.data_type == 'number' && m.control_type != 'dropdown');\r\n }\r\n\r\n let data = [];\r\n entities.forEach((entity) => {\r\n let fields = entityFields.filter(m => m.entity_code == entity.code);\r\n fields.forEach((f) => {\r\n data.push({\r\n id: f.id,\r\n entity_field_id: f.id,\r\n entity_field_model_property: f.full_model_property,\r\n entity_field_model_property_label: f.full_model_property_label,\r\n description: (entity.shortname ? entity.shortname : entity.name) + \" / \" + f.description,\r\n label: (entity.shortname ? entity.shortname : entity.name) + \" / \" + f.description//(typeof (f.label) === \"undefined\" ? \"\" : f.label)\r\n });\r\n })\r\n\r\n });\r\n\r\n if (filterIfAllreadyExist) {\r\n //filtramos que no aparezcan si ya están añadidos a la tabla.\r\n if (typeof (this.report.metadata.report.columns) !== \"undefined\") {\r\n this.selectedColumns = data.filter(el => this.report.metadata?.report.columns.map(m => m.entity_field_id).indexOf(el.id) !== -1);\r\n }\r\n }\r\n\r\n return data;\r\n } else {\r\n return [];\r\n }\r\n }\r\n\r\n getComboOptions(field, text) {\r\n if (field.configuration.options?.type == \"api\") {\r\n var url = \"/api/\" + field.configuration.options.url;\r\n if (text == \"undefined\") text = null;\r\n this.temporalCombo[field.id] = [];\r\n this.reportsService.customVoidCombos(url, { text: text }).subscribe(\r\n data => {\r\n\r\n this.temporalCombo[field.id] = data.rows;\r\n if (field.configuration.options.url == \"users/combo\" || field.configuration.options.url == \"users\") {\r\n //Añadimor el usuario actual\r\n this.temporalCombo[field.id].push({ id: -1, name: this.translateService.instant(\"general.actual_user\") });\r\n }\r\n if (field.configuration.options.url == \"transactionsStatus\") {\r\n\r\n //Filtramos asi para que siempre pillen los de la transacción correspondiente. (independientemete de si es oportunidad/venta o de nueva creación)\r\n this.temporalCombo[field.id] = this.temporalCombo[field.id].filter(function (e) { return e.transactionType.code == field.entity_code });\r\n\r\n /*if (field.entity_code == \"oportunity\" || field.entity_code == \"sale\") {\r\n let transaction_type_id = (field.entity_code == \"oportunity\" ? 1 : 2);\r\n\r\n this.temporalCombo[field.id] = this.temporalCombo[field.id].filter(function (e) { return e.transaction_type_id == transaction_type_id });\r\n } else {\r\n //si no es oportunidad o trasnacción muestro los que estarian relaiconados con el code...\r\n \r\n }*/\r\n }\r\n //\r\n\r\n if (field.data_type == \"list\" || field.data_type == 'list_multiple') {\r\n field.configuration.options.items.forEach(element => {\r\n let id = field.configuration.field_value;\r\n let text = field.configuration.field_text;\r\n if (typeof this.filterValuesOptions[element.entity_field_id] === \"undefined\") this.filterValuesOptions[element.entity_field_id] = [];\r\n this.filterValuesOptions[element.entity_field_id].push({ [id]: element.code, [text]: element.text });\r\n\r\n });\r\n } else if (field.data_type == \"number\") {\r\n //if (typeof this.filterValuesOptions[field.id] === \"undefined\") \r\n this.filterValuesOptions[field.id] = [];\r\n this.temporalCombo[field.id].forEach(element => {\r\n\r\n element.text = element[field.configuration.field_text];\r\n element.code = element[field.configuration.field_value];\r\n this.filterValuesOptions[field.id].push(element);\r\n })\r\n }\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n } else {\r\n field.configuration.options.items.forEach(e => {\r\n e.name = e.text;\r\n e.id = e.code;\r\n })\r\n this.temporalCombo[field.id] = field.configuration.options.items\r\n if (typeof this.filterValuesOptions[field.id] === \"undefined\") this.filterValuesOptions[field.id] = [];\r\n this.temporalCombo[field.id].forEach(element => {\r\n this.filterValuesOptions[field.id].push(element);\r\n })\r\n }\r\n\r\n }\r\n\r\n onFilter(event, groupOr) {\r\n var ent = this.entity.fields.filter(m => m.id == groupOr.entity_field_id)[0];\r\n if (event.filter !== null && event.filter.length >= 3) this.getComboOptions(ent, event.filter);\r\n if (event.filter === null) this.getComboOptions(ent, \"\");\r\n }\r\n\r\n onRowReorder(event) {\r\n let i = 0;\r\n this.report.metadata?.report.columns.forEach(element => {\r\n element.order = i;\r\n i++;\r\n });\r\n\r\n }\r\n onColReorder($event) {\r\n moveItemInArray(this.report.metadata.report.columns, $event.dragIndex, $event.dropIndex);\r\n this.save(false, false);\r\n }\r\n\r\n cancel() {\r\n this.router.navigate([\"/reports\"]);\r\n }\r\n\r\n onFieldTableChange(event: any, fieldConfig: any) {\r\n /*let field = this.entity.entityFields.filter(m=>m.model_property == event.value);\r\n if(field.length>0){\r\n fieldConfig.entityField = field[0];\r\n }*/\r\n }\r\n\r\n save(navigate = false, show_message = true) {\r\n\r\n //Si tiene el check de gráfico...\r\n if (this.report.metadata?.graph.show != null && this.report.metadata?.graph.show != false) {\r\n var invalidMessage = \"\";\r\n if (this.report.metadata?.graph.type == null || this.report.metadata?.graph.type == \"\") {\r\n invalidMessage += this.translateService.instant(\"component.reports.detail.graphic_type_mandatory\");\r\n }\r\n if (this.report.metadata?.graph.entity_field_grouped.entity_field_grouped_id == null || this.report.metadata?.graph.entity_field_grouped.entity_field_grouped_id == \"\") {\r\n if (invalidMessage != \"\") invalidMessage += \"\\n-\";\r\n invalidMessage += this.translateService.instant(\"component.reports.detail.grouped_mandatory\");\r\n }\r\n if (this.report.metadata?.graph.visualize == null || this.report.metadata?.graph.visualize == \"\") {\r\n if (invalidMessage != \"\") invalidMessage += \"\\n-\";\r\n invalidMessage += this.translateService.instant(\"component.reports.detail.visualize_mandatory\");\r\n } else if (this.report.metadata?.graph.visualize != \"count\") {\r\n if (this.report.metadata?.graph.entity_field.entity_field_id == null || this.report.metadata?.graph.entity_field.entity_field_id == \"\") {\r\n if (invalidMessage != \"\") invalidMessage += \"\\n-\";\r\n invalidMessage += this.translateService.instant(\"component.reports.detail.entity_field_mandatory\");\r\n }\r\n }\r\n if (this.report.metadata?.graph.order != null && this.report.metadata?.graph.order?.order_by == null) {\r\n this.report.metadata.graph.order = {};\r\n }\r\n if (invalidMessage != \"\") {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: invalidMessage });\r\n return;\r\n }\r\n }\r\n if (this.write_report) {\r\n if (this.report.name != null && this.report.name != \"\" && this.report.entity_id != null && this.report.entity_id != 0) {\r\n\r\n this.buildMetadata();\r\n if (this.report.metadata?.graph.visualize == \"count\") {\r\n this.report.metadata.graph.entity_field = {};\r\n }\r\n //guardamos las columnas seleccionadas\r\n var i = 0;\r\n if (typeof this.report.id !== \"undefined\") {\r\n\r\n if (this.coreFormService.validate(this.formDetails)) {\r\n this.reportsService.save(this.report.id, this.report).subscribe(\r\n data => {\r\n if (show_message) {\r\n if (this.report.id != 0 && typeof this.report.id !== \"undefined\") {\r\n this.translateService.instant(\"component.reports.detail.save_report_correct\")\r\n } else {\r\n this.translateService.instant(\"component.reports.detail.add_report_correct\")\r\n }\r\n }\r\n if (navigate) this.router.navigate(['/reports']);\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n } else {\r\n if (this.coreFormService.validate(this.formDetails)) {\r\n this.reportsService.add(this.report).subscribe({\r\n next: (data: any) => {\r\n this.report = data;\r\n if (show_message) this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.detail.save_report_correct\") });\r\n if (navigate) {\r\n this.router.navigate(['/reports']);\r\n } else {\r\n this.router.navigate(['/reports/' + this.report.id]);\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n } else {\r\n this.errorNoName();\r\n }\r\n }\r\n }\r\n\r\n clearAll() {\r\n this.filters = {};\r\n this.filter_options_values = [];\r\n }\r\n addFilterItemAND() {\r\n this.report.metadata.filters.filtersGroupAND.push({ filtersGroupOR: [{}] });\r\n }\r\n addFilterItemOR(i) {\r\n this.report.metadata.filters.filtersGroupAND[i].filtersGroupOR.push({});\r\n }\r\n deleteFilterOR(i, j) {\r\n this.report.metadata.filters.filtersGroupAND[i].filtersGroupOR.splice(j, 1);\r\n }\r\n deleteFilterAND(i) {\r\n this.report.metadata.filters.filtersGroupAND.splice(i, 1);\r\n }\r\n\r\n deleteAllColumns() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.reports.detail.delete_all_fields_confirmation\"),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.report.metadata.report.columns = [];\r\n this.entitiesToTable = this.getSelectableEntityFields(true, null, true);\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n checkIfExistInOrder(item) {\r\n //Comprobamos si está en la columna de ordenación, porque sino falla.\r\n var aux = item.entity_field_model_property.split(\".\");\r\n let variableCheck = aux[0] + \"_\" + aux[1] + \"_\" + item.entity_field_id;\r\n if (this.report.metadata.report.order?.column_key == variableCheck) {\r\n this.report.metadata.report.order.column_key = null;\r\n }\r\n }\r\n\r\n deleteColumnItem(item) {\r\n var i = 0;\r\n this.report.metadata.report.columns.forEach(element => {\r\n if (element == item) {\r\n this.report.metadata.report.columns.splice(i, 1);\r\n }\r\n i++;\r\n });\r\n this.checkIfExistInOrder(item);\r\n //añadimos las cosas.\r\n //if(typeof (this.report.metadata.report.columns)!==\"undefined\") {\r\n this.entitiesToTable = this.getSelectableEntityFields(true, null, true);\r\n //}\r\n }\r\n filterOptions(data_type: string, control_type: string, element: any) {\r\n let filter_options: any;\r\n if (data_type == \"string\") {\r\n filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.contains\"), value: 'contains' },\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<>\"), value: '<>' },\r\n { name: this.translateService.instant(\"component.reports.detail.not_contains\"), value: 'not_contains' },\r\n { name: this.translateService.instant(\"component.reports.detail.null\"), value: 'null' },\r\n { name: this.translateService.instant(\"component.reports.detail.!null\"), value: '!null' }\r\n ];\r\n }\r\n else if ((data_type == \"number\" && control_type != \"dropdown\") || data_type == \"date\") {\r\n filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.>\"), value: '>' },\r\n { name: this.translateService.instant(\"component.reports.detail.>=\"), value: '>=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<\"), value: '<' },\r\n { name: this.translateService.instant(\"component.reports.detail.<=\"), value: '<=' },\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<>\"), value: '<>' },\r\n { name: this.translateService.instant(\"component.reports.detail.null\"), value: 'null' },\r\n { name: this.translateService.instant(\"component.reports.detail.!null\"), value: '!null' }\r\n ];\r\n }\r\n else if (data_type == \"list\") {\r\n filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<>\"), value: '<>' },\r\n { name: this.translateService.instant(\"component.reports.detail.null\"), value: 'null' },\r\n { name: this.translateService.instant(\"component.reports.detail.!null\"), value: '!null' }\r\n ];\r\n }\r\n else if (data_type == \"number\" && control_type == \"dropdown\") {\r\n //para las forenkeys... \r\n filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<>\"), value: '<>' },\r\n { name: this.translateService.instant(\"component.reports.detail.null\"), value: 'null' },\r\n { name: this.translateService.instant(\"component.reports.detail.!null\"), value: '!null' }\r\n ];\r\n } else if (data_type == \"list_multiple\") {\r\n filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.contains\"), value: 'contains' },\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<>\"), value: '<>' },\r\n { name: this.translateService.instant(\"component.reports.detail.null\"), value: 'null' },\r\n { name: this.translateService.instant(\"component.reports.detail.!null\"), value: '!null' }\r\n ];\r\n } else {\r\n //boolean\r\n filter_options = [\r\n { name: this.translateService.instant(\"component.reports.detail.=\"), value: '=' },\r\n { name: this.translateService.instant(\"component.reports.detail.<>\"), value: '<>' }\r\n ];\r\n }\r\n return filter_options;\r\n }\r\n\r\n\r\n getFilterComboOptionsText(element: any, field_text: boolean) {\r\n let field = this.entity.fields.filter(m => m.id == element.entity_field_id);\r\n if (field.length > 0) {\r\n if (field_text) {\r\n return field[0].configuration.field_text;\r\n } else {\r\n return field[0].configuration.field_value;\r\n }\r\n }\r\n }\r\n\r\n getFilterOptionsData(element: any) {\r\n let filterOptions: any[] = [];\r\n\r\n let field = this.entity.fields.filter(m => m.id == element.entity_field_id);\r\n if (field.length > 0) {\r\n if (field[0].data_type == \"list\") {\r\n field[0].configuration.options.items.forEach(element => {\r\n let id = field[0].configuration.field_value;\r\n let text = field[0].configuration.field_text;\r\n filterOptions.push({ [id]: element.code, [text]: element.text });\r\n });\r\n } else if (field[0].data_type == \"number\") {\r\n return this.temporalCombo[element.entity_field_id];\r\n }\r\n }\r\n\r\n return filterOptions;\r\n }\r\n\r\n valueTypes(data_type: string, control_type: string) {\r\n let valueType = \"\";\r\n if (data_type == \"string\") {\r\n valueType = 'input-text';\r\n }\r\n else if ((data_type == \"number\" && control_type != \"dropdown\") || data_type == \"date\") {\r\n valueType = (data_type == \"number\" ? 'input-number' : \"input-datetime\");\r\n }\r\n else if (data_type == \"list\") {\r\n valueType = \"list\";\r\n } else if (data_type == \"list_multiple\") {\r\n valueType = 'dropdown-multiple';\r\n } else if (data_type == \"boolean\" && control_type == \"checkbox\") {\r\n valueType = 'switch';\r\n } else {\r\n valueType = 'input-text';\r\n }\r\n\r\n if (control_type == \"dropdown\") {\r\n valueType = 'input-dropdown';\r\n }\r\n return valueType;\r\n }\r\n\r\n unsorted() { }\r\n\r\n\r\n onChangeEntity() {\r\n //Recargamos el combo de datos.\r\n this.entities.forEach(element => {\r\n if (element.id == this.report.entity_id) {\r\n this.report.entity = element;\r\n //revisamos si existen filtros iniciales.\r\n if (this.report.entity.metadata.report.filters != null) {\r\n if (typeof (this.report.metadata.filters) === \"undefined\") this.report.metadata.filters = [];\r\n this.report.metadata.filters = this.report.entity.metadata.report.filters;\r\n }\r\n this.showMap = (this.report.entity_id == 1 || this.report.entity_id == 4);\r\n this.loadEntitiesFields();\r\n }\r\n });\r\n //this.entitiesToFilter = this.getSelectableEntityFields();\r\n //this.entitiesToTable = this.getSelectableEntityFields(true);\r\n };\r\n\r\n onFieldChange(event: any, i: number, j: number) {\r\n if (typeof (this.entity) !== \"undefined\") {\r\n let field = this.entity.fields.find(m => m.id == event.value);\r\n\r\n if (field != null) {\r\n //si es combo cargamos sus opciones\r\n if (field.control_type == \"dropdown\" || field.control_type == \"dropdown-multiple\") {\r\n if (field.use_for_report) this.getComboOptions(field, null);\r\n }\r\n this.report.metadata.filters.filtersGroupAND[i].filtersGroupOR[j].entity_field_model_property = field.full_model_property;\r\n }\r\n }\r\n };\r\n\r\n onShortChange(event: any) {\r\n let field = this.entity.fields.filter(m => m.id == event.value);\r\n if (field.length > 0) {\r\n this.report.metadata.graph.order.order_by = field[0].id;\r\n this.report.metadata.graph.order.order_by_model_property = field[0].full_model_property;\r\n this.report.metadata.graph.order.order_by_model_property_label = field[0].full_model_property_label ?? field[0].full_model_property;\r\n }\r\n }\r\n\r\n onGraphChange(event: any, grouped: boolean, grouped2: boolean = false) {\r\n if (event.value != null) {\r\n if (typeof (this.entity) !== \"undefined\") {\r\n let field = this.entity.fields.filter(m => m.id == event.value);\r\n if (field.length > 0) {\r\n if (grouped) {\r\n if (!grouped2) {\r\n this.report.metadata.graph.entity_field_grouped.entity_field_grouped_id = field[0].id;\r\n this.report.metadata.graph.entity_field_grouped.entity_field_model_property = field[0].full_model_property;\r\n this.report.metadata.graph.entity_field_grouped.entity_field_model_property_label = field[0].full_model_property_label ?? field[0].full_model_property;\r\n if (field[0].data_type == \"date\") {\r\n this.report.metadata.graph.entity_field_grouped.entity_field_grouped_type = \"date\";\r\n this.showDateSelector = true;\r\n } else {\r\n this.showDateSelector = false;\r\n }\r\n } else {\r\n this.report.metadata.graph.entity_field_grouped2.entity_field_grouped_id = field[0].id;\r\n this.report.metadata.graph.entity_field_grouped2.entity_field_model_property = field[0].full_model_property;\r\n this.report.metadata.graph.entity_field_grouped2.entity_field_model_property_label = field[0].full_model_property_label ?? field[0].full_model_property;\r\n if (field[0].data_type == \"date\") {\r\n this.report.metadata.graph.entity_field_grouped2.entity_field_grouped_type = \"date\";\r\n }\r\n }\r\n }\r\n if (!grouped) {\r\n this.report.metadata.graph.entity_field.entity_field_id = field[0].id;\r\n this.report.metadata.graph.entity_field.entity_field_model_property = field[0].full_model_property;\r\n this.report.metadata.graph.entity_field.entity_field_model_property_label = field[0].full_model_property_label ?? field[0].full_model_property;\r\n }\r\n\r\n }\r\n }\r\n } else {\r\n if (!grouped) {\r\n this.report.metadata.entity_field = {}\r\n } else {\r\n if (grouped2) {\r\n this.report.metadata.graph.entity_field_grouped2 = {};\r\n } else {\r\n this.report.metadata.graph.entity_field_grouped = {};\r\n }\r\n }\r\n }\r\n };\r\n\r\n clearEntityFieldGrouped(value) {\r\n if (value == 1) {\r\n this.report.metadata.graph.entity_field_grouped = {}\r\n } else {\r\n this.report.metadata.graph.entity_field_grouped2 = {}\r\n }\r\n\r\n ;\r\n }\r\n\r\n // an async function to simulate loading an item from some server\r\n askValuesToUser(event: any, indexPos: string) {\r\n\r\n //TODO\r\n let askUser = false;\r\n this.report.metadata.filters.filtersGroupAND.forEach(element => {\r\n if (!askUser) {\r\n let aux = element.filtersGroupOR.filter(m => m.ask_user);\r\n if (aux.length > 0) askUser = true;\r\n }\r\n });\r\n\r\n //SOlo se pregunta si cualquier tab salvo el de permisos.\r\n if (askUser && indexPos.trim() != \"Permisos\") {\r\n this.showInHome = false;\r\n const ref = this.dialogService.open(ReportsAskUserComponent, {\r\n data: {\r\n filters: this.report.metadata.filters,\r\n entity: this.entity\r\n },\r\n header: this.translateService.instant(\"component.reports.detail.fill_mandatory\"),\r\n width: '60%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n if (data) {\r\n this.report.metadata.filters = data;\r\n this.save(false, false);\r\n this.goToEvent(event);\r\n }\r\n });\r\n } else {\r\n this.goToEvent(event);\r\n this.showInHome = true;\r\n }\r\n\r\n }\r\n\r\n errorNoName() {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.reports.detail.name_entity_mandatory\"),// 'Por favor, debe indicar el nombre y la entidad del informe',\r\n header: 'Error',\r\n icon: 'fas exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n }\r\n\r\n goToEvent(event: any) {\r\n this.tabIndexActive = event.index;\r\n if (event.index == 1) {\r\n this.onReportTabOpen(this.lastGridEvent);\r\n } else if (event.index == 2) {\r\n this.loadGraph();\r\n } else if (event.index == 3 && this.showMap) {\r\n this.loadMap();\r\n }\r\n }\r\n\r\n onTabOpen(event: any) {\r\n if (event.index != 0) {\r\n if (this.report.name != null && this.report.name != \"\") {\r\n this.save(false, false); //guardamos por si han tocado algo.\r\n this.askValuesToUser(event, event.originalEvent.target.innerText);\r\n } else {\r\n this.errorNoName();\r\n }\r\n }\r\n }\r\n\r\n onReportTabOpen($event) {\r\n this.lastGridEvent = $event;\r\n if (this.tabIndexActive == 1) {\r\n if (this.report.metadata.report.columns == null || this.report.metadata.report.columns.length == 0) {\r\n this.messageService.add({ severity: \"error\", detail: this.translateService.instant(\"component.reports.detail.no_columns_selected\") });\r\n this.loading = false;\r\n return;\r\n }\r\n if (this.report.id) {\r\n this.params = {\r\n _pageSize: $event.rows,\r\n _page: $event.first,\r\n _last: $event.last\r\n };\r\n this.loading = true;\r\n //params = Object.assign(params, this.report);\r\n\r\n this.reportsService.loadData(this.report, this.params._page, this.params._pageSize).subscribe({\r\n next: (data: any) => {\r\n this.results = data;\r\n this.rows = this.results.values;\r\n this.columns = this.report.metadata.report.columns;\r\n this.totalRows = this.results.totalResults;\r\n this.resumen_table_records = this.translateService.instant(\"component.reports.resumen_table_records\", { first: $event.first, last: $event.last, totalRecords: this.totalRows });\r\n this.loading = false;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: \"error\", detail: error.Message });\r\n this.loading = false;\r\n }\r\n });\r\n }\r\n }\r\n }\r\n orderBy(sortBy) {\r\n if (this.sortDirection == \"asc\") { this.sortDirection = \"desc\"; } else { this.sortDirection = \"asc\"; }\r\n if (typeof (this.report.metadata.report.order) === \"undefined\") this.report.metadata.report.order = { \"direction\": this.sortDirection, \"column_key\": null };\r\n\r\n this.report.metadata.report.order.direction = this.sortDirection;\r\n this.report.metadata.report.order.column_key = sortBy;\r\n this.save(false, false);\r\n this.onReportTabOpen(this.lastGridEvent);\r\n }\r\n\r\n getRowValueExcel(header, value = \"\") {\r\n\r\n if (typeof (this.entity.fields) !== \"undefined\") {\r\n\r\n let field = this.entity.fields.find(m => m.id == header.entity_field_id);\r\n let property = field.model_property;\r\n if (field.model_property_label != null && field.model_property_label != \"\") property = field.model_property_label;\r\n\r\n let formatFn = field.formatFn;\r\n if (formatFn == null && field.configuration != null && field.configuration.formatFn != null) {\r\n formatFn = field.configuration.formatFn;\r\n }\r\n if (formatFn != null) {\r\n var format = formatFn.split(\"|\");\r\n if (format[0] == \"date\") { return new Date(value); } // this.datePipe.transform(value, \"dd/MM/yyyy HH:mm\");;\r\n }\r\n\r\n if (value == null || value == \"\") {\r\n value = \" \";\r\n } else {\r\n //Eliminamos el html\r\n if (typeof value == \"string\") {\r\n value = value.replace(/(<([^>]+)>)/ig, \"\");\r\n }\r\n }\r\n }\r\n return value;\r\n }\r\n\r\n exportExcel(results = this.results) {\r\n var headers = [];\r\n var aux = [];\r\n if (results.values == null || results.values.length == 0) {\r\n this.messageService.add({ severity: \"error\", detail: this.translateService.instant(\"component.reports.detail.no_columns_selected\") });\r\n return;\r\n }\r\n //For que recorre cada row y column y devuelve un objeto que será exportado a excel: \r\n results.values.forEach(row => {\r\n var obj = {};\r\n results.labels.forEach(label => {\r\n obj[label.column_key] = this.getRowValueExcel(label, row[label.column_key]);\r\n });\r\n aux.push(obj);\r\n });\r\n results.labels.forEach(label => {\r\n headers.push(label.description);\r\n });\r\n Promise.resolve(null).then(() => this.loading = false);\r\n\r\n var wb = XLSX.utils.book_new();\r\n var ws = XLSX.utils.json_to_sheet(aux, { skipHeader: false });\r\n XLSX.utils.sheet_add_aoa(ws, [headers]);\r\n XLSX.utils.book_append_sheet(wb, ws);\r\n const excelBuffer: any = XLSX.write(wb, { bookType: 'xlsx', type: 'array' });\r\n\r\n // const worksheet = XLSX.utils.json_to_sheet(aux);\r\n // const workbook = { Sheets: { 'Resultados': worksheet }, SheetNames: ['Resultados']};\r\n //const excelBuffer: any = XLSX.write(workbook, { bookType: 'xlsx', type: 'array' });\r\n this.saveAsExcelFile(excelBuffer, \"data\");\r\n }\r\n\r\n exportExcelAllFields() {\r\n var i = 0;\r\n var temporal_report_to_export = JSON.parse(JSON.stringify(this.report));\r\n var entitiesToTable = this.entitiesToTable.filter(e => !e.addAll);\r\n\r\n temporal_report_to_export[\"metadata\"].report.columns = [];\r\n\r\n //if (this.selectedColumns?.entity_name != null) entitiesToTable = entitiesToTable.filter(ef => ef.entity == this.selectedColumns.entity_name);\r\n entitiesToTable.forEach(entity => {\r\n\r\n temporal_report_to_export[\"metadata\"].report.columns.push(\r\n {\r\n order: i,\r\n entity_field_id: entity.id,\r\n entity_field_model_property: entity.entity_field_model_property,\r\n entity_field_model_property_label: entity.entity_field_model_property_label,\r\n description: /*field.entity_name + \"-\" +*/ entity.description,\r\n label: (typeof (entity.label) === \"undefined\" ? \"\" : entity.label)\r\n }\r\n );\r\n i++;\r\n });\r\n if (this.report.id) {\r\n var params = {};\r\n this.loading = true;\r\n this.reportsService.loadData(temporal_report_to_export, null, null).subscribe(\r\n data => {\r\n var results = data;\r\n this.exportExcel(results);\r\n },\r\n error => {\r\n this.messageService.add({ severity: \"error\", detail: error.Message });\r\n this.loading = false;\r\n }\r\n );\r\n }\r\n };\r\n\r\n saveAsExcelFile(buffer: any, fileName: string): void {\r\n let EXCEL_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8';\r\n let EXCEL_EXTENSION = '.xlsx';\r\n const data: Blob = new Blob([buffer], {\r\n type: EXCEL_TYPE\r\n });\r\n FileSaver.saveAs(data, fileName + '_export_' + new Date().getTime() + EXCEL_EXTENSION);\r\n }\r\n\r\n changeFavourite(type) {\r\n this.usersService.setFavouriteReport(this.report.id, type).subscribe(data => {\r\n if (type == \"data\") this.favouriteData = !this.favouriteData;\r\n if (type == \"graph\") this.favouriteGraph = !this.favouriteGraph;\r\n if (type == \"map\") this.favouriteMap = !this.favouriteMap;\r\n //this.messageService.add({ closable: false, severity: 'success', detail: \"Acción realizada correctamente\" });\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n })\r\n }\r\n\r\n graphHome() {\r\n this.usersService.setGraphHome(this.report.id).subscribe(data => {\r\n //this.graphForHome = !this.graphForHome;\r\n //this.messageService.add({ closable: false, severity: 'success', detail: \"Acción realizada correctamente\" });\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n })\r\n }\r\n\r\n getRowOnlyValue(header, value = \"\", item, onlyText = false) {\r\n\r\n if (typeof (this.entity.fields) !== \"undefined\") {\r\n\r\n let field = this.entity.fields.find(m => m.id == header.entity_field_id);\r\n let property = field.model_property;\r\n if (field.model_property_label != null && field.model_property_label != \"\") property = field.model_property_label;\r\n\r\n let formatFn = field.formatFn;\r\n if (formatFn == null && field.configuration != null && field.configuration.formatFn != null) {\r\n formatFn = field.configuration.formatFn;\r\n }\r\n if (formatFn != null) {\r\n var format = formatFn.split(\"|\");\r\n if (format[0] == \"date\") value = this.formatDate(value, format);\r\n if (!onlyText) {\r\n if (format[0] == \"suffix\") value = this.formatSuffix(value, format);\r\n if (format[0] == \"phone\") value = this.formatPhone(value, format);\r\n if (format[0] == \"mail\") value = this.formatMail(value, format);\r\n if (format[0] == \"www\") value = this.formatWWW(value, format);\r\n //if (format[0] == \"badge\") value = this.formatBadge(field, value, format, item);\r\n //if (format[0] == \"badgeColor\") value = this.formatBadgeColor(field, header, value, format);\r\n if (format[0] == \"image\") value = this.formatImage(field, format);\r\n if (format[0] == \"currency\") value = this.formatCurrency(value, format);\r\n if (format[0] == \"number\") value = this.formatNumber(value, format);\r\n }\r\n }\r\n if (String(value) === \"false\") value = \"No\";\r\n if (String(value) === \"true\") value = \"Si\";\r\n if (value == null || value == \"\") value = \" \";\r\n }\r\n return value;\r\n }\r\n\r\n getRowValue(header, value = \"\", item) {\r\n return \"\" + header.description + \"\" + this.getRowOnlyValue(header, value, item, false);\r\n }\r\n\r\n formatDate(value: any, args: any[]) {\r\n if (value == null || value == \"null\" || value == \"\") return \"\";\r\n return this.datePipe.transform(value, args[1]);\r\n }\r\n formatSuffix(value: any, args: any[]) {\r\n return value + args[1];\r\n }\r\n formatPhone(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n formatMail(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n formatWWW(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n if (!value.startsWith(\"http\")) {\r\n value = \"https://\" + value;\r\n }\r\n var formattedValue = \"\" + value + \"\";\r\n return formattedValue;\r\n }\r\n\r\n formatBadgeColor(field: any, row: any, value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n let className = \"\";\r\n let subClassName = \"\";\r\n if (field) {\r\n let refValue = \"\";\r\n if (args[1] != \"\") {\r\n try {\r\n let valorID = eval(\"row.\" + field.model_property);\r\n subClassName = args[1] + valorID;\r\n } catch (e) {\r\n console.error(`Error evaluando this.model.${field.entityField.model_property}`);\r\n }\r\n }\r\n /*className = \"badge badge-block \" + subClassName;\r\n var formattedValue = \"
\" + value + \"
\";*/\r\n\r\n if (typeof (value) !== \"undefined\" && value != \"\" && value != null) {\r\n className = \"p-badge p-component p-badge-no-gutter p-badge-xs p-mr-2 \" + subClassName;\r\n var formattedValue = \"
\" + value;\r\n } else {\r\n var formattedValue = \"
\";\r\n }\r\n\r\n }\r\n\r\n return formattedValue;\r\n }\r\n formatBadge(field: any, value: any, args: any[], row: any) {\r\n //TODO: Falta revisar este.\r\n if (value == null) return \"\";\r\n let className = \"\";\r\n let subClassName = \"\";\r\n if (field) {\r\n let refValue = \"\";\r\n if (args[1] != \"\") {\r\n try {\r\n let valorID = eval(\"row.\" + field.model_property);\r\n subClassName = args[1] + valorID;\r\n } catch (e) {\r\n console.log(e);\r\n console.error(`Error evaluando this.model.${field.entityField.model_property}`);\r\n }\r\n }\r\n className = \"badge badge-block \" + subClassName;\r\n var formattedValue = \"
\" + value + \"
\";\r\n }\r\n return formattedValue;\r\n }\r\n formatImage(value: any, args: any[]) {\r\n if (value == null) return \"\";\r\n var formattedValue = `
\"Avatar\"
Zsazsa McCleverty@zmcclevertye
`;\r\n return formattedValue;\r\n }\r\n formatCurrency(value: any, args: any[]) {\r\n if (value == null) return \"0 €\";\r\n var formattedValue = new Intl.NumberFormat(environment.companyConfiguration.locale, { style: \"currency\", currency: environment.companyConfiguration.currency, useGrouping: true }).format(value);\r\n return formattedValue;\r\n }\r\n formatNumber(value: any, args: any[]) {\r\n if (value == null) return \"0\";\r\n var formattedValue = new Intl.NumberFormat(environment.companyConfiguration.locale).format(value)\r\n return formattedValue;\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.reports.delete_report_message\", { name: this.report.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n this.reportsService.delete(this.report.id).subscribe({\r\n next: (res: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"general.confirmation_delete\") });\r\n this._location.back();\r\n //this.router.navigate(['/reports']);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n openReportClonator() {\r\n if (!this.create_reports) return;\r\n const ref = this.dialogService.open(ReportClonatorComponent, {\r\n data: {\r\n report_id: this.report.id\r\n },\r\n header: \"Duplicar informe\",\r\n width: '35%',\r\n /*baseZIndex: 999*/\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.router.navigateByUrl('/reports/' + data.id);\r\n })\r\n }\r\n\r\n //Variables para la pestaña permissions:\r\n public template: any = {};\r\n public users: any[] = [];\r\n public zones: any[] = [];\r\n public roles: any[] = [];\r\n public selected_zone: any;\r\n public selected_zones: any[] = [];\r\n public selected_user: any;\r\n public selected_users: any[] = [];\r\n public selected_role: any;\r\n public selected_roles: any[] = [];\r\n\r\n //Métodos para la pestaña Permissions:\r\n save_permissions(message) {\r\n this.buildMetadata();\r\n this.reportsService.savePermissions(this.report.id, this.report).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: message });\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n save_zone() {\r\n //Guarda zona en tabla y lo elimina del dropdown.\r\n if (this.selected_zone != null) {\r\n this.zones.splice(this.zones.lastIndexOf(this.selected_zone), 1);\r\n this.selected_zones.push(this.selected_zone);\r\n this.selected_zone = null;\r\n this.save_permissions(this.translateService.instant(\"component.reports.detail.zone_correct\"));\r\n }\r\n }\r\n unlinkZone(zone) {\r\n //Guarda la zona en dropdown y lo elimina de la tabla.\r\n var erased = this.selected_zones.splice(this.selected_zones.lastIndexOf(zone), 1);\r\n this.zones.push(erased[0]);\r\n this.selected_zone = { name: this.translateService.instant(\"component.reports.detail.select_zone\") };\r\n this.save_permissions(this.translateService.instant(\"component.reports.detail.zone_unliked\"));\r\n }\r\n save_role() {\r\n if (this.selected_role != null) {\r\n this.roles.splice(this.roles.lastIndexOf(this.selected_role), 1);\r\n this.selected_roles.push(this.selected_role);\r\n this.selected_role = null;\r\n this.save_permissions(this.translateService.instant(\"component.reports.detail.rol_correct\"));\r\n }\r\n }\r\n unlinkRole(role) {\r\n var erased = this.selected_roles.splice(this.selected_roles.lastIndexOf(role), 1);\r\n this.roles.push(erased[0]);\r\n this.selected_role = { name: this.translateService.instant(\"component.reports.detail.select_rol\") };\r\n this.save_permissions(this.translateService.instant(\"component.reports.detail.rol_unliked\"));\r\n }\r\n save_user() {\r\n if (this.selected_user != null) {\r\n this.users.splice(this.users.lastIndexOf(this.selected_user), 1);\r\n this.selected_users.push(this.selected_user);\r\n this.selected_user = null;\r\n this.save_permissions(this.translateService.instant(\"component.reports.detail.user_correct\"));\r\n }\r\n }\r\n unlinkUser(user) {\r\n var erased = this.selected_users.splice(this.selected_users.lastIndexOf(user), 1);\r\n this.users.push(erased[0]);\r\n this.selected_user = { name: this.translateService.instant(\"component.reports.detail.select_user\") };\r\n this.save_permissions(this.translateService.instant(\"component.reports.detail.user_unliked\"));\r\n }\r\n\r\n buildMetadata() {\r\n var finalZones = [];\r\n var finalUsers = [];\r\n var finalRoles = [];\r\n\r\n this.selected_zones.forEach(zone => {\r\n finalZones.push(zone.id);\r\n });\r\n this.selected_roles.forEach(role => {\r\n finalRoles.push(role.id);\r\n });\r\n this.selected_users.forEach(user => {\r\n finalUsers.push(user.id);\r\n });\r\n\r\n this.report.metadata[\"permissions\"] = {\r\n zones: finalZones,\r\n users: finalUsers,\r\n roles: finalRoles\r\n }\r\n\r\n }\r\n loadMetadata() {\r\n var zonesIds = this.report.metadata[\"permissions\"][\"zones\"];\r\n var usersIds = this.report.metadata[\"permissions\"][\"users\"];\r\n var rolesIds = this.report.metadata[\"permissions\"][\"roles\"];\r\n\r\n //this.report.metadata.graph.visualize = \"count\";\r\n\r\n //Carga la tabla y dropdown de Usuarios:\r\n this.usersService.combo({}).subscribe(\r\n data => {\r\n var tempUsers = [];\r\n this.users = data.rows;\r\n\r\n this.users.forEach(user => {\r\n if (usersIds.indexOf(user.id) > -1) {\r\n this.selected_users.push(user);\r\n } else {\r\n tempUsers.push(user);\r\n }\r\n });\r\n this.users = tempUsers;\r\n /*\r\n this.selected_users = this.users.filter(function (e) {\r\n return usersIds.indexOf(e.id) > -1;\r\n });\r\n */\r\n },\r\n error => {\r\n\r\n }\r\n );\r\n\r\n //Carga la tabla y dropdown de Zonas:\r\n if (this.zonesPermission) {\r\n\r\n this.zonesService.combo({}).subscribe(\r\n data => {\r\n var tempZones = [];\r\n this.zones = data.rows;\r\n this.zones.forEach(zone => {\r\n if (zonesIds.indexOf(zone.id) > -1) {\r\n this.selected_zones.push(zone);\r\n } else {\r\n tempZones.push(zone);\r\n }\r\n });\r\n /*\r\n this.selected_zones = this.zones.filter(function (e) {\r\n return zonesIds.indexOf(e.id) > -1;\r\n });\r\n tempZones = this.zones.filter(function (e) {\r\n return zonesIds.indexOf(e.id) == -1;\r\n });\r\n */\r\n\r\n this.zones = tempZones;\r\n },\r\n error => {\r\n\r\n }\r\n );\r\n }\r\n\r\n //Carga la tabla y dropdown de Roles:\r\n this.rolesService.combo({}).subscribe(\r\n data => {\r\n var tempRoles = [];\r\n this.roles = data.rows;\r\n this.roles.forEach(role => {\r\n if (rolesIds.indexOf(role.id) > -1) {\r\n this.selected_roles.push(role);\r\n } else {\r\n tempRoles.push(role);\r\n }\r\n });\r\n this.roles = tempRoles;\r\n\r\n /*this.selected_roles = this.roles.filter(function (e) {\r\n return rolesIds.indexOf(e.id) > -1;\r\n });*/\r\n }\r\n )\r\n\r\n /*/Carga la tabla y dropdown de Roles:\r\n this.rolesService.getComboRoles({ rolesIds: rolesIds }).subscribe(\r\n data => {\r\n this.selected_roles = data.filter(function (element) {\r\n return element.selected == true;\r\n });\r\n this.roles = data.filter(function (element) {\r\n return element.selected != true;\r\n });\r\n }\r\n );*/\r\n }\r\n\r\n openItem(item: any) {\r\n let id = item[\"base_id\"];\r\n let windowFeatures = 'location=0';\r\n if (this.report.entity.code == \"task\") {\r\n //this.router.navigate(['/tasks', 0, id]);\r\n const url = this.router.serializeUrl(this.router.createUrlTree(['/tasks/', 0, id], { queryParams: {} }));\r\n window.open(url, '_reportDetailsWindow', windowFeatures);\r\n } else if (this.report.entity.code == \"organization\") {\r\n //Organización\r\n const url = this.router.serializeUrl(this.router.createUrlTree(['/organizations/', 0, id], { queryParams: {} }));\r\n window.open(url, '_reportDetailsWindow', windowFeatures);\r\n\r\n } else if (this.report.entity.code == \"meeting\") {\r\n //Reunión\r\n const url = this.router.serializeUrl(this.router.createUrlTree(['/meetings/', id], { queryParams: { meetingId: id, deactivated: true } }));\r\n window.open(url, '_reportDetailsWindow', windowFeatures);\r\n } else if (this.report.entity.code == \"contact\") {\r\n //Contacto\r\n const url = this.router.serializeUrl(this.router.createUrlTree(['/contacts/', id], { queryParams: {} }));\r\n window.open(url, '_reportDetailsWindow', windowFeatures);\r\n }\r\n else if (this.report.entity.code == \"lead\") {\r\n //Contacto\r\n const url = this.router.serializeUrl(this.router.createUrlTree(['/leads/', id], { queryParams: {} }));\r\n window.open(url, '_reportDetailsWindow', windowFeatures);\r\n }\r\n else if (this.report.entity.code == \"product\") {\r\n //Producto\r\n const ref = this.dialogService.open(ProductsDetailComponent, {\r\n data: {\r\n id: id\r\n },\r\n // header: \"Detalles del producto\",\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.onReportTabOpen(this.lastGridEvent);\r\n })\r\n } else if (this.report.entity.code == \"oportunity\" || this.report.entity.code == \"sale\") {\r\n //transacciones\r\n //this.router.navigate(['/transactions', (this.report.entity.code == \"oportunity\" ? 1 : 2), id]);\r\n const url = this.router.serializeUrl(this.router.createUrlTree(['/transactions/', (this.report.entity.code == \"oportunity\" ? 1 : 2), id], { queryParams: {} }));\r\n window.open(url, '_reportDetailsWindow', windowFeatures);\r\n } else if (this.report.entity.code == \"user\") {\r\n //usuarios\r\n const ref = this.dialogService.open(UsersDetailComponent, {\r\n data: {\r\n id: id\r\n },\r\n //header: \"Detalles del usuario\",\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.onReportTabOpen(this.lastGridEvent);\r\n })\r\n } else if (this.report.entity.code == \"family\") {\r\n //familias\r\n const ref = this.dialogService.open(FamiliesDetailComponent, {\r\n data: {\r\n id: id\r\n },\r\n //header: \"Detalles de la familia\",\r\n width: '40%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.onReportTabOpen(this.lastGridEvent);\r\n })\r\n } else if (this.report.entity.code == \"transactionLine\") {\r\n //líneas de transacción\r\n var transactionLineInfo;\r\n this.transactionLinesService.getInfo(id).subscribe({\r\n next: (data: any) => {\r\n transactionLineInfo = data;\r\n const url = this.router.serializeUrl(this.router.createUrlTree(['/transactions/', transactionLineInfo.transaction_type_id, transactionLineInfo.transaction_id], { queryParams: {} }));\r\n window.open(url, '_reportDetailsWindow', windowFeatures);\r\n },\r\n error: (error: any) => {\r\n console.error(error);\r\n }\r\n });\r\n } else {\r\n if (this.report.entity.name_table == \"transactions\") {\r\n this.transactionsService.get(id).subscribe({\r\n next: (data: any) => {\r\n //this.router.navigate(['/transactions', data.transaction_type_id, id]);\r\n const url = this.router.serializeUrl(this.router.createUrlTree(['/transactions/', data.transaction_type_id, id], { queryParams: {} }));\r\n window.open(url, '_reportDetailsWindow', windowFeatures);\r\n },\r\n error: (error: any) => {\r\n\r\n }\r\n });\r\n }\r\n }\r\n }\r\n\r\n deleteData() {\r\n if (this.results.values == null || this.results.values.length == 0) {\r\n this.messageService.add({ severity: \"error\", detail: this.translateService.instant(\"component.reports.detail.no_columns_selected\") });\r\n return;\r\n }\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.reports.detail.delete_elements\", { totalRows: this.totalRows }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: 'pi pi-info-circle',\r\n accept: () => {\r\n const ref2 = this.dialogService.open(ReportsRevalidationActionComponent, {\r\n data: {\r\n columns: this.report.metadata.report.columns,\r\n entity: this.entity,\r\n rowsLength: this.totalRows\r\n },\r\n header: this.translateService.instant(\"component.reports.detail.confirm_user_to_validate\"),\r\n width: '35%',\r\n });\r\n ref2.onClose.subscribe((validate: any) => {\r\n let response = validate;\r\n if (response) {\r\n var baseIds = this.rows.map(m => m.base_id);\r\n this.reportsService.deleteDataMasive(this.report.entity.code, this.report.id).subscribe(\r\n res => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.onReportTabOpen(this.lastGridEvent);\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n updateDataMasive() {\r\n if (this.results.values == null || this.results.values.length == 0) {\r\n this.messageService.add({ severity: \"error\", detail: this.translateService.instant(\"component.reports.detail.no_columns_selected\") });\r\n return;\r\n }\r\n let messageHeader = this.translateService.instant(\"component.reports.detail.select_field_to_update_multiple\", { totalRows: this.totalRows });\r\n if (this.totalRows == 1) {\r\n messageHeader = this.translateService.instant(\"component.reports.detail.select_field_to_update\");\r\n }\r\n const ref = this.dialogService.open(ReportMasiveUpdateComponent, {\r\n data: {\r\n columns: this.report.metadata.report.columns,\r\n entity: this.entity,\r\n rowsLength: this.totalRows\r\n },\r\n header: messageHeader,\r\n width: '40%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n if (data) {\r\n const ref2 = this.dialogService.open(ReportsRevalidationActionComponent, {\r\n data: {\r\n columns: this.report.metadata.report.columns,\r\n entity: this.entity,\r\n rowsLength: this.totalRows\r\n },\r\n header: this.translateService.instant(\"component.reports.detail.confirm_user_to_validate\"),\r\n width: '20%',\r\n });\r\n ref2.onClose.subscribe((validate: any) => {\r\n let response = validate;\r\n if (response) {\r\n\r\n if (this.report.entity.code == \"oportunity\" && data.entity_field_model_property == \"transactions.transaction_status_id\") {\r\n //Son transacciones de tipo oportunidad pero\r\n this.reportsService.checkIfExistSaleOrNeedToCreate(false, this.results.baseIds, data.value).subscribe({\r\n next: (res: any) => {\r\n this.auxResponse = res;\r\n if (this.auxResponse.exist) {\r\n this.coreDialogService.confirm({\r\n message: this.auxResponse.message,\r\n header: \"Confirmar\",\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n //Son transacciones de tipo oportunidad pero\r\n this.reportsService.checkIfExistSaleOrNeedToCreate(true, this.results.baseIds, data.value).subscribe({\r\n next: (res: any) => {\r\n this.reportsService.updateDataMasive(this.report.entity.code, this.results.baseIds, data).subscribe({\r\n next: (res: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.detail.field_updated\") });\r\n this.onReportTabOpen(this.lastGridEvent);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n this.onReportTabOpen(this.lastGridEvent);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n\r\n },\r\n reject: () => {\r\n }\r\n })\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.reportsService.updateDataMasive(this.report.entity.code, this.results.baseIds, data).subscribe({\r\n next: (res: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.reports.detail.field_updated\") });\r\n this.onReportTabOpen(this.lastGridEvent);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n this.onReportTabOpen(this.lastGridEvent);\r\n }\r\n //let datajson = JSON.parse(data);\r\n\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n createTask() {\r\n if (this.results.values == null || this.results.values.length == 0) {\r\n this.messageService.add({ severity: \"error\", detail: this.translateService.instant(\"component.reports.detail.no_columns_selected\") });\r\n return;\r\n }\r\n var pageSize = this.params._pageSize;\r\n var totalPages = Math.ceil(this.totalRows / pageSize);\r\n const ref = this.dialogService.open(ReportCreateTaskComponent, {\r\n data: {\r\n reportId: this.report.id,\r\n reportResults: this.results,\r\n entity: this.entity,\r\n page: this.params._page,\r\n totalPages: totalPages,\r\n totalRows: this.totalRows,\r\n },\r\n header: this.translateService.instant(\"component.reports.detail.new_task\"),\r\n width: '60%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n if (data) {\r\n this.onReportTabOpen(this.lastGridEvent);\r\n }\r\n });\r\n }\r\n\r\n mailMarketing() {\r\n var pageSize = this.params._pageSize;\r\n var page = (this.params._page / pageSize) + 1;\r\n var totalPages = Math.ceil(this.totalRows / pageSize);\r\n\r\n if (!this.mail_marketing) return; //Si no tiene el permiso, no hace nada.\r\n const ref = this.dialogService.open(ReportMailMarketingComponent, {\r\n data: {\r\n reportId: this.report.id,\r\n reportResults: this.results,\r\n entity: this.entity,\r\n entity_id: this.entity.id,\r\n page: this.params._page,\r\n totalPages: totalPages,\r\n totalRows: this.totalRows\r\n },\r\n header: this.translateService.instant(\"component.reports.detail.mail_marketing\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n if (data) {\r\n this.onReportTabOpen(this.lastGridEvent);\r\n }\r\n });\r\n }\r\n\r\n campaigns() {\r\n if (!this.campaigns_permission) return; //Si no tiene el permiso, no hace nada.\r\n var pageSize = this.params._pageSize;\r\n var totalPages = Math.ceil(this.totalRows / pageSize);\r\n const ref = this.dialogService.open(ReportCampaignComponent, {\r\n data: {\r\n reportId: this.report.id,\r\n reportResults: this.results,\r\n entity: this.entity,\r\n entity_id: this.entity.id,\r\n page: this.params._page,\r\n totalPages: totalPages,\r\n totalRows: this.totalRows\r\n },\r\n header: this.translateService.instant(\"component.reports.detail.campaigns\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n if (data) {\r\n this.onReportTabOpen(this.lastGridEvent);\r\n }\r\n });\r\n }\r\n}\r\n","\r\n\r\n\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n {{'component.reports.detail.condition' |\r\n translate}}\r\n \r\n {{'component.reports.detail.and_condition' | translate}}\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n\r\n \r\n\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n {{'component.reports.detail.column' | translate}}\r\n {{'component.reports.detail.name' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{item.description}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{'component.reports.detail.no_columns_selected' | translate}}\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n
\r\n\r\n
\r\n \r\n \r\n \r\n\r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n  {{'component.reports.detail.duplicate_report' | translate}} \r\n\r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n  {{'component.reports.detail.report' | translate}} \r\n \r\n \r\n \r\n
\r\n {{'component.reports.detail.results' | translate}}\r\n
\r\n \r\n \r\n  {{'component.reports.detail.select_as_favourite' | translate}} \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ header.description }}\r\n \r\n \r\n \r\n {{ header.description\r\n }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n {{'general.not_data' | translate }}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n  {{'component.reports.detail.graphic' | translate}} \r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{item.label}}\r\n {{item.label2}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n Total\r\n \r\n {{graph_entity_field_total}}\r\n \r\n \r\n \r\n \r\n \r\n {{'general.not_data' | translate }}\r\n \r\n \r\n \r\n \r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n \r\n  {{'component.reports.detail.map' | translate}} \r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n \r\n \r\n  {{'component.reports.detail.permissions' | translate}} \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n ID\r\n {{'component.reports.detail.name' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n {{zone.id}}\r\n {{zone.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{'general.not_data' | translate }}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n ID\r\n {{'component.reports.detail.name' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n {{role.id}}\r\n {{role.name}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{'general.not_data' | translate }}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n ID\r\n {{'component.reports.detail.name' | translate}}\r\n {{'component.reports.detail.mail' | translate}}\r\n \r\n \r\n \r\n \r\n \r\n {{user.id}}\r\n {{user.name}}\r\n {{user.email}}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {{'general.not_data' | translate }}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n  {{'component.reports.detail.duplicate_report' | translate}} \r\n\r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { ActivatedRoute } from '@angular/router';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\n\r\n@Component({\r\n selector: 'app-reports-revalidation-action',\r\n templateUrl: './reports-revalidation-action.component.html',\r\n styleUrls: ['./reports-revalidation-action.component.scss']\r\n})\r\nexport class ReportsRevalidationActionComponent implements OnInit {\r\n\r\n public errorMessage: string = \"\";\r\n public alertMessage: string = \"\";\r\n public loginData: any = {};\r\n\r\n constructor(private route: ActivatedRoute,\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private coreDialogService: CoreDialogService,\r\n private loginService: LoginService,\r\n private translateService: TranslateService) { }\r\n\r\n ngOnInit() {\r\n var entity = this.config.data.entity;\r\n if (entity.code == \"sale\") {\r\n this.alertMessage = this.translateService.instant(\"component.reports.detail.remember_gestion_transactions_related\");\r\n }\r\n }\r\n\r\n ok() {\r\n if (this.loginService.get(\"username\") == this.loginData.username) {\r\n this.dynamicDialogRef.close(true);\r\n } else {\r\n this.errorMessage = this.translateService.instant(\"component.reports.detail.user_incorrect\");\r\n }\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close(false);\r\n }\r\n}\r\n","
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ReportsService } from '../reports.service';\r\nimport { Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-reports-list',\r\n templateUrl: './reports-list.component.html',\r\n styleUrls: ['./reports-list.component.scss']\r\n})\r\nexport class ReportsListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public reportsFilters: any = {};\r\n\r\n\r\n constructor(\r\n private reportsService: ReportsService,\r\n private usersService: UsersService,\r\n private dialogService: DialogService,\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private router: Router,\r\n private translateService: TranslateService\r\n ) { \r\n \r\n }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n edit(report){\r\n this.router.navigate(['/reports/',report?report.id:0]);\r\n }\r\n\r\n delete(report) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.reports.delete_report_message\", {name: report.name}),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.reportsService.delete(report.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.router.navigate(['/reports']);\r\n this.view.fireEvent(\"reports.list.results\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => { }\r\n });\r\n }\r\n\r\n onEvent(event: any) {\r\n if (event.component == \"reports.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"reports.list.results\", \"reload\");\r\n } else if (event.component == \"reports.list.results\") {\r\n if (event.event == \"dblclick\") this.edit(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.edit(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.edit(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete(event.data);\r\n } if (event.event == \"action\" && event.action.name == \"search\") {\r\n this.view.fireEvent(\"reports.list.results\", \"reload\", event.data);\r\n }\r\n }\r\n \r\n\r\n}\r\n","
{{view.getEntityBaseName(true)}}
\r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { TasksDetailComponent } from '../tasks/tasks-detail/tasks-detail.component';\r\nimport { ReportsDetailComponent } from './reports-detail/reports-detail.component';\r\nimport { ReportsListComponent } from './reports-list/reports-list.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"reports\", component: ReportsListComponent},\r\n { path: \"reports/:id\", component: ReportsDetailComponent },\r\n { path: \"tasks/:organization_id/:id\", component: TasksDetailComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class ReportsRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { ReportsRoutingModule } from './reports-routing.module';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { TableModule } from 'primeng/table';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport { Card, CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextareaModule } from 'primeng/inputtextarea';\r\nimport { SplitButtonModule } from 'primeng/splitbutton';\r\nimport { TimelineModule } from 'primeng/timeline';\r\nimport { CoreModule } from '../core/core.module';\r\nimport { ReportsListComponent } from './reports-list/reports-list.component';\r\nimport { ReportsDetailComponent } from './reports-detail/reports-detail.component';\r\nimport { TabViewModule } from 'primeng/tabview';\r\nimport { AccordionModule } from 'primeng/accordion';\r\n//import { GMapModule } from 'primeng/gmap';\r\nimport { MultiSelectModule } from 'primeng/multiselect';\r\nimport { ChartModule } from 'primeng/chart';\r\nimport { ReportsAskUserComponent } from './reports-detail/reports-ask-user/reports-ask-user.component';\r\nimport { CascadeSelectModule } from 'primeng/cascadeselect';\r\nimport { ReportClonatorComponent } from './reports-detail/report-clonator/report-clonator.component';\r\nimport { FieldsetModule } from 'primeng/fieldset';\r\nimport { ReportMasiveUpdateComponent } from './reports-detail/report-masive-update/report-masive-update.component';\r\nimport { ReportCreateTaskComponent } from './reports-detail/report-create-task/report-create-task.component';\r\nimport { ListboxModule } from 'primeng/listbox';\r\nimport { MessageModule } from 'primeng/message';\r\nimport { ReportsRevalidationActionComponent } from './reports-detail/reports-revalidation-action/reports-revalidation-action.component';\r\nimport { ReportMailMarketingComponent } from './reports-detail/report-mail-marketing/report-mail-marketing.component';\r\nimport { EditorModule } from '@tinymce/tinymce-angular';\r\nimport { FileUploadModule } from 'primeng/fileupload';\r\nimport { RadioButtonModule } from 'primeng/radiobutton';\r\nimport { GoogleMapsModule } from '@angular/google-maps';\r\nimport { IsoToDatePipe } from '../core/core.pipes';\r\nimport { MessagesModule } from 'primeng/messages';\r\nimport { TranslateModule } from '@ngx-translate/core';\nimport { ReportCampaignComponent } from './reports-detail/report-campaign/report-campaign.component';\r\n\r\n\r\n@NgModule({\r\n declarations: [ReportsListComponent,\r\n ReportsDetailComponent,\r\n ReportsAskUserComponent,\r\n ReportClonatorComponent,\r\n ReportMasiveUpdateComponent,\r\n ReportCreateTaskComponent,\r\n ReportsRevalidationActionComponent,\r\n ReportMailMarketingComponent,\r\n ReportCampaignComponent],\r\n imports: [\r\n CommonModule,\r\n ReportsRoutingModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n InputTextareaModule,\r\n DropdownModule,\r\n CalendarModule,\r\n SplitButtonModule,\r\n TimelineModule,\r\n TabViewModule,\r\n AccordionModule,\r\n //GMapModule,\r\n MultiSelectModule,\r\n ChartModule,\r\n CascadeSelectModule,\r\n FieldsetModule,\r\n ListboxModule,\r\n MessageModule,\r\n EditorModule,\r\n FileUploadModule,\r\n RadioButtonModule,\r\n ReactiveFormsModule,\r\n GoogleMapsModule,\r\n MessagesModule,\r\n TranslateModule\r\n ],\r\n exports: [\r\n ReportsListComponent,\r\n ReportsDetailComponent,\r\n ReportsAskUserComponent,\r\n ReportMailMarketingComponent\r\n ],\r\n})\r\nexport class ReportsModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { EmailValidator } from '@angular/forms';\r\nimport { Observable } from 'rxjs';\r\nimport { LoaderService } from '../core/loader/loader.service';\r\nimport { TasksActionTypesService } from '../tasks/tasks-action-types.service';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class ReportsService {\r\n url = \"/api/reports\";\r\n\r\n constructor(private http: HttpClient, private loaderService: LoaderService) { }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n fields(id): Observable {\r\n return this.http.get(this.url + \"/\" + id + \"/fields\");\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n savePermissions(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n\r\n customVoidCombos(url, params): Observable {\r\n return this.http.get(url, { params: params });\r\n }\r\n\r\n loadData(params, _page, _pageSize): Observable {\r\n if (_page == null) return this.http.post(this.url + \"/loadData\", params);\r\n return this.http.post(this.url + \"/loadData/\" + _page + \"/\" + _pageSize, params);\r\n }\r\n loadDataMap(params): Observable {\r\n return this.http.post(this.url + \"/loadDataMap\", params);\r\n }\r\n loadDataGraph(params): Observable {\r\n return this.http.post(this.url + \"/loadDataGraph\", params);\r\n }\r\n\r\n listGraphsHome(): Observable {\r\n this.loaderService.skipRequest(this.url + \"/listGraphsHome\", null);\r\n return this.http.get(this.url + \"/listGraphsHome\");\r\n }\r\n\r\n deleteDataMasive(code, params): Observable {\r\n return this.http.get(this.url + \"/DeleteDataMasive/\" + code + \"/\" + params);\r\n }\r\n checkIfExistSaleOrNeedToCreate(recreate, ids, value): Observable {\r\n return this.http.post(this.url + \"/checkIfExistSaleOrNeedToCreate/\" + recreate, { listIds: ids, value: value });\r\n }\r\n\r\n updateDataMasive(code, ids, params): Observable {\r\n return this.http.post(this.url + \"/UpdateDataMasive/\" + code, { listIds: ids, results: params });\r\n }\r\n getOrganizations(reportId): Observable {\r\n return this.http.get(this.url + \"/GetOrganizations/\" + reportId);\r\n }\r\n\r\n addMultiplesTasks(task, selectedIds, reportId, transactionsIds, campaign_id = null, add_organizations_checkbox = null, add_contacts_checkbox = null): Observable {\r\n return this.http.post(\"api/tasks\" + \"/AddMultiplesTasks/\", { task: task, selectedIds: selectedIds, reportId: reportId, transactionsIds: transactionsIds, campaign_id: campaign_id, add_organizations_checkbox: add_organizations_checkbox, add_contacts_checkbox: add_contacts_checkbox });\r\n }\r\n\r\n sendEmailMarketing(email, selectedIds, reportId): Observable {\r\n return this.http.post(\"api/NotificationsEmails\" + \"/SendEmailMarketing/\", { email: email, selectedIds: selectedIds, reportId: reportId });\r\n }\r\n sendEmail(email): Observable {\r\n return this.http.post(\"api/NotificationsEmails\" + \"/SendEmail/\", { email: email });\r\n }\r\n GetContactsAllowedComunicationFromReport(selectedIds, reportId): Observable {\r\n return this.http.post(this.url + \"/GetContactsAllowedComunicationFromReport/\", { selectedIds: selectedIds, reportId: reportId });\r\n }\r\n GetElementsFromReport(selectedIds, reportId): Observable {\r\n return this.http.post(this.url + \"/GetElementsFromReport/\", { selectedIds: selectedIds, reportId: reportId });\r\n }\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TasksActionTypesService {\r\n url = \"/api/tasksActionTypes\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n isDuplied(obj): Observable{\r\n return this.http.post(this.url+\"/isDuplied\",obj);\r\n }\r\n}\r\n","import { Component, ViewChild } from '@angular/core';\nimport { ActivatedRoute, Router } from '@angular/router';\nimport { TranslateService } from '@ngx-translate/core';\nimport { MessageService } from 'primeng/api';\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\nimport { AddCampaignsToEntityComponent } from 'src/app/campaigns/add-campaigns-to-entity/add-campaigns-to-entity.component';\nimport { CampaignsContactsService } from 'src/app/campaigns/campaigns-contacts.service';\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\nimport { ComponentService } from 'src/app/core/view/component.service';\nimport { ViewComponent } from 'src/app/core/view/view.component';\nimport { ViewsService } from 'src/app/core/view/views.service';\nimport { MailMarketingNotificationToStatsComponent } from 'src/app/mail-marketing/mail-marketing-notification-to-stats/mail-marketing-notification-to-stats.component';\nimport { MailingDetailComponent } from 'src/app/mailing/mailing-detail/mailing-detail.component';\nimport { ContactsService } from 'src/app/organizations/organizations-detail/organizations-contacts-detail/contacts.service';\nimport { OrganizationsService } from 'src/app/organizations/organizations.service';\nimport { Location } from '@angular/common';\n\n@Component({\n selector: 'app-tasks-create-contact',\n templateUrl: './tasks-create-contact.component.html',\n styleUrls: ['./tasks-create-contact.component.scss']\n})\nexport class TasksCreateContactComponent {\n public contact: any = {};\n public task_id;\n public organization: any = {};\n public last_organization_id;\n public previousUrl;\n @ViewChild(\"view\") public view: ViewComponent;\n constructor(\n private route: ActivatedRoute,\n private organizationsService: OrganizationsService,\n private campaignContactsService: CampaignsContactsService,\n private messageService: MessageService,\n private contactService: ContactsService,\n private coreDialogService: CoreDialogService,\n private dialogService: DialogService,\n private router: Router,\n private viewsService: ViewsService,\n private _location: Location,\n private translateService: TranslateService,\n public componentService: ComponentService,\n private config: DynamicDialogConfig,\n private dynamicDialogRef: DynamicDialogRef\n ) { }\n\n ngOnInit(): void {\n this.contact.organization_id = this.config.data.organization_id;\n this.contact.task_id = this.config.data.task_id;\n this.contact.lockOrganization = true;\n this.task_id = this.config.data.task_id;\n this.loadDataOrganization(this.contact.organization_id);\n }\n loadDataOrganization(id: number) {\n this.organizationsService.get(id).subscribe({\n next: (data: any) => {\n this.organization = data;\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\n }\n })\n }\n cancel() {\n this.dynamicDialogRef.close();\n }\n save(event: any) {\n if (!event.valid) {\n this.messageService.add({\n closable: false, severity: \"error\", detail: this.translateService.instant(\"component.contacts.detail.form_incomplete\")\n });\n return;\n }\n if (this.contact.email != null) this.contact.email = this.contact.email.trim();\n if (this.contact.email != null && this.contact.email.length > 0 && !this.validateEmail(this.contact.email)) {\n this.messageService.add({\n closable: false, severity: \"error\", detail: this.translateService.instant(\"component.contacts.detail.invalid_mail\")\n });\n return;\n }\n\n if (typeof this.contact.id === \"undefined\") {\n this.contactService.addAndLinkTask({ contact: this.contact, task_id: this.task_id }).subscribe({\n next: (data: any) => {\n this.messageService.add({\n closable: false, severity: 'success', summary: this.translateService.instant(\"component.contacts.detail.add_contact_correct\")\n });\n this.dynamicDialogRef.close(data);\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\n }\n });\n }\n }\n\n confirmMoveData() {\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.contacts.detail.confirm_move_data\"),\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: \"pi pi-info-circle\",\n accept: () => {\n this.contactService.changeOrganizationAndSave(this.contact.id, this.contact, true).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.contacts.detail.save_contact_correct\") });\n //this.dynamicDialogRef.close(data);\n this._location.back();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\n }\n });\n },\n reject: () => {\n this.contactService.changeOrganizationAndSave(this.contact.id, this.contact).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.contacts.detail.add_contact_correct\") });\n this._location.back();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\n }\n });\n }\n })\n }\n\n delete() {\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.organizations.delete_message\", { name: this.contact.name }),\n header: this.translateService.instant(\"general.confirmation_delete_title\"), // this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: \"pi pi-info-circle\",\n accept: () => {\n this.contactService.delete(this.contact.id).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\n //this.dynamicDialogRef.close();\n //this._location.back();\n if (this.previousUrl != null && this.previousUrl != \"\") {\n this.router.navigate([this.previousUrl]);\n } else {\n this.router.navigate(['/contacts']);\n }\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n });\n },\n reject: () => {\n\n }\n })\n }\n newMail(emailAcc) {\n const ref = this.dialogService.open(MailingDetailComponent, {\n data: {\n to: emailAcc,\n entity_id: 2,\n entity_pk_id: this.contact.id,\n organization_id: this.contact.organization_id,\n contact_id: this.contact.id,\n //template_type_id: 1,\n template_type_code: \"MAIL\",\n searchRelated: true\n },\n header: this.translateService.instant(\"general.new_mail_title\"),//\"Nuevo mensaje de correo\",\n width: '70%',\n });\n ref.onClose.subscribe((data: any) => {\n if (data) {\n //this.dynamicDialogRef.close(data);\n location.reload();\n }\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\n });\n }\n\n isDuplied(contact, event) {\n if (!event.valid) {\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\n return;\n }\n this.contactService.isDuplied(contact).subscribe(\n data => {\n if (data == true) {\n this.coreDialogService.notify({\n message: this.translateService.instant(\"component.contacts.detail.contact_duplicate\"), //\"Ya existe un contacto con estos datos proporcionados.\",\n header: this.translateService.instant(\"general.error\"),\n icon: 'far, exclamation-circle',\n color: 'var(--orange-500)',\n accept: () => { }\n });\n } else {\n this.save(event);\n }\n }\n );\n }\n\n refreshAll() {\n this.view.view?.configuration?.components?.array?.forEach(component => {\n this.view.fireEvent(component.code, \"reload\");\n });\n this.view.fireEvent(\"contacts.campaigns\", \"reload\");\n }\n\n\n openNotificationStats() {\n const ref = this.dialogService.open(MailMarketingNotificationToStatsComponent, {\n data: {\n //organization_id: this.contact.organization_id,\n contact_id: this.contact.id,\n },\n header: this.translateService.instant(\"component.contacts.detail.report_clicks\"),\n width: '70%'\n });\n ref.onClose.subscribe((data: any) => {\n //nothing\n })\n }\n\n openCall(tlfn: string): void {\n // Verificar si el navegador soporta la función de llamada telefónica\n if ('open' in window) {\n // Utilizar el protocolo tel: seguido del número de teléfono\n window.open(`tel:${tlfn}`);\n } else {\n // Manejar el caso donde la función de llamada telefónica no está soportada\n console.log('Tu navegador no soporta la función de llamada telefónica.');\n }\n }\n\n\n validateEmail(email) {\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return re.test(email);\n }\n\n openEmails() {\n if (this.contact.id != null) this.router.navigate([\"/emails\", (this.organization.id ? this.organization.id : 0), this.contact.id]);\n }\n\n alertDisable() {\n this.coreDialogService.notify({\n message: this.translateService.instant(\"component.contacts.detail.disabled_contact_alert\"),//\"Se ha dado de baja el contacto.\",\n header: this.translateService.instant(\"general.error\"),\n icon: 'far exclamation-circle',\n color: 'var(--orange-500)',\n accept: () => {\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.contacts.detail.save_contact_correct\") });\n this._location.back();\n }\n });\n }\n unlinkCampaign(campaign) {\n this.coreDialogService.confirm({\n message: this.translateService.instant(\"component.contacts.unlink_campaign\", { name: campaign.name }),\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\n icon: \"pi pi-info-circle\",\n accept: () => {\n this.campaignContactsService.unlinkContact({ contact_id: this.contact.id, campaign_id: campaign.id }).subscribe({\n next: (data: any) => {\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\n this.refreshAll();\n //this.dynamicDialogRef.close();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n })\n },\n reject: () => {\n\n }\n });\n }\n openCampaign(campaign) {\n window.open(\"/campaigns/\" + (campaign.id ? campaign.id : 0));\n }\n\n addCampaigns() {\n const ref = this.dialogService.open(AddCampaignsToEntityComponent, {\n data: {\n id: this.contact.id,\n entity: 'contact'\n },\n header: this.translateService.instant(\"component.campaigns.addCampaigns\"),\n width: '70%'\n });\n ref.onClose.subscribe((data: any) => {\n this.refreshAll();\n });\n };\n\n onEvent(event: any) {\n if (event.component == \"contacts.detail\") {\n if (event.event == \"action\" && event.action.name == \"openNotificationStats\") this.openNotificationStats();\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\n if (event.event == \"action\" && event.action.name == \"save\") this.isDuplied(this.contact, event);\n if (event.event == \"fieldAction\" && event.action.name == \"new-mail\") this.newMail(event.value);\n if (event.event == \"action\" && event.action.name == \"openNotificationsStats\") this.openNotificationStats();\n if (event.event == \"action\" && event.action.name == \"openEmails\") this.openEmails();\n if (event.event == \"fieldAction\" && event.action.name == \"openCall\") this.openCall(event.value);\n }\n else if (event.component == \"contacts.campaigns\") {\n if (event.event == \"action\" && event.action.name == \"add\") this.addCampaigns();\n if (event.event == \"action\" && event.action.name == \"edit\") this.openCampaign(event.data);\n if (event.event == \"action\" && event.action.name == \"unlink\") this.unlinkCampaign(event.data);\n }\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\n //this.config.header = typeof (this.contact.id) !== \"undefined\" ? \"Detalles del \" + this.view.getEntityBaseName() : \"Nuevo \" + this.view.getEntityBaseName();\n }\n }\n}\n","","import { Component, Injector, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { AttachmentsDetailComponent } from 'src/app/attachments/attachments-detail/attachments-detail.component';\r\nimport { AttachmentsService } from 'src/app/attachments/attachments.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { MailingDetailComponent } from 'src/app/mailing/mailing-detail/mailing-detail.component';\r\nimport { MeetingsService } from 'src/app/organizations/organizations-detail/organizations-meetings-detail/meetings.service';\r\nimport { TransactionsService } from 'src/app/transactions/transactions.service';\r\nimport { UsersService } from '../../users/users.service';\r\nimport { TasksStatusService } from '../tasks-status.service';\r\nimport { TasksService } from '../tasks.service';\r\nimport { CustomHistoryService } from '../../core/customHistory.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { ViewComponentTableComponent } from '../../core/view/component/table/view-component-table.component';\r\nimport { TasksCreateContactComponent } from '../tasks-create-contact/tasks-create-contact.component';\r\nimport { AddCampaignsToEntityComponent } from 'src/app/campaigns/add-campaigns-to-entity/add-campaigns-to-entity.component';\r\n\r\n@Component({\r\n selector: 'app-tasks-detail',\r\n templateUrl: './tasks-detail.component.html',\r\n styleUrls: ['./tasks-detail.component.scss']\r\n})\r\nexport class TasksDetailComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public viewConfig: any = {\r\n showCancel: false\r\n };\r\n private config: any = {};\r\n public task: any = {\r\n responsible_user_id: parseInt(this.loginService.get(\"userId\")),\r\n task_action_scheduled_date: new Date(),\r\n is_finished: false\r\n };\r\n\r\n public action: any = {\r\n task_action_scheduled_date: new Date()\r\n };\r\n public tasks_status: any = [];\r\n public tasksHistories: any = [];\r\n public showNextButton: boolean = false;\r\n public showPrevButton: boolean = false;\r\n private firstTime: boolean = true;\r\n public task_prev_id: number;\r\n public task_next_id: number;\r\n public task_prev;\r\n public task_next;\r\n public origin;\r\n public tooltip_info = {\r\n show: false,\r\n mode: \"\",\r\n subject: \"\",\r\n contact: \"\",\r\n organization: \"\",\r\n responsible: \"\",\r\n last_action_date: \"\",\r\n };\r\n public xPos = \"0px\";\r\n public yPos = \"0px\";\r\n public entered = false;\r\n //TODO: Para que no se vea el botón \"cancelar\" de la vista:\r\n public componentByRoute = false;\r\n public dialogRef: DynamicDialogRef = null;\r\n public tasksFilters: any = {\r\n is_finished: false,\r\n };\r\n public organization_name: string = \"\";\r\n\r\n public dataLoaded: boolean = false;\r\n constructor(\r\n private injector: Injector,\r\n private tasksService: TasksService,\r\n private tasksStatusService: TasksStatusService,\r\n private meetingsService: MeetingsService,\r\n private attachmentsService: AttachmentsService,\r\n private transactionsService: TransactionsService,\r\n private loginService: LoginService,\r\n private messageService: MessageService,\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n private dialogService: DialogService,\r\n private coreDialogService: CoreDialogService,\r\n private viewsService: ViewsService,\r\n private usersService: UsersService,\r\n private customHistoryService: CustomHistoryService,\r\n private translateService: TranslateService\r\n ) {\r\n this.dialogRef = this.injector.get(DynamicDialogRef, null);\r\n const dialogConfig = this.injector.get(DynamicDialogConfig, null);\r\n if (dialogConfig) {\r\n this.viewConfig.showCancel = true;\r\n this.config = dialogConfig;\r\n } else {\r\n this.route.params.subscribe(params => {\r\n this.config.data = {\r\n id: parseInt(params['id']),\r\n organization_id: parseInt(params['organization_id']),\r\n transaction_id: parseInt(params['transaction_id'])\r\n };\r\n if (params[\"origin\"]) {\r\n this.config.data.origin = params[\"origin\"];\r\n this.origin = params[\"origin\"];\r\n }\r\n });\r\n }\r\n if (this.config.data.organization_id != null && this.config.data.organization_id > 0) {\r\n this.task.organization_id = this.config.data.organization_id;\r\n }\r\n }\r\n\r\n sumDate(event) {\r\n this.task.task_action_scheduled_date = new Date(new Date().getTime() + (event.action.param * 24 * 60 * 60 * 1000));\r\n\r\n var dayOfWeek = this.task.task_action_scheduled_date.getDay();\r\n if (dayOfWeek === 6 || dayOfWeek === 0) {\r\n var message = dayOfWeek === 6 ? \"sábado\" : \"domingo\";\r\n dayOfWeek = (dayOfWeek === 0 ? 7 : dayOfWeek); //El domingo es 0.\r\n this.task.task_action_scheduled_date.setDate(this.task.task_action_scheduled_date.getDate() + (8 - dayOfWeek));\r\n\r\n // Mover la fecha al lunes siguiente\r\n\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.tasks.detail.message_non-working_day\", { date: this.task.task_action_scheduled_date.getDate() + \"/\" + (this.task.task_action_scheduled_date.getMonth() + 1) + \"/\" + this.task.task_action_scheduled_date.getFullYear() }),\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n }\r\n this.save(event);\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadTasksStatus();\r\n\r\n /* ELIMINIADO, EN TEORIA NO DEBERIA LLEGAR MÁS POR AQUI.\r\n edit: 07/03/2025: Parece que al final, sí que llega a pasar el id por dialog desde el QuickTasks.*/\r\n if (this.config.data.id != null){\r\n this.loadData(this.config.data.id);\r\n }\r\n this.route.params.subscribe(params => {\r\n if (params['id'] != null) {\r\n this.loadData(params['id']);\r\n }\r\n });\r\n }\r\n\r\n loadData(id) {\r\n if (id != 0) {\r\n this.tasksService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.dataLoaded = true;\r\n //Si vuelven atras a una tarea borrada se redirecciona a crear nueva.\r\n if (data != null) {\r\n this.task = data;\r\n this.organization_name = data.organization.name;\r\n this.task.is_finished = false;\r\n } else {\r\n this.router.navigate(['/tasks/', (this.task.organization_id ? this.task.organization_id : 0), 0]);\r\n }\r\n if (this.firstTime) {\r\n this.change(0);//NEXT\r\n this.change(1);//PREV\r\n this.getNextPrev(false);\r\n this.getNextPrev(true);\r\n this.firstTime = false;\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n\r\n this.dataLoaded = true;\r\n var now = new Date();\r\n var nowMultiple = now.setMinutes(Math.ceil(now.getMinutes() / 15) * 15);\r\n this.task.date = new Date(nowMultiple);\r\n this.task.task_action_scheduled_date = new Date(nowMultiple).toISOString();\r\n //Estamos creando, no se muestran los botones de izq/der\r\n this.showNextButton = false;\r\n this.showPrevButton = false;\r\n }\r\n }\r\n\r\n loadTasksStatus() {\r\n this.tasksStatusService.all({ _sortBy: \"order\" }).subscribe({\r\n next: (data: any) => {\r\n this.tasks_status = data.rows;\r\n //Ordenar estados de actividad por \"is_default\":\r\n //this.tasks_status.sort((a, b) => (a.is_default === b.is_default) ? 0 : a.is_default ? -1 : 1);\r\n this.findDefaultStatus();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n saveIfAllFormsAreValid(event: any) {\r\n //Valida que TODOs los formularios de la vista son válidos sino no deja guardar.\r\n var formsValid = this.view.getAllFormsFromViewValid();\r\n if (!formsValid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n } else {\r\n this.clearEntity();\r\n this.isDuplied(this.task, event);\r\n\r\n }\r\n }\r\n\r\n clearEntity() {\r\n\r\n if (this.task.user != null) this.task.user = null;\r\n if (this.task.organization != null) this.task.organization = null;\r\n if (this.task.contact != null) this.task.contact = null;\r\n if (this.task.transaction != null) this.task.transaction = null;\r\n if (this.task.meeting != null) this.task.meeting = null;\r\n if (this.task.taskStatus != null) this.task.taskStatus = null;\r\n if (this.task.taskActionType != null) this.task.taskActionType = null;\r\n if (this.task.createdBy != null) this.task.createdBy = null;\r\n if (this.task.updatedBy != null) this.task.updatedBy = null;\r\n if (this.task.deletedBy != null) this.task.deletedBy = null;\r\n if (this.task.campaign != null) this.task.campaign = null;\r\n }\r\n\r\n save(event: any) {\r\n if (event != null && !event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n if (typeof this.task.id === \"undefined\") {\r\n if (this.task.transaction_id == null || this.task.transaction_id == 0) this.task.transaction_id = this.config.data.transaction_id;\r\n this.task.date = new Date();\r\n if (this.action.task_action_id != null && this.action.task_action_scheduled_date != null) {\r\n this.task.task_action_id = this.action.task_action_id;\r\n if (this.action.task_action_description != null) this.task.task_action_description = this.action.task_action_description;\r\n this.task.task_action_scheduled_date = this.action.task_action_scheduled_date;\r\n }\r\n this.task.task_action_description = this.task.message;\r\n\r\n this.tasksService.add(this.task).subscribe({\r\n next: (data: any) => {\r\n if (this.dialogRef) this.dialogRef.close(data);\r\n else {\r\n this.task = data;\r\n this.router.navigate([\"tasks\", (this.task.organization_id == null ? 0 : this.task.organization_id), this.task.id]);\r\n //this.loadData(this.task.id);\r\n //this.view.fireEvent(\"tasksHistoryDetail.custom\", \"reload\", this.task);\r\n this.view.fireEvent(\"tasks.campaigns\", \"reload\");\r\n }\r\n this.messageService.add({\r\n closable: false, severity: 'success', summary: this.translateService.instant(\"component.tasks.detail.add_task_correct\")\r\n });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.task.task_action_description = this.task.message;\r\n this.tasksService.save(this.task.id, this.task).subscribe({\r\n next: (data: any) => {\r\n this.task = data;\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.tasks.detail.update_task_correct\") });\r\n this.view.fireEvent(\"tasks.histories\", \"reload\");\r\n this.view.fireEvent(\"tasksHistoryDetail.custom\", \"reload\");\r\n this.view.fireEvent(\"tasks.campaigns\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n findDefaultStatus() {\r\n if (typeof this.task.task_status_id == \"undefined\") {\r\n this.tasks_status.forEach(element => {\r\n if (element.is_default) {\r\n this.task.task_status_id = element.id;\r\n }\r\n });\r\n }\r\n }\r\n\r\n cancel(data: any) {\r\n if (this.dialogRef) {\r\n this.dialogRef.close(data);\r\n } else {\r\n this.router.navigate(['/tasks']);\r\n }\r\n }\r\n\r\n goToCalendar() {\r\n if (this.dialogRef) {\r\n this.dialogRef.close();\r\n }\r\n\r\n this.router.navigate(['/calendar']);\r\n }\r\n\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"organization.task.detail.delete_message\", { subject: this.task.subject }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.tasksService.delete(this.task.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"component.tasks.detail.delete_task_correct\") });\r\n if (this.dialogRef != null) {\r\n this.dialogRef.close();\r\n } else {\r\n //this._location.back();\r\n if (this.customHistoryService.getBackHistory() != null) {\r\n if (!this.customHistoryService.getBackHistory().endsWith(\"/0\")) {\r\n this.router.navigateByUrl(this.customHistoryService.getBackHistory());\r\n } else {\r\n if (this.config.data.organization_id != null) {\r\n this.router.navigateByUrl('/organizations/0/' + this.config.data.organization_id);\r\n } else {\r\n this.router.navigate(['/tasks']);\r\n }\r\n }\r\n } else {\r\n this.router.navigate(['/tasks']);\r\n }\r\n\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n viewMeeting(meeting) {\r\n var params = {\r\n id: meeting ? meeting.organization_id : this.task.organization_id,\r\n contactId: meeting ? meeting.contact_id : this.task.contact_id,\r\n meetingId: meeting ? meeting.id : 0,\r\n taskId: this.task.id,\r\n deactivated: meeting ? true : false\r\n }\r\n // Utiliza router.navigate y pasa el objeto de parámetros\r\n this.router.navigate(['/meetings/', (meeting ? meeting.id : 0)], { queryParams: params });\r\n }\r\n\r\n deleteMeeting(meeting) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.tasks.detail.delete_message_meeting\", { subject: meeting.subject }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.meetingsService.delete(meeting.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"tasks.meetings\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n downloadFile(attachment) {\r\n this.attachmentsService.download(attachment.guid);\r\n }\r\n\r\n viewAttachment(attachment) {\r\n const ref = this.dialogService.open(AttachmentsDetailComponent, {\r\n data: {\r\n id: attachment ? attachment.id : 0,\r\n entity_id: 4,\r\n entity_pk_id: this.task.id,\r\n organization_id: this.task.organization_id\r\n },\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"tasks.attachments\", \"reload\");\r\n });\r\n }\r\n\r\n deleteAttachment(attachment) {\r\n this.coreDialogService.confirm({\r\n message: \"¿Quieres borrar el adjunto \" + attachment.filename + \"?\",\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.attachmentsService.delete(attachment.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"tasks.attachments\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n viewTransaction(event, data, transaction_type_id, code) {\r\n this.router.navigate(['/transactions/', transaction_type_id, (this.task.contact_id ? this.task.contact_id : 0), (this.task.organization_id ? this.task.organization_id : 0), this.task.id, (data?.id ? data.id : 0)]);\r\n }\r\n\r\n loadTaskTransaction() {\r\n if (this.task.id == null) return;\r\n this.tasksService.get(this.task.id).subscribe({\r\n next: (data: any) => {\r\n this.task.transaction_id = data[\"transaction_id\"];\r\n this.view.fireEvent(\"tasks.oportunities\", \"reload\");\r\n this.view.fireEvent(\"tasks.sales\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n deleteTransaction(transaction) {\r\n var code = transaction.transactionType.code;\r\n this.coreDialogService.confirm({\r\n message: \"¿Quieres borrar la transacción?\",\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.transactionsService.delete(transaction.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"tasks.oportunities\", \"reload\");\r\n this.view.fireEvent(\"tasks.sales\", \"reload\");\r\n this.view.fireEvent(code, \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n }\r\n });\r\n }\r\n\r\n newMail(emailAcc, template_type_code, searchRelated, other_entity, other_entity_pk_id) {\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n to: emailAcc,\r\n entity_id: (this.task.id ? 4 : other_entity),\r\n entity_pk_id: (this.task.id ? this.task.id : other_entity_pk_id),\r\n organization_id: this.task.organization_id,\r\n contact_id: this.task.contact_id,\r\n template_type_code: template_type_code,\r\n searchRelated: searchRelated\r\n },\r\n header: this.translateService.instant(\"general.new_mail_title\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"organizations.preview.mails\", \"reload\");\r\n });\r\n }\r\n\r\n link(object, unlink, type, ask = true) {\r\n //El task debe desvincularse o vincularse del transaction.\r\n var message = \"\";\r\n var result = \"\";\r\n\r\n if (unlink) {\r\n switch (type) {\r\n //Desenlazar:\r\n case \"meeting\":\r\n message = this.translateService.instant(\"component.tasks.detail.unlink_meeting_from_task\", { subject: object.subject, subject_task: this.task.subject });\r\n break;\r\n case \"transaction\":\r\n message = this.translateService.instant(\"component.tasks.detail.unlink_transaction_from_task\", { subject: object.description, subject_task: this.task.subject });\r\n break;\r\n }\r\n result = this.translateService.instant(\"component.transaction.detail.unlink_correct\");\r\n } else {\r\n //Enlazar:\r\n switch (type) {\r\n case \"meeting\":\r\n message = this.translateService.instant(\"component.tasks.detail.link_meeting_from_task\", { subject: object.subject, subject_task: this.task.subject });\r\n break;\r\n case \"transaction\":\r\n\r\n message = this.translateService.instant(\"component.tasks.detail.link_transaction_from_task\", { subject: object.description, subject_task: this.task.subject });\r\n break;\r\n }\r\n result = this.translateService.instant(\"component.transaction.detail.link_correct\");\r\n };\r\n\r\n if (ask) {\r\n this.coreDialogService.confirm({\r\n message: message,\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n if (unlink) {\r\n //Desenlazar:\r\n switch (type) {\r\n case \"meeting\":\r\n this.task.meeting_id = null\r\n break;\r\n case \"transaction\":\r\n this.task.transaction_id = null\r\n break;\r\n }\r\n } else {\r\n //Enlazar:\r\n switch (type) {\r\n case \"meeting\":\r\n this.task.meeting_id = object.id\r\n break;\r\n case \"transaction\":\r\n this.task.transaction_id = object.id;\r\n break;\r\n }\r\n };\r\n this.tasksService.link(this.task.id, this.task, type).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: result });\r\n switch (type) {\r\n case \"meeting\":\r\n this.view.fireEvent(\"tasks.meetings\", \"reload\");\r\n break;\r\n case \"transaction\":\r\n this.view.fireEvent(\"tasks.oportunities\", \"reload\");\r\n break;\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n }\r\n });\r\n } else {\r\n //Enlazar:\r\n switch (type) {\r\n case \"meeting\":\r\n this.task.meeting_id = object.id\r\n break;\r\n case \"transaction\":\r\n this.task.transaction_id = object.id;\r\n break;\r\n }\r\n this.tasksService.link(this.task.id, this.task, type).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: result });\r\n switch (type) {\r\n case \"meeting\":\r\n this.view.fireEvent(\"tasks.meetings\", \"reload\");\r\n break;\r\n case \"transaction\":\r\n this.view.fireEvent(\"tasks.oportunities\", \"reload\");\r\n break;\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n isDuplied(task, event) {\r\n if (event != null && !event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n this.clearEntity();\r\n this.tasksService.isDuplied(task).subscribe({\r\n next: (data: any) => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.tasks.detail.task_duplicate\"),\r\n header: 'Error',\r\n icon: 'far, exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save(event);\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n refreshAll() {\r\n this.loadData(this.task.id);\r\n this.view.view?.configuration?.components?.forEach(component => {\r\n this.view.fireEvent(component.code, \"reload\");\r\n });\r\n }\r\n\r\n\r\n openTask(task, prev, next) {\r\n this.setFilters();\r\n this.router.navigate(['/tasks/', this.task.organization_id, (task?.id ? task.id : 0)]);\r\n }\r\n\r\n loadPrevOrNext(id: number) {\r\n let table: ViewComponentTableComponent = this.view.getComponent(\"tasks.tasks\");\r\n let prev: any = null;\r\n let next: any = null;\r\n let task: any = null;\r\n for (let i = 0; i < table.rows.length; i++) {\r\n if (table.rows[i].id == id) {\r\n task = table.rows[i];\r\n if ((i + 1) <= (table.rows.length - 1)) next = table.rows[i + 1];\r\n break;\r\n }\r\n prev = table.rows[i];\r\n }\r\n if (task != null) this.openTask(task, prev, next);\r\n }\r\n\r\n deleteTask(task) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.organizations.delete_message_task\", { subject: task.subject }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.tasksService.delete(task.id).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"tasks.tasks\", \"reload\");\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n )\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n seeFinalizedTasks(seeFinalizedTasks) {\r\n if (seeFinalizedTasks) {\r\n this.task.is_finished = true;\r\n } else {\r\n this.task.is_finished = false;\r\n }\r\n this.view.fireEvent(\"tasks.tasks\", \"reload\");\r\n }\r\n viewTask(task) {\r\n this.openTask(task, null, null);\r\n }\r\n\r\n\r\n unlinkCampaign(campaign) {\r\n this.task.campaign_id = null;\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.tasks.unlink_campaign\", { name: campaign.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.tasksService.save(this.task.id, this.task).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.refreshAll();\r\n //this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n openCampaign(campaign) {\r\n window.open(\"/campaigns/\" + (campaign.id ? campaign.id : 0));\r\n }\r\n\r\n createContact() {\r\n //Abre modal para crear un contacto y lo vincula tanto a la task como a la organización vinculada.\r\n const ref = this.dialogService.open(TasksCreateContactComponent, {\r\n data: {\r\n task_id: this.task.id,\r\n organization_id: this.task.organization_id,\r\n },\r\n width: '70%',\r\n header: this.translateService.instant(\"task.detail.link_new_contact\")\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data != null) {\r\n this.task.contact = data.contact;\r\n this.task.contact_id = data.contact.id;\r\n }\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"tasks.attachments\", \"reload\");\r\n });\r\n }\r\n\r\n addCampaigns() {\r\n const ref = this.dialogService.open(AddCampaignsToEntityComponent, {\r\n data: {\r\n id: this.task.id,\r\n entity: 'task',\r\n campaign_id: this.task.campaign_id\r\n },\r\n header: this.translateService.instant(\"component.campaigns.addCampaigns\"),\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.refreshAll();\r\n });\r\n };\r\n\r\n onEvent(event) {\r\n if (event.event == \"closeDialog\" && event.action.name == \"closeDialog\") this.dialogRef.close();\r\n if (event.event == \"refreshAll\" && event.action.name == \"refreshAll\") { this.refreshAll(); }\r\n if (event.component == \"tasks.edit.general\") {\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel(null);\r\n if (event.event == \"action\" && event.action.name == \"save\") {\r\n this.saveIfAllFormsAreValid(event); //Validamos si todos los formularios son validos, si es así se llamará al isDuplied\r\n }\r\n if (event.event == \"fieldAction\" && event.action.name == \"new-mail\" && event.entityField.model_property == \"organization.email\") {\r\n this.newMail({ name: \"\", email: event.data.organization.email }, \"MAIL\", true, 1, event.data.organization.id);\r\n }\r\n if (event.event == \"fieldAction\" && event.action.name == \"new-mail\" && event.entityField.model_property == \"contact.email\") {\r\n this.newMail({ name: event.data.contact.fullname, email: event.data.contact.email }, \"MAIL\", true, 2, event.data.contact.id);\r\n }\r\n if (event.event == \"onChange\" && event.data != null && event.data.organization != null) {\r\n this.organization_name = event.data.organization.name;\r\n }\r\n } else if (event.component == \"tasks.histories\") {\r\n if (event.event == \"action\" && event.action.name == \"save\") this.saveIfAllFormsAreValid(event);//this.save(event);\r\n if (event.event == \"action\" && event.action.name == \"registerTaskHistory\") this.sumDate(event);\r\n if (event.event == \"fieldAction\" && event.action.name == \"new-mail\") {\r\n if (event.action.param == \"INTERNAL\") {\r\n //Cargamos los datos del usuario (o responsible_id o responsible_user_id)\r\n this.usersService.get(event.value).subscribe({\r\n next: (data: any) => {\r\n var toInfo = { name: data.name, email: data.email }\r\n this.newMail(toInfo, \"MAIL_INTERNAL\", false, 18, data.id);\r\n },\r\n error: (error) => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.newMail({ name: \"\", email: event.value }, \"MAIL\", false, 18, event.data.id);\r\n }\r\n }\r\n } else if (event.component == \"tasks.meetings\") {\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewMeeting(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewMeeting(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteMeeting(event.data);\r\n if (event.event == \"dblclick\") this.viewMeeting(event.data);\r\n if (event.event == \"action\" && event.action.name == \"unlink\") this.link(event.data, true, \"meeting\");\r\n if (event.event == \"action\" && event.action.name == \"link\") this.link(event.data, false, \"meeting\");\r\n if (event.event == \"action\" && event.action.name == \"calendar\") this.goToCalendar();\r\n } else if (event.component == \"tasks.attachments\") {\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewAttachment(null);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteAttachment(event.data);\r\n if (event.event == \"dblclick\") this.viewAttachment(event.data);\r\n if (event.event == \"action\" && event.action.name == \"download\") this.downloadFile(event.data);\r\n } else if (event.component == \"tasks.oportunities\") {\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewTransaction(event, null, 1, \"oportunidad\");\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewTransaction(event, event.data, 1, \"oportunidad\");\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteTransaction(event.data);\r\n if (event.event == \"dblclick\") this.viewTransaction(event, event.data, 1, \"oportunidad\");\r\n if (event.event == \"action\" && event.action.name == \"unlink\") this.link(event.data, true, \"transaction\");\r\n if (event.event == \"action\" && event.action.name == \"link\") this.link(event.data, false, \"transaction\");\r\n } else if (event.component == \"tasks.sales\") {\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewTransaction(event, null, 2, \"venta\");\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewTransaction(event, event.data, 2, \"venta\");\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteTransaction(event.data);\r\n if (event.event == \"dblclick\") this.viewTransaction(event, event.data, 2, \"venta\");\r\n if (event.event == \"action\" && event.action.name == \"unlink\") this.link(event.data, true, \"transaction\");\r\n if (event.event == \"action\" && event.action.name == \"link\") this.link(event.data, false, \"transaction\");\r\n } else if (event.component == \"tasks.tasks\") {\r\n\r\n //if (event.event == \"reorder\") this.reorderPositions(event.data.dragIndex, event.data.dropIndex, event.dragItem, event.dropItem);\r\n if (event.event == \"dblclick\") this.loadPrevOrNext(event.data.id);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewTask(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.loadPrevOrNext(event.data.id);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteTask(event.data);\r\n if (event.event == \"action\" && event.action.name == \"seeFinalizedTasks\") this.seeFinalizedTasks(true);\r\n if (event.event == \"action\" && event.action.name == \"hideFinalizedTasks\") this.seeFinalizedTasks(false);\r\n\r\n } else if (event.component == \"tasks.campaigns\") {\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.openCampaign(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.addCampaigns();\r\n if (event.event == \"action\" && event.action.name == \"unlink\") this.unlinkCampaign(event.data);\r\n } else if (event.component != \"\") {\r\n if (event.event == \"dblclick\") { this.viewTransaction(event, event.data, event.data.transaction_type_id, event.data.transactionType.code); }\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewTransaction(event, null, event.action.transaction_type_id, event.component);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewTransaction(event, event.data, event.data.transaction_type_id, event.data.transactionType.code);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteTransaction(event.data);\r\n }\r\n\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n this.config.header = typeof (this.task.id) !== \"undefined\" ?\r\n this.translateService.instant(\"component.tasks.detail.detail_entity\", { entity_name: this.view.getEntityBaseName() })\r\n :\r\n this.translateService.instant(\"component.tasks.detail.new_entity\", { entity_name: this.view.getEntityBaseName() });\r\n }\r\n }\r\n\r\n status_selected(id) {\r\n //comrpobar si puedo editarlo\r\n if (!this.loginService.canEditModel(this.task, this.view?.entity?.code)) {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: this.translateService.instant(\"component.tasks.detail.not_permission\") });\r\n return;\r\n }\r\n\r\n this.task.task_status_id = id;\r\n\r\n var formsValid = this.view.getAllFormsFromViewValid();\r\n if (!formsValid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n this.clearEntity();\r\n this.save({ valid: formsValid });\r\n }\r\n\r\n change(prev) {\r\n //Desde navegación.\r\n this.route.params.subscribe(params => {\r\n var next_id = params[\"next_id\"];\r\n var prev_id = params[\"prev_id\"];\r\n\r\n if (next_id > 0) {\r\n this.showNextButton = true;\r\n if (next_id > 0) this.task_next_id = params[\"next_id\"];\r\n }\r\n if (prev_id > 0) {\r\n this.showPrevButton = true;\r\n if (prev_id > 0) this.task_prev_id = params[\"prev_id\"];\r\n }\r\n });\r\n\r\n //Desde dialog\r\n if (!this.config.data.params) return;\r\n this.config.data.params.prev = (prev == 0 ? false : true);\r\n if (!prev) {\r\n this.task_next = this.config.data.nextTask;\r\n this.task_next_id = this.config.data.nextTask?.id;\r\n this.showNextButton = (this.task_next_id ? true : false);\r\n }\r\n if (prev) {\r\n\r\n this.task_prev = this.config.data.prevTask;\r\n this.task_prev_id = this.config.data.prevTask?.id;\r\n this.showPrevButton = (this.task_prev_id ? true : false);\r\n }\r\n\r\n }\r\n loadPrevNext(prev) {\r\n let newLoadTaskId = null;\r\n if (prev && this.config.data.prevTask == null) {\r\n this.router.navigate(['/tasks/', (this.task_prev?.organization_id ? this.task_prev.organization_id : 0), this.task_prev_id]);\r\n }\r\n if (!prev && this.config.data.nextTask == null) {\r\n this.router.navigate(['/tasks/', (this.task_next?.organization_id ? this.task_next.organization_id : 0), this.task_next_id]);\r\n }\r\n\r\n\r\n if (prev && this.config.data.prevTask) {\r\n newLoadTaskId = this.config.data.prevTask.id;\r\n }\r\n if (!prev && this.config.data.nextTask) {\r\n newLoadTaskId = this.config.data.nextTask.id;\r\n }\r\n var ret = {\r\n mode: prev ? \"prev\" : \"next\",\r\n id: newLoadTaskId\r\n };\r\n if (this.config.data.prevTask || this.config.data.nextTask) this.cancel(ret);\r\n }\r\n onMouseEnterButton(mode: string) {\r\n if (!this.entered) {\r\n //this.entered sirve para que no recalcule la posición tantas veces y así no haga lenta la pantalla.\r\n window.addEventListener(\"mousemove\", (e) => {\r\n this.xPos = (e.clientX - 145) + \"px\";\r\n this.yPos = (e.clientY - 15) + \"px\";\r\n });\r\n this.entered = true;\r\n if (mode == \"next\") {\r\n this.tooltip_info.mode = this.translateService.instant(\"component.tasks.detail.next_task\");\r\n this.tooltip_info.subject = \"\" + this.task_next?.subject;\r\n this.tooltip_info.responsible = this.task_next?.user?.name;\r\n this.tooltip_info.contact = this.task_next?.contact?.fullname;\r\n this.tooltip_info.last_action_date = this.task_next?.date;\r\n this.tooltip_info.organization = this.task_next?.organization?.name\r\n } else {\r\n this.tooltip_info.mode = this.translateService.instant(\"component.tasks.detail.prev_task\");\r\n this.tooltip_info.subject = \"\" + this.task_prev?.subject;\r\n this.tooltip_info.responsible = this.task_prev?.user?.name;\r\n this.tooltip_info.contact = this.task_prev?.contact?.fullname;\r\n this.tooltip_info.last_action_date = this.task_prev?.date;\r\n this.tooltip_info.organization = this.task_prev?.organization?.name\r\n }\r\n this.tooltip_info.show = true;\r\n }\r\n }\r\n onMouseLeaveButton() {\r\n this.tooltip_info.show = false;\r\n this.entered = false;\r\n }\r\n\r\n getNextPrev(prev) {\r\n // Obtiene la cadena JSON del localStorage utilizando de clave la página de donde proviene.\r\n var haveParamsString = false;\r\n var paramsStringList = localStorage.getItem(\"tasks.list\");\r\n var paramsStringHome = localStorage.getItem(\"home.tasks\");\r\n var paramsStringOrganization = localStorage.getItem(\"organization.tasks\");\r\n\r\n var paramsString = \"{}\";\r\n if (paramsStringList != null) {\r\n paramsString = paramsStringList;\r\n haveParamsString = true;\r\n }\r\n if (paramsStringHome != null) {\r\n paramsString = paramsStringHome;\r\n haveParamsString = true;\r\n }\r\n if (paramsStringOrganization != null) {\r\n paramsString = paramsStringOrganization;\r\n haveParamsString = true;\r\n }\r\n\r\n //Si no viene de ninguna de las vistas anteriores, no mostrará los botones de next/prev task:\r\n if (!haveParamsString) return;\r\n\r\n // Convierte la cadena JSON en un objeto\r\n var params = JSON.parse(paramsString);\r\n\r\n // Limpia el objeto params eliminando los valores nulos\r\n for (var key in params) {\r\n if (params.hasOwnProperty(key) && params[key] === null) {\r\n delete params[key];\r\n }\r\n }\r\n params.prev = prev;\r\n params.viewedId = this.task.id;\r\n this.tasksService.getNextPrev(this.task.id, params).subscribe({\r\n next: (data: any) => {\r\n if (prev) {\r\n this.task_prev_id = data.id;\r\n this.task_prev = data.task;\r\n if (this.task_prev_id > 0) this.showPrevButton = true;\r\n } else {\r\n this.task_next_id = data.id;\r\n this.task_next = data.task;\r\n if (this.task_next_id > 0) this.showNextButton = true;\r\n }\r\n },\r\n error: (error) => {\r\n\r\n }\r\n });\r\n }\r\n\r\n setFilters() {\r\n //Se ocupa de modificar los filters guardados en LocalStorage para pre-cargarlos al abrir la página:\r\n var params2: any = {};\r\n var params = {\r\n is_finished: true,\r\n _sortBy: \"breadcrumb_filters\",\r\n _sortDirection: \"desc\"\r\n };\r\n params = Object.assign(params, this.tasksFilters);\r\n if (params != null) {\r\n Object.keys(params).forEach(key => {\r\n if (typeof (params[key]) != \"undefined\" && params[key] != null) params2[key] = params[key];\r\n });\r\n }\r\n\r\n params2['organization_id'] = this.task.organization_id;\r\n // Convierte el objeto params a una cadena JSON\r\n var paramsString = JSON.stringify(params2);\r\n\r\n localStorage.removeItem(\"organization.tasks\");\r\n // Guarda la cadena JSON en el localStorage con la clave \"organization.tasks\"\r\n localStorage.setItem(\"organization.tasks\", paramsString);\r\n localStorage.removeItem(\"tasks.list\");\r\n localStorage.removeItem(\"home.tasks\");\r\n }\r\n navigateToTask(task: any): void {\r\n // Modificamos filtros del localStorage:\r\n this.setFilters();\r\n var params = {\r\n is_finished: true,\r\n _sortBy: \"breadcrumb_filters\",\r\n _sortDirection: \"desc\"\r\n };\r\n // Navegar a la ruta deseada\r\n if (task && task.organization_id) {\r\n this.router.navigate(['/tasks', task.organization_id], { queryParams: params });\r\n } else {\r\n console.error('Datos insuficientes para navegar');\r\n }\r\n }\r\n}\r\n\r\n","\r\n
\r\n\r\n
\r\n
    \r\n
  • \r\n {{status.name}}\r\n
  • \r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
{{task_prev?.organization?.name}}
\r\n
{{task_prev?.taskActionType?.name}}
\r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
{{task_next?.organization?.name}}
\r\n
{{task_next?.taskActionType?.name}}
\r\n \r\n
\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n {{tooltip_info.mode}}
\r\n \r\n {{'task.entity_fields.subject' | translate}}: {{tooltip_info.subject}}
\r\n {{'task.entity_fields.organization_id' | translate}}: {{tooltip_info.organization}}
\r\n {{'task.entity_fields.responsible_user_id' | translate}}: {{tooltip_info.responsible}}
\r\n {{'task.entity_fields.contact_id' | translate}}: {{tooltip_info.contact}}
\r\n {{'component.tasks.detail.last_action_date' | translate}}: {{tooltip_info.last_action_date | date: 'dd/MM/yyyy\r\n hh:mm'}}
\r\n
\r\n
\r\n
","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TasksHistoriesService {\r\n url = \"/api/tasksHistories\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n isDuplied(obj): Observable{\r\n return this.http.post(this.url+\"/isDuplied\",obj);\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { TasksHistoriesService } from '../tasks-histories.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-tasks-history-detail',\r\n templateUrl: './tasks-history-detail.component.html',\r\n styleUrls: ['./tasks-history-detail.component.scss']\r\n})\r\nexport class TasksHistoryDetailComponent implements OnInit {\r\n public taskHistory: any = {};\r\n constructor(\r\n private tasksHistoriesService: TasksHistoriesService,\r\n private config: DynamicDialogConfig,\r\n private loginService: LoginService,\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n\r\n if(this.config.data.taskHistory)this.taskHistory = this.config.data.taskHistory;\r\n }\r\n save() {\r\n if (this.taskHistory.message) {\r\n this.taskHistory.changed_by = this.loginService.get(\"userId\");\r\n this.taskHistory.changed_at = new Date();\r\n this.taskHistory.task_id = this.config.data.taskId;\r\n\r\n this.tasksHistoriesService.add(this.taskHistory).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.tasks.history_detail.add_history_correct\") });\r\n this.cancel();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n this.cancel();\r\n }\r\n });\r\n }\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.tasks.history_detail.delete_history_message\"),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.tasksHistoriesService.delete(this.taskHistory.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.cancel();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({closable: false, severity: 'error', detail: this.translateService.instant(\"general.delete_field_error\") });\r\n this.cancel();\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n isDuplied() {\r\n this.tasksHistoriesService.isDuplied(this.taskHistory).subscribe({\r\n next: (data: any) => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.tasks.history_detail.history_duplicate\"),\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save();\r\n }\r\n }\r\n });\r\n }\r\n}\r\n","
\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n","import { Component, Input, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { CustomComponent } from 'src/app/core/view/component/custom/custom-component.interface';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { TasksHistoriesService } from '../tasks-histories.service';\r\nimport { TasksHistoryDetailComponent } from '../tasks-history-detail/tasks-history-detail.component';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-tasks-history-line',\r\n templateUrl: './tasks-history-line.component.html',\r\n styleUrls: ['./tasks-history-line.component.scss']\r\n})\r\nexport class TasksHistoryLineComponent implements OnInit, CustomComponent {\r\n @Input() public data: any\r\n @Input() public entity: any;\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public action: any = {\r\n task_action_scheduled_date: new Date()\r\n };\r\n public tasksHistories: any = [];\r\n public canDeleteHistory: boolean;\r\n //public canEditHistory: boolean;\r\n\r\n constructor(\r\n private tasksHistoriesService: TasksHistoriesService,\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private loginService: LoginService,\r\n private dialogService: DialogService,\r\n private viewsService: ViewsService,\r\n private translateService: TranslateService\r\n ) { }\r\n \r\n\r\n ngOnInit(): void {\r\n this.loadTasksHistories();\r\n this.canDeleteHistory = this.loginService.hasPermission(\"TASKS_HISTORY_DELETE\");\r\n //this.canEditHistory = this.loginService.hasPermission(\"TASKS_HISTORY_WRITE\");\r\n\r\n }\r\n\r\n loadTasksHistories() {\r\n if(typeof (this.data.id) !== \"undefined\" ){\r\n this.tasksHistoriesService.all({ task_id: this.data.id }).subscribe({\r\n next: (data: any) => {\r\n this.tasksHistories = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n editTaskHistory(taskHistory) {\r\n const ref = this.dialogService.open(TasksHistoryDetailComponent, {\r\n data: {\r\n taskHistory: taskHistory,\r\n },\r\n //header: user ? \"Detalles del usuario\" : \"Nuevo usuario\",\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"tasksHistoryDetail.custom\", \"reload\");\r\n });\r\n }\r\n\r\n deleteTaskHistory(taskHistory) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.tasks.history_line.delete_history_message\"),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.tasksHistoriesService.delete(taskHistory.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.loadTasksHistories();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n onEvent(component: string, event:string, args:any){\r\n if(component == \"tasksHistoryDetail.custom\" && event == \"reload\"){\r\n this.loadTasksHistories();\r\n }\r\n }\r\n}\r\n","
\r\n \r\n \r\n \r\n {{event.responsible_by_name}}\r\n \r\n \r\n \r\n {{event.taskActionType.name}} - {{event.task_action_scheduled_date | date:'dd/MM/yy HH:mm'}}\r\n Sin tipo de acción - {{event.task_action_scheduled_date | date:'dd/MM/yy HH:mm'}}\r\n \r\n \r\n \r\n \r\n \r\n
{{event.message}}
\r\n {{event.created_by_name}} - {{event.created_at | date:'dd/MM/yy HH:mm'}}\r\n
\r\n
\r\n
\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponentTableComponent } from 'src/app/core/view/component/table/view-component-table.component';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { OrganizationsDetailGeneralComponent } from 'src/app/organizations/organizations-detail/organizations-detail-general/organizations-detail-general.component';\r\nimport { TasksDetailComponent } from '../tasks-detail/tasks-detail.component';\r\nimport { TasksService } from '../tasks.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { UsersService } from '../../users/users.service';\r\nimport { LoginService } from '../../login/login.service';\r\nimport { SessionStorageService } from 'ngx-webstorage';\r\nimport { OrganizationsService } from 'src/app/organizations/organizations.service';\r\n\r\n@Component({\r\n selector: 'app-tasks-list',\r\n templateUrl: './tasks-list.component.html',\r\n styleUrls: ['./tasks-list.component.scss']\r\n})\r\nexport class TasksListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public tasksFilters: any = {\r\n //is_finished: false,\r\n };\r\n public route_organization_id;\r\n public organization;\r\n\r\n constructor(\r\n private tasksService: TasksService,\r\n private dialogService: DialogService,\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private router: Router,\r\n private route: ActivatedRoute,\r\n private viewsService: ViewsService,\r\n private translateService: TranslateService,\r\n private usersService: UsersService,\r\n private loginService: LoginService,\r\n private sessionStorage: SessionStorageService,\r\n private organizationsService: OrganizationsService,\r\n ) {\r\n var params = this.route.snapshot.queryParams;\r\n var is_finished = params.is_finished != null ? Boolean(params.is_finished) : null;\r\n if (is_finished) {\r\n this.tasksFilters.is_finished = true;\r\n } else {\r\n this.tasksFilters.is_finished = false;\r\n }\r\n if (localStorage.getItem(\"isSuperAdmin\") === 'false') {//No es superadmin\r\n\r\n if (!this.loginService.hasPermission(\"TASKS_ALL_RELATED\")) {\r\n this.tasksFilters.responsible_user_id = [parseInt(localStorage.getItem(\"userId\"))];\r\n } else {\r\n //Si tiene este permiso se mostrará todas las tareas de las personas a las que tiene permiso de ver. (Subordinados/zona, etc)\r\n this.usersService.combo({}).subscribe({\r\n next: (data: any) => {\r\n\r\n this.tasksFilters.responsible_user_id = data.rows.map(m => m.id);\r\n this.tasksFilters._op_responsible_user_id = \"in\";\r\n this.view.fireEvent(\"tasks.list.results\", \"reload\", this.tasksFilters);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n //TASKS_SUPERADMIN\r\n }\r\n\r\n ngOnInit(): void {\r\n //No funciona. Lo elimina del modelo el TODOS y no lo gaurdaros en la sesion, al entrar otra vez, lo pone en el modelo porque tiene valor por defecto arriba. Así\r\n //que en el caso de que selecionen de esta opción todos no consigo que lo haga\r\n this.tasksFilters._ignore_nullable_values = [\"is_finished\", \"organization_id\"];\r\n\r\n this.getOrganizationId();\r\n }\r\n\r\n loadPrevOrNext(id: number) {\r\n let table: ViewComponentTableComponent = this.view.getComponent(\"tasks.list.results\");\r\n\r\n let prev: any = null;\r\n let next: any = null;\r\n let task: any = null;\r\n for (let i = 0; i < table.rows.length; i++) {\r\n if (table.rows[i].id == id) {\r\n task = table.rows[i];\r\n if ((i + 1) <= (table.rows.length - 1)) next = table.rows[i + 1];\r\n break;\r\n }\r\n prev = table.rows[i];\r\n }\r\n\r\n if (task != null) this.openTask(task, prev, next);\r\n }\r\n\r\n viewTask(task) {\r\n this.openTask(task, null, null);\r\n }\r\n\r\n openTask(task, prev, next) {\r\n var params2: any = {};\r\n\r\n let table: ViewComponentTableComponent = this.view.getComponent(\"tasks.list.results\");\r\n var params = {\r\n _sortBy: (table != null && table.params._sortBy != \"\" ? table.params._sortBy : \"task_action_scheduled_date\"),\r\n _sortDirection: (table != null ? table.params._sortDirection : \"asc\")\r\n };\r\n params = Object.assign(params, this.tasksFilters);\r\n if (params != null) {\r\n Object.keys(params).forEach(key => {\r\n if (typeof (params[key]) != \"undefined\" && params[key] != null) params2[key] = params[key];\r\n });\r\n }\r\n // Convierte el objeto params a una cadena JSON\r\n var paramsString = JSON.stringify(params);\r\n\r\n // Guarda la cadena JSON en el localStorage con la clave \"tasks.list\"\r\n localStorage.setItem(\"tasks.list\", paramsString);\r\n localStorage.removeItem(\"organization.tasks\");\r\n localStorage.removeItem(\"home.tasks\");\r\n this.router.navigate(['/tasks/', (task?.organization_id ? task.organization_id : 0), (task?.id ? task.id : 0)]);\r\n }\r\n\r\n delete(task) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.tasks.delete_message\", { subject: task.subject }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.tasksService.delete(task.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.router.navigate(['/tasks']);\r\n this.view.fireEvent(\"tasks.list.results\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => { }\r\n })\r\n }\r\n\r\n search() {\r\n this.view.fireEvent(\"tasks.list.results\", \"reload\");\r\n }\r\n\r\n refreshAll() {\r\n this.view?.view?.configuration?.components?.array?.forEach(component => {\r\n this.view.fireEvent(component.code, \"reload\");\r\n });\r\n this.view?.fireEvent(\"tasks.list.results\", \"reload\");\r\n this.view?.fireEvent(\"tasks.list.filters\", \"reload\");\r\n }\r\n\r\n getOrganizationId() {\r\n if (this.route) {\r\n this.route.params.subscribe(params => {\r\n if (params['organization_id']) {\r\n var organization_id = params[\"organization_id\"];\r\n if (organization_id != null && parseInt(organization_id) != 0) {\r\n this.route_organization_id = parseInt(organization_id);\r\n\r\n this.tasksFilters.organization_id = this.route_organization_id;\r\n this.tasksFilters.include_organization_id = this.route_organization_id;\r\n this.tasksFilters._op_organization_id = \"in\";\r\n this.tasksFilters._ignore_session_fields = [\"organization_id\", \"is_finished\"];\r\n this.tasksFilters._excluded_fields = [\"organization_id\"];\r\n\r\n this.refreshAll();\r\n this.view?.fireEvent(\"tasks.list.results\", \"reload\", this.tasksFilters);\r\n this.loadOrganization();\r\n }\r\n } else {\r\n this.refreshAll();\r\n }\r\n });\r\n } else {\r\n this.refreshAll();\r\n }\r\n }\r\n\r\n loadOrganization() {\r\n this.organizationsService.get(this.route_organization_id).subscribe({\r\n next: (data: any) => {\r\n this.organization = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n onEvent(event: any) {\r\n if (event.event == \"refreshAll\" && event.action.name == \"refreshAll\") this.refreshAll();\r\n if (event.event == \"reload\") {\r\n //this.tasksFilters = event.filters;//??\r\n }\r\n if (event.component == \"tasks.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") {\r\n this.search();\r\n }\r\n } else if (event.component == \"tasks.list.results\") {\r\n if (event.event == \"dblclick\") this.loadPrevOrNext(event.data.id);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewTask(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.loadPrevOrNext(event.data.id);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete(event.data);\r\n if (event.event == \"action\" && event.action.name == \"search\") {\r\n this.view.fireEvent(\"tasks.list.results\", \"reload\", event.data);\r\n }\r\n }\r\n }\r\n}\r\n","
{{view.getEntityBaseName(true)}}
\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { TasksDetailComponent } from './tasks-detail/tasks-detail.component';\r\nimport { TasksListComponent } from './tasks-list/tasks-list.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"tasks\", component: TasksListComponent },\r\n { path: \"tasks/:organization_id\", component: TasksListComponent },\r\n { path: \"tasks/:organization_id/:id\", component: TasksDetailComponent },\r\n { path: \"tasks/:organization_id/:transaction_id/:id\", component: TasksDetailComponent },\r\n { path: \"tasks/:organization_id/:id/:prev_id/:next_id\", component: TasksDetailComponent },\r\n { path: \"tasks/:origin/:organization_id/:id/:prev_id/:next_id\", component: TasksDetailComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class TasksRoutingModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TasksStatusService {\r\n url = \"/api/tasksStatus\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { TasksRoutingModule } from './tasks-routing.module';\r\nimport { TasksListComponent } from './tasks-list/tasks-list.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TableModule } from 'primeng/table';\r\nimport { CoreModule } from '../core/core.module';\r\nimport { TasksDetailComponent } from './tasks-detail/tasks-detail.component';\r\nimport {InputTextareaModule} from 'primeng/inputtextarea';\r\nimport {DropdownModule} from 'primeng/dropdown';\r\nimport { TasksHistoryDetailComponent } from './tasks-history-detail/tasks-history-detail.component';\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport {SplitButtonModule} from 'primeng/splitbutton';\r\nimport {TimelineModule} from 'primeng/timeline';\r\nimport { TasksHistoryLineComponent } from './tasks-history-line/tasks-history-line.component';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\nimport { RouterModule } from '@angular/router';\r\nimport { TranslateModule } from '@ngx-translate/core';\nimport { TasksCreateContactComponent } from './tasks-create-contact/tasks-create-contact.component';\r\n\r\n@NgModule({\r\n declarations: [\r\n TasksListComponent,\r\n TasksDetailComponent,\r\n TasksHistoryDetailComponent,\r\n TasksHistoryLineComponent,\r\n TasksCreateContactComponent\r\n ],\r\n imports: [\r\n CommonModule,\r\n RouterModule,\r\n TasksRoutingModule,\r\n InputTextModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n InputTextareaModule,\r\n DropdownModule,\r\n CalendarModule,\r\n SplitButtonModule,\r\n TimelineModule,\r\n TooltipModule,\r\n TranslateModule\r\n ],\r\n exports:[\r\n TasksListComponent,\r\n TasksDetailComponent,\r\n TasksHistoryDetailComponent,\r\n TasksHistoryDetailComponent,\r\n TasksHistoryLineComponent\r\n ]\r\n})\r\nexport class TasksModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TasksService {\r\n url = \"/api/tasks\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n getNextPrevInfo(id): Observable {\r\n return this.http.get(this.url + \"/getNextPrevInfo/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n\r\n //Se podría borrar unlink().\r\n unlink(id, obj): Observable {\r\n return this.http.post(this.url + \"/unlink/\"+id,obj);\r\n }\r\n\r\n link(id, obj, type): Observable {\r\n return this.http.post(this.url + \"/link/\"+type+\"/\"+id,obj);\r\n }\r\n \r\n getNextPrev(viewedId, params): Observable {\r\n params.viewedId = viewedId;\r\n return this.http.get(this.url + \"/getNextPrev\", { params: params });\r\n } \r\n \r\n isDuplied(obj):Observable{\r\n return this.http.post(this.url+\"/isDuplied\",obj);\r\n }\r\n \r\n addMultiplesToCampaign(obj): Observable {\r\n return this.http.post(this.url + \"/addMultiplesToCampaign\", obj);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { TrackingComponent } from './tracking.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"trackings\", component: TrackingComponent }\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class TrackingRoutingModule { }\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig } from 'primeng/dynamicdialog';\r\nimport { TrackingService } from './tracking.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-tracking',\r\n templateUrl: './tracking.component.html',\r\n styleUrls: ['./tracking.component.scss']\r\n})\r\nexport class TrackingComponent implements OnInit {\r\n\r\n public trackings: any = [];\r\n constructor(\r\n private trackingService: TrackingService,\r\n private config: DynamicDialogConfig,\r\n private messageService: MessageService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.loadTracking();\r\n }\r\n\r\n loadTracking() {\r\n this.trackingService.all({\r\n entity_id: this.config.data.entity_id,\r\n entity_pk_id: this.config.data.entity_pk_id\r\n }).subscribe({\r\n next: (data: any) => {\r\n this.trackings = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n getActionDescription(action: string) {\r\n let ret = \"\";\r\n if (action == \"add\") ret = this.translateService.instant(\"general.tracking_add\");\r\n if (action == \"update\") ret = this.translateService.instant(\"general.tracking_update\");\r\n if (action == \"remove\") ret = this.translateService.instant(\"general.tracking_remove\");\r\n if (action == \"delete\") ret = this.translateService.instant(\"general.tracking_delete\");\r\n return ret;\r\n }\r\n\r\n}\r\n","\r\n \r\n {{getActionDescription(event.action)}}
\r\n  {{event.message}}
\r\n {{event.user?.name}}
\r\n {{'general.tracking_from_import' | translate}}
\r\n {{event.date | date:'dd/MM/yy HH:mm':'GMT'}}\r\n
\r\n
\r\n
\r\n {{'general.tracking_empty' | translate }}\r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { TrackingRoutingModule } from './tracking-routing.module';\r\nimport { TrackingComponent } from './tracking.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { InputTextareaModule } from 'primeng/inputtextarea';\r\nimport { SplitButtonModule } from 'primeng/splitbutton';\r\nimport { TableModule } from 'primeng/table';\r\nimport { TimelineModule } from 'primeng/timeline';\r\nimport { CoreModule } from '../core/core.module';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [TrackingComponent],\r\n imports: [\r\n CommonModule,\r\n TrackingRoutingModule,\r\n InputTextModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n InputTextareaModule,\r\n DropdownModule,\r\n CalendarModule,\r\n SplitButtonModule,\r\n TimelineModule,\r\n TranslateModule\r\n ],\r\n exports:[\r\n TrackingComponent\r\n ]\r\n})\r\nexport class TrackingModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TrackingService {\r\n url = \"/api/trackings\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n all2(params): Observable {\r\n return this.http.get(this.url+\"/getAll2\", { params: params });\r\n }\r\n\r\n history(params): Observable {\r\n return this.http.get(this.url+\"/history\", { params: params });\r\n }\r\n\r\n allElements(params): Observable {\r\n return this.http.get(this.url+\"/getAllElements\", { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n}\r\n","import { Component } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { MessageService, FilterService } from 'primeng/api';\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\nimport { EntitiesFieldsService } from 'src/app/configuration/entities-fields.service';\nimport { ReasonsTransactionsStatusService } from 'src/app/configuration/reasons-transactions-status/reasons-transactions-status.service';\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\nimport { TransactionsService } from '../transactions.service';\n\n@Component({\n selector: 'app-add-transaction-reason',\n templateUrl: './add-transaction-reason.component.html',\n styleUrls: ['./add-transaction-reason.component.scss']\n})\nexport class AddTransactionReasonComponent {\n public reasons: any[] = [];\n public transaction: any = {};\n\n constructor(\n private reasonTransactionsService: ReasonsTransactionsStatusService,\n private transactionsService: TransactionsService,\n private config: DynamicDialogConfig,\n private messageService: MessageService,\n private coreDialogService: CoreDialogService,\n private dynamicDialogRef: DynamicDialogRef,\n private entitiesFieldsService: EntitiesFieldsService,\n private filterService: FilterService,\n private translateService: TranslateService\n ) { }\n\n ngOnInit(): void {\n this.transaction = this.config.data.transaction;\n this.loadReasons();\n }\n\n loadReasons() {\n this.reasonTransactionsService.all({}).subscribe({\n next: (data: any) => {\n this.reasons = data.rows;\n },\n error: (error: any) => {\n\n }\n });\n }\n\n saveTransaction() {\n this.transactionsService.save(this.transaction.id, this.transaction).subscribe({\n next: (data: any) => {\n this.dynamicDialogRef.close(this.transaction);\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n });\n }\n\n skipReason() {\n this.dynamicDialogRef.close();\n }\n}\n","\n
\n
\n \n \n
\n
\n \n \n \n
\n
\n \n
\n \n
\n \n \n
\n
\n
","import { Component } from '@angular/core';\nimport { TranslateService } from '@ngx-translate/core';\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\n\n@Component({\n selector: 'app-transaction-status-change-confirm',\n templateUrl: './transaction-status-change-confirm.component.html',\n styleUrls: ['./transaction-status-change-confirm.component.scss']\n})\nexport class TransactionStatusChangeConfirmComponent {\n message: string;\n\n constructor(\n public ref: DynamicDialogRef,\n public config: DynamicDialogConfig,\n private translateService: TranslateService\n ) {\n }\n\n ngOnInit(): void {\n this.message = this.config.data.message;\n }\n\n accept() {\n this.ref.close(true);\n }\n\n reject() {\n this.ref.close(false);\n }\n}\n","
\n
\n \n
\n
\n

{{ message }}

\n
\n
\n
\n \n \n
","import { Component, Injector, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MessageService, Message } from 'primeng/api';\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { TRISTATECHECKBOX_VALUE_ACCESSOR } from 'primeng/tristatecheckbox';\r\nimport { AttachmentsDetailComponent } from 'src/app/attachments/attachments-detail/attachments-detail.component';\r\nimport { AttachmentsService } from 'src/app/attachments/attachments.service';\r\nimport { TransactionStatusService } from 'src/app/configuration/transaction-status/transaction-status.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { MailingDetailComponent } from 'src/app/mailing/mailing-detail/mailing-detail.component';\r\nimport { OrganizationsContactsDetailComponent } from 'src/app/organizations/organizations-detail/organizations-contacts-detail/organizations-contacts-detail.component';\r\nimport { OrganizationsDetailGeneralComponent } from 'src/app/organizations/organizations-detail/organizations-detail-general/organizations-detail-general.component';\r\nimport { OrganizationsDetailComponent } from 'src/app/organizations/organizations-detail/organizations-detail.component';\r\nimport { MeetingsService } from 'src/app/organizations/organizations-detail/organizations-meetings-detail/meetings.service';\r\nimport { OrganizationsMeetingsDetailComponent } from 'src/app/organizations/organizations-detail/organizations-meetings-detail/organizations-meetings-detail.component';\r\nimport { TasksDetailComponent } from 'src/app/tasks/tasks-detail/tasks-detail.component';\r\nimport { TasksService } from 'src/app/tasks/tasks.service';\r\nimport { UsersService } from 'src/app/users/users.service';\r\nimport { ComponentService } from '../../core/view/component.service';\r\nimport { ViewComponentFormComponent } from '../../core/view/component/form/view-component-form.component';\r\nimport { TransactionsService } from '../transactions.service';\r\nimport { TransactionLinesDetailComponent } from './transactions-lines/transaction-lines-detail/transaction-lines-detail.component';\r\nimport { TransactionsLinesService } from './transactions-lines/transactions-lines.service';\r\nimport { CustomHistoryService } from '../../core/customHistory.service';\r\nimport { EntitiesService } from 'src/app/configuration/entities.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { AddCampaignsToEntityComponent } from 'src/app/campaigns/add-campaigns-to-entity/add-campaigns-to-entity.component';\r\nimport { AddTransactionReasonComponent } from '../add-transaction-reason/add-transaction-reason.component';\r\nimport { TransactionStatusChangeConfirmComponent } from '../transaction-status-change-confirm/transaction-status-change-confirm.component';\r\n\r\n@Component({\r\n selector: 'app-transactions-detail',\r\n templateUrl: './transactions-detail.component.html',\r\n styleUrls: ['./transactions-detail.component.scss']\r\n})\r\nexport class TransactionsDetailComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public viewConfig: any = {\r\n showCancel: false\r\n };\r\n private config: any = {};\r\n public transaction: any = {};\r\n public transaction_db: any = {};\r\n public transaction_type_id;\r\n public transactions_status: any[] = [];\r\n private transactionStatus: any;\r\n public showMessageBlockData: boolean = false;\r\n public blockPipeline: boolean = false;\r\n // public user: any;\r\n public disableForm = \"\";\r\n\r\n public dialogRef: DynamicDialogRef = null;\r\n constructor(\r\n private injector: Injector,\r\n private transactionsService: TransactionsService,\r\n private transactionsStatusService: TransactionStatusService,\r\n private entitiesService: EntitiesService,\r\n private transactionsLinesService: TransactionsLinesService,\r\n private attachmentsService: AttachmentsService,\r\n private tasksService: TasksService,\r\n private meetingsService: MeetingsService,\r\n private loginService: LoginService,\r\n private userService: UsersService,\r\n private viewsService: ViewsService,\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private dialogService: DialogService,\r\n private router: Router, private usersService: UsersService,\r\n private route: ActivatedRoute,\r\n private customHistoryService: CustomHistoryService,\r\n private translateService: TranslateService\r\n ) {\r\n this.dialogRef = this.injector.get(DynamicDialogRef, null);\r\n const dialogConfig = this.injector.get(DynamicDialogConfig, null);\r\n if (dialogConfig) {\r\n this.viewConfig.showCancel = true;\r\n this.config = dialogConfig;\r\n } else {\r\n this.route.params.subscribe(params => {\r\n //parses a Int:\r\n var contact_id = params['contact_id'] ? parseInt(params['contact_id']) : null;\r\n var organization_id = params['organization_id'] ? parseInt(params['organization_id']) : null;\r\n var from_task_id = params['from_task_id'] ? parseInt(params['from_task_id']) : null;\r\n this.config.data = {\r\n id: parseInt(params['id']),\r\n transaction_type_id: parseInt(params['transaction_type_id']),\r\n contactId: contact_id,\r\n organization_id: organization_id,\r\n from_task_id: from_task_id\r\n };\r\n });\r\n }\r\n }\r\n\r\n ngOnInit(): void {\r\n this.loadTransactionsStatus();\r\n if (this.config.data.id != null) {\r\n this.loadData(this.config.data.id);\r\n }\r\n if (this.config.data.transaction_type_id != null) this.transaction_type_id = this.config.data.transaction_type_id;\r\n /* Arriba se rellena this.config, no hace falta hacerlo aqui tambien, sino se llama varias veces\r\n this.route.params.subscribe(params => {\r\n if (params['id'] != null) {\r\n alert(\"this.route.params\")\r\n this.loadData(params['id']);\r\n }\r\n })*/\r\n }\r\n\r\n loadData(id) {\r\n\r\n if (id != null && id != 0) {\r\n this.transactionsService.get(id).subscribe({\r\n next: (data: any) => {\r\n if (data != null) {\r\n this.transaction = data;\r\n this.transaction.tracking_notes = null;\r\n\r\n //Guardamos la transaccion que viene en la base de datos\r\n this.transaction_db = JSON.stringify(data);\r\n\r\n //Miramos si es un estado final de transaccion de tipo oportunidad para sacar la venta relacionada, si tiene (para la información de sage)\r\n if (this.loginService.hasFeature('31')) {\r\n //Por si han puesto el customizado\r\n if (this.transaction.transactionStatus.final) {\r\n //Buscamos si tiene una venta.\r\n this.transactionsService.getSaleRelated(this.transaction.id).subscribe({\r\n next: (data: any) => {\r\n this.transaction.offer = data;\r\n this.view.fireEvent(\"transactionSAGE.custom\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n console.log(error);\r\n }\r\n });\r\n }\r\n }\r\n\r\n this.transactionsStatusService.get(this.transaction.transaction_status_id).subscribe({\r\n next: (data: any) => {\r\n this.transactionStatus = data;\r\n var rolesData;\r\n if (this.transactionStatus.metadata != null) rolesData = this.transactionStatus.metadata[\"rolesData\"]?.map(rD => rD.id);\r\n //Comprobamos roles asignados al estado de la transacción para bloquearlo si no los contiene el usuario.\r\n if (this.transactionStatus.block_data && typeof (rolesData) !== \"undefined\" && !rolesData.includes(this.loginService.get(\"roleId\")) && this.loginService.get(\"isSuperAdmin\") == \"false\") {\r\n this.showMessageBlockData = true;\r\n this.disableForm = \"pointer-events: none; opacity: 0.5;\";\r\n } else {\r\n this.showMessageBlockData = false;\r\n this.disableForm = \"\";\r\n }\r\n if (this.transactionStatus.block_pipeline) {\r\n this.blockPipeline = true;\r\n } else { this.blockPipeline = false; }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n //Por si van a una borrada\r\n this.router.navigate(['/transactions/',\r\n (this.config.data.transaction_type_id == null ? 0 : this.config.data.transaction_type_id),\r\n (this.config.data.contact_id == null ? 0 : this.config.data.contact_id),\r\n (this.config.data.organization_id == null ? 0 : this.config.data.organization_id),\r\n (this.config.data.from_task_id == null ? 0 : this.config.data.from_task_id),\r\n 0\r\n ]);\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.transaction.transaction_type_id = this.config.data.transaction_type_id;\r\n this.transaction.organization_id = this.config.data.organization_id;\r\n this.transaction.date = new Date();\r\n this.transaction.base_amount = 0;\r\n this.transaction.cost_amount = 0;\r\n this.transaction.profit_calculated = 0;\r\n this.transaction.tax_amount = 0;\r\n this.transaction.total_amount = 0;\r\n this.transaction.total_amount_calculated = 0;\r\n var userId = parseInt(localStorage.getItem(\"userId\"));\r\n this.transaction.responsible_id = userId;\r\n if (this.config.data.contactId) this.transaction.contact_id = this.config.data.contactId;\r\n }\r\n }\r\n\r\n isTransactionModified() {\r\n //Eliminamos las relaciones\r\n var transactionDB = JSON.parse(this.transaction_db);\r\n transactionDB.createdBy = null;\r\n transactionDB.created_by = null;\r\n transactionDB.updatedBy = null;\r\n transactionDB.updated_by = null;\r\n transactionDB.offer = null;\r\n transactionDB.responsible = null;\r\n transactionDB.responsible2 = null;\r\n transactionDB.contact = null;\r\n transactionDB.transactionType = null;\r\n transactionDB.transactionStatus = null;\r\n transactionDB.organization = null;\r\n transactionDB.relatedTransaction = null;\r\n transactionDB.business = null;\r\n\r\n var transactionActualStringify = JSON.stringify(this.transaction);\r\n var transactionActual = JSON.parse(transactionActualStringify);\r\n transactionActual.createdBy = null;\r\n transactionActual.created_by = null;\r\n transactionActual.updatedBy = null;\r\n transactionActual.updated_by = null;\r\n transactionActual.offer = null;\r\n transactionActual.responsible = null;\r\n transactionActual.responsible2 = null;\r\n transactionActual.contact = null;\r\n transactionActual.transactionType = null;\r\n transactionActual.transactionStatus = null;\r\n transactionActual.organization = null;\r\n transactionActual.relatedTransaction = null;\r\n transactionActual.business = null;\r\n\r\n return JSON.stringify(transactionActual) != JSON.stringify(transactionDB);\r\n }\r\n\r\n loadDataTotal(id) {\r\n this.transactionsService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.transaction.cost_amount = data.cost_amount;\r\n this.transaction.base_amount = data.base_amount;\r\n this.transaction.tax_amount = data.tax_amount;\r\n this.transaction.total_amount = data.total_amount;\r\n this.transaction.total_amount_calculated = data.total_amount_calculated;\r\n this.transaction.profit_calculated = data.profit_calculated;\r\n this.view.fireEvent(\"transaction.edit.transactionsLines\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n\r\n }\r\n\r\n loadTransactionsStatus() {\r\n this.transactionsStatusService.all({ transaction_type_id: this.config.data.transaction_type_id }).subscribe({\r\n next: (data: any) => {\r\n this.transactions_status = data.rows;\r\n if (this.transaction.id == null) {\r\n this.transaction.transaction_status_id = this.transactions_status[0].id;\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n save(event: any, save_continue: Boolean = false, callback = null) {\r\n\r\n\r\n if (this.transaction.block_data) {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.transactions.detail.cant_modify_transaction\") });\r\n return;\r\n }\r\n if (event.valid == false) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n if (event.valid) {\r\n if (typeof this.transaction.id === \"undefined\") {\r\n if (this.config.data.from_task_id) var from_task_id = this.config.data.from_task_id;\r\n if (from_task_id != null) this.transaction.from_task_id = from_task_id;\r\n this.transactionsService.add(this.transaction).subscribe({\r\n next: (data: any) => {\r\n if (!save_continue) {\r\n if (this.dialogRef) this.dialogRef.close(data);\r\n else {\r\n this.transaction = data;\r\n this.transaction.tracking_notes = null;\r\n //this.loadData(this.transaction.id);\r\n this.router.navigate(['/transactions/', this.transaction_type_id, this.transaction.id]);\r\n }\r\n } else {\r\n this.transaction = data;\r\n this.transaction.tracking_notes = null;\r\n this.loadData(this.transaction.id);\r\n }\r\n this.messageService.add({\r\n closable: false, severity: 'success', summary: this.translateService.instant(\"component.transaction.detail.add_transaction_correct\")\r\n });\r\n this.view.fireEvent(\"entityHistory.custom\", \"reload\");\r\n this.view.fireEvent(\"transactionSAGE.custom\", \"reload\");\r\n this.view.fireEvent(\"transactions.edit.campaigns\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.transactionsService.save(this.transaction.id, this.transaction).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.transaction.detail.save_transaction_correct\") });\r\n if (!save_continue) {\r\n if (this.dialogRef) this.dialogRef.close(data);\r\n } else {\r\n this.transactionsStatusService.get(this.transaction.transaction_status_id).subscribe({\r\n next: (data: any) => {\r\n this.transactionStatus = data;\r\n if (this.transactionStatus.final) {\r\n this.showMessageBlockData = true;\r\n } else {\r\n this.showMessageBlockData = false;\r\n }\r\n if (callback != null) callback(callback)\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n this.transaction.tracking_notes = null;\r\n this.view.fireEvent(\"entityHistory.custom\", \"reload\");\r\n this.view.fireEvent(\"transactionSAGE.custom\", \"reload\");\r\n this.view.fireEvent(\"transactions.edit.campaigns\", \"reload\");\r\n //this.refreshAll();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n } else {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n }\r\n }\r\n\r\n isDuplied(event, save_continue, callback) {\r\n\r\n if (typeof (this.transaction.total_amount) != \"string\") this.transaction.total_amount = this.transaction.total_amount + \"\";\r\n this.transaction.total_amount = (this.transaction.total_amount.indexOf(',') !== -1 ? this.transaction.total_amount.replace(\",\", \".\") : this.transaction.total_amount);\r\n\r\n\r\n if (!event.valid) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n this.transactionsService.isDuplied(this.transaction).subscribe({\r\n next: (data: any) => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.transaction.detail.transaction_duplicate\"),\r\n header: 'Error',\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save(event, save_continue, callback);\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n if (this.dialogRef) this.dialogRef.close();\r\n //Deberíamos pensar si este router navigate debería ser así o retroceder una página hacia atrás:\r\n else this.router.navigate(['/transactions/' + this.transaction.transaction_type_id]);\r\n }\r\n\r\n redirectRelatedTransaction() {\r\n var saleTitle = this.translateService.instant(\"sale.entity.name\");\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.transaction.detail.redirect_to_sale_generated\", { sale: saleTitle.toLowerCase() }),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n //TODO:\r\n this.router.navigate(['/transactions', this.transaction.relatedTransaction.transaction_type_id, this.transaction.related_transaction_id],)\r\n }\r\n });\r\n }\r\n\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.transactions.delete_message\", { entity: this.view.getEntityBaseName() }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.transactionsService.delete(this.transaction.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n if (this.transaction.related_transaction_id) this.redirectRelatedTransaction();\r\n if (this.dialogRef) {\r\n this.dialogRef.close();\r\n }\r\n else {\r\n if (this.customHistoryService.getBackHistory() != null) {\r\n this.router.navigateByUrl(this.customHistoryService.getBackHistory());\r\n } else {\r\n this.router.navigate(['/transactions', this.transaction.transaction_type_id]);\r\n }\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n //code\r\n }\r\n })\r\n }\r\n\r\n editTransactionLine(transactionLine) {\r\n const ref = this.dialogService.open(TransactionLinesDetailComponent, {\r\n data: {\r\n id: transactionLine ? transactionLine.id : null,\r\n transaction_id: this.transaction.id,\r\n entityBaseName: this.view.getEntityBaseName(),\r\n business_id: this.transaction.organization?.business_id,\r\n organization_rate_option: this.transaction.organization?.rate_option,\r\n discount_percent: this.transaction.organization?.discount_percent\r\n },\r\n header: transactionLine ?\r\n this.translateService.instant(\"component.transaction.detail.detail_entity_line\", { entity_name: this.view.getEntityBaseName() })\r\n :\r\n this.translateService.instant(\"component.transaction.detail.new_entity_line\", { entity_name: this.view.getEntityBaseName() }),\r\n showHeader: true,\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.loadDataTotal(this.transaction.id);\r\n this.view.fireEvent(\"transaction.edit.transactionsLines\", \"reload\");\r\n this.view.fireEvent(\"transactions.edit.mails\", \"reload\");\r\n this.view.fireEvent(\"entityHistory.custom\", \"reload\");\r\n });\r\n }\r\n deleteTransactionLine(transactionLine) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.transaction.detail.delete_transaction_line\"),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.transactionsLinesService.delete(transactionLine.id).subscribe({\r\n next: (data: any) => {\r\n this.loadDataTotal(this.transaction.id);\r\n this.messageService.add({ severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"transaction.edit.transactionsLines\", \"reload\");\r\n this.view.fireEvent(\"entityHistory.custom\", \"reload\");\r\n this.view.fireEvent(\"transactions.edit.campaigns\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => { }\r\n });\r\n }\r\n downloadFile(attachment) {\r\n this.attachmentsService.download(attachment.guid);\r\n }\r\n\r\n viewAttachment(attachment, hideTabs: boolean) {\r\n\r\n //Para que se descargue automaticamente si no es editable.\r\n if (attachment != null && attachment.id != null && attachment.related_attachment_id == null) {\r\n this.downloadFile(attachment);\r\n } else {\r\n\r\n const ref = this.dialogService.open(AttachmentsDetailComponent, {\r\n data: {\r\n id: attachment ? attachment.id : 0,\r\n entity_id: this.getTransactionEntityId(),\r\n entity_pk_id: this.transaction.id,\r\n organization_id: this.transaction.organization_id,\r\n hideTabs: hideTabs\r\n },\r\n //header: attachment ? \"Detalles del adjunto\" : \"Nuevo adjunto\",\r\n width: '70%',\r\n /*baseZIndex: 999*/\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"transaction.attachments\", \"reload\");\r\n });\r\n }\r\n\r\n }\r\n\r\n deleteAttachment(attachment) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.transaction.detail.delete_message_attachment\", { filename: attachment.filename }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.attachmentsService.delete(attachment.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"transaction.attachments\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n private_status_select(id, show_reason = false) {\r\n this.transaction.responsible = null;\r\n this.transaction.responsible2 = null;\r\n this.transaction.contact = null;\r\n this.transaction.transactionStatus = null;\r\n this.transaction.transaction_status_id = id;\r\n //Si no está creado, sólamente actualizará el estado sin guardar la entidad.\r\n if (this.transaction.id) {\r\n this.transactionsService.save(this.transaction.id, this.transaction).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.transaction.detail.update_status_correct\") });\r\n\r\n if (data.generated_sale_id != null) this.router.navigate(['/transactions/', 2, data.generated_sale_id]);\r\n // if(data.transactionStatus.generate_transaction == true && this.transaction.transaction_type_id != 2) this.messageService.add({severity:\"success\", detail:\"Se ha generado una venta con el nombre Venta de \"+data.description+\".\"});\r\n if (show_reason) {\r\n this.addReason();\r\n } else {\r\n this.loadData(this.transaction.id);\r\n\r\n this.view.fireEvent(\"transactions.edit.campaigns\", \"reload\");\r\n this.view.fireEvent(\"entityHistory.custom\", \"reload\");\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n\r\n status_selected(id) {\r\n //Comprobar si puedo editarlo.\r\n if (!this.loginService.canEditModel(this.transaction, this.view?.entity?.code)) {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: this.translateService.instant(\"component.transaction.detail.user_not_permission\") });\r\n return;\r\n }\r\n if (this.transaction.id == null || this.transaction.id == 0) this.private_status_select(id);\r\n var rolesData;\r\n if (this.transactionStatus.metadata != null) rolesData = this.transactionStatus.metadata[\"rolesStatus\"]?.map(rD => rD.id);\r\n if (this.transactionStatus.block_pipeline && !rolesData.includes(parseInt(this.loginService.get(\"roleId\"))) && this.loginService.get(\"isSuperAdmin\") == \"false\") {\r\n //Si está bloqueado y no se tiene el rol que te permite cambiar estado -> el pipeline no se puede cambiar el estado.\r\n this.messageService.add({ closable: false, severity: 'error', detail: this.translateService.instant(\"component.transaction.detail.not_change_state\") });\r\n } else {\r\n //Buscamos si el id tiene un mensaje, si lo tiene cargamos el popup\r\n this.transactionsStatusService.get(id).subscribe({\r\n next: (data: any) => {\r\n let transactStatus: any;\r\n transactStatus = data;\r\n var selected_role_status = transactStatus.metadata?.rolesStatus?.find(r => r.id == this.loginService.get(\"roleId\"));\r\n var skipConfirmation = selected_role_status?.skipConfirmation;\r\n if (transactStatus.confirmation_text != null && transactStatus.confirmation_text != \"\" && !skipConfirmation) {\r\n this.showConfirmDialog(id, transactStatus);\r\n /*\r\n this.coreDialogService.confirm({\r\n message: transactStatus.confirmation_text,\r\n header: this.translateService.instant(\"component.transaction.detail.confirm_action\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.private_status_select(id, transactStatus.show_reason);\r\n },\r\n reject: () => {\r\n //code\r\n }\r\n })*/\r\n } else {\r\n this.private_status_select(id, transactStatus.show_reason);\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n\r\n showConfirmDialog(id, transactStatus) {\r\n //Sirve para confirmar el cambio de estado y mostrar el mensaje.\r\n const ref = this.dialogService.open(TransactionStatusChangeConfirmComponent, {\r\n data: {\r\n message: transactStatus.confirmation_text\r\n },\r\n header: this.translateService.instant(\"component.transaction.detail.confirm_action\"),\r\n width: '50%'\r\n });\r\n ref.onClose.subscribe((confirmed: boolean) => {\r\n if (confirmed) {\r\n this.private_status_select(id, transactStatus.show_reason);\r\n }\r\n });\r\n }\r\n\r\n addReason() {\r\n const ref = this.dialogService.open(AddTransactionReasonComponent, {\r\n data: {\r\n transaction: this.transaction,\r\n },\r\n header: this.translateService.instant('component.transaction_reason.add'),\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data != null) {\r\n this.loadData(this.transaction.id);\r\n this.view.fireEvent(\"transactions.edit.campaigns\", \"reload\");\r\n this.view.fireEvent(\"entityHistory.custom\", \"reload\");\r\n /*if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"transaction.edit.meetings\", \"reload\");\r\n this.view.fireEvent(\"transactions.edit.mails\", \"reload\");*/\r\n }\r\n });\r\n }\r\n\r\n viewTask(task) {\r\n if (this.dialogRef != null) this.dialogRef.close();\r\n this.router.navigate(['/tasks/', this.transaction.organization_id, this.transaction.id, (task?.id ? task.id : 0)]);\r\n }\r\n\r\n deleteTask(task) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.transaction.detail.delete_task_message\", { subject: task.subject }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.tasksService.delete(task.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"transaction.edit.tasks\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => { }\r\n })\r\n }\r\n viewMeeting(meeting) {\r\n /*const ref = this.dialogService.open(OrganizationsMeetingsDetailComponent, {\r\n data: {\r\n id: this.transaction.organization_id,\r\n contactId: meeting ? meeting.contact_id : 0,\r\n meetingId: meeting ? meeting.id : 0,\r\n deactivated: true,\r\n transaction_id: this.transaction.id\r\n },\r\n //header: meeting ? \"Detalles de la reunión\" : \"Nueva reunión\",\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"transaction.edit.meetings\", \"reload\");\r\n this.view.fireEvent(\"transactions.edit.mails\", \"reload\");\r\n });*/\r\n\r\n var params = {\r\n id: this.transaction.organization_id ? this.transaction.organization_id : 0,\r\n contactId: meeting ? meeting.contact_id : 0,\r\n meetingId: meeting ? meeting.id : 0,\r\n deactivated: true,\r\n transaction_id: this.transaction.id\r\n }\r\n // Utiliza router.navigate y pasa el objeto de parámetros\r\n this.router.navigate(['/meetings/', (meeting ? meeting.id : 0)], { queryParams: params });\r\n }\r\n deleteMeeting(meeting) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.transaction.detail.delete_meeting_message\", { subject: meeting.subject }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.meetingsService.delete(meeting.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"transaction.edit.meetings\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n unlink(task) {\r\n //El task debe desvincularse del transaction.\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.transaction.detail.unlink_task_from_transaction\", { subject_task: task.subject }),\r\n header: \"Desvincular actividad\",\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.tasksService.unlink(task.id, task).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"component.transaction.detail.unlink_correct\") });\r\n this.view.fireEvent(\"transaction.edit.tasks\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n\r\n link(task) {\r\n //La transacción debe vincularse a la transacción.\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.transaction.detail.link_task_from_transaction\", { subject_task: task.subject }),\r\n header: \"Vincular transacción\",\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n //TODO: método link().\r\n this.tasksService.unlink(task.id, task).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"component.transaction.detail.link_correct\") });\r\n this.view.fireEvent(\"transaction.edit.tasks\", \"reload\");\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n reorderPositions(dragIndex, dropIndex, dragItem, dropItem, arrayIds, params) {\r\n this.transactionsLinesService.updatePositions({\r\n dragIndex: dragIndex,\r\n dropIndex: dropIndex,\r\n arrayIds: arrayIds,\r\n _sortBy: params._sortBy,\r\n _sortDirection: params._sortDirection,\r\n _page: params._page,\r\n _pageSize: params._pageSize\r\n }).subscribe(\r\n data => {\r\n this.view.fireEvent(\"transaction.edit.transactionsLines\", \"reload\");\r\n }\r\n )\r\n return [dragItem, dropItem];\r\n }\r\n\r\n newMail(emailAcc, entity_id, entity_pk_id, template_type_code, searchRelated) {\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n to: emailAcc,\r\n entity_id: entity_id,\r\n entity_pk_id: entity_pk_id,\r\n organization_id: this.transaction.organization_id,\r\n contact_id: this.transaction.contact_id,\r\n //template_type_id: 1\r\n template_type_code: template_type_code,\r\n searchRelated: searchRelated\r\n },\r\n header: this.translateService.instant(\"general.new_mail_title\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"transactions.edit.mails\", \"reload\");\r\n });\r\n }\r\n\r\n viewMail(data) {\r\n var entity_id = this.getTransactionEntityId();\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n mail_id: data.notification_email_id,\r\n organization_id: data.organization_id,\r\n entity_id: entity_id,\r\n template_type_code: \"MAIL\",\r\n notification_to_id: data.id,\r\n searchRelated: true\r\n },\r\n header: this.translateService.instant(\"general.new_mail_title\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"transactions.edit.mails\", \"reload\");\r\n });\r\n };\r\n\r\n resendMail(data) {\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n resendMail: true,\r\n mail_id: data.notification_email_id,\r\n to: null,\r\n //template_type_id: 1,\r\n template_type_code: \"MAIL\",\r\n is_generic: true,\r\n searchRelated: true\r\n },\r\n header: this.translateService.instant(\"general.resend_mail_title\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data) => {\r\n\r\n });\r\n }\r\n\r\n getTransactionEntityId() {\r\n switch (this.transaction.transaction_type_id) {\r\n case 1:\r\n return 13; //oportunity\r\n case 2:\r\n return 28; //sale\r\n default:\r\n\r\n var cacheEntities = this.entitiesService.cacheEntities;\r\n var id = cacheEntities.find(m => m.code == this.transaction.transactionType.code).id;\r\n if (id) return id;\r\n else return 29; //transaction\r\n }\r\n }\r\n\r\n calculateTotals() {\r\n this.transaction.total_amount_calculated = this.transaction.base_amount + this.transaction.tax_amount;\r\n if (this.transaction.discount > 0) this.transaction.base_amount = this.transaction.base_amount - (this.transaction.base_amount * this.transaction.discount / 100);\r\n this.transaction.profit_calculated = this.transaction.total_amount_calculated - this.transaction.cost_amount; //Calculamos el beneficio.\r\n }\r\n\r\n recalculate() {\r\n this.transaction.total_amount = this.transaction.total_amount_calculated + \"\";\r\n }\r\n\r\n refreshAll() {\r\n this.loadData(this.transaction.id);\r\n //this.view.fireEvent(\"transaction.edit.general\", \"reload\");\r\n this.view.view?.configuration?.components?.array?.forEach(component => {\r\n this.view.fireEvent(component.code, \"reload\");\r\n });\r\n this.view.fireEvent(\"transactions.edit.campaigns\", \"reload\");\r\n }\r\n\r\n goToCalendar() {\r\n if (this.dialogRef) {\r\n this.dialogRef.close();\r\n }\r\n this.router.navigate(['/calendar']);\r\n }\r\n\r\n unlinkCampaign(campaign) {\r\n\r\n this.transaction.campaign_id = null;\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.transaction.unlink_campaign\", { name: campaign.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.transactionsService.save(this.transaction.id, this.transaction).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.refreshAll();\r\n //this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => {\r\n\r\n }\r\n });\r\n }\r\n openCampaign(campaign) {\r\n window.open(\"/campaigns/\" + (campaign.id ? campaign.id : 0));\r\n }\r\n\r\n addCampaigns() {\r\n const ref = this.dialogService.open(AddCampaignsToEntityComponent, {\r\n data: {\r\n id: this.transaction.id,\r\n entity: 'transaction',\r\n campaign_id: this.transaction.campaign_id\r\n },\r\n header: this.translateService.instant(\"component.campaigns.addCampaigns\"),\r\n width: '70%'\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.refreshAll();\r\n });\r\n };\r\n\r\n onEvent(event: any) {\r\n if (event.event == \"refreshAll\" && event.action.name == \"refreshAll\") this.refreshAll();\r\n if (event.component == \"transaction.edit.general\") {\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.isDuplied(event, false, null);\r\n if (event.event == \"action\" && event.action.name == \"save_continue\") this.isDuplied(event, true, null);\r\n if (event.event == \"fieldAction\" && event.action.name == \"new-mail\" && event.entityField.model_property == \"organization.email\") {\r\n var entity_id = this.getTransactionEntityId();\r\n this.newMail(event.data.organization.email, entity_id, event.data.id, \"MAIL\", true);\r\n }\r\n if (event.event == \"fieldAction\" && event.action.name == \"new-mail\" && event.entityField.model_property == \"contact.email\") {\r\n let email = event.data.contact.email;\r\n let id = event.data.id\r\n var entity_id = this.getTransactionEntityId();\r\n //Comprobamos si lo que hay es distinto a lo que había para cuando nos cambian el contacto.\r\n if (this.isTransactionModified()) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.transaction.detail.not_saved_data_send_email\"),\r\n header: \"Confirmación de guardado\",\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.isDuplied(event, true, this.newMail(email, entity_id, id, \"MAIL\", true));\r\n },\r\n reject: () => {\r\n }\r\n })\r\n } else {\r\n this.newMail(email, entity_id, id, \"MAIL\", true);\r\n }\r\n }\r\n if (event.event == \"fieldAction\" && event.action.name == \"new-mail\" && typeof (event.action.param) !== \"undefined\" && event.action.param == \"INTERNAL\") {\r\n //Son solo para los new_emails internos.\r\n //Cargamos los datos del usuario (o responsible_id o responsible_user_id)\r\n this.usersService.get(event.value).subscribe({\r\n next: (data: any) => {\r\n var entity_id = this.getTransactionEntityId();\r\n var toInfo = { name: data.name, email: data.email }\r\n this.newMail(toInfo, entity_id, event.data.id, \"MAIL_INTERNAL\", false);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n if (event.event == \"action\" && event.action.name == \"generatePDF\") {\r\n this.viewAttachment(null, true);\r\n }\r\n if (event.event == \"onChange\") {\r\n this.calculateTotals();\r\n }\r\n } else if (event.component == \"transaction.edit.general.total\") {\r\n if (event.event == \"fieldAction\" && event.action.name == \"recalculate\") {\r\n this.recalculate();\r\n }\r\n } else if (event.component == \"transaction.edit.transactionsLines\") {\r\n if (event.event == \"reorder\") {\r\n let items = this.reorderPositions(event.data.dragIndex, event.data.dropIndex, event.dragItem, event.dropItem, event.ids, event.params);\r\n }\r\n if (event.event == \"dblclick\") {\r\n\r\n this.editTransactionLine(event.data);\r\n }\r\n if (event.event == \"action\" && event.action.name == \"add\") this.editTransactionLine(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.editTransactionLine(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteTransactionLine(event.data);\r\n } else if (event.component == \"transaction.attachments\") {\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewAttachment(null, false);\r\n if (event.event == \"action\" && event.action.name == \"generatePDF\") {\r\n this.viewAttachment(null, true);\r\n }\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteAttachment(event.data);\r\n if (event.event == \"dblclick\") this.viewAttachment(event.data, false);\r\n if (event.event == \"action\" && event.action.name == \"download\") this.downloadFile(event.data);\r\n } else if (event.component == \"transaction.edit.tasks\") {\r\n if (event.event == \"dblclick\") this.viewTask(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewTask(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewTask(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteTask(event.data);\r\n if (event.event == \"action\" && event.action.name == \"unlink\") this.unlink(event.data);\r\n if (event.event == \"action\" && event.action.name == \"link\") this.link(event.data);\r\n } else if (event.component == \"transaction.edit.meetings\") {\r\n if (event.event == \"dblclick\") this.viewMeeting(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewMeeting(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewMeeting(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteMeeting(event.data);\r\n if (event.event == \"action\" && event.action.name == \"calendar\") this.goToCalendar();\r\n } else if (event.component == \"transactions.edit.mails\") {\r\n if (event.event == \"dblclick\") this.viewMail(event.data);\r\n if (event.event == \"action\" && event.action.name == \"view\") this.viewMail(event.data);\r\n if (event.event == \"action\" && event.action.name == \"resend-mail\") this.resendMail(event.data);\r\n } else if (event.component == \"transaction.edit.general.total\") {\r\n if (event.event == \"onChange\") {\r\n //this.calculateTotals();\r\n }\r\n } else if (event.component == \"transactions.edit.campaigns\") {\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.openCampaign(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.addCampaigns();\r\n if (event.event == \"action\" && event.action.name == \"unlink\") this.unlinkCampaign(event.data);\r\n }\r\n if (event.component == \"view\" && event.event == \"entity-loaded\" && this.view != null) {\r\n this.config.header = typeof (this.transaction.id) !== \"undefined\" ? this.translateService.instant(\"component.transaction.detail.detail_entity\", { entity_name: this.view.getEntityBaseName() })\r\n :\r\n this.translateService.instant(\"component.transaction.detail.new_entity\", { entity_name: this.view.getEntityBaseName() });\r\n }\r\n if (this.showMessageBlockData) {\r\n this.view.getComponent(\"transaction.edit.general\").locked = true;\r\n this.view.getComponent(\"transaction.edit.tasks\").locked = true;\r\n this.view.getComponent(\"transaction.edit.transactionsLines\").locked = true;\r\n this.view.getComponent(\"transaction.edit.meetings\").locked = true;\r\n this.view.getComponent(\"transaction.edit.general\").locked = true;\r\n if (this.view.getComponent(\"transaction.attachments\") != null) this.view.getComponent(\"transaction.attachments\").locked = true;\r\n } else {\r\n if (this.view.getComponent(\"transaction.edit.general\") != null) this.view.getComponent(\"transaction.edit.general\").locked = false;\r\n if (this.view.getComponent(\"transaction.edit.tasks\") != null) this.view.getComponent(\"transaction.edit.tasks\").locked = false;\r\n if (this.view.getComponent(\"transaction.edit.transactionsLines\") != null) this.view.getComponent(\"transaction.edit.transactionsLines\").locked = false;\r\n if (this.view.getComponent(\"transaction.edit.meetings\") != null) this.view.getComponent(\"transaction.edit.meetings\").locked = false;\r\n if (this.view.getComponent(\"transaction.edit.general\") != null) this.view.getComponent(\"transaction.edit.general\").locked = false;\r\n if (this.view.getComponent(\"transaction.attachments\") != null) this.view.getComponent(\"transaction.attachments\").locked = false;\r\n }\r\n }\r\n}\r\n","\r\n\r\n
    \r\n
  • \r\n {{status.name}}\r\n
  • \r\n
\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n","import { Component, ElementRef, EventEmitter, Input, OnInit, Output, ViewChild } from '@angular/core';\nimport { FilterService, MessageService } from 'primeng/api';\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\nimport { EntitiesFieldsService } from 'src/app/configuration/entities-fields.service';\nimport { FamiliesService } from 'src/app/configuration/families/families.service';\nimport { TaxRatesService } from 'src/app/configuration/tax-rates/tax-rates.service';\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\nimport { ViewComponent } from 'src/app/core/view/view.component';\nimport { ProductsService } from 'src/app/products/products.service';\nimport { TransactionsLinesService } from '../transactions-lines.service';\nimport { LoginService } from '../../../../login/login.service';\nimport { CustomComponent } from '../../../../core/view/component/custom/custom-component.interface';\n\n@Component({\n selector: 'app-transaction-lines-detail-custom',\n templateUrl: './transaction-lines-detail-custom.component.html',\n styleUrls: ['./transaction-lines-detail-custom.component.scss']\n})\nexport class TransactionLinesDetailCustomComponent implements OnInit, CustomComponent {\n @Input() public view: ViewComponent;\n @Input() public data: any\n @Input() public entity: any;\n\n public entityBaseName: string = \"transacción\";\n public transactionLine: any = {};\n public tax_rates: any;\n public params: any = {};\n public families: any[] = [];\n public familiesFiltered: any[] = [];\n public products: any[] = [];\n public productsFiltered: any[] = [];\n public productsNames: any[] = [];\n public productsNamesJson: any[] = [];\n public hasCharacteristics: boolean = false;\n public characteristics1: any[] = [];\n public characteristics2: any[] = [];\n public characteristics1Name: string = \"\";\n public characteristics2Name: string = \"\";\n public oldItemId: any;\n public available_fields: any = [];\n\n constructor(\n private familiesService: FamiliesService,\n private productsService: ProductsService,\n private transactionsLinesService: TransactionsLinesService,\n private taxRatesService: TaxRatesService,\n private config: DynamicDialogConfig,\n private messageService: MessageService,\n private coreDialogService: CoreDialogService,\n private dynamicDialogRef: DynamicDialogRef,\n private entitiesFieldsService: EntitiesFieldsService,\n private filterService: FilterService,\n private loginService: LoginService\n ) {\n }\n\n ngOnInit(): void {\n\n this.filterService.register('hasAllWords', (value, filter): boolean => {\n let words = filter.toLowerCase().split(' ');\n return words.every(q => value.toLowerCase().includes(q));\n return true;\n });\n this.entityBaseName = this.config.data.entityBaseName;\n this.GetTransactionLinesFieldsAvailable();\n this.loadFamilies();\n this.loadTaxRates();\n this.loadData(this.config.data.id);\n this.GetEntityFieldDescription();\n\n if (this.loginService.hasFeature(31) || this.loginService.hasFeature(28)) {\n //this.loadZones();\n }\n }\n\n is_available(code){\n return this.available_fields.includes(code);\n }\n\n GetTransactionLinesFieldsAvailable() {\n this.entitiesFieldsService.GetTransactionLinesFieldsAvailable().subscribe({\n next: (data: any) => {\n this.available_fields = data.map(field => field.name);\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n });\n }\n\n GetEntityFieldDescription() {\n this.entitiesFieldsService.GetEntityFieldDescription(8, \"characteristics1\").subscribe({\n next: (data: any) => {\n this.characteristics1Name = data.description;\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n });\n this.entitiesFieldsService.GetEntityFieldDescription(8, \"characteristics2\").subscribe({\n next: (data: any) => {\n this.characteristics2Name = data.description;\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n });\n }\n\n loadData(id) {\n if (id) {\n this.transactionsLinesService.get(id).subscribe({\n next: (data: any) => {\n this.transactionLine = data;\n this.transactionLine.tax_percent = this.transactionLine.tax_percent + \"\";\n this.transactionLine.custom_cost_price = (this.transactionLine.cost_price * 1 / (this.transactionLine.qty ?? 1));\n this.params.product_id = this.transactionLine.product_id;\n this.params.product_name = this.transactionLine.product?.name;\n this.params.family_id = this.transactionLine.product?.family_id;\n this.params.characteristics1 = this.transactionLine.product?.characteristics1;\n this.params.characteristics2 = this.transactionLine.product?.characteristics2;\n this.transactionLine.business_id = this.config.data.business_id;\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n });\n } else {\n this.transactionLine.transaction_id = this.config.data.transaction_id;\n this.transactionLine.business_id = this.config.data.business_id;\n }\n }\n\n loadFamilies() {\n this.familiesService.all({}).subscribe({\n next: (data: any) => {\n this.families = data.rows;\n this.loadProducts();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n });\n }\n loadProducts() {\n let params: any = {};\n if (this.transactionLine.business_id != null) {\n params = { business_id: this.transactionLine.business_id };\n }\n this.productsService.all(params).subscribe({\n next: (data: any) => {\n this.products = data.rows\n if (data.rows.map(m => m.characteristics1).filter(m => m != null).length > 0 || data.rows.map(m => m.characteristics2).filter(m => m != null).length > 0) {\n this.hasCharacteristics = true;\n }\n this.loadFilters();\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n });\n }\n\n onlyUnique(value, index, self) {\n //Realiza la función de un distinct.\n return self.indexOf(value) === index;\n }\n\n clearFilters() {\n this.params = {};\n this.clearTransactionline();\n this.getOptions();\n }\n\n clearTransactionline() {\n this.transactionLine.product_id = null;\n this.transactionLine.net_price = null;\n this.transactionLine.tax_percent = null;\n this.transactionLine.price = null;\n this.transactionLine.total_amount = null;\n this.transactionLine.qty = null;\n this.transactionLine.base_amount = null;\n this.transactionLine.description = null;\n this.transactionLine.discount = null;\n }\n\n onDropDownChange(field: string, event: any, value: any) {\n\n if (event && value == null) {\n this.params.product_id = null;\n if (field == \"family_id\") {\n this.params.product_name = null;\n this.params.characteristics1 = null;\n this.params.characteristics2 = null;\n } else if (field == \"product_name\") {\n this.params.characteristics1 = null;\n this.params.characteristics2 = null;\n }\n else if (field == \"characteristics1\") {\n this.params.characteristics2 = null;\n }\n this.clearTransactionline();\n }\n this.loadFilters();\n\n }\n\n loadFilters() {\n\n if (this.params.product_id == null) delete this.params.product_id;\n if (this.params.family_id == null) delete this.params.family_id;\n if (this.params.characteristics1 == null || this.params.characteristics1 == \"null\") delete this.params.characteristics1;\n if (this.params.characteristics2 == null || this.params.characteristics2 == \"null\") delete this.params.characteristics2;\n if (this.params.product_name == null || this.params.product_name == \"null\") delete this.params.product_name;\n\n this.getOptions();\n }\n\n getOptions() {\n /*this.params._page = 0;\n this.params._pageSize = 100;*/\n this.productsService.getOptions(this.params).subscribe({\n next: (data: any) => {\n var families_ids = data.map(m => m.family_id).filter(this.onlyUnique).filter(m => m != null);\n this.familiesFiltered = this.families.filter(f => families_ids.includes(f.id));\n\n var products_ids = data.map(m => m.product_id).filter(this.onlyUnique).filter(m => m != null);\n this.productsFiltered = this.products.filter(p => products_ids.includes(p.id));\n this.productsNames = this.productsFiltered.map(m => m.name).filter(this.onlyUnique);\n //Convierto el array de string a array de objetos con valor strings porque el dropdown de primeng no funciona con arrays de string por algún motivo.\n this.productsNamesJson = this.productsNames.map(m => { return { name: m }; });\n this.characteristics1 = data.map(m => m.characteristics1).filter(this.onlyUnique).filter(m => m != null).map(m => { return { label: m, value: m }; });\n this.characteristics2 = data.map(m => m.characteristics2).filter(this.onlyUnique).filter(m => m != null).map(m => { return { label: m, value: m }; });\n //this.characteristics1.push({label: \"Ninguna\", value: null});\n //this.characteristics2.push({label: \"Ninguna\", value: null});\n\n //si solo queda una opcion en el combo la marcamos\n if (this.familiesFiltered.length == 1) this.params.family_id = this.familiesFiltered[0].id;\n if (this.productsNames.length == 1) this.params.product_name = this.productsNames[0];\n //if (this.characteristics1.length == 1) this.params.characteristics1 = this.characteristics1[0].value;\n //if (this.characteristics2.length == 1) this.params.characteristics2 = this.characteristics2[0].value;\n\n //si solo habia un resultado\n if (data.length == 1) {\n\n //rellenamos params\n this.params.product_id = data[0].product_id;\n this.params.product_name = data[0].product_name;\n this.params.family_id = data[0].family_id;\n this.params.characteristics1 = data[0].characteristics1;\n this.params.characteristics2 = data[0].characteristics2;\n\n if (this.transactionLine.qty == null) this.transactionLine.qty = 1;\n if (this.transactionLine.product_id == 0 || this.transactionLine.product_id == null || (this.oldItemId != null && this.transactionLine.product_id != this.oldItemId)) {\n this.transactionLine.product = this.products.find(m => m.id == data[0].product_id);\n this.transactionLine.product_id = data[0].product_id;\n this.transactionLine.tax_rate_id = this.transactionLine.product.tax_rate_id;\n this.transactionLine.net_price = (this.transactionLine.product.net_price == null || this.transactionLine.product.net_price == '' || this.transactionLine.product.net_price == 'null' ? 0 : this.transactionLine.product.net_price);\n this.transactionLine.description = this.transactionLine.product.description;\n }\n\n if (this.transactionLine.product_id != null) {\n this.view.onEvent.emit({ component: \"transactionLine.edit.general\", event: \"product_selected\", view: this.view, entity: this.transactionLine })\n }\n this.calculateTotals();\n }\n },\n error: (error: any) => {\n console.log(error);\n }\n });\n }\n\n loadTaxRates() {\n this.taxRatesService.all({}).subscribe({\n next: (data: any) => {\n this.tax_rates = data.rows;\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\n }\n });\n }\n\n\n calculateTotals() {\n if (this.transactionLine.tax_rate_id > 0) {\n this.transactionLine.tax_percent = \"\" + this.tax_rates.find(m => m.id == this.transactionLine.tax_rate_id).percent;\n } else {\n this.transactionLine.tax_percent = \"0\";\n }\n if (Number.isNaN(this.transactionLine.net_price)) {\n this.transactionLine.net_price = 0;\n }\n if (this.transactionLine.net_price == null || this.transactionLine.net_price == 'null' ||\n this.transactionLine.tax_percent === null || this.transactionLine.qty == null ||\n this.transactionLine.net_price == \"\" || this.transactionLine.tax_percent == \"\" || this.transactionLine.qty == \"\") {\n this.transactionLine.price = null;\n this.transactionLine.base_amount = null;\n this.transactionLine.total_amount = null;\n this.transactionLine.cost_price = null;\n } else {\n var net_price = parseFloat(this.transactionLine.net_price);\n var cost_price = (this.transactionLine.custom_cost_price != null ? parseFloat(this.transactionLine.custom_cost_price) : 0);\n this.transactionLine.base_amount = net_price * this.transactionLine.qty;\n this.transactionLine.cost_price = cost_price * this.transactionLine.qty;\n this.transactionLine.price = net_price + (net_price * this.transactionLine.tax_percent / 100);\n if (this.transactionLine.discount != null) {\n this.transactionLine.base_amount = this.transactionLine.base_amount - (this.transactionLine.base_amount * this.transactionLine.discount / 100);\n }\n this.transactionLine.total_amount = this.transactionLine.base_amount + (this.transactionLine.base_amount * this.transactionLine.tax_percent / 100);\n }\n }\n\n onEvent(event) {\n\n }\n}\n","\n \n
\n {{'product.entity.name' | translate}}\n \n
\n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n \n
\n
\n \n \n \n
\n
\n
","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { FilterService, MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { EntitiesFieldsService } from 'src/app/configuration/entities-fields.service';\r\nimport { FamiliesService } from 'src/app/configuration/families/families.service';\r\nimport { TaxRatesService } from 'src/app/configuration/tax-rates/tax-rates.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ProductsService } from 'src/app/products/products.service';\r\nimport { TransactionsLinesService } from '../transactions-lines.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-transaction-lines-detail',\r\n templateUrl: './transaction-lines-detail.component.html',\r\n styleUrls: ['./transaction-lines-detail.component.scss']\r\n})\r\nexport class TransactionLinesDetailComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n\r\n public entityBaseName: string = \"transacción\";\r\n public transactionLine: any = {};\r\n public organization_rate_option: any;\r\n public tax_rates: any;\r\n public params: any = {};\r\n public families: any[] = [];\r\n public familiesFiltered: any[] = [];\r\n public products: any[] = [];\r\n public productsFiltered: any[] = [];\r\n public productsNames: any[] = [];\r\n public productsNamesJson: any[] = [];\r\n public characteristics1: any[] = [];\r\n public characteristics2: any[] = [];\r\n public characteristics1Name: string = \"\";\r\n public characteristics2Name: string = \"\";\r\n public oldItemId: any;\r\n public selectedProduct: any;\r\n\r\n constructor(\r\n private familiesService: FamiliesService,\r\n private productsService: ProductsService,\r\n private transactionsLinesService: TransactionsLinesService,\r\n private taxRatesService: TaxRatesService,\r\n private config: DynamicDialogConfig,\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private entitiesFieldsService: EntitiesFieldsService,\r\n private filterService: FilterService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.filterService.register('hasAllWords', (value, filter): boolean => {\r\n let words = filter.toLowerCase().split(' ');\r\n return words.every(q => value.toLowerCase().includes(q));\r\n return true;\r\n });\r\n this.entityBaseName = this.config.data.entityBaseName;\r\n // this.loadFamilies();\r\n this.loadTaxRates();\r\n this.organization_rate_option = this.config.data.organization_rate_option;\r\n this.loadData(this.config.data.id);\r\n this.GetEntityFieldDescription();\r\n }\r\n\r\n GetEntityFieldDescription() {\r\n this.entitiesFieldsService.GetEntityFieldDescription(8, \"characteristics1\").subscribe(\r\n data => {\r\n this.characteristics1Name = data.description;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n this.entitiesFieldsService.GetEntityFieldDescription(8, \"characteristics2\").subscribe(\r\n data => {\r\n this.characteristics2Name = data.description;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n loadData(id) {\r\n if (id) {\r\n this.transactionsLinesService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.transactionLine = data;\r\n this.transactionLine.tax_percent = this.transactionLine.tax_percent + \"\";\r\n this.transactionLine.custom_cost_price = (this.transactionLine.cost_price * 1) / (this.transactionLine.qty ?? 1);\r\n\r\n this.params.product_id = this.transactionLine.product_id;\r\n this.params.product_name = this.transactionLine.product?.name;\r\n this.params.family_id = this.transactionLine.product?.family_id;\r\n this.params.characteristics1 = this.transactionLine.product?.characteristics1;\r\n this.params.characteristics2 = this.transactionLine.product?.characteristics2;\r\n this.transactionLine.business_id = this.config.data.business_id;\r\n this.transactionLine.rate_option = this.organization_rate_option;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.transactionLine.transaction_id = this.config.data.transaction_id;\r\n this.transactionLine.business_id = this.config.data.business_id;\r\n this.transactionLine.discount = this.config.data.discount_percent;\r\n this.transactionLine.rate_option = this.organization_rate_option;\r\n }\r\n }\r\n /*\r\n loadFamilies() {\r\n this.familiesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.families = data.rows;\r\n this.loadProducts();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n loadProducts() {\r\n let params:any = {};\r\n if (this.transactionLine.business_id != null) {\r\n params = { business_id: this.transactionLine.business_id };\r\n }\r\n this.productsService.all(params).subscribe({\r\n next: (data: any) => {\r\n this.products = data.rows;\r\n this.loadFilters();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }*/\r\n\r\n onlyUnique(value, index, self) {\r\n //Realiza la función de un distinct.\r\n return self.indexOf(value) === index;\r\n }\r\n\r\n clearFilters() {\r\n this.params = {};\r\n this.clearTransactionline();\r\n // this.getOptions();\r\n }\r\n\r\n clearTransactionline() {\r\n this.transactionLine.product_id = null;\r\n this.transactionLine.net_price = null;\r\n this.transactionLine.tax_percent = null;\r\n this.transactionLine.price = null;\r\n this.transactionLine.total_amount = null;\r\n this.transactionLine.qty = null;\r\n this.transactionLine.base_amount = null;\r\n this.transactionLine.description = null;\r\n this.transactionLine.discount = null;\r\n }\r\n /*\r\n onDropDownChange(field: string, event: any, value: any) {\r\n if (event && value == null) {\r\n this.params.product_id = null;\r\n if (field == \"family_id\") {\r\n this.params.product_name = null;\r\n this.params.characteristics1 = null;\r\n this.params.characteristics2 = null;\r\n } else if (field == \"product_name\") {\r\n this.params.characteristics1 = null;\r\n this.params.characteristics2 = null;\r\n }\r\n else if (field == \"characteristics1\") {\r\n this.params.characteristics2 = null;\r\n }\r\n this.clearTransactionline();\r\n }\r\n this.loadFilters();\r\n }\r\n \r\n loadFilters() {\r\n \r\n if (this.params.product_id == null) delete this.params.product_id;\r\n if (this.params.family_id == null) delete this.params.family_id;\r\n if (this.params.characteristics1 == null || this.params.characteristics1 == \"null\") delete this.params.characteristics1;\r\n if (this.params.characteristics2 == null || this.params.characteristics2 == \"null\") delete this.params.characteristics2;\r\n if (this.params.product_name == null || this.params.product_name == \"null\") delete this.params.product_name;\r\n \r\n this.getOptions();\r\n }\r\n \r\n getOptions() {\r\n this.productsService.getOptions(this.params).subscribe({\r\n next: (data: any) => {\r\n var families_ids = data.map(m => m.family_id).filter(this.onlyUnique).filter(m => m != null);\r\n this.familiesFiltered = this.families.filter(f => families_ids.includes(f.id));\r\n \r\n var products_ids = data.map(m => m.product_id).filter(this.onlyUnique).filter(m => m != null);\r\n this.productsFiltered = this.products.filter(p => products_ids.includes(p.id));\r\n this.productsNames = this.productsFiltered.map(m => m.name).filter(this.onlyUnique);\r\n //Convierto el array de string a array de objetos con valor strings porque el dropdown de primeng no funciona con arrays de string por algún motivo.\r\n this.productsNamesJson = this.productsNames.map(m => { return { name: m }; });\r\n this.characteristics1 = data.map(m => m.characteristics1).filter(this.onlyUnique).filter(m => m != null).map(m => { return { label: m, value: m }; });\r\n this.characteristics2 = data.map(m => m.characteristics2).filter(this.onlyUnique).filter(m => m != null).map(m => { return { label: m, value: m }; });\r\n //this.characteristics1.push({label: \"Ninguna\", value: null});\r\n //this.characteristics2.push({label: \"Ninguna\", value: null});\r\n \r\n //si solo queda una opcion en el combo la marcamos\r\n if (this.familiesFiltered.length == 1) this.params.family_id = this.familiesFiltered[0].id;\r\n if (this.productsNames.length == 1) this.params.product_name = this.productsNames[0];\r\n //if (this.characteristics1.length == 1) this.params.characteristics1 = this.characteristics1[0].value;\r\n //if (this.characteristics2.length == 1) this.params.characteristics2 = this.characteristics2[0].value;\r\n \r\n //si solo habia un resultado\r\n if (data.length == 1) {\r\n \r\n //rellenamos params\r\n this.params.product_id = data[0].product_id;\r\n this.params.product_name = data[0].product_name;\r\n this.params.family_id = data[0].family_id;\r\n this.params.characteristics1 = data[0].characteristics1;\r\n this.params.characteristics2 = data[0].characteristics2;\r\n \r\n if (this.transactionLine.qty == null) this.transactionLine.qty = 1;\r\n if (this.transactionLine.product_id == 0 || this.transactionLine.product_id == null || (this.oldItemId != null && this.transactionLine.product_id != this.oldItemId)) {\r\n this.transactionLine.product = this.products.find(m => m.id == data[0].product_id);\r\n this.transactionLine.product_id = data[0].product_id;\r\n this.transactionLine.tax_rate_id = this.transactionLine.product.tax_rate_id;\r\n this.transactionLine.net_price = (this.transactionLine.product.net_price == null || this.transactionLine.product.net_price == '' || this.transactionLine.product.net_price == 'null' ? 0 : this.transactionLine.product.net_price);\r\n this.transactionLine.description = this.transactionLine.product.description;\r\n }\r\n this.calculateTotals();\r\n }\r\n },\r\n error: (error: any) => {\r\n console.log(error);\r\n }\r\n });\r\n }\r\n */\r\n loadTaxRates() {\r\n this.taxRatesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.tax_rates = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n save(event: any, save_continue: Boolean = false) {\r\n\r\n if (this.transactionLine.net_price === null) {\r\n this.transactionLine.net_price = 0;\r\n }\r\n if (this.transactionLine.price === null) {\r\n this.transactionLine.price = 0;\r\n }\r\n if (this.transactionLine.cost_price === null) {\r\n this.transactionLine.cost_price = 0;\r\n }\r\n if (this.transactionLine.base_amount === null) {\r\n this.transactionLine.base_amount = 0;\r\n }\r\n if (this.transactionLine.total_amount === null) {\r\n this.transactionLine.total_amount = 0;\r\n }\r\n\r\n if (this.transactionLine.product_id == null) {\r\n this.transactionLine.cost_price = 0;\r\n }\r\n if (event.valid == false) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n if (event.valid) {\r\n if (typeof this.transactionLine.id === \"undefined\") {\r\n this.transactionsLinesService.add(this.transactionLine).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant(\"component.transaction.detail.save_transaction_line_correct\") });\r\n if (!save_continue) this.dynamicDialogRef.close();\r\n this.transactionLine = { transaction_id: this.config.data.transaction_id };\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n })\r\n } else {\r\n this.transactionsLinesService.save(this.transactionLine.id, this.transactionLine).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant(\"component.transaction.detail.add_transaction_line_correct\") });\r\n if (!save_continue) this.dynamicDialogRef.close();\r\n this.transactionLine = { transaction_id: this.transactionLine.transaction_id };\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n })\r\n }\r\n } else {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n }\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.transaction.detail.delete_transaction_line\"),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.transactionsLinesService.delete(this.transactionLine.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n calculateTotals() {\r\n if (this.transactionLine.tax_rate_id > 0) {\r\n this.transactionLine.tax_percent = \"\" + this.tax_rates.find(m => m.id == this.transactionLine.tax_rate_id).percent;\r\n } else {\r\n this.transactionLine.tax_percent = \"0\";\r\n }\r\n if (Number.isNaN(this.transactionLine.net_price)) {\r\n this.transactionLine.net_price = 0;\r\n }\r\n if (this.transactionLine.net_price == null || this.transactionLine.net_price == 'null' ||\r\n this.transactionLine.tax_percent === null || this.transactionLine.qty == null ||\r\n this.transactionLine.net_price == \"\" || this.transactionLine.tax_percent == \"\" || this.transactionLine.qty == \"\") {\r\n this.transactionLine.price = null;\r\n this.transactionLine.base_amount = null;\r\n this.transactionLine.total_amount = null;\r\n this.transactionLine.cost_price = null;\r\n } else {\r\n var net_price = parseFloat(this.transactionLine.net_price);\r\n var cost_price = (this.transactionLine.custom_cost_price != null ? parseFloat(this.transactionLine.custom_cost_price) : 0);\r\n this.transactionLine.base_amount = net_price * (this.transactionLine.qty == null ? 0 : this.transactionLine.qty);\r\n this.transactionLine.cost_price = cost_price * (this.transactionLine.qty == null ? 0 : this.transactionLine.qty);\r\n this.transactionLine.price = net_price + (net_price * this.transactionLine.tax_percent / 100);\r\n if (this.transactionLine.discount != null) {\r\n this.transactionLine.base_amount = this.transactionLine.base_amount - (this.transactionLine.base_amount * this.transactionLine.discount / 100);\r\n }\r\n this.transactionLine.total_amount = this.transactionLine.base_amount + (this.transactionLine.base_amount * this.transactionLine.tax_percent / 100);\r\n }\r\n }\r\n\r\n onEvent(event) {\r\n if (event.component == \"transactionLine.edit.general\") {\r\n if (event.event == \"onChange\") {\r\n if (event.entityField.model_property == \"product_id\") {\r\n this.selectedProduct = event.selectedItem;\r\n\r\n if (event.selectedItem != null /*&& this.oldItemId != null*/) {\r\n this.transactionLine.custom_cost_price = 0;\r\n\r\n //Correo 13 jun 2023, 18:25 pregunt\r\n if (this.transactionLine.id == null || this.transactionLine.product_id == 0 || (this.oldItemId != null && this.transactionLine.product_id != this.oldItemId) || (event.selectedItem.id == this.transactionLine.product_id)) {\r\n this.transactionLine.description = event.selectedItem.description; // (this.transactionLine.description == \"\" || this.transactionLine.description == null ? event.selectedItem.description : this.transactionLine.description);\r\n this.findNetPriceByRateOption(event.selectedItem, this.organization_rate_option);\r\n this.transactionLine.rate_option = this.organization_rate_option;\r\n }\r\n\r\n //this.transactionLine.family.id = event.selectedItem.family_id;\r\n //this.transactionLine.product.family_id = event.selectedItem.family_id;\r\n\r\n if (event.selectedItem.tax_rate_id > 0 && this.transactionLine.tax_rate_id == null) {\r\n this.transactionLine.tax_percent = \"\" + this.tax_rates.find(m => m.id == event.selectedItem.tax_rate_id).percent;\r\n this.transactionLine.tax_rate_id = event.selectedItem.tax_rate_id;\r\n\r\n } else {\r\n this.transactionLine.tax_percent = \"0\";\r\n }\r\n //this.transactionLine.tax_percent = \"\" + event.selectedItem.tax_percent;\r\n this.transactionLine.custom_cost_price = event.selectedItem.cost_price * 1;\r\n } else {\r\n if (event.selectedItem == null) this.clearTransactionline();\r\n }\r\n\r\n this.oldItemId = event.selectedItem?.id;\r\n } else if (event.entityField.model_property == \"net_price\") {\r\n this.transactionLine.net_price = parseFloat(event.value);\r\n this.calculateTotals();\r\n } else if (event.entityField.model_property == \"qty\") {\r\n if (event.value != null) {\r\n this.calculateTotals();\r\n this.transactionLine.qty = (isNaN(event.value) ? 1 : parseInt(event.value));\r\n }\r\n } else if (event.entityField.model_property == \"tax_percent\") {\r\n this.calculateTotals();\r\n } else if (event.entityField.model_property == \"discount\") {\r\n this.transactionLine.discount = event.value;\r\n this.calculateTotals();\r\n } else if (event.entityField.model_property == \"rate_option\") {\r\n this.transactionLine.rate_option = event.value.value;\r\n this.findNetPriceByRateOption(this.selectedProduct, event.value.value);\r\n this.calculateTotals();\r\n } else {\r\n }\r\n }\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.save(event, false);\r\n if (event.event == \"action\" && event.action.name == \"save_continue\") this.save(event, true);\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n this.config.header = typeof (this.transactionLine.id) !== \"undefined\" ?\r\n this.translateService.instant(\"component.transaction.detail.detail_entity_line\", { entity_name: this.view.getEntityBaseName() })\r\n :\r\n this.translateService.instant(\"component.transaction.detail.new_entity_line\", { entity_name: this.view.getEntityBaseName() });\r\n }\r\n if (event.event == \"product_selected\") {\r\n this.transactionLine = event.entity;\r\n this.calculateTotals();\r\n }\r\n }\r\n }\r\n\r\n private findNetPriceByRateOption(selectedItem: any, rate_option: number) {\r\n if (selectedItem == null) return;\r\n switch (rate_option) {\r\n case 0:\r\n this.transactionLine.net_price = selectedItem.net_price;\r\n break;\r\n case 1:\r\n this.transactionLine.net_price = selectedItem.net_price_1;\r\n break;\r\n case 2:\r\n this.transactionLine.net_price = selectedItem.net_price_2;\r\n break;\r\n case 3:\r\n this.transactionLine.net_price = selectedItem.net_price_3;\r\n break;\r\n default:\r\n this.transactionLine.net_price = selectedItem.net_price;\r\n break;\r\n }\r\n if (this.transactionLine.net_price == null) this.transactionLine.net_price = selectedItem.net_price;\r\n }\r\n}\r\n","\r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\n\r\nconst routes: Routes = [];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class TransactionsLinesRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { TransactionsLinesRoutingModule } from './transactions-lines-routing.module';\r\nimport { TransactionLinesDetailComponent } from './transaction-lines-detail/transaction-lines-detail.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TableModule } from 'primeng/table';\r\nimport { CalendarModule } from 'src/app/calendar/calendar.module';\r\nimport { CoreModule } from 'src/app/core/core.module';\r\nimport { UserCalendarModule } from 'src/app/user-calendar/user-calendar.module';\r\nimport { FullCalendarModule } from '@fullcalendar/angular';\r\nimport { EditorModule } from '@tinymce/tinymce-angular';\r\nimport { TransactionLinesDetailCustomComponent } from './transaction-lines-detail-custom/transaction-lines-detail-custom.component';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [TransactionLinesDetailComponent, TransactionLinesDetailCustomComponent],\r\n imports: [\r\n CommonModule,\r\n TransactionsLinesRoutingModule,\r\n ButtonModule,\r\n CardModule,\r\n CoreModule,\r\n FontAwesomeModule,\r\n TableModule,\r\n FormsModule,\r\n DropdownModule,\r\n ConfirmDialogModule,\r\n InputTextModule,\r\n EditorModule,\r\n CalendarModule,\r\n CheckboxModule,\r\n UserCalendarModule,\r\n FullCalendarModule,\r\n TranslateModule\r\n ]\r\n})\r\nexport class TransactionsLinesModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TransactionsLinesService {\r\n url = \"/api/transactionsLines\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n updatePositions(params): Observable {\r\n return this.http.get(this.url+\"/updatePositions\", { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n getInfo(id): Observable {\r\n return this.http.get(this.url + \"/getInfo/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n}\r\n","import { Component, Input, OnInit } from '@angular/core';\nimport { ViewComponent } from 'src/app/core/view/view.component';\nimport { CustomComponent } from '../../../core/view/component/custom/custom-component.interface';\nimport { CompaniesIntegrationsService } from '../../../configuration/integration/companiesintegrations.service';\nimport { MessageService } from 'primeng/api';\nimport { TranslateService } from '@ngx-translate/core';\n\n@Component({\n selector: 'app-transactios-sage-info-custom',\n templateUrl: './transactios-sage-info-custom.component.html',\n styleUrls: ['./transactios-sage-info-custom.component.scss']\n})\nexport class TransactionSAGEInfoCustomComponent implements OnInit, CustomComponent {\n @Input() public data: any\n @Input() public entity: any;\n\n public info: any = {};\n\n constructor(\n private companiesIntegrationsService: CompaniesIntegrationsService,\n private messageService: MessageService,\n private translateService: TranslateService) {\n }\n\n ngOnInit(): void {\n this.loadData(); \n }\n\n loadData() {\n if (this.data.transaction_type_id == 2) {\n this.privateObtainInfo(this.data);\n } else {\n this.privateObtainInfo(this.data.offer);\n }\n }\n\n privateObtainInfo(data: any) {\n\n if (typeof data == \"undefined\") {\n this.info = {\n color: \"#ca8a04\",\n icon: \"pi pi-info-circle\",\n message: this.translateService.instant(\"component.transactionSAGEInfoCustom.no_offer_to_sincronize\")\n }\n } else {\n if (!data.id || data.id == 0) {\n this.info = {\n color: \"#ca8a04\",\n icon: \"pi pi-fw pi-exclamation-circle\",\n message: this.translateService.instant(\"component.transactionSAGEInfoCustom.sincronization_pending\"),\n }\n } else {\n //1)comprobamos si tiene sincronización activada.\n if (data.erp_id != null) {\n //TODO CORRECTO\n this.info = {\n color: \"#40ab44\",\n icon: \"pi pi-fw pi-check-circle\",\n message: this.translateService.instant(\"component.transactionSAGEInfoCustom.sincronization_ok\"),\n // smallMsg: data.erp_id\n }\n } else {\n if (data.business_id != null || data.organization?.business_id != null) {\n this.companiesIntegrationsService.getByCode(\"sagedespachos\").subscribe({\n next: (integration: any) => {\n let business_id = (data.business_id != null ? data.business_id : data.organization?.business_id);\n let item = integration.configuration.business.find(m => m.business_id == business_id);\n\n if (item.sales?.export) {\n if (data.erp_id != null) {\n //TODO CORRECTO\n this.info = {\n color: \"#40ab44\",\n icon: \"pi pi-fw pi-check-circle\",\n message: this.translateService.instant(\"component.transactionSAGEInfoCustom.sincronization_ok\"),\n //smallMsg: data.erp_id\n }\n } else {\n //Miramos si es porque organización no tiene definido cif.\n if (data.organization?.vat_number) {\n this.info = {\n color: \"#ca8a04\",\n icon: \"pi pi-fw pi-sync\",\n message: this.translateService.instant(\"component.transactionSAGEInfoCustom.sincronization_pending\"),\n }\n } else {\n this.info = {\n color: \"#B71C1C\",\n icon: \"pi pi-fw pi-exclamation-circle\",\n message: \"No se puede enviar a SAGE porque existen errores.\",\n smallMsg: this.translateService.instant(\"component.transactionSAGEInfoCustom.sincronization_no_vat\"),\n }\n }\n }\n } else {\n this.info = {\n color: \"#B71C1C\",\n icon: \"pi pi-fw pi-exclamation-circle\",\n message: this.translateService.instant(\"component.transactionSAGEInfoCustom.sincronization_no_config\"),\n }\n }\n },\n error: (error: any) => {\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\n }\n });\n } else {\n this.info = {\n color: \"#B71C1C\",\n icon: \"pi pi-fw pi-exclamation-circle\",\n message: this.translateService.instant(\"component.transactionSAGEInfoCustom.sincronization_no_bussiness\")\n }\n }\n }\n }\n }\n \n \n \n }\n\n onEvent(component: string, event: string, args: any) {\n \n if (component == \"transactionSAGE.custom\" && event == \"reload\") {\n this.loadData();\n }\n }\n}\n","\n
\n
\n\n
\n
\n
\n {{info.message}}\n
{{info.smallMsg}}
\n
\n
\n\n\n\n \n
\n
\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { TransactionTypesService } from 'src/app/configuration/transaction-types/transaction-types.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { TransactionsDetailComponent } from '../transactions-detail/transactions-detail.component';\r\nimport { TransactionsService } from '../transactions.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { OrganizationsService } from 'src/app/organizations/organizations.service';\r\n\r\n@Component({\r\n selector: 'app-transactions-list',\r\n templateUrl: './transactions-list.component.html',\r\n styleUrls: ['./transactions-list.component.scss']\r\n})\r\nexport class TransactionsListComponent implements OnInit {\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public transactionsFilters: any = {};\r\n public transaction_type_id;\r\n public transactionType;\r\n public isViewInit: boolean = false;\r\n public route_organization_id;\r\n public organization;\r\n \r\n constructor(\r\n private transactionsService: TransactionsService,\r\n private transactionTypesService: TransactionTypesService,\r\n private organizationsService: OrganizationsService,\r\n private dialogService: DialogService,\r\n private router: Router,\r\n private activatedRoute: ActivatedRoute,\r\n private coreDialogService: CoreDialogService,\r\n private messageService: MessageService,\r\n private loginService: LoginService,\r\n private viewsService: ViewsService,\r\n private translateService: TranslateService\r\n ) {\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n this.transactionsFilters.responsible_id = (!this.loginService.hasPermission(\"TRANSACTIONS_SUPERADMIN\") ? [parseInt(localStorage.getItem(\"userId\"))] : null);\r\n this.transaction_type_id = this.activatedRoute.snapshot.params.transaction_type_id;\r\n if (this.transaction_type_id) {\r\n this.getTransactionType();\r\n }\r\n\r\n //marcamos para que este campo no se tenga en cuenta desde la sesion\r\n this.transactionsFilters._ignore_session_fields = [\"transaction_type_id\"];\r\n this.transactionsFilters._excluded_fields = [\"transaction_type_id\"];\r\n\r\n this.getOrganizationId();\r\n }\r\n ngAfterViewInit() {\r\n Promise.resolve(null).then(() => this.isViewInit = true);\r\n }\r\n\r\n getTransactionType() {\r\n this.transactionTypesService.get(this.transaction_type_id).subscribe(\r\n data => {\r\n this.transactionType = data;\r\n }\r\n );\r\n }\r\n\r\n editTransaction(transaction) {\r\n var id = transaction?.id;\r\n this.router.navigate(['/transactions/', this.transaction_type_id, (id ? id : 0)]);\r\n }\r\n\r\n delete(transaction) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.transactions.delete_message\", { entity: this.view.getEntityBaseName() }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.transactionsService.delete(transaction.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"transactions.list.results\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => { }\r\n });\r\n }\r\n\r\n search() {\r\n this.transactionsFilters = Object.assign(this.transactionsFilters, { is_page_principal: true });\r\n\r\n this.view.fireEvent(\"transactions.list.results\", \"reload\");\r\n }\r\n\r\n getOrganizationId() {\r\n if (this.activatedRoute) {\r\n this.activatedRoute.params.subscribe(params => {\r\n if (params['organization_id']) {\r\n var organization_id = params[\"organization_id\"];\r\n if (organization_id != null && parseInt(organization_id) != 0) {\r\n this.route_organization_id = parseInt(organization_id);\r\n\r\n this.transactionsFilters.organization_id = this.route_organization_id;\r\n this.transactionsFilters.include_organization_id = this.route_organization_id;\r\n this.transactionsFilters._op_organization_id = \"in\";\r\n this.transactionsFilters._ignore_session_fields = [\"organization_id\",\"transaction_type_id\"];\r\n this.transactionsFilters._excluded_fields = [\"organization_id\",\"transaction_type_id\"];\r\n\r\n this.view?.fireEvent(\"transactions.list.results\", \"reload\", this.transactionsFilters);\r\n this.loadOrganization();\r\n }\r\n }\r\n });\r\n }\r\n }\r\n\r\n loadOrganization() {\r\n this.organizationsService.get(this.route_organization_id).subscribe({\r\n next: (data: any) => {\r\n this.organization = data;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n onEvent(event: any) {\r\n\r\n if (event.component == \"transactions.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") this.search();\r\n } else if (event.component == \"transactions.list.results\") {\r\n if (event.event == \"dblclick\") this.editTransaction(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.editTransaction(null);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.editTransaction(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete(event.data);\r\n if (event.event == \"action\" && event.action.name == \"search\") {\r\n this.view.fireEvent(\"transactions.list.results\", \"reload\", event.data);\r\n }\r\n }\r\n }\r\n}\r\n","
{{view.getEntityBaseName(true)}}
\r\n
{{'transaction.entity.name_plural' | translate}}
\r\n\r\n\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { TransactionsDetailComponent } from './transactions-detail/transactions-detail.component';\r\nimport { TransactionsListComponent } from './transactions-list/transactions-list.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"transactions\", component: TransactionsListComponent },\r\n { path: \"transactions/:transaction_type_id\", component: TransactionsListComponent },\r\n { path: \"transactions/:transaction_type_id/organization/:organization_id\", component: TransactionsListComponent },\r\n { path: \"transactions/:transaction_type_id/:id\", component: TransactionsDetailComponent },\r\n { path: \"transactions/:transaction_type_id/:contact_id/:organization_id/:from_task_id/:id\", component: TransactionsDetailComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class TransactionsRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { TransactionsRoutingModule } from './transactions-routing.module';\r\nimport { TransactionsListComponent } from './transactions-list/transactions-list.component';\r\nimport { TransactionsDetailComponent } from './transactions-detail/transactions-detail.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CalendarModule } from 'primeng/calendar';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TableModule } from 'primeng/table';\r\nimport { CoreModule } from '../core/core.module';\r\nimport { UserCalendarModule } from '../user-calendar/user-calendar.module';\r\nimport { MessageModule } from 'primeng/message';\r\nimport { MessagesModule } from 'primeng/messages';\r\nimport { FullCalendarModule } from '@fullcalendar/angular';\r\nimport { EditorModule } from '@tinymce/tinymce-angular';\r\nimport { TimelineModule } from 'primeng/timeline';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\nimport { TransactionSAGEInfoCustomComponent } from './transactions-detail/transactios-sage-info-custom/transactios-sage-info-custom.component';\nimport { AddTransactionReasonComponent } from './add-transaction-reason/add-transaction-reason.component';\nimport { TransactionStatusChangeConfirmComponent } from './transaction-status-change-confirm/transaction-status-change-confirm.component';\r\n\r\n\r\n@NgModule({\r\n declarations: [TransactionsListComponent, TransactionsDetailComponent, TransactionSAGEInfoCustomComponent, AddTransactionReasonComponent, TransactionStatusChangeConfirmComponent],\r\n imports: [\r\n CommonModule,\r\n TransactionsRoutingModule,\r\n ButtonModule,\r\n CardModule,\r\n CoreModule,\r\n FontAwesomeModule,\r\n TableModule,\r\n FormsModule,\r\n DropdownModule,\r\n ConfirmDialogModule,\r\n InputTextModule,\r\n EditorModule,\r\n CalendarModule,\r\n CheckboxModule,\r\n UserCalendarModule,\r\n FullCalendarModule,\r\n MessagesModule,\r\n MessageModule,\r\n ButtonModule,\r\n InputTextModule,\r\n TimelineModule,\r\n TranslateModule\r\n \r\n ],\r\n})\r\nexport class TransactionsModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class TransactionsService {\r\n url = \"/api/transactions\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n \r\n unlink(id, obj): Observable {\r\n return this.http.post(this.url + \"/\" + id,obj);\r\n }\r\n\r\n isDuplied(obj):Observable{\r\n return this.http.post(this.url+\"/isDuplied\",obj);\r\n }\r\n\r\n getSaleRelated(id): Observable {\r\n return this.http.get(this.url + \"/getSaleRelated/\" + id);\r\n }\r\n addMultiplesToCampaign(obj): Observable {\r\n return this.http.post(this.url + \"/addMultiplesToCampaign\", obj);\r\n }\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n ],\r\n imports: [\r\n CommonModule\r\n ],\r\n exports:[\r\n ]\r\n})\r\nexport class UpdateModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UpdateService {\r\n url = \"/api/update\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n db(): Observable {\r\n return this.http.get(this.url + \"/db\");\r\n }\r\n\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { UserCalendarComponent } from './user-calendar.component';\r\n\r\nconst routes: Routes = [\r\n { path: \"usercalendar\", component: UserCalendarComponent },\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class UserCalendarRoutingModule { }\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport dayGridPlugin from '@fullcalendar/daygrid';\r\nimport timeGridPlugin from '@fullcalendar/timegrid';\r\nimport interactionPlugin from '@fullcalendar/interaction';\r\nimport { UsersService } from '../users/users.service';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { MeetingsService } from '../organizations/organizations-detail/organizations-meetings-detail/meetings.service';\r\nimport { MessageService } from 'primeng/api';\r\nimport { Input, Output } from '@angular/core';\r\nimport esLocale from '@fullcalendar/core/locales/es';\r\nimport { OrganizationsMeetingsDetailComponent } from '../organizations/organizations-detail/organizations-meetings-detail/organizations-meetings-detail.component';\r\nimport { Inject } from '@angular/core';\r\nimport { LoginService } from '../login/login.service';\r\nimport { FullCalendarComponent } from '@fullcalendar/angular';\r\nimport { ViewComponent } from '../core/view/view.component';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-user-calendar',\r\n templateUrl: './user-calendar.component.html',\r\n styleUrls: ['./user-calendar.component.scss']\r\n})\r\nexport class UserCalendarComponent implements OnInit {\r\n @ViewChild(FullCalendarComponent) fullCalendar: FullCalendarComponent;\r\n @Input(\"user_id\") public user_id: number = null;\r\n @Input(\"height\") public height: any = 250;\r\n @Input(\"view\") public view: ViewComponent;\r\n @Input(\"id\") public id: number = null;\r\n\r\n public currentDate: Date = new Date();\r\n public user: any = null;\r\n public selectedUsers: number[] = [];\r\n\r\n public events: any[] = [];\r\n public from_date: Date = null;\r\n public to_date: Date = null;\r\n public tooltip_info = {\r\n show: false,\r\n description: \"\",\r\n showType: \"\",\r\n date_from: \"\",\r\n responsible: \"\",\r\n organization: \"\",\r\n duration: \"\",\r\n allDay: false,\r\n };\r\n public xPos = \"0px\";\r\n public yPos = \"0px\";\r\n public options: any = {\r\n locale: esLocale,\r\n plugins: [dayGridPlugin, timeGridPlugin, interactionPlugin],\r\n initialView: 'timeGridDay',\r\n defaultDate: this.currentDate,\r\n height: this.height,\r\n headerToolbar: {\r\n left: 'prev',\r\n center: 'title',\r\n right: 'next'\r\n },\r\n titleFormat: { // will produce something like \"Tuesday, September 18, 2018\"\r\n month: 'short',\r\n year: 'numeric',\r\n day: 'numeric'\r\n },\r\n dateClick: (date) => {\r\n this.parent.meeting.from = date.date;\r\n },\r\n datesSet: (e) => {\r\n this.handleDatesRender(e);\r\n },\r\n eventResize: (e) => {\r\n this.modifyEvent(e.event._def.extendedProps, e.endDelta, \"resize\");\r\n },\r\n eventDrop: (e) => {\r\n this.modifyEvent(e.event._def.extendedProps, e.delta, \"drop\");\r\n },\r\n eventMouseEnter: (e) => {\r\n window.addEventListener(\"mousemove\", (e) => {\r\n this.xPos = (e.clientX + 46) + \"px\";\r\n this.yPos = (e.clientY + 32) + \"px\";\r\n });\r\n this.tooltip_info.description = e.event._def.title;\r\n this.tooltip_info.show = true;\r\n this.tooltip_info.showType = e.event._def.extendedProps.showType;\r\n this.tooltip_info.date_from = (e.event._def.allDay != true ? e.event._def.extendedProps.date_from : \"\");\r\n this.tooltip_info.responsible = e.event._def.extendedProps.responsible;\r\n this.tooltip_info.organization = e.event._def.extendedProps.organization;\r\n this.tooltip_info.duration = (e.event._def.allDay == true ? this.translateService.instant('component.user_calendar.all_day') : this.getTimeOfEvent(e.event._def.extendedProps.minutes));\r\n this.tooltip_info.allDay = e.event._def.allDay;\r\n\r\n },\r\n eventMouseLeave: (e) => {\r\n this.tooltip_info.show = false;\r\n },\r\n eventTimeFormat: {\r\n hour: '2-digit',\r\n minute: '2-digit',\r\n meridiem: false\r\n },\r\n slotLabelFormat: {\r\n hour: '2-digit',\r\n minute: '2-digit',\r\n meridiem: false\r\n },\r\n editable: true,\r\n selectable: true\r\n };\r\n public isSuperAdmin = \"false\";\r\n\r\n constructor(\r\n private meetingsService: MeetingsService,\r\n private usersService: UsersService,\r\n private dialogService: DialogService,\r\n private messageService: MessageService,\r\n private loginService: LoginService,\r\n private meetingService: MeetingsService,\r\n private translateService: TranslateService,\r\n @Inject(OrganizationsMeetingsDetailComponent) private parent: OrganizationsMeetingsDetailComponent\r\n ) {\r\n this.isSuperAdmin = localStorage.getItem(\"isSuperAdmin\");\r\n }\r\n\r\n ngOnInit(): void {\r\n this.options.height = this.height;\r\n this.loadUser();\r\n }\r\n\r\n setDate(date: Date) {\r\n this.options.defaultDate = date;\r\n this.fullCalendar.getApi().gotoDate(date);\r\n }\r\n\r\n loadUser() {\r\n this.usersService.get(this.loginService.get(\"userId\")).subscribe({\r\n next: (data: any) => {\r\n this.user = data;\r\n this.selectedUsers = this.user.metadata?.calendarConfig?.selectedUsers;\r\n if (this.selectedUsers == null || this.selectedUsers.length == 0) this.selectedUsers = [parseInt(localStorage.getItem(\"userId\"))];\r\n this.loadMeetings();\r\n },\r\n error: (error: any) => this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title })\r\n });\r\n }\r\n\r\n loadMeetings() {\r\n let parameters: any = {\r\n check_invited_users: true, //busca tambien en invitados\r\n from_date: this.from_date.toISOString(),\r\n to_date: this.to_date.toISOString()\r\n };\r\n if (this.selectedUsers != null && this.selectedUsers.length > 0) {\r\n Object.assign(parameters, { usersIds: this.selectedUsers });\r\n } else {\r\n Object.assign(parameters, { usersIds: [parseInt(localStorage.getItem(\"userId\"))] });\r\n }\r\n\r\n this.meetingsService.all(parameters).subscribe({\r\n next: (data: any) => {\r\n this.events = data.rows.map(m => {\r\n return {\r\n minutes: m.duration,\r\n title: m.subject,\r\n start: m.from,\r\n end: m.to,\r\n event_id: m.id,\r\n date_from: m.from,\r\n type: 'meeting',\r\n showType: this.translateService.instant('component.user_calendar.show_type'),\r\n responsible: m.responsible?.name,\r\n organization: m.organization?.name,\r\n duration: m.duration,\r\n backgroundColor: m.responsible.color ? m.responsible.color : \"#e8e8e8\",\r\n textColor: \"black\",\r\n allDay: m.allDay,\r\n editable: (m.id != this.id && ((this.isSuperAdmin === \"true\") || this.loginService.canEditModel(m, this.view?.entity?.code))) //Solo editamos si no es la que esta mostrando\r\n };\r\n });\r\n },\r\n error: (error: any) => this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title })\r\n });\r\n }\r\n\r\n handleDatesRender($event) {\r\n this.from_date = $event.start;\r\n this.to_date = $event.end;\r\n this.loadMeetings();\r\n }\r\n\r\n getTimeOfEvent(duration) {\r\n //Éste método devuelve una cadena de texto con la duración del evento en el formato X h XX m.\r\n\r\n var durationText = \"\";\r\n if (duration >= 60) {\r\n var hours = Math.floor(duration / 60);\r\n var minutes = duration % 60;\r\n if (hours === 1) {\r\n //Si se necesita, se puede poner aquí \"hora\":\r\n durationText = this.translateService.instant('general.1_h_duration_text');\r\n } else {\r\n //Si se necesita, se puede poner aquí \"horas\":\r\n durationText = this.translateService.instant('general.x_h_duration_text', { hours: hours });\r\n }\r\n if (minutes > 0) {\r\n durationText += \" \";\r\n if (minutes === 1) {\r\n //Si se necesita, se puede poner aquí \"minuto\":\r\n durationText += this.translateService.instant('general.1_m_duration_text');\r\n } else {\r\n //Si se necesita, se puede poner aquí \"minutos\":\r\n durationText += this.translateService.instant('general.x_m_duration_text', { minutes: minutes });\r\n }\r\n }\r\n } else {\r\n //Si se necesita, se puede poner aquí \"minutos\":\r\n durationText = this.translateService.instant('general.x_m_duration_text', { minutes: duration });\r\n }\r\n return durationText;\r\n }\r\n\r\n modifyEvent(props, delta, action) {\r\n if (props.type == \"meeting\") this.saveMeeting(props, delta, props.event_id, action);\r\n }\r\n saveMeeting(props, delta, meeting_id, action) {\r\n\r\n if (action == \"drop\") {\r\n var new_date_from = this.calcNewDate(props.date_from, delta);\r\n var new_date_to = this.calcNewDateTo(new_date_from, props.minutes);\r\n this.meetingService.setNewDates(meeting_id, { new_date_from: new_date_from, new_date_to: new_date_to, id: meeting_id }).subscribe({\r\n next: (data: any) => {\r\n //this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant('component.user_calendar.save_event_correct') });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n if (action == \"resize\") {\r\n var new_date_to = this.calcNewDate(props.date_to, delta);\r\n this.meetingService.setNewDates(meeting_id, { new_date_to: new_date_to, duration: this.calcDuration(props.date_from, new_date_to) }).subscribe({\r\n next: (data: any) => {\r\n //this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant('component.user_calendar.save_event_correct') });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n calcNewDate(originalDate, delta) {\r\n var newDate = new Date(originalDate);\r\n\r\n if (delta.years) {\r\n newDate.setFullYear(newDate.getFullYear() + delta.years);\r\n }\r\n if (delta.months) {\r\n newDate.setMonth(newDate.getMonth() + delta.months);\r\n }\r\n if (delta.days) {\r\n newDate.setDate(newDate.getDate() + delta.days);\r\n }\r\n if (delta.milliseconds) {\r\n newDate.setMilliseconds(newDate.getMilliseconds() + delta.milliseconds);\r\n }\r\n return newDate.toISOString();\r\n }\r\n\r\n calcNewDateTo(date, duration) {\r\n var dateFrom = new Date(date);\r\n var dateTo = new Date(dateFrom.getTime() + duration * 60000);\r\n return dateTo.toISOString();\r\n }\r\n\r\n calcDuration(date_from, date_to) {\r\n var startDate = new Date(date_from);\r\n var endDate = new Date(date_to);\r\n var duration = endDate.getTime() - startDate.getTime();\r\n return duration / 60000;\r\n }\r\n}\r\n","\r\n\r\n
\r\n \r\n {{tooltip_info.showType}}
\r\n {{tooltip_info.description}}
\r\n {{tooltip_info.date_from | date:'dd/MM/yyyy HH:mm'}} ({{tooltip_info.duration}})
\r\n {{tooltip_info.organization}}
\r\n {{tooltip_info.responsible}}\r\n
\r\n
\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { UserCalendarRoutingModule } from './user-calendar-routing.module';\r\nimport { UserCalendarComponent } from './user-calendar.component';\r\nimport { FullCalendarModule } from '@fullcalendar/angular';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\n\r\n\r\n@NgModule({\r\n declarations: [UserCalendarComponent],\r\n imports: [\r\n CommonModule,\r\n UserCalendarRoutingModule,\r\n FullCalendarModule,\r\n TranslateModule\r\n ],\r\n exports:[\r\n UserCalendarComponent\r\n ]\r\n})\r\nexport class UserCalendarModule { }\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { LoginService } from '../../login/login.service';\r\nimport { UsersService } from '../users.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-user-change-password',\r\n templateUrl: './user-change-password.component.html',\r\n styleUrls: ['./user-change-password.component.scss']\r\n})\r\nexport class UserChangePasswordComponent implements OnInit {\r\n\r\n public changePswModal: any = {\r\n };\r\n public user: any;\r\n public userId: number;\r\n\r\n constructor(\r\n private messageService: MessageService,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private userService: UsersService,\r\n private config: DynamicDialogConfig,\r\n private loginService: LoginService,\r\n private usersService: UsersService,\r\n private translateService: TranslateService,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.userId = this.config.data.id;\r\n if (this.config.data.user) {\r\n this.user = this.config.data.user;\r\n } else {\r\n this.loadUser();\r\n }\r\n };\r\n\r\n loadUser() {\r\n if (this.userId) {\r\n this.usersService.get(this.userId).subscribe(\r\n data => {\r\n this.user = data;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n );\r\n }\r\n }\r\n\r\n changePassword() {\r\n if (this.changePswModal.password != \"\") {\r\n if (this.changePswModal.password == this.changePswModal.password2) {\r\n this.user.password = this.changePswModal.password;\r\n this.userService.changePassword(this.user).subscribe({\r\n next: (data: any) => {\r\n //Al final de todas las operaciones, se cierra la pantalla?\r\n this.dynamicDialogRef.close(data);\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant('component.users.save_password_correct') });\r\n //Mandar correo aquí:\r\n this.notificateChange();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.Message });\r\n }\r\n });\r\n } else {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant('component.users.no_match_passwords') });\r\n }\r\n } else {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant('component.users.empty_password_error') });\r\n }\r\n }\r\n\r\n notificateChange() {\r\n this.loginService.notificateChange(this.user.email).subscribe({\r\n next: (data: any) => {\r\n if (data.success) {\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant('component.users.sent_email') });\r\n } else {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: data.message });\r\n }\r\n\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.Message });\r\n }\r\n });\r\n }\r\n\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { ZonesService } from 'src/app/configuration/zones/zones.service';\r\nimport { UserZonesService } from '../user-zones.service';\r\nimport { UsersService } from '../users.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-user-zones-detail',\r\n templateUrl: './user-zones-detail.component.html',\r\n styleUrls: ['./user-zones-detail.component.scss']\r\n})\r\nexport class UserZonesDetailComponent implements OnInit {\r\n public zones: any[] = [];\r\n public selectedZones: any[] = [];\r\n public userZone: any = {};\r\n\r\n constructor(\r\n private userZonesService: UserZonesService,\r\n private zonesService: ZonesService,\r\n private usersService: UsersService,\r\n\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private translateService: TranslateService,\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.userZone.user_id = this.config.data.user.id;\r\n this.selectedZones = this.config.data.selectedZones;\r\n this.loadZones();\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n save() {\r\n if (this.userZone != null && this.userZone.zone_id > 0) {\r\n this.userZonesService.add(this.userZone).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant('component.users.detail.zone_assign_correct') });\r\n this.dynamicDialogRef.close(data);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant('component.users.detail.invalid_zone_error_message') })\r\n }\r\n /*\r\n this.addZones();\r\n this.usersService.save(this.user.id, this.user).subscribe(\r\n data => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: \"Usuario guardado correctamente\" });\r\n this.dynamicDialogRef.close(data);\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n )*/\r\n }\r\n\r\n loadZones() {\r\n this.zonesService.all({ ids: this.selectedZones }).subscribe(\r\n data => {\r\n this.zones = data.rows;\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n )\r\n }\r\n /* \r\n addZones() {\r\n //Añadir zonas al usuario:\r\n let finalUserZones = this.selectedZones.map(zone_id => {\r\n let existentZones = this.user.userZones.filter(m => m.zone_id == zone_id && !m.deleted);\r\n if (existentZones.length > 0) {\r\n return existentZones[0];\r\n } else {\r\n return { user_id: this.user.id, zone_id: parseInt(zone_id) };\r\n }\r\n });\r\n this.user.userZones = finalUserZones;\r\n }\r\n */\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UserZonesService {\r\n url = \"/api/userZones\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n}\r\n","import { Input } from '@angular/core';\r\nimport { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { PermissionsGroupService } from 'src/app/configuration/roles/permissions-group.service';\r\nimport { PermissionsService } from 'src/app/configuration/roles/permissions.service';\r\nimport { RolesPermissionsService } from 'src/app/configuration/roles/roles-permissions.service';\r\nimport { RolesService } from 'src/app/configuration/roles/roles.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { CustomComponent } from 'src/app/core/view/component/custom/custom-component.interface';\r\nimport { FeaturesService } from 'src/app/features/features.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { UsersService } from '../../users.service';\r\nimport { UserRolesService } from './user-roles.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-user-roles',\r\n templateUrl: './user-roles.component.html',\r\n styleUrls: ['./user-roles.component.scss']\r\n})\r\nexport class UserRolesComponent implements OnInit, CustomComponent {\r\n @Input() public data: any;\r\n @Input() public entity: any;\r\n public userRole: any = {};\r\n public rolePermissions: any = [];\r\n public selectedPermissions: any = [];\r\n public roles: any = [];\r\n public user: any = {\r\n userPermissions: []\r\n };\r\n public permissions: any = [];\r\n public permissionsGroups: any = [];\r\n public firstLoading = true;\r\n public features: any[];\r\n public checked_all: boolean;\r\n public allPermissions: string[];\r\n\r\n public roles_configuration: boolean;\r\n\r\n constructor(\r\n private loginService: LoginService,\r\n private userRolesService: UserRolesService,\r\n private rolesService: RolesService,\r\n private usersService: UsersService,\r\n private permissionsService: PermissionsService,\r\n private permissionsGroupsService: PermissionsGroupService,\r\n private rolePermissionsService: RolesPermissionsService,\r\n private featuresService: FeaturesService,\r\n\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private config: DynamicDialogConfig,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.roles_configuration = this.loginService.hasPermission(\"ROLES_CONFIGURATION\");\r\n\r\n /*\r\n this.userRole.user_id = this.config.data.user.id;\r\n this.selectedRoles = this.config.data.selectedRoles;*/\r\n this.loadRoles();\r\n this.loadDataFeatures();\r\n\r\n }\r\n loadUser(id) {\r\n if (id) {\r\n this.usersService.get(id).subscribe(\r\n data => {\r\n this.user = data;\r\n this.selectedPermissions = this.user.userPermissions.map(m => m.permission_id + \"\");\r\n this.loadRolePermissions();\r\n //this.rolePermissions = this.user.role.rolePermissions.map(m => m.permission_id + \"\");\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n );\r\n } else {\r\n this.firstLoading = false;\r\n }\r\n }\r\n\r\n loadRoles() {\r\n this.rolesService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.roles = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadPermissionsGroups() {\r\n this.permissionsGroupsService.all({}).subscribe({\r\n next:(data:any) => {\r\n this.permissionsGroups = data.rows;\r\n this.loadPermissions();\r\n },\r\n error: (error:any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n loadPermissions() {\r\n var ids = this.features.map(m => m.id);\r\n this.permissionsService.all({ featureIds: ids }).subscribe({\r\n next: (data: any) => {\r\n this.permissions = data.rows;\r\n this.allPermissions = this.permissions.map(permission => permission.id + \"\");\r\n //Carga usuario:\r\n this.loadUser(this.config.data.id);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n loadRolePermissions() {\r\n this.selectedPermissions = this.user.userPermissions.map(m => m.permission_id + \"\");\r\n if (this.user.role_id) {\r\n this.data.role_id = this.user.role_id;\r\n this.rolePermissionsService.all({ role_id: this.user.role_id }).subscribe({\r\n next: (data: any) => {\r\n this.rolePermissions = data.rows.map(m => m.permission_id + \"\");\r\n\r\n if (!this.firstLoading) {\r\n this.selectedPermissions = this.rolePermissions;\r\n } else {\r\n //Concatena los permisos de este rol + los permisos asignados manualmente al usuario.\r\n this.selectedPermissions = this.selectedPermissions.concat(this.rolePermissions).filter((v, i, a) => a.indexOf(v) === i);\r\n this.firstLoading = false;\r\n }\r\n this.updateChecked();\r\n }, error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.firstLoading = false;\r\n }\r\n }\r\n\r\n getPermissions(group) {\r\n if (this.permissions == null) return [];\r\n return this.permissions.filter(m => m.permission_group_id == group.id);\r\n }\r\n\r\n addPermissions() {\r\n //Añadir permisos al usuario:\r\n let finalUserPermissions = this.selectedPermissions.map(permission_id => {\r\n let existentPermissions = this.user.userPermissions.filter(m => m.permission_id == permission_id && !m.deleted);\r\n if (existentPermissions.length > 0) {\r\n return existentPermissions[0];\r\n } else {\r\n return { user_id: this.user.id, permission_id: parseInt(permission_id) };\r\n }\r\n });\r\n this.user.userPermissions = finalUserPermissions;\r\n }\r\n\r\n save() {\r\n if (this.user != null && this.user.role_id > 0) {\r\n if (!this.user.id) {\r\n this.usersService.add(this.user).subscribe({\r\n next: (data: any) => {\r\n this.user.id = data.id;\r\n this.dynamicDialogRef.close(this.user);\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant('component.users.detail.add_user_correct') });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n delete this.user.role;\r\n this.usersService.save(this.user.id, this.user).subscribe({\r\n next: (data: any) => {\r\n this.dynamicDialogRef.close(data);\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant('component.users.detail.save_user_correct') });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n })\r\n }\r\n } else {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant('') })\r\n }\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.users.delete_message_role\", { name: this.userRole.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.userRolesService.delete(this.userRole.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant('general.confirmation_delete') });\r\n this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n loadDataFeatures() {\r\n this.featuresService.all({}).subscribe({\r\n next: (data: any) => {\r\n this.features = data.rows;\r\n this.loadPermissionsGroups();\r\n }, error: (error: any) => {\r\n this.messageService.add({ severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n }\r\n\r\n check_all() {\r\n this.allPermissions.sort();\r\n this.selectedPermissions.sort();\r\n\r\n //Si el check está marcado, añadirá todos los permisos posibles al array.\r\n if (this.checked_all) {\r\n this.selectedPermissions = this.allPermissions;\r\n } else {\r\n //Y si no, los borra.\r\n this.selectedPermissions = [];\r\n this.loadRolePermissions();\r\n }\r\n }\r\n updateChecked() {\r\n if (this.selectedPermissions.length == this.allPermissions.length) {\r\n this.checked_all = true;\r\n } else {\r\n this.checked_all = false;\r\n }\r\n }\r\n\r\n onEvent(component: string, event: string, args: any) {\r\n if (component == \"userRole.custom\" && event == \"reload\") {\r\n args.role_id = this.user.role_id;\r\n args.userPermissions = this.user.userPermissions;\r\n this.user = args;\r\n this.addPermissions();\r\n this.save();\r\n }\r\n }\r\n}\r\n","\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n 0\">\r\n {{ 'permissions_groups.' + permissionGroup.code | translate }}\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UserRolesService {\r\n\r\n url = \"/api/userRoles\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n}\r\n","import { Component, ElementRef, OnInit, ViewChild } from '@angular/core';\r\nimport { NgForm } from '@angular/forms';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { AttachmentsDataService } from 'src/app/attachments/attachments-data.service';\r\nimport { AttachmentsService } from 'src/app/attachments/attachments.service';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { CoreFormService } from 'src/app/core/forms/core-forms.service';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { ViewComponent } from '../../core/view/view.component';\r\nimport { UserChangePasswordComponent } from '../user-change-password/user-change-password.component';\r\nimport { UserZonesDetailComponent } from '../user-zones-detail/user-zones-detail.component';\r\nimport { UserZonesService } from '../user-zones.service';\r\nimport { UserMailAccountsService } from '../users-mail-accounts-detail/user-mail-accounts.service';\r\nimport { UsersMailAccountsDetailComponent } from '../users-mail-accounts-detail/users-mail-accounts-detail.component';\r\nimport { UsersService } from '../users.service';\r\nimport { UserRolesComponent } from './user-roles/user-roles.component';\r\nimport { UserRolesService } from './user-roles/user-roles.service';\r\nimport { SearchService } from 'src/app/core/search.service';\r\nimport { LoginService } from 'src/app/login/login.service';\r\nimport { TemplatesService } from '../../configuration/templates/templates.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { CompanyLicenseService } from 'src/app/configuration/company-license/company-license.service';\r\n\r\n\r\n\r\n@Component({\r\n selector: 'app-users-detail',\r\n templateUrl: './users-detail.component.html',\r\n styleUrls: ['./users-detail.component.scss']\r\n})\r\nexport class UsersDetailComponent implements OnInit {\r\n @ViewChild(\"formDetails\") public formDetails: NgForm;\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n @ViewChild('fileInput', { static: false }) fileInput: ElementRef;\r\n\r\n public user: any = {\r\n emails_signature: \"\"\r\n };\r\n public selectedZones: any[] = [];\r\n public selectedRoles: any[] = [];\r\n public selectedMailAccounts: any = [];\r\n public responsibles: any[] = [];\r\n public image_source: any;\r\n private image: File;\r\n public imageSrc: any;\r\n public emails_cc: any[] = [];\r\n public languages: any[] = [];\r\n\r\n public searchResults: any[] = [];\r\n public disableFields: boolean = false;\r\n public isSuperAdmin: boolean = false;\r\n public user_write: boolean = false;\r\n tinyMceConfig: any;\r\n public showTinyMCE: boolean = false;\r\n\r\n constructor(\r\n private usersService: UsersService,\r\n private userZonesService: UserZonesService,\r\n private userRolesService: UserRolesService,\r\n private userMailAccountsService: UserMailAccountsService,\r\n private attachmentsService: AttachmentsService,\r\n private viewsService: ViewsService,\r\n\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private dialogService: DialogService,\r\n private config: DynamicDialogConfig,\r\n private attachmentsDataService: AttachmentsDataService,\r\n private coreFormService: CoreFormService,\r\n private searchService: SearchService,\r\n private loginService: LoginService, public templateService: TemplatesService,\r\n private translateService: TranslateService,\r\n private licensesService: CompanyLicenseService\r\n //private languagesService: languagesService\r\n ) {\r\n this.isSuperAdmin = (localStorage.getItem(\"isSuperAdmin\") === 'false' ? false : true);\r\n this.user_write = this.loginService.hasPermission(\"USERS_WRITE\") || this.loginService.hasPermission(\"USERS_SUPERADMIN\");//this.loginService.canEditModel(this.user, this.view?.entity?.code);\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n this.configureTinyMce();\r\n this.loadUser(this.config.data.id);\r\n this.loadResponsibles();\r\n\r\n }\r\n configureTinyMce() {\r\n this.showTinyMCE = true;\r\n const that = this;\r\n this.tinyMceConfig =\r\n {\r\n promotion: false,\r\n height: 250,\r\n menubar: true,\r\n toolbar: [\r\n 'undo redo | bold italic underline | fontselect fontsizeselect fontsize fontfamily formatselect |' +\r\n 'alignleft aligncenter alignright alignjustify | outdent indent | numlist bullist checklist |' +\r\n 'forecolor casechange permanentpen formatpainter removeformat | fullscreen | insertfile image media pageembed link | table quickbars | variablesButton variablesLinesButton | previewButton'\r\n ],\r\n toolbar_mode: 'wrap',\r\n language: 'es',\r\n language_url: '/assets/tinymce/langs/es.js',\r\n paste_data_images: false,\r\n file_picker_types: 'image',\r\n /* and here's our custom image picker*/\r\n file_picker_callback: function (cb, value, meta) {\r\n var input = document.createElement('input');\r\n input.setAttribute('type', 'file');\r\n input.setAttribute('accept', 'image/*');\r\n input.onchange = function (e) {\r\n var file = e.target[\"files\"][0];\r\n\r\n var reader = new FileReader();\r\n reader.onload = (event: any) => {\r\n //tenemos la url en base64. creamos el attachment\r\n var datafile = {\r\n FileName: file.name,\r\n ContentType: file.type,\r\n Length: file.size,\r\n b64: event.target.result\r\n };\r\n that.templateService.UploadImage(datafile).subscribe({\r\n next: (data: any) => {\r\n cb(data.location);\r\n //FALTA Pintar la imagen con la url en el visor.... work in progress\r\n },\r\n error: (error: any) => {\r\n that.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n };\r\n reader.readAsDataURL(file);\r\n };\r\n\r\n input.click();\r\n },\r\n };\r\n }\r\n\r\n loadUser(id) {\r\n if (id) {\r\n this.usersService.get(id).subscribe({\r\n next: (data: any) => {\r\n this.user = data;\r\n this.loadLanguages();\r\n this.loadMailsCc();\r\n this.attachmentsDataService.getProfile({ entity_id: 18, entity_pk_id: id }).subscribe(\r\n dataProfile => {\r\n if (dataProfile != null && dataProfile['b64']) this.image_source = 'data:image/jpeg;base64,' + dataProfile['b64'];\r\n if (dataProfile != null) this.user.image_id = dataProfile[\"attachment_id\"];\r\n if (this.user.color == null) this.user.color = \"#e8e8e8\";\r\n\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n this.selectedZones = this.user.userZones.map(m => m.zone_id);\r\n this.selectedMailAccounts = this.user.userMailAccounts.map(m => m.mailAccount_id);\r\n },\r\n error: (error: any) => {\r\n this.loadLanguages();\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.loadLanguages();\r\n this.user.activated = true;\r\n this.user.color = \"#e8e8e8\";\r\n //Borrar la siguiente línea si no se quiere el usuario conectado como responsable por defecto:\r\n //this.user.responsible_user_id = parseInt(this.config.data.responsible_id);\r\n }\r\n }\r\n\r\n loadMailsCc() {\r\n var mails = [];\r\n if (this.user.emails_cc != null && this.user.emails_cc != \"\") mails = this.user.emails_cc.split(',');\r\n this.emails_cc = mails.map(m => ({ \"email\": m }));\r\n }\r\n\r\n loadResponsibles() {\r\n this.usersService.combo({ excluse_self: true }).subscribe({\r\n next: (data: any) => {\r\n this.responsibles = data.rows;\r\n },\r\n error: (error: any) => {\r\n\r\n }\r\n });\r\n }\r\n\r\n addZones() {\r\n //Añadir zonas al usuario:\r\n let finalUserZones = this.selectedZones.map(zone_id => {\r\n let existentZones = this.user.userZones.filter(m => m.zone_id == zone_id && !m.deleted);\r\n if (existentZones.length > 0) {\r\n return existentZones[0];\r\n } else {\r\n return { user_id: this.user.id, zone_id: parseInt(zone_id) };\r\n }\r\n });\r\n this.user.userZones = finalUserZones;\r\n }\r\n\r\n save() {\r\n\r\n //No puede asignarse a si mismo.\r\n if (this.user.id != null && this.user.id != 0 && this.user.responsible_user_id == this.user.id) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant('component.users.detail.self_responsible_error.message') });\r\n return;\r\n }\r\n this.user.emails_cc = String(this.emails_cc.map(function (item) {\r\n return item['email'];\r\n }));\r\n if (this.user.email != null) this.user.email = this.user.email.trim();\r\n if (this.user.email == null || this.user.email.length == 0 || !this.validateEmail(this.user.email)) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant('component.users.detail.invalid_email_error_message') });\r\n return;\r\n }\r\n if (typeof this.user.id === \"undefined\") {\r\n this.usersService.add(this.user).subscribe({\r\n next: (data: any) => {\r\n this.user = data;\r\n this.messageService.add({ closable: false, severity: 'success', summary: this.translateService.instant('component.users.detail.add_user_correct') });\r\n\r\n //Guardamos la vista desde la que se ha llamado\r\n this.view.fireEvent(\"userRole.custom\", \"reload\", this.user);\r\n //this.dynamicDialogRef.close();\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n })\r\n } else {\r\n this.usersService.save(this.user.id, this.user).subscribe({\r\n next: (data: any) => {\r\n this.user = data;\r\n\r\n //Guardamos la vista desde la que se ha llamado\r\n this.view.fireEvent(\"userRole.custom\", \"reload\", this.user);\r\n\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant('component.users.detail.save_user_correct') });\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n\r\n delete() {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.users.delete_message\", { name: this.user.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.usersService.delete(this.user.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ severity: \"success\", detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.dynamicDialogRef.close(data);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => {\r\n\r\n }\r\n })\r\n }\r\n\r\n viewUserZone(userZone) {\r\n const ref = this.dialogService.open(UserZonesDetailComponent, {\r\n data: {\r\n user: this.user,\r\n selectedZones: this.selectedZones\r\n },\r\n header: this.translateService.instant('component.users.assign_zone'),\r\n width: '30%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.viewsService.changeView(this.view.code);\r\n if (data) {\r\n //this.user = data;\r\n this.selectedZones.push(data.zone_id);\r\n //this.selectedZones = this.user.userZones.map(m => m.zone_id);\r\n //this.loadUser(this.user.id);\r\n this.view.fireEvent(\"user.edit.zones\", \"reload\");\r\n }\r\n this.view.fireEvent(\"user.edit.zones\", \"reload\");\r\n });\r\n }\r\n\r\n deleteUserZone(userZone) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant('component.users.detail.undo_zone_assignment_confirm', { name: userZone.zone.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.userZonesService.delete(userZone.id).subscribe({\r\n next: (data: any) => {\r\n //this.selectedZones = this.user.userZones.map(m => m.zone_id);\r\n this.loadUser(this.user.id);\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"user.edit.zones\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => { }\r\n });\r\n }\r\n viewUserRole(userRole) {\r\n const ref = this.dialogService.open(UserRolesComponent, {\r\n data: {\r\n user: this.user,\r\n selectedRoles: this.selectedRoles\r\n },\r\n header: this.translateService.instant('component.users.assign_role'),\r\n width: '30%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n if (data) {\r\n this.selectedRoles.push(data.role_id);\r\n this.view.fireEvent(\"user.edit.roles\", \"reload\");\r\n }\r\n this.view.fireEvent(\"user.edit.roles\", \"reload\");\r\n });\r\n }\r\n\r\n deleteUserRole(userRole) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant('component.users.detail.undo_role_assignment_confirm', { name: userRole.role.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.userRolesService.delete(userRole.id).subscribe({\r\n next: (data: any) => {\r\n //this.selectedRoles = this.user.userRoles.map(m => m.role_id);\r\n this.loadUser(this.user.id);\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"user.edit.roles\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => { }\r\n });\r\n }\r\n viewUserMailAccount(userMailAccount) {\r\n const ref = this.dialogService.open(UsersMailAccountsDetailComponent, {\r\n data: {\r\n user: this.user,\r\n selectedMailAccounts: this.selectedMailAccounts\r\n },\r\n header: this.translateService.instant('component.users.assign_mail_account'),\r\n width: '30%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n if (data) {\r\n this.selectedRoles.push(data.mailAccount_id);\r\n this.view.fireEvent(\"user.edit.mailAccounts\", \"reload\");\r\n }\r\n this.view.fireEvent(\"user.edit.mailAccounts\", \"reload\");\r\n });\r\n }\r\n\r\n deleteUserMailAccount(userMailAccount) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant('component.users.undo_mail_account_assignment_confirm', { name: userMailAccount.mailAccount.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.userMailAccountsService.delete(userMailAccount.id).subscribe({\r\n next: (data: any) => {\r\n this.loadUser(this.user.id);\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"user.edit.mailAccounts\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n })\r\n },\r\n reject: () => { }\r\n });\r\n }\r\n onErrorUpload(event) {\r\n this.messageService.add({ closable: false, severity: 'error', detail: this.translateService.instant('component.users.detail.error_upload') });\r\n }\r\n onBasicUpload(file, url) {\r\n var datafile = {\r\n description: this.translateService.instant('component.users.detail.datafile_photo_description', { name: this.user.name }),\r\n filename: file.name,\r\n mimetype: file.type,\r\n guid: file.lastModified + \"-\" + file.size,\r\n size: file.size,\r\n entity_id: 18,\r\n entity_pk_id: this.user.id\r\n };\r\n this.attachmentsService.add(datafile).subscribe(\r\n data => {\r\n var res: any = {};\r\n res = data;\r\n var dataA = {\r\n attachment_id: res.id,\r\n b64: url\r\n }\r\n //TODO: falta subir la imagen.\r\n this.attachmentsService.customupload(dataA).subscribe(data => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant('component.users.detail.updated_profile_message') });\r\n });\r\n\r\n },\r\n error => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n );\r\n }\r\n\r\n changePassword() {\r\n const ref = this.dialogService.open(UserChangePasswordComponent, {\r\n data: {\r\n id: this.user.id,\r\n user: this.user\r\n },\r\n header: this.translateService.instant('component.users.detail.change_password'),\r\n width: '60%',\r\n /*baseZIndex: 999*/\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n })\r\n }\r\n\r\n\r\n readURL(event: Event): void {\r\n if (event.target[\"files\"] && event.target[\"files\"][0]) {\r\n const file = event.target[\"files\"][0];\r\n const reader = new FileReader();\r\n reader.onload = e => this.imageSrc = reader.result;\r\n\r\n reader.readAsDataURL(file);\r\n }\r\n }\r\n\r\n onClickImage() {\r\n if (this.image_source != null) return;\r\n let event = new MouseEvent('click', { bubbles: false });\r\n this.fileInput.nativeElement.dispatchEvent(event);\r\n }\r\n\r\n updateSource($event: Event) {\r\n this.projectImage($event.target['files'][0]);\r\n }\r\n\r\n //source: string = '';\r\n projectImage(file: File) {\r\n\r\n if (typeof file != \"undefined\") {\r\n if (file != null) {\r\n this.image = file;\r\n } else {\r\n this.user.image_id = [];\r\n }\r\n let reader = new FileReader;\r\n\r\n reader.onload = (e: any) => {\r\n this.image_source = e.target.result;\r\n //tenemos la url en base64. creamos el attachment \r\n this.onBasicUpload(file, e.target.result);\r\n };\r\n reader.readAsDataURL(file);\r\n }\r\n }\r\n\r\n removeImage() {\r\n this.image_source = null;\r\n this.attachmentsService.delete(this.user.image_id).subscribe(data => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant('component.users.detail.delete_image_correct') });\r\n });\r\n this.user.image_id = [];\r\n }\r\n\r\n validateEmail(email) {\r\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n return re.test(email);\r\n }\r\n\r\n isDuplied() {\r\n this.user.responsibleUser = null;\r\n\r\n //No puede asignarse a si mismo.\r\n if (this.user.id != null && this.user.id != 0 && this.user.responsible_user_id == this.user.id) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant('component.users.detail.self_responsible_error_message') });\r\n return;\r\n }\r\n\r\n /*if (!event.valid && !this.coreFormService.validate(this.formDetails)) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }*/\r\n\r\n if (this.user.email == null || this.user.email.length == 0 || this.user.name == null || this.user.name == \"\" || this.user.password == null || this.user.password == \"\") {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant(\"general.form_incomplete\") });\r\n return;\r\n }\r\n if (this.user.email != null) this.user.email = this.user.email.trim();\r\n if (this.user.email == null || this.user.email.length == 0 || !this.validateEmail(this.user.email)) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant('component.users.detail.invalid_email_error_message') });\r\n return;\r\n }\r\n if (this.user.role_id == null) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant('component.users.detail.invalid_role_error_message') });\r\n return;\r\n }\r\n if (this.user.language_id == null) {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant('component.users.detail.invalid_language_error_message') });\r\n return;\r\n }\r\n\r\n this.usersService.isDuplied(this.user).subscribe({\r\n next: (data: any) => {\r\n if (data == true) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.user.detail.users_duplicates\"),\r\n header: this.translateService.instant('general.error'),\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.save();\r\n }\r\n }\r\n });\r\n }\r\n\r\n filterSearch(event) {\r\n let filtered: any[] = [];\r\n let query = event.query;\r\n if (query.length >= 4) {\r\n filtered.push(\r\n {\r\n email: query\r\n }\r\n );\r\n this.searchService.onlyPeople({ email: query }).subscribe({\r\n next: (data: any) => {\r\n data.forEach(element => {\r\n filtered.push(element);\r\n });\r\n this.searchResults = filtered;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n }\r\n refreshAll() {\r\n this.loadUser(this.user.id);\r\n this.view.view?.configuration?.components?.array?.forEach(component => {\r\n this.view.fireEvent(component.code, \"reload\");\r\n });\r\n }\r\n\r\n loadLanguages() {\r\n this.usersService.allLanguages({}).subscribe({\r\n next: (data: any) => {\r\n this.languages = data.rows.map(m => m.language);\r\n if (this.languages.length == 1) {\r\n this.user.language_id = this.languages[0].id;\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n checkNumUserInLicense() {\r\n if (this.user.activated == true) {\r\n this.licensesService.canCreateUser(this.user.id).subscribe({\r\n next: (data: any) => {\r\n //Si la company tiene menos users que license.number_of_users...\r\n if (data) {\r\n //Permitirá la creación o modificación de usuario:\r\n this.isDuplied();\r\n } else {\r\n this.openMessageInPopup();\r\n //this.messageService.add({ closable: false, severity: 'error', detail: \"El número de usuarios supera al permitido en la licencia actual.\" });\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.isDuplied();\r\n }\r\n }\r\n\r\n openMessageInPopup() {\r\n if (this.user.id) {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.users.limited_active_users_error_message\"),\r\n header: this.translateService.instant('general.error'),\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n } else {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.users.limited_users_error_message\"),\r\n header: this.translateService.instant('general.error'),\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n }\r\n }\r\n\r\n onEvent(event) {\r\n if (event.event == \"refreshAll\" && event.action.name == \"refreshAll\") this.refreshAll();\r\n if (event.component == \"user.edit.general\") {\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.checkNumUserInLicense();\r\n if (event.event == \"action\" && event.action.name == \"changePassword\") this.changePassword();\r\n\r\n } else if (event.component == \"user.edit.custom\") {\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.delete();\r\n if (event.event == \"action\" && event.action.name == \"cancel\") this.cancel();\r\n if (event.event == \"action\" && event.action.name == \"save\") this.checkNumUserInLicense();\r\n if (event.event == \"action\" && event.action.name == \"changePassword\") this.changePassword();\r\n\r\n\r\n } else if (event.component == \"user.edit.zones\") {\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewUserZone(null);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteUserZone(event.data);\r\n } else if (event.component == \"user.edit.roles\") {\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewUserRole(null);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteUserRole(event.data);\r\n } else if (event.component == \"user.edit.mailAccounts\") {\r\n if (event.event == \"action\" && event.action.name == \"add\") this.viewUserMailAccount(null);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteUserMailAccount(event.data);\r\n }\r\n\r\n if (event.component == \"view\" && event.event == \"entity-loaded\") {\r\n\r\n this.config.header = typeof (this.user.id) !== \"undefined\" ? this.translateService.instant('component.user.detail.detail_entity', { entity_name: this.view.getEntityBaseName() }) : this.translateService.instant(\"component.user.detail.new_entity\", { entity_name: this.view.getEntityBaseName() });\r\n }\r\n }\r\n\r\n\r\n\r\n}\r\n","
\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
{{'user.entity_fields.email'|translate}}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n \r\n
\r\n\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n","import { Component, OnInit, ViewChild } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DialogService } from 'primeng/dynamicdialog';\r\nimport { CompanyLicenseService } from 'src/app/configuration/company-license/company-license.service';\r\nimport { ZonesDetailComponent } from 'src/app/configuration/zones/zones-detail/zones-detail.component';\r\nimport { CoreDialogService } from 'src/app/core/dialogs/core-dialog.service';\r\nimport { ViewComponent } from 'src/app/core/view/view.component';\r\nimport { ViewsService } from 'src/app/core/view/views.service';\r\nimport { UsersDetailComponent } from '../users-detail/users-detail.component';\r\nimport { UsersService } from '../users.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { MailingDetailComponent } from 'src/app/mailing/mailing-detail/mailing-detail.component';\r\n\r\n@Component({\r\n selector: 'app-users-list',\r\n templateUrl: './users-list.component.html',\r\n styleUrls: ['./users-list.component.scss']\r\n})\r\nexport class UsersListComponent implements OnInit {\r\n\r\n @ViewChild(\"view\") public view: ViewComponent;\r\n public usersFilters: any = {};\r\n\r\n constructor(\r\n private usersService: UsersService,\r\n private licensesService: CompanyLicenseService,\r\n private viewsService: ViewsService,\r\n\r\n private messageService: MessageService,\r\n private coreDialogService: CoreDialogService,\r\n private dialogService: DialogService,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n }\r\n\r\n viewUser(user) {\r\n const ref = this.dialogService.open(UsersDetailComponent, {\r\n data: {\r\n id: user ? user.id : 0,\r\n responsible_id: localStorage.getItem(\"userId\")\r\n },\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n this.viewsService.changeView(this.view.code);\r\n this.view.fireEvent(\"users.list.results\", \"reload\");\r\n });\r\n }\r\n\r\n deleteUser(user) {\r\n this.coreDialogService.confirm({\r\n message: this.translateService.instant(\"component.users.delete_message\", { name: user.name }),\r\n header: this.translateService.instant(\"general.confirmation_delete_title\"),\r\n icon: \"pi pi-info-circle\",\r\n accept: () => {\r\n this.usersService.delete(user.id).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: 'success', detail: this.translateService.instant(\"general.confirmation_delete\") });\r\n this.view.fireEvent(\"users.list.results\", \"reload\");\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n },\r\n reject: () => { }\r\n });\r\n }\r\n\r\n newMail(user) {\r\n const ref = this.dialogService.open(MailingDetailComponent, {\r\n data: {\r\n to: user.email,\r\n entity_id: 18,\r\n entity_pk_id: user.id,\r\n template_type_id: 4,\r\n template_type_code: \"MAIL_INTERNAL\",\r\n searchRelated: false\r\n },\r\n header: this.translateService.instant(\"general.new_mail_title\"),\r\n width: '70%',\r\n });\r\n ref.onClose.subscribe((data: any) => {\r\n if (data) {\r\n //this.dynamicDialogRef.close(data);\r\n location.reload();\r\n }\r\n if (typeof (this.view) !== \"undefined\") this.viewsService.changeView(this.view.code);\r\n });\r\n\r\n }\r\n\r\n onEvent(event: any) {\r\n if (event.component == \"users.list.filters\") {\r\n if (event.event == \"action\" && event.action.name == \"search\") this.view.fireEvent(\"users.list.results\", \"reload\");\r\n } else if (event.component == \"users.list.results\") {\r\n if (event.event == \"dblclick\") this.viewUser(event.data);\r\n if (event.event == \"action\" && event.action.name == \"add\") this.checkNumUserInLicense();\r\n if (event.event == \"action\" && event.action.name == \"sendEmail\") this.newMail(event.data);\r\n if (event.event == \"action\" && event.action.name == \"edit\") this.viewUser(event.data);\r\n if (event.event == \"action\" && event.action.name == \"delete\") this.deleteUser(event.data);\r\n }\r\n }\r\n\r\n checkNumUserInLicense() {\r\n this.licensesService.canCreateUser().subscribe({\r\n next: (data: any) => {\r\n //Si la company tiene menos users que license.number_of_users...\r\n if (data) {\r\n //Permitirá la creación de nuevo usuario:\r\n this.viewUser(null);\r\n } else {\r\n this.openMessageInPopup();\r\n //this.messageService.add({ closable: false, severity: 'error', detail: \"El número de usuarios supera al permitido en la licencia actual.\" });\r\n }\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', detail: error.error.title });\r\n }\r\n });\r\n }\r\n\r\n openMessageInPopup() {\r\n this.coreDialogService.notify({\r\n message: this.translateService.instant(\"component.users.limited_users_error_message\"),\r\n header: this.translateService.instant('general.error'),\r\n icon: 'far exclamation-circle',\r\n color: 'var(--orange-500)',\r\n accept: () => { }\r\n });\r\n }\r\n}\r\n","\r\n\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UserMailAccountsService {\r\n url = \"/api/userMailAccounts\";\r\n\r\n constructor(private http: HttpClient) { }\r\n \r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { MessageService } from 'primeng/api';\r\nimport { DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';\r\nimport { MailAccountsService } from 'src/app/configuration/mail-accounts/mail-accounts.service';\r\nimport { UserMailAccountsService } from './user-mail-accounts.service';\r\nimport { TranslateService } from '@ngx-translate/core';\r\n\r\n@Component({\r\n selector: 'app-users-mail-accounts-detail',\r\n templateUrl: './users-mail-accounts-detail.component.html',\r\n styleUrls: ['./users-mail-accounts-detail.component.scss']\r\n})\r\nexport class UsersMailAccountsDetailComponent implements OnInit {\r\n public mailAccounts: any[] = [];\r\n public selectedMailAccounts: any[] = [];\r\n public userMailAccount: any = {};\r\n\r\n constructor(\r\n private userMailAccountsService: UserMailAccountsService,\r\n private mailAccountsService: MailAccountsService,\r\n\r\n private messageService: MessageService,\r\n private config: DynamicDialogConfig,\r\n private dynamicDialogRef: DynamicDialogRef,\r\n private translateService: TranslateService\r\n ) { }\r\n\r\n ngOnInit(): void {\r\n this.userMailAccount.user_id = this.config.data.user.id;\r\n this.selectedMailAccounts = this.config.data.selectedMailAccounts;\r\n this.loadMailAccounts();\r\n }\r\n cancel() {\r\n this.dynamicDialogRef.close();\r\n }\r\n save() {\r\n if (this.userMailAccount != null && this.userMailAccount.mailAccount_id > 0) {\r\n this.userMailAccountsService.add(this.userMailAccount).subscribe({\r\n next: (data: any) => {\r\n this.messageService.add({ closable: false, severity: \"success\", detail: this.translateService.instant('component.users.detail.assign_mail_account_correct') });\r\n this.dynamicDialogRef.close(data);\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: error.error.title });\r\n }\r\n });\r\n } else {\r\n this.messageService.add({ closable: false, severity: \"error\", detail: this.translateService.instant('invalid_language_error_message') })\r\n }\r\n }\r\n\r\n loadMailAccounts() {\r\n this.mailAccountsService.all({ ids: this.selectedMailAccounts }).subscribe({\r\n next: (data: any) => {\r\n this.mailAccounts = data.rows;\r\n },\r\n error: (error: any) => {\r\n this.messageService.add({ closable: false, severity: 'error', summary: 'Error', detail: error.error.title });\r\n }\r\n })\r\n }\r\n}\r\n","
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { UsersDetailComponent } from './users-detail/users-detail.component';\r\nimport { UsersListComponent } from './users-list/users-list.component';\r\n\r\nconst routes: Routes = [\r\n {path:\"users\", component: UsersListComponent},\r\n {path:\"users/:id\", component: UsersDetailComponent}\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class UsersRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\n\r\nimport { UsersRoutingModule } from './users-routing.module';\r\nimport { UsersListComponent } from './users-list/users-list.component';\r\nimport { UsersDetailComponent } from './users-detail/users-detail.component';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome';\r\nimport { ButtonModule } from 'primeng/button';\r\nimport { CardModule } from 'primeng/card';\r\nimport { CheckboxModule } from 'primeng/checkbox';\r\nimport { ConfirmDialogModule } from 'primeng/confirmdialog';\r\nimport { DialogModule } from 'primeng/dialog';\r\nimport { InputTextModule } from 'primeng/inputtext';\r\nimport { TableModule } from 'primeng/table';\r\nimport { AppRoutingModule } from '../app-routing.module';\r\nimport { CoreModule } from '../core/core.module';\r\nimport {MultiSelectModule} from 'primeng/multiselect';\r\nimport { UserZonesDetailComponent } from './user-zones-detail/user-zones-detail.component';\r\nimport { DropdownModule } from 'primeng/dropdown';\r\nimport { UserChangePasswordComponent } from './user-change-password/user-change-password.component';\r\nimport { UserRolesComponent } from './users-detail/user-roles/user-roles.component';\r\nimport { UsersMailAccountsDetailComponent } from './users-mail-accounts-detail/users-mail-accounts-detail.component';\r\nimport { FileUploadModule } from 'primeng/fileupload';\r\nimport { AccordionModule } from 'primeng/accordion';\r\nimport { InputSwitchModule } from 'primeng/inputswitch';\r\nimport { ColorPickerModule } from 'primeng/colorpicker';\r\nimport { AutoCompleteModule } from 'primeng/autocomplete';\r\nimport { EditorModule } from '@tinymce/tinymce-angular';\r\nimport { TranslateModule } from '@ngx-translate/core';\r\nimport { TooltipModule } from 'primeng/tooltip';\r\n\r\n@NgModule({\r\n declarations: [UsersListComponent, UsersDetailComponent, UserZonesDetailComponent, UserChangePasswordComponent, UserRolesComponent, UsersMailAccountsDetailComponent],\r\n imports: [\r\n CommonModule,\r\n UsersRoutingModule,\r\n InputTextModule,\r\n ButtonModule,\r\n TableModule,\r\n ConfirmDialogModule,\r\n DialogModule,\r\n FormsModule,\r\n CheckboxModule,\r\n CoreModule,\r\n CardModule,\r\n FontAwesomeModule,\r\n AppRoutingModule,\r\n MultiSelectModule,\r\n DropdownModule,\r\n FileUploadModule,\r\n AccordionModule,\r\n InputSwitchModule,\r\n ColorPickerModule,\r\n AutoCompleteModule,\r\n EditorModule,\r\n TranslateModule,\r\n TooltipModule\r\n ],\r\n exports:[\r\n UsersListComponent, UsersDetailComponent, UserRolesComponent\r\n ]\r\n})\r\nexport class UsersModule { }\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\nimport { Md5 } from 'ts-md5';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class UsersService {\r\n url = \"/api/users\";\r\n\r\n constructor(private http: HttpClient) { }\r\n\r\n all(params): Observable {\r\n return this.http.get(this.url, { params: params });\r\n }\r\n getComboUsers(params): Observable {\r\n return this.http.get(this.url + \"/getComboUsers\", { params: params });\r\n }\r\n\r\n combo(params): Observable {\r\n return this.http.get(this.url + \"/Combo\", { params: params });\r\n }\r\n\r\n get(id): Observable {\r\n return this.http.get(this.url + \"/\" + id);\r\n }\r\n\r\n save(id, obj): Observable {\r\n return this.http.put(this.url + \"/\" + id, obj);\r\n }\r\n\r\n add(obj): Observable {\r\n const md5 = new Md5();\r\n obj.password = md5.appendStr(obj.password).end();\r\n return this.http.post(this.url, obj);\r\n }\r\n\r\n delete(id): Observable {\r\n return this.http.delete(this.url + \"/\" + id);\r\n }\r\n\r\n changePassword(user) {\r\n const md5 = new Md5();\r\n user.password = md5.appendStr(user.password).end()\r\n return this.http.post(this.url + \"/ChangePassword\", user);\r\n }\r\n\r\n setNewPassword() {\r\n return this.http.get(this.url + \"/setNewPassword\");\r\n }\r\n\r\n setFavouriteReport(reportInfo, type): Observable {\r\n return this.http.get(this.url + \"/favouriteReports/\" + reportInfo + \"/\" + type)\r\n }\r\n\r\n setGraphHome(id): Observable {\r\n return this.http.get(this.url + \"/graphHome/\" + id)\r\n }\r\n\r\n reorderFavouriteReports(dragPos, dropPos): Observable {\r\n return this.http.get(this.url + \"/reorderFavouriteReports/\" + dragPos + \"/\" + dropPos)\r\n }\r\n\r\n isDuplied(obj): Observable {\r\n return this.http.post(this.url + \"/isDuplied\", obj);\r\n }\r\n\r\n getUserSubordinatesIdsAndZonesIds(id: number): Observable {\r\n return this.http.get(this.url + \"/getUserSubordinatesIdsAndZonesIds/\" + id);\r\n }\r\n\r\n changeCurrentView(user_id, new_view_id): Observable {\r\n var obj = {\r\n user_id: user_id,\r\n view_id: new_view_id\r\n };\r\n return this.http.post(this.url + \"/changeCurrentView\", obj);\r\n }\r\n visitedOrganizations(organizationId: number): Observable {\r\n return this.http.get(this.url + \"/visitedOrganizations?id=\" + organizationId);\r\n }\r\n\r\n getUsersSignatureEmail(id: number): Observable {\r\n return this.http.get(this.url + \"/getUsersSignatureEmail/\" + id);\r\n }\r\n\r\n allLanguages(params): Observable {\r\n return this.http.get(\"/api/companyLanguages\", { params: params });\r\n }\r\n}\r\n","export const environment = {\r\n production: true,\r\n companyConfiguration: {\r\n locale: 'es-ES',\r\n currency: 'EUR'\r\n },\r\n BEE_CLIENT_ID: \"826b6a37-1d11-4725-94ab-cc67b493d186\",\r\n BEE_CLIENT_SECRET: \"Tn1FP7B9G1oIetrsdVT7rvKgct2pDCSduvbWGYJmZ4a8XmW1syc4\"\r\n};\r\n","import {\r\n ChangeDetectorRef,\r\n Directive,\r\n ElementRef,\r\n HostBinding,\r\n Input,\r\n OnChanges,\r\n SecurityContext,\r\n SimpleChanges\r\n} from \"@angular/core\";\r\nimport { DomSanitizer, SafeHtml } from \"@angular/platform-browser\";\r\n\r\n@Directive({\r\n selector: \"[highlight]\"\r\n})\r\nexport class HighlightDirective implements OnChanges {\r\n @Input(\"highlight\") searchTerm: string;\r\n @Input() caseSensitive = false;\r\n @Input() customClasses = \"\";\r\n @Input() inputText = \"\";\r\n\r\n @HostBinding(\"innerHtml\")\r\n content: string;\r\n constructor(private el: ElementRef, private sanitizer: DomSanitizer, private nose: ChangeDetectorRef) { }\r\n\r\n ngOnChanges(changes: SimpleChanges) {\r\n if (this.el?.nativeElement) {\r\n if (\"searchTerm\" in changes || \"caseSensitive\" in changes) {\r\n //const text = (this.el.nativeElement as HTMLElement).textContent;\r\n const text = this.inputText;\r\n \r\n if (this.searchTerm === \"\") {\r\n this.content = text;\r\n } else {\r\n const regex = new RegExp(\r\n this.searchTerm,\r\n this.caseSensitive ? \"g\" : \"gi\"\r\n );\r\n const newText = text.replace(regex, (match: string) => {\r\n return `${match}`;\r\n });\r\n const sanitzed = this.sanitizer.sanitize(\r\n SecurityContext.HTML,\r\n newText\r\n );\r\n this.content = sanitzed;\r\n }\r\n }\r\n }\r\n }\r\n}\r\n","import { CommonModule } from \"@angular/common\";\r\nimport { NgModule } from \"@angular/core\";\r\nimport { HighlightDirective } from \"./highlight.directive\";\r\n\r\n\r\n@NgModule({\r\n declarations: [HighlightDirective],\r\n imports: [CommonModule],\r\n exports: [HighlightDirective]\r\n})\r\nexport class HighlightModule { }\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\nimport { environment } from './environments/environment';\r\n\r\nimport { AppModule } from './app/app.module';\r\n\r\n\r\nexport function getBaseUrl() {\r\n return document.getElementsByTagName('base')[0].href;\r\n}\r\n\r\nconst providers = [\r\n { provide: 'BASE_URL', useFactory: getBaseUrl, deps: [] }\r\n];\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic().bootstrapModule(AppModule)\r\n .catch(err => console.error(err));\r\n"],"names":["animate","query","style","transition","trigger","slideInAnimation","position","transform","opacity","optional","width","paddingRight","RouterModule","routes","AppRoutingModule","forRoot","imports","i1","exports","AppSettingsService","constructor","http","versionNumber","versionDate","baseUrl","Api","relativeUrl","Version","version","date","getTime","Date","toLocaleDateString","i0","ɵɵinject","HttpClient","factory","ɵfac","providedIn","OpportunitiesMonthsWidgetComponent","OpportunitiesTotalPipelineComponent","OpportunitiesWidgetComponent","SalesTotalPipelineComponent","TasksWidgetComponent","TasksHistoryLineComponent","UserRolesComponent","EntityHistoryLineComponent","TransactionLinesDetailCustomComponent","TransactionSAGEInfoCustomComponent","CampaignsChartComponent","ɵɵelement","AppComponent","versionService","primengConfig","loginService","viewsService","configurationService","eventBus","entitiesService","router","customHistoryService","ngZone","debugService","translateService","name","actualComponentName","isLogged","cssLoaded","isOpen","showTopbar","showSidebar","getVersion","RegisterCustomComponent","onLoginStateChange","subscribe","state","location","pathname","url","search","navigateByUrl","encodeURIComponent","checkLogged","on","meta","current_lang","localStorage","getItem","setItem","setDefaultLang","get","data","prepareRoute","outlet","componentName","isActivated","component","activatedRoute","onActivate","event","includes","checkIfExistPrev","add","scrollToTop","window","setInterval","pos","pageYOffset","scrollTo","clearInterval","configCssClass","cssClass","ngOnInit","zone","enableDebug","enable","disableDebug","disable","setTranslation","accept","reject","monthNames","monthNamesShort","dayNames","dayNamesShort","dayNamesMin","today","ɵɵdirectiveInject","VersionService","i2","PrimeNGConfig","i3","LoginService","i4","ViewsService","i5","ConfigurationService","i6","NgEventBus","i7","EntitiesService","i8","Router","i9","CustomHistoryService","NgZone","i10","DebugService","i11","TranslateService","selectors","decls","vars","consts","template","AppComponent_Template","rf","ctx","ɵɵelementStart","ɵɵtemplate","AppComponent_app_topbar_2_Template","AppComponent_app_sidebar_3_Template","ɵɵlistener","AppComponent_Template_router_outlet_activate_5_listener","$event","ɵɵelementEnd","ɵɵadvance","ɵɵclassMapInterpolate2","ɵɵproperty","_r2","registerLocaleData","localeES","BrowserModule","LOCALE_ID","APP_INITIALIZER","FormsModule","ReactiveFormsModule","HttpClientModule","HTTP_INTERCEPTORS","DefaultUrlSerializer","FontAwesomeModule","InputTextModule","CardModule","PanelModule","ToastModule","HomeModule","BrowserAnimationsModule","LoginModule","AuthGuard","OrganizationsModule","ConfigurationModule","CalendarModule","TasksModule","OrganizationsTypesModule","CoreModule","UserCalendarModule","ProductsModule","TransactionTypesModule","TransactionStatusModule","TemplatesModule","AttachmentsModule","TransactionsModule","TransactionsLinesModule","MailAccountsModule","TrackingModule","ViewsModule","ZonesModule","UsersModule","MailingModule","ContactsModule","DialogService","DynamicDialogModule","MessageService","LoginComponent","fas","far","ButtonModule","ReportsModule","AttachmentsTypesModule","FamiliesModule","CascadeSelectModule","FieldsetModule","MapsModule","ImportModule","IntegrationModule","NotificationsModule","MailMarketingModule","UpdateModule","TasksActionsTypesModule","SectorsModule","OriginsModule","ProvincesModule","EncodeHttpParamsInterceptor","PreloadModule","BusinessModule","BadgeModule","EditorModule","TINYMCE_SCRIPT_SRC","LeadsModule","EntityHistoryLineModule","NgxWebstorageModule","TranslateLoader","TranslateModule","CustomTranslateLoader","TaskStatusModule","CampaignsModule","CustomUrlSerializer","_defaultUrlSerializer","parse","replace","serialize","tree","loadTranslations","use","AppModule","library","addIconPacks","FaIconLibrary","bootstrap","provide","useValue","useClass","multi","useFactory","deps","loader","withServerTransition","appId","path","pathMatch","canActivate","onSameUrlNavigation","declarations","AttachmentsDataService","all","params","id","getProfile","getHtml","save","obj","put","post","delete","ɵɵtext","AttachmentsDetailComponent_p_tabView_0_div_1_Template_p_dropdown_ngModelChange_4_listener","ɵɵrestoreView","_r6","ctx_r5","ɵɵnextContext","ɵɵresetView","attachment","attachment_type_id","ɵɵtextInterpolate","ɵɵpipeBind1","ɵɵpropertyInterpolate","ctx_r2","attachmentsTypes","AttachmentsDetailComponent_p_tabView_0_p_tabPanel_2_Template_p_fileUpload_onError_2_listener","_r8","ctx_r7","onErrorUpload","AttachmentsDetailComponent_p_tabView_0_p_tabPanel_2_Template_p_fileUpload_onUpload_2_listener","ctx_r9","onBasicUpload","AttachmentsDetailComponent_p_tabView_0_p_tabPanel_3_div_2_Template_p_dropdown_ngModelChange_4_listener","_r14","ctx_r13","selectedTemplateHtml","AttachmentsDetailComponent_p_tabView_0_p_tabPanel_3_div_2_Template_p_dropdown_change_4_listener","ctx_r15","loadHtml","AttachmentsDetailComponent_p_tabView_0_p_tabPanel_3_div_2_Template_p_dropdown_onChange_4_listener","ctx_r16","ctx_r10","templates","AttachmentsDetailComponent_p_tabView_0_p_tabPanel_3_editor_8_Template_editor_ngModelChange_0_listener","_r18","ctx_r17","html","ɵɵpureFunction0","_c1","ctx_r11","tinyMceConfig","AttachmentsDetailComponent_p_tabView_0_p_tabPanel_3_button_9_Template_button_click_0_listener","_r20","ctx_r19","toDraft","AttachmentsDetailComponent_p_tabView_0_p_tabPanel_3_div_2_Template","AttachmentsDetailComponent_p_tabView_0_p_tabPanel_3_Template_input_ngModelChange_7_listener","_r22","ctx_r21","description","AttachmentsDetailComponent_p_tabView_0_p_tabPanel_3_editor_8_Template","AttachmentsDetailComponent_p_tabView_0_p_tabPanel_3_button_9_Template","AttachmentsDetailComponent_p_tabView_0_p_tabPanel_3_Template_button_click_10_listener","ctx_r23","ctx_r4","showTinyMCE","AttachmentsDetailComponent_p_tabView_0_div_1_Template","AttachmentsDetailComponent_p_tabView_0_p_tabPanel_2_Template","AttachmentsDetailComponent_p_tabView_0_p_tabPanel_3_Template","ctx_r0","entity_id","mimetype","hideTabs","AttachmentsDetailComponent_app_view_1_Template_app_view_onEvent_0_listener","_r26","ctx_r25","onEvent","ctx_r1","AttachmentsDetailComponent","attachmentsService","attachmentDataService","attachmentsTypesService","messageService","config","coreDialogService","dynamicDialogRef","templatesService","templatesTypesService","configureTinyMce","loadAttachmentsTypes","loadTemplates","loadData","header","instant","entity_name","view","getEntityBaseName","that","promotion","height","menubar","toolbar","plugins","quickbars_insert_toolbar","toolbar_mode","language","language_url","relative_urls","remove_script_host","document_base_url","paste_data_images","file_picker_types","file_picker_callback","cb","value","input","document","createElement","setAttribute","onchange","e","file","target","reader","FileReader","onload","datafile","FileName","ContentType","type","Length","size","b64","result","UploadImage","error","closable","severity","detail","title","readAsDataURL","click","next","related_attachment_id","loadHtmlData","summary","entity_pk_id","searchTypeId","code","is_generic","attachment_type","rows","valid","organization_id","close","originalEvent","body","off","guidNum","files","forEach","fileName","filename","contentType","length","guid","guids","cancel","confirm","message","icon","toHTML","subject","trim","toPdf","duply","GeneratePDF","htmlUpload","attachment_guid","undefined","uuidv4","c","r","Math","random","v","toString","isDuplied","createdBy","created_at","notify","color","refreshAll","configuration","components","array","fireEvent","action","AttachmentsService","AttachmentsTypesService","DynamicDialogConfig","CoreDialogService","DynamicDialogRef","TemplatesService","TemplatesTypesService","viewQuery","AttachmentsDetailComponent_Query","AttachmentsDetailComponent_p_tabView_0_Template","AttachmentsDetailComponent_app_view_1_Template","XLSX","FileSaver","_r1","AttachmentsListComponent","dialogService","attachmentsFilters","showTemplates","edit","ref","open","onClose","changeView","downloadFile","download","exportExcel","aux","row","columns","label","model_property","push","worksheet","utils","json_to_sheet","workbook","Sheets","SheetNames","excelBuffer","write","bookType","saveAsExcelFile","buffer","EXCEL_TYPE","EXCEL_EXTENSION","Blob","saveAs","AttachmentsListComponent_Query","AttachmentsListComponent_li_12_Template","AttachmentsListComponent_Template_app_view_onEvent_13_listener","_c2","ɵɵtextInterpolate1","GenericAttachmentsListComponent","AttachmentsRoutingModule","forChild","CommonModule","CheckboxModule","ConfirmDialogModule","DialogModule","DropdownModule","InputTextareaModule","SplitButtonModule","TableModule","TimelineModule","FileUploadModule","TabViewModule","GenericAttachmentsDetailComponent","SidebarModule","addGeneric","upload","attachment_id","customupload","deleteByGuid","GenericAttachmentsDetailComponent_p_tabView_0_p_tabPanel_1_Template_p_fileUpload_onError_2_listener","_r5","GenericAttachmentsDetailComponent_p_tabView_0_p_tabPanel_1_Template_p_fileUpload_onUpload_2_listener","ctx_r6","GenericAttachmentsDetailComponent_p_tabView_0_p_tabPanel_2_div_2_Template_p_dropdown_ngModelChange_4_listener","_r10","GenericAttachmentsDetailComponent_p_tabView_0_p_tabPanel_2_div_2_Template_p_dropdown_change_4_listener","GenericAttachmentsDetailComponent_p_tabView_0_p_tabPanel_2_div_2_Template_p_dropdown_onChange_4_listener","ctx_r12","GenericAttachmentsDetailComponent_p_tabView_0_p_tabPanel_2_button_9_Template_button_click_0_listener","ctx_r8","general","action_save","GenericAttachmentsDetailComponent_p_tabView_0_p_tabPanel_2_div_2_Template","GenericAttachmentsDetailComponent_p_tabView_0_p_tabPanel_2_Template_input_ngModelChange_7_listener","_r16","GenericAttachmentsDetailComponent_p_tabView_0_p_tabPanel_2_Template_editor_ngModelChange_8_listener","GenericAttachmentsDetailComponent_p_tabView_0_p_tabPanel_2_button_9_Template","GenericAttachmentsDetailComponent_p_tabView_0_p_tabPanel_2_Template_button_click_10_listener","ctx_r18","ctx_r3","GenericAttachmentsDetailComponent_p_tabView_0_p_tabPanel_1_Template","GenericAttachmentsDetailComponent_p_tabView_0_p_tabPanel_2_Template","ctx_r20","GenericAttachmentsDetailComponent_p_card_1_ng_template_31_Template_p_button_click_1_listener","_r23","ctx_r22","GenericAttachmentsDetailComponent_p_card_1_ng_template_31_Template_p_button_click_4_listener","ctx_r24","GenericAttachmentsDetailComponent_p_card_1_ng_template_31_Template_p_button_click_6_listener","GenericAttachmentsDetailComponent_p_card_1_Template_input_ngModelChange_8_listener","_r27","ctx_r26","GenericAttachmentsDetailComponent_p_card_1_Template_input_ngModelChange_13_listener","ctx_r28","GenericAttachmentsDetailComponent_p_card_1_Template_p_dropdown_ngModelChange_18_listener","ctx_r29","GenericAttachmentsDetailComponent_p_card_1_Template_input_ngModelChange_24_listener","ctx_r30","GenericAttachmentsDetailComponent_p_card_1_Template_input_ngModelChange_29_listener","ctx_r31","GenericAttachmentsDetailComponent_p_card_1_div_30_Template","GenericAttachmentsDetailComponent_p_card_1_ng_template_31_Template","created_by","coreFormService","attachmentType","CoreFormService","GenericAttachmentsDetailComponent_Query","GenericAttachmentsDetailComponent_p_tabView_0_Template","GenericAttachmentsDetailComponent_p_card_1_Template","GenericAttachmentsListComponent_a_18_Template_a_click_0_listener","toggleFilter","ɵɵclassProp","hasFilterValue","GenericAttachmentsListComponent_a_19_Template_a_click_0_listener","toggleFilterMobile","GenericAttachmentsListComponent_a_20_Template_a_click_0_listener","_r12","editAttachment","GenericAttachmentsListComponent_ng_template_26_a_15_Template_a_click_0_listener","_r19","attachment_r13","$implicit","downloadAttachment","GenericAttachmentsListComponent_ng_template_26_a_16_Template_a_click_0_listener","_c3","GenericAttachmentsListComponent_ng_template_26_a_17_Template_a_click_0_listener","_r25","deleteAttachment","_c4","GenericAttachmentsListComponent_ng_template_26_Template_tr_dblclick_0_listener","restoredCtx","GenericAttachmentsListComponent_ng_template_26_a_15_Template","GenericAttachmentsListComponent_ng_template_26_a_16_Template","GenericAttachmentsListComponent_ng_template_26_a_17_Template","toFixed","ɵɵpipeBind2","editAttachmentPermission","deleteAttachmentPermission","GenericAttachmentsListComponent_div_27_Template_p_sidebar_visibleChange_1_listener","_r30","show_filter_panel","GenericAttachmentsListComponent_div_27_ng_template_2_Template","GenericAttachmentsListComponent_div_27_Template_a_click_5_listener","clearFilters","GenericAttachmentsListComponent_div_27_Template_a_click_10_listener","ctx_r32","loadFilterAndSearch","GenericAttachmentsListComponent_div_27_Template_p_dropdown_ngModelChange_18_listener","ctx_r33","genericAttachmentsFilters","GenericAttachmentsListComponent_div_27_Template_input_ngModelChange_24_listener","ctx_r34","GenericAttachmentsListComponent_div_27_Template_input_keyup_enter_24_listener","ctx_r35","GenericAttachmentsListComponent_div_27_Template_input_ngModelChange_29_listener","ctx_r36","GenericAttachmentsListComponent_div_27_Template_input_keyup_enter_29_listener","ctx_r37","sessionStorage","loading","createAttachmentPermission","fieldQuicks","has_filter_panel","show_filter_panel_mobile","hasPermission","createQuickFilters","clear","lastGridEvent","first","Promise","resolve","then","_page","_pageSize","_sortBy","sortField","_sortDirection","sortOrder","Object","assign","totalRecords","totalRows","genericAttachments","sessionInfo","retrieve","selectedFields","filters","find","m","store","SessionStorageService","GenericAttachmentsListComponent_Query","GenericAttachmentsListComponent_a_18_Template","GenericAttachmentsListComponent_a_19_Template","GenericAttachmentsListComponent_a_20_Template","GenericAttachmentsListComponent_Template_p_table_onLazyLoad_22_listener","GenericAttachmentsListComponent_ng_template_25_Template","GenericAttachmentsListComponent_ng_template_26_Template","GenericAttachmentsListComponent_div_27_Template","_c5","_c6","ɵɵpureFunction3","_c7","last","_c8","CalendarComponent","OrganizationsMeetingsDetailComponent","CalendarRoutingModule","timeGridPlugin","interactionPlugin","dayGridPlugin","esLocale","ɵɵpureFunction2","organization","organization_type_id","CalendarComponent_a_20_Template_a_click_0_listener","_r9","CalendarComponent_a_21_Template_a_click_0_listener","_r11","events","options","CalendarComponent_div_30_ng_template_3_div_1_Template_p_checkbox_onChange_1_listener","_r17","user_r15","onChangeUser","ɵɵstyleMap","ɵɵpureFunction1","selected","ctx_r14","getUserCheckClass","CalendarComponent_div_30_ng_template_3_div_1_Template","users","CalendarComponent_div_30_ng_template_2_Template","CalendarComponent_div_30_ng_template_3_Template","tooltip_info","responsible","ɵɵtextInterpolate2","participant_r22","user","external_user","email","CalendarComponent_div_31_div_12_div_1_Template","i_r23","participants","CalendarComponent_div_31_div_10_Template","CalendarComponent_div_31_div_11_Template","CalendarComponent_div_31_div_12_Template","CalendarComponent_div_31_div_13_Template","yPos","xPos","ɵɵstyleMapInterpolate2","backgroundColor","textColor","showType","date_from","duration","ɵɵstyleMapInterpolate1","selectedItem_r29","tradename","CalendarComponent_div_32_ng_template_20_div_0_span_2_Template","selectedOrganizationId","CalendarComponent_div_32_ng_template_20_div_0_Template","ctx_r27","item_r34","CalendarComponent_div_32_ng_template_21_span_2_Template","CalendarComponent_div_32_Template_p_sidebar_visibleChange_1_listener","_r38","CalendarComponent_div_32_ng_template_2_Template","CalendarComponent_div_32_Template_a_click_5_listener","ctx_r39","resetFilters","CalendarComponent_div_32_Template_a_click_10_listener","ctx_r40","loadMeetingFilter","CalendarComponent_div_32_Template_p_dropdown_ngModelChange_18_listener","ctx_r41","CalendarComponent_div_32_Template_p_dropdown_onFilter_18_listener","ctx_r42","loadOrganizations","CalendarComponent_div_32_ng_template_20_Template","CalendarComponent_div_32_ng_template_21_Template","CalendarComponent_div_32_Template_input_ngModelChange_26_listener","ctx_r43","CalendarComponent_div_32_Template_input_keyup_enter_26_listener","ctx_r44","CalendarComponent_div_32_Template_p_dropdown_ngModelChange_31_listener","ctx_r45","selectedStateId","CalendarComponent_div_32_Template_p_dropdown_onFilter_31_listener","ctx_r46","loadStates","organizations","states","dialogRef","meetingService","organizationService","route","routerLink","usersService","meetingStatesService","canOpenMeeting","calendarViewToolbar","writeMeeting","userId","isSuperAdmin","show","date_to","allDay","from_date","to_date","locale","navLinks","defaultDate","scrollTime","scrollTimeReset","contentHeight","headerToolbar","left","center","right","eventClick","event_id","_def","extendedProps","meeting","viewMeeting","dateClick","datesSet","handleDatesRender","eventDragStart","eventMouseEnter","container","getElementById","rect","getBoundingClientRect","addEventListener","e2","clientX","x","clientY","y","getTimeOfEvent","minutes","lightOrDark","eventMouseLeave","eventResize","modifyEvent","endDelta","eventDrop","delta","slotLabelFormat","hour","minute","meridiem","eventTimeFormat","eventDidMount","info","inModal","snapshot","paramMap","has","parseInt","queryParams","organizationId","route_organization_id","loadOrganization","loadUser","selectedUsers","metadata","calendarConfig","loadUsers","loadMeeting","parameters","check_invited_users","toISOString","meeting_state_id","usersIds","map","isCreator","isResponsible","responsible_id","start","from","end","to","display","meetingUsers","editable","canEditModel","entity","saveSelectedUsers","idx","indexOf","splice","g","b","hsp","match","slice","sqrt","className","hexColor","text","filter","include_organization_id","getCombo","include_state_id","contactId","contact_id","meetingId","deactivated","navigate","viewOrganization","props","saveMeeting","calcNewDate","originalDate","newDate","years","setFullYear","getFullYear","months","setMonth","getMonth","days","setDate","getDate","milliseconds","setMilliseconds","getMilliseconds","calcNewDateTo","dateFrom","dateTo","calcDuration","startDate","endDate","meeting_id","new_date_from","new_date_to","setNewDates","durationText","hours","floor","MeetingsService","OrganizationsService","ActivatedRoute","UsersService","MeetingStatesService","CalendarComponent_Query","CalendarComponent_li_13_Template","CalendarComponent_li_14_Template","CalendarComponent_a_20_Template","CalendarComponent_a_21_Template","CalendarComponent_Template_a_click_22_listener","CalendarComponent_ng_template_29_Template","CalendarComponent_div_30_Template","CalendarComponent_div_31_Template","CalendarComponent_div_32_Template","MultiSelectModule","FullCalendarModule","AddCampaignsToEntityComponent_p_card_0_Template_p_dropdown_ngModelChange_6_listener","_r3","selected_campaign_id","campaigns","AddCampaignsToEntityComponent_div_1_ng_template_17_Template_p_checkbox_ngModelChange_2_listener","index_r9","item_r8","rowData_r10","ɵɵattribute","AddCampaignsToEntityComponent_div_1_Template_input_ngModelChange_7_listener","onInputChange","AddCampaignsToEntityComponent_div_1_Template_input_keydown_enter_7_listener","loadCampaigns","AddCampaignsToEntityComponent_div_1_ng_template_16_Template","AddCampaignsToEntityComponent_div_1_ng_template_17_Template","AddCampaignsToEntityComponent_div_1_ng_template_18_Template","AddCampaignsToEntityComponent","campaignsService","campaignsOrganizationsService","campaignsContactsService","tasksService","meetingsService","transactionsService","notificationsService","results","is_valid","add_organizations_checkbox","add_contacts_checkbox","skip_by_organization_id","skip_by_contact_id","campaign_id","include_campaign_id","skip_passed_campaigns","validateFilters","key","saveCampaigns","saveContactCampaigns","saveOrganizationCampaigns","saveTaskCampaigns","saveMeetingCampaigns","saveMailMarketingCampaigns","saveTransactionCampaigns","addMultiplesCampaignsToOrganization","ids","addMultiplesCampaignsToContact","addMultiplesToCampaign","CampaignsService","CampaignsOrganizationsService","CampaignsContactsService","TasksService","TransactionsService","NotificationsService","AddCampaignsToEntityComponent_Template","AddCampaignsToEntityComponent_p_card_0_Template","AddCampaignsToEntityComponent_div_1_Template","AddCampaignsToEntityComponent_Template_p_button_click_4_listener","AddCampaignsToEntityComponent_Template_p_button_click_6_listener","CampaignAddElementComponent_div_2_Template_input_ngModelChange_4_listener","CampaignAddElementComponent_div_2_Template_input_keydown_enter_4_listener","loadElements","CampaignAddElementComponent_div_3_Template_input_ngModelChange_4_listener","fullname","CampaignAddElementComponent_div_3_Template_input_keydown_enter_4_listener","CampaignAddElementComponent_div_4_Template_input_ngModelChange_4_listener","CampaignAddElementComponent_div_4_Template_input_keydown_enter_4_listener","ɵɵelementContainerStart","CampaignAddElementComponent_ng_container_5_Template_input_ngModelChange_5_listener","CampaignAddElementComponent_ng_container_5_Template_input_keydown_enter_5_listener","CampaignAddElementComponent_ng_container_5_Template_input_ngModelChange_10_listener","organization_name","CampaignAddElementComponent_ng_container_5_Template_input_keydown_enter_10_listener","ɵɵelementContainerEnd","CampaignAddElementComponent_div_6_Template_input_ngModelChange_4_listener","_r33","CampaignAddElementComponent_div_6_Template_input_keydown_enter_4_listener","CampaignAddElementComponent_div_7_Template_input_ngModelChange_4_listener","_r37","ctx_r38","CampaignAddElementComponent_div_7_Template_input_keydown_enter_4_listener","CampaignAddElementComponent_div_8_Template_input_ngModelChange_4_listener","_r41","CampaignAddElementComponent_div_8_Template_input_keydown_enter_4_listener","label_r45","CampaignAddElementComponent_ng_template_17_ng_container_2_Template","labels","rowData_r48","contact","taskStatus","taskActionType","transactionStatus","status","CampaignAddElementComponent_ng_template_18_Template_p_checkbox_ngModelChange_2_listener","_r62","ctx_r61","CampaignAddElementComponent_ng_template_18_ng_container_5_Template","CampaignAddElementComponent_ng_template_18_ng_container_6_Template","CampaignAddElementComponent_ng_template_18_ng_container_7_Template","CampaignAddElementComponent_ng_template_18_ng_container_8_Template","CampaignAddElementComponent_ng_template_18_ng_container_9_Template","CampaignAddElementComponent_ng_template_18_ng_container_10_Template","index_r47","item_r46","CampaignAddElementComponent_div_22_Template_p_checkbox_ngModelChange_4_listener","_r64","ctx_r63","_c0","CampaignAddElementComponent_div_23_Template_p_checkbox_ngModelChange_4_listener","_r66","ctx_r65","CampaignAddElementComponent","organizationsService","contactsService","elements","organizationLabels","contactLabels","taskLabels","meetingLabels","transactionLabels","oportunityLabels","saleLabels","notificationEmailsLabels","revealCheckboxes","loadContacts","loadTasks","loadMeetings","loadTransactions","loadOportunities","loadSales","loadNotifications","transaction_type_id","saveCampaign","saveCampaignContacts","saveCampaignOrganizations","saveTasksToCampaign","saveTransactionsToCampaign","saveMeetingsToCampaign","saveNotificationsToCampaign","addMultiples","visible_contacts_checkbox","visible_organizations_checkbox","ContactsService","CampaignAddElementComponent_Template","CampaignAddElementComponent_div_2_Template","CampaignAddElementComponent_div_3_Template","CampaignAddElementComponent_div_4_Template","CampaignAddElementComponent_ng_container_5_Template","CampaignAddElementComponent_div_6_Template","CampaignAddElementComponent_div_7_Template","CampaignAddElementComponent_div_8_Template","CampaignAddElementComponent_Template_p_button_click_10_listener","CampaignAddElementComponent_ng_template_17_Template","CampaignAddElementComponent_ng_template_18_Template","CampaignAddElementComponent_ng_template_19_Template","CampaignAddElementComponent_div_22_Template","CampaignAddElementComponent_div_23_Template","CampaignAddElementComponent_Template_p_button_click_26_listener","CampaignAddElementComponent_Template_p_button_click_28_listener","ret","backgroundColors","dataFormated","loadStats","getStats","loadBasicDataYears","refresh","chart","reinit","anyoActual","actualDate","cost_string","income_string","expected_income_string","basicData","datasets","cost","expected_income","income","legend","usePointStyle","CampaignsChartComponent_Query","n_organizations","n_contacts","n_tasks","n_meetings","n_transactions","transaction_volume","toLocaleString","final_transaction_volume","loaderService","unlinkContact","LoaderService","MailingDetailComponent","MailMarketingNotificationToStatsComponent","CampaignsDetailComponent","campaignContactsService","campaignOrganizationsService","notificationMailsService","componentService","_location","campaign","previousUrl","last_organization_id","loadDataOrganization","back","validateEmail","disabled","alertDisable","newMail","emailAcc","template_type_code","searchRelated","reload","openCall","tlfn","console","log","re","test","openEmails","openNotificationStats","openOrganization","openMeeting","company_id","serializeUrl","createUrlTree","openTransaction","transaction","type_id","openContact","unlinkOrganization","unlinkMeeting","unlinkTask","task","unlinkTransaction","unlinkEmail","mail","openTask","addElementToCampaign","viewMail","mail_id","i12","i13","i14","i15","ComponentService","i16","Location","CampaignsDetailComponent_Query","CampaignsDetailComponent_Template_app_view_onEvent_18_listener","_r0","CampaignsListComponent","campaignsFilters","viewCampaign","deleteCampaign","CampaignsListComponent_Query","CampaignsListComponent_li_12_Template","CampaignsListComponent_Template_app_view_onEvent_13_listener","CampaignsRoutingModule","CarouselModule","ChartModule","getByElementId","addContacts","addOrganizations","AttachmentsTypesDetailComponent_app_view_0_Template_app_view_onEvent_0_listener","_r4","AttachmentsTypesDetailComponent_app_view_1_Template_app_view_onEvent_0_listener","_r7","attachment_type_type_id","AttachmentsTypesDetailComponent","AttachmentsTypesDetailComponent_Query","AttachmentsTypesDetailComponent_app_view_0_Template","AttachmentsTypesDetailComponent_app_view_1_Template","AttachmentsTypesListComponent_app_view_17_Template_app_view_onEvent_0_listener","attachmentsTypesFilters","AttachmentsTypesListComponent","viewAttachmentType","deleteAttachmentType","AttachmentsTypesListComponent_Query","AttachmentsTypesListComponent_li_16_Template","AttachmentsTypesListComponent_app_view_17_Template","AttachmentsTypesRoutingModule","BusinessDetailComponent","businessService","business","loadBusiness","BusinessService","BusinessDetailComponent_Query","BusinessDetailComponent_Template_app_view_onEvent_0_listener","BusinessListComponent","businessFilters","viewBusiness","BusinessListComponent_Query","BusinessListComponent_Template_app_view_onEvent_19_listener","BusinessRoutingModule","feature_r3","feature_r4","CompanyLicenseComponent","licensesService","featuresService","loadFeatures","getLastLicense","license","features","getFeaturesInGroup","group","CompanyLicenseService","FeaturesService","CompanyLicenseComponent_Template","CompanyLicenseComponent_ng_template_21_Template","CompanyLicenseComponent_div_41_Template","CompanyLicenseComponent_div_47_Template","renew_date","number_of_users","appSetting","canCreateUser","user_id","getName","_c9","_c10","_c11","_c12","_c13","_c14","_c15","ConfigurationMainPageComponent","pipeline_configuration","personalize_interface","families","roles_configuration","create_templates","create_clients","mail_history","zonesPermission","hasFeature","entities","table","otherName","res","name_plural","strPlural","ConfigurationMainPageComponent_Template","ConfigurationMainPageComponent_ng_template_5_Template","ConfigurationMainPageComponent_a_10_Template","ConfigurationMainPageComponent_a_11_Template","ConfigurationMainPageComponent_a_12_Template","ConfigurationMainPageComponent_a_13_Template","ConfigurationMainPageComponent_a_14_Template","ConfigurationMainPageComponent_a_15_Template","ConfigurationMainPageComponent_a_18_Template","ConfigurationMainPageComponent_a_19_Template","ConfigurationMainPageComponent_a_32_Template","ConfigurationMainPageComponent_a_33_Template","ConfigurationMainPageComponent_a_34_Template","ConfigurationMainPageComponent_a_37_Template","ConfigurationMainPageComponent_a_38_Template","ConfigurationMainPageComponent_a_39_Template","_c16","_c17","_c18","_c19","_c20","_c21","_c22","_c23","_c24","_c25","_c26","_c27","ImportListComponent","NotificationsListComponent","UsersDetailComponent","UsersListComponent","CountriesDetailComponent","CountriesListComponent","EntitiesDetailComponent","EntitiesListComponent","FamiliesDetailComponent","FamiliesListComponent","IntegrationListComponent","MailAccountsListComponent","OrganizationsTypesDetailComponent","OrganizationsTypesListComponent","OriginsListComponent","ProvincesDetailComponent","ProvincesListComponent","RolesDetailComponent","RolesListComponent","SectorsListComponent","TasksActionsTypesListComponent","TaxRatesDetailComponent","TaxRatesListComponent","TemplatesListComponent","TrackingLogsComponent","TransactionStatusListComponent","TransactionTypesListComponent","ViewsListComponent","ZonesDetailComponent","ZonesListComponent","MailInOutListComponent","TaskStatusListComponent","TaskStatusDetailComponent","ReasonsTransactionsStatusListComponent","ReasonsTransactionsStatusDetailComponent","children","ConfigurationRoutingModule","EntitiesFieldsService","EntitiesDetailFieldsComponent","RolesService","PermissionsService","MonacoEditorModule","MONACO_PATH","HttpConfigInterceptor","ColorPickerModule","AccordionModule","EntityFieldMasiveOptionsComponent","MessageModule","AddItemToEntityFieldListComponent","TooltipModule","company","css","responseType","CountriesDetailComponent_ng_template_49_p_button_1_Template_p_button_click_0_listener","CountriesDetailComponent_ng_template_49_p_button_1_Template","CountriesDetailComponent_ng_template_49_Template_p_button_click_3_listener","CountriesDetailComponent_ng_template_49_Template_p_button_click_5_listener","country","countriesService","iso_code_2","iso_code_3","validate","formDetails","_msg","errorMessage","CountriesService","CountriesDetailComponent_Query","CountriesDetailComponent_Template_input_ngModelChange_38_listener","CountriesDetailComponent_Template_input_ngModelChange_43_listener","CountriesDetailComponent_Template_input_ngModelChange_48_listener","CountriesDetailComponent_ng_template_49_Template","CountriesListComponent_ng_template_24_Template_a_click_4_listener","CountriesListComponent_ng_template_38_Template_a_click_4_listener","CountriesListComponent_ng_template_43_Template_tr_dblclick_0_listener","country_r9","CountriesListComponent_ng_template_43_Template_a_click_10_listener","CountriesListComponent_ng_template_43_Template_a_click_12_listener","countriesFilters","countries","CountriesListComponent_Query","CountriesListComponent_Template","CountriesListComponent_ng_template_24_Template","CountriesListComponent_Template_input_ngModelChange_30_listener","CountriesListComponent_Template_input_ngModelChange_35_listener","iso_code","CountriesListComponent_ng_template_38_Template","CountriesListComponent_Template_p_table_onLazyLoad_39_listener","CountriesListComponent_ng_template_42_Template","CountriesListComponent_ng_template_43_Template","AddItemToEntityFieldListComponent_p_button_14_Template_p_button_click_0_listener","entitiesFieldsService","is_create","element","JSON","stringify","entityField","saveAndContinue","indice","items","findIndex","op","isEmpty","field_text","field_value","keys","AddItemToEntityFieldListComponent_Template","AddItemToEntityFieldListComponent_h2_0_Template","AddItemToEntityFieldListComponent_h2_1_Template","AddItemToEntityFieldListComponent_Template_input_ngModelChange_7_listener","AddItemToEntityFieldListComponent_Template_input_ngModelChange_12_listener","AddItemToEntityFieldListComponent_p_button_14_Template","AddItemToEntityFieldListComponent_Template_p_button_click_16_listener","AddItemToEntityFieldListComponent_Template_p_button_click_18_listener","AddItemToEntityFieldListComponent_Template_p_button_click_20_listener","EntitiesDetailFieldsComponent_div_19_Template_input_ngModelChange_4_listener","default_value","EntitiesDetailFieldsComponent_div_20_Template_p_calendar_ngModelChange_4_listener","EntitiesDetailFieldsComponent_div_21_Template_p_checkbox_ngModelChange_4_listener","_r13","EntitiesDetailFieldsComponent_div_22_ng_template_2_Template_a_click_4_listener","EntitiesDetailFieldsComponent_div_22_ng_template_2_Template_a_click_8_listener","addItemMasive","EntitiesDetailFieldsComponent_div_22_ng_template_2_Template_a_click_12_listener","addItem","EntitiesDetailFieldsComponent_div_22_ng_template_7_Template_a_click_6_listener","_r24","item_r22","EntitiesDetailFieldsComponent_div_22_ng_template_7_Template_a_click_9_listener","deleteItem","EntitiesDetailFieldsComponent_div_22_ng_template_2_Template","EntitiesDetailFieldsComponent_div_22_ng_template_6_Template","EntitiesDetailFieldsComponent_div_22_ng_template_7_Template","EntitiesDetailFieldsComponent_div_33_div_4_Template_p_checkbox_ngModelChange_1_listener","selectedRoles","role_r28","EntitiesDetailFieldsComponent_div_33_ng_template_2_Template","EntitiesDetailFieldsComponent_div_33_div_4_Template","roles","EntitiesDetailFieldsComponent_p_button_44_Template_p_button_click_0_listener","_r32","rolesService","control_types","data_types","data_type","is_base_field","control_type","is_disabled","modelMonaco","editorOptions","theme","require_roles","loadRoles","entity_code","entity_custom","getFieldDescription","updateNameType","editorInit","editor","onMonacoChange","closeWindow","updateControlType","initCache","success","showHeader","item","i","formatFn","selected_data_type","keyValue","index","EntitiesDetailFieldsComponent_Template","EntitiesDetailFieldsComponent_Template_input_ngModelChange_8_listener","EntitiesDetailFieldsComponent_Template_input_ngModelChange_13_listener","EntitiesDetailFieldsComponent_Template_p_dropdown_ngModelChange_18_listener","EntitiesDetailFieldsComponent_Template_p_dropdown_onChange_18_listener","EntitiesDetailFieldsComponent_div_19_Template","EntitiesDetailFieldsComponent_div_20_Template","EntitiesDetailFieldsComponent_div_21_Template","EntitiesDetailFieldsComponent_div_22_Template","EntitiesDetailFieldsComponent_Template_p_checkbox_ngModelChange_27_listener","EntitiesDetailFieldsComponent_Template_p_checkbox_ngModelChange_32_listener","EntitiesDetailFieldsComponent_div_33_Template","EntitiesDetailFieldsComponent_p_message_34_Template","EntitiesDetailFieldsComponent_Template_ngx_monaco_editor_ngModelChange_42_listener","EntitiesDetailFieldsComponent_Template_ngx_monaco_editor_init_42_listener","EntitiesDetailFieldsComponent_p_button_44_Template","EntitiesDetailFieldsComponent_Template_p_button_click_46_listener","EntitiesDetailFieldsComponent_Template_p_button_click_48_listener","unmodifiable","finalItems","split","errorLine","EntityFieldMasiveOptionsComponent_Template","EntityFieldMasiveOptionsComponent_Template_textarea_ngModelChange_9_listener","EntityFieldMasiveOptionsComponent_Template_p_button_click_11_listener","EntityFieldMasiveOptionsComponent_Template_p_button_click_13_listener","EntitiesDetailComponent_ng_template_23_div_3_Template_a_click_1_listener","EntitiesDetailComponent_ng_template_23_div_3_Template","create_fields","allow_metadata","EntitiesDetailComponent_ng_template_28_a_13_Template_a_click_0_listener","entityField_r14","EntitiesDetailComponent_ng_template_28_Template_tr_dblclick_0_listener","EntitiesDetailComponent_ng_template_28_span_8_Template","EntitiesDetailComponent_ng_template_28_Template_a_click_11_listener","EntitiesDetailComponent_ng_template_28_a_13_Template","index_r15","EntitiesDetailComponent_ng_template_37_Template_p_button_click_1_listener","EntitiesDetailComponent_ng_template_37_Template_p_button_click_3_listener","EntitiesDetailComponent_div_41_Template_p_checkbox_ngModelChange_1_listener","_r29","selectedEntities","entityField_r27","EntitiesDetailComponent_ng_template_42_Template_p_button_click_1_listener","_r31","EntitiesDetailComponent_ng_template_42_Template_p_button_click_3_listener","EntitiesDetailComponent_ng_template_46_Template_button_click_0_listener","_r34","ɵɵreference","EntitiesDetailComponent_ng_template_46_Template_button_click_2_listener","entityService","entityFieldsService","getEntityName","loadEntitiesFieldsForDuplicities","duplicities","entitiesFields","enabled","entitiesFieldsForDuplicities","entity_field_id","onRowReorder","dragIndex","dropIndex","reorderFields","EntitiesDetailComponent_Query","EntitiesDetailComponent_Template_input_ngModelChange_8_listener","EntitiesDetailComponent_Template_input_ngModelChange_13_listener","EntitiesDetailComponent_Template_input_ngModelChange_18_listener","shortname","EntitiesDetailComponent_Template_p_button_click_20_listener","EntitiesDetailComponent_ng_template_23_Template","EntitiesDetailComponent_Template_p_table_onLazyLoad_24_listener","EntitiesDetailComponent_Template_p_table_onRowReorder_24_listener","EntitiesDetailComponent_ng_template_27_Template","EntitiesDetailComponent_ng_template_28_Template","EntitiesDetailComponent_Template_ngx_monaco_editor_ngModelChange_36_listener","EntitiesDetailComponent_Template_ngx_monaco_editor_init_36_listener","EntitiesDetailComponent_ng_template_37_Template","EntitiesDetailComponent_div_41_Template","EntitiesDetailComponent_ng_template_42_Template","EntitiesDetailComponent_ng_template_45_Template","EntitiesDetailComponent_ng_template_46_Template","dragPos","dropPos","GetEntityFieldDescription","entity_field_model_property","GetTransactionLinesFieldsAvailable","EntitiesListComponent_ng_template_29_a_8_Template_a_click_0_listener","entity_r4","EntitiesListComponent_ng_template_29_Template_tr_dblclick_0_listener","EntitiesListComponent_ng_template_29_a_8_Template","for_reports","access_entities_fields","entitiesFilters","EntitiesListComponent_Template","EntitiesListComponent_ng_template_24_Template","EntitiesListComponent_Template_p_table_onLazyLoad_25_listener","EntitiesListComponent_ng_template_28_Template","EntitiesListComponent_ng_template_29_Template","Observable","cacheEntities","cbFn","getRelatedEntities","getByCode","observable","create","observer","complete","clonedEntity","familiesService","family","loadFamilies","FamiliesService","FamiliesDetailComponent_Query","FamiliesDetailComponent_Template_app_view_onEvent_0_listener","familiesFilters","viewFamily","deleteFamily","FamiliesListComponent_Query","FamiliesListComponent_li_16_Template","FamiliesListComponent_Template_app_view_onEvent_17_listener","FamiliesRoutingModule","CompaniesIntegrationsService","GMailService","authorize","me","skipRequest","IntegrationEditApirestComponent","companiesIntegrationsService","utilsService","permissions","integration","randomString","password","UtilsService","IntegrationEditApirestComponent_Template","IntegrationEditApirestComponent_ng_template_1_Template","IntegrationEditApirestComponent_Template_input_ngModelChange_6_listener","IntegrationEditApirestComponent_Template_input_ngModelChange_11_listener","IntegrationEditApirestComponent_ng_template_13_Template","IntegrationEditApirestComponent_Template_p_dropdown_ngModelChange_19_listener","IntegrationEditApirestComponent_Template_p_dropdown_ngModelChange_24_listener","contacts","IntegrationEditApirestComponent_Template_p_dropdown_ngModelChange_29_listener","tasks","IntegrationEditApirestComponent_Template_p_dropdown_ngModelChange_34_listener","meetings","IntegrationEditApirestComponent_Template_p_dropdown_ngModelChange_39_listener","products","IntegrationEditApirestComponent_Template_p_dropdown_ngModelChange_44_listener","transactions","IntegrationEditApirestComponent_Template_p_button_click_47_listener","IntegrationEditApirestComponent_Template_button_click_49_listener","IntegrationEditGMailUserEditComponent","IntegrationEditGMailComponent_div_3_a_23_Template_a_click_0_listener","user_r2","connected","IntegrationEditGMailComponent_div_3_div_17_Template","IntegrationEditGMailComponent_div_3_div_18_Template","IntegrationEditGMailComponent_div_3_div_19_Template","IntegrationEditGMailComponent_div_3_Template_a_click_21_listener","configUser","IntegrationEditGMailComponent_div_3_a_23_Template","ɵɵclassMapInterpolate1","allow_send","ɵɵclassMap","calendar","IntegrationEditGMailComponent","connectionInfo","currentUserConfig","IntegrationEditGMailComponent_Template","IntegrationEditGMailComponent_ng_template_1_Template","IntegrationEditGMailComponent_div_3_Template","IntegrationEditGMailComponent_Template_button_click_6_listener","userPrincipalName","IntegrationEditGMailUserEditComponent_ng_template_24_Template_p_inputSwitch_ngModelChange_5_listener","_r15","IntegrationEditGMailUserEditComponent_div_25_Template_p_dropdown_ngModelChange_5_listener","mode","IntegrationEditGMailUserEditComponent_div_25_Template_p_checkbox_ngModelChange_11_listener","remote_delete","contactsModes","IntegrationEditGMailUserEditComponent_ng_template_28_Template_p_inputSwitch_ngModelChange_5_listener","IntegrationEditGMailUserEditComponent_div_29_Template_p_dropdown_ngModelChange_5_listener","mode_inbound","IntegrationEditGMailUserEditComponent_div_29_Template_p_dropdown_ngModelChange_11_listener","mode_outbound","mailModes","IntegrationEditGMailUserEditComponent_ng_template_32_Template_p_inputSwitch_ngModelChange_5_listener","IntegrationEditGMailUserEditComponent_div_33_div_7_Template_p_checkbox_ngModelChange_4_listener","_r28","sync_all","IntegrationEditGMailUserEditComponent_div_33_Template_p_dropdown_ngModelChange_5_listener","IntegrationEditGMailUserEditComponent_div_33_div_7_Template","calendarModes","IntegrationEditGMailUserEditComponent_Template","IntegrationEditGMailUserEditComponent_div_9_Template","IntegrationEditGMailUserEditComponent_div_10_Template","IntegrationEditGMailUserEditComponent_div_13_Template","IntegrationEditGMailUserEditComponent_div_14_Template","IntegrationEditGMailUserEditComponent_ng_template_16_Template","IntegrationEditGMailUserEditComponent_Template_p_checkbox_ngModelChange_22_listener","IntegrationEditGMailUserEditComponent_ng_template_24_Template","IntegrationEditGMailUserEditComponent_div_25_Template","IntegrationEditGMailUserEditComponent_div_26_Template","IntegrationEditGMailUserEditComponent_ng_template_28_Template","IntegrationEditGMailUserEditComponent_div_29_Template","IntegrationEditGMailUserEditComponent_div_30_Template","IntegrationEditGMailUserEditComponent_ng_template_32_Template","IntegrationEditGMailUserEditComponent_div_33_Template","IntegrationEditGMailUserEditComponent_div_34_Template","IntegrationEditGMailUserEditComponent_Template_button_click_37_listener","IntegrationEditGMailUserEditComponent_Template_button_click_39_listener","IntegrationEditMailchimpComponent_p_card_0_ng_template_1_Template_p_inputSwitch_ngModelChange_5_listener","auth","IntegrationEditMailchimpComponent_p_card_0_ng_template_1_Template","IntegrationEditMailchimpComponent_p_card_1_ng_template_1_Template_p_inputSwitch_ngModelChange_5_listener","IntegrationEditMailchimpComponent_p_card_1_div_8_ng_template_2_Template","IntegrationEditMailchimpComponent_p_card_1_ng_template_1_Template","IntegrationEditMailchimpComponent_p_card_1_Template_input_ngModelChange_7_listener","api_key","IntegrationEditMailchimpComponent_p_card_1_div_8_Template","IntegrationEditMailchimpComponent_p_card_2_ng_template_1_Template_p_inputSwitch_ngModelChange_5_listener","_r21","IntegrationEditMailchimpComponent_p_card_2_div_2_ng_template_24_Template_p_dropdown_ngModelChange_2_listener","bind_r25","IntegrationEditMailchimpComponent_p_card_2_div_2_ng_template_24_Template_p_dropdown_ngModelChange_5_listener","mailchimp","IntegrationEditMailchimpComponent_p_card_2_div_2_ng_template_24_Template_button_click_8_listener","removeBind","fields","mergeFields","IntegrationEditMailchimpComponent_p_card_2_div_2_ng_template_25_Template_p_dropdown_ngModelChange_2_listener","bind","IntegrationEditMailchimpComponent_p_card_2_div_2_ng_template_25_Template_p_dropdown_ngModelChange_5_listener","IntegrationEditMailchimpComponent_p_card_2_div_2_ng_template_25_Template_button_click_8_listener","addBind","IntegrationEditMailchimpComponent_p_card_2_div_2_Template_p_dropdown_ngModelChange_5_listener","_r35","IntegrationEditMailchimpComponent_p_card_2_div_2_Template_p_dropdown_ngModelChange_11_listener","list_id","IntegrationEditMailchimpComponent_p_card_2_div_2_Template_p_checkbox_ngModelChange_17_listener","IntegrationEditMailchimpComponent_p_card_2_div_2_ng_template_23_Template","IntegrationEditMailchimpComponent_p_card_2_div_2_ng_template_24_Template","IntegrationEditMailchimpComponent_p_card_2_div_2_ng_template_25_Template","lists","binds","IntegrationEditMailchimpComponent_p_card_2_ng_template_1_Template","IntegrationEditMailchimpComponent_p_card_2_div_2_Template","IntegrationEditMailchimpComponent_p_card_2_div_3_Template","IntegrationEditMailchimpComponent_p_card_3_ng_template_1_Template_p_inputSwitch_ngModelChange_5_listener","_r42","IntegrationEditMailchimpComponent_p_card_3_div_2_Template_p_dropdown_ngModelChange_5_listener","_r44","campaignsModes","IntegrationEditMailchimpComponent_p_card_3_ng_template_1_Template","IntegrationEditMailchimpComponent_p_card_3_div_2_Template","IntegrationEditMailchimpComponent_p_card_3_div_3_Template","IntegrationEditMailchimpComponent_div_4_ng_template_2_Template","IntegrationEditMailchimpComponent_button_9_Template_button_click_0_listener","_r47","IntegrationEditMailchimpComponent_button_10_Template_button_click_0_listener","_r49","ctx_r48","connect","IntegrationEditMailchimpComponent","office365Service","mailchimpService","initializeConfig","verify","getAllLists","loadEntityFields","loadMergeFields","field","getMergeFields","Office365Service","MailchimpService","IntegrationEditMailchimpComponent_Template","IntegrationEditMailchimpComponent_p_card_0_Template","IntegrationEditMailchimpComponent_p_card_1_Template","IntegrationEditMailchimpComponent_p_card_2_Template","IntegrationEditMailchimpComponent_p_card_3_Template","IntegrationEditMailchimpComponent_div_4_Template","IntegrationEditMailchimpComponent_Template_button_click_7_listener","IntegrationEditMailchimpComponent_button_9_Template","IntegrationEditMailchimpComponent_button_10_Template","IntegrationEditMailjetComponent_p_card_0_ng_template_1_Template_p_inputSwitch_ngModelChange_5_listener","IntegrationEditMailjetComponent_p_card_0_ng_template_1_Template","IntegrationEditMailjetComponent_p_card_1_ng_template_1_Template_p_inputSwitch_ngModelChange_5_listener","IntegrationEditMailjetComponent_p_card_1_ng_template_1_Template","IntegrationEditMailjetComponent_p_card_1_Template_input_ngModelChange_7_listener","IntegrationEditMailjetComponent_p_card_1_Template_input_ngModelChange_12_listener","api_secret","IntegrationEditMailjetComponent_p_card_2_ng_template_1_Template_p_inputSwitch_ngModelChange_5_listener","IntegrationEditMailjetComponent_p_card_2_div_2_Template_p_checkbox_ngModelChange_5_listener","allow_use_for_mail","IntegrationEditMailjetComponent_p_card_2_ng_template_1_Template","IntegrationEditMailjetComponent_p_card_2_div_2_Template","IntegrationEditMailjetComponent_p_card_2_div_3_Template","IntegrationEditMailjetComponent_p_card_3_ng_template_1_Template_p_inputSwitch_ngModelChange_5_listener","IntegrationEditMailjetComponent_p_card_3_div_2_ng_template_24_Template_p_dropdown_ngModelChange_2_listener","bind_r32","IntegrationEditMailjetComponent_p_card_3_div_2_ng_template_24_Template_p_dropdown_ngModelChange_5_listener","mailjet","IntegrationEditMailjetComponent_p_card_3_div_2_ng_template_24_Template_button_click_8_listener","IntegrationEditMailjetComponent_p_card_3_div_2_ng_template_25_Template_p_dropdown_ngModelChange_2_listener","IntegrationEditMailjetComponent_p_card_3_div_2_ng_template_25_Template_p_dropdown_ngModelChange_5_listener","IntegrationEditMailjetComponent_p_card_3_div_2_ng_template_25_Template_button_click_8_listener","IntegrationEditMailjetComponent_p_card_3_div_2_Template_p_dropdown_ngModelChange_5_listener","IntegrationEditMailjetComponent_p_card_3_div_2_Template_p_dropdown_ngModelChange_11_listener","IntegrationEditMailjetComponent_p_card_3_div_2_Template_p_checkbox_ngModelChange_17_listener","IntegrationEditMailjetComponent_p_card_3_div_2_ng_template_23_Template","IntegrationEditMailjetComponent_p_card_3_div_2_ng_template_24_Template","IntegrationEditMailjetComponent_p_card_3_div_2_ng_template_25_Template","IntegrationEditMailjetComponent_p_card_3_ng_template_1_Template","IntegrationEditMailjetComponent_p_card_3_div_2_Template","IntegrationEditMailjetComponent_p_card_3_div_3_Template","IntegrationEditMailjetComponent_p_card_4_ng_template_1_Template_p_inputSwitch_ngModelChange_5_listener","IntegrationEditMailjetComponent_p_card_4_div_2_Template_p_dropdown_ngModelChange_5_listener","_r51","ctx_r50","IntegrationEditMailjetComponent_p_card_4_ng_template_1_Template","IntegrationEditMailjetComponent_p_card_4_div_2_Template","IntegrationEditMailjetComponent_p_card_4_div_3_Template","ctx_r52","IntegrationEditMailjetComponent_div_5_ng_template_2_Template","IntegrationEditMailjetComponent_button_10_Template_button_click_0_listener","_r54","ctx_r53","IntegrationEditMailjetComponent_button_11_Template_button_click_0_listener","_r56","ctx_r55","IntegrationEditMailjetComponent","mailjetService","loadContactMetadata","laodLists","getContactMetadata","MailjetService","IntegrationEditMailjetComponent_Template","IntegrationEditMailjetComponent_p_card_0_Template","IntegrationEditMailjetComponent_p_card_1_Template","IntegrationEditMailjetComponent_p_card_2_Template","IntegrationEditMailjetComponent_p_card_3_Template","IntegrationEditMailjetComponent_p_card_4_Template","IntegrationEditMailjetComponent_div_5_Template","IntegrationEditMailjetComponent_Template_button_click_8_listener","IntegrationEditMailjetComponent_button_10_Template","IntegrationEditMailjetComponent_button_11_Template","IntegrationEditOffice365UserEditComponent","IntegrationEditOffice365Component_div_3_a_23_Template_a_click_0_listener","IntegrationEditOffice365Component_div_3_div_17_Template","IntegrationEditOffice365Component_div_3_div_18_Template","IntegrationEditOffice365Component_div_3_div_19_Template","IntegrationEditOffice365Component_div_3_Template_a_click_21_listener","IntegrationEditOffice365Component_div_3_a_23_Template","IntegrationEditOffice365Component","IntegrationEditOffice365Component_Template","IntegrationEditOffice365Component_ng_template_1_Template","IntegrationEditOffice365Component_div_3_Template","IntegrationEditOffice365Component_Template_button_click_6_listener","IntegrationEditOffice365UserEditComponent_ng_template_24_Template_p_inputSwitch_ngModelChange_5_listener","IntegrationEditOffice365UserEditComponent_div_25_Template_p_dropdown_ngModelChange_5_listener","IntegrationEditOffice365UserEditComponent_div_25_Template_p_checkbox_ngModelChange_11_listener","IntegrationEditOffice365UserEditComponent_ng_template_28_Template_p_inputSwitch_ngModelChange_5_listener","IntegrationEditOffice365UserEditComponent_div_29_Template_p_dropdown_ngModelChange_5_listener","IntegrationEditOffice365UserEditComponent_div_29_Template_p_dropdown_ngModelChange_11_listener","IntegrationEditOffice365UserEditComponent_ng_template_32_Template_p_inputSwitch_ngModelChange_5_listener","IntegrationEditOffice365UserEditComponent_div_33_div_7_Template_p_checkbox_ngModelChange_4_listener","IntegrationEditOffice365UserEditComponent_div_33_Template_p_dropdown_ngModelChange_5_listener","IntegrationEditOffice365UserEditComponent_div_33_div_7_Template","IntegrationEditOffice365UserEditComponent_Template","IntegrationEditOffice365UserEditComponent_div_9_Template","IntegrationEditOffice365UserEditComponent_div_10_Template","IntegrationEditOffice365UserEditComponent_div_13_Template","IntegrationEditOffice365UserEditComponent_div_14_Template","IntegrationEditOffice365UserEditComponent_ng_template_16_Template","IntegrationEditOffice365UserEditComponent_Template_p_checkbox_ngModelChange_22_listener","IntegrationEditOffice365UserEditComponent_ng_template_24_Template","IntegrationEditOffice365UserEditComponent_div_25_Template","IntegrationEditOffice365UserEditComponent_div_26_Template","IntegrationEditOffice365UserEditComponent_ng_template_28_Template","IntegrationEditOffice365UserEditComponent_div_29_Template","IntegrationEditOffice365UserEditComponent_div_30_Template","IntegrationEditOffice365UserEditComponent_ng_template_32_Template","IntegrationEditOffice365UserEditComponent_div_33_Template","IntegrationEditOffice365UserEditComponent_div_34_Template","IntegrationEditOffice365UserEditComponent_Template_button_click_37_listener","IntegrationEditOffice365UserEditComponent_Template_button_click_39_listener","config_r2","business_code","IntegrationEditSageComponent_p_accordionTab_3_ng_template_1_div_3_Template","IntegrationEditSageComponent_p_accordionTab_3_ng_template_1_div_4_Template","business_name","IntegrationEditSageComponent_p_accordionTab_3_div_12_Template_p_dropdown_ngModelChange_4_listener","organizationsTypes","IntegrationEditSageComponent_p_accordionTab_3_div_13_Template_p_checkbox_ngModelChange_4_listener","import_clients_totals","IntegrationEditSageComponent_p_accordionTab_3_ng_template_1_Template","IntegrationEditSageComponent_p_accordionTab_3_ng_template_5_Template","IntegrationEditSageComponent_p_accordionTab_3_Template_p_checkbox_ngModelChange_11_listener","import_clients","IntegrationEditSageComponent_p_accordionTab_3_div_12_Template","IntegrationEditSageComponent_p_accordionTab_3_div_13_Template","IntegrationEditSageComponent_p_accordionTab_3_Template_p_checkbox_ngModelChange_18_listener","export_clients","IntegrationEditSageComponent_p_accordionTab_3_ng_template_21_Template","IntegrationEditSageComponent_p_accordionTab_3_Template_p_checkbox_ngModelChange_27_listener","import_contacts_clients","IntegrationEditSageComponent_p_accordionTab_3_Template_p_checkbox_ngModelChange_32_listener","export_contacts_clients","IntegrationEditSageComponent_p_accordionTab_3_ng_template_35_Template","IntegrationEditSageComponent_p_accordionTab_3_Template_p_checkbox_ngModelChange_41_listener","import_articles","IntegrationEditSageComponent_p_accordionTab_3_Template_p_checkbox_ngModelChange_46_listener","import_articles_delete","IntegrationEditSageComponent_p_accordionTab_3_Template_p_checkbox_ngModelChange_51_listener","import_articles_stock","IntegrationEditSageComponent_p_accordionTab_3_ng_template_54_Template","IntegrationEditSageComponent_p_accordionTab_3_Template_p_checkbox_ngModelChange_60_listener","sales","export","IntegrationEditSageComponent_p_accordionTab_3_Template_p_checkbox_ngModelChange_65_listener","use_axial_prices","IntegrationEditSageComponent","transactionTypesService","transactionStatusService","organizationsTypesService","transactionTypes","loadTypes","business_id","erp_id","export_sales","integration_id","loadStatus","invoices_transaction_type_id","onTransactionTypeChange","TransactionTypesService","TransactionStatusService","OrganizationsTypesService","IntegrationEditSageComponent_Query","IntegrationEditSageComponent_ng_template_1_Template","IntegrationEditSageComponent_p_accordionTab_3_Template","IntegrationEditSageComponent_Template_p_button_click_7_listener","IntegrationEditSageComponent_Template_button_click_9_listener","IntegrationEditWebcrmComponent","IntegrationEditWebcrmComponent_Template","IntegrationEditWebcrmComponent_ng_template_1_Template","IntegrationEditWebcrmComponent_Template_input_ngModelChange_6_listener","token","IntegrationEditWebcrmComponent_Template_p_button_click_9_listener","IntegrationEditWebcrmComponent_Template_button_click_11_listener","IntegrationEditWebformComponent_ng_template_1_Template_p_inputSwitch_ngModelChange_5_listener","IntegrationEditWebformComponent_div_2_Template_textarea_ngModelChange_5_listener","IntegrationEditWebformComponent_div_2_Template_input_ngModelChange_10_listener","url_ok","IntegrationEditWebformComponent_div_2_Template_input_ngModelChange_18_listener","url_ko","IntegrationEditWebformComponent_p_card_3_ng_template_1_Template_p_inputSwitch_ngModelChange_5_listener","recaptcha","IntegrationEditWebformComponent_p_card_3_div_2_Template_p_password_ngModelChange_5_listener","secret","IntegrationEditWebformComponent_p_card_3_div_2_Template_p_password_ngModelChange_10_listener","IntegrationEditWebformComponent_p_card_3_ng_template_1_Template","IntegrationEditWebformComponent_p_card_3_div_2_Template","IntegrationEditWebformComponent_p_card_4_ng_template_1_Template","IntegrationEditWebformComponent_p_card_4_Template_p_dropdown_ngModelChange_7_listener","task_action_id","IntegrationEditWebformComponent_p_card_4_Template_p_dropdown_ngModelChange_12_listener","IntegrationEditWebformComponent_p_card_4_Template_p_dropdown_ngModelChange_17_listener","task_status_id","IntegrationEditWebformComponent_p_card_4_Template_input_ngModelChange_22_listener","IntegrationEditWebformComponent_p_card_4_Template_p_dropdown_ngModelChange_27_listener","typeProcessOptions","IntegrationEditWebformComponent_p_card_4_Template_p_dropdown_ngModelChange_32_listener","IntegrationEditWebformComponent_p_card_4_Template_p_dropdown_onFilter_32_listener","task_actions","responsibles","task_status","type_process_options","IntegrationEditWebformComponent","taskActionsTypesService","tasksStatusService","responsiblesService","loadTaskCombos","btoa","protocol","host","combo","unshift","TasksActionTypesService","TasksStatusService","IntegrationEditWebformComponent_Template","IntegrationEditWebformComponent_ng_template_1_Template","IntegrationEditWebformComponent_div_2_Template","IntegrationEditWebformComponent_p_card_3_Template","IntegrationEditWebformComponent_p_card_4_Template","IntegrationEditWebformComponent_Template_p_button_click_7_listener","IntegrationEditWebformComponent_Template_button_click_9_listener","IntegrationEditComponent","IntegrationEditComponent_Template","IntegrationEditComponent_Template_p_button_click_4_listener","IntegrationEditComponent_Template_button_click_6_listener","IntegrationListComponent_p_panel_23_Template_button_click_9_listener","item_r2","ɵɵpropertyInterpolate1","ɵɵsanitizeUrl","iService","integrations","Array","IntegrationService","IntegrationListComponent_Template","IntegrationListComponent_ng_template_21_Template","IntegrationListComponent_p_panel_23_Template","IntegrationRoutingModule","MessagesModule","InputSwitchModule","dashboard","sendCampaignTest","MailAccountsDetailComponent_div_11_Template_input_ngModelChange_5_listener","mailAccount","MailAccountsDetailComponent_div_11_Template_input_ngModelChange_10_listener","mail_out_from","MailAccountsDetailComponent_div_11_Template_input_ngModelChange_15_listener","mail_out_server","MailAccountsDetailComponent_div_11_Template_input_ngModelChange_20_listener","mail_out_port","MailAccountsDetailComponent_div_11_Template_p_checkbox_ngModelChange_25_listener","mail_out_ssl","MailAccountsDetailComponent_div_11_Template_input_ngModelChange_30_listener","mail_out_username","MailAccountsDetailComponent_div_11_Template_input_ngModelChange_35_listener","mail_out_password","MailAccountsDetailComponent_div_12_Template_input_ngModelChange_5_listener","MailAccountsDetailComponent_div_12_Template_input_ngModelChange_10_listener","MailAccountsDetailComponent_div_12_Template_input_ngModelChange_15_listener","MailAccountsDetailComponent_div_13_Template_input_ngModelChange_5_listener","MailAccountsDetailComponent_div_13_Template_input_ngModelChange_10_listener","MailAccountsDetailComponent_div_14_Template_input_ngModelChange_5_listener","MailAccountsDetailComponent_div_14_Template_input_ngModelChange_10_listener","MailAccountsDetailComponent_div_14_Template_input_ngModelChange_15_listener","MailAccountsDetailComponent_ng_template_15_p_button_1_Template_p_button_click_0_listener","MailAccountsDetailComponent_ng_template_15_p_button_5_Template_p_button_click_0_listener","MailAccountsDetailComponent_ng_template_15_p_button_6_Template_p_button_click_0_listener","connectAccount","MailAccountsDetailComponent_ng_template_15_p_button_1_Template","MailAccountsDetailComponent_ng_template_15_Template_p_button_click_3_listener","MailAccountsDetailComponent_ng_template_15_p_button_5_Template","MailAccountsDetailComponent_ng_template_15_p_button_6_Template","MailAccountsDetailComponent","mailAccountsService","mail_types","yesno_options","mode_options","checkPossiblesTypes","date_last_connection","last_connection","date_formatted","getFormattedDate","errors","padDigits","getHours","getMinutes","num","padding","padStart","testAccount","MailAccountsService","MailAccountsDetailComponent_Query","MailAccountsDetailComponent_Template_p_dropdown_ngModelChange_9_listener","MailAccountsDetailComponent_div_11_Template","MailAccountsDetailComponent_div_12_Template","MailAccountsDetailComponent_div_13_Template","MailAccountsDetailComponent_div_14_Template","MailAccountsDetailComponent_ng_template_15_Template","auth_info","MailAccountsListComponent_ng_template_19_Template_a_click_4_listener","MailAccountsListComponent_ng_template_39_Template_a_click_4_listener","editMailAccount","MailAccountsListComponent_ng_template_44_Template_tr_dblclick_0_listener","mailAccount_r10","MailAccountsListComponent_ng_template_44_Template_a_click_14_listener","MailAccountsListComponent_ng_template_44_Template_a_click_16_listener","getAccountType","mailAccountsFilters","mailAccounts","account","accountType","MailAccountsListComponent_Query","MailAccountsListComponent_li_15_Template","MailAccountsListComponent_ng_template_19_Template","MailAccountsListComponent_Template_input_ngModelChange_25_listener","MailAccountsListComponent_Template_input_ngModelChange_30_listener","MailAccountsListComponent_Template_p_dropdown_ngModelChange_35_listener","MailAccountsListComponent_ng_template_39_Template","MailAccountsListComponent_Template_p_table_onLazyLoad_40_listener","MailAccountsListComponent_ng_template_43_Template","MailAccountsListComponent_ng_template_44_Template","MailAccountsRoutingModule","send","OrganizationsTypesDetailComponent_button_12_Template_button_click_0_listener","organizationType","OrganizationsTypesDetailComponent_Template","OrganizationsTypesDetailComponent_Template_input_ngModelChange_5_listener","OrganizationsTypesDetailComponent_Template_p_colorPicker_ngModelChange_10_listener","OrganizationsTypesDetailComponent_button_12_Template","OrganizationsTypesDetailComponent_Template_button_click_13_listener","OrganizationsTypesDetailComponent_Template_button_click_15_listener","OrganizationsTypesListComponent_ng_template_21_Template_a_click_4_listener","OrganizationsTypesListComponent_ng_template_27_Template_tr_dblclick_0_listener","organizationType_r6","OrganizationsTypesListComponent_ng_template_27_Template_a_click_4_listener","OrganizationsTypesListComponent_ng_template_27_Template_a_click_6_listener","organizationsFilters","OrganizationsTypesListComponent_Query","OrganizationsTypesListComponent_ng_template_21_Template","OrganizationsTypesListComponent_Template_p_table_onLazyLoad_24_listener","OrganizationsTypesListComponent_ng_template_26_Template","OrganizationsTypesListComponent_ng_template_27_Template","OrganizationsTypesRoutingModule","OriginsDetailComponent","originsService","origin","OriginsService","OriginsDetailComponent_Query","OriginsDetailComponent_Template_app_view_onEvent_0_listener","originsFilters","origins","editOrigin","OriginsListComponent_Query","OriginsListComponent_li_16_Template","OriginsListComponent_Template_app_view_onEvent_17_listener","OriginsRoutingModule","ProvincesDetailComponent_ng_template_45_p_button_1_Template_p_button_click_0_listener","ProvincesDetailComponent_ng_template_45_p_button_1_Template","ProvincesDetailComponent_ng_template_45_Template_p_button_click_3_listener","ProvincesDetailComponent_ng_template_45_Template_p_button_click_5_listener","province","provincesService","loadCountries","ProvincesService","ProvincesDetailComponent_Query","ProvincesDetailComponent_Template_input_ngModelChange_38_listener","ProvincesDetailComponent_Template_p_dropdown_ngModelChange_43_listener","country_id","ProvincesDetailComponent_ng_template_45_Template","ProvincesListComponent_ng_template_22_Template_a_click_4_listener","ProvincesListComponent_ng_template_37_Template_a_click_4_listener","ProvincesListComponent_ng_template_42_Template_tr_dblclick_0_listener","province_r9","ProvincesListComponent_ng_template_42_Template_a_click_8_listener","ProvincesListComponent_ng_template_42_Template_a_click_10_listener","provincesFilters","provinces","ProvincesListComponent_Query","ProvincesListComponent_ng_template_22_Template","ProvincesListComponent_Template_input_ngModelChange_28_listener","ProvincesListComponent_Template_p_dropdown_ngModelChange_33_listener","ProvincesListComponent_ng_template_37_Template","ProvincesListComponent_Template_p_table_onLazyLoad_38_listener","ProvincesListComponent_ng_template_41_Template","ProvincesListComponent_ng_template_42_Template","ProvincesRoutingModule","ReasonsTransactionsStatusDetailComponent_ng_template_39_p_button_1_Template_p_button_click_0_listener","ReasonsTransactionsStatusDetailComponent_ng_template_39_p_button_1_Template","ReasonsTransactionsStatusDetailComponent_ng_template_39_Template_p_button_click_3_listener","ReasonsTransactionsStatusDetailComponent_ng_template_39_Template_p_button_click_5_listener","reasonTransactionStatus","reasonsTransactionsStatusService","ReasonsTransactionsStatusService","ReasonsTransactionsStatusDetailComponent_Query","ReasonsTransactionsStatusDetailComponent_Template_input_ngModelChange_38_listener","ReasonsTransactionsStatusDetailComponent_ng_template_39_Template","ReasonsTransactionsStatusListComponent_ng_template_22_Template_a_click_4_listener","ReasonsTransactionsStatusListComponent_ng_template_31_Template_a_click_4_listener","ReasonsTransactionsStatusListComponent_ng_template_36_Template_tr_dblclick_0_listener","reasonTransactionStatus_r9","ReasonsTransactionsStatusListComponent_ng_template_36_Template_a_click_6_listener","ReasonsTransactionsStatusListComponent_ng_template_36_Template_a_click_8_listener","reasonsTransactionsStatusFilters","reasonsTransactionsStatus","ReasonsTransactionsStatusListComponent_Query","ReasonsTransactionsStatusListComponent_ng_template_22_Template","ReasonsTransactionsStatusListComponent_Template_input_ngModelChange_28_listener","ReasonsTransactionsStatusListComponent_ng_template_31_Template","ReasonsTransactionsStatusListComponent_Template_p_table_onLazyLoad_32_listener","ReasonsTransactionsStatusListComponent_ng_template_35_Template","ReasonsTransactionsStatusListComponent_ng_template_36_Template","PermissionsGroupService","permissionGroup_r2","RolesDetailComponent_div_14_p_accordionTab_1_ng_template_2_div_1_Template_p_checkbox_ngModelChange_2_listener","selectedPermissions","RolesDetailComponent_div_14_p_accordionTab_1_ng_template_2_div_1_Template_p_checkbox_onChange_2_listener","updateChecked","permission_r8","RolesDetailComponent_div_14_p_accordionTab_1_ng_template_2_div_1_Template","getPermissions","RolesDetailComponent_div_14_p_accordionTab_1_ng_template_1_Template","RolesDetailComponent_div_14_p_accordionTab_1_ng_template_2_Template","RolesDetailComponent_div_14_p_accordionTab_1_Template","RolesDetailComponent_button_16_Template_button_click_0_listener","permissionsGroupService","permissionsService","role","rolePermissions","permission_id","loadDataFeatures","loadDataPermissionsGroup","permissionsGroup","loadDataPermissions","featureIds","allPermissions","permission","permission_group_id","finalRolePermissions","existentPermissions","deleted","role_id","check_all","sort","checked_all","RolesDetailComponent_Template","RolesDetailComponent_Template_input_ngModelChange_6_listener","RolesDetailComponent_Template_p_checkbox_ngModelChange_8_listener","RolesDetailComponent_Template_p_checkbox_onChange_8_listener","RolesDetailComponent_div_14_Template","RolesDetailComponent_button_16_Template","RolesDetailComponent_Template_button_click_17_listener","RolesDetailComponent_Template_button_click_19_listener","RolesListComponent_ng_template_19_Template_a_click_4_listener","RolesListComponent_ng_template_19_Template_a_click_7_listener","RolesListComponent_ng_template_27_Template_a_click_4_listener","RolesListComponent_ng_template_34_Template_tr_dblclick_0_listener","role_r10","RolesListComponent_ng_template_34_Template_a_click_6_listener","RolesListComponent_ng_template_34_Template_a_click_8_listener","rolesFilters","RolesListComponent_Query","RolesListComponent_ng_template_19_Template","RolesListComponent_Template_input_ngModelChange_25_listener","RolesListComponent_ng_template_27_Template","RolesListComponent_Template_p_table_onLazyLoad_30_listener","RolesListComponent_ng_template_33_Template","RolesListComponent_ng_template_34_Template","RolesPermissionsService","getComboRoles","SectorsDetailComponent","sectorsService","sector","SectorsService","SectorsDetailComponent_Query","SectorsDetailComponent_Template_app_view_onEvent_0_listener","sectorsFilters","tasksActionsTypes","editSector","SectorsListComponent_Query","SectorsListComponent_li_16_Template","SectorsListComponent_Template_app_view_onEvent_17_listener","SectorsRoutingModule","TaskStatusDetailComponent_ng_template_59_p_button_1_Template_p_button_click_0_listener","TaskStatusDetailComponent_ng_template_59_p_button_1_Template","TaskStatusDetailComponent_ng_template_59_Template_p_button_click_3_listener","TaskStatusDetailComponent_ng_template_59_Template_p_button_click_5_listener","taskStatusService","init_default","is_default","css_class","saveProcess","TaskStatusService","TaskStatusDetailComponent_Query","TaskStatusDetailComponent_Template_input_ngModelChange_38_listener","TaskStatusDetailComponent_Template_p_colorPicker_ngModelChange_43_listener","TaskStatusDetailComponent_Template_p_checkbox_ngModelChange_48_listener","TaskStatusDetailComponent_Template_p_checkbox_ngModelChange_53_listener","is_finished","TaskStatusDetailComponent_Template_input_ngModelChange_58_listener","order","TaskStatusDetailComponent_ng_template_59_Template","TaskStatusListComponent_ng_template_22_Template_a_click_4_listener","TaskStatusListComponent_ng_template_31_Template_a_click_4_listener","TaskStatusListComponent_ng_template_36_Template_tr_dblclick_0_listener","taskStatus_r9","TaskStatusListComponent_ng_template_36_Template_a_click_8_listener","TaskStatusListComponent_ng_template_36_Template_a_click_10_listener","taskStatusFilters","TaskStatusListComponent_Query","TaskStatusListComponent_ng_template_22_Template","TaskStatusListComponent_Template_input_ngModelChange_28_listener","TaskStatusListComponent_ng_template_31_Template","TaskStatusListComponent_Template_p_table_onLazyLoad_32_listener","TaskStatusListComponent_ng_template_35_Template","TaskStatusListComponent_ng_template_36_Template","TaskStatusRoutingModule","TasksActionsTypesDetailComponent_button_7_Template_button_click_0_listener","TasksActionsTypesDetailComponent","taskActionTypesService","TasksActionsTypesDetailComponent_Template","TasksActionsTypesDetailComponent_Template_input_ngModelChange_5_listener","TasksActionsTypesDetailComponent_button_7_Template","TasksActionsTypesDetailComponent_Template_button_click_8_listener","TasksActionsTypesDetailComponent_Template_button_click_10_listener","TasksActionsTypesListComponent_ng_template_21_Template_a_click_4_listener","TasksActionsTypesListComponent_ng_template_27_Template_tr_dblclick_0_listener","taskActionType_r6","TasksActionsTypesListComponent_ng_template_27_Template_a_click_4_listener","TasksActionsTypesListComponent_ng_template_27_Template_a_click_6_listener","tasksActionTypesService","tasksActionsTypesFilters","TasksActionsTypesListComponent_Query","TasksActionsTypesListComponent_ng_template_21_Template","TasksActionsTypesListComponent_Template_p_table_onLazyLoad_24_listener","TasksActionsTypesListComponent_ng_template_26_Template","TasksActionsTypesListComponent_ng_template_27_Template","TasksActionsTypesRoutingModule","TaxRatesDetailComponent_ng_template_44_p_button_1_Template_p_button_click_0_listener","TaxRatesDetailComponent_ng_template_44_p_button_1_Template","TaxRatesDetailComponent_ng_template_44_Template_p_button_click_3_listener","TaxRatesDetailComponent_ng_template_44_Template_p_button_click_5_listener","taxRate","taxRatesService","TaxRatesService","TaxRatesDetailComponent_Query","TaxRatesDetailComponent_Template_input_ngModelChange_38_listener","TaxRatesDetailComponent_Template_input_ngModelChange_43_listener","percent","TaxRatesDetailComponent_ng_template_44_Template","TaxRatesListComponent_ng_template_22_Template_a_click_4_listener","TaxRatesListComponent_ng_template_26_Template_tr_dblclick_0_listener","taxRate_r6","TaxRatesListComponent_ng_template_26_Template_a_click_8_listener","TaxRatesListComponent_ng_template_26_Template_a_click_10_listener","taxRatesFilters","taxRates","resumen_table_records","TaxRatesListComponent_Query","TaxRatesListComponent_ng_template_22_Template","TaxRatesListComponent_Template_p_table_onLazyLoad_23_listener","TaxRatesListComponent_ng_template_25_Template","TaxRatesListComponent_ng_template_26_Template","HtmlPreviewComponent","sanitizer","temporal_template","DomSanitizer","HtmlPreviewComponent_Template","bypassSecurityTrustHtml","ɵɵsanitizeHtml","TemplatesDetailComponent_div_30_Template_p_checkbox_ngModelChange_4_listener","beeplugin","TemplatesDetailComponent_div_31_editor_4_Template_editor_ngModelChange_0_listener","TemplatesDetailComponent_div_31_editor_4_Template","TemplatesDetailComponent_ng_template_33_p_button_1_Template_p_button_click_0_listener","TemplatesDetailComponent_ng_template_33_button_3_Template_button_click_0_listener","TemplatesDetailComponent_ng_template_33_p_button_4_Template_p_button_click_0_listener","previewHTML","TemplatesDetailComponent_ng_template_33_p_button_9_Template_p_button_click_0_listener","duplicateTemplate","TemplatesDetailComponent_ng_template_33_p_button_1_Template","TemplatesDetailComponent_ng_template_33_button_3_Template","TemplatesDetailComponent_ng_template_33_p_button_4_Template","TemplatesDetailComponent_ng_template_33_Template_p_button_click_5_listener","TemplatesDetailComponent_ng_template_33_Template_p_button_click_7_listener","TemplatesDetailComponent_ng_template_33_p_button_9_Template","TemplatesDetailComponent_p_accordionTab_37_ng_template_10_Template_a_click_6_listener","zone_r39","unlinkZone","TemplatesDetailComponent_p_accordionTab_37_Template_p_dropdown_ngModelChange_4_listener","_r43","selected_zone","TemplatesDetailComponent_p_accordionTab_37_Template_p_dropdown_onChange_4_listener","save_zone","TemplatesDetailComponent_p_accordionTab_37_ng_template_9_Template","TemplatesDetailComponent_p_accordionTab_37_ng_template_10_Template","TemplatesDetailComponent_p_accordionTab_37_ng_template_11_Template","zones","selected_zones","TemplatesDetailComponent_ng_template_48_Template_a_click_6_listener","role_r45","unlinkRole","TemplatesDetailComponent_ng_template_60_Template_a_click_8_listener","_r50","user_r48","ctx_r49","unlinkUser","TemplatesDetailComponent","zonesService","templateTypesService","beeService","selected_users","selected_roles","loadTemplateTypes","loadEntities","load","configureBee","loadMetadata","template_type_id","default_entity","default_template_type","templateTypes","preConfigTinyMce","browser_spellcheck","contextmenu","fontsize_formats","content_css","noneditable_noneditable_class","onRemove","onChangeName","getComboOptions","showLinesTransaction","entity_navigation","toggleState","ui","registry","addButton","onAction","addMenuButton","fetch","callback","getSubmenuItems","option","insertContent","format","templatetype","variables","mergeTags","specialLinks","actionBlocks","json","saveDb","buildMetadata","jsonFile","htmlFile","save_permissions","savePermissions","lastIndexOf","erased","save_role","selected_role","save_user","selected_user","finalZones","finalUsers","finalRoles","zonesIds","rolesIds","tempUsers","tempZones","tempRoles","data2","entries","template_new","a","dataURI","href","remove","ZonesService","BeeService","TemplatesDetailComponent_Query","TemplatesDetailComponent_ng_template_6_Template","TemplatesDetailComponent_Template_input_ngModelChange_12_listener","TemplatesDetailComponent_Template_p_dropdown_ngModelChange_17_listener","TemplatesDetailComponent_Template_p_dropdown_ngModelChange_23_listener","TemplatesDetailComponent_Template_input_ngModelChange_29_listener","TemplatesDetailComponent_div_30_Template","TemplatesDetailComponent_div_31_Template","TemplatesDetailComponent_div_32_Template","TemplatesDetailComponent_ng_template_33_Template","TemplatesDetailComponent_p_accordionTab_37_Template","TemplatesDetailComponent_Template_p_dropdown_ngModelChange_42_listener","TemplatesDetailComponent_Template_p_dropdown_onChange_42_listener","TemplatesDetailComponent_ng_template_47_Template","TemplatesDetailComponent_ng_template_48_Template","TemplatesDetailComponent_ng_template_49_Template","TemplatesDetailComponent_Template_p_dropdown_ngModelChange_54_listener","TemplatesDetailComponent_Template_p_dropdown_onChange_54_listener","TemplatesDetailComponent_ng_template_59_Template","TemplatesDetailComponent_ng_template_60_Template","TemplatesDetailComponent_ng_template_61_Template","templatesFilters","TemplatesListComponent_Query","TemplatesListComponent_li_16_Template","TemplatesListComponent_Template_app_view_onEvent_17_listener","TemplatesRoutingModule","getAllowedVariables","template_id","toPDF","TrackingLogsComponent_ng_template_22_Template_a_click_4_listener","loadTable","TrackingLogsComponent_p_card_37_ng_template_1_Template_a_click_4_listener","column_r11","TrackingLogsComponent_p_card_37_ng_template_5_th_1_Template","log_r12","column_r14","TrackingLogsComponent_p_card_37_ng_template_6_td_1_Template","TrackingLogsComponent_p_card_37_ng_template_1_Template","TrackingLogsComponent_p_card_37_Template_p_table_onLazyLoad_2_listener","customSort","TrackingLogsComponent_p_card_37_ng_template_5_Template","TrackingLogsComponent_p_card_37_ng_template_6_Template","logs","loadingLogs","totalRecordsLogs","trackingService","reportsService","selectedEntitiesFields","entitiesToTable","temporalCombos","for_tracking","getSelectableEntityFields","filterIfAllreadyExist","onlyNumbers","visibleEntityFields","isVisibleFieldCustom","entityFields","use_for_report","checkOption","loadEntitiesFields","allElements","values","_a","customVoidCombos","loadEntitiesFieldsCUSTOM","getSelectedItems","element_id","entitiesFieldsIds","all2","total","canBeParsedAsDate","isNaN","TrackingService","ReportsService","TrackingLogsComponent_Template","TrackingLogsComponent_ng_template_22_Template","TrackingLogsComponent_Template_p_dropdown_ngModelChange_28_listener","TrackingLogsComponent_Template_p_dropdown_onChange_28_listener","TrackingLogsComponent_Template_p_dropdown_ngModelChange_34_listener","TrackingLogsComponent_p_card_37_Template","TransactionStatusDetailComponent","TransactionStatusBlockingRolesComponent_ng_template_14_Template_a_click_6_listener","role_r4","TransactionStatusBlockingRolesComponent","parent","rolesStatus","onChangeRole","selected_role_status","TransactionStatusBlockingRolesComponent_Template","TransactionStatusBlockingRolesComponent_ng_template_1_Template","TransactionStatusBlockingRolesComponent_Template_p_dropdown_ngModelChange_7_listener","TransactionStatusBlockingRolesComponent_Template_p_dropdown_onChange_7_listener","TransactionStatusBlockingRolesComponent_ng_template_13_Template","TransactionStatusBlockingRolesComponent_ng_template_14_Template","TransactionStatusDetailComponent_div_4_ng_template_15_Template_p_checkbox_ngModelChange_6_listener","role_r7","skipConfirmation","TransactionStatusDetailComponent_div_4_ng_template_15_Template_a_click_8_listener","deleteRole","TransactionStatusDetailComponent_div_4_ng_template_2_Template","TransactionStatusDetailComponent_div_4_Template_p_dropdown_ngModelChange_8_listener","TransactionStatusDetailComponent_div_4_Template_p_dropdown_onChange_8_listener","TransactionStatusDetailComponent_div_4_ng_template_14_Template","TransactionStatusDetailComponent_div_4_ng_template_15_Template","TransactionStatusDetailComponent_div_5_ng_template_14_Template_a_click_6_listener","role_r18","TransactionStatusDetailComponent_div_5_ng_template_2_Template","TransactionStatusDetailComponent_div_5_Template_p_dropdown_ngModelChange_7_listener","selected_role_data","TransactionStatusDetailComponent_div_5_Template_p_dropdown_onChange_7_listener","TransactionStatusDetailComponent_div_5_ng_template_13_Template","TransactionStatusDetailComponent_div_5_ng_template_14_Template","rolesData","TransactionStatusDetailComponent_Query","TransactionStatusDetailComponent_Template_app_view_onEvent_2_listener","TransactionStatusDetailComponent_div_4_Template","TransactionStatusDetailComponent_div_5_Template","block_pipeline","block_data","transactionsStatus","transactionsStatusFilters","loadTransactionTypes","TransactionStatusListComponent_Query","TransactionStatusListComponent_li_16_Template","TransactionStatusListComponent_Template_app_view_onEvent_17_listener","TransactionStatusRoutingModule","TransactionTypesDetailComponent","transactionsTypesService","transactionType","TransactionTypesDetailComponent_Query","TransactionTypesDetailComponent_Template_app_view_onEvent_0_listener","transactionsTypesFilters","viewTransactionType","TransactionTypesListComponent_Query","TransactionTypesListComponent_li_16_Template","TransactionTypesListComponent_Template_app_view_onEvent_17_listener","ViewsDetailComponent","ViewsDetailComponent_Query","ViewsDetailComponent_Template_app_view_onEvent_0_listener","viewsFilters","ViewsListComponent_Query","ViewsListComponent_li_15_Template","ViewsListComponent_Template_app_view_onEvent_16_listener","ViewsRoutingModule","loadZones","ZonesDetailComponent_Query","ZonesDetailComponent_Template_app_view_onEvent_0_listener","zonesFilters","viewZone","deleteZone","ZonesListComponent_Query","ZonesListComponent_li_16_Template","ZonesListComponent_Template_app_view_onEvent_17_listener","ZonesRoutingModule","getComboZones","ContactsListComponent","contactsFilters","getOrganizationId","viewContact","deleteContact","_op_organization_id","_ignore_session_fields","_excluded_fields","ContactsListComponent_Query","ContactsListComponent_li_10_Template","ContactsListComponent_li_11_Template","ContactsListComponent_li_14_Template","ContactsListComponent_Template_app_view_onEvent_15_listener","OrganizationsContactsDetailComponent","ContactsRoutingModule","HttpParams","intercept","req","encoder","CustomEncoder","fromString","handle","clone","encodeKey","encodeValue","decodeKey","decodeURIComponent","decodeValue","BeePlugin","environment","endpoint","beeTest","myPromise","beeConfig","uid","onSave","onSaveAsTemplate","onSend","onError","userInput","sample","handler","prompt","mergeTag","especialLinks","clientId","BEE_CLIENT_ID","clientSecret","BEE_CLIENT_SECRET","config_html","client_id","client_secret","grant_type","response","getToken","SidebarComponent","TopbarComponent","DragDropModule","ConfirmationService","DialogConfirmComponent","ViewComponent","DatePipe","ViewComponentFormComponent","ViewComponentTableComponent","ViewComponentConfigureComponent","GridsterModule","LoaderComponent","ViewComponentCardComponent","AutoCompleteModule","PanelMenuModule","ViewComponentGalleryComponent","ViewComponentFilesComponent","PasswordModule","ViewComponentCustomComponent","SlideMenuModule","CustomizerDirective","OverlayPanelModule","ScrollPanelModule","ViewComponentAddComponent","NewViewComponent","ProgressBarModule","HighlightModule","IsoToDatePipe","InputMaskModule","ViewComponentDateTimeComponent","InputNumberModule","ViewComponentFilterComponent","FilterModalComponent","NgForOf","NgIf","NgStyle","DefaultValueAccessor","NgControlStatus","RequiredValidator","NgModel","Sidebar","PrimeTemplate","ButtonDirective","Button","FaIconComponent","Card","InputText","Dropdown","Checkbox","Tooltip","CdkDropList","CdkDropListGroup","CdkDrag","CdkDragHandle","OverlayPanel","TranslatePipe","args","dt","pure","history","getAll","getBackHistory","getTotal","source","constructorName","show_button_ok","acceptFn","rejectFn","DialogConfirmComponent_p_button_5_Template_p_button_click_0_listener","DialogConfirmComponent_p_button_6_Template_p_button_click_0_listener","DialogConfirmComponent_p_button_7_Template_p_button_click_0_listener","myStyle","DialogConfirmComponent_Template","DialogConfirmComponent_p_button_5_Template","DialogConfirmComponent_p_button_6_Template","DialogConfirmComponent_p_button_7_Template","UntypedFormArray","UntypedFormGroup","controls","control","markAsTouched","HttpResponse","throwError","catchError","requestPendings","is_connection_error","request","isSkipedRequest","isRequestSkiped","method","onPendingRequest","emit","pendingRequests","loadingPercent","clonedRequest","requestHeaders","headers","set","pipe","removeSkipRequest","err","urlWithParams","logout","notFound","setTimeout","LoaderComponent_div_0_div_5_Template","subscription","requestSubscription","ngOnDestroy","unsubscribe","LoaderComponent_Template","LoaderComponent_div_0_Template","LoaderComponent_div_1_Template","EventEmitter","requestsToSkip","URLSearchParams","skiped","SearchService","onlyPeople","getMenuGrouped","SidebarComponent_div_9_div_1_Template","titleItemsMenu","organizationTypesService","organizationTypes","isMobile","firstTimeResize","isMenuLoaded","routeReuseStrategy","shouldReuseRoute","ratio","devicePixelRatio","w","innerWidth","cast","authenticated","closeMenu","clearLocalStorageTasksFilters","removeItem","loadOrganizationsTypes","prepareMenuItems","organizationsMenu","routerLinkActiveOptions","exact","command","transactionsMenu","toUpperCase","visible","organizationType_id","plural","name_table","SidebarComponent_Template","SidebarComponent_Template_div_click_0_listener","SidebarComponent_div_9_Template","NavigationStart","OrganizationsDetailGeneralComponent","OrganizationsQuickComponent","TasksDetailComponent","TransactionsDetailComponent","UserChangePasswordComponent","firstValueFrom","TopbarComponent_ng_template_5_div_0_p_dropdown_6_ng_template_3_div_4_span_2_Template","view_r21","default","TopbarComponent_ng_template_5_div_0_p_dropdown_6_ng_template_3_div_5_Template_p_button_click_1_listener","newView","preventDefault","ɵɵtextInterpolate3","updatedBy","ɵɵpipeBind3","updated_at","TopbarComponent_ng_template_5_div_0_p_dropdown_6_ng_template_3_div_6_label_2_Template","TopbarComponent_ng_template_5_div_0_p_dropdown_6_ng_template_3_div_6_label_3_Template","TopbarComponent_ng_template_5_div_0_p_dropdown_6_ng_template_3_div_6_div_4_Template","TopbarComponent_ng_template_5_div_0_p_dropdown_6_ng_template_3_i_2_Template","TopbarComponent_ng_template_5_div_0_p_dropdown_6_ng_template_3_div_4_Template","TopbarComponent_ng_template_5_div_0_p_dropdown_6_ng_template_3_div_5_Template","TopbarComponent_ng_template_5_div_0_p_dropdown_6_ng_template_3_div_6_Template","selectedView","personalized_views_write","TopbarComponent_ng_template_5_div_0_p_dropdown_6_Template_p_dropdown_ngModelChange_0_listener","TopbarComponent_ng_template_5_div_0_p_dropdown_6_Template_p_dropdown_onChange_0_listener","changeCurrentView","TopbarComponent_ng_template_5_div_0_p_dropdown_6_ng_template_2_Template","TopbarComponent_ng_template_5_div_0_p_dropdown_6_ng_template_3_Template","dropdownViews","TopbarComponent_ng_template_5_div_0_p_dropdown_6_Template","personalized_views_read","TopbarComponent_ng_template_5_div_2_a_6_Template_a_click_0_listener","editViewClick","TopbarComponent_ng_template_5_div_2_a_6_Template","TopbarComponent_ng_template_5_a_7_Template_a_click_0_listener","TopbarComponent_ng_template_5_div_0_Template","TopbarComponent_ng_template_5_div_2_Template","TopbarComponent_ng_template_5_div_3_Template","TopbarComponent_ng_template_5_label_5_Template","TopbarComponent_ng_template_5_a_7_Template","views_superadmin","is_template","searchCoincidences","word_r47","word_r48","TopbarComponent_ng_template_16_ng_container_5_Template","TopbarComponent_ng_template_16_ng_container_7_Template","result_r44","moreInfo","TopbarComponent_div_19_a_1_Template_a_click_0_listener","item_r49","call","TopbarComponent_div_19_a_2_Template_a_click_0_listener","_r58","ctx_r56","TopbarComponent_div_19_a_1_Template","TopbarComponent_div_19_a_2_Template","TopbarComponent_div_20_Template_a_click_1_listener","_r61","toggle","totalAlerts","ctx_r64","flag_code","toLowerCase","TopbarComponent_p_dropdown_30_ng_template_1_div_0_Template","ctx_r62","country_r65","TopbarComponent_p_dropdown_30_Template_p_dropdown_ngModelChange_0_listener","_r67","ctx_r66","TopbarComponent_p_dropdown_30_Template_p_dropdown_onChange_0_listener","ctx_r68","changeLanguage","TopbarComponent_p_dropdown_30_ng_template_1_Template","TopbarComponent_p_dropdown_30_ng_template_2_Template","flags","TopbarComponent_a_41_Template_a_click_0_listener","_r70","ctx_r69","loadViewsDropdown","searchService","attachmentsDataService","gmailService","itemsQuickMenu","searchResults","alertsNotifications","layout","timeout","imageUrl","allowViewPersonalize","allowedLayouts","office365AlertShowed","gmailAlertShowed","showFlag","loadProfileMenu","loadQuickMenu","loadLanguages","loadLoginData","clearTimeout","alertsChange","loadAlerts","onViewChange","getViewConfiguration","personalizable","allLanguages","reloadLang","addOrganization","addEmail","addOportunity","addTask","viewUser","changePassword","setNewPassword","alert","filterSearch","search_text","sortArrayResults","searchWords","word","lowerA","lowerB","countMatches","matchesA","matchesB","startsWithA","some","startsWith","startsWithB","textComparison","localeCompare","companyName","companyCode","isLoggedIn","loadCompanyInfo","loadProfile","viewElementDetail","searchText","entity_type","toogleMenu","quickAddOrganization","loadBaseEntity","prepareLayout","cols","nCol","col","class","getComponentsForColumn","createNew","editView","hide","createView","onLayoutChange","totalCols","layout_col","viewsCombo","removeViewConfigurationFromCache","visitedOrganizations","addContact","loadInboundMailsNotifications","loadLeadsNotifications","loadOffice365ConfigNotification","loadGMailConfigNotification","_this","_asyncToGenerator","direction","_op_direction","_op_status","_op_type","_this2","getAllLeads","_this3","requireConnection","configOffice365","_this4","configGMail","removeDiacritics","normalize","encounteredWord","searchWord","i17","i18","i19","i20","TopbarComponent_Query","TopbarComponent_div_0_Template","TopbarComponent_ng_template_5_Template","TopbarComponent_Template_a_click_9_listener","TopbarComponent_Template_p_autoComplete_ngModelChange_14_listener","TopbarComponent_Template_p_autoComplete_completeMethod_14_listener","TopbarComponent_Template_p_autoComplete_onSelect_14_listener","TopbarComponent_ng_template_16_Template","TopbarComponent_div_19_Template","TopbarComponent_div_20_Template","TopbarComponent_Template_a_click_23_listener","_r71","TopbarComponent_Template_a_click_26_listener","TopbarComponent_div_29_Template","TopbarComponent_p_dropdown_30_Template","TopbarComponent_Template_a_click_32_listener","TopbarComponent_a_41_Template","TopbarComponent_div_42_Template","datePipe","clearObject","allowedProperties","finalObj","isArray","characters","charactersLength","counter","charAt","formatDate","formatSuffix","formatPhone","formattedValue","formatMail","formatWWW","formatBadge","subClassName","valorID","eval","formatBadgeColor","refValue","formatImage","formatIcon","more_class","formatCurrency","Intl","NumberFormat","companyConfiguration","currency","useGrouping","formatNumber","formatClass","ngIf","model","isVisible","visible_by","isUserResponsible","isUserSubordinate","isVisibleCustom","isEditable","field_editable_by","editable_by","isUserZone","isUserZoneWritable","zone_id","isVisibleField","isVisibleHeaderFieldCustom","isDisabledFieldCustom","isFieldReadOnly","readonly","isEditableField","form","isField","entityfieldObject","is_custom","full_model_property","keyTranslate","model_propertyToSearch","label2","entityCached","subKey","getActionLabel","keySpecific","getComponentTitle","ViewComponentAddComponent_div_1_Template_button_click_8_listener","component_r2","selectComponent","base_component","loadComponents","getViewComponents","view_code","ngShow","base_code","ViewComponentAddComponent_Template","ViewComponentAddComponent_div_1_Template","ViewComponentAddComponent_div_2_Template","action_r14","ViewComponentCardComponent_ng_template_1_div_3_ng_container_1_a_1_Template_a_click_0_listener","onActionClick","ViewComponentCardComponent_ng_template_1_div_3_ng_container_1_a_1_fa_icon_1_Template","ViewComponentCardComponent_ng_template_1_div_3_ng_container_1_a_1_br_3_Template","ViewComponentCardComponent_ng_template_1_div_3_ng_container_1_a_1_small_4_Template","ViewComponentCardComponent_ng_template_1_div_3_ng_container_1_a_1_Template","isActionVisible","ViewComponentCardComponent_ng_template_1_div_3_ng_container_1_Template","headerActions","ɵɵprojection","ViewComponentCardComponent_ng_template_1_div_4_Template_a_click_2_listener","showColumnsSelector","ViewComponentCardComponent_ng_template_1_div_4_Template_a_click_4_listener","ViewComponentCardComponent_ng_template_1_small_2_Template","ViewComponentCardComponent_ng_template_1_div_3_Template","ViewComponentCardComponent_ng_template_1_div_4_Template","showConfigOptions","getAvatar","item_r28","ViewComponentCardComponent_ng_template_7_td_1_div_1_Template","avatar","action_r33","ViewComponentCardComponent_ng_template_7_span_11_a_1_Template_a_click_0_listener","_r39","ViewComponentCardComponent_ng_template_7_span_11_a_1_fa_icon_1_Template","ViewComponentCardComponent_ng_template_7_span_11_a_1_Template","locked","ViewComponentCardComponent_ng_template_7_Template_tr_click_0_listener","onDblClick","ViewComponentCardComponent_ng_template_7_td_1_Template","ViewComponentCardComponent_ng_template_7_Template_div_click_9_listener","ViewComponentCardComponent_ng_template_7_span_11_Template","getRowClass","getData","actions","ViewComponentCardComponent_ng_template_12_Template_input_ngModelChange_5_listener","ViewComponentCardComponent_ng_template_12_Template_p_dropdown_ngModelChange_11_listener","visibleByOptions","allowedEntity_r54","ViewComponentCardComponent_ng_template_15_p_accordionTab_3_ng_template_2_div_1_div_1_Template_p_checkbox_ngModelChange_1_listener","_r63","field_r59","ViewComponentCardComponent_ng_template_15_p_accordionTab_3_ng_template_2_div_1_div_1_Template_p_checkbox_onChange_1_listener","onFieldChange","ViewComponentCardComponent_ng_template_15_p_accordionTab_3_ng_template_2_div_1_div_1_Template","ctx_r58","ViewComponentCardComponent_ng_template_15_p_accordionTab_3_ng_template_2_div_1_Template","getAllowedEntityFields","ViewComponentCardComponent_ng_template_15_p_accordionTab_3_ng_template_1_Template","ViewComponentCardComponent_ng_template_15_p_accordionTab_3_ng_template_2_Template","ViewComponentCardComponent_ng_template_15_div_0_Template","ViewComponentCardComponent_ng_template_15_div_1_Template","ViewComponentCardComponent_ng_template_15_p_accordionTab_3_Template","fieldType","allowedEntities","temporalModel","paginator","allowedEntitiesFields","rowsPerPage","showPaginator","newFields","getModelValue","preLazyLoad","lazyLoad","param","getTableData","scrollHeightFunc","maxHeigth","maxHeight","gridContainer","datatableWrapper","nativeElement","querySelector","substring","titleFields","property","model_property_label","selectedValues","selectedValue","badge","str","configure","stopPropagation","opColumns","checked","viewField","removeField","rowFormatFn","ViewComponentCardComponent_Query","ViewComponentCardComponent_ng_template_1_Template","ViewComponentCardComponent_Template_p_table_onLazyLoad_4_listener","ViewComponentCardComponent_Template_p_table_onPage_4_listener","ViewComponentCardComponent_ng_template_7_Template","ViewComponentCardComponent_ng_template_8_Template","ViewComponentCardComponent_ng_template_9_Template","ViewComponentCardComponent_ng_template_12_Template","ViewComponentCardComponent_ng_template_15_Template","moveItemInArray","groupBy","ViewComponentConfigureComponent_div_16_Template_p_checkbox_ngModelChange_4_listener","allow_export_xls","ViewComponentConfigureComponent_div_17_Template_p_checkbox_ngModelChange_4_listener","show_tracking","ViewComponentConfigureComponent_div_18_Template_p_checkbox_ngModelChange_4_listener","show_header","ViewComponentConfigureComponent_ng_template_27_tr_0_p_dropdown_7_Template_p_dropdown_ngModelChange_0_listener","field_r11","colSizes","ViewComponentConfigureComponent_ng_template_27_tr_0_input_8_Template_input_ngModelChange_0_listener","ViewComponentConfigureComponent_ng_template_27_tr_0_p_checkbox_14_Template_p_checkbox_ngModelChange_0_listener","required","ViewComponentConfigureComponent_ng_template_27_tr_0_p_checkbox_19_Template_p_checkbox_ngModelChange_0_listener","showActions","ViewComponentConfigureComponent_ng_template_27_tr_0_Template_p_cascadeSelect_ngModelChange_2_listener","ViewComponentConfigureComponent_ng_template_27_tr_0_Template_p_cascadeSelect_onChange_2_listener","ViewComponentConfigureComponent_ng_template_27_tr_0_Template_input_ngModelChange_5_listener","ViewComponentConfigureComponent_ng_template_27_tr_0_p_dropdown_7_Template","ViewComponentConfigureComponent_ng_template_27_tr_0_input_8_Template","ViewComponentConfigureComponent_ng_template_27_tr_0_Template_p_dropdown_ngModelChange_10_listener","ViewComponentConfigureComponent_ng_template_27_tr_0_Template_p_checkbox_ngModelChange_12_listener","ViewComponentConfigureComponent_ng_template_27_tr_0_p_checkbox_14_Template","ViewComponentConfigureComponent_ng_template_27_tr_0_p_checkbox_15_Template","ViewComponentConfigureComponent_ng_template_27_tr_0_Template_p_checkbox_ngModelChange_17_listener","show_in_mobile","ViewComponentConfigureComponent_ng_template_27_tr_0_p_checkbox_19_Template","ViewComponentConfigureComponent_ng_template_27_tr_0_Template_a_click_21_listener","rowIndex_r12","rowIndex","entitiesToFilter","optionsCard","ViewComponentConfigureComponent_ng_template_27_tr_0_Template","newField","widthClasses","allow_reorder_rows","drop","previousIndex","currentIndex","fieldConfig","addField","saveComponent","composeCascade","entitiesResult","level","entitiesResultLevel","model_property_path","n","claves","clave","allNamesArray","allNames","Boolean","join","aux2","entitiesResultMoreLevel","include_navigation_properties","inputs","ViewComponentConfigureComponent_Template","ViewComponentConfigureComponent_Template_input_ngModelChange_5_listener","ViewComponentConfigureComponent_Template_p_dropdown_ngModelChange_10_listener","ViewComponentConfigureComponent_Template_input_ngModelChange_15_listener","ViewComponentConfigureComponent_div_16_Template","ViewComponentConfigureComponent_div_17_Template","ViewComponentConfigureComponent_div_18_Template","ViewComponentConfigureComponent_Template_button_click_20_listener","ViewComponentConfigureComponent_Template_p_table_cdkDropListDropped_25_listener","ViewComponentConfigureComponent_ng_template_26_Template","ViewComponentConfigureComponent_ng_template_27_Template","ViewComponentConfigureComponent_Template_button_click_29_listener","ViewContainerRef","action_r7","ViewComponentCustomComponent_ng_template_1_div_3_ng_container_1_a_1_Template_a_click_0_listener","ViewComponentCustomComponent_ng_template_1_div_3_ng_container_1_a_1_fa_icon_1_Template","ViewComponentCustomComponent_ng_template_1_div_3_ng_container_1_a_1_br_3_Template","ViewComponentCustomComponent_ng_template_1_div_3_ng_container_1_a_1_small_4_Template","ViewComponentCustomComponent_ng_template_1_div_3_ng_container_1_a_1_Template","ViewComponentCustomComponent_ng_template_1_div_3_a_2_Template_a_click_0_listener","showTracking","ViewComponentCustomComponent_ng_template_1_div_3_ng_container_1_Template","ViewComponentCustomComponent_ng_template_1_div_3_a_2_Template","configurationPermission","ViewComponentCustomComponent_ng_template_1_small_2_Template","ViewComponentCustomComponent_ng_template_1_div_3_Template","ViewComponentCustomComponent_ng_template_1_div_4_Template","viewContainerRef","componentFactoryResolver","componentRef","ngAfterViewInit","GetComponentByName","componentFactory","resolveComponentFactory","customComponentContainer","createComponent","instance","ComponentFactoryResolver","ViewComponentCustomComponent_Query","ViewComponentCustomComponent_ng_template_1_Template","ɵɵelementContainer","forwardRef","NG_VALUE_ACCESSOR","ViewComponentDateTimeComponent_div_0_Template_div_click_0_listener","ViewComponentDateTimeComponent_ng_template_3_div_0_div_3_Template_p_calendar_ngModelChange_1_listener","time","ViewComponentDateTimeComponent_ng_template_3_div_0_div_3_Template_p_calendar_onSelect_1_listener","onSelect","stepMinute","ViewComponentDateTimeComponent_ng_template_3_div_0_Template_p_calendar_ngModelChange_2_listener","ViewComponentDateTimeComponent_ng_template_3_div_0_Template_p_calendar_onSelect_2_listener","ViewComponentDateTimeComponent_ng_template_3_div_0_div_3_Template","showTime","ViewComponentDateTimeComponent_ng_template_3_div_1_Template_a_click_3_listener","generate","ViewComponentDateTimeComponent_ng_template_3_div_1_Template_a_click_6_listener","ViewComponentDateTimeComponent_ng_template_3_div_1_Template_a_click_9_listener","ViewComponentDateTimeComponent_ng_template_3_div_1_Template_a_click_12_listener","ViewComponentDateTimeComponent_ng_template_3_div_1_Template_a_click_15_listener","ViewComponentDateTimeComponent_ng_template_3_div_1_Template_a_click_18_listener","ViewComponentDateTimeComponent_ng_template_3_div_1_Template_a_click_22_listener","ViewComponentDateTimeComponent_ng_template_3_div_1_Template_a_click_26_listener","ViewComponentDateTimeComponent_ng_template_3_div_1_Template_a_click_29_listener","ViewComponentDateTimeComponent_ng_template_3_div_1_Template_a_click_32_listener","ViewComponentDateTimeComponent_ng_template_3_div_1_Template_a_click_35_listener","ViewComponentDateTimeComponent_ng_template_3_div_1_Template_a_click_38_listener","ViewComponentDateTimeComponent_ng_template_3_div_1_Template_a_click_41_listener","ViewComponentDateTimeComponent_ng_template_3_div_1_Template_p_calendar_ngModelChange_44_listener","date_range","ViewComponentDateTimeComponent_ng_template_3_div_1_Template_p_calendar_onSelect_44_listener","onSelectRange","ViewComponentDateTimeComponent_ng_template_3_div_0_Template","ViewComponentDateTimeComponent_ng_template_3_div_1_Template","range","ViewComponentDateTimeComponent_p_inputMask_6_Template_p_inputMask_ngModelChange_0_listener","date_string","ViewComponentDateTimeComponent_p_inputMask_6_Template_p_inputMask_onFocus_0_listener","onInputMaskFocus","ViewComponentDateTimeComponent_p_inputMask_6_Template_p_inputMask_onComplete_0_listener","onComplete","mask","placeholder","ViewComponentDateTimeComponent_input_7_Template_input_ngModelChange_0_listener","dates_string","is_showed","value_date_range","onChange","_","onTouched","setMinutes","setSeconds","writeValue","tmpDate","auxDate","registerOnChange","fn","registerOnTouched","onTimeBlur","setHours","onShow","onHide","targetEl","focus","prepareDateString","checkMinutes","steps","parseableString","parts","dateParts","timeParts","isoString","onClear","dates_array","tmpDateTrim","getMonday","d","day","getDay","diff","number","now","calculate","monday","lastDayOfMonth","getStartOfWeek","getEndOfWeek","startOfWeek","ViewComponentDateTimeComponent_Query","useExisting","ViewComponentDateTimeComponent_Template","ViewComponentDateTimeComponent_div_0_Template","ViewComponentDateTimeComponent_Template_p_overlayPanel_onShow_1_listener","ViewComponentDateTimeComponent_Template_p_overlayPanel_onHide_1_listener","ViewComponentDateTimeComponent_ng_template_3_Template","ViewComponentDateTimeComponent_p_inputMask_6_Template","ViewComponentDateTimeComponent_input_7_Template","ViewComponentDateTimeComponent_Template_button_click_8_listener","ViewComponentDateTimeComponent_Template_button_click_10_listener","action_r8","ViewComponentFilesComponent_ng_template_1_div_3_ng_container_1_a_1_Template_a_click_0_listener","ViewComponentFilesComponent_ng_template_1_div_3_ng_container_1_a_1_fa_icon_1_Template","ViewComponentFilesComponent_ng_template_1_div_3_ng_container_1_a_1_br_3_Template","ViewComponentFilesComponent_ng_template_1_div_3_ng_container_1_a_1_small_4_Template","ViewComponentFilesComponent_ng_template_1_div_3_ng_container_1_a_1_Template","ViewComponentFilesComponent_ng_template_1_div_3_ng_container_1_Template","ViewComponentFilesComponent_ng_template_1_small_2_Template","ViewComponentFilesComponent_ng_template_1_div_3_Template","ViewComponentFilesComponent_ng_template_1_div_4_Template","action_r23","ViewComponentFilesComponent_p_accordionTab_4_div_4_a_22_Template_a_click_0_listener","item_r21","ViewComponentFilesComponent_p_accordionTab_4_div_4_a_22_fa_icon_2_Template","ViewComponentFilesComponent_p_accordionTab_4_div_4_Template_div_click_4_listener","ViewComponentFilesComponent_p_accordionTab_4_div_4_a_22_Template","getImage","ViewComponentFilesComponent_p_accordionTab_4_div_4_Template","attach_r19","getRows","ViewComponentFilesComponent_ng_template_7_Template_input_ngModelChange_5_listener","ViewComponentFilesComponent_ng_template_7_Template_p_dropdown_ngModelChange_11_listener","attachmentTypeService","prevItem_type_id","loadAttachmentTypes","user_role_id","hasRole","viewRoles","savePrevItem","adaptWidth","attachmentsTypesWithData","outputs","ngContentSelectors","ViewComponentFilesComponent_Template","ViewComponentFilesComponent_ng_template_1_Template","ViewComponentFilesComponent_p_accordionTab_4_Template","ViewComponentFilesComponent_ng_template_7_Template","FilterModalComponent_div_6_div_1_div_3_Template_p_checkbox_ngModelChange_1_listener","field_r8","FilterModalComponent_div_6_div_1_div_3_Template","FilterModalComponent_div_6_div_1_div_4_Template","i_r4","entity_r3","fieldsInEntitiesField","FilterModalComponent_div_6_div_1_Template","FilterModalComponent_div_7_div_1_Template_p_checkbox_ngModelChange_1_listener","field_r13","FilterModalComponent_div_7_div_1_Template","FilterModalComponent_div_7_div_2_Template","fieldsFiltered","originalFieldsFromData","selectedEntitiesFieldsFilter","excludeFromFilters","panels","panel","toArray","collapsed","headerIcon","isInFieldGroup","FilterModalComponent_Query","FilterModalComponent_Template_input_ngModelChange_2_listener","FilterModalComponent_Template_button_click_4_listener","FilterModalComponent_div_6_Template","FilterModalComponent_div_7_Template","FilterModalComponent_Template_button_click_11_listener","FilterModalComponent_Template_button_click_13_listener","ViewComponentFilterComponent_a_14_Template_a_click_0_listener","actionSearch","ViewComponentFilterComponent_p_splitButton_15_Template_p_splitButton_onClick_0_listener","ViewComponentFilterComponent_div_18_input_3_Template_input_ngModelChange_0_listener","field_r12","ViewComponentFilterComponent_div_18_input_3_Template_input_keyup_enter_0_listener","ViewComponentFilterComponent_div_18_div_4_Template_input_ngModelChange_1_listener","ViewComponentFilterComponent_div_18_div_4_Template_input_ngModelChange_4_listener","ViewComponentFilterComponent_div_18_app_view_component_datetime_5_Template_app_view_component_datetime_ngModelChange_0_listener","ViewComponentFilterComponent_div_18_p_colorPicker_6_Template_p_colorPicker_ngModelChange_0_listener","_r36","ViewComponentFilterComponent_div_18_div_7_Template_p_dropdown_ngModelChange_1_listener","_r40","ViewComponentFilterComponent_div_18_p_multiSelect_8_Template_p_multiSelect_ngModelChange_0_listener","_r45","ViewComponentFilterComponent_div_18_p_multiSelect_8_Template_p_multiSelect_onFilter_0_listener","idx_r13","ctx_r47","onModelChange","ViewComponentFilterComponent_div_18_input_3_Template","ViewComponentFilterComponent_div_18_div_4_Template","ViewComponentFilterComponent_div_18_app_view_component_datetime_5_Template","ViewComponentFilterComponent_div_18_p_colorPicker_6_Template","ViewComponentFilterComponent_div_18_div_7_Template","ViewComponentFilterComponent_div_18_p_multiSelect_8_Template","allowedEntity_r51","ViewComponentFilterComponent_ng_template_22_p_accordionTab_1_ng_template_2_div_1_div_1_Template_p_checkbox_ngModelChange_1_listener","_r60","field_r56","ViewComponentFilterComponent_ng_template_22_p_accordionTab_1_ng_template_2_div_1_div_1_Template_p_checkbox_onChange_1_listener","onFieldFilterChange","ctx_r57","ViewComponentFilterComponent_ng_template_22_p_accordionTab_1_ng_template_2_div_1_div_1_Template","ViewComponentFilterComponent_ng_template_22_p_accordionTab_1_ng_template_2_div_1_Template","allowedEntitiesFieldsFilter","ViewComponentFilterComponent_ng_template_22_p_accordionTab_1_ng_template_1_Template","ViewComponentFilterComponent_ng_template_22_p_accordionTab_1_ng_template_2_Template","ViewComponentFilterComponent_ng_template_22_p_accordionTab_1_Template","allowedEntitiesFilter","viewsCustomService","model_original","saveViewFilters","createViewFilters","loadFiltersData","addedToSession","Number","isMetadata","isFieldExcluded","hasOwnProperty","auxValueNumber","selectValue","filterValue","multiselects","multiselect","inputId","optionsToRender","getComboOptionsTimeout","onModelChangeRefresh","getLabel","openModalFilters","styleClass","finalFields","existsField","saveFilters","onFilterChange","eventPayload","original_value","allow_filter_panel","from_value","to_value","ignore_session_value","filter_value","_ignore_nullable_values","operator","ViewsCustomService","ViewComponentFilterComponent_Query","ViewComponentFilterComponent_p_panel_0_Template","ViewComponentFilterComponent_p_panel_1_Template","ViewComponentFilterComponent_Template_a_click_5_listener","ViewComponentFilterComponent_Template_a_click_10_listener","ViewComponentFilterComponent_a_14_Template","ViewComponentFilterComponent_p_splitButton_15_Template","ViewComponentFilterComponent_div_17_Template","ViewComponentFilterComponent_div_18_Template","ViewComponentFilterComponent_ng_template_22_Template","TrackingComponent","UntypedFormControl","Validators","localModel","ViewComponentFormComponent_ng_template_6_p_checkbox_1_Template_p_checkbox_ngModelChange_0_listener","isOpenned","action_r17","ViewComponentFormComponent_ng_template_6_div_4_ng_container_1_a_1_Template_a_click_0_listener","ViewComponentFormComponent_ng_template_6_div_4_ng_container_1_a_1_fa_icon_1_Template","ViewComponentFormComponent_ng_template_6_div_4_ng_container_1_a_1_br_3_Template","ViewComponentFormComponent_ng_template_6_div_4_ng_container_1_a_1_small_4_Template","ViewComponentFormComponent_ng_template_6_div_4_ng_container_1_a_1_Template","ViewComponentFormComponent_ng_template_6_div_4_a_2_Template_a_click_0_listener","ViewComponentFormComponent_ng_template_6_div_4_ng_container_1_Template","ViewComponentFormComponent_ng_template_6_div_4_a_2_Template","ViewComponentFormComponent_ng_template_6_div_5_Template_a_click_2_listener","ViewComponentFormComponent_ng_template_6_p_checkbox_1_Template","ViewComponentFormComponent_ng_template_6_small_3_Template","ViewComponentFormComponent_ng_template_6_div_4_Template","ViewComponentFormComponent_ng_template_6_div_5_Template","toggleable","field_r32","ViewComponentFormComponent_div_8_label_1_span_2_Template","ViewComponentFormComponent_div_8_div_2_a_1_Template_a_click_0_listener","_r72","ctx_r70","configField","action_r75","ViewComponentFormComponent_div_8_div_2_button_4_Template_button_click_0_listener","_r80","ctx_r78","onFieldActionClick","ViewComponentFormComponent_div_8_div_2_button_4_fa_icon_1_Template","styledClass","getTooltipAction","isFieldActionDisabled","ViewComponentFormComponent_div_8_div_2_input_5_Template_input_ngModelChange_0_listener","_r83","ctx_r82","ctx_r85","getStyledClass","ViewComponentFormComponent_div_8_div_2_input_6_Template_input_ngModelChange_0_listener","_r89","ctx_r88","ctx_r91","ViewComponentFormComponent_div_8_div_2_input_7_Template_input_ngModelChange_0_listener","_r95","ctx_r94","ctx_r97","ViewComponentFormComponent_div_8_div_2_input_8_Template_input_ngModelChange_0_listener","_r101","ctx_r100","ctx_r103","ViewComponentFormComponent_div_8_div_2_input_9_Template_input_ngModelChange_0_listener","_r107","ctx_r106","ctx_r109","ViewComponentFormComponent_div_8_div_2_app_view_component_datetime_10_Template_app_view_component_datetime_ngModelChange_0_listener","_r113","ctx_r112","ViewComponentFormComponent_div_8_div_2_app_view_component_datetime_11_Template_app_view_component_datetime_ngModelChange_0_listener","_r117","ctx_r116","ViewComponentFormComponent_div_8_div_2_app_view_component_datetime_12_Template_app_view_component_datetime_ngModelChange_0_listener","_r121","ctx_r120","ViewComponentFormComponent_div_8_div_2_app_view_component_datetime_13_Template_app_view_component_datetime_ngModelChange_0_listener","_r125","ctx_r124","ViewComponentFormComponent_div_8_div_2_textarea_14_Template_textarea_ngModelChange_0_listener","_r130","ctx_r128","ctx_r131","ctx_r51","ViewComponentFormComponent_div_8_div_2_textarea_15_Template_textarea_ngModelChange_0_listener","_r136","ctx_r134","ctx_r137","ViewComponentFormComponent_div_8_div_2_p_colorPicker_16_Template_p_colorPicker_ngModelChange_0_listener","_r141","ctx_r140","ctx_r146","result_r145","subtitle_text","ViewComponentFormComponent_div_8_div_2_p_autoComplete_17_ng_template_1_div_3_Template","ctx_r144","subtitles","ViewComponentFormComponent_div_8_div_2_p_autoComplete_17_Template_p_autoComplete_ngModelChange_0_listener","_r151","ctx_r150","ViewComponentFormComponent_div_8_div_2_p_autoComplete_17_Template_p_autoComplete_completeMethod_0_listener","ctx_r153","onAutocompleteSearch","ViewComponentFormComponent_div_8_div_2_p_autoComplete_17_Template_p_autoComplete_onSelect_0_listener","ctx_r155","onSelectAutocomplete","ViewComponentFormComponent_div_8_div_2_p_autoComplete_17_Template_p_autoComplete_onKeyUp_0_listener","ctx_r157","onKeyUpAutocomplete","ViewComponentFormComponent_div_8_div_2_p_autoComplete_17_ng_template_1_Template","ctx_r54","resultsAutocomplete","ViewComponentFormComponent_div_8_div_2_p_inputSwitch_19_Template_p_inputSwitch_ngModelChange_0_listener","_r161","ctx_r160","ctx_r163","ViewComponentFormComponent_div_8_div_2_p_fileUpload_20_Template_p_fileUpload_onError_0_listener","_r167","ctx_r166","ViewComponentFormComponent_div_8_div_2_p_fileUpload_20_Template_p_fileUpload_onUpload_0_listener","ctx_r168","ViewComponentFormComponent_div_8_div_2_editor_21_Template_editor_ngModelChange_0_listener","_r171","ctx_r170","ViewComponentFormComponent_div_8_div_2_p_editor_22_Template_p_editor_ngModelChange_0_listener","_r176","ctx_r175","ViewComponentFormComponent_div_8_div_2_p_editor_22_ng_template_1_Template","ctx_r59","ViewComponentFormComponent_div_8_div_2_p_dropdown_23_Template_p_dropdown_ngModelChange_0_listener","_r180","ctx_r179","ctx_r182","ViewComponentFormComponent_div_8_div_2_p_dropdown_23_Template_p_dropdown_onChange_0_listener","ctx_r184","ViewComponentFormComponent_div_8_div_2_p_dropdown_23_Template_p_dropdown_onFilter_0_listener","ctx_r186","onFilter","ctx_r60","option_r190","ViewComponentFormComponent_div_8_div_2_p_dropdown_24_Template_p_dropdown_ngModelChange_0_listener","_r193","ctx_r192","ctx_r195","ViewComponentFormComponent_div_8_div_2_p_dropdown_24_Template_p_dropdown_onChange_0_listener","ctx_r197","ViewComponentFormComponent_div_8_div_2_p_dropdown_24_Template_p_dropdown_onFilter_0_listener","ctx_r199","ViewComponentFormComponent_div_8_div_2_p_dropdown_24_ng_template_2_Template","ViewComponentFormComponent_div_8_div_2_p_dropdown_25_Template_p_dropdown_ngModelChange_0_listener","_r203","ctx_r202","ctx_r205","ViewComponentFormComponent_div_8_div_2_p_dropdown_25_Template_p_dropdown_onChange_0_listener","ctx_r207","ViewComponentFormComponent_div_8_div_2_p_multiSelect_26_Template_p_multiSelect_ngModelChange_0_listener","_r211","ctx_r210","ctx_r213","ViewComponentFormComponent_div_8_div_2_p_multiSelect_26_Template_p_multiSelect_onChange_0_listener","ctx_r215","ViewComponentFormComponent_div_8_div_2_p_multiSelect_27_Template_p_multiSelect_ngModelChange_0_listener","_r219","ctx_r218","ctx_r221","ViewComponentFormComponent_div_8_div_2_p_multiSelect_27_Template_p_multiSelect_onChange_0_listener","ctx_r223","ViewComponentFormComponent_div_8_div_2_p_checkbox_28_Template_p_checkbox_ngModelChange_0_listener","_r227","ctx_r226","ViewComponentFormComponent_div_8_div_2_p_checkbox_29_Template_p_checkbox_ngModelChange_0_listener","_r231","ctx_r230","ViewComponentFormComponent_div_8_div_2_ngx_monaco_editor_30_Template_ngx_monaco_editor_ngModelChange_0_listener","_r235","ctx_r234","ViewComponentFormComponent_div_8_div_2_ngx_monaco_editor_30_Template_ngx_monaco_editor_init_0_listener","ctx_r237","ctx_r238","ctx_r67","action_r241","ViewComponentFormComponent_div_8_div_2_button_31_Template_button_click_0_listener","_r246","ctx_r244","ViewComponentFormComponent_div_8_div_2_button_31_fa_icon_1_Template","ViewComponentFormComponent_div_8_div_2_p_splitButton_32_Template_p_splitButton_onClick_0_listener","_r250","action_r248","ctx_r249","isSplitButton","ViewComponentFormComponent_div_8_div_2_a_1_Template","ViewComponentFormComponent_div_8_div_2_label_2_Template","ViewComponentFormComponent_div_8_div_2_label_3_Template","ViewComponentFormComponent_div_8_div_2_button_4_Template","ViewComponentFormComponent_div_8_div_2_input_5_Template","ViewComponentFormComponent_div_8_div_2_input_6_Template","ViewComponentFormComponent_div_8_div_2_input_7_Template","ViewComponentFormComponent_div_8_div_2_input_8_Template","ViewComponentFormComponent_div_8_div_2_input_9_Template","ViewComponentFormComponent_div_8_div_2_app_view_component_datetime_10_Template","ViewComponentFormComponent_div_8_div_2_app_view_component_datetime_11_Template","ViewComponentFormComponent_div_8_div_2_app_view_component_datetime_12_Template","ViewComponentFormComponent_div_8_div_2_app_view_component_datetime_13_Template","ViewComponentFormComponent_div_8_div_2_textarea_14_Template","ViewComponentFormComponent_div_8_div_2_textarea_15_Template","ViewComponentFormComponent_div_8_div_2_p_colorPicker_16_Template","ViewComponentFormComponent_div_8_div_2_p_autoComplete_17_Template","ViewComponentFormComponent_div_8_div_2_div_18_Template","ViewComponentFormComponent_div_8_div_2_p_inputSwitch_19_Template","ViewComponentFormComponent_div_8_div_2_p_fileUpload_20_Template","ViewComponentFormComponent_div_8_div_2_editor_21_Template","ViewComponentFormComponent_div_8_div_2_p_editor_22_Template","ViewComponentFormComponent_div_8_div_2_p_dropdown_23_Template","ViewComponentFormComponent_div_8_div_2_p_dropdown_24_Template","ViewComponentFormComponent_div_8_div_2_p_dropdown_25_Template","ViewComponentFormComponent_div_8_div_2_p_multiSelect_26_Template","ViewComponentFormComponent_div_8_div_2_p_multiSelect_27_Template","ViewComponentFormComponent_div_8_div_2_p_checkbox_28_Template","ViewComponentFormComponent_div_8_div_2_p_checkbox_29_Template","ViewComponentFormComponent_div_8_div_2_ngx_monaco_editor_30_Template","ViewComponentFormComponent_div_8_div_2_button_31_Template","ViewComponentFormComponent_div_8_div_2_p_splitButton_32_Template","isFieldActionsVisible","getFieldPreActions","getFieldActions","getFieldActionsSplit","ViewComponentFormComponent_div_8_label_1_Template","ViewComponentFormComponent_div_8_div_2_Template","action_r254","ctx_r259","ViewComponentFormComponent_div_9_span_3_button_1_Template_button_click_0_listener","_r264","ctx_r262","ViewComponentFormComponent_div_9_span_3_button_1_fa_icon_1_Template","ViewComponentFormComponent_div_9_span_3_button_1_br_3_Template","ViewComponentFormComponent_div_9_span_3_button_1_small_4_Template","ctx_r255","ViewComponentFormComponent_div_9_span_3_p_splitButton_2_Template_p_splitButton_onClick_0_listener","_r268","ctx_r266","ctx_r256","itemsSplitButton","ViewComponentFormComponent_div_9_span_3_button_1_Template","ViewComponentFormComponent_div_9_span_3_p_splitButton_2_Template","ctx_r252","action_r270","ctx_r275","ViewComponentFormComponent_div_9_span_6_button_1_Template_button_click_0_listener","_r280","ctx_r278","ViewComponentFormComponent_div_9_span_6_button_1_fa_icon_1_Template","ViewComponentFormComponent_div_9_span_6_button_1_br_3_Template","ViewComponentFormComponent_div_9_span_6_button_1_small_4_Template","ctx_r271","ViewComponentFormComponent_div_9_span_6_p_splitButton_2_Template_p_splitButton_onClick_0_listener","_r284","ctx_r282","ctx_r272","ViewComponentFormComponent_div_9_span_6_button_1_Template","ViewComponentFormComponent_div_9_span_6_p_splitButton_2_Template","ctx_r253","ViewComponentFormComponent_div_9_span_3_Template","ViewComponentFormComponent_div_9_span_6_Template","getActions","footerActions","ViewComponentFormComponent_ng_template_12_div_6_Template_p_checkbox_ngModelChange_1_listener","_r292","ctx_r291","selectedField","ctx_r286","ViewComponentFormComponent_ng_template_12_div_7_Template_p_checkbox_ngModelChange_1_listener","_r294","ctx_r293","ctx_r287","ViewComponentFormComponent_ng_template_12_div_11_Template_p_checkbox_ngModelChange_1_listener","_r296","ctx_r295","ctx_r288","ViewComponentFormComponent_ng_template_12_div_12_Template_p_dropdown_ngModelChange_5_listener","_r298","ctx_r297","filter_operator","ctx_r289","selectedFieldOperators","ViewComponentFormComponent_ng_template_12_div_19_Template_p_dropdown_ngModelChange_5_listener","_r300","ctx_r299","ctx_r290","editableByOptions","ViewComponentFormComponent_ng_template_12_Template_input_ngModelChange_5_listener","_r302","ctx_r301","ViewComponentFormComponent_ng_template_12_div_6_Template","ViewComponentFormComponent_ng_template_12_div_7_Template","ViewComponentFormComponent_ng_template_12_Template_p_checkbox_ngModelChange_9_listener","ctx_r303","ViewComponentFormComponent_ng_template_12_div_11_Template","ViewComponentFormComponent_ng_template_12_div_12_Template","ViewComponentFormComponent_ng_template_12_Template_p_dropdown_ngModelChange_18_listener","ctx_r304","ViewComponentFormComponent_ng_template_12_div_19_Template","ViewComponentFormComponent_ng_template_12_Template_button_click_21_listener","ctx_r305","navigation_entity_id","ctx_r306","allowedEntity","allowedEntity_r308","ViewComponentFormComponent_ng_template_15_p_accordionTab_2_ng_template_2_div_1_div_1_Template_p_checkbox_ngModelChange_1_listener","_r317","field_r313","ViewComponentFormComponent_ng_template_15_p_accordionTab_2_ng_template_2_div_1_div_1_Template_p_checkbox_onChange_1_listener","ctx_r318","ViewComponentFormComponent_ng_template_15_p_accordionTab_2_ng_template_2_div_1_div_1_Template","ctx_r312","ViewComponentFormComponent_ng_template_15_p_accordionTab_2_ng_template_2_div_1_Template","ctx_r310","ViewComponentFormComponent_ng_template_15_p_accordionTab_2_ng_template_1_Template","ViewComponentFormComponent_ng_template_15_p_accordionTab_2_ng_template_2_Template","ViewComponentFormComponent_ng_template_15_ng_template_1_Template","ViewComponentFormComponent_ng_template_15_p_accordionTab_2_Template","monacoLoaderService","formBuilder","customizerService","templateService","isLocalModel","cachedModel","parentFields","showMapIcon","customizableOptions","columnsFilter","watchModelFields","toggleInputs","lock","nativeElements","querySelectorAll","HTMLInputElement","HTMLTextAreaElement","HTMLSelectElement","primeNgElements","classList","moved","customizer","generateFieldsIdx","resized","blockValuesInFields","ngAfterContentInit","ngOnChanges","changes","currentValue","previousValue","newModel","allowMoreInfo","getFilterOperators","opField","myFun","warn","tracking","parent_field_id","addToParentField","addControl","setModel","getModel","filtered","setValue","exists","parentField","childs","tooltip","tooltipExpression","preActions","classNames","styledClassExpression","getFieldFormat","modelCustom","replaceAll","parentValue","parent_field_required","selectedItem","getSplitOptions","propertyNullCheck","isFieldVisible","getComponentFields","newValue","oldvalue","child","navigation_property","openNewPage","endsWith","editContact","editOrganization","prepareAllowedEntityFields","dateToIso","MonacoEditorLoaderService","ChangeDetectorRef","UntypedFormBuilder","CustomizerService","ViewComponentFormComponent_Query","ViewComponentFormComponent_p_panel_1_Template","ViewComponentFormComponent_p_panel_2_Template","ViewComponentFormComponent_ng_template_6_Template","ViewComponentFormComponent_div_8_Template","ViewComponentFormComponent_div_9_Template","ViewComponentFormComponent_ng_template_12_Template","ViewComponentFormComponent_ng_template_15_Template","ViewComponentGalleryComponent_ng_template_1_div_3_ng_container_1_a_1_Template_a_click_0_listener","ViewComponentGalleryComponent_ng_template_1_div_3_ng_container_1_a_1_fa_icon_1_Template","ViewComponentGalleryComponent_ng_template_1_div_3_ng_container_1_a_1_br_3_Template","ViewComponentGalleryComponent_ng_template_1_div_3_ng_container_1_a_1_small_4_Template","ViewComponentGalleryComponent_ng_template_1_div_3_ng_container_1_a_1_Template","ViewComponentGalleryComponent_ng_template_1_div_3_ng_container_1_Template","ViewComponentGalleryComponent_ng_template_1_div_4_a_2_Template_a_click_0_listener","ViewComponentGalleryComponent_ng_template_1_div_4_a_2_Template","ViewComponentGalleryComponent_ng_template_1_small_2_Template","ViewComponentGalleryComponent_ng_template_1_div_3_Template","ViewComponentGalleryComponent_ng_template_1_div_4_Template","action_r24","ViewComponentGalleryComponent_ng_template_6_a_12_Template_a_click_0_listener","ViewComponentGalleryComponent_ng_template_6_a_12_fa_icon_1_Template","ViewComponentGalleryComponent_ng_template_6_Template_tr_dblclick_0_listener","ViewComponentGalleryComponent_ng_template_6_Template_div_click_4_listener","ViewComponentGalleryComponent_ng_template_6_a_12_Template","ɵɵpropertyInterpolate2","companyId","ViewComponentGalleryComponent_Template","ViewComponentGalleryComponent_ng_template_1_Template","ViewComponentGalleryComponent_ng_template_6_Template","ViewComponentGalleryComponent_ng_template_7_Template","NewViewComponent_p_checkbox_13_Template_p_checkbox_ngModelChange_0_listener","NewViewComponent_p_button_16_Template_p_button_click_0_listener","NewViewComponent_p_button_19_Template_p_button_click_0_listener","selectedOption","viewTemplate","view_id","loadView","NewViewComponent_Template","NewViewComponent_Template_input_ngModelChange_6_listener","NewViewComponent_Template_p_dropdown_ngModelChange_11_listener","NewViewComponent_p_checkbox_13_Template","NewViewComponent_label_14_Template","NewViewComponent_p_button_16_Template","NewViewComponent_Template_p_button_click_17_listener","NewViewComponent_p_button_19_Template","action_r18","ViewComponentTableComponent_ng_template_1_div_0_div_3_ng_container_1_a_1_Template_a_click_0_listener","ViewComponentTableComponent_ng_template_1_div_0_div_3_ng_container_1_a_1_fa_icon_1_Template","ViewComponentTableComponent_ng_template_1_div_0_div_3_ng_container_1_a_1_br_4_Template","ViewComponentTableComponent_ng_template_1_div_0_div_3_ng_container_1_a_1_small_5_Template","ViewComponentTableComponent_ng_template_1_div_0_div_3_ng_container_1_a_1_Template","ViewComponentTableComponent_ng_template_1_div_0_div_3_a_2_Template_a_click_0_listener","ViewComponentTableComponent_ng_template_1_div_0_div_3_ng_container_1_Template","ViewComponentTableComponent_ng_template_1_div_0_div_3_a_2_Template","ViewComponentTableComponent_ng_template_1_div_0_div_4_Template_a_click_2_listener","ViewComponentTableComponent_ng_template_1_div_0_small_2_Template","ViewComponentTableComponent_ng_template_1_div_0_div_3_Template","ViewComponentTableComponent_ng_template_1_div_0_div_4_Template","ViewComponentTableComponent_ng_template_1_div_0_Template","ViewComponentTableComponent_ng_template_7_th_3_a_1_Template_a_click_0_listener","field_r37","ViewComponentTableComponent_ng_template_7_th_3_a_1_Template","i_r38","ViewComponentTableComponent_ng_template_7_th_1_Template","ViewComponentTableComponent_ng_template_7_th_2_Template","ViewComponentTableComponent_ng_template_7_th_3_Template","ViewComponentTableComponent_ng_template_7_th_4_Template","checked_multiple","allow","ViewComponentTableComponent_ng_template_8_td_1_Template_p_tableCheckbox_click_1_listener","item_r43","selectedRowTable","ɵɵstyleProp","field_r53","bold_in_cell","getRowValue","action_r56","ViewComponentTableComponent_ng_template_8_td_4_span_2_a_1_Template_a_click_0_listener","ViewComponentTableComponent_ng_template_8_td_4_span_2_a_1_fa_icon_1_Template","ViewComponentTableComponent_ng_template_8_td_4_span_2_a_1_Template","ViewComponentTableComponent_ng_template_8_td_4_span_2_Template","ViewComponentTableComponent_ng_template_8_Template_tr_touchstart_0_listener","onTouchStart","ViewComponentTableComponent_ng_template_8_Template_tr_touchmove_0_listener","onTouchMove","ViewComponentTableComponent_ng_template_8_Template_tr_touchend_0_listener","onTouchEnd","ViewComponentTableComponent_ng_template_8_Template_tr_click_0_listener","ViewComponentTableComponent_ng_template_8_td_1_Template","ViewComponentTableComponent_ng_template_8_td_2_Template","ViewComponentTableComponent_ng_template_8_td_3_Template","ViewComponentTableComponent_ng_template_8_td_4_Template","index_r44","getHTMLIfEmpty","colspanIfEmpty","field_r75","ctx_r73","item_r71","action_r77","ViewComponentTableComponent_ng_template_13_span_6_a_1_Template_a_click_0_listener","ctx_r81","ViewComponentTableComponent_ng_template_13_span_6_a_1_fa_icon_1_Template","ViewComponentTableComponent_ng_template_13_span_6_a_1_Template","ctx_r74","ViewComponentTableComponent_ng_template_13_Template_tr_touchstart_0_listener","_r88","ctx_r87","ViewComponentTableComponent_ng_template_13_Template_tr_touchmove_0_listener","ctx_r89","ViewComponentTableComponent_ng_template_13_Template_tr_touchend_0_listener","ctx_r90","ViewComponentTableComponent_ng_template_13_Template_tr_click_0_listener","ViewComponentTableComponent_ng_template_13_div_3_Template","ViewComponentTableComponent_ng_template_13_span_6_Template","index_r72","allowedEntity_r93","ViewComponentTableComponent_ng_template_17_p_accordionTab_1_ng_template_2_div_1_div_1_Template_p_checkbox_ngModelChange_1_listener","_r102","field_r98","ViewComponentTableComponent_ng_template_17_p_accordionTab_1_ng_template_2_div_1_div_1_Template_p_checkbox_onChange_1_listener","ctx_r99","ViewComponentTableComponent_ng_template_17_p_accordionTab_1_ng_template_2_div_1_div_1_Template","ViewComponentTableComponent_ng_template_17_p_accordionTab_1_ng_template_2_div_1_Template","ctx_r95","ViewComponentTableComponent_ng_template_17_p_accordionTab_1_ng_template_1_Template","ViewComponentTableComponent_ng_template_17_p_accordionTab_1_ng_template_2_Template","ViewComponentTableComponent_ng_template_17_p_accordionTab_1_Template","ViewComponentTableComponent_ng_template_20_Template_input_ngModelChange_5_listener","_r108","ctx_r107","ViewComponentTableComponent_ng_template_20_Template_p_checkbox_ngModelChange_7_listener","ViewComponentTableComponent_ng_template_20_Template_p_dropdown_ngModelChange_14_listener","ctx_r110","ViewComponentTableComponent_ng_template_20_Template_button_click_16_listener","ctx_r111","touchMoved","columnResizeMode","rowsPerPageOptions","selectedRow","create_reports","catalogue_button","adjustCols","onResize","minColWidth","grid","el","parentElement","styles","getComputedStyle","fullWidth","clientWidth","parseFloat","paddingLeft","allColWidth","usedWidth","totalFieldNoWidth","adjustedSize","defaultFieldSize","autoSizeCols","excel","onlyText","paramsFromComponent","filterComponent","modelProperty","modelValue","auxSelectedRow","getExcelPrams","page","pageSize","excelParams","column","fieldValue","fDate","month","onColReorder","onColResize","getElementsByTagName","getAttribute","offsetWidth","messageIfEMpty","messageIfEmptyData","subtitle","link","img","onComponentEvent","ViewComponentTableComponent_Query","ɵɵresolveWindow","ViewComponentTableComponent_ng_template_1_Template","ViewComponentTableComponent_Template_p_table_onLazyLoad_4_listener","ViewComponentTableComponent_Template_p_table_onRowReorder_4_listener","ViewComponentTableComponent_Template_p_table_onColReorder_4_listener","ViewComponentTableComponent_Template_p_table_onColResize_4_listener","ViewComponentTableComponent_Template_p_table_selectionChange_4_listener","ViewComponentTableComponent_ng_template_7_Template","ViewComponentTableComponent_ng_template_8_Template","ViewComponentTableComponent_ng_template_9_Template","ViewComponentTableComponent_Template_p_table_onLazyLoad_10_listener","ViewComponentTableComponent_Template_p_table_onRowReorder_10_listener","ViewComponentTableComponent_Template_p_table_onColReorder_10_listener","ViewComponentTableComponent_Template_p_table_onColResize_10_listener","ViewComponentTableComponent_ng_template_13_Template","ViewComponentTableComponent_ng_template_14_Template","ViewComponentTableComponent_ng_template_17_Template","ViewComponentTableComponent_ng_template_20_Template","HttpHeaders","httpClient","contentHeader","getTranslation","lang","apiAddress","caught","placeStartIdx","placeEndIdx","selectedElement","lastColClass","onDragOver","onDrop","contains","addResizableHandler","onDragStart","removeResizableHandler","findElementIndex","elementRect","offsetX","src","dataTransfer","setDragImage","addPlaceIndicator","newWidth","baseCols","containerRect","colWidth","round","colClass","resize","moveDOMElement","removePlaceIndicator","findItemUnder","findElementByIndex","move","elementsWithIndicator","getElementsByClassName","oldElement","offset","ElementRef","transferArrayItem","ViewComponent_div_0_ng_template_3_div_0_p_dropdown_6_ng_template_3_div_4_span_2_Template","view_r18","ViewComponent_div_0_ng_template_3_div_0_p_dropdown_6_ng_template_3_div_5_Template_p_button_click_1_listener","ViewComponent_div_0_ng_template_3_div_0_p_dropdown_6_ng_template_3_div_6_label_2_Template","ViewComponent_div_0_ng_template_3_div_0_p_dropdown_6_ng_template_3_div_6_label_3_Template","ViewComponent_div_0_ng_template_3_div_0_p_dropdown_6_ng_template_3_div_6_div_4_Template","ViewComponent_div_0_ng_template_3_div_0_p_dropdown_6_ng_template_3_i_2_Template","ViewComponent_div_0_ng_template_3_div_0_p_dropdown_6_ng_template_3_div_4_Template","ViewComponent_div_0_ng_template_3_div_0_p_dropdown_6_ng_template_3_div_5_Template","ViewComponent_div_0_ng_template_3_div_0_p_dropdown_6_ng_template_3_div_6_Template","ViewComponent_div_0_ng_template_3_div_0_p_dropdown_6_Template_p_dropdown_ngModelChange_0_listener","ViewComponent_div_0_ng_template_3_div_0_p_dropdown_6_Template_p_dropdown_onChange_0_listener","ViewComponent_div_0_ng_template_3_div_0_p_dropdown_6_ng_template_2_Template","ViewComponent_div_0_ng_template_3_div_0_p_dropdown_6_ng_template_3_Template","ViewComponent_div_0_ng_template_3_div_0_p_dropdown_6_Template","ViewComponent_div_0_ng_template_3_div_2_a_6_Template_a_click_0_listener","ViewComponent_div_0_ng_template_3_div_2_a_6_Template","ViewComponent_div_0_ng_template_3_a_7_Template_a_click_0_listener","ViewComponent_div_0_ng_template_3_div_0_Template","ViewComponent_div_0_ng_template_3_div_2_Template","ViewComponent_div_0_ng_template_3_div_3_Template","ViewComponent_div_0_ng_template_3_label_5_Template","ViewComponent_div_0_ng_template_3_a_7_Template","isTemplate","ViewComponent_div_0_a_4_Template_a_click_0_listener","opToggle","ViewComponent_div_0_ng_template_3_Template","ViewComponent_div_0_a_4_Template","ViewComponent_div_1_div_1_span_1_i_4_Template_i_click_0_listener","quick_r48","clearfilter","ViewComponent_div_1_div_1_span_1_Template_input_ngModelChange_2_listener","ViewComponent_div_1_div_1_span_1_Template_input_keyup_enter_2_listener","reloadData","ViewComponent_div_1_div_1_span_1_i_4_Template","ViewComponent_div_1_div_1_span_1_Template","ViewComponent_div_1_a_2_Template_a_click_0_listener","ViewComponent_div_1_a_3_Template_a_click_0_listener","ViewComponent_div_1_a_4_Template_a_click_0_listener","componentFilter","action_r68","ctx_r72","ViewComponent_div_1_div_5_ng_container_1_a_1_Template_a_click_0_listener","_r77","ctx_r75","ViewComponent_div_1_div_5_ng_container_1_a_1_fa_icon_1_Template","ViewComponent_div_1_div_5_ng_container_1_a_1_br_4_Template","ViewComponent_div_1_div_5_ng_container_1_a_1_small_5_Template","ViewComponent_div_1_div_5_ng_container_1_a_1_Template","ViewComponent_div_1_div_5_ng_container_1_Template","ViewComponent_div_1_div_1_Template","ViewComponent_div_1_a_2_Template","ViewComponent_div_1_a_3_Template","ViewComponent_div_1_a_4_Template","ViewComponent_div_1_div_5_Template","ViewComponent_div_4_div_10_Template_p_dropdown_ngModelChange_4_listener","_r87","ctx_r86","ctx_r80","optionsMetadataTo","ViewComponent_div_4_div_11_p_checkbox_2_Template_p_checkbox_ngModelChange_0_listener","_r91","ViewComponent_div_4_div_11_label_1_Template","ViewComponent_div_4_div_11_p_checkbox_2_Template","ViewComponent_div_4_a_19_Template_a_click_0_listener","_r93","ctx_r92","ViewComponent_div_4_a_20_Template_a_click_0_listener","addComponent","ViewComponent_div_4_a_21_Template_a_click_0_listener","_r97","ctx_r96","ViewComponent_div_4_a_22_Template_a_click_0_listener","_r99","ctx_r98","ViewComponent_div_4_ng_template_3_Template","ViewComponent_div_4_Template_input_ngModelChange_9_listener","ViewComponent_div_4_div_10_Template","ViewComponent_div_4_div_11_Template","ViewComponent_div_4_Template_p_dropdown_ngModelChange_16_listener","ctx_r102","ViewComponent_div_4_Template_p_dropdown_onChange_16_listener","ViewComponent_div_4_a_19_Template","ViewComponent_div_4_a_20_Template","ViewComponent_div_4_a_21_Template","ViewComponent_div_4_a_22_Template","allowedComponents","ViewComponent_div_6_div_2_div_1_app_view_component_form_1_a_2_Template_fa_icon_click_1_listener","_r120","ctx_r121","component_r107","i_r108","col_r104","ctx_r118","removeComponent","ViewComponent_div_6_div_2_div_1_app_view_component_form_1_Template_app_view_component_form_onEvent_0_listener","_r123","ctx_r122","ViewComponent_div_6_div_2_div_1_app_view_component_form_1_a_2_Template","ViewComponent_div_6_div_2_div_1_app_view_component_form_1_Template_a_click_3_listener","opToggleTitle","viewForm","ViewComponent_div_6_div_2_div_1_app_view_component_table_2_a_2_Template_fa_icon_click_1_listener","_r131","ctx_r132","ctx_r129","ViewComponent_div_6_div_2_div_1_app_view_component_table_2_Template_app_view_component_table_onEvent_0_listener","_r134","ctx_r133","ViewComponent_div_6_div_2_div_1_app_view_component_table_2_a_2_Template","ViewComponent_div_6_div_2_div_1_app_view_component_table_2_Template_a_click_3_listener","ctx_r135","ViewComponent_div_6_div_2_div_1_app_view_component_card_3_a_2_Template_fa_icon_click_1_listener","_r142","ctx_r143","ViewComponent_div_6_div_2_div_1_app_view_component_card_3_Template_app_view_component_card_onEvent_0_listener","_r145","ViewComponent_div_6_div_2_div_1_app_view_component_card_3_a_2_Template","ViewComponent_div_6_div_2_div_1_app_view_component_card_3_Template_a_click_3_listener","ViewComponent_div_6_div_2_div_1_app_view_component_gallery_4_a_2_Template_fa_icon_click_1_listener","_r153","ctx_r154","ctx_r151","ViewComponent_div_6_div_2_div_1_app_view_component_gallery_4_Template_app_view_component_gallery_onEvent_0_listener","_r156","ViewComponent_div_6_div_2_div_1_app_view_component_gallery_4_a_2_Template","ctx_r113","ViewComponent_div_6_div_2_div_1_app_view_component_files_5_a_2_Template_fa_icon_click_1_listener","_r162","ViewComponent_div_6_div_2_div_1_app_view_component_files_5_Template_app_view_component_files_onEvent_0_listener","_r165","ctx_r164","ViewComponent_div_6_div_2_div_1_app_view_component_files_5_a_2_Template","ctx_r114","ViewComponent_div_6_div_2_div_1_app_view_component_custom_6_a_2_Template_fa_icon_click_1_listener","ctx_r172","ctx_r169","ViewComponent_div_6_div_2_div_1_app_view_component_custom_6_Template_app_view_component_custom_onEvent_0_listener","_r174","ctx_r173","ViewComponent_div_6_div_2_div_1_app_view_component_custom_6_a_2_Template","ViewComponent_div_6_div_2_div_1_app_view_component_custom_6_Template_a_click_3_listener","ctx_r115","selfView","ViewComponent_div_6_div_2_div_1_app_view_component_form_1_Template","ViewComponent_div_6_div_2_div_1_app_view_component_table_2_Template","ViewComponent_div_6_div_2_div_1_app_view_component_card_3_Template","ViewComponent_div_6_div_2_div_1_app_view_component_gallery_4_Template","ViewComponent_div_6_div_2_div_1_app_view_component_files_5_Template","ViewComponent_div_6_div_2_div_1_app_view_component_custom_6_Template","ViewComponent_div_6_div_2_div_1_Template","ctx_r105","ViewComponent_div_6_Template_div_cdkDropListDropped_0_listener","ViewComponent_div_6_div_2_Template","ViewComponent_div_6_div_3_Template","ViewComponent_div_7_Template_p_sidebar_visibleChange_1_listener","_r183","ViewComponent_div_7_ng_template_2_Template","ViewComponent_div_7_Template_app_view_component_filter_onEvent_3_listener","ViewComponent_ng_template_10_div_6_Template_p_checkbox_ngModelChange_1_listener","_r190","ctx_r189","ctx_r185","ViewComponent_ng_template_10_div_7_Template_p_checkbox_ngModelChange_1_listener","_r192","ctx_r191","ViewComponent_ng_template_10_div_8_p_checkbox_1_Template_p_checkbox_ngModelChange_0_listener","_r195","ctx_r194","ctx_r193","ViewComponent_ng_template_10_div_8_p_checkbox_1_Template","ctx_r187","showTrackingOption","ViewComponent_ng_template_10_div_9_Template_button_click_1_listener","_r197","ctx_r196","tableColumnsAdjust","ViewComponent_ng_template_10_Template_input_ngModelChange_5_listener","_r199","ctx_r198","ViewComponent_ng_template_10_div_6_Template","ViewComponent_ng_template_10_div_7_Template","ViewComponent_ng_template_10_div_8_Template","ViewComponent_ng_template_10_div_9_Template","viewOrig","suscription1","onEditViewChange","toogleConfigOptions","suscription2","onCreateViewChange","suscription3","getIfHasFiltersValues","view_meetings","hasFilters","itemChange","itemComponent","itemResize","previousContainer","saveView","tables","card","cards","gallery","galleries","custom","customs","forms","getComponent","getComponentForm","base_component_code","showComponentConfigOP","overlayVisible","getEntityFromComponent","capitalize","getViewCodeName","getViewIsFormEdit","getAllFormsFromViewValid","invalidsForm","filtersComponent","viewComponentTable","quick_filter_fields","quick_model_property","ViewComponent_Query","ViewComponent_div_0_Template","ViewComponent_div_1_Template","ViewComponent_div_4_Template","ViewComponent_div_6_Template","ViewComponent_div_7_Template","ViewComponent_ng_template_10_Template","registeredComponents","viewCache","getComponentConfiguration","founds","found","getPagesListenerEditView","column_r6","EntityHistoryLineComponent_div_2_ng_template_3_th_1_Template","getColumns","getValueFor","item_r7","tracking_message","EntityHistoryLineComponent_div_2_ng_template_4_td_1_Template","EntityHistoryLineComponent_div_2_ng_template_4_tr_2_Template","EntityHistoryLineComponent_div_2_Template_p_table_onLazyLoad_1_listener","loadHistory","EntityHistoryLineComponent_div_2_ng_template_3_Template","EntityHistoryLineComponent_div_2_ng_template_4_Template","history_data","event_r19","column_r25","column_r29","EntityHistoryLineComponent_div_3_div_3_div_8_div_1_Template","EntityHistoryLineComponent_div_3_div_3_div_8_div_2_Template","EntityHistoryLineComponent_div_3_div_3_Template_div_click_1_listener","toogleEvent","EntityHistoryLineComponent_div_3_div_3_span_3_Template","EntityHistoryLineComponent_div_3_div_3_span_4_Template","EntityHistoryLineComponent_div_3_div_3_fa_icon_6_Template","EntityHistoryLineComponent_div_3_div_3_fa_icon_7_Template","EntityHistoryLineComponent_div_3_div_3_div_8_Template","channel","is_opened","EntityHistoryLineComponent_div_3_div_1_Template","EntityHistoryLineComponent_div_3_div_3_Template","EntityHistoryLineComponent_div_3_Template_p_paginator_onPageChange_4_listener","onPageChange","have_tracking_notes","featured_entity_field_ids","getValueForIdx","EntityHistoryLineComponent_Query","EntityHistoryLineComponent_div_2_Template","EntityHistoryLineComponent_div_3_Template","PaginatorModule","getMonthlyPrice","report_r2","chart_type","dataGraph","basicOptions","HomeListComponent","reportService","selectedTimeModeTask","selectedTimeModeMeeting","dataOrganizations","dataTasks","colors1","scales","yAxes","ticks","beginAtZero","loadDataGraph","listGraphsHome","reports","hoverBackgroundColor","borderColor","fill","self","grouped2","g2","valres","randomColor","generateColor","entity_field_description","loadPrevOrNext","prev","viewTask","status_pending","home","timeMode","paramsString","viewReport","viewTransactions","reorderReport","reorderFavouriteReports","filterTasksByTime","filterMeetingsByTime","boxes","boxes2","boxes3","HomeListComponent_Query","HomeListComponent_Template_app_view_onEvent_8_listener","HomeListComponent_div_11_Template","HomeRoutingModule","ImportProgressbarComponent","ImportDetailComponent_div_6_label_11_Template_a_click_1_listener","downloadImport","import","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_div_7_p_dropdown_5_Template_p_dropdown_ngModelChange_0_listener","entity_r10","i_r11","import_mode","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_div_7_p_dropdown_6_Template_p_dropdown_ngModelChange_0_listener","import_mode2","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_div_7_p_dropdown_7_Template_p_dropdown_ngModelChange_0_listener","import_mode_only_link","element_r32","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_div_7_ng_template_13_div_0_Template","element_r37","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_div_7_div_15_Template_p_checkbox_ngModelChange_1_listener","ignore_null","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_div_7_p_dropdown_5_Template","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_div_7_p_dropdown_6_Template","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_div_7_p_dropdown_7_Template","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_div_7_Template_p_dropdown_ngModelChange_12_listener","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_div_7_Template_p_dropdown_onChange_12_listener","identificationsChanged","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_div_7_ng_template_13_Template","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_div_7_ng_template_14_Template","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_div_7_div_15_Template","isTransactionLines","alias","identifications","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_Template_p_checkbox_ngModelChange_3_listener","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_div_6_Template","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_div_7_Template","ImportDetailComponent_div_6_p_accordion_21_p_accordionTab_1_Template","ImportDetailComponent_div_6_Template_input_ngModelChange_6_listener","ImportDetailComponent_div_6_label_11_Template","ImportDetailComponent_div_6_Template_p_fileUpload_onError_12_listener","ImportDetailComponent_div_6_Template_p_fileUpload_onUpload_12_listener","ImportDetailComponent_div_6_Template_p_dropdown_onChange_18_listener","ImportDetailComponent_div_6_Template_p_dropdown_ngModelChange_18_listener","ImportDetailComponent_div_6_p_accordion_21_Template","ImportDetailComponent_div_7_p_accordion_2_p_accordionTab_1_ng_template_7_input_8_Template_input_ngModelChange_0_listener","item_r63","ImportDetailComponent_div_7_p_accordion_2_p_accordionTab_1_ng_template_7_p_dropdown_9_Template_p_dropdown_ngModelChange_0_listener","_r76","getOptionsData","ImportDetailComponent_div_7_p_accordion_2_p_accordionTab_1_ng_template_7_app_view_component_datetime_13_Template_app_view_component_datetime_ngModelChange_0_listener","ImportDetailComponent_div_7_p_accordion_2_p_accordionTab_1_ng_template_7_input_14_Template_input_ngModelChange_0_listener","_r84","ImportDetailComponent_div_7_p_accordion_2_p_accordionTab_1_ng_template_7_p_checkbox_15_Template_p_checkbox_ngModelChange_0_listener","ImportDetailComponent_div_7_p_accordion_2_p_accordionTab_1_ng_template_7_small_3_Template","ImportDetailComponent_div_7_p_accordion_2_p_accordionTab_1_ng_template_7_Template_p_dropdown_ngModelChange_5_listener","ImportDetailComponent_div_7_p_accordion_2_p_accordionTab_1_ng_template_7_input_8_Template","ImportDetailComponent_div_7_p_accordion_2_p_accordionTab_1_ng_template_7_p_dropdown_9_Template","ImportDetailComponent_div_7_p_accordion_2_p_accordionTab_1_ng_template_7_Template_p_multiSelect_ngModelChange_11_listener","ImportDetailComponent_div_7_p_accordion_2_p_accordionTab_1_ng_template_7_app_view_component_datetime_13_Template","ImportDetailComponent_div_7_p_accordion_2_p_accordionTab_1_ng_template_7_input_14_Template","ImportDetailComponent_div_7_p_accordion_2_p_accordionTab_1_ng_template_7_p_checkbox_15_Template","is_required","is_required_aux","headersColumn","showHideCustomOptions","filterValuesOptions","ImportDetailComponent_div_7_p_accordion_2_p_accordionTab_1_ng_template_6_Template","ImportDetailComponent_div_7_p_accordion_2_p_accordionTab_1_ng_template_7_Template","entityAllowed_r59","getEntityInfo","getValueFilterBy","ImportDetailComponent_div_7_p_accordion_2_p_accordionTab_1_Template","ImportDetailComponent_div_7_ng_template_1_Template","ImportDetailComponent_div_7_p_accordion_2_Template","ImportDetailComponent_div_8_Template_p_messages_valueChange_1_listener","_r94","ctx_r93","msgs_resume","ImportDetailComponent_div_8_Template_p_messages_valueChange_2_listener","msgs_resume_confirm","ImportDetailComponent_ng_template_9_button_1_Template_button_click_0_listener","_r100","prevStep","ImportDetailComponent_ng_template_9_button_3_Template_button_click_0_listener","ctx_r101","nextStep","ImportDetailComponent_ng_template_9_button_4_Template_button_click_0_listener","_r104","disabledImportButton","ImportDetailComponent_ng_template_9_button_1_Template","ImportDetailComponent_ng_template_9_button_3_Template","ImportDetailComponent_ng_template_9_button_4_Template","activeIndex","ImportDetailComponent","importService","totallines","headersColumnAux","temporalCombo","listFieldsMandatories","filterValuesOptionsMultiselects","select","loadColumns","readColumns","status_total_lines","ent","getValueType","valueTypes","valueType","filterOptions","for_import","entities2","import_mode_custom","importMode","importType","traduccion","identificationsEntities","entityFieldsIds","others","concat","exist","principal","identificationsEntitiesPrincipal","columnselected","getImportAllowedEntities","processingInfo","popupConfirmProcessing","saveData","summarize","stringMessage","textcreate","onlyLink","insert","updates","saveImport","messageResume","message1","madatoriesChecked","mandatoriesAndNotValue","mandatoriesAndNotValueInfo","redirect","closepopup","importFile","ImportService","ImportDetailComponent_Query","ImportDetailComponent_Template_p_steps_activeIndexChange_3_listener","ImportDetailComponent_div_6_Template","ImportDetailComponent_div_7_Template","ImportDetailComponent_div_8_Template","ImportDetailComponent_ng_template_9_Template","checkIfProcessing","status_total","timeoutID","ImportProgressbarComponent_Template","ImportProgressbarComponent_Template_button_click_6_listener","ImportListComponent_ng_template_14_Template_a_click_4_listener","ImportListComponent_ng_template_14_Template_a_click_7_listener","ImportListComponent_ng_template_22_Template_a_click_4_listener","import_r10","status_line","ImportListComponent_ng_template_27_button_17_Template_button_click_0_listener","openInfo","ImportListComponent_ng_template_27_button_18_Template_button_click_0_listener","ImportListComponent_ng_template_27_button_19_Template_button_click_0_listener","ImportListComponent_ng_template_27_span_2_Template","ImportListComponent_ng_template_27_span_3_Template","ImportListComponent_ng_template_27_span_4_Template","ImportListComponent_ng_template_27_span_5_Template","ImportListComponent_ng_template_27_span_6_Template","ImportListComponent_ng_template_27_button_17_Template","ImportListComponent_ng_template_27_button_18_Template","ImportListComponent_ng_template_27_button_19_Template","ImportListComponent_ng_template_27_Template_button_click_20_listener","duplicate","ImportListComponent_ng_template_27_Template_button_click_24_listener","ImportListComponent_ng_template_27_Template_button_click_28_listener","importId","importElement","importData","ImportListComponent_Query","ImportListComponent_ng_template_14_Template","ImportListComponent_Template_input_ngModelChange_20_listener","ImportListComponent_ng_template_22_Template","ImportListComponent_Template_p_table_onLazyLoad_23_listener","ImportListComponent_ng_template_26_Template","ImportListComponent_ng_template_27_Template","ImportRoutingModule","StepsModule","loadDataFromCsv","LeadsDetailComponent","contactService","LeadsDetailComponent_Query","LeadsDetailComponent_Template_app_view_onEvent_29_listener","LeadstaskComponent","LeadsListComponent","leadsFilters","viewLead","lead","deleteLead","lead_status","createTaskAndAddAsContact","selectedContacts","contactsIds","deleteMultiple","discardMultiple","LeadsListComponent_Query","LeadsListComponent_li_10_Template","LeadsListComponent_Template_app_view_onEvent_11_listener","LeadsRoutingModule","ProcessLeadsMessageErrorComponent","getInfoTypeProcessOptions","LeadstaskComponent_div_38_Template_p_dropdown_ngModelChange_4_listener","organization_responsible_id","LeadstaskComponent_div_39_Template_p_dropdown_ngModelChange_4_listener","result_r14","fulladdress","LeadstaskComponent_div_40_ng_template_6_div_3_Template","subtitle_label","LeadstaskComponent_div_40_Template_p_autoComplete_ngModelChange_4_listener","LeadstaskComponent_div_40_Template_p_autoComplete_completeMethod_4_listener","LeadstaskComponent_div_40_Template_p_autoComplete_onSelect_4_listener","changeOrg","LeadstaskComponent_div_40_ng_template_6_Template","selectedOrganization","LeadstaskComponent_div_41_div_4_Template","LeadstaskComponent_div_41_div_5_Template","LeadstaskComponent_div_42_div_4_Template","LeadstaskComponent_div_42_div_5_Template","LeadstaskComponent_div_43_Template_button_click_1_listener","LeadstaskComponent_div_43_Template_button_click_4_listener","saveTask","taskService","hasZonesRead","nowMultiple","ceil","task_action_scheduled_date","responsible_user_id","type_process_organization","organizationName","addContactMultipleAndCreateTask","processedContacts","message_error","total_processed","encountered_contact","open_message_error","processed_contacts","LeadstaskComponent_Query","LeadstaskComponent_ng_template_1_Template","LeadstaskComponent_Template_p_dropdown_ngModelChange_7_listener","LeadstaskComponent_Template_input_ngModelChange_12_listener","LeadstaskComponent_Template_app_view_component_datetime_ngModelChange_17_listener","LeadstaskComponent_Template_p_dropdown_ngModelChange_22_listener","LeadstaskComponent_Template_p_dropdown_ngModelChange_27_listener","LeadstaskComponent_ng_template_30_Template","LeadstaskComponent_Template_p_dropdown_ngModelChange_36_listener","LeadstaskComponent_div_37_Template","LeadstaskComponent_div_38_Template","LeadstaskComponent_div_39_Template","LeadstaskComponent_div_40_Template","LeadstaskComponent_div_41_Template","LeadstaskComponent_div_42_Template","LeadstaskComponent_div_43_Template","contact_r1","already_processed_contacts","ProcessLeadsMessageErrorComponent_Template","ProcessLeadsMessageErrorComponent_p_5_Template","onStateChange","setLoggedState","returnUrl","ForgetPasswordComponent","loginData","reset_password","username","resetPassword","ForgetPasswordComponent_Template","ForgetPasswordComponent_Template_input_ngModelChange_4_listener","ForgetPasswordComponent_Template_input_ngModelChange_8_listener","ForgetPasswordComponent_div_9_Template","ForgetPasswordComponent_Template_button_click_12_listener","ForgetPasswordComponent_Template_button_click_13_listener","updateService","auth_token","returnParam","remember","onMessage","properties","login","queryParamMap","loginByToken","processLoginResponse","postMessage","loadedCompanyId","loadedUserId","expires","forgotPassword","roleId","getUserSubordinatesIdsAndZonesIds","dataUser","userdata","userSubordinatesIds","userZonesIds","db","forget_password","UpdateService","hostBindings","LoginComponent_HostBindings","LoginComponent_Template_input_ngModelChange_16_listener","LoginComponent_Template_input_ngModelChange_21_listener","LoginComponent_Template_input_keyup_enter_21_listener","LoginComponent_Template_p_password_ngModelChange_26_listener","LoginComponent_Template_p_password_keyup_enter_26_listener","LoginComponent_Template_p_checkbox_ngModelChange_28_listener","LoginComponent_Template_p_button_click_33_listener","LoginComponent_Template_a_click_36_listener","PageNotFoundComponent","LoginChangeComponent","LoginRoutingModule","Md5","checkLoadedSession","checkToken","language_code","md5","appendStr","disableComercialComunications","feature","notificateChange","for_clean_session","componentEntity","responsible_2_id","sUserSubordinatesIds","sUserZonesIds","UserOnlyOneZone","isUserInAnyZone","intersection","isUserInAnyRole","userRoleId","isUserInUserList","logedCompanyId","logedUserId","PageNotFoundComponent_Template","LoginChangeComponent_Template","LoginChangeComponent_Template_p_button_click_13_listener","MailMarketingSendComponent","MailMarketingTestComponent","MailMarketingListComponent_a_19_Template_a_click_0_listener","MailMarketingListComponent_a_20_Template_a_click_0_listener","notificationsEmail_r10","error_tos","MailMarketingListComponent_ng_template_25_p_button_21_Template_p_button_click_0_listener","MailMarketingListComponent_ng_template_25_p_button_22_Template_p_button_click_0_listener","duplicateAndSend","MailMarketingListComponent_ng_template_25_p_button_23_Template_p_button_click_0_listener","cancelMail","MailMarketingListComponent_ng_template_25_button_24_Template_button_click_0_listener","mailchimpDashboard","MailMarketingListComponent_ng_template_25_button_25_Template_button_click_0_listener","mailjetDashboard","MailMarketingListComponent_ng_template_25_Template_tr_dblclick_0_listener","MailMarketingListComponent_ng_template_25_td_14_Template","MailMarketingListComponent_ng_template_25_td_15_Template","MailMarketingListComponent_ng_template_25_Template_button_click_17_listener","MailMarketingListComponent_ng_template_25_Template_p_button_click_19_listener","sendTest","MailMarketingListComponent_ng_template_25_p_button_21_Template","MailMarketingListComponent_ng_template_25_p_button_22_Template","MailMarketingListComponent_ng_template_25_p_button_23_Template","MailMarketingListComponent_ng_template_25_button_24_Template","MailMarketingListComponent_ng_template_25_button_25_Template","getstatus","getType","sent_tos","totals_tos","external_id","MailMarketingListComponent_div_26_Template_p_sidebar_visibleChange_1_listener","MailMarketingListComponent_div_26_ng_template_2_Template","MailMarketingListComponent_div_26_Template_a_click_5_listener","MailMarketingListComponent_div_26_Template_a_click_10_listener","MailMarketingListComponent_div_26_Template_input_ngModelChange_18_listener","MailMarketingListComponent_div_26_Template_input_keyup_enter_18_listener","MailMarketingListComponent_div_26_Template_p_dropdown_ngModelChange_23_listener","MailMarketingListComponent","not_type","notificationsEmails","notificationId","duplicateMail","sent_status_string","pending_status_string","waiting_status_string","programmed_status_string","error_status_string","default_status_string","MailMarketingListComponent_Query","MailMarketingListComponent_a_19_Template","MailMarketingListComponent_a_20_Template","MailMarketingListComponent_Template_p_table_onLazyLoad_22_listener","MailMarketingListComponent_ng_template_24_Template","MailMarketingListComponent_ng_template_25_Template","MailMarketingListComponent_div_26_Template","notificationToStat_r3","MailMarketingNotificationToStatsComponent_ng_template_27_a_7_Template_a_click_0_listener","openUrl","MailMarketingNotificationToStatsComponent_ng_template_27_Template_tr_dblclick_0_listener","MailMarketingNotificationToStatsComponent_ng_template_27_div_4_Template","MailMarketingNotificationToStatsComponent_ng_template_27_div_5_Template","MailMarketingNotificationToStatsComponent_ng_template_27_a_7_Template","notificationTo","notificationEmails","last_time_opened","notificationStatsService","notificationToStatsFilters","sentMails","openedMails","nClicks","notificationToStats","times_open","notificationLink","notificationToStat","NotificationStatsService","MailMarketingNotificationToStatsComponent_Template","MailMarketingNotificationToStatsComponent_Template_p_table_onLazyLoad_23_listener","MailMarketingNotificationToStatsComponent_ng_template_26_Template","MailMarketingNotificationToStatsComponent_ng_template_27_Template","MailMarketingRoutingModule","MailMarketingSendComponent_div_10_Template_p_calendar_ngModelChange_1_listener","schedules","schedule","markToSend","MailMarketingSendComponent_Template","MailMarketingSendComponent_Template_p_dropdown_ngModelChange_8_listener","MailMarketingSendComponent_div_10_Template","MailMarketingSendComponent_Template_button_click_13_listener","MailMarketingSendComponent_Template_button_click_15_listener","MailMarketingTestComponent_button_9_Template_button_click_0_listener","marketingTest","notification","MailMarketingTestComponent_Template","MailMarketingTestComponent_Template_input_ngModelChange_5_listener","MailMarketingTestComponent_div_6_Template","MailMarketingTestComponent_button_9_Template","MailMarketingTestComponent_Template_button_click_10_listener","MailingAttachmentsComponent_p_accordionTab_2_div_4_Template_p_checkbox_ngModelChange_1_listener","selectedAttachments","item_r3","MailingAttachmentsComponent_p_accordionTab_2_div_4_Template","attach_r1","getAttachments","MailingAttachmentsComponent","attachments","loadAttachments","show_in_axial_files","selectAttachemnts","resultAttach","existAttach","MailingAttachmentsComponent_Template","MailingAttachmentsComponent_p_accordionTab_2_Template","MailingAttachmentsComponent_Template_button_click_5_listener","MailingAttachmentsComponent_Template_button_click_7_listener","MailingToDetailComponent","UsersSearcherComponent","getUrl","file_r6","getUrlIcon","countSentsMessages","total_tos","MailingDetailComponent_p_tabView_0_p_tabPanel_32_ng_template_1_div_3_Template","notificationTo_r14","MailingDetailComponent_p_tabView_0_p_tabPanel_32_ng_template_17_Template_tr_dblclick_0_listener","viewInfo","MailingDetailComponent_p_tabView_0_p_tabPanel_32_ng_template_17_div_7_Template","MailingDetailComponent_p_tabView_0_p_tabPanel_32_ng_template_17_div_8_Template","MailingDetailComponent_p_tabView_0_p_tabPanel_32_ng_template_17_Template_a_click_10_listener","getState","recipient_type","mails","MailingDetailComponent_p_tabView_0_p_tabPanel_32_ng_template_1_Template","MailingDetailComponent_p_tabView_0_p_tabPanel_32_Template_p_dropdown_ngModelChange_7_listener","notificationsToFilters","MailingDetailComponent_p_tabView_0_p_tabPanel_32_Template_p_dropdown_onChange_7_listener","MailingDetailComponent_p_tabView_0_p_tabPanel_32_Template_input_ngModelChange_13_listener","MailingDetailComponent_p_tabView_0_p_tabPanel_32_Template_input_keyup_13_listener","MailingDetailComponent_p_tabView_0_p_tabPanel_32_ng_template_16_Template","MailingDetailComponent_p_tabView_0_p_tabPanel_32_ng_template_17_Template","MailingDetailComponent_p_tabView_0_p_tabPanel_32_ng_template_18_Template","statusOptions","notificationsTo","item_r33","MailingDetailComponent_p_tabView_0_p_tabPanel_33_ng_template_5_tr_0_Template_tr_dblclick_0_listener","notificationTo_r30","MailingDetailComponent_p_tabView_0_p_tabPanel_33_ng_template_5_tr_0_Template_p_dropdown_ngModelChange_4_listener","MailingDetailComponent_p_tabView_0_p_tabPanel_33_ng_template_5_tr_0_Template_p_dropdown_onChange_4_listener","onChangeOrganization","MailingDetailComponent_p_tabView_0_p_tabPanel_33_ng_template_5_tr_0_Template_p_dropdown_onFilter_4_listener","onOrganizationFilter","MailingDetailComponent_p_tabView_0_p_tabPanel_33_ng_template_5_tr_0_Template_p_dropdown_ngModelChange_7_listener","MailingDetailComponent_p_tabView_0_p_tabPanel_33_ng_template_5_tr_0_Template_p_dropdown_onChange_7_listener","onChangeContact","MailingDetailComponent_p_tabView_0_p_tabPanel_33_ng_template_5_tr_0_ng_template_9_Template","MailingDetailComponent_p_tabView_0_p_tabPanel_33_ng_template_5_tr_0_Template_p_button_click_11_listener","discardNotificationTo","MailingDetailComponent_p_tabView_0_p_tabPanel_33_ng_template_5_tr_0_Template","MailingDetailComponent_p_tabView_0_p_tabPanel_33_ng_template_4_Template","MailingDetailComponent_p_tabView_0_p_tabPanel_33_ng_template_5_Template","MailingDetailComponent_p_tabView_0_p_tabPanel_33_ng_template_6_Template","MailingDetailComponent_p_tabView_0_p_tabPanel_33_Template_button_click_8_listener","allNotificationsAssigned","campaign_r53","MailingDetailComponent_p_tabView_0_p_tabPanel_34_Template_button_click_2_listener","_r55","addCampaigns","MailingDetailComponent_p_tabView_0_p_tabPanel_34_ng_template_5_Template","MailingDetailComponent_p_tabView_0_p_tabPanel_34_ng_template_6_Template","MailingDetailComponent_p_tabView_0_div_29_Template","MailingDetailComponent_p_tabView_0_p_tabPanel_32_Template","MailingDetailComponent_p_tabView_0_p_tabPanel_33_Template","MailingDetailComponent_p_tabView_0_p_tabPanel_34_Template","resendMail","campaignPermission","MailingDetailComponent_div_1_div_4_Template_p_dropdown_ngModelChange_4_listener","_r65","MailingDetailComponent_div_1_div_4_Template_p_dropdown_onChange_4_listener","loadTemplateValue","MailingDetailComponent_div_1_div_4_Template_p_dropdown_onFilter_4_listener","customFilterFunction","disableFields","MailingDetailComponent_div_1_a_18_Template_a_click_0_listener","_r69","changeCCCblock","MailingDetailComponent_div_1_a_19_Template_a_click_0_listener","MailingDetailComponent_div_1_div_24_Template_a_click_4_listener","_r73","openUsersSearcher","MailingDetailComponent_div_1_div_24_Template_p_autoComplete_ngModelChange_7_listener","ccc","MailingDetailComponent_div_1_div_24_Template_p_autoComplete_completeMethod_7_listener","MailingDetailComponent_div_1_div_25_Template_a_click_4_listener","ctx_r76","MailingDetailComponent_div_1_div_25_Template_p_autoComplete_ngModelChange_7_listener","bcc","MailingDetailComponent_div_1_div_25_Template_p_autoComplete_completeMethod_7_listener","ctx_r79","MailingDetailComponent_div_1_div_35_Template_editor_ngModelChange_1_listener","_r82","MailingDetailComponent_div_1_ng_template_41_div_0_div_1_Template_a_click_2_listener","file_r85","i_r86","MailingDetailComponent_div_1_ng_template_41_div_0_div_1_i_3_Template","ctx_r84","MailingDetailComponent_div_1_ng_template_41_div_0_div_1_Template","ctx_r83","MailingDetailComponent_div_1_ng_template_41_div_0_Template","errorText","MailingDetailComponent_div_1_div_4_Template","MailingDetailComponent_div_1_Template_a_click_9_listener","openEditUser","MailingDetailComponent_div_1_Template_p_dropdown_ngModelChange_12_listener","mail_account_id","MailingDetailComponent_div_1_a_18_Template","MailingDetailComponent_div_1_a_19_Template","MailingDetailComponent_div_1_Template_a_click_20_listener","MailingDetailComponent_div_1_Template_p_autoComplete_ngModelChange_23_listener","MailingDetailComponent_div_1_Template_p_autoComplete_completeMethod_23_listener","MailingDetailComponent_div_1_div_24_Template","MailingDetailComponent_div_1_div_25_Template","MailingDetailComponent_div_1_Template_input_ngModelChange_30_listener","MailingDetailComponent_div_1_div_35_Template","MailingDetailComponent_div_1_Template_p_fileUpload_onError_40_listener","MailingDetailComponent_div_1_Template_p_fileUpload_onUpload_40_listener","MailingDetailComponent_div_1_ng_template_41_Template","MailingDetailComponent_div_1_Template_p_button_click_42_listener","uploadAxial","MailingDetailComponent_div_1_div_44_Template","MailingDetailComponent_div_1_Template_button_click_46_listener","sendEmail","emails","showCCCblock","showEditor","userMailAccountsService","searchResultsBCC","entities_ids","firstLoad","notificationsToManaged","searchTextOrg","filtersTemplates","tos","cccs","bccs","toInfo","filteredTemplates","emailsSignature","iframeSrc","getUsersSignatureEmail","userHtml","meeting_users","notification_to_id","String","loadToInformation","loadEmails","loadEmail","loadNotificationsTo","loadMailingAttachments","loadRelatedEntities","selector","fullPage","external_plugins","fullpage","content","iframe","contentDocument","regex","RegExp","loadMailTos","srcImage","notification_email_id","allNotificationsTo","searchOrganizations","nt","countNotificationsToManaged","getNotificationTo","related_entities_ids","styleStartIdx","styleEndIdx","content_style","preserveTextFormat","f","discarded_status_string","destiny","viewAll","usersSearcherResults","temp_emails","finalMails","onlyUnique","saveNotificationsTo","not","filterTemplates","resetFunction","reset","UserMailAccountsService","i21","MailingDetailComponent_Query","MailingDetailComponent_p_tabView_0_Template","MailingDetailComponent_div_1_Template","notificationStat_r7","notificationAttachment","MailingToDetailComponent_div_22_ng_template_3_td_3_Template","MailingToDetailComponent_div_22_ng_template_3_td_4_Template","first_time_opened","MailingToDetailComponent_div_22_ng_template_2_Template","MailingToDetailComponent_div_22_ng_template_3_Template","MailingToDetailComponent_div_22_ng_template_4_Template","notificationStats","loadNotificationTo","loadNotificationStats","allNotificationsStats","MailingToDetailComponent_Template","MailingToDetailComponent_div_19_Template","MailingToDetailComponent_div_20_Template","MailingToDetailComponent_div_21_Template","MailingToDetailComponent_div_22_Template","ChipsModule","UsersSearcherComponent_div_0_ng_template_6_Template_p_checkbox_ngModelChange_2_listener","resultsEmails","contact_r5","UsersSearcherComponent_div_0_ng_template_5_Template","UsersSearcherComponent_div_0_ng_template_6_Template","UsersSearcherComponent_div_1_ng_template_7_Template_p_checkbox_ngModelChange_2_listener","user_r10","UsersSearcherComponent_div_1_ng_template_6_Template","UsersSearcherComponent_div_1_ng_template_7_Template","UsersSearcherComponent_div_2_ng_template_7_Template_p_checkbox_ngModelChange_2_listener","other_r15","UsersSearcherComponent_div_2_Template_p_autoComplete_ngModelChange_4_listener","UsersSearcherComponent_div_2_Template_p_autoComplete_completeMethod_4_listener","UsersSearcherComponent_div_2_Template_p_autoComplete_onSelect_4_listener","addElementToArray","UsersSearcherComponent_div_2_ng_template_6_Template","UsersSearcherComponent_div_2_ng_template_7_Template","existingEmails","usersFilters","u","emailSearch","activated","UsersSearcherComponent_Template","UsersSearcherComponent_div_0_Template","UsersSearcherComponent_div_1_Template","UsersSearcherComponent_div_2_Template","UsersSearcherComponent_Template_button_click_4_listener","UsersSearcherComponent_Template_button_click_6_listener","GoogleMap","MapInfoWindow","MapsDetailComponent_map_marker_4_Template_map_marker_mapDragend_0_listener","marker_r2","onDragend","geocoder","MapsDetailComponent","markerPositions","lat","lng","zoom","loadMap","markerDrag","overlay","geocodePosition","google","maps","Geocoder","geocode","address","postal_code","city","geometry","org","marker","Marker","draggable","animation","Animation","DROP","setDraggable","generateInfoWindow","infoWindowContent","webpage","phone_1","phone_2","infoContent","infoWindow","closeInfoWindow","MapsDetailComponent_Query","MapsDetailComponent_div_1_Template","MapsDetailComponent_map_marker_4_Template","MapsDetailComponent_Template_p_button_click_8_listener","GoogleMapsModule","emailsFilters","getOrganization","getContact","MailInOutListComponent_Query","MailInOutListComponent_li_10_Template","MailInOutListComponent_li_11_Template","MailInOutListComponent_li_12_Template","MailInOutListComponent_li_13_Template","MailInOutListComponent_li_14_Template","MailInOutListComponent_li_15_Template","MailInOutListComponent_Template_app_view_onEvent_21_listener","NotificationsInComponent_ng_template_41_Template_tr_dblclick_0_listener","notification_r4","NotificationsInComponent_ng_template_41_Template_a_click_11_listener","NotificationsInComponent_ng_template_41_Template_a_click_13_listener","NotificationsInComponent","mailAccountService","notificationsFilters","notifications","mailTos","loadMailAccounts","NotificationsInComponent_Template","NotificationsInComponent_Template_input_ngModelChange_20_listener","NotificationsInComponent_Template_input_ngModelChange_25_listener","NotificationsInComponent_Template_p_dropdown_ngModelChange_30_listener","NotificationsInComponent_Template_p_button_click_33_listener","NotificationsInComponent_Template_p_button_click_34_listener","NotificationsInComponent_ng_template_36_Template","NotificationsInComponent_Template_p_table_onLazyLoad_37_listener","NotificationsInComponent_ng_template_40_Template","NotificationsInComponent_ng_template_41_Template","NotificationsListComponent_ng_template_24_Template_a_click_4_listener","NotificationsListComponent_ng_template_24_Template_a_click_7_listener","NotificationsListComponent_div_32_Template_p_dropdown_ngModelChange_4_listener","NotificationsListComponent_ng_template_56_Template_tr_dblclick_0_listener","notificationsEmail_r11","NotificationsListComponent_ng_template_56_Template_a_click_11_listener","NotificationsListComponent_ng_template_56_Template_a_click_13_listener","searchOrganizationsFilters","allNotifications","loadNotificationsTO","notificationsEmail","real_send_date","searchOrganization","changeOrganization","NotificationsListComponent_Query","NotificationsListComponent_ng_template_24_Template","NotificationsListComponent_Template_p_dropdown_ngModelChange_30_listener","NotificationsListComponent_Template_p_dropdown_onChange_30_listener","NotificationsListComponent_Template_p_dropdown_onFilter_30_listener","NotificationsListComponent_div_32_Template","NotificationsListComponent_Template_input_ngModelChange_37_listener","NotificationsListComponent_Template_input_ngModelChange_42_listener","NotificationsListComponent_Template_p_dropdown_ngModelChange_47_listener","NotificationsListComponent_ng_template_51_Template","NotificationsListComponent_Template_p_table_onLazyLoad_52_listener","NotificationsListComponent_ng_template_55_Template","NotificationsListComponent_ng_template_56_Template","NotificationsRoutingModule","saveNotificationTo","notificationTos","loadStatsOpportunities","statsOpportunities","loadBasicDataMonths","anyo","monthLabels","basicDataMonths","sumMonths","horizontalOptionsMonths","indexAxis","tooltips","callbacks","tooltipItem","OpportunitiesMonthsWidgetComponent_Template","transactionService","pipelinesOpportunities","loadBasicData","sumByStatus","horizontalOptions","OpportunitiesTotalPipelineComponent_Query","OpportunitiesTotalPipelineComponent_Template_p_chart_click_1_listener","OpportunitiesTotalPipelineComponent_Template_p_chart_onEvent_1_listener","basicDataYears","sumYears","horizontalOptionsYears","OpportunitiesWidgetComponent_Query","changeOrganizationAndSave","addAndLinkTask","OrganizationsContactsDetailComponent_li_20_Template_a_click_1_listener","navigateToListFilteredByOrganization","confirmMoveData","unlinkCampaign","openCampaign","OrganizationsContactsDetailComponent_Query","OrganizationsContactsDetailComponent_li_20_Template","OrganizationsContactsDetailComponent_li_21_Template","OrganizationsContactsDetailComponent_Template_app_view_onEvent_27_listener","OrganizationsContactsViewComponent_ng_template_1_Template_a_click_4_listener","OrganizationsContactsViewComponent_ng_template_8_Template_tr_dblclick_0_listener","contact_r6","OrganizationsContactsViewComponent_ng_template_8_Template_a_click_12_listener","OrganizationsContactsViewComponent_ng_template_8_Template_a_click_14_listener","surname","lastname","OrganizationsContactsViewComponent","contactParams","OrganizationsContactsViewComponent_Query","OrganizationsContactsViewComponent_ng_template_1_Template","OrganizationsContactsViewComponent_Template_p_table_onLazyLoad_4_listener","OrganizationsContactsViewComponent_ng_template_7_Template","OrganizationsContactsViewComponent_ng_template_8_Template","loadResponsibles","loadorganizationsTypes","organizations_types","saveDB","OrganizationsDetailGeneralComponent_Query","OrganizationsDetailGeneralComponent_Template_app_view_onEvent_0_listener","OrganizationsDetailComponent","vat_country_id","vatCountry","origin_id","sector_id","responsible_2","OrganizationsDetailComponent_Template","OrganizationsDetailComponent_div_3_Template","MeetingsUsersService","sendInvitations","UserCalendarComponent","OrganizationsMeetingsDetailComponent_a_16_Template_a_click_0_listener","navigateCalendarFiltered","result_r17","OrganizationsMeetingsDetailComponent_div_34_Template_p_autoComplete_ngModelChange_3_listener","OrganizationsMeetingsDetailComponent_div_34_Template_p_autoComplete_completeMethod_3_listener","OrganizationsMeetingsDetailComponent_div_34_Template_p_autoComplete_onSelect_3_listener","addEntitySearch","OrganizationsMeetingsDetailComponent_div_34_ng_template_4_Template","OrganizationsMeetingsDetailComponent_ng_template_41_a_7_Template_a_click_0_listener","index_r22","deleteMeetingUser","OrganizationsMeetingsDetailComponent_ng_template_41_a_7_Template","selectedUser_r23","disabledMeeting","OrganizationsMeetingsDetailComponent_div_45_Template_button_click_1_listener","openCalendar","OrganizationsMeetingsDetailComponent_p_button_48_Template_p_button_onClick_0_listener","OrganizationsMeetingsDetailComponent_p_button_52_Template_p_button_onClick_0_listener","OrganizationsMeetingsDetailComponent_p_button_53_Template_p_button_onClick_0_listener","meetingsUsersService","task_id","externalUser","canOpenCalendar","dateInterval","lastDate","elementos","deleteMeeting","numb","loadDataMeetingStates","loadDataResponsibles","userCalendarComponent","loadDataContacts","contacts_options","getSelectUsers","meetingStates","val","meetingUserIds","selectUsers","getUserName","addUser","spliceado","deleteExternalUser","selectedUser","updateTo","fecha","notes","transaction_id","prepareEmailsToSend","viewAttachment","skip_contacts_without_email","p","updateDateTo","emailExists","meeting_users_emails","meeting_users_contacts_ids","contact_email","meeting_date_from","fechaTo","OrganizationsMeetingsDetailComponent_Query","OrganizationsMeetingsDetailComponent_li_8_Template","OrganizationsMeetingsDetailComponent_li_9_Template","OrganizationsMeetingsDetailComponent_li_10_Template","OrganizationsMeetingsDetailComponent_li_11_Template","OrganizationsMeetingsDetailComponent_a_15_Template","OrganizationsMeetingsDetailComponent_a_16_Template","OrganizationsMeetingsDetailComponent_Template_app_view_onEvent_24_listener","OrganizationsMeetingsDetailComponent_Template_p_dropdown_ngModelChange_33_listener","OrganizationsMeetingsDetailComponent_div_34_Template","OrganizationsMeetingsDetailComponent_Template_p_button_onClick_36_listener","OrganizationsMeetingsDetailComponent_ng_template_40_Template","OrganizationsMeetingsDetailComponent_ng_template_41_Template","OrganizationsMeetingsDetailComponent_div_45_Template","OrganizationsMeetingsDetailComponent_p_button_48_Template","OrganizationsMeetingsDetailComponent_Template_p_button_onClick_50_listener","OrganizationsMeetingsDetailComponent_p_button_52_Template","OrganizationsMeetingsDetailComponent_p_button_53_Template","OrganizationsMeetingsViewComponent_ng_template_1_Template_a_click_4_listener","OrganizationsMeetingsViewComponent_ng_template_8_Template_tr_dblclick_0_listener","meeting_r6","OrganizationsMeetingsViewComponent_ng_template_8_Template_a_click_10_listener","OrganizationsMeetingsViewComponent_ng_template_8_Template_a_click_12_listener","OrganizationsMeetingsViewComponent","viewComponent","OrganizationsMeetingsViewComponent_Query","OrganizationsMeetingsViewComponent_ng_template_1_Template","OrganizationsMeetingsViewComponent_Template_p_table_onLazyLoad_4_listener","OrganizationsMeetingsViewComponent_ng_template_7_Template","OrganizationsMeetingsViewComponent_ng_template_8_Template","loadStatsSales","pipelinesSales","requiredHeight","SalesTotalPipelineComponent_Query","SalesTotalPipelineComponent_Template_p_chart_click_1_listener","SalesTotalPipelineComponent_Template_p_chart_onEvent_1_listener","days_last_activity","loadStatsActivities","statsActivities","TasksWidgetComponent_Template","TasksWidgetComponent_ng_template_1_Template","TasksWidgetComponent_div_2_Template","TasksWidgetComponent_div_3_Template","TasksWidgetComponent_div_4_Template","TasksWidgetComponent_div_5_Template","pending_activities","OrganizationsListComponent","organizationTypeId","loadOrganizationType","preview","OrganizationsListComponent_Query","OrganizationsListComponent_div_0_Template","OrganizationsListComponent_div_1_Template","OrganizationsListComponent_li_15_Template","OrganizationsListComponent_li_16_Template","OrganizationsListComponent_Template_app_view_onEvent_17_listener","checks","showContact","showTask","parent_organization_id","parent_organization","updated_by","name_autocomplete","view1","saveContact","componentOrganization","componentTask","componentContact","OrganizationsQuickComponent_Query","OrganizationsQuickComponent_Template_app_view_onEvent_0_listener","OrganizationsQuickComponent_Template_button_click_2_listener","OrganizationsQuickComponent_Template_button_click_4_listener","OrganizationsViewComponent","OrganizationsRoutingModule","contactsLoading","tasksFilters","view_map_button","currentUrl","navigationExtras","contactsLastGridEvent","meetingsLastGridEvent","params2","deleteTask","viewOpportunity","opportunity","deleteOpportunity","reloadTransactions","viewSale","sale","deleteSale","goToCalendar","reorderPositions","dragItem","dropItem","setMarker","seeFinalizedTasks","transactionTypeId","deleteTransactions","OrganizationsViewComponent_Query","OrganizationsViewComponent_Template_app_view_onEvent_20_listener","RouterLink","AutoComplete","Table","PreloadComponent","PreloadRoutingModule","loadCustomCss","loadCompanyConfiguration","head","textContent","appendChild","preloadData","goToUrl","PreloadComponent_Template","ProductsCatalogueComponent_li_4_Template_li_click_0_listener","product_r3","selectProduct","selectedProduct","imageUrl_r7","ProductsCatalogueComponent_div_8_ng_template_3_Template","ProductsCatalogueComponent_div_8_Template_button_click_17_listener","previousProduct","ProductsCatalogueComponent_div_8_Template_button_click_19_listener","nextProduct","imageUrls","price","current_stock","ProductsCatalogueComponent","productsService","attachmentsData","loadProducts","assignIndex","loadAttachmentsData","arrayObject","product","loadImageUrls","attachmentData","ProductsService","ProductsCatalogueComponent_Template","ProductsCatalogueComponent_li_4_Template","ProductsCatalogueComponent_li_5_Template","ProductsCatalogueComponent_div_8_Template","ProductsDetailComponent","loadTaxRates","tax_rates","subfamily","net_price","tax_rate_id","ProductsDetailComponent_Query","ProductsDetailComponent_Template_app_view_onEvent_0_listener","ProductsListComponent","productsFilters","viewProduct","viewCatalogue","realFilters","k","onReloadProducts","ProductsListComponent_Query","ProductsListComponent_li_12_Template","ProductsListComponent_Template_app_view_onEvent_13_listener","ProductsRoutingModule","getCharacteristics","getOptions","header_r11","column_key","ReportCampaignComponent_p_table_9_ng_template_2_Template_p_checkbox_ngModelChange_2_listener","ReportCampaignComponent_p_table_9_ng_template_2_td_3_Template","index_r8","base_id","ReportCampaignComponent_p_table_9_ng_template_2_Template","ReportCampaignComponent_p_table_9_ng_template_3_Template","ReportCampaignComponent_div_17_Template_p_checkbox_ngModelChange_4_listener","ReportCampaignComponent_div_18_Template_p_checkbox_ngModelChange_4_listener","ReportCampaignComponent","selectedMailAccount","resultsCorrects","totalPages","prevTotalRows","reportId","reportResults","baseIds","GetElementsFromReport","onMailAccountChange","saveNotificationsStatsToCampaign","ReportCampaignComponent_Query","ReportCampaignComponent_p_table_9_Template","ReportCampaignComponent_Template_p_dropdown_ngModelChange_16_listener","ReportCampaignComponent_div_17_Template","ReportCampaignComponent_div_18_Template","ReportCampaignComponent_Template_p_button_click_21_listener","ReportCampaignComponent_Template_p_button_click_23_listener","ReportClonatorComponent","report","report_id","cloneReport","ReportClonatorComponent_Template","ReportClonatorComponent_Template_input_ngModelChange_4_listener","ReportClonatorComponent_Template_button_click_5_listener","ReportClonatorComponent_Template_button_click_9_listener","header_r12","ReportCreateTaskComponent_p_table_8_ng_template_2_Template_p_checkbox_ngModelChange_2_listener","ReportCreateTaskComponent_p_table_8_ng_template_2_td_3_Template","ReportCreateTaskComponent_p_table_8_ng_template_2_Template","ReportCreateTaskComponent_p_table_8_ng_template_3_Template","ReportCreateTaskComponent_div_35_Template_p_dropdown_ngModelChange_4_listener","ReportCreateTaskComponent_div_36_Template_p_checkbox_ngModelChange_4_listener","ReportCreateTaskComponent_div_37_Template_p_checkbox_ngModelChange_4_listener","getTotalPerDay","ReportCreateTaskComponent","myForm","task_action_description","task_action_scheduled_date_end","tasksActionTypes","connectedUser","organizationIds","campaigns_permission","loadTasksActionTypes","create_multiple_task","selectedLength","patchValue","getCalendarInputClass","invalid","touched","getNumberOfDays","date1","date2","oneDay","d2","d1","diffInTime","diffInDays","numDays","isInteger","numTasks","validar","organizationsIds","addMultiplesTasks","onSubmit","markAllAsTouched","ReportCreateTaskComponent_Query","ReportCreateTaskComponent_Template_form_ngSubmit_0_listener","ReportCreateTaskComponent_p_table_8_Template","ReportCreateTaskComponent_div_35_Template","ReportCreateTaskComponent_div_36_Template","ReportCreateTaskComponent_div_37_Template","ReportCreateTaskComponent_ng_template_39_Template","ReportCreateTaskComponent_Template_p_button_click_42_listener","ReportCreateTaskComponent_Template_p_button_click_44_listener","ReportMailMarketingComponent_p_table_9_ng_template_2_Template_p_checkbox_ngModelChange_2_listener","ReportMailMarketingComponent_p_table_9_ng_template_2_td_3_Template","ReportMailMarketingComponent_p_table_9_ng_template_2_Template","ReportMailMarketingComponent_p_table_9_ng_template_3_Template","ReportMailMarketingComponent_div_17_Template_p_dropdown_ngModelChange_4_listener","ReportMailMarketingComponent_div_24_ng_template_2_Template","ReportMailMarketingComponent_ng_template_41_ul_0_li_1_Template_a_click_1_listener","file_r21","i_r22","ReportMailMarketingComponent_ng_template_41_ul_0_li_1_Template","ReportMailMarketingComponent_ng_template_41_ul_0_Template","ReportMailMarketingComponent","mailchimp_sync","mailjet_sync","urlconverter_callback","node","on_save","GetContactsAllowedComunicationFromReport","sendMails","sendEmailMarketing","mailAccount_id","ReportMailMarketingComponent_Query","ReportMailMarketingComponent_p_table_9_Template","ReportMailMarketingComponent_Template_p_dropdown_ngModelChange_16_listener","ReportMailMarketingComponent_Template_p_dropdown_onChange_16_listener","ReportMailMarketingComponent_div_17_Template","ReportMailMarketingComponent_Template_p_dropdown_ngModelChange_22_listener","ReportMailMarketingComponent_Template_p_dropdown_onChange_22_listener","ReportMailMarketingComponent_div_24_Template","ReportMailMarketingComponent_Template_input_ngModelChange_29_listener","ReportMailMarketingComponent_Template_editor_ngModelChange_34_listener","ReportMailMarketingComponent_Template_p_fileUpload_onError_39_listener","ReportMailMarketingComponent_Template_p_fileUpload_onUpload_39_listener","ReportMailMarketingComponent_ng_template_41_Template","ReportMailMarketingComponent_Template_p_button_click_42_listener","ReportMailMarketingComponent_Template_p_button_click_46_listener","ReportMailMarketingComponent_Template_p_button_click_48_listener","ReportMasiveUpdateComponent_div_10_input_4_Template_input_ngModelChange_0_listener","selectedColumn","ReportMasiveUpdateComponent_div_10_p_dropdown_5_Template_p_dropdown_ngModelChange_0_listener","ReportMasiveUpdateComponent_div_10_p_dropdown_5_Template_p_dropdown_onFilter_0_listener","getFilterComboOptionsText","ReportMasiveUpdateComponent_div_10_app_view_component_datetime_6_Template_app_view_component_datetime_ngModelChange_0_listener","ReportMasiveUpdateComponent_div_10_input_7_Template_input_ngModelChange_0_listener","ReportMasiveUpdateComponent_div_10_p_dropdown_8_Template_p_dropdown_ngModelChange_0_listener","yes_no","ReportMasiveUpdateComponent_div_10_p_multiSelect_9_Template_p_multiSelect_ngModelChange_0_listener","ReportMasiveUpdateComponent_div_10_input_4_Template","ReportMasiveUpdateComponent_div_10_p_dropdown_5_Template","ReportMasiveUpdateComponent_div_10_app_view_component_datetime_6_Template","ReportMasiveUpdateComponent_div_10_input_7_Template","ReportMasiveUpdateComponent_div_10_p_dropdown_8_Template","ReportMasiveUpdateComponent_div_10_p_multiSelect_9_Template","getFilterOptionsOrValueType","ReportMasiveUpdateComponent","hasSageFeature","messages","rowsLength","dataAux","allowedUpdateMasive","entity_field_model_property_label","full_model_property_label","changeColumn","updateColumns","j","ReportMasiveUpdateComponent_Query","ReportMasiveUpdateComponent_Template_p_dropdown_onChange_7_listener","ReportMasiveUpdateComponent_Template_p_dropdown_ngModelChange_7_listener","ReportMasiveUpdateComponent_Template_p_messages_valueChange_9_listener","ReportMasiveUpdateComponent_div_10_Template","ReportMasiveUpdateComponent_Template_p_button_click_13_listener","ReportMasiveUpdateComponent_Template_p_button_click_15_listener","ReportsAskUserComponent_ng_container_0_ng_container_1_2_ng_template_0_Template","ReportsAskUserComponent_ng_container_0_ng_container_1_3_ng_template_0_Template","getNameField","groupOR_r9","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_2_Template_p_dropdown_ngModelChange_1_listener","condition_value","filterConditionsValues","ask_user","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_3_input_1_Template_input_ngModelChange_0_listener","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_3_p_dropdown_2_Template_p_dropdown_ngModelChange_0_listener","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_3_p_dropdown_2_Template_p_dropdown_onFilter_0_listener","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_3_p_dropdown_3_Template_p_dropdown_ngModelChange_0_listener","value_date","date_options","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_3_app_view_component_datetime_4_Template_app_view_component_datetime_ngModelChange_0_listener","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_3_p_multiSelect_5_Template_p_multiSelect_ngModelChange_0_listener","value_multiple","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_3_input_6_Template_input_ngModelChange_0_listener","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_3_input_1_Template","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_3_p_dropdown_2_Template","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_3_p_dropdown_3_Template","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_3_app_view_component_datetime_4_Template","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_3_p_multiSelect_5_Template","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_3_input_6_Template","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_1_Template","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_2_Template","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_div_3_Template","ReportsAskUserComponent_ng_container_0_ng_container_1_2_Template","ReportsAskUserComponent_ng_container_0_ng_container_1_3_Template","ReportsAskUserComponent_ng_container_0_ng_container_1_div_4_Template","i_r2","groupAND_r1","filtersGroupOR","ReportsAskUserComponent_ng_container_0_ng_container_1_Template","ReportsAskUserComponent","filter_options","filtersGroupAND","elementAND","groupOr","getFilterOptionsData","field2","entity_field_type","entity_field_control_type","ReportsAskUserComponent_Template","ReportsAskUserComponent_ng_container_0_Template","ReportsAskUserComponent_Template_p_button_click_4_listener","ReportsRevalidationActionComponent","ReportsDetailComponent_p_fieldset_40_1_ng_template_0_Template","ReportsDetailComponent_p_fieldset_40_2_ng_template_0_Template_button_click_2_listener","i_r27","deleteFilterAND","ReportsDetailComponent_p_fieldset_40_2_ng_template_0_Template","ReportsDetailComponent_p_fieldset_40_div_3_div_15_input_4_Template_input_ngModelChange_0_listener","_r48","groupOR_r36","ReportsDetailComponent_p_fieldset_40_div_3_div_15_p_dropdown_5_Template_p_dropdown_ngModelChange_0_listener","_r52","ReportsDetailComponent_p_fieldset_40_div_3_div_15_p_dropdown_5_Template_p_dropdown_onFilter_0_listener","ReportsDetailComponent_p_fieldset_40_div_3_div_15_p_dropdown_6_Template_p_dropdown_ngModelChange_0_listener","ReportsDetailComponent_p_fieldset_40_div_3_div_15_app_view_component_datetime_7_Template_app_view_component_datetime_ngModelChange_0_listener","ReportsDetailComponent_p_fieldset_40_div_3_div_15_input_8_Template_input_ngModelChange_0_listener","ReportsDetailComponent_p_fieldset_40_div_3_div_15_p_multiSelect_9_Template_p_multiSelect_ngModelChange_0_listener","ReportsDetailComponent_p_fieldset_40_div_3_div_15_p_dropdown_10_Template_p_dropdown_ngModelChange_0_listener","_r74","ReportsDetailComponent_p_fieldset_40_div_3_div_15_input_4_Template","ReportsDetailComponent_p_fieldset_40_div_3_div_15_p_dropdown_5_Template","ReportsDetailComponent_p_fieldset_40_div_3_div_15_p_dropdown_6_Template","ReportsDetailComponent_p_fieldset_40_div_3_div_15_app_view_component_datetime_7_Template","ReportsDetailComponent_p_fieldset_40_div_3_div_15_input_8_Template","ReportsDetailComponent_p_fieldset_40_div_3_div_15_p_multiSelect_9_Template","ReportsDetailComponent_p_fieldset_40_div_3_div_15_p_dropdown_10_Template","ReportsDetailComponent_p_fieldset_40_div_3_Template_button_click_1_listener","_r79","j_r37","ctx_r77","deleteFilterOR","ReportsDetailComponent_p_fieldset_40_div_3_Template_p_dropdown_onChange_7_listener","ReportsDetailComponent_p_fieldset_40_div_3_Template_p_dropdown_ngModelChange_7_listener","ReportsDetailComponent_p_fieldset_40_div_3_Template_p_dropdown_ngModelChange_13_listener","ReportsDetailComponent_p_fieldset_40_div_3_div_15_Template","ReportsDetailComponent_p_fieldset_40_div_3_Template_p_checkbox_ngModelChange_20_listener","ReportsDetailComponent_p_fieldset_40_1_Template","ReportsDetailComponent_p_fieldset_40_2_Template","ReportsDetailComponent_p_fieldset_40_div_3_Template","ReportsDetailComponent_p_fieldset_40_Template_button_click_7_listener","_r86","addFilterItemOR","groupAND_r26","ReportsDetailComponent_ng_template_77_Template_input_ngModelChange_6_listener","_r90","item_r87","ReportsDetailComponent_ng_template_77_Template_input_onfocus_6_listener","onFieldTableChange","ReportsDetailComponent_ng_template_77_Template_a_click_8_listener","deleteColumnItem","index_r88","ReportsDetailComponent_p_accordionTab_79_div_9_p_radioButton_13_Template_p_radioButton_ngModelChange_0_listener","graph","entity_field_grouped","entity_field_grouped_type","ReportsDetailComponent_p_accordionTab_79_div_9_p_radioButton_14_Template_p_radioButton_ngModelChange_0_listener","_r106","ReportsDetailComponent_p_accordionTab_79_div_9_p_radioButton_15_Template_p_radioButton_ngModelChange_0_listener","ReportsDetailComponent_p_accordionTab_79_div_9_p_radioButton_16_Template_p_radioButton_ngModelChange_0_listener","_r110","ReportsDetailComponent_p_accordionTab_79_div_9_p_radioButton_17_Template_p_radioButton_ngModelChange_0_listener","_r112","ReportsDetailComponent_p_accordionTab_79_div_9_p_radioButton_18_Template_p_radioButton_ngModelChange_0_listener","_r114","ReportsDetailComponent_p_accordionTab_79_div_9_p_radioButton_19_Template_p_radioButton_ngModelChange_0_listener","_r116","ReportsDetailComponent_p_accordionTab_79_div_9_p_radioButton_20_Template_p_radioButton_ngModelChange_0_listener","_r118","ctx_r117","ReportsDetailComponent_p_accordionTab_79_div_9_div_41_Template_p_cascadeSelect_ngModelChange_4_listener","ctx_r119","entity_field","ReportsDetailComponent_p_accordionTab_79_div_9_div_41_Template_p_cascadeSelect_onChange_4_listener","onGraphChange","entitiesToFilterNumber","ReportsDetailComponent_p_accordionTab_79_div_9_Template_p_dropdown_ngModelChange_5_listener","ReportsDetailComponent_p_accordionTab_79_div_9_Template_p_dropdown_ngModelChange_11_listener","entity_field_grouped_id","ReportsDetailComponent_p_accordionTab_79_div_9_Template_p_dropdown_onChange_11_listener","ctx_r125","ReportsDetailComponent_p_accordionTab_79_div_9_p_radioButton_13_Template","ReportsDetailComponent_p_accordionTab_79_div_9_p_radioButton_14_Template","ReportsDetailComponent_p_accordionTab_79_div_9_p_radioButton_15_Template","ReportsDetailComponent_p_accordionTab_79_div_9_p_radioButton_16_Template","ReportsDetailComponent_p_accordionTab_79_div_9_p_radioButton_17_Template","ReportsDetailComponent_p_accordionTab_79_div_9_p_radioButton_18_Template","ReportsDetailComponent_p_accordionTab_79_div_9_p_radioButton_19_Template","ReportsDetailComponent_p_accordionTab_79_div_9_p_radioButton_20_Template","ReportsDetailComponent_p_accordionTab_79_div_9_Template_p_dropdown_ngModelChange_25_listener","ctx_r126","order_by","ReportsDetailComponent_p_accordionTab_79_div_9_Template_p_dropdown_onChange_25_listener","ctx_r127","onShortChange","ReportsDetailComponent_p_accordionTab_79_div_9_Template_p_dropdown_ngModelChange_27_listener","order_direction","ReportsDetailComponent_p_accordionTab_79_div_9_Template_p_dropdown_ngModelChange_33_listener","entity_field_grouped2","ReportsDetailComponent_p_accordionTab_79_div_9_Template_p_dropdown_onChange_33_listener","ctx_r130","ReportsDetailComponent_p_accordionTab_79_div_9_Template_p_dropdown_ngModelChange_39_listener","visualize","ReportsDetailComponent_p_accordionTab_79_div_9_div_41_Template","graphs_types","showDateSelector","orderByOptions","visualize_options","ReportsDetailComponent_p_accordionTab_79_Template_p_checkbox_ngModelChange_4_listener","_r133","ReportsDetailComponent_p_accordionTab_79_div_9_Template","ReportsDetailComponent_p_accordionTab_80_Template_p_checkbox_ngModelChange_3_listener","_r135","ReportsDetailComponent_p_button_83_Template_p_button_click_0_listener","_r137","ctx_r136","ReportsDetailComponent_p_button_85_Template_p_button_click_0_listener","_r139","ctx_r138","openReportClonator","ReportsDetailComponent_p_button_88_Template_p_button_click_0_listener","ReportsDetailComponent_ng_template_92_p_multiSelect_4_Template_p_multiSelect_ngModelChange_0_listener","_r148","ctx_r147","selectedColumns","ctx_r142","ReportsDetailComponent_ng_template_92_button_5_Template_button_click_0_listener","_r150","ctx_r149","addColumns","ReportsDetailComponent_ng_template_92_p_multiSelect_4_Template","ReportsDetailComponent_ng_template_92_button_5_Template","ReportsDetailComponent_ng_template_92_Template_a_click_6_listener","_r152","changeFavourite","ReportsDetailComponent_ng_template_92_i_7_Template","ReportsDetailComponent_ng_template_92_i_8_Template","ReportsDetailComponent_ng_template_92_Template_p_splitButton_onClick_11_listener","_r146","onDropdownButtonClick","write_report","favouriteData","itemsAction","ReportsDetailComponent_ng_template_97_th_2_a_1_Template_a_click_0_listener","_r163","header_r156","ctx_r161","orderBy","ReportsDetailComponent_ng_template_97_th_2_a_1_fa_icon_2_Template","ReportsDetailComponent_ng_template_97_th_2_a_1_fa_icon_3_Template","sortDirection","ReportsDetailComponent_ng_template_97_th_2_a_2_Template_a_click_0_listener","ctx_r165","ReportsDetailComponent_ng_template_97_th_2_a_1_Template","ReportsDetailComponent_ng_template_97_th_2_a_2_Template","ReportsDetailComponent_ng_template_97_th_2_Template","getRowOnlyValue","header_r173","item_r169","ReportsDetailComponent_ng_template_98_Template_a_click_2_listener","openItem","ReportsDetailComponent_ng_template_98_td_4_Template","index_r170","ctx_r177","ReportsDetailComponent_ng_template_99_tr_0_Template","ReportsDetailComponent_ng_template_104_p_checkbox_2_Template_p_checkbox_ngModelChange_0_listener","_r182","ctx_r181","graphForHome","ReportsDetailComponent_ng_template_104_p_checkbox_2_Template_p_checkbox_click_0_listener","ctx_r183","graphHome","ctx_r178","ReportsDetailComponent_ng_template_104_p_checkbox_2_Template","ReportsDetailComponent_ng_template_104_Template_a_click_3_listener","_r185","ReportsDetailComponent_ng_template_104_i_4_Template","ReportsDetailComponent_ng_template_104_i_5_Template","showInHome","favouriteGraph","getGraphInfo","ReportsDetailComponent_ng_template_111_th_2_Template","item_r187","ReportsDetailComponent_ng_template_112_td_3_Template","ReportsDetailComponent_ng_template_113_td_3_Template","graph_entity_field_total","dataGraphTable","ReportsDetailComponent_p_tabPanel_115_ng_template_4_Template_a_click_2_listener","ReportsDetailComponent_p_tabPanel_115_ng_template_4_i_3_Template","ReportsDetailComponent_p_tabPanel_115_ng_template_4_i_4_Template","favouriteMap","ReportsDetailComponent_p_tabPanel_115_map_marker_8_Template_map_marker_mapClick_0_listener","_r201","marker_r198","ctx_r200","ReportsDetailComponent_p_tabPanel_115_ng_template_1_Template","ReportsDetailComponent_p_tabPanel_115_ng_template_4_Template","ReportsDetailComponent_p_tabPanel_115_map_marker_8_Template","ReportsDetailComponent_p_tabPanel_116_p_accordionTab_3_ng_template_10_Template_a_click_6_listener","_r221","zone_r219","ctx_r220","ReportsDetailComponent_p_tabPanel_116_p_accordionTab_3_Template_p_dropdown_ngModelChange_4_listener","_r223","ctx_r222","ReportsDetailComponent_p_tabPanel_116_p_accordionTab_3_Template_p_dropdown_onChange_4_listener","ctx_r224","ReportsDetailComponent_p_tabPanel_116_p_accordionTab_3_ng_template_9_Template","ReportsDetailComponent_p_tabPanel_116_p_accordionTab_3_ng_template_10_Template","ReportsDetailComponent_p_tabPanel_116_p_accordionTab_3_ng_template_11_Template","ctx_r203","ReportsDetailComponent_p_tabPanel_116_ng_template_14_Template_a_click_6_listener","role_r225","ReportsDetailComponent_p_tabPanel_116_ng_template_26_Template_a_click_8_listener","_r230","user_r228","ctx_r229","ReportsDetailComponent_p_tabPanel_116_p_button_30_Template_p_button_click_0_listener","_r232","ctx_r231","ReportsDetailComponent_p_tabPanel_116_p_button_32_Template_p_button_click_0_listener","_r234","ctx_r233","ReportsDetailComponent_p_tabPanel_116_p_button_35_Template_p_button_click_0_listener","_r236","ctx_r235","ReportsDetailComponent_p_tabPanel_116_ng_template_1_Template","ReportsDetailComponent_p_tabPanel_116_p_accordionTab_3_Template","ReportsDetailComponent_p_tabPanel_116_Template_p_dropdown_ngModelChange_8_listener","_r238","ReportsDetailComponent_p_tabPanel_116_Template_p_dropdown_onChange_8_listener","ctx_r239","ReportsDetailComponent_p_tabPanel_116_ng_template_13_Template","ReportsDetailComponent_p_tabPanel_116_ng_template_14_Template","ReportsDetailComponent_p_tabPanel_116_ng_template_15_Template","ReportsDetailComponent_p_tabPanel_116_Template_p_dropdown_ngModelChange_20_listener","ctx_r240","ReportsDetailComponent_p_tabPanel_116_Template_p_dropdown_onChange_20_listener","ctx_r241","ReportsDetailComponent_p_tabPanel_116_ng_template_25_Template","ReportsDetailComponent_p_tabPanel_116_ng_template_26_Template","ReportsDetailComponent_p_tabPanel_116_ng_template_27_Template","ReportsDetailComponent_p_tabPanel_116_p_button_30_Template","ReportsDetailComponent_p_tabPanel_116_p_button_32_Template","ReportsDetailComponent_p_tabPanel_116_Template_p_button_click_33_listener","ctx_r242","ReportsDetailComponent_p_tabPanel_116_p_button_35_Template","ReportsDetailComponent","transactionLinesService","filter_options_values","filtersGroupOr","name_label","dataGraph2","responsive","selectTabIndex","showMap","moveMap","latLng","toJSON","graphics_in_reports","mail_marketing","view_map_info","loadUserReportInfo","onReportTabOpen","Message","exportExcelAllFields","deleteData","separator","updateDataMasive","createTask","mailMarketing","checkIfTYpeGroupedIsDate","groupedType","loadGraphInfo","id2","id3","loadFilters","obj2","groupAnd","getNameEntityField","tabOpen","existe","variableCheck","selectTab","tabCode","newTabIndex","innerText","onTabOpen","bounds","LatLngBounds","loadDataMap","typeOrganization","loadGraph","clearGraphData","chartGraph","returnValue","min","max","forEntitiesTable","show_message","invalidMessage","errorNoName","clearAll","addFilterItemAND","deleteAllColumns","checkIfExistInOrder","unsorted","onChangeEntity","order_by_model_property","order_by_model_property_label","grouped","clearEntityFieldGrouped","askValuesToUser","indexPos","askUser","goToEvent","tabIndexActive","_last","totalResults","sortBy","getRowValueExcel","wb","book_new","ws","skipHeader","sheet_add_aoa","book_append_sheet","temporal_report_to_export","addAll","setFavouriteReport","setGraphHome","windowFeatures","transactionLineInfo","getInfo","ref2","deleteDataMasive","messageHeader","checkIfExistSaleOrNeedToCreate","auxResponse","TransactionsLinesService","ReportsDetailComponent_Query","ReportsDetailComponent_Template_p_tabView_onChange_18_listener","ReportsDetailComponent_Template_p_tabView_activeIndexChange_18_listener","ReportsDetailComponent_Template_input_ngModelChange_31_listener","ReportsDetailComponent_Template_p_dropdown_onChange_36_listener","ReportsDetailComponent_Template_p_dropdown_ngModelChange_36_listener","ReportsDetailComponent_p_fieldset_40_Template","ReportsDetailComponent_Template_button_click_44_listener","ReportsDetailComponent_Template_p_checkbox_ngModelChange_51_listener","ReportsDetailComponent_Template_p_multiSelect_ngModelChange_60_listener","ReportsDetailComponent_Template_button_click_66_listener","ReportsDetailComponent_Template_button_click_70_listener","ReportsDetailComponent_Template_p_table_onRowReorder_74_listener","ReportsDetailComponent_ng_template_76_Template","ReportsDetailComponent_ng_template_77_Template","ReportsDetailComponent_ng_template_78_Template","ReportsDetailComponent_p_accordionTab_79_Template","ReportsDetailComponent_p_accordionTab_80_Template","ReportsDetailComponent_p_button_83_Template","ReportsDetailComponent_p_button_85_Template","ReportsDetailComponent_Template_p_button_click_86_listener","ReportsDetailComponent_p_button_88_Template","ReportsDetailComponent_ng_template_90_Template","ReportsDetailComponent_ng_template_92_Template","ReportsDetailComponent_Template_p_table_onColReorder_95_listener","ReportsDetailComponent_Template_p_table_onLazyLoad_95_listener","ReportsDetailComponent_ng_template_97_Template","ReportsDetailComponent_ng_template_98_Template","ReportsDetailComponent_ng_template_99_Template","ReportsDetailComponent_ng_template_101_Template","ReportsDetailComponent_ng_template_104_Template","ReportsDetailComponent_ng_template_111_Template","ReportsDetailComponent_ng_template_112_Template","ReportsDetailComponent_ng_template_113_Template","ReportsDetailComponent_ng_template_114_Template","ReportsDetailComponent_p_tabPanel_115_Template","ReportsDetailComponent_p_tabPanel_116_Template","alertMessage","ok","ReportsRevalidationActionComponent_Template","ReportsRevalidationActionComponent_Template_input_ngModelChange_4_listener","ReportsRevalidationActionComponent_Template_input_keyup_enter_4_listener","ReportsRevalidationActionComponent_Template_p_button_click_11_listener","ReportsRevalidationActionComponent_Template_button_click_14_listener","ReportsListComponent","reportsFilters","ReportsListComponent_Query","ReportsListComponent_li_12_Template","ReportsListComponent_Template_app_view_onEvent_13_listener","ReportsRoutingModule","ListboxModule","RadioButtonModule","recreate","listIds","getOrganizations","selectedIds","transactionsIds","TasksCreateContactComponent","lockOrganization","TasksCreateContactComponent_Query","TasksCreateContactComponent_Template_app_view_onEvent_0_listener","TasksDetailComponent_ul_0_a_17_Template_a_click_0_listener","navigateToTask","TasksDetailComponent_ul_0_li_8_Template","TasksDetailComponent_ul_0_li_9_Template","TasksDetailComponent_ul_0_li_10_Template","TasksDetailComponent_ul_0_li_11_Template","TasksDetailComponent_ul_0_a_15_Template","TasksDetailComponent_ul_0_a_16_Template","TasksDetailComponent_ul_0_a_17_Template","TasksDetailComponent_li_4_Template_li_click_0_listener","status_r15","status_selected","TasksDetailComponent_p_button_6_Template_p_button_click_0_listener","loadPrevNext","task_prev","TasksDetailComponent_p_button_7_Template_p_button_click_0_listener","task_next","TasksDetailComponent_app_view_8_Template_app_view_onEvent_0_listener","viewConfig","last_action_date","injector","showCancel","tasks_status","tasksHistories","showNextButton","showPrevButton","firstTime","entered","componentByRoute","dataLoaded","dialogConfig","sumDate","dayOfWeek","loadTasksStatus","change","getNextPrev","findDefaultStatus","saveIfAllFormsAreValid","formsValid","clearEntity","deletedBy","taskId","viewTransaction","loadTaskTransaction","deleteTransaction","other_entity","other_entity_pk_id","object","unlink","ask","subject_task","setFilters","createContact","next_id","prev_id","task_next_id","task_prev_id","nextTask","prevTask","newLoadTaskId","onMouseEnterButton","onMouseLeaveButton","haveParamsString","paramsStringList","paramsStringHome","paramsStringOrganization","viewedId","Injector","TasksDetailComponent_Query","TasksDetailComponent_ul_0_Template","TasksDetailComponent_li_4_Template","TasksDetailComponent_p_button_6_Template","TasksDetailComponent_p_button_7_Template","TasksDetailComponent_app_view_8_Template","TasksDetailComponent_div_9_Template","TasksHistoriesService","TasksHistoryDetailComponent_button_6_Template_button_click_0_listener","TasksHistoryDetailComponent","tasksHistoriesService","taskHistory","changed_by","changed_at","TasksHistoryDetailComponent_Template","TasksHistoryDetailComponent_Template_textarea_ngModelChange_4_listener","TasksHistoryDetailComponent_button_6_Template","TasksHistoryDetailComponent_Template_button_click_7_listener","TasksHistoryDetailComponent_Template_button_click_9_listener","event_r2","responsible_by_name","event_r3","TasksHistoryLineComponent_ng_template_3_span_2_a_1_Template_a_click_0_listener","deleteTaskHistory","TasksHistoryLineComponent_ng_template_3_span_2_a_1_Template","canDeleteHistory","TasksHistoryLineComponent_ng_template_3_b_0_Template","TasksHistoryLineComponent_ng_template_3_b_1_Template","TasksHistoryLineComponent_ng_template_3_span_2_Template","created_by_name","loadTasksHistories","editTaskHistory","TasksHistoryLineComponent_Query","TasksHistoryLineComponent_ng_template_2_Template","TasksHistoryLineComponent_ng_template_3_Template","TasksListComponent","_op_responsible_user_id","TasksListComponent_Query","TasksListComponent_li_10_Template","TasksListComponent_li_11_Template","TasksListComponent_Template_app_view_onEvent_18_listener","TasksRoutingModule","getNextPrevInfo","TrackingRoutingModule","TrackingComponent_ng_template_1_small_3_Template","TrackingComponent_ng_template_1_small_4_Template","TrackingComponent_ng_template_1_small_5_Template","getActionDescription","trackings","loadTracking","TrackingComponent_Template","TrackingComponent_ng_template_1_Template","TrackingComponent_div_2_Template","AddTransactionReasonComponent_ng_template_13_Template_p_button_click_2_listener","AddTransactionReasonComponent_ng_template_13_Template_p_button_click_4_listener","saveTransaction","AddTransactionReasonComponent","reasonTransactionsService","filterService","reasons","loadReasons","skipReason","FilterService","AddTransactionReasonComponent_Template","AddTransactionReasonComponent_Template_p_dropdown_ngModelChange_6_listener","reason_transaction_status_id","AddTransactionReasonComponent_Template_textarea_ngModelChange_12_listener","transaction_state_notes","AddTransactionReasonComponent_ng_template_13_Template","TransactionStatusChangeConfirmComponent","TransactionStatusChangeConfirmComponent_Template","TransactionStatusChangeConfirmComponent_Template_button_click_7_listener","TransactionStatusChangeConfirmComponent_Template_button_click_9_listener","TransactionLinesDetailComponent","TransactionsDetailComponent_ul_0_li_8_Template","TransactionsDetailComponent_ul_0_li_9_Template","TransactionsDetailComponent_ul_0_li_10_Template","TransactionsDetailComponent_ul_0_li_11_Template","TransactionsDetailComponent_ul_0_li_12_Template","TransactionsDetailComponent_ul_0_li_13_Template","TransactionsDetailComponent_ul_0_li_14_Template","TransactionsDetailComponent_ul_0_li_15_Template","TransactionsDetailComponent_li_2_Template_li_click_0_listener","status_r12","transaction_status_id","TransactionsDetailComponent_app_view_5_Template_app_view_onEvent_0_listener","transactionsStatusService","transactionsLinesService","userService","transaction_db","transactions_status","showMessageBlockData","blockPipeline","disableForm","from_task_id","loadTransactionsStatus","tracking_notes","final","getSaleRelated","offer","rD","base_amount","cost_amount","profit_calculated","tax_amount","total_amount","total_amount_calculated","isTransactionModified","transactionDB","responsible2","relatedTransaction","transactionActualStringify","transactionActual","loadDataTotal","save_continue","redirectRelatedTransaction","saleTitle","related_transaction_id","editTransactionLine","transactionLine","entityBaseName","organization_rate_option","rate_option","discount_percent","deleteTransactionLine","getTransactionEntityId","private_status_select","show_reason","generated_sale_id","addReason","transactStatus","confirmation_text","showConfirmDialog","confirmed","arrayIds","updatePositions","calculateTotals","discount","recalculate","TransactionsDetailComponent_Query","TransactionsDetailComponent_ul_0_Template","TransactionsDetailComponent_li_2_Template","TransactionsDetailComponent_div_3_Template","TransactionsDetailComponent_app_view_5_Template","TransactionLinesDetailCustomComponent_ng_template_1_Template_a_click_4_listener","TransactionLinesDetailCustomComponent_div_3_Template_p_dropdown_ngModelChange_4_listener","family_id","TransactionLinesDetailCustomComponent_div_3_Template_p_dropdown_onChange_4_listener","onDropDownChange","familiesFiltered","TransactionLinesDetailCustomComponent_div_4_Template_p_dropdown_ngModelChange_4_listener","product_name","TransactionLinesDetailCustomComponent_div_4_Template_p_dropdown_onChange_4_listener","productsNamesJson","TransactionLinesDetailCustomComponent_div_5_Template_p_dropdown_ngModelChange_3_listener","characteristics1","TransactionLinesDetailCustomComponent_div_5_Template_p_dropdown_onChange_3_listener","characteristics1Name","TransactionLinesDetailCustomComponent_div_6_Template_p_dropdown_ngModelChange_3_listener","characteristics2","TransactionLinesDetailCustomComponent_div_6_Template_p_dropdown_onChange_3_listener","characteristics2Name","productsFiltered","productsNames","hasCharacteristics","available_fields","register","words","every","q","is_available","tax_percent","custom_cost_price","cost_price","qty","product_id","clearTransactionline","families_ids","products_ids","oldItemId","TransactionLinesDetailCustomComponent_Template","TransactionLinesDetailCustomComponent_ng_template_1_Template","TransactionLinesDetailCustomComponent_div_3_Template","TransactionLinesDetailCustomComponent_div_4_Template","TransactionLinesDetailCustomComponent_div_5_Template","TransactionLinesDetailCustomComponent_div_6_Template","findNetPriceByRateOption","net_price_1","net_price_2","net_price_3","TransactionLinesDetailComponent_Query","TransactionLinesDetailComponent_Template_app_view_onEvent_0_listener","TransactionsLinesRoutingModule","smallMsg","privateObtainInfo","vat_number","TransactionSAGEInfoCustomComponent_Template","TransactionSAGEInfoCustomComponent_small_7_Template","TransactionsListComponent_app_view_16_Template_app_view_onEvent_0_listener","transactionsFilters","TransactionsListComponent_app_view_17_Template_app_view_onEvent_0_listener","TransactionsListComponent","isViewInit","getTransactionType","editTransaction","is_page_principal","TransactionsListComponent_Query","TransactionsListComponent_div_0_Template","TransactionsListComponent_div_1_Template","TransactionsListComponent_li_10_Template","TransactionsListComponent_li_11_Template","TransactionsListComponent_li_14_Template","TransactionsListComponent_li_15_Template","TransactionsListComponent_app_view_16_Template","TransactionsListComponent_app_view_17_Template","TransactionsRoutingModule","UserCalendarRoutingModule","FullCalendarComponent","currentDate","initialView","titleFormat","year","selectable","fullCalendar","getApi","gotoDate","UserCalendarComponent_Query","UserCalendarComponent_Template_full_calendar_datesRender_0_listener","UserCalendarComponent_div_1_Template","changePswModal","password2","UserChangePasswordComponent_Template","UserChangePasswordComponent_Template_input_ngModelChange_5_listener","UserChangePasswordComponent_Template_input_ngModelChange_10_listener","UserChangePasswordComponent_div_11_Template","UserChangePasswordComponent_Template_button_click_14_listener","UserChangePasswordComponent_Template_button_click_16_listener","UserZonesDetailComponent","userZonesService","selectedZones","userZone","UserZonesService","UserZonesDetailComponent_Template","UserZonesDetailComponent_Template_p_dropdown_ngModelChange_5_listener","UserZonesDetailComponent_Template_button_click_8_listener","UserZonesDetailComponent_Template_button_click_10_listener","UserRolesComponent_div_8_div_6_p_accordionTab_1_ng_template_2_div_1_p_checkbox_2_Template_p_checkbox_ngModelChange_0_listener","UserRolesComponent_div_8_div_6_p_accordionTab_1_ng_template_2_div_1_p_checkbox_3_Template_p_checkbox_ngModelChange_0_listener","UserRolesComponent_div_8_div_6_p_accordionTab_1_ng_template_2_div_1_p_checkbox_3_Template_p_checkbox_onChange_0_listener","UserRolesComponent_div_8_div_6_p_accordionTab_1_ng_template_2_div_1_p_checkbox_2_Template","UserRolesComponent_div_8_div_6_p_accordionTab_1_ng_template_2_div_1_p_checkbox_3_Template","UserRolesComponent_div_8_div_6_p_accordionTab_1_ng_template_2_div_1_Template","UserRolesComponent_div_8_div_6_p_accordionTab_1_ng_template_1_Template","UserRolesComponent_div_8_div_6_p_accordionTab_1_ng_template_2_Template","UserRolesComponent_div_8_div_6_p_accordionTab_1_Template","UserRolesComponent_div_8_Template_p_checkbox_ngModelChange_1_listener","UserRolesComponent_div_8_Template_p_checkbox_onChange_1_listener","UserRolesComponent_div_8_div_6_Template","permissionsGroups","userRolesService","permissionsGroupsService","rolePermissionsService","userRole","userPermissions","firstLoading","loadRolePermissions","loadPermissionsGroups","loadPermissions","addPermissions","finalUserPermissions","UserRolesService","UserRolesComponent_Template","UserRolesComponent_Template_p_dropdown_ngModelChange_6_listener","UserRolesComponent_Template_p_dropdown_onChange_6_listener","UserRolesComponent_div_8_Template","UsersMailAccountsDetailComponent","UsersDetailComponent_a_11_Template_a_click_0_listener","removeImage","UsersDetailComponent_p_button_12_Template_p_button_click_0_listener","image_source","UsersDetailComponent_div_37_Template_input_ngModelChange_5_listener","UsersDetailComponent_div_57_Template_p_inputSwitch_ngModelChange_5_listener","user_write","UsersDetailComponent_div_71_Template_editor_ngModelChange_4_listener","emails_signature","UsersDetailComponent_p_button_74_Template_p_button_click_0_listener","selectedMailAccounts","emails_cc","languages","loadMailsCc","dataProfile","image_id","userZones","userMailAccounts","excluse_self","addZones","finalUserZones","existentZones","viewUserZone","deleteUserZone","viewUserRole","deleteUserRole","viewUserMailAccount","userMailAccount","deleteUserMailAccount","lastModified","dataA","readURL","imageSrc","onClickImage","MouseEvent","bubbles","fileInput","dispatchEvent","updateSource","projectImage","image","responsibleUser","language_id","checkNumUserInLicense","openMessageInPopup","UsersDetailComponent_Query","UsersDetailComponent_Template_div_click_9_listener","UsersDetailComponent_i_10_Template","UsersDetailComponent_a_11_Template","UsersDetailComponent_p_button_12_Template","UsersDetailComponent_Template_input_change_13_listener","UsersDetailComponent_img_15_Template","UsersDetailComponent_Template_input_ngModelChange_23_listener","UsersDetailComponent_Template_p_dropdown_ngModelChange_29_listener","UsersDetailComponent_Template_input_ngModelChange_36_listener","UsersDetailComponent_div_37_Template","UsersDetailComponent_Template_input_ngModelChange_43_listener","UsersDetailComponent_Template_p_dropdown_ngModelChange_49_listener","UsersDetailComponent_Template_p_colorPicker_ngModelChange_56_listener","UsersDetailComponent_div_57_Template","UsersDetailComponent_Template_app_view_onEvent_59_listener","UsersDetailComponent_ng_template_63_Template","UsersDetailComponent_Template_p_autoComplete_ngModelChange_70_listener","UsersDetailComponent_Template_p_autoComplete_completeMethod_70_listener","UsersDetailComponent_div_71_Template","UsersDetailComponent_p_button_74_Template","UsersDetailComponent_Template_p_button_click_76_listener","UsersDetailComponent_Template_p_button_click_78_listener","UsersDetailComponent_Template_p_button_click_80_listener","deleteUser","UsersListComponent_Query","UsersListComponent_Template_app_view_onEvent_14_listener","UsersMailAccountsDetailComponent_Template","UsersMailAccountsDetailComponent_Template_p_dropdown_ngModelChange_5_listener","UsersMailAccountsDetailComponent_Template_button_click_8_listener","UsersMailAccountsDetailComponent_Template_button_click_10_listener","UsersRoutingModule","ɵNgNoValidate","NgControlStatusGroup","NgForm","InputSwitch","ColorPicker","EditorComponent","getComboUsers","reportInfo","new_view_id","production","SecurityContext","HighlightDirective","nose","caseSensitive","customClasses","inputText","searchTerm","newText","sanitzed","sanitize","HTML","hostVars","HighlightDirective_HostBindings","enableProdMode","getBaseUrl","providers","__NgCli_bootstrap_1","platformBrowser","bootstrapModule","catch"],"sourceRoot":"webpack:///","x_google_ignoreList":[]}