@angular/material/bottom-sheet#MatBottomSheet TypeScript Examples

The following examples show how to use @angular/material/bottom-sheet#MatBottomSheet. 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: tasks.component.ts    From fyle-mobile-app with MIT License 6 votes vote down vote up
constructor(
    private taskService: TasksService,
    private transactionService: TransactionService,
    private reportService: ReportService,
    private advanceRequestService: AdvanceRequestService,
    private modalController: ModalController,
    private trackingService: TrackingService,
    private loaderService: LoaderService,
    private matBottomSheet: MatBottomSheet,
    private matSnackBar: MatSnackBar,
    private snackbarProperties: SnackbarPropertiesService,
    private authService: AuthService,
    private router: Router,
    private activatedRoute: ActivatedRoute,
    private networkService: NetworkService,
    private offlineService: OfflineService
  ) {}
Example #2
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 #3
Source File: genes-table-header.component.ts    From open-genes-frontend with Mozilla Public License 2.0 6 votes vote down vote up
constructor(
    protected _filterService: FilterService,
    protected _favouritesService: FavouritesService,
    protected _snackBar: MatSnackBar,
    protected cdRef: ChangeDetectorRef,
    protected settingsService: SettingsService,
    protected bottomSheet: MatBottomSheet
  ) {
    super(_filterService, _favouritesService, _snackBar, cdRef);
    this.retrievedSettings = this.settingsService.getSettings();
    this.isUiHintsSettingOn = this.retrievedSettings.showUiHints;
  }
Example #4
Source File: term-info.directive.ts    From open-genes-frontend with Mozilla Public License 2.0 6 votes vote down vote up
constructor(
    private settingsService: SettingsService,
    private http: HttpClient,
    private elementRef: ElementRef,
    private translateService: TranslateService,
    private bottomSheet: MatBottomSheet
  ) {
    const retrievedSettings = this.settingsService.getSettings();
    this.isApplicable = retrievedSettings.showUiHints;
  }
Example #5
Source File: gene.component.ts    From open-genes-frontend with Mozilla Public License 2.0 6 votes vote down vote up
constructor(
    public translate: TranslateService,
    private activateRoute: ActivatedRoute,
    private router: Router,
    private bottomSheet: MatBottomSheet,
    private filterService: FilterService,
    private settingsService: SettingsService,
    private apiService: ApiService,
    private favouritesService: FavouritesService,
    private snackBar: MatSnackBar
  ) {
    super();
    this.routeSubscribe = activateRoute.params.subscribe((params) => {
      this.symbol = params.id;
    });
  }
Example #6
Source File: expenses-table.component.ts    From budget-angular with GNU General Public License v3.0 5 votes vote down vote up
constructor(private bottomSheet: MatBottomSheet, private dialog: MatDialog) {}
Example #7
Source File: user-menu.component.ts    From angular-component-library with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
constructor(private readonly _bottomSheet: MatBottomSheet, private readonly _ref: ChangeDetectorRef) {}
Example #8
Source File: add-txn-to-report-dialog.component.ts    From fyle-mobile-app with MIT License 5 votes vote down vote up
constructor(
    private offlineService: OfflineService,
    @Inject(MAT_BOTTOM_SHEET_DATA) public data: { openReports: ExtendedReport[] },
    private matBottomsheet: MatBottomSheet
  ) {}
Example #9
Source File: add-more-popup.component.ts    From fyle-mobile-app with MIT License 5 votes vote down vote up
constructor(private matBottomSheet: MatBottomSheet) {}
Example #10
Source File: receipt-preview.component.ts    From fyle-mobile-app with MIT License 5 votes vote down vote up
constructor(
    private platform: Platform,
    private modalController: ModalController,
    private popoverController: PopoverController,
    private matBottomSheet: MatBottomSheet,
    private imagePicker: ImagePicker,
    private trackingService: TrackingService
  ) {}
Example #11
Source File: wizard-service.service.ts    From open-genes-frontend with Mozilla Public License 2.0 5 votes vote down vote up
constructor(private bottomSheet: MatBottomSheet, private overlay: Overlay) {}
Example #12
Source File: bottom-sheet.component.ts    From matx-angular with MIT License 5 votes vote down vote up
constructor(private bottomSheet: MatBottomSheet) {}