@ionic/angular#ActionSheetController TypeScript Examples

The following examples show how to use @ionic/angular#ActionSheetController. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: credentialdetails.page.ts    From Elastos.Essentials.App with MIT License 6 votes vote down vote up
constructor(
    public events: Events,
    public route: ActivatedRoute,
    private router: Router,
    public zone: NgZone,
    private translate: TranslateService,
    private didService: DIDService,
    public theme: GlobalThemeService,
    public actionSheetController: ActionSheetController,
    public profileService: ProfileService,
    private globalIntentService: GlobalIntentService,
    private globalPopupService: GlobalPopupService,
    private globalNavService: GlobalNavService,
    private globalNativeService: GlobalNativeService,
    private didDocumentsService: DIDDocumentsService,
    private authService: AuthService,
    private credentialsService: CredentialsService,
    private sanitizer: DomSanitizer,
    private globalCredentialTypesService: GlobalCredentialTypesService
  ) {
    this.init();
  }
Example #2
Source File: credentials.ts    From Elastos.Essentials.App with MIT License 6 votes vote down vote up
constructor(
    public events: Events,
    public route: ActivatedRoute,
    public zone: NgZone,
    private translate: TranslateService,
    private didService: DIDService,
    private native: Native,
    public theme: GlobalThemeService,
    public actionSheetController: ActionSheetController,
    public profileService: ProfileService,
    private didDocumentsService: DIDDocumentsService,
    private globalCredentialTypesService: GlobalCredentialTypesService
  ) {
    this.init();
  }
Example #3
Source File: myprofile.ts    From Elastos.Essentials.App with MIT License 6 votes vote down vote up
constructor(
    public events: Events,
    public route: ActivatedRoute,
    public zone: NgZone,
    private translate: TranslateService,
    private authService: AuthService,
    private didService: DIDService,
    private didSyncService: DIDSyncService,
    private modalCtrl: ModalController,
    private native: Native,
    public theme: GlobalThemeService,
    public profileService: ProfileService,
    public actionSheetController: ActionSheetController,
    private globalIntentService: GlobalIntentService,
    private dAppBrowserService: DappBrowserService,
    private didDocumentsService: DIDDocumentsService,
    private globalNav: GlobalNavService
  ) {
    this.init();
  }
Example #4
Source File: profile.ts    From Elastos.Essentials.App with MIT License 6 votes vote down vote up
constructor(
    private http: HttpClient,
    public events: Events,
    public route: ActivatedRoute,
    public zone: NgZone,
    private translate: TranslateService,
    private didService: DIDService,
    private didSyncService: DIDSyncService,
    private modalCtrl: ModalController,
    private uxService: UXService,
    public native: Native,
    public theme: GlobalThemeService,
    public profileService: ProfileService,
    public actionSheetController: ActionSheetController,
  ) {
    this.init();
  }
Example #5
Source File: dashboard.page.ts    From fyle-mobile-app with MIT License 6 votes vote down vote up
constructor(
    private offlineService: OfflineService,
    private transactionService: TransactionService,
    private storageService: StorageService,
    private popoverController: PopoverController,
    private networkService: NetworkService,
    private activatedRoute: ActivatedRoute,
    private router: Router,
    private trackingService: TrackingService,
    private actionSheetController: ActionSheetController,
    private tasksService: TasksService
  ) {}
Example #6
Source File: my-expenses.page.ts    From fyle-mobile-app with MIT License 6 votes vote down vote up
constructor(
    private networkService: NetworkService,
    private loaderService: LoaderService,
    private modalController: ModalController,
    private dateService: DateService,
    private transactionService: TransactionService,
    private currencyService: CurrencyService,
    private popoverController: PopoverController,
    private router: Router,
    private transactionOutboxService: TransactionsOutboxService,
    private activatedRoute: ActivatedRoute,
    private offlineService: OfflineService,
    private popupService: PopupService,
    private trackingService: TrackingService,
    private storageService: StorageService,
    private tokenService: TokenService,
    private apiV2Service: ApiV2Service,
    private modalProperties: ModalPropertiesService,
    private reportService: ReportService,
    private matBottomSheet: MatBottomSheet,
    private matSnackBar: MatSnackBar,
    private actionSheetController: ActionSheetController,
    private snackbarProperties: SnackbarPropertiesService,
    private tasksService: TasksService,
    private corporateCreditCardService: CorporateCreditCardExpenseService
  ) {}
Example #7
Source File: view-team-advance.page.ts    From fyle-mobile-app with MIT License 6 votes vote down vote up
constructor(
    private activatedRoute: ActivatedRoute,
    private advanceRequestService: AdvanceRequestService,
    private fileService: FileService,
    private router: Router,
    private popupService: PopupService,
    private popoverController: PopoverController,
    private actionSheetController: ActionSheetController,
    private loaderService: LoaderService,
    private advanceRequestsCustomFieldsService: AdvanceRequestsCustomFieldsService,
    private authService: AuthService,
    private modalController: ModalController,
    private modalProperties: ModalPropertiesService,
    private trackingService: TrackingService,
    private offlineService: OfflineService,
    private humanizeCurrency: HumanizeCurrencyPipe,
    @Inject(MIN_SCREEN_WIDTH) public minScreenWidth: number
  ) {}
Example #8
Source File: speaker-list.spec.ts    From actions-test with Apache License 2.0 6 votes vote down vote up
describe('SpeakerListPage', () => {
  let fixture, app;
  beforeEach(async(() => {
    const actionSheetSpy = jasmine.createSpyObj('ActionSheetController', [
      'create'
    ]);
    const routerSpy = jasmine.createSpyObj('Router', ['navigateByUrl']);
    const iabSpy = jasmine.createSpyObj('InAppBrowser', ['create']);

    TestBed.configureTestingModule({
      declarations: [SpeakerListPage],
      schemas: [CUSTOM_ELEMENTS_SCHEMA],
      providers: [
        { provide: ActionSheetController, useValue: actionSheetSpy },
        { provide: InAppBrowser, useValue: iabSpy },
        { provide: Router, useValue: routerSpy },
        { provide: ConferenceData, useValue: confDataSub }
      ]
    }).compileComponents();
  }));
  beforeEach(() => {
    fixture = TestBed.createComponent(SpeakerListPage);
    app = fixture.debugElement.componentInstance;
  });
  it('should create the speaker list page', () => {
    expect(app).toBeTruthy();
  });
});
Example #9
Source File: details.page.ts    From capture-lite with GNU General Public License v3.0 6 votes vote down vote up
constructor(
    private readonly proofRepository: ProofRepository,
    private readonly mediaStore: MediaStore,
    private readonly diaBackendAssetRepository: DiaBackendAssetRepository,
    private readonly errorService: ErrorService,
    private readonly diaBackendAuthService: DiaBackendAuthService,
    private readonly translocoService: TranslocoService,
    private readonly route: ActivatedRoute,
    private readonly dialog: MatDialog,
    private readonly router: Router,
    private readonly actionSheetController: ActionSheetController,
    private readonly shareService: ShareService,
    private readonly confirmAlert: ConfirmAlert,
    private readonly blockingActionService: BlockingActionService,
    private readonly informationSessionService: InformationSessionService,
    private readonly snackBar: MatSnackBar,
    private readonly diaBackendWorkflowService: DiaBackendWorkflowService,
    private readonly alertController: AlertController,
    private readonly changeDetectorRef: ChangeDetectorRef,
    private readonly userGuideService: UserGuideService
  ) {
    this.initializeActiveDetailedCapture$
      .pipe(untilDestroyed(this))
      .subscribe();
  }
Example #10
Source File: home.page.ts    From capture-lite with GNU General Public License v3.0 6 votes vote down vote up
constructor(
    private readonly changeDetectorRef: ChangeDetectorRef,
    private readonly diaBackendAuthService: DiaBackendAuthService,
    private readonly diaBackendAssetRepository: DiaBackendAssetRepository,
    private readonly diaBackendTransactionRepository: DiaBackendTransactionRepository,
    private readonly onboardingService: OnboardingService,
    private readonly router: Router,
    private readonly captureService: CaptureService,
    private readonly route: ActivatedRoute,
    private readonly confirmAlert: ConfirmAlert,
    private readonly dialog: MatDialog,
    private readonly translocoService: TranslocoService,
    private readonly migrationService: MigrationService,
    private readonly errorService: ErrorService,
    private readonly cameraService: CameraService,
    private readonly actionSheetController: ActionSheetController,
    private readonly alertController: AlertController,
    private readonly goProBluetoothService: GoProBluetoothService,
    private readonly diaBackendWalletService: DiaBackendWalletService,
    private readonly userGuideService: UserGuideService,
    private readonly platform: Platform
  ) {
    this.downloadExpiredPostCaptures();
  }
Example #11
Source File: overlay.service.ts    From onchat-web with Apache License 2.0 6 votes vote down vote up
constructor(
    private globalData: GlobalData,
    private toastCtrl: ToastController,
    private alertCtrl: AlertController,
    private modalCtrl: ModalController,
    private loadingCtrl: LoadingController,
    private popoverCtrl: PopoverController,
    private actionSheetCtrl: ActionSheetController,
    private notificationCtrl: NotificationController,
    @Inject(DOCUMENT) private document: Document,
    @Inject(NAVIGATOR) private navigator: Navigator
  ) { }
Example #12
Source File: speaker-list.ts    From actions-test with Apache License 2.0 5 votes vote down vote up
constructor(
    public actionSheetCtrl: ActionSheetController,
    public confData: ConferenceData,
    public inAppBrowser: InAppBrowser,
    public router: Router
  ) {}