This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//take Photo | |
takePhoto(sourceType: number) { | |
const options: CameraOptions = { | |
quality: 50, | |
destinationType: this.camera.DestinationType.DATA_URL, | |
encodingType: this.camera.EncodingType.JPEG, | |
mediaType: this.camera.MediaType.PICTURE, | |
correctOrientation: true, | |
sourceType: sourceType, | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Directive, ElementRef, EventEmitter, Input, NgZone, OnDestroy, OnInit, Output } from '@angular/core'; | |
interface HammerManager { | |
new (element: HTMLElement | SVGElement, options?: any): HammerManager; | |
destroy(): void; | |
add(recognizer: Recognizer): void; | |
on(eventName: string, callback: Function): void; | |
} | |
interface Recognizer { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.tn { | |
margin: 2px 0px; | |
box-shadow: #999 1px 1px 3px 1px; | |
cursor: pointer; | |
width: 100%; | |
height: 200px; | |
} | |
.selectedImage { | |
width: 100%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="modal fade" id="selectedImageModal"> | |
<div class="modal-dialog" role="document"> | |
<div class="modal-content"> | |
<div class="modal-body"> | |
<div class="selectedImage" *ngIf="selectedImage"> | |
<img src="{{selectedImage.blobFileUrl}}" class="thumbnailImage" onerror="this.src='https://cpcpdev.blob.core.windows.net/other-documents/docx.png'"> | |
</div> | |
</div> | |
</div> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, Input, Injector } from '@angular/core'; | |
import { DocumentUploadServiceProxy, OriginalBlobDto } from '@shared/service-proxies/service-proxies'; | |
import { AppComponentBase } from '@shared/common/app-component-base'; | |
@Component({ | |
selector: 'gallery', | |
templateUrl: './gallery.component.html', | |
styleUrls: ['./gallery.component.css'], | |
}) | |
export class GalleryComponent extends AppComponentBase { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function () { | |
appModule.controller("tenant.views.propertymanagement.tabs.commentForm", [ | |
"$scope", "$uibModal", "$window", "abp.services.app.propertyStatusContact", "abp.services.app.status", | |
"abp.services.app.comment", function ($scope, $uibModal, $window, propertyStatusContactService, statusService, commentService) { | |
var vm = this; | |
vm.saving = false; | |
vm.property = { | |
id: null | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@using IP.Comments | |
@*Comment Form*@ | |
<div ng-controller="tenant.views.propertymanagement.tabs.commentForm as commentFormCtrl"> | |
<div style="overflow: auto;"> | |
<div class="comment-form-wrapper"> | |
<table class="table table-bordered table-hover table-condensed fixed-size"> | |
<tr style="font-weight: bold"> | |
<td style="width: 12.5%">@L("CsDate")</td> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Threading.Tasks; | |
using Abp.Application.Services; | |
using Abp.Application.Services.Dto; | |
using IP.Agents.Dtos; | |
namespace IP.Agents | |
{ | |
public interface IAgentAppService : IApplicationService | |
{ | |
Task<ListResultDto<AgentListDto>> GetAllAgentsAsync(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Data.Entity; | |
using System.Diagnostics.CodeAnalysis; | |
using System.Linq; | |
using System.Threading.Tasks; | |
using Abp.Application.Services.Dto; | |
using Abp.Authorization; | |
using Abp.AutoMapper; | |
using Abp.Domain.Repositories; | |
using Abp.Domain.Uow; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { MediaItem } from "./media-item"; | |
export interface PlayList { | |
id: number; | |
text: string; | |
imageUrl: string; | |
mediaItems: MediaItem[]; | |
} |