import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
export class UserActivityPopupComponent {
}
UserActivityPopupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UserActivityPopupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
UserActivityPopupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: UserActivityPopupComponent, selector: "epom-popup-user-activity", inputs: { userActivityData: "userActivityData" }, ngImport: i0, template: "<div *ngIf=\"userActivityData.system === 'DSP_ENDPOINT' || userActivityData.system === 'SSP_ENDPOINT' \">\n  <label class=\"popup-label\">EntityID: {{ userActivityData.entityId }}</label>\n</div>\n<div class=\"component-container component-table-container\" *ngIf=\"userActivityData.fieldDiffs\">\n  <div class=\"component-table-data\">\n    <div class=\"table-flex\">\n      <table class=\"table user-activity-difference-table\">\n        <thead>\n          <tr\n            *ngIf=\"userActivityData.system !== 'FEATURE_SWITCHER' && userActivityData.system !== 'DSP_ENDPOINT_PROVIDER'\"\n          >\n            <th>Field</th>\n            <th>Removed</th>\n            <th>Added</th>\n          </tr>\n          <tr *ngIf=\"userActivityData.system === 'FEATURE_SWITCHER'\">\n            <th>Feature</th>\n            <th>New State</th>\n          </tr>\n          <tr *ngIf=\"userActivityData.system === 'DSP_ENDPOINT_PROVIDER'\">\n            <th>Operation</th>\n            <th>Result</th>\n          </tr>\n        </thead>\n        <tbody\n          *ngIf=\"userActivityData.system !== 'FEATURE_SWITCHER' && userActivityData.system !== 'DSP_ENDPOINT_PROVIDER'\"\n        >\n          <tr *ngFor=\"let item of userActivityData.fieldDiffs\">\n            <td><pre>{{ item.field | json }}</pre></td>\n            <td><pre>{{ item.before | json }}</pre></td>\n            <td><pre>{{ item.after | json }}</pre></td>\n          </tr>\n        </tbody>\n      </table>\n    </div>\n  </div>\n</div>\n<div class=\"component-container\" *ngIf=\"userActivityData.callResultParsed\">\n  <p\n    *ngIf=\"userActivityData.system !== 'Feature Switcher' && userActivityData.system !== 'DSP_ENDPOINT_PROVIDER' &&\n  userActivityData.system !== 'Quotas'\"\n  >\n    {{userActivityData.callResultParsed}}\n  </p>\n\n  <table>\n    <tbody *ngIf=\"userActivityData.operation === 'User'\">\n      <tr>\n        <td><pre>{{ userActivityData.callResultParsed }}</pre></td>\n      </tr>\n    </tbody>\n    <tbody *ngIf=\"userActivityData.system === 'DSP_ENDPOINT_PROVIDER'\">\n      <tr>\n        <td><pre>{{ userActivityData.operation }}</pre></td>\n        <td><pre>{{ userActivityData.callResultParsed }}</pre></td>\n      </tr>\n    </tbody>\n    <tbody *ngIf=\"userActivityData.system === 'Feature Switcher'\">\n      <tr>\n        <td><pre> {{ userActivityData.callResultParsed.feature }}</pre></td>\n        <td><pre> {{ userActivityData.callResultParsed.newState.name }}</pre></td>\n      </tr>\n    </tbody>\n    <tbody *ngIf=\"userActivityData.system === 'Quotas'\">\n      <td><pre> {{ userActivityData.callResultParsed | json}}</pre></td>\n    </tbody>\n  </table>\n</div>\n", dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i1.JsonPipe, name: "json" }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: UserActivityPopupComponent, decorators: [{
            type: Component,
            args: [{ selector: 'epom-popup-user-activity', template: "<div *ngIf=\"userActivityData.system === 'DSP_ENDPOINT' || userActivityData.system === 'SSP_ENDPOINT' \">\n  <label class=\"popup-label\">EntityID: {{ userActivityData.entityId }}</label>\n</div>\n<div class=\"component-container component-table-container\" *ngIf=\"userActivityData.fieldDiffs\">\n  <div class=\"component-table-data\">\n    <div class=\"table-flex\">\n      <table class=\"table user-activity-difference-table\">\n        <thead>\n          <tr\n            *ngIf=\"userActivityData.system !== 'FEATURE_SWITCHER' && userActivityData.system !== 'DSP_ENDPOINT_PROVIDER'\"\n          >\n            <th>Field</th>\n            <th>Removed</th>\n            <th>Added</th>\n          </tr>\n          <tr *ngIf=\"userActivityData.system === 'FEATURE_SWITCHER'\">\n            <th>Feature</th>\n            <th>New State</th>\n          </tr>\n          <tr *ngIf=\"userActivityData.system === 'DSP_ENDPOINT_PROVIDER'\">\n            <th>Operation</th>\n            <th>Result</th>\n          </tr>\n        </thead>\n        <tbody\n          *ngIf=\"userActivityData.system !== 'FEATURE_SWITCHER' && userActivityData.system !== 'DSP_ENDPOINT_PROVIDER'\"\n        >\n          <tr *ngFor=\"let item of userActivityData.fieldDiffs\">\n            <td><pre>{{ item.field | json }}</pre></td>\n            <td><pre>{{ item.before | json }}</pre></td>\n            <td><pre>{{ item.after | json }}</pre></td>\n          </tr>\n        </tbody>\n      </table>\n    </div>\n  </div>\n</div>\n<div class=\"component-container\" *ngIf=\"userActivityData.callResultParsed\">\n  <p\n    *ngIf=\"userActivityData.system !== 'Feature Switcher' && userActivityData.system !== 'DSP_ENDPOINT_PROVIDER' &&\n  userActivityData.system !== 'Quotas'\"\n  >\n    {{userActivityData.callResultParsed}}\n  </p>\n\n  <table>\n    <tbody *ngIf=\"userActivityData.operation === 'User'\">\n      <tr>\n        <td><pre>{{ userActivityData.callResultParsed }}</pre></td>\n      </tr>\n    </tbody>\n    <tbody *ngIf=\"userActivityData.system === 'DSP_ENDPOINT_PROVIDER'\">\n      <tr>\n        <td><pre>{{ userActivityData.operation }}</pre></td>\n        <td><pre>{{ userActivityData.callResultParsed }}</pre></td>\n      </tr>\n    </tbody>\n    <tbody *ngIf=\"userActivityData.system === 'Feature Switcher'\">\n      <tr>\n        <td><pre> {{ userActivityData.callResultParsed.feature }}</pre></td>\n        <td><pre> {{ userActivityData.callResultParsed.newState.name }}</pre></td>\n      </tr>\n    </tbody>\n    <tbody *ngIf=\"userActivityData.system === 'Quotas'\">\n      <td><pre> {{ userActivityData.callResultParsed | json}}</pre></td>\n    </tbody>\n  </table>\n</div>\n" }]
        }], propDecorators: { userActivityData: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64, 